]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add bug 16918 to NEWS.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
222b787a
W
12014-06-24 Wilco <wdijkstr@arm.com>
2
3 * NEWS: Add 16918 to fixed bug list.
4
db59bad3
W
52014-06-24 Wilco <wdijkstr@arm.com>
6
7 [BZ #16918]
8 * sysdeps/arm/feupdateenv.c (feupdateenv):
9 Rewrite to reduce FPSCR accesses and fix return value.
10
001f7b77
W
112014-06-24 Wilco <wdijkstr@arm.com>
12
13 * sysdeps/arm/fclrexcpt.c (feclearexcept):
14 Optimize to avoid unnecessary FPSCR writes.
15 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
16 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
17 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19
4841e6a6
W
202014-06-24 Wilco <wdijkstr@arm.com>
21
22 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
23 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
25 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26 Call libc_fetestexcept_vfp.
27 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
29 __SOFTFP__ ifdef so that they can be built for softfp.
30
0813022c
SP
312014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32
08e5862f
SP
33 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34 argument type signed char.
35
0813022c
SP
36 * Makerules (check-abi): Dump diff of symlist if the test
37 fails.
38
3fc7236a
RM
392014-06-23 Roland McGrath <roland@hack.frob.com>
40
aba8ef95
RM
41 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
42 using abort.
43
3fc7236a
RM
44 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45 Remove unused variable ST.
46
4da6db51
JM
472014-06-23 Joseph Myers <joseph@codesourcery.com>
48
4648909d
JM
49 [BZ #16354]
50 [BZ #17061]
51 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
52 small arguments before calling __expm1.
53 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
54 small arguments before calling __expm1f.
55 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
56 small arguments before calling __expm1l.
57 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58 Likewise.
59 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
60 * math/auto-libm-test-in: Add more cosh tests. Do not allow
61 spurious underflow for some cosh tests.
62 * math/auto-libm-test-out: Regenerated.
63 * sysdeps/i386/fpu/libm-test-ulps: Update.
64
46a3d3c7
JM
65 [BZ #17050]
66 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
67 (__ieee754_y1): Set errno if return value overflows.
68 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
69 (__ieee754_y1f): Set errno if return value overflows.
70 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
71 (__ieee754_y1l): Set errno if return value overflows.
72 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
73 (__ieee754_y1l): Set errno if return value overflows.
74 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
75 * math/auto-libm-test-out: Regenerated.
76
863893ec
JM
77 * math/gen-auto-libm-tests.c: Document use of
78 ignore-zero-inf-sign.
79 (input_flag_type): Add value flag_ignore_zero_inf_sign.
80 (input_flags): Add ignore-zero-inf-sign.
81 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
82 * math/gen-libm-test.pl (generate_testfile): Handle
83 ignore-zero-inf-sign.
84 * math/auto-libm-test-in: Mark some cpow tests with
85 ignore-zero-inf-sign and some with xfail-rounding.
86 * math/auto-libm-test-out: Regenerated.
87 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
88 * sysdeps/i386/fpu/libm-test-ulps: Update.
89 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
90
4da6db51
JM
91 [BZ #16315]
92 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
93 overflowing or underflowing operations take place with sign of
94 result.
95 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
96 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
97 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
98 (__ieee754_pow): Recompute overflowing and underflowing results in
99 original rounding mode.
100 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
101 (__powl_helper): Allow negative argument X and scale negated value
102 as needed. Avoid passing value outside [-1, 1] to f2xm1.
103 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
104 overflowing or underflowing operations take place with sign of
105 result.
106 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
107 Include <math.h>.
108 * math/auto-libm-test-in: Add more tests of pow.
109 * math/auto-libm-test-out: Regenerated.
110 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
111 (pow_tonearest_test_data): Remove.
112 (pow_test_tonearest): Likewise.
113 (pow_towardzero_test_data): Likewise.
114 (pow_test_towardzero): Likewise.
115 (pow_downward_test_data): Likewise.
116 (pow_test_downward): Likewise.
117 (pow_upward_test_data): Likewise.
118 (pow_test_upward): Likewise.
119 (main): Don't call removed functions.
120 * sysdeps/i386/fpu/libm-test-ulps: Update.
121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
122
5686b236
RM
1232014-06-23 Roland McGrath <roland@hack.frob.com>
124
125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
126 Moved ...
127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
129 Moved ...
130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
132 Moved ...
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
135 Moved ...
136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
138 File removed.
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
140 File removed.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
142 File removed.
143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
144 File removed.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
146 File removed.
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
148 File removed.
149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
150 File removed.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
152 File removed.
153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
154 File removed.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
156 File removed.
157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
158 File removed.
159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
160 File removed.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
162 Moved ...
163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
165 Moved ...
166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
167 ... here.
168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
169 Moved ...
170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
172 Moved ...
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
175 Moved ...
176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
178 Moved ...
179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
181 Moved ...
182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
184 Moved ...
185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
187 Moved ...
188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
191 ... here.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
193 Moved ...
194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
196 Moved ...
197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
198 ... here.
199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
200 Moved ...
201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
202 ... here.
203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
204 Moved ...
205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
206 ... here.
207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
208 Moved ...
209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
211 Moved ...
212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
216 Moved ...
217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
218 ... here.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
220 Moved ...
221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
222 ... here.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
224 Moved ...
225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
227 Moved ...
228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
230 Moved ...
231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
233 Moved ...
234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
236 Moved ...
237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
238 ... here.
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
240 Moved ...
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
243 Moved ...
244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
246 Moved ...
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
249 Moved ...
250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
254 Moved ...
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
257 Moved ...
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
260 Moved ...
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
262 ... here.
263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
264 Moved ...
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
266 ... here.
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
268 Moved ...
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
270 ... here.
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
272 Moved ...
273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
275 Moved ...
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
278 Moved ...
279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
281 Moved ...
282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
283 ... here.
284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
285 Moved ...
286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
287 ... here.
288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
289 Moved ...
290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
291 ... here.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
293 Moved ...
294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
296 Moved ...
297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
298
e6d90d67
WD
2992014-06-23 Will Newton <will.newton@linaro.org>
300 Wilco <wdijkstr@arm.com>
301
302 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
303 implementation. Include get-rounding-mode.h.
304 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
305 [!libc_feholdsetround_noex_ctx]: Define
306 libc_feholdsetround_noex_ctx.
307 [!libc_feholdsetround_noexf_ctx]: Define
308 libc_feholdsetround_noexf_ctx.
309 [!libc_feholdsetround_noexl_ctx]: Define
310 libc_feholdsetround_noexl_ctx.
311 (libc_feholdsetround_ctx): New function.
312 (libc_feresetround_ctx): New function.
313 (libc_feholdsetround_noex_ctx): New function.
314 (libc_feresetround_noex_ctx): New function.
315
d42df555
RM
3162014-06-23 Roland McGrath <roland@hack.frob.com>
317
88a46474
RM
318 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
319 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
320 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
321 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
322 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
323 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
324
15bed472
RM
325 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
326 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
327 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
328 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
329 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
330 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
331 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
332 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
333 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
334 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
335 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
336 Moved ...
337 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
338 ... here.
339 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
340 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
341 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
342 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
343 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
344 Moved ...
345 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
346 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
347 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
348 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
349 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
350 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
351 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
352 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
353 Moved ...
354 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
355 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
356 Moved ...
357 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
358 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
359 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
360 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
361 Moved ...
362 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
363 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
364 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
365 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
366 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
367 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
368 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
369 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
370 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
371 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
372 Moved ...
373 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
374 ... here.
375 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
376 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
377 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
378 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
379 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
380 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
381 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
382 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
383 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
384 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
385 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
386 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
387 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
388 Moved ...
389 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
390 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
391 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
392 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
393 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
394 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
395 Moved ...
396 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
397 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
398 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
399 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
400 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
401
d42df555
RM
402 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
403 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
404 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
405 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
406 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
407 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
408 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
409 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
410 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
411 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
412 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
413 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
414 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
415 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
416 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
417 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
418 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
419 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
420 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
421 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
422 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
423 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
424 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
425 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
426 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
427 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
428 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
429 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
430
76e5216e
JM
4312014-06-23 Joseph Myers <joseph@codesourcery.com>
432
433 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
434 (FALLOC_FL_COLLAPSE_RANGE): New macro.
435 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
436 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
437 (IPV6_PMTUDISC_INTERFACE): Likewise.
438 (IPV6_PMTUDISC_OMIT): Likewise.
439
7a81cbcc
AS
4402014-06-23 Andreas Schwab <schwab@suse.de>
441
442 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
443 Remove unused errout label.
444
db224009
AZ
4452014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
446
447 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
448 macro: hardware supports Vector Crypto instructions.
449
f393b4aa
WN
4502014-06-23 Will Newton <will.newton@linaro.org>
451
cc7d0447
WN
452 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
453 rather than __builtin_expect.
454
d6d06225
WN
455 * elf/dl-lookup.c (undefined_msg): Remove variable.
456 (_dl_lookup_symbol_x): Replace undefined_msg with string
457 literal.
458
f393b4aa
WN
459 * elf/dl-lookup.c (do_lookup_unique): New function.
460 (do_lookup_x): Move STB_GNU_UNIQUE handling code
461 to a separate function.
462
ac60763e
AS
4632014-06-23 Andreas Schwab <schwab@suse.de>
464
465 [BZ #17079]
466 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
467 before reading the next line.
468
c5c13355
WN
4692014-06-23 Will Newton <will.newton@linaro.org>
470
471 * test-skeleton.c (signal_handler): Use printf and %m
472 rather than perror. Use printf rather than fprintf to
473 stderr. Use puts rather than fputs to stderr.
474 (main): Likewise.
475
bd3675f9
LC
4762014-06-22 Ludovic Courtès <ludo@gnu.org>
477
478 * nscd/nscd.c (thread_info_t): Remove typedef.
479 (thread_info): Remove variable.
480
d03efb2f
AM
4812014-06-21 Allan McRae <allan@archlinux.org>
482
483 * NEWS: Mention CVE-2014-4043.
484
bc4a86fa
RM
4852014-06-20 Roland McGrath <roland@hack.frob.com>
486
dc9a54f8
RM
487 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
488 * nptl/smp.h: ... here.
489
bd7022c4
RM
490 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
491
26ffd5e6
RM
492 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
493 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
494 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
495 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
496
93a6d082
RM
497 * nptl/allocatestack.c: Include <stack-aliasing.h>.
498 * nptl/stack-aliasing.h: New file.
499 * sysdeps/i386/i686/stack-aliasing.h: New file.
500 * sysdeps/i386/i686/nptl/Makefile: File removed.
501 * sysdeps/x86_64/stack-aliasing.h: New file.
502 * sysdeps/x86_64/nptl/Makefile
503 (CFLAGS-pthread_create.c): Variable removed.
504
bc4a86fa
RM
505 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
506 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
507 old file.
508 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
509 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
510 old file.
511
2272ffc1
JM
5122014-06-21 Joseph Myers <joseph@codesourcery.com>
513
514 * sysdeps/unix/sysv/linux/arm/kernel-features.h
515 (__ASSUME_SIGFRAME_V2): Remove macro.
516 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
517 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
518 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
519 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
520 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
521 Declare as function. Remove conditional macro definitions.
522 (__default_rt_sa_restorer): Likewise.
523 (__default_sa_restorer_v1): Remove declaration.
524 (__default_sa_restorer_v2): Likewise.
525 (__default_rt_sa_restorer_v1): Likewise.
526 (__default_rt_sa_restorer_v2): Likewise.
527 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
528 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
529 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
530
4b88139b
RM
5312014-06-20 Roland McGrath <roland@hack.frob.com>
532
533 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
534 (libpthread-routines): Add sysdep.
535 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
536 * sysdeps/unix/sysv/linux/sparc/Versions
537 (libpthread: GLIBC_2.3.3): New version set.
538 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
539 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
540 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
541 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
542 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
543 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
544 Moved ...
545 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
546 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
547 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
548 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
549 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
550 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
551 * sysdeps/sparc/nptl/sem_init.c: ... here.
552 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
553 * sysdeps/sparc/nptl/sem_post.c: ... here.
554 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
555 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
556 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
557 * sysdeps/sparc/nptl/sem_wait.c: ... here.
558 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
559 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
560 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
561 (libpthread-routines): Add cpu_relax.
562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
563 File removed.
564 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
565 (librt: GLIBC_2.3.3): New version set.
566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
567 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
568 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
569 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
570 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
571 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
572 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
573 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
574 Moved ...
575 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
576 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
577 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
578 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
579 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
580 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
581 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
582 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
583 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
584 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
585 Moved ...
586 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
587 Update #include.
588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
589 Moved ...
590 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
591 Update #include.
592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
593 Moved ...
594 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
595 Update #include.
596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
597 Moved ...
598 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
599 Update #include.
600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
601 Moved ...
602 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
603 Update #include.
604 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
605 Moved ...
606 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
607 Update #include.
608 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
609 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
611 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
613 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
615 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
617 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
619 Moved ...
620 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
622 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
624 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
625
d7109027
JM
6262014-06-20 Joseph Myers <joseph@codesourcery.com>
627
9bc6103d
JM
628 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
629 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
630 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
631 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
632 * nscd/nscd.c: Likewise.
633 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
634 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
635 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
636 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
637
d7109027
JM
638 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
639 <kernel-features.h>.
640 (init_mq_netlink): Remove conditional have_sock_cloexec
641 definitions. Remove code conditional on have_sock_cloexec < 0.
642 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
643 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
644 * sysdeps/unix/sysv/linux/opensock.c: Do not include
645 <kernel-features.h>.
646 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
647 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
648
d92d8f8a
L
6492014-06-20 H.J. Lu <hongjiu.lu@intel.com>
650
651 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
652 Add tests for memset_chk and memset.
653
654 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
655 with AVX2_Usable.
656
4e6d2347
MR
6572014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
658
257ce712
MR
659 [BZ #16046]
660 * elf/tst-dl-iter-static.c: New file.
661 * elf/Makefile (tests-static): Add tst-dl-iter-static.
662
4e6d2347
MR
663 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
664 error.
665
a2a76afe
JM
6662014-06-20 Joseph Myers <joseph@codesourcery.com>
667
7fd00f99
JM
668 * sysdeps/unix/sysv/linux/kernel-features.h
669 (__ASSUME_F_GETOWN_EX): Remove macro.
670 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
671 <kernel-features.h>.
672 (miss_F_GETOWN_EX): Remove variable or macro.
673 (do_fcntl): Do not check miss_F_GETOWN_EX.
674 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
675
4a103975
JM
676 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
677 Remove macro.
678 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
679 [!__ASSUME_AT_RANDOM]: Remove conditional code.
680 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
681
a2a76afe
JM
682 * sysdeps/unix/sysv/linux/kernel-features.h
683 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
684 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
685 [ADJ_OFFSET_SS_READ]: Make code unconditional.
686 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
687
90e5dd48
MR
6882014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
689
690 [BZ #17075]
691 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
692 Fix calculation of the symbol's value.
693 * sysdeps/arm/tst-armtlsdescloc.c: New file.
694 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
695 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
696 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
697 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
698 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
699 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
700 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
701 (modules-names): Add `tst-armtlsdescmod',
702 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
703 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
704 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
705 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
706 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
707 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
708 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
709 ($(objpfx)tst-armtlsdescloc): New dependency.
710 ($(objpfx)tst-armtlsdescextnow): Likewise.
711 ($(objpfx)tst-armtlsdescextlazy): Likewise.
712 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
713 TLS scheme support.
714 * sysdeps/arm/configure: Regenerate.
715
809fdf0d
JM
7162014-06-20 Joseph Myers <joseph@codesourcery.com>
717
718 * include/fcntl.h (__atfct_seterrno): Remove prototype.
719 (__atfct_seterrno_2): Likewise.
720 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
721 <kernel-features.h>.
722 (__ASSUME_ATFCTS): Do not undefine and redefine.
723 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
724 (__have_atfcts): Remove conditional definition.
725 (__fxstatat([__NR_fstatat64]: Make code unconditional.
726 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
727 unreachable if [__ASSUME_ATFCTS].
728 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
729 not undefine and redefine.
730 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
731 <kernel-features.h>.
732 (faccessat) [__NR_faccessat]: Make code unconditional.
733 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
734 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
735 <kernel-features.h>.
736 (fchmodat) [__NR_fchmodat]: Make code unconditional.
737 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
738 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
739 <kernel-features.h>.
740 (fchownat) [__NR_fchownat]: Make code unconditional.
741 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
742 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
743 <kernel-features.h>.
744 (futimesat) [__NR_futimesat]: Make code unconditional.
745 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
746 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
747 <kernel-features.h>.
748 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
749 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
750 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
751 <kernel-features.h>.
752 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
753 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
754 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
755 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
756 <kernel-features.h>.
757 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
758 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
759 * sysdeps/unix/sysv/linux/linkat.c: Do not include
760 <kernel-features.h>.
761 (linkat) [__NR_linkat]: Make code unconditional.
762 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
763 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
764 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
765 <kernel-features.h>.
766 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
767 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
768 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
769 <kernel-features.h>.
770 (mkdirat) [__NR_mkdirat]: Make code unconditional.
771 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
772 * sysdeps/unix/sysv/linux/openat.c: Do not include
773 <kernel-features.h>.
774 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
775 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
776 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
777 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
778 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
779 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
780 <kernel-features.h>.
781 (readlinkat) [__NR_readlinkat]: Make code unconditional.
782 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
783 result of INLINE_SYSCALL directly, not via int variable.
784 * sysdeps/unix/sysv/linux/renameat.c: Do not include
785 <kernel-features.h>.
786 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
787 (renameat) [__NR_renameat]: Make code unconditional.
788 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
789 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
790 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
791 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
792 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
793 (__ASSUME_ATFCTS): Do not undefine and redefine.
794 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
795 <kernel-features.h>.
796 (symlinkat) [__NR_symlinkat]: Make code unconditional.
797 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
798 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
799 <kernel-features.h>.
800 (unlinkat) [__NR_unlinkat]: Make code unconditional.
801 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
802 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
803 (__ASSUME_ATFCTS): Do not undefine and redefine.
804 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
805 <kernel-features.h>.
806 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
807 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
808 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
809 <kernel-features.h>.
810 (__xmknodat) [__NR_mknodat]: Make code unconditional.
811 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
812
224c6c51
L
8132014-06-20 H.J. Lu <hongjiu.lu@intel.com>
814
815 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
816
aa6ec754
AS
8172014-06-20 Andreas Schwab <schwab@linux-m68k.org>
818
819 [BZ #17069]
820 * posix/regcomp.c (parse_reg_exp): Deallocate partially
821 constructed tree before returning error.
822 * posix/bug-regexp36.c: Expand test case.
823
d8c2869d
SL
8242014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
825
3ef6b850
SL
826 [BZ #6803]
827 * math/libm-test.inc (scalbln_test_date):
828 Add errno expectations.
829 * math/w_scalblnf.c: New File.
830 Add wrapper which checks for setting errno to ERANGE.
831 Add weak_alias for corresponding scalbln function.
832 * math/w_scalbln.c: Likewise.
833 * math/w_scalblnl.c: Likewise.
834 * math/Makefile (libm-calls): Add w_scalbln.
835 * sysdeps/ieee754/flt-32/s_scalblnf.c:
836 Remove weak_alias for corresponding scalbln function.
837 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
838 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
839 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
840 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
841 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
842 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
843 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
844 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
845 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
846 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
847 Remove long_double_symbol for scalblnl function in libm, libc.
848 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
849 Add wrapper which checks for setting errno to ERANGE.
850 Add long_double_symbol for scalblnl function in libm, libc.
851 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
852 Remove long_double_symbol for scalblnl in libm.
853 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
854 Add wrapper which checks for setting errno to ERANGE.
855 Add long_double_symbol for scalblnl function in libm.
856 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
857 Do not use wrapper because of own implementation.
858
c8daec5c
L
8592014-06-19 H.J. Lu <hongjiu.lu@intel.com>
860
861 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
862 3 bytes for __pad1 for x32.
863 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
864
5c74e47c
LM
8652014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
866 H.J. Lu <hongjiu.lu@intel.com>
867
868 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
869 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
870 * sysdeps/x86_64/multiarch/memset.S: Likewise.
871 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
872 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
873
4d43ef1e
AS
8742014-06-19 Andreas Schwab <schwab@linux-m68k.org>
875
876 [BZ #17069]
877 * posix/regcomp.c (parse_expression): Deallocate partially
878 constructed tree before returning error.
879 * posix/Makefile.c (tests): Add bug-regex36.
880 (generated): Add bug-regex36.mtrace.
881 (tests-special): Add $(objpfx)bug-regex36-mem.out
882 (bug-regex36-ENV): New variable.
883 ($(objpfx)bug-regex36-mem.out): New rule.
884 * posix/bug-regex36.c: New file.
885
51a7380b
WN
8862014-06-19 Will Newton <will.newton@linaro.org>
887
888 * malloc/malloc.c (systrim): If extra is zero then return
889 early.
890
91b84fe5
SP
8912014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
892
893 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
894
f940b965
RE
8952014-06-19 Richard Earnshaw <rearnsha@arm.com>
896
897 * sysdeps/aarch64/strchr.S: New file.
898
4ba7a00f
JM
8992014-06-18 Joseph Myers <joseph@codesourcery.com>
900
901 [BZ #17022]
902 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
903 from arguments -2 or below.
904 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
905 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
906
b3a9f56b
AS
9072014-06-18 Andreas Schwab <schwab@suse.de>
908
909 [BZ #17062]
910 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
911 of a bracket expr not to run off the end of the string.
912 * posix/Makefile (tests): Add tst-fnmatch3.
913 * posix/tst-fnmatch3.c: New file.
914
85d89278
JM
9152014-06-18 Joseph Myers <joseph@codesourcery.com>
916
917 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
918 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
919 [$(cross-compiling) = no]: Likewise.
920 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
921 [$(cross-compiling) = no]: Likewise.
922
754c5a08
RS
9232014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
924
925 [BZ #17031]
926 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
927 double, adjusted for any remainder from the high double.
928 * math/libm-test.inc (nearbyint): Add tests.
929 (rint): Likewise.
930
556f529d
AZ
9312014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
932
933 * nptl/sysdeps/powerpc/Makefile: Moved ...
934 * sysdeps/powerpc/nptl/Makefile: ... here.
935 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
936 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
937 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
938 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
939 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
940 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
941 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
942 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
943 * nptl/sysdeps/powerpc/tls.h: Moved ...
944 * sysdeps/powerpc/nptl/tls.h: ... here.
945
91c03c53
JM
9462014-06-16 Joseph Myers <joseph@codesourcery.com>
947
948 [BZ #16681]
949 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
950 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
951 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
952 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
953 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
954 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
955 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
956 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
957 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
958
a76e63c5
AS
9592014-06-17 Andreas Schwab <schwab@linux-m68k.org>
960
961 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
962
f2f6d82f
AS
9632014-06-16 Andreas Schwab <schwab@linux-m68k.org>
964
ea8a15f6
AS
965 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
966 defined operator.
967
f2f6d82f
AS
968 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
969 $TIMEOUTFACTOR.
970
a7291117
FW
9712014-06-16 Florian Weimer <fweimer@redhat.com>
972
973 [BZ #17058]
974 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
975 non-executed part of the test.
976
3d7c00e3
AS
9772014-06-16 Andreas Schwab <schwab@suse.de>
978
979 * string/bits/string2.h (strdup, strndup): Update feature guard.
980
6957fb31
DM
9812014-06-14 David S. Miller <davem@davemloft.net>
982
983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
984
11b9e55b
AS
9852014-06-14 Andreas Schwab <schwab@linux-m68k.org>
986
1d2a0492
AS
987 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
988 that was previously under [RESET_PID].
989 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
990
11b9e55b
AS
991 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
992 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
993 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
994 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
995 (__libc_vfork): New strong alias.
996 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
997
0f6901d0
AK
9982014-06-14 Andi Kleen <ak@linux.intel.com>
999
1000 * sysdeps/generic/elide.h: New file.
1001
38bbbb9f
SL
10022014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1003
1004 * Makefile (installed-headers): Adjust path of pthread.h header.
1005
45193bb8
RM
10062014-06-13 Roland McGrath <roland@hack.frob.com>
1007
9a25fd1e
RM
1008 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1009 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1010 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1011 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1012
4004f7e4
RM
1013 * nptl/sysdeps/s390/Makefile: Moved ...
1014 * sysdeps/s390/nptl/Makefile: ... here.
1015 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1016 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1017 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1018 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1019 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1020 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1021 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1022 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1023 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1024 * sysdeps/s390/nptl/pthreaddef.h: ... here.
1025 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1026 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1027 * nptl/sysdeps/s390/tls.h: Moved ...
1028 * sysdeps/s390/nptl/tls.h: ... here.
1029
45193bb8
RM
1030 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1031 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1032
f6fdf533
DM
10332014-06-13 David S. Miller <davem@davemloft.net>
1034
1035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1038 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1039 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1041 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1042 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1043 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1044 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1045 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1046 Remove RESET_PID cpp guards.
1047 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1048 Remove RESET_PID cpp guards.
1049 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1050
f5d71e14
AS
10512014-06-13 Andreas Schwab <schwab@linux-m68k.org>
1052
1053 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1054 __sp to uintptr_t.
1055
b7aa8caa
AK
10562014-06-13 Andi Kleen <ak@linux.intel.com>
1057
4b266200
AZ
1058 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1059 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1060 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1061 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1062 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1063 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1064 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1065 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1066 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1067 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1068 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1069 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1070 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1071 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1072 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1073 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1074 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1075 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1076 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1077 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
1078
1079 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
1080 (pthread_rwlock_rdlock): Add elision.
1081 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1082 (pthread_rwlock_wrlock): Add elision.
1083 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1084 (pthread_rwlock_trywrlock): Add elision.
1085 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1086 (pthread_rwlock_tryrdlock): Add elision.
1087 * nptl/pthread_rwlock_unlock.c: Include elide.h.
1088 (pthread_rwlock_tryrdlock): Add elision unlock.
1089 * nptl/sysdeps/pthread/pthread.h:
1090 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1091 (PTHREAD_RWLOCK_INITIALIZER,
1092 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1093 Handle new elision field.
1094 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1095 * sysdeps/arm/nptl/bits/pthreadtypes.h
1096 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1097 * sysdeps/sh/nptl/bits/pthreadtypes.h
1098 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1099 * sysdeps/tile/nptl/bits/pthreadtypes.h
1100 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1101 * sysdeps/a/nptl/bits/pthreadtypes.h
1102 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1103 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1104 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1105 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1106 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1107 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1108 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1109 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1110 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1111 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1112 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1113 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1114 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1115 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1116 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1117 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1118 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1119 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1120 (elision_init): Set try_xbegin to zero when no RTM.
1121 * sysdeps/x86/nptl/bits/pthreadtypes.h
1122 (pthread_rwlock_t): Change __pad1 to __rwelision.
1123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 1124
a832bdd3
AK
11252014-06-13 Andi Kleen <ak@linux.intel.com>
1126
1127 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1128 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1129 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1130 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1131
995a46bb
MI
11322014-06-13 Meador Inge <meadori@codesourcery.com>
1133
1134 [BZ #16996]
03ed7738 1135 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
1136 that the cached result has been set before returning it.
1137
45262aee
RM
11382014-06-12 Roland McGrath <roland@hack.frob.com>
1139
febf6cc5
RM
1140 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1141 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1142 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1143 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1144 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1145 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1146
e2682246
RM
1147 * nptl/sysdeps/sparc/Makefile: Moved ...
1148 * sysdeps/sparc/nptl/Makefile: ... here.
1149 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1150 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1151 * nptl/sysdeps/sparc/tls.h: Moved ...
1152 * sysdeps/sparc/nptl/tls.h: ... here.
1153 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1154 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1155 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1156 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1157 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1158 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1159 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1160 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1161 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1162 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1163 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1164 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1165 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1166 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1167 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1168 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1169 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1171 Update #include.
1172 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1173 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1174 Update #include.
1175 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1177 Update #include.
1178 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1179 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1180 Update #include.
1181
b0725f43
RM
1182 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1183
b14368b8
RM
1184 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1185 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1186
c5620eb3
RM
1187 * sysdeps/pthread/posix-timer.h: Include <list.h>.
1188 (struct list_links): Type removed.
1189 (struct thread_node, struct timer_node): Replace struct list_links
1190 with struct list_head.
1191 (list_unlink_ip): Likewise.
1192 * sysdeps/pthread/timer_routines.c
1193 (timer_free_list, thread_free_list, thread_active_list): Likewise.
1194 (list_append, list_insbefore): Likewise.
1195 (list_init): Function removed.
1196 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
1197 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1198 * sysdeps/pthread/Makefile: ... here, new file.
1199
1200 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1201 * sysdeps/nptl/Implies: ... here.
1202 * sysdeps/unix/sysv/linux/Implies: Add nptl.
1203 * nptl/sysdeps/pthread/list.h: Moved ...
1204 * include/list.h: ... here.
1205 * nptl/sysdeps/pthread/createthread.c: Moved ...
1206 * nptl/createthread.c: ... here.
1207 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1208 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1209 * nptl/pt-longjmp.c: ... here.
1210 * nptl/sysdeps/pthread/Makefile: Moved ...
1211 * sysdeps/nptl/Makefile: ... here.
1212 * nptl/sysdeps/pthread/Subdirs: Moved ...
1213 * sysdeps/nptl/Subdirs: ... here.
1214 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1215 * sysdeps/nptl/aio_misc.h: ... here.
1216 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1217 * sysdeps/nptl/bits/libc-lock.h: ... here.
1218 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1219 * sysdeps/nptl/bits/libc-lockP.h: ... here.
1220 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1221 * sysdeps/nptl/bits/stdio-lock.h: ... here.
1222 * nptl/sysdeps/pthread/configure: Moved ...
1223 * sysdeps/nptl/configure: ... here.
1224 * nptl/sysdeps/pthread/configure.ac: Moved ...
1225 * sysdeps/nptl/configure.ac: ... here.
1226 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1227 * sysdeps/nptl/gai_misc.h: ... here.
1228 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1229 * sysdeps/nptl/librt-cancellation.c: ... here.
1230 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1231 * sysdeps/nptl/malloc-machine.h: ... here.
1232 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1233 * sysdeps/nptl/pthread-functions.h: ... here.
1234 * nptl/sysdeps/pthread/pthread.h: Moved ...
1235 * sysdeps/nptl/pthread.h: ... here.
1236 * nptl/sysdeps/pthread/setxid.h: Moved ...
1237 * sysdeps/nptl/setxid.h: ... here.
1238 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1239 * sysdeps/nptl/sigfillset.c: ... here.
1240 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1241 * sysdeps/nptl/tcb-offsets.h: ... here.
1242 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1243 * sysdeps/nptl/tst-mqueue8x.c: ... here.
1244 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1245 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1246 * nptl/sysdeps/pthread/allocalim.h: Moved ...
1247 * sysdeps/pthread/allocalim.h: ... here.
1248 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1249 * sysdeps/pthread/bits/sigthread.h: ... here.
1250 * nptl/sysdeps/pthread/flockfile.c: Moved ...
1251 * sysdeps/pthread/flockfile.c: ... here.
1252 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1253 * sysdeps/pthread/ftrylockfile.c: ... here.
1254 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1255 * sysdeps/pthread/funlockfile.c: ... here.
1256 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1257 * sysdeps/pthread/posix-timer.h: ... here.
1258 * nptl/sysdeps/pthread/timer_create.c: Moved ...
1259 * sysdeps/pthread/timer_create.c: ... here.
1260 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
1261 * sysdeps/pthread/timer_delete.c: ... here.
1262 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
1263 * sysdeps/pthread/timer_getoverr.c: ... here.
1264 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
1265 * sysdeps/pthread/timer_gettime.c: ... here.
1266 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
1267 * sysdeps/pthread/timer_routines.c: ... here.
1268 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
1269 * sysdeps/pthread/timer_settime.c: ... here.
1270 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
1271 * sysdeps/pthread/tst-timer.c: ... here.
1272 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
1273 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
1274
e876b090
RM
1275 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
1276 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
1277
f6b07b3d
RM
1278 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
1279 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
1280 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
1281 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
1282 Update #include target.
1283 * nptl/sysdeps/i386/i686/Makefile: Moved ...
1284 * sysdeps/i386/i686/nptl/Makefile: ... here.
1285 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
1286 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
1287 Update #include target.
1288 * nptl/sysdeps/i386/i686/tls.h: Moved ...
1289 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
1290 * nptl/sysdeps/i386/Makefile: Moved ...
1291 * sysdeps/i386/nptl/Makefile: ... here.
1292 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
1293 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
1294 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
1295 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
1296 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
1297 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
1298 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
1299 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
1300 * sysdeps/i386/nptl/pthreaddef.h: ... here.
1301 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
1302 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
1303 * nptl/sysdeps/i386/tls.h: Moved ...
1304 * sysdeps/i386/nptl/tls.h: ... here.
1305
45262aee
RM
1306 * sysdeps/sh/Makefile [$(subdir) = csu]
1307 (gen-as-const-headers): Add tcb-offsets.sym.
1308 * nptl/sysdeps/sh/Makefile: File removed.
1309 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
1310 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
1311 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
1312 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
1313 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
1314 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
1315 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
1316 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
1317 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
1318 * sysdeps/sh/nptl/pthreaddef.h: ... here.
1319 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
1320 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
1321 * nptl/sysdeps/sh/tls.h: Moved ...
1322 * sysdeps/sh/nptl/tls.h: ... here.
1323 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
1324 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
1325 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
1326 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
1327 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
1328 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
1329 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
1330 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
1331 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
1332 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
1333 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
1334 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
1335 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
1336 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
1337 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
1338 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
1339 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
1340 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
1341 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
1342 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
1343 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
1344 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
1345 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
1346 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
1347 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
1348 Moved ...
1349 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
1350 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
1351 Moved ...
1352 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
1353 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
1354 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
1355 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
1356 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
1357 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
1358 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
1359 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
1360 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
1361 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
1362 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
1363 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
1364 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
1365 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
1366 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
1367 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
1368 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
1369 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
1370 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
1371
35a5e3e3
SL
13722014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1373
1374 * posix/spawn_faction_addopen.c: Include string.h.
1375
14642b85
RM
13762014-06-11 Roland McGrath <roland@hack.frob.com>
1377
1378 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
1379 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
1380 * nptl/sysdeps/x86_64/Makefile: Moved ...
1381 * sysdeps/x86_64/nptl/Makefile: ... here.
1382 * nptl/sysdeps/x86_64/configure: Moved ...
1383 * sysdeps/x86_64/nptl/configure: ... here.
1384 * nptl/sysdeps/x86_64/configure.ac: Moved ...
1385 * sysdeps/x86_64/nptl/configure.ac: ... here.
1386 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
1387 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
1388 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
1389 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
1390 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
1391 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
1392 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
1393 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
1394 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
1395 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
1396 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
1397 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
1398 * nptl/sysdeps/x86_64/tls.h: Moved ...
1399 * sysdeps/x86_64/nptl/tls.h: ... here.
1400 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1401 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1402 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1403 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1404
1405 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1406
31c44fea
AZ
14072014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1408
1409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1410
e81a4f9a
JM
14112014-06-11 Joseph Myers <joseph@codesourcery.com>
1412
1413 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1414 type.
1415 [POSIX] (off_t): Likewise.
1416 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1417 [POSIX] (S_ISBLK): Require macro.
1418 [POSIX] (S_ISCHR): Likewise.
1419 [POSIX] (S_ISDIR): Likewise.
1420 [POSIX] (S_ISFIFO): Likewise.
1421 [POSIX] (S_ISREG): Likewise.
1422 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1423 optional-macro.
1424 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1425 type.
1426 [POSIX] (time_t): Likewise.
1427 [POSIX] (timer_t): Likewise.
1428
89e435f3
FW
14292014-06-11 Florian Weimer <fweimer@redhat.com>
1430
1431 [BZ #17048]
1432 * posix/spawn_int.h (struct __spawn_action): Make the path string
1433 non-const to support deallocation.
1434 * posix/spawn_faction_addopen.c
1435 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1436 * posix/spawn_faction_destroy.c
1437 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
1438 path in all spawn_do_open actions.
1439 * posix/tst-spawn.c (do_test): Exercise the copy operation in
1440 posix_spawn_file_actions_addopen.
1441
c3a2ebe1
CM
14422014-06-11 Chris Metcalf <cmetcalf@tilera.com>
1443
1444 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1445 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1446 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1447 conditional code always true.
1448 (__libc_vfork): New alias.
1449
9503784a
RM
14502014-06-11 Roland McGrath <roland@hack.frob.com>
1451
c9cab3d2
RM
1452 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1453 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1454
d3996c79
RM
1455 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1456
ba5ec611
RM
1457 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1458 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1459
f12b4814
RM
1460 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1461 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1462
9503784a
RM
1463 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1464 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1465
e23d3d26
VR
14662014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1467
1468 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1469 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1470 multiarch strcmp for PPC64.
1471 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1472 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1474 multiarch optimizations.
1475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1476 (__libc_ifunc_impl_list): Likewise.
1477
42b1161e
SP
14782014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1479
1480 * benchtests/scripts/validate_benchout.py: New script.
1481 * benchtests/Makefile (bench-func): Call it.
1482 * benchtests/scripts/benchout.schema.json: New file.
1483
2d0fc4dc
CM
14842014-06-10 Chris Metcalf <cmetcalf@tilera.com>
1485
4a594c34
AZ
1486 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1487 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1488 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1489 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1490 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1491 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1492 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1493 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1494 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1495 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1496 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1497 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1498 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1499 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1500 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1501 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 1503 Moved ...
4a594c34 1504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 1505 ... here.
4a594c34 1506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 1507 Moved ...
4a594c34
AZ
1508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 1510 Moved ...
4a594c34 1511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 1512 ... here.
4a594c34 1513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 1514 Moved ...
4a594c34 1515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 1516 ... here.
4a594c34 1517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 1518 Moved ...
4a594c34
AZ
1519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 1521 Moved ...
4a594c34 1522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 1523 ... here.
4a594c34 1524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 1525 Moved ...
4a594c34 1526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 1527 ... here.
4a594c34 1528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 1529 Moved ...
4a594c34
AZ
1530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 1532 Moved ...
4a594c34 1533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 1534 ... here.
4a594c34 1535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 1536 Moved ...
4a594c34 1537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 1538 ... here.
4a594c34 1539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 1540 Moved ...
4a594c34 1541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 1542 ... here.
4a594c34 1543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 1544 Moved ...
4a594c34
AZ
1545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 1547 Moved ...
4a594c34 1548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 1549 ... here.
4a594c34 1550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 1551 Moved ...
4a594c34 1552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 1553 ... here.
4a594c34 1554 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 1555 Moved ...
4a594c34 1556 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 1557 ... here.
4a594c34 1558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 1559 Moved ...
4a594c34
AZ
1560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 1562 Moved ...
4a594c34 1563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 1564 ... here.
4a594c34 1565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 1566 Moved ...
4a594c34 1567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 1568 ... here.
4a594c34 1569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 1570 Moved ...
4a594c34
AZ
1571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 1573 Moved ...
4a594c34 1574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 1575 ... here.
4a594c34 1576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 1577 Moved ...
4a594c34
AZ
1578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 1580 Moved ...
4a594c34
AZ
1581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 1583 Moved ...
4a594c34 1584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 1585 ... here.
4a594c34 1586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 1587 Moved ...
4a594c34 1588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 1589 ... here.
4a594c34 1590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 1591 Moved ...
4a594c34 1592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 1593 ... here.
4a594c34 1594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 1595 Moved ...
4a594c34
AZ
1596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 1598 Moved ...
4a594c34 1599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 1600 ... here.
4a594c34 1601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 1602 Moved ...
4a594c34 1603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 1604 ... here.
4a594c34
AZ
1605 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1606 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1607 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1608 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1609 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 1610 Moved ...
4a594c34 1611 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 1612 ... here.
4a594c34
AZ
1613 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1614 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1615 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1616 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1617 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1618 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1619 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1620 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1621 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1622 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1623 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1624 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1625 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 1626 Moved ...
4a594c34
AZ
1627 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1628 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 1629 Moved ...
4a594c34
AZ
1630 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1631 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1632 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1633 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 1634 Moved ...
4a594c34
AZ
1635 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1637 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1639 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1640 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1641 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 1642
0570cfed
W
16432014-06-10 Wilco <wdijkstr@arm.com>
1644
1645 * math/test-fenv-return.c: New file.
1646 * math/Makefile: Add new test test-fenv-return.
1647
f8ba1b56
JM
16482014-06-10 Joseph Myers <joseph@codesourcery.com>
1649
1650 [BZ #17042]
1651 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1652 when x - 1 is zero.
1653 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1654 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1655 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1656 0.0L for an argument of 1.0L.
1657 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1658 Likewise.
1659 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1660 value when x - 1 is zero.
1661 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1662 * sysdeps/i386/fpu/libm-test-ulps: Update.
1663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1664
2c3520d9
BO
16652014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1666
1667 [BZ #15119]
1668 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1669
acaa4d24
RM
16702014-06-09 Roland McGrath <roland@hack.frob.com>
1671
1672 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1673 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1674
962b744d
RM
16752014-06-09 Roland McGrath <roland@hack.frob.com>
1676
d752f0cc
RM
1677 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1678 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1679
34eda6d1
RM
1680 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1681 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1682
50f0a637
RM
1683 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1684 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1685
08f41f04
RM
1686 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1687 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1688
962b744d
RM
1689 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1690 if not already defined.
1691 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1692 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1693 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1694 (TLS_INIT_TP): Use it.
1695 (TLS_DEFINE_INIT_TP): New macro.
1696 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1697
09f19b05
JM
16982014-06-09 Joseph Myers <joseph@codesourcery.com>
1699
1700 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1701 constant.
1702 [POSIX] (IXANY): Likewise.
1703 [POSIX] (OLCUC): Likewise.
1704 [POSIX || POSIX2008] (CBAUD): Do not allow.
1705 [POSIX || POSIX2008] (DEFECHO): Likewise.
1706 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1707 [POSIX || POSIX2008] (ECHOKE): Likewise.
1708 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1709 [POSIX || POSIX2008] (EXTA): Likewise.
1710 [POSIX || POSIX2008] (EXTB): Likewise.
1711 [POSIX || POSIX2008] (FLUSHO): Likewise.
1712 [POSIX || POSIX2008] (LOBLK): Likewise.
1713 [POSIX || POSIX2008] (PENDIN): Likewise.
1714 [POSIX || POSIX2008] (SWTCH): Likewise.
1715 [POSIX || POSIX2008] (VDISCARD): Likewise.
1716 [POSIX || POSIX2008] (VDSUSP): Likewise.
1717 [POSIX || POSIX2008] (VLNEXT): Likewise.
1718 [POSIX || POSIX2008] (VREPRINT): Likewise.
1719 [POSIX || POSIX2008] (VSTATUS): Likewise.
1720 [POSIX || POSIX2008] (VWERASE): Likewise.
1721 (B*): Change to B[0123456789]*.
1722 * conform/data/time.h-data [POSIX || UNIX98]
1723 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1724 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1725 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1726 [POSIX] (tm_*): Do not allow.
1727
686554bf
JM
17282014-06-07 Joseph Myers <joseph@codesourcery.com>
1729
1730 * Makefile (install): Don't set LANGUAGE.
1731 * Makefile.in (install): Likewise.
1732 * assert/Makefile (test-assert-ENV): Remove variable.
1733 (test-assert-perr-ENV): Likewise.
1734 * elf/Makefile (neededtest4-ENV): Likewise.
1735 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1736 [$(cross-compiling) = no]: Don't set LANGUAGE.
1737 * io/ftwtest-sh (LANG): Remove variable.
1738 * libio/Makefile (tst-widetext-ENV): Likewise.
1739 * manual/install.texi (Running make install): Don't refer to
1740 environment settings for make install.
1741 * INSTALL: Regenerated.
1742 * nptl/tst-tls6.sh: Don't set LANG.
1743 * posix/globtest.sh (LANG): Remove variable.
1744 * string/Makefile (tester-ENV): Likewise.
1745 (inl-tester-ENV): Likewise.
1746 (noinl-tester-ENV): Likewise.
1747 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1748 [$(cross-compiling) = no]: Don't set LANGUAGE.
1749 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1750 without explicit environment settings.
1751
68e6b6b1
RM
17522014-06-06 Roland McGrath <roland@hack.frob.com>
1753
1754 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1755 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1756 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1757 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1758
4d3ae034
CM
17592014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1760
1761 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1762 other files in the crypt directory.
1763 * crypt/crypt.c: Remove duplicate includes.
1764 * crypt/crypt-entry.c: Likewise.
1765 * crypt/crypt_util.c: Likewise.
1766
8540f6d2
JM
17672014-06-06 Joseph Myers <joseph@codesourcery.com>
1768
1769 * Makeconfig (run-program-env): New variable.
1770 (run-program-prefix-before-env): Likewise.
1771 (run-program-prefix-after-env): Likewise.
1772 (run-program-prefix): Define in terms of new variables.
1773 (built-program-cmd-before-env): New variable.
1774 (built-program-cmd-after-env): Likewise.
1775 (built-program-cmd): Define in terms of new variables.
1776 (test-program-prefix-before-env): New variable.
1777 (test-program-prefix-after-env): Likewise.
1778 (test-program-prefix): Define in terms of new variables.
1779 (test-program-cmd-before-env): New variable.
1780 (test-program-cmd-after-env): Likewise.
1781 (test-program-cmd): Define in terms of new variables.
1782 * Rules (make-test-out): Use $(run-program-env).
1783 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1784 (help): Do not mention environment variables. Mention
1785 --timeoutfactor option.
1786 (timeoutfactor): New variable.
1787 (blacklist_exports): Remove function.
1788 (exports): Remove variable.
1789 (command): Do not include ${exports}.
1790 * manual/install.texi (Configuring and compiling): Do not mention
1791 test wrappers preserving environment variables. Mention that last
1792 assignment to a variable must take precedence.
1793 * INSTALL: Regenerated.
1794 * benchtests/Makefile (run-bench): Use $(run-program-env).
1795 * catgets/Makefile ($(objpfx)test1.cat): Use
1796 $(built-program-cmd-before-env), $(run-program-env) and
1797 $(built-program-cmd-after-env).
1798 ($(objpfx)test2.cat): Do not specify environment variables
1799 explicitly.
1800 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1801 $(run-program-env) and $(built-program-cmd-after-env).
1802 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1803 $(run-program-env) and $(test-program-cmd-after-env).
1804 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1805 explicitly.
1806 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1807 run_program_env and test_program_cmd_after_env arguments.
1808 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1809 * elf/tst-pathopt.sh: Use run_program_env argument.
1810 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1811 $(test-wrapper-env) and $(run-program-env).
1812 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1813 run_program_env arguments.
1814 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1815 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1816 $(test-program-prefix-before-env), $(run-program-env) and
1817 $(test-program-prefix-after-env).
1818 ($(objpfx)tst-gettext2.out): Likewise.
1819 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1820 run_program_env and test_program_prefix_after_env arguments.
1821 * intl/tst-gettext2.sh: Likewise.
1822 * intl/tst-gettext4.sh: Do not set environment variables
1823 explicitly.
1824 * intl/tst-gettext6.sh: Likewise.
1825 * intl/tst-translit.sh: Likewise.
1826 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1827 $(test-program-prefix-before-env), $(run-program-env) and
1828 $(test-program-prefix-after-env).
1829 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1830 run_program_env and test_program_prefix_after_env arguments.
1831 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1832 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1833 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1834 explicitly with each use of ${test_wrapper_env}.
1835 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1836 $(test-program-prefix-before-env), $(run-program-env) and
1837 $(test-program-prefix-after-env).
1838 * posix/tst-getconf.sh: Do not set environment variables
1839 explicitly.
1840 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1841 run_program_env and test_program_prefix_after_env arguments.
1842 * stdio-common/tst-printf.sh: Do not set environment variables
1843 explicitly.
1844 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1845 $(test-program-prefix-before-env), $(run-program-env) and
1846 $(test-program-prefix-after-env).
1847 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1848 run_program_env and test_program_prefix_after_env arguments.
1849 Split $test calls into $test_pre and $test.
1850 * timezone/Makefile (build-testdata): Use
1851 $(built-program-cmd-before-env), $(run-program-env) and
1852 $(built-program-cmd-after-env).
1853
ed36bfa1
AZ
18542014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1855
1856 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1857 strlen for non SHARED builds.
1858
fc75bf46
SP
18592014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1860
1861 * nptl/allocatestack.c (check_list): Inlined function...
1862 (__reclaim_stacks): ... here.
1863
d89b3d80
OB
18642014-06-05 Ondřej Bílka <neleai@seznam.cz>
1865
1866 [BZ #15698]
1867 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1868 memory overrun.
1869
2bf18041
JM
18702014-06-05 Joseph Myers <joseph@codesourcery.com>
1871
1872 * Rules (make-test-out): Include
1873 LOCPATH=$(common-objpfx)localedata in default environment.
1874 * debug/Makefile (tst-chk1-ENV): Remove variable.
1875 (tst-chk2-ENV): Likewise.
1876 (tst-chk3-ENV): Likewise.
1877 (tst-chk4-ENV): Likewise.
1878 (tst-chk5-ENV): Likewise.
1879 (tst-chk6-ENV): Likewise.
1880 (tst-lfschk1-ENV): Likewise.
1881 (tst-lfschk2-ENV): Likewise.
1882 (tst-lfschk3-ENV): Likewise.
1883 (tst-lfschk4-ENV): Likewise.
1884 (tst-lfschk5-ENV): Likewise.
1885 (tst-lfschk6-ENV): Likewise.
1886 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1887 (tst-iconv7-ENV): Likewise.
1888 * intl/Makefile (LOCPATH-ENV): Likewise.
1889 (tst-codeset-ENV): Likewise.
1890 (tst-gettext3-ENV): Likewise.
1891 (tst-gettext5-ENV): Likewise.
1892 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1893 (tst-fopenloc-ENV): Likewise.
1894 (tst-fgetws-ENV): Remove variable.
1895 (tst-ungetwc1-ENV): Likewise.
1896 (tst-ungetwc2-ENV): Likewise.
1897 (bug-ungetwc2-ENV): Likewise.
1898 (tst-swscanf-ENV): Likewise.
1899 (bug-ftell-ENV): Likewise.
1900 (tst-fgetwc-ENV): Likewise.
1901 (tst-fseek-ENV): Likewise.
1902 (tst-ftell-partial-wide-ENV): Likewise.
1903 (tst-ftell-active-handler-ENV): Likewise.
1904 (tst-ftell-append-ENV): Likewise.
1905 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1906 (tst-regexloc-ENV): Likewise.
1907 (bug-regex1-ENV): Likewise.
1908 (tst-regex-ENV): Likewise.
1909 (tst-regex2-ENV): Likewise.
1910 (bug-regex5-ENV): Likewise.
1911 (bug-regex6-ENV): Likewise.
1912 (bug-regex17-ENV): Likewise.
1913 (bug-regex18-ENV): Likewise.
1914 (bug-regex19-ENV): Likewise.
1915 (bug-regex20-ENV): Likewise.
1916 (bug-regex22-ENV): Likewise.
1917 (bug-regex23-ENV): Likewise.
1918 (bug-regex25-ENV): Likewise.
1919 (bug-regex26-ENV): Likewise.
1920 (bug-regex30-ENV): Likewise.
1921 (bug-regex32-ENV): Likewise.
1922 (bug-regex33-ENV): Likewise.
1923 (bug-regex34-ENV): Likewise.
1924 (bug-regex35-ENV): Likewise.
1925 (tst-rxspencer-ENV): Likewise.
1926 (tst-rxspencer-no-utf8-ENV): Likewise.
1927 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1928 (tst-sscanf-ENV): Likewise.
1929 (tst-swprintf-ENV): Likewise.
1930 (tst-swscanf-ENV): Likewise.
1931 (test-vfprintf-ENV): Likewise.
1932 (scanf13-ENV): Likewise.
1933 (bug14-ENV): Likewise.
1934 (tst-grouping-ENV): Likewise.
1935 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1936 (tst-strtod3-ENV): Likewise.
1937 (tst-strtod4-ENV): Likewise.
1938 (tst-strtod5-ENV): Likewise.
1939 (testmb2-ENV): Likewise./
1940 * string/Makefile (tst-strxfrm-ENV): Likewise.
1941 (tst-strxfrm2-ENV): Likewise.
1942 (bug-strcoll1-ENV): Likewise.
1943 (test-strcasecmp-ENV): Likewise.
1944 (test-strncasecmp-ENV): Likewise.
1945 * time/Makefile (tst-strptime-ENV): Likewise.
1946 (tst-ftime_l-ENV): Likewise.
1947 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1948 (tst-mbrtowc-ENV): Likewise.
1949 (tst-wcrtomb-ENV): Likewise.
1950 (tst-mbrtowc2-ENV): Likewise.
1951 (tst-c16c32-1-ENV): Likewise.
1952 (tst-mbsnrtowcs-ENV): Likewise.
1953
cd1fb604
OB
19542014-06-05 Ondřej Bílka <neleai@seznam.cz>
1955
1956 * manual/resource.texi (How to get information about the memory
1957 subsystem?): Fix typo.
1958 Reported by Peon de la Parra Ivan <peon@keba.com>
1959
b42eca7d
GY
19602014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1961
1962 [BZ #16882]
1963 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1964 (pthread_spin_lock): Branch out of spin loop to proper location.
1965 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1966 (pthread_spin_lock): Likewise.
1967
902b71f9
DM
1968 * nptl/tst-spin4.c: New test.
1969 * nptl/Makefile (tests): Add tst-spin4.
1970
f9d2d032
AS
19712014-06-03 Andreas Schwab <schwab@suse.de>
1972
1973 [BZ #15946]
1974 * resolv/res_send.c (send_dg): Reload file descriptor after
1975 calling reopen.
1976
cf7bfd28
SL
19772014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1978
1979 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1980
111cc714
RH
19812014-06-03 Richard Henderson <rth@redhat.com>
1982
89b4bd6b
RH
1983 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1984 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1985 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1986 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1987 in the SAVE_PID block.
1988 (__libc_vfork): New alias.
71840409 1989 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 1990
111cc714
RH
1991 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1992 child in registers, not on the stack. Remove RESET_PID conditionals.
1993 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1994
ccc39911
MS
19952014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1996
1997 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1998
693096cc
W
19992014-06-03 Wilco <wdijkstr@arm.com>
2000
2001 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2002 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2003 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2004 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2005 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2006 Likewise.
2007
0b4366bc
W
20082014-06-03 Wilco <wdijkstr@arm.com>
2009
2010 * sysdeps/aarch64/fpu/math_private.h
2011 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2012 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2013 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2014 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2015 Fix declarations.
2016
8747cd03
KS
20172014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2018
2019 * crypt/crypt-private.h: Include ufc-crypt.h.
2020 (__b64_from_24bit): Declare extern.
2021 * crypt/crypt_util.c(__b64_from_24bit): New function.
2022 (b64t): New static const variable.
2023 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2024 (b64t): Remove variable.
2025 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2026 * crypt/sha256-crypt.c: Include crypt-private.h.
2027 (b64t): Remove variable.
2028 (__sha256_crypt_r): Remove b64_from_24bit and replace
2029 with __b64_from_24bit.
2030 * crypt/sha512-crypt.c: Likewise.
2031
d936d379
RM
20322014-06-02 Roland McGrath <roland@hack.frob.com>
2033
2034 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2035 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2036 Label the code __libc_vfork rather than __vfork.
2037 [!NOT_IN_libc] (vfork): Define as weak alias.
2038 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2039 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2040 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2041
9fa76613
SP
20422014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2043
2044 * malloc/malloc.c (malloc_info): Fix format specifier for
2045 n_mmaps.
2046
a88dadbe
W
20472014-06-02 Wilco <wdijkstr@arm.com>
2048
2049 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2050 FPCR write.
2051
c95b3011
W
20522014-06-02 Wilco <wdijkstr@arm.com>
2053
2054 [BZ #17009]
2055 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2056 Rewrite to reduce FPCR/FPSR accesses.
2057
6b4d7a90
DM
20582014-06-01 David S. Miller <davem@davemloft.net>
2059
2060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2061
30f3d07c
DM
20622014-05-31 David S. Miller <davem@davemloft.net>
2063
2064 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2065 to occur in round to nearest mode when |x| >= 2.0
2066
74f31c18
RH
20672014-05-30 Richard Henderson <rth@twiddle.net>
2068
f0712b54
RH
2069 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2070 (PSEUDO_RET_NOERRNO): Remove.
2071 (ret): Don't redefine.
2072 (ret_NOERRNO): Define in terms of ret.
2073 (ret_ERRVAL): Likewise.
2074
74f31c18
RH
2075 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2076 use of PSEUDO_RET; perform the error check directly.
2077
30477995
MM
20782014-05-30 Marko Myllynen <myllynen@redhat.com>
2079
2080 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2081 with __int128_t.
2082
62a58816
SP
20832014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2084
2085 * malloc/malloc (malloc_info): Fix formatting.
2086
4d653a59
SP
20872014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2088 Roland McGrath <roland@hack.frob.com>
2089
2090 * malloc/malloc (malloc_info): Also print mmapped statistics.
2091
5190c17f
RM
20922014-05-30 Roland McGrath <roland@hack.frob.com>
2093
2094 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2095 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2096
987c0269
OB
20972014-05-30 Ondřej Bílka <neleai@seznam.cz>
2098
2099 * malloc/malloc.c (malloc_info): Inline mi_arena.
2100
af4e8ef9
RH
21012014-05-29 Richard Henderson <rth@twiddle.net>
2102
1670e207
RH
2103 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2104 Remove comma before expanding ASM_ARGS_##nr.
2105 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2106 Make _x0 a strict output; make _x8 a strict input; adjust expansion
2107 of ASM_ARGS_##nr.
2108 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2109 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2110 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2111 (ASM_ARGS_1): Add leading comma.
2112
11a28aee
RH
2113 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2114 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2115 to __errno_location.
2116 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2117 Remove the expected plt for __errno_location.
2118
a17e5ffb 2119 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 2120 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
2121 call to __read_tp.
2122
b5be4597
RH
2123 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2124 Always allocate 64 bytes of stack frame. Use ldp/stp to create
2125 it and break it down.
2126 (DOCARGS_0, DOCARGS_1): Do nothing.
2127 (DOCARGS_2): Update to store into the new stack frame.
2128 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2129 (UNDOCARGS_1): Update to restore from the new stack frame.
2130 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2131 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2132
645d44ab
RH
2133 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2134 (SINGLE_THREAD_P): New parameter for result regno.
2135 (PSEUDO): Update to match; use cbz instead of beq.
2136
a8b4f04a
RH
2137 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2138 Use ENTRY to define the _nocancel entry point. Share the syscall
2139 and syscall error check paths with the cancel path.
2140 (PSEUDO_END): New.
2141
af4e8ef9
RH
2142 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2143 whitespace; tabs before and after asm mnemonics.
2144
26b0d2e1
EW
21452014-05-29 Eric Wong <normalperson@yhbt.net>
2146
2147 [BZ #15132]
2148 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2149 Call fstat64 or stat64 internally, depending on arguments passed.
2150 Replace stat buffer argument with file descriptor argument.
2151 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2152 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2153 Pass fd to __internal_statvfs instead of calling fstat64.
2154 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2155 Pass fd to __internal_statvfs64 instead of calling fstat64.
2156 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2157 Pass -1 to __internal_statvfs instead of calling stat64.
2158 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2159 Pass -1 to __internal_statvfs64 instead of calling stat64.
2160
1efe2bd9
RM
21612014-05-28 Roland McGrath <roland@hack.frob.com>
2162
0d3b7a19
RM
2163 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2164 that was previously under [RESET_PID].
2165 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2166
1efe2bd9
RM
2167 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2168 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2169
a6bea3ca
RM
21702014-05-27 Roland McGrath <roland@hack.frob.com>
2171
30b6629e
RM
2172 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2173
a6bea3ca
RM
2174 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2175 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2176
3dfb9a5c
OB
21772014-05-27 Ondřej Bílka <neleai@seznam.cz>
2178
2179 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2180
774f9285
AS
21812014-05-27 Andreas Schwab <schwab@suse.de>
2182
2183 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2184 TLS_INIT_TP macro.
2185 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2186 * elf/rtld.c (init_tls, dl_main): Likewise.
2187 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2188 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2189 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2190 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2191 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2192 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2193 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2194 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2195 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2196 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2197 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2198 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2199 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2200 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2201 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2202 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2203 * sysdeps/generic/tls.h: Update description.
2204
36ffe739
WN
22052014-05-27 Will Newton <will.newton@linaro.org>
2206
2207 [BZ #16990]
2208 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2209 and restore r2 rather than just restoring.
2210
2482ae43
SP
22112014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2212
2213 [BZ #16724]
2214 * libio/tst-ftell-append.c: New test case.
2215 * libio/Makefile (tests): Add test case.
2216 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2217 append mode.
2218 * libio/wfileops.c (do_ftell_wide): Likewise.
2219
3d1024e8
AZ
22202014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2221
bab90016
AZ
2222 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2223
c7a8d667
AZ
2224 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2225 ...
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2228 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2229 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2230 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2231 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2232 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2233 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2235 Moved ...
2236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2238 Moved ...
2239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2240 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2241 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2242 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2243 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2244 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2245 ...
2246 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2247 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2248 Moved ...
2249 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2250 here.
2251 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2252 ...
2253 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2254 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2255 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2256
daee7851
AZ
2257 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
2258 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
2259 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
2260 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
2261
50a40819
AZ
2262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
2263 merge into ...
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
2265 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
2266 ...
2267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
2268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
2269 ...
2270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
2271 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2272 Moved ...
2273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
2274 here.
2275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2276 Moved ...
2277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
2278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2279 Moved ...
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
2281
8464c2a1
AZ
2282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
2283 conditional [RESET_PID].
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2285 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
2286 removed.
2287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
2288 removed.
2289
3d1024e8
AZ
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
2291 <tcb-offsets.h>.
2292 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2293 (__libc_vfork): New strong alias.
2294 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
2295 removed.
2296 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
2297 Removed.
2298
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
2300 <tcb-offsets.h>.
2301 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
2302 (__libc_vfork): New strong alias.
2303 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
2304 removed.
2305 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
2306 removed.
2307
fdfd175d
CD
23082014-05-26 Carlos O'Donell <carlos@redhat.com>
2309
2310 * malloc/malloc.c (mi_arena): New function.
2311 (malloc_info): Remove nested function mi_arena. Call non-nosted
2312 function mi_arena.
2313
d298c416
AZ
23142014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2315
2316 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
2317 by insrwi.
2318 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
2319 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
2320 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
2321 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
2322 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
2323 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
2324 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
2325
b60ea6ff
AS
23262014-05-26 Andreas Schwab <schwab@suse.de>
2327
2328 [BZ #16984]
2329 * locale/programs/repertoire.c (repertoire_read): Add slash
2330 between I18NPATH element and file name.
2331 * locale/programs/locfile.c (locfile_read): Likewise.
2332
67365926
SL
23332014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2334
2335 * nptl/pthread_mutexattr_settype.c
2336 (__pthread_mutexattr_settype):
2337 Disable lock elision for PTHREAD_MUTEX_NORMAL.
2338
f8bdf1f0
SL
23392014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2340
2341 * nptl/tst-mutex5 (do_test):
2342 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
2343
15eaf6ff
SP
23442014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2345
2346 * benchtests/README: Document 'init' directive.
2347 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
2348 BENCH_INIT.
2349 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
2350 (parse_file): Recognize 'init' directive.
2351
75f11331
KM
23522014-05-26 Kyle McMartin <kyle@redhat.com>
2353
2354 [BZ #16796]
2355 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
2356 alignment of struct pthread.
2357
c3ec475c
SP
23582014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2359
2360 [BZ #16878]
2361 * nscd/netgroupcache.c (addgetnetgrentX): Look for
2362 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2363 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
2364 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
2365
82aab97c
RH
23662014-05-25 Richard Henderson <rth@twiddle.net>
2367
aa2f176d
RH
2368 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2369 (SINGLE_THREAD_P_PIC): Remove.
2370 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
2371 (SINGLE_THREAD_P_PIC): Remove.
2372
ca3cfa40
RH
2373 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
2374 branch to syscall error ...
2375 (PSEUDO): ... here.
2376 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
2377 from __local_syscall_error to .Lsyscall_error.
2378 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
2379 (SYSCALL_ERROR): Update label name.
2380
6e6c2d01
RH
2381 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2382 Do not use DOARGS/UNDOARGS.
2383 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
2384 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
2385 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
2386 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
2387 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
2388
c69abcee
RH
2389 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
2390 block comment.
2391
82aab97c
RH
2392 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
2393 define if !NOT_IN_libc.
2394 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
2395 define with non-default symbol versions.
2396
8820e3ac
RH
23972014-05-23 Richard Henderson <rth@twiddle.net>
2398
900e445f
RH
2399 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2400 (vfork, __vfork): Define via compat_symbol.
2401
8820e3ac
RH
2402 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2403 [!HAVE_IFUNC] (vfork_compat): Remove.
2404 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2405
e59252a5
JM
24062014-05-23 Joseph Myers <joseph@codesourcery.com>
2407
2408 [BZ #16978]
2409 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2410 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2411 variable.
2412
132c7f5f
RH
24132014-05-23 Richard Henderson <rth@twiddle.net>
2414
bc89e962
RH
2415 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2416 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2417 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2418 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2419
2420 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2421 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2422 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2423 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2424 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2425 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2426 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2427 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2428 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2429 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2430 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2431 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2432 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2433 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2434 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2435 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2436 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2437 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2438 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2439 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2440 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2441 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2442 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2443 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2444 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2445 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2446 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2447 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2448 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2449 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2450 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2451 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2452 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2453 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2454 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2455 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2456 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2457 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2458 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2459 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2460 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2461 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2462 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2463 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2464 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2465 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2466 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2467 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2468 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2469 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2470 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2471 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2472 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2473 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2474 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2475 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2476
e2fa4bc2
RH
2477 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2478 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2479 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
2480 before exiting on error.
2481 (__libc_vfork): New strong alias.
2482 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2483 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2484
279b24e2
RH
2485 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2486 that was previously under [RESET_PID].
2487 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2488
132c7f5f
RH
2489 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2490
b72592e7
JM
24912014-05-23 Joseph Myers <joseph@codesourcery.com>
2492
2493 [BZ #16977]
2494 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2495 value when x - 1 is zero.
2496 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2497 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2498 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2499 0.0L for an argument of 1.0L.
2500 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2501 Likewise.
2502 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2503 value when x - 1 is zero.
2504 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2505 * sysdeps/i386/fpu/libm-test-ulps: Update.
2506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2507
2302d679
RV
25082014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2509
2510 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2511 alphasort and versionsort.
2512
32999d63
AZ
25132014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2514
2515 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2516 macro.
2517 [copysignf]: Likewise.
2518
019324d0
SP
25192014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2520
2521 * crypt/md5-crypt.c: Fix formatting.
2522
34fff5c2
KS
25232014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2524
2525 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2526 (b64_from_24bit): New function.
2527
3d2badac
AZ
25282014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2529
2530 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2531 libc_hidden_builtin_def to ifunc.
2532 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2533 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2534
f7bb179f 25352014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
2536
2537 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2538 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2539
4134b50d
JM
25402014-05-21 Joseph Myers <joseph@codesourcery.com>
2541
bb7d0337
JM
2542 * nscd/Depend (linuxthreads): Remove.
2543 (nptl): Add.
2544 * resolv/Depend (linuxthreads): Remove.
2545 * rt/Depend (linuxthreads): Remove.
2546
4134b50d
JM
2547 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2548 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2549 $(common-objpfx)elf/.
2550 (link-libc-before-gnulib): Likewise.
2551 (elfobjdir): Remove variable.
2552 * Makefile (install): Use $(elf-objpfx) instead of
2553 $(common-objpfx)elf/.
2554 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2555 $(elfobjdir)/.
2556 (link-libc-deps): Likewise.
2557 ($(common-objpfx)libc.so): Likewise.
2558 ($(common-objpfx)linkobj/libc.so): Likewise.
2559 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2560 instead of $(common-objpfx)elf/.
2561 (symbolic-link-list): Likewise.
2562 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2563 [$(cross-compiling) = no]: Likewise.
2564 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2565 $(elfobjdir)/.
2566 (static-gnulib-arch): Likewise.
2567 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2568 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2569 $(common-objpfx)elf/.
2570
3612eb8f
RH
25712014-05-21 Richard Henderson <rth@redhat.com>
2572
a6b3657b
RH
2573 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2574 (SINGLE_THREAD_P): Use the correct width load. Fold
2575 into the ldr offset.
2576
3612eb8f
RH
2577 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2578 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2579
175cef41
JM
25802014-05-20 Joseph Myers <joseph@codesourcery.com>
2581
2582 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2583 (libgcc_s_resume): Use __attribute_used__.
2584 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2585 Likewise.
2586
e13bccd3
AZ
25872014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2588
2589 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2590 optimization when used with float constants.
2591
7c112a38
AZ
2592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2593
ae75a883
AJ
25942014-05-20 Aurelien Jarno <aurelien@aurel32.net>
2595
2596 [BZ #16915]
2597 * locale/nl_langinfo_l.c: Make direct reference to every
2598 _nl_current_CATEGORY symbol.
2599 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2600 (tests-static): Add tst-langinfo-static.
2601 (tests-special): Add tst-langinfo-static.out.
2602 ($(objpfx)tst-langinfo.out): Redirect output.
2603 ($(objpfx)tst-langinfo-static.out): New.
2604 * localedata/tst-langinfo.sh: Send output to stdout.
2605 * localedata/tst-langinfo-static.c: New file.
2606
4406c41c
AJ
2607 [BZ #16965]
2608 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2609 when the shift amount is modulo the limb size.
2610
4c0a1e63
RH
26112014-05-20 Richard Henderson <rth@redhat.com>
2612
de9d8f20
RH
2613 [BZ #16967]
2614 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2615 Change type of sa_flags from unsigned int to int.
2616
4c0a1e63
RH
2617 [BZ #16966]
2618 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
2619
2620 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2621
a60339aa
WN
26222014-05-20 Will Newton <will.newton@linaro.org>
2623
2624 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2625 Test the return value of the system call in the nocancel case.
2626
7d05a816
YR
26272014-05-20 Will Newton <will.newton@linaro.org>
2628 Yvan Roux <yvan.roux@linaro.org>
2629
2630 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2631 #include of asm/ptrace.h.
2632 (PTRACE_GET_THREAD_AREA): Remove #undef.
2633 (PTRACE_GETHBPREGS): Likewise.
2634 (PTRACE_SETHBPREGS): Likewise.
2635 (struct user_regs_struct): New structure.
2636 (struct user_fpsimd_struct): New structure.
2637 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2638 #include of asm/ptrace.h and second #include of sys/user.h.
2639 (PTRACE_GET_THREAD_AREA): Remove #undef.
2640 (PTRACE_GETHBPREGS): Likewise.
2641 (PTRACE_SETHBPREGS): Likewise.
2642 (ELF_NGREG): Use new struct user_regs_struct.
2643 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2644
af121e37
AZ
26452014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2646
2647 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2648 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2649
834caf06
JM
26502014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2651
2652 [BZ #16958]
2653 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2654 membar to avoid block loads/stores to overlap previous stores.
2655
e184a918
RH
26562014-05-17 Richard Henderson <rth@redhat.com>
2657
2658 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2659 Create the __##syscall_name##_nocancel entry point.
2660 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2661 Remove; let the sysdep-cancel.h code create it.
2662
f56c7a6a
DM
26632014-05-17 David S. Miller <davem@davemloft.net>
2664
2665 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2666 Protect with __USE_GNU.
2667 (TIOCSET_TEMPT): Likewise.
2668 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2669 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2670 these are already provided in bits/ioctl-types.h
2671
f75616b2
RM
26722014-05-16 Roland McGrath <roland@hack.frob.com>
2673
3edeca86
RM
2674 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2675 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2676
f75616b2
RM
2677 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2678 Use wait4 regardless of [__NR_waitpid].
2679
deb0f7f6
MR
26802014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2681
2682 PR libgcc/60166
2683 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2684 (_FP_NANSIGN_Q): Set the quiet bit.
2685
79520f4b
JM
26862014-05-16 Joseph Myers <joseph@codesourcery.com>
2687
2688 * benchtests/Makefile
2689 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2690 not $(common-objpfx)math/libm.so.
2691 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2692 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2693 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2694 $(common-objpfx)dlfcn/libdl.so.
2695 ($(objpfx)tst-audit8): Depend on $(libm), not
2696 $(common-objpfx)math/libm.so.
2697 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2698 not $(common-objpfx)dlfcn/libdl.so.
2699 * math/Makefile
2700 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2701 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2702 [$(build-shared) = yes].
2703 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2704 $(common-objpfx)nptl/libpthread.so.
2705 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2706 $(common-objpfx)math/libm.so$(libm.so-version) or
2707 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2708 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2709 $(common-objpfx)dlfcn/libdl.so.
2710 * setjmp/Makefile (link-libm): Remove variable.
2711 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2712 * stdio-common/Makefile (link-libm): Remove variable.
2713 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2714 * stdlib/Makefile (link-libm): Remove variable.
2715 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2716 ($(objpfx)tst-strtod-round): Likewise.
2717 ($(objpfx)tst-tininess): Likewise.
2718 ($(objpfx)tst-strtod-underflow): Likewise.
2719 ($(objpfx)tst-strtod6): Likewise.
2720 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2721 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2722 $(common-objpfx)dlfcn/libdl.so.
2723
026b0fe4
AZ
27242014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2725
2726 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2727 BSD terminal modes definitions.
2728
def4bcb2
RM
27292014-05-16 Roland McGrath <roland@hack.frob.com>
2730
fe39b021
RM
2731 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2732 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2733
1d1fc46e 2734 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
2735 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2736 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2737 Don't do #include_next.
2738 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2739 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2740 Don't do #include_next.
2741 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2742 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2743 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2744 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2745
c72399fb
AM
27462014-05-16 Allan McRae <allan@archlinux.org>
2747
d51d659d
AM
2748 * po/sv.po: Update Swedish translation from translation project.
2749
c72399fb
AM
2750 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2751 in sed expression.
2752
d0583c40
AJ
27532014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2754
2755 [BZ #16917]
2756 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2757 errno if the TIOCGPTN ioctl fails with an error different than
2758 EINVAL.
2759 * login/tst-ptsname.c: New file.
2760 * login/Makefile (tests): Add tst-ptsname.
2761
d16e6ec7
AJ
2762 [BZ #16943]
2763 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2764 and prlimit64.
2765
cf26a0cb
SP
27662014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2767
2768 [BZ #16849]
2769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2770 herrno to return EAI_AGAIN.
2771
5675da1e
RM
27722014-05-14 Roland McGrath <roland@hack.frob.com>
2773
a5d87b3d
RM
2774 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2775 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2776 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2777 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2778 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2779 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2780 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2781 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2782 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2783 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2784 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2785 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2786 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2787 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2788 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2789 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2790 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2791 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2792 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2793 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2794 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2795 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2796 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2797 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2798 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2799 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2801 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2802 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2803 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2804 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2805 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2807 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2809 Moved ...
2810 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2812 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2814 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2816 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2818 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2820 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2822 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2823 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2824 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2826 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2828 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2829 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2830 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2832 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2834 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2835 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2836 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2838 Moved ...
2839 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2841 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2843 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2845 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2847 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2849 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2851 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2853 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2855 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2857 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2859 Moved ...
2860 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2862 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2863
039890a6
RM
2864 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2865 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2866 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2867 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2868 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2869 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2870 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2871 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2872 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2873 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2874 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2875 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2876 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2877 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2878 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2879 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2880 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2881 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2882 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2883 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2884 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2885 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2886 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2887 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2888 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2889 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2890 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2891 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2892 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2893 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2894 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2895
65c89320
RM
2896 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2897 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2898
348f8e8c
RM
2899 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2900 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2901 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2902 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2903 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2904 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2905 Moved ...
2906 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2907 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2908 Moved ...
2909 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2910 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2911 Moved ...
2912 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2913 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2914 Moved ...
2915 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2916 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2917 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2918 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2919 Moved ...
2920 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2921 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2922 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2923 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2924 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2925 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2926 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2927 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2928 Moved ...
2929 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2930 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2931 Moved ...
2932 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2933 ... here.
2934 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2935 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2936 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2937 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2938 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2939 Moved ...
2940 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2941 ... here.
2942 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2943 Moved ...
2944 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2945 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2946 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2947 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2948 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2949 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2950 Moved ...
2951 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2952 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2953 Moved ...
2954 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2955 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2956 Moved ...
2957 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2958 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2959 Moved ...
2960 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2961 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2962 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2963 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2964 Moved ...
2965 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2966 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2967 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2968 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2969 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2970 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2971 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2972 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2973 Moved ...
2974 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2975 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2976 Moved ...
2977 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2978 ... here.
2979 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2980 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2981 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2982 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2983 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2984 Moved ...
2985 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2986 ... here.
2987 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2988 Moved ...
2989 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2990 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2991 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2992 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2993 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2994 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2995 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2996 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2997 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2998 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2999 Moved ...
3000 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3001 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3002 Moved ...
3003 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3004 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3005 Moved ...
3006 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3007 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3008 Moved ...
3009 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3010 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3011 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3012 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3013 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3014 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3015 Moved ...
3016 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3017 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3018 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3019 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3020 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3021 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3022 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3023 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3024 Moved ...
3025 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3026 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3027 Moved ...
3028 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3029 ... here.
3030 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3031 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3033 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3034 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3035 Moved ...
3036 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3037 ... here.
3038 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3039 Moved ...
3040 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3041 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3042 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3043 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3044 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3045 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3046 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3047 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3048 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3049 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3050 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3051
5085af05
RM
3052 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3053 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3054
708f0813
RM
3055 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3056 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3057
c96067bc
RM
3058 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3059 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3060 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3061 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3062 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3063 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3064 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3066 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3067 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3068 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3069 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3070 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3071 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3072 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3073 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3074 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3075 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3076 Moved ...
3077 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3079 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3081 Moved ...
3082 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3084 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3085 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3086 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3088 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3089 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3090 Moved ...
3091 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3093 Moved ...
3094 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3096 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3098 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3099 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3100 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3102 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3104 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3105 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3106 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3108 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3110 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3111
ec136444
RM
3112 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3113 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3114 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3115 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3116 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3117
2fbdf533
RM
3118 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3119 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3120 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3121 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3122 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3123 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3124 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3125 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3126 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3127 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3128
4c68138b
RM
3129 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3130 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3131
4eaae765
RM
3132 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3133 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
3134 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3135 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3136 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3137 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3138 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3139 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3140 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3141 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3142 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3143 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3144 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3145 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3146 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3147 Update #include.
3148 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3149 Likewise.
3150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3151 Likewise.
3152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3153 Likewise.
3154 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3155 Likewise.
3156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3157 Likewise.
3158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3159 Likewise.
3160 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3161 Likewise.
3162 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3163 Likewise.
3164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3165 Likewise.
4ef6befa
RM
3166 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3167 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3169 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3170 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
3171 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3172 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3173 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3174 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3175 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3176 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3177 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3178 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3179 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
3180 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 3181
941d7dfd
RM
3182 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3183 that was previously under [RESET_PID].
3184 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3185 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3186 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3187
1b731c35
RM
3188 * sysdeps/i386/nptl/Implies: New file.
3189 * sysdeps/x86_64/nptl/Implies: New file.
3190 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3191 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3192 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3193 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3194
e2787137
RM
3195 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3196 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3197 (__libc_vfork): New strong alias.
3198 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3199 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3200
3201 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3202 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3203 (__libc_vfork): New strong alias.
3204 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3205 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3206
5675da1e
RM
3207 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3208 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3209 (__libc_vfork): New strong alias.
3210 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3211 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3212 * nptl/pt-vfork.c: New file.
3213 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3214 (libpthread: GLIBC_2.20): New version set (empty).
3215
4f02e2b8
WN
32162014-05-14 Will Newton <will.newton@linaro.org>
3217
3218 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3219 rather than #if.
3220
0bf061d3
JM
32212014-05-14 Joseph Myers <joseph@codesourcery.com>
3222
1a84c3d6
JM
3223 [BZ #16564]
3224 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3225 arguments with exponent 65 or above.
3226 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3227 arguments 0x1p113L or above.
3228 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3229 to arguments 0x1p107L or above.
3230 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3231 positive arguments with exponent 65 or above.
3232 * math/auto-libm-test-in: Add more tests of log1p.
3233 * math/auto-libm-test-out: Regenerated.
3234
01dbacd2
JM
3235 [BZ #16928]
3236 * math/s_cacos.c (__cacos): Ensure zero real part of result from
3237 non-finite arguments is +0.
3238 * math/s_cacosf.c (__cacosf): Likewise.
3239 * math/s_cacosl.c (__cacosl): Likewise.
3240 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3241 * sysdeps/i386/fpu/libm-test-ulps: Update.
3242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3243
913d03c8
JM
3244 [BZ #16927]
3245 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3246 value.
3247 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3248 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3249 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3250 for explicit high bit of mantissa when testing for argument equal
3251 to 1.
3252 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3253 * sysdeps/i386/fpu/libm-test-ulps: Update.
3254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3255
0bf061d3
JM
3256 [BZ #16516]
3257 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
3258 (__erf): Scale by 16 instead of 8 in potentially underflowing
3259 case. Ensure exception if result actually underflows.
3260 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
3261 (__erff): Scale by 16 instead of 8 in potentially underflowing
3262 case. Ensure exception if result actually underflows.
3263 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
3264 (efx8): Remove variable.
3265 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3266 case. Ensure exception if result actually underflows.
3267 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
3268 (efx8): Remove variable.
3269 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3270 case. Ensure exception if result actually underflows.
3271 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
3272 (efx8): Remove variable.
3273 (__erfl): Scale by 16 instead of 8 in potentially underflowing
3274 case. Ensure exception if result actually underflows.
3275 * math/auto-libm-test-in: Add more tests of erf.
3276 * math/auto-libm-test-out: Regenerated.
3277
73ba67cb
AS
32782014-05-14 Andreas Schwab <schwab@suse.de>
3279
3d8c8bff
AS
3280 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
3281 Remove code conditionalized on USE___THREAD.
3282
73ba67cb
AS
3283 * config.h.in (HAVE_PT_CHOWN): Define as 0.
3284 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
3285 not definedness.
3286
5c521ecd
JM
32872014-05-14 Joseph Myers <joseph@codesourcery.com>
3288
5e7698c6
JM
3289 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
3290 Define unconditionally.
3291 (__ASSUME_O_CLOEXEC): Likewise.
3292 (__ASSUME_SOCK_CLOEXEC): Likewise.
3293 (__ASSUME_IN_NONBLOCK): Likewise.
3294 (__ASSUME_PIPE2): Likewise.
3295 (__ASSUME_EVENTFD2): Likewise.
3296 (__ASSUME_SIGNALFD4): Likewise.
3297 (__ASSUME_DUP3): Likewise.
3298 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3299 (__ASSUME_DUP3): Do not define.
3300 (__ASSUME_EVENTFD2): Likewise.
3301 (__ASSUME_IN_NONBLOCK): Likewise.
3302 (__ASSUME_O_CLOEXEC): Likewise.
3303 (__ASSUME_PIPE2): Likewise.
3304 (__ASSUME_SIGNALFD4): Likewise.
3305 (__ASSUME_SOCK_CLOEXEC): Likewise.
3306 (__ASSUME_UTIMES): Undefine.
3307 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3308 (__ASSUME_UTIMES): Do not define.
3309 (__ASSUME_O_CLOEXEC): Likewise.
3310 (__ASSUME_SOCK_CLOEXEC): Likewise.
3311 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
3312 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
3313 0x020621].
3314 (__ASSUME_PIPE2): Likewise.
3315 (__ASSUME_EVENTFD2): Likewise.
3316 (__ASSUME_SIGNALFD4): Likewise.
3317 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
3318 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
3319 Do not define.
3320 (__ASSUME_EVENTFD2): Likewise.
3321 (__ASSUME_SIGNALFD4): Likewise.
3322 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3323 (__ASSUME_32BITUIDS): Likewise.
3324 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3325 (__ASSUME_IPC64): Likewise.
3326 (__ASSUME_ST_INO_64_BIT): Likewise.
3327 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
3328 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
3329 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3330 (__ASSUME_UTIMES): Do not define.
3331 (__ASSUME_PSELECT): Likewise.
3332 (__ASSUME_PPOLL): Likewise.
3333 (__ASSUME_O_CLOEXEC): Likewise.
3334 (__ASSUME_SOCK_CLOEXEC): Likewise.
3335 (__ASSUME_IN_NONBLOCK): Likewise.
3336 (__ASSUME_PIPE2): Likewise.
3337 (__ASSUME_EVENTFD2): Likewise.
3338 (__ASSUME_SIGNALFD4): Likewise.
3339 (__ASSUME_DUP3): Likewise.
3340 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3341 (__ASSUME_UTIMES): Likewise.
3342 (__ASSUME_O_CLOEXEC): Likewise.
3343 (__ASSUME_SOCK_CLOEXEC): Likewise.
3344 (__ASSUME_IN_NONBLOCK): Likewise.
3345 (__ASSUME_PIPE2): Likewise.
3346 (__ASSUME_EVENTFD2): Likewise.
3347 (__ASSUME_SIGNALFD4): Likewise.
3348 (__ASSUME_DUP3): Likewise.
3349 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3350 (__ASSUME_UTIMES): Likewise.
3351 (__ASSUME_O_CLOEXEC): Likewise.
3352 (__ASSUME_SOCK_CLOEXEC): Likewise.
3353 (__ASSUME_IN_NONBLOCK): Likewise.
3354 (__ASSUME_PIPE2): Likewise.
3355 (__ASSUME_EVENTFD2): Likewise.
3356 (__ASSUME_SIGNALFD4): Likewise.
3357 (__ASSUME_DUP3): Likewise.
3358 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
3359 Likewise.
3360 (__ASSUME_UTIMES): Likewise.
3361 (__ASSUME_EVENTFD2): Likewise.
3362 (__ASSUME_SIGNALFD4): Likewise.
3363 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3364 (__ASSUME_O_CLOEXEC): Likewise.
3365 (__ASSUME_SOCK_CLOEXEC): Likewise.
3366 (__ASSUME_IN_NONBLOCK): Likewise.
3367 (__ASSUME_PIPE2): Likewise.
3368 (__ASSUME_EVENTFD2): Likewise.
3369 (__ASSUME_SIGNALFD4): Likewise.
3370 (__ASSUME_DUP3): Likewise.
3371 (__ASSUME_UTIMES): Undefine.
3372
5c521ecd
JM
3373 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
3374 feclearexcept. Remove symbol versioning code.
3375 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
3376 symbol versioning code.
3377 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
3378 symbol versioning code.
3379 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
3380 feupdateenv. Remove symbol versioning code.
3381 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
3382 fegetexceptflag. Remove symbol versioning code.
3383 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
3384 fesetexceptflag. Remove symbol versioning code.
3385 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
3386 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
3387 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
3388 (__posix_fadvise64_l32): Remove prototype.
3389 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
3390 code.
3391
5da9dfad
RM
33922014-05-13 Roland McGrath <roland@hack.frob.com>
3393
3394 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
3395 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
3396 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
3397 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
3398
893b4f37
SK
33992014-05-13 Sami Kerola <kerolasa@iki.fi>
3400
3401 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3402 current working directory
3403
e0db6517
RM
34042014-05-13 Roland McGrath <roland@hack.frob.com>
3405
58aa195d
RM
3406 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3407 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3408 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3409 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3410 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3411 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3412 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3413 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3414 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3415 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3416 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3417 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3418 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3419 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3420 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3421 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3422 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3423 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3424 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3425 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3426 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3427 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3428 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3429 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3430 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3431 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3432 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3433 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3434 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3435 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3436 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3437 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3438 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3439 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3440 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3441 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3442 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3443 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3444 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3445 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3446 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3447 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3448
8c6d01f0
RM
3449 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3450 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3451
3452 * sysdeps/unix/sysv/linux/arm/Makefile
3453 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3454 Add rt-aeabi_unwind_cpp_pr1.
3455 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3456 Add nptl-aeabi_unwind_cpp_pr1.
3457 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3458 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3459 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3460 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3461 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3462 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3463
3464 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3465 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3466 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3467 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3468
bba6da4e
RM
3469 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3470 Deconditionalize the code that was previously under [RESET_PID].
3471 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3472
e0db6517
RM
3473 * sysdeps/generic/exit-thread.h: New file.
3474 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3475 * include/unistd.h (__exit_thread): Remove declaration.
3476 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3477 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3478 * csu/libc-start.c: Include <exit-thread.h>.
3479 (LIBC_START_MAIN): Pass no argument to __exit_thread.
3480 * nptl/pthread_create.c: Include <exit-thread.h>.
3481 (start_thread): Call __exit_thread in place of __exit_thread_inline.
3482 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3483 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3484 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3485 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3486 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3487 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3488 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3489 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3490 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3491 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3492 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3493 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3494 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3495 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3496 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3497 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3498
01eb16fd
AS
34992014-05-13 Andreas Schwab <schwab@suse.de>
3500
3501 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3502
637461d9
JM
35032014-05-12 Joseph Myers <joseph@codesourcery.com>
3504
3505 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3506 (__ASSUME_UTIMES): Do not condition on kernel version.
3507 (__ASSUME_PSELECT): Define unconditionally.
3508 (__ASSUME_PPOLL): Likewise.
3509 (__ASSUME_ATFCTS): Likewise.
3510 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3511 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3512 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3513 (__ASSUME_UTIMENSAT): Define unconditionally.
3514 (__ASSUME_PRIVATE_FUTEX): Likewise.
3515 (__ASSUME_FALLOCATE): Likewise.
3516 (__ASSUME_O_CLOEXEC): Likewise.
3517 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3518 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3519 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3520 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3521 (__ASSUME_IN_NONBLOCK): Likewise.
3522 (__ASSUME_PIPE2): Likewise.
3523 (__ASSUME_EVENTFD2): Likewise.
3524 (__ASSUME_SIGNALFD4): Likewise.
3525 (__ASSUME_DUP3): Likewise.
3526 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3527 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3528 (__ASSUME_AT_RANDOM): Likewise.
3529 (__ASSUME_PREADV): Likewise.
3530 (__ASSUME_PWRITEV): Likewise.
3531 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3532 (__ASSUME_F_GETOWN_EX): Define unconditionally.
3533 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3534 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3535 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3536 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3537 (__ASSUME_O_CLOEXEC): Define unconditionally.
3538 (__ASSUME_PSELECT): Do not undefine conditionally.
3539 (__ASSUME_PPOLL): Likewise.
3540 (__ASSUME_ATFCTS): Likewise.
3541 (__ASSUME_SET_ROBUST_LIST): Likewise.
3542 (__ASSUME_UTIMENSAT): Likewise.
3543 (__ASSUME_FDATASYNC): Define unconditionally.
3544 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3545 (__ASSUME_SIGFRAME_V2): Likewise.
3546 )__ASSUME_EVENTFD2): Likewise.
3547 (__ASSUME_SIGNALFD4): Likewise.
3548 (__ASSUME_PSELECT): Do not undefine conditionally.
3549 (__ASSUME_PPOLL): Likewise.
3550 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3551 (__ASSUME_PSELECT): Define unconditionally.
3552 (__ASSUME_PPOLL): Likewise.
3553 (__ASSUME_O_CLOEXEC): Likewise.
3554 (__ASSUME_SOCK_CLOEXEC): Likewise.
3555 (__ASSUME_IN_NONBLOCK): Likewise.
3556 (__ASSUME_PIPE2): Likewise.
3557 (__ASSUME_EVENTFD2): Likewise.
3558 (__ASSUME_SIGNALFD4): Likewise.
3559 (__ASSUME_DUP3): Likewise.
3560 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3561 (__ASSUME_O_CLOEXEC): Likewise.
3562 (__ASSUME_SOCK_CLOEXEC): Likewise.
3563 (__ASSUME_IN_NONBLOCK): Likewise.
3564 (__ASSUME_PIPE2): Likewise.
3565 (__ASSUME_EVENTFD2): Likewise.
3566 (__ASSUME_SIGNALFD4): Likewise.
3567 (__ASSUME_DUP3): Likewise.
3568 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3569 (__ASSUME_EVENTFD2): Likewise.
3570 (__ASSUME_SIGNALFD4): Likewise.
3571 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3572
315eb1d8
AS
35732014-05-12 Andreas Schwab <schwab@suse.de>
3574
3575 [BZ #16932]
3576 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3577 (_nss_nis_gethostbyname4_r): Return error if item length is larger
3578 than maximum RPC packet size.
3579 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3580 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3581 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3582 (_nss_nis_getservbyport_r): Likewise.
3583
91df99f7
WN
35842014-05-12 Will Newton <will.newton@linaro.org>
3585
3586 * malloc/Makefile (tests): Add tst-mallopt.
3587 * malloc/tst-mallopt.c: New file.
3588
0a982a29
RM
35892014-05-09 Roland McGrath <roland@hack.frob.com>
3590
3591 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3592 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3593
0ded08a5
AZ
35942014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3595
3596 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3597 (tst-tlsmod6.so): Likewise.
3598
55d4d550
RM
35992014-05-09 Roland McGrath <roland@hack.frob.com>
3600
3601 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3602
77d08aca
JM
36032014-05-09 Joseph Myers <joseph@codesourcery.com>
3604
3605 [BZ #16064]
3606 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3607 and <dl-procinfo.h>.
3608 (__fegetenv): Save SSE state in envp->__eip if supported.
3609 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3610 envp->__eip if supported.
3611 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3612 and <dl-procinfo.h>.
3613 (__fesetenv): Always set __eip, __cs_selector, __opcode,
3614 __data_offset and __data_selector in environment to 0. Set SSE
3615 state if supported.
3616 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3617 test-fenv-sse.
3618 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3619 -mfpmath=sse.
3620 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3621
28162f4d
WN
36222014-05-09 Will Newton <will.newton@linaro.org>
3623
3624 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3625 and libc_relro_required for ARM.
3626 * sysdeps/arm/preconfigure: Regenerate.
3627
5a414ff7
DV
36282014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3629 Stefan Liebler <stli@linux.vnet.ibm.com>
3630
3631 * config.make.in (enable-lock-elision): New Makefile variable.
3632 * configure.ac: Likewise.
3633 * configure: Regenerate.
3634 * sysdeps/s390/configure.ac:
3635 Add check for gcc transactions support.
3636 * sysdeps/s390/configure: Regenerate.
3637 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3638 Build elision files if enabled.
3639 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3640 Add lock elision support for s390.
3641 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3642 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3643 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3644 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3645 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3646 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3647 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3648 Likewise.
3649 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3650 Likewise.
3651 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3652 Likewise.
3653 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3654 Likewise.
3655 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3656 (__lll_timedlock_elision, __lll_lock_elision)
3657 (__lll_unlock_elision, __lll_trylock_elision)
3658 (lll_timedlock_elision, lll_lock_elision)
3659 (lll_unlock_elision, lll_trylock_elision): Add.
3660 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3661 (pthread_mutex_t): Add lock elision support for s390.
3662
1a2f40e5
W
36632014-05-14 Wilco <wdijkstr@arm.com>
3664
3665 * sysdeps/arm/fclrexcpt.c: Cleanup.
3666 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3667 * sysdeps/arm/feenablxcpt.c: Cleanup.
3668 * sysdeps/arm/fegetenv.c: Cleanup.
3669 * sysdeps/arm/fegetexcept.c: Cleanup.
3670 * sysdeps/arm/fegetround.c: Cleanup.
3671 * sysdeps/arm/feholdexcpt.c: Cleanup.
3672 * sysdeps/arm/fesetenv.c: Cleanup.
3673 * sysdeps/arm/fesetround.c: Cleanup.
3674 * sysdeps/arm/feupdateenv.c: Cleanup.
3675 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3676 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3677 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3678 * sysdeps/arm/ftestexcept.c: Cleanup.
3679 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3680 * sysdeps/arm/setfpucw.c: Cleanup.
3681
f63c86fe
WN
36822014-05-09 Will Newton <will.newton@linaro.org>
3683
3684 * sysdeps/arm/armv7/strcmp.S: New file.
3685 * NEWS: Mention addition of ARMv7 optimized strcmp.
3686
7a1a51b5
RM
36872014-05-08 Roland McGrath <roland@hack.frob.com>
3688
95afbbe5
RM
3689 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3690 look for %.ac rather than %.in.
3691
3692 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3693 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3694 * sysdeps/mach/hurd/configure: Regenerated.
3695 * sysdeps/unix/sysv/linux/configure: Regenerated.
3696
7a1a51b5
RM
3697 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3698
5057ad3b
SE
36992014-05-07 Steve Ellcey <sellcey@mips.com>
3700
3701 [BZ# 16922]
3702 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3703 (LONG_SUB): Ditto.
3704 (PTR_SUB): Ditto.
3705
8dc97517
AS
37062014-05-07 Andreas Schwab <schwab@suse.de>
3707
3708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3709 when skipping over non-matching result from nscd.
3710
ce0c5b8f
OB
37112014-05-07 Ondřej Bílka <neleai@seznam.cz>
3712
3713 [BZ #16876]
3714 * nptl/sockperf.c (client): Check socket return value.
8dc97517 3715
a1189263
OB
3716 [BZ #16877]
3717 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3718 nscd security class.
ce0c5b8f 3719
0f58d252
RM
37202014-05-06 Roland McGrath <roland@hack.frob.com>
3721
3722 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3723 * sysdeps/arm/unwind.h: ... here.
3724
83df9ad0
AJ
37252014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3726
ce0c5b8f
OB
3727 [BZ# 16916]
3728 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3729 Define.
83df9ad0 3730
f360f94a
VR
37312014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3732
3733 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3734 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3735 multiarch strncpy for PPC64.
3736 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3737 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3739 multiarch optimizations.
3740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3741 (__libc_ifunc_impl_list): Likewise.
3742 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3743 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3744 multiarch stpncpy for PPC64.
3745 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3746 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3747
978a41c3
AS
37482014-05-06 Andreas Schwab <schwab@suse.de>
3749
3750 [BZ #16912]
3751 * gmon/mcount.c (_MCOUNT_DECL): Use
3752 atomic_compare_and_exchange_bool_acq instead of
3753 catomic_compare_and_exchange_bool_acq.
3754
eb1ed03d
RM
37552014-05-05 Roland McGrath <roland@hack.frob.com>
3756
fe658845
RM
3757 * elf/Makefile (others, install-bin): Remove pldd.
3758 (pldd-modules): Variable removed.
3759 ($(objpfx)pldd): Target removed.
3760 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3761 (others, install-bin): Append pldd here.
3762 ($(objpfx)pldd): New target.
3763
eb1ed03d
RM
3764 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3765 to 0, so the first #if test emitted later doesn't see it undefined.
3766 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3767 * sysdeps/gnu/errlist.c: Regenerated.
3768
19c4bec0
AZ
37692014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3770
3771 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3772 [libc_hidden_builtin_def]: Define to empty value.
3773 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3774 [libc_hidden_builtin_def]: Likewise.
3775 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3776 [libc_hidden_builtin_def]: Likewise.
3777 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3778 [libc_hidden_builtin_def]: Likewise.
3779 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3780 __redirect_memcpy and define ifunc as default hidden symbol.
3781 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3782 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3783
7776e669
AC
37842014-05-04 Adam Conrad <adconrad@0c3.net>
3785
3786 * locale/iso-4217.def: Reintroduce XDR currency.
3787
d69aeb12
AM
37882014-05-04 Allan McRae <allan@archlinux.org>
3789
3790 * po/eo.po: Update Esperanto translation from translation project.
3791
8f1df5cf
CD
37922014-05-02 Carlos O'Donell <carlos@redhat.com>
3793
3794 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3795 and FEATURE_INDEX_MAX to 1.
3796 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3797
13e402e7
SE
37982014-05-01 Steve Ellcey <sellcey@mips.com>
3799
3800 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3801 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3802 * iconvdata/big5.c (ONE_DIRECTION): Define.
3803 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3804 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3805 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3806 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3807 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3808 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3809 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3810 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3811 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3812 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3813 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3814 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3815 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3816 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3817 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3818 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3819 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3820 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3821 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3822 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3823 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3824 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3825 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3826 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3827 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3828 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3829 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3830 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3831 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3832 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3833 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3834 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3835 * iconvdata/johab.c (ONE_DIRECTION): Define.
3836 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3837 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3838 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3839 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3840 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3841 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3842 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3843 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3844 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3845 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3846
c727f032
RM
38472014-05-01 Roland McGrath <roland@hack.frob.com>
3848
8f2f08d0
RM
3849 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3850 (_IO_JUMPS_OFFSET): Define to 0.
3851
c727f032
RM
3852 * nptl/sysdeps/pthread/bits/libc-lock.h
3853 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3854 (__libc_lock_define_initialized_recursive): Always define using
3855 initializer. Modern compilers treat uninitialized (implicit zero) and
3856 explicit zero initializers the same (i.e. put the datum in bss).
3857
a849e800
AS
38582014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3859
3860 * nscd/nscd-client.h: Include <string.h>.
3861
5331255b
DM
38622014-05-01 David S. Miller <davem@davemloft.net>
3863
3864 [BZ #16885]
3865 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3866 multiple zero bytes exist at the end of a string.
3867 Reported by Aurelien Jarno <aurelien@aurel32.net>
3868
3869 * string/test-strcmp.c (check): Add explicit test for situations where
3870 there are multiple zero bytes after the first.
3871
4fdfe821
AS
38722014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3873
3874 [BZ #16890]
3875 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3876 when compiling wprintf.
3877 * stdio-common/tstdiomisc.c (t3): New function.
3878 (main): Call it.
3879
0cdddc25
SE
38802014-05-01 Steve Ellcey <sellcey@mips.com>
3881
3882 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3883 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3884 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3885 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3886
6426d77e
SE
38872014-05-01 Steve Ellcey <sellcey@mips.com>
3888
3889 * stdlib/longlong.h: Updated from GCC.
3890
6d96f5e4
WN
38912014-05-01 Will Newton <will.newton@linaro.org>
3892 Bernard Ogden <bernie.ogden@linaro.org>
3893
7470db0c
WN
3894 * NEWS: Update fixed bug list.
3895
6d96f5e4
WN
3896 [BZ #15119]
3897 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3898
211d653c
DM
38992014-04-30 David S. Miller <davem@davemloft.net>
3900
4fa262fa
DM
3901 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3902 (libc_feholdexcept_setround_sparc_ctx): New function.
3903 (libc_fesetenv_sparc_ctx): Likewise.
3904 (libc_feupdateenv_sparc_ctx): Likewise.
3905 (libc_feholdsetround_sparc_ctx): Likewise.
3906 (libc_feholdexcept_setround_ctx): Define.
3907 (libc_feholdexcept_setroundf_ctx): Likewise.
3908 (libc_feholdexcept_setroundl_ctx): Likewise.
3909 (libc_fesetenv_ctx): Likewise.
3910 (libc_fesetenvf_ctx): Likewise.
3911 (libc_fesetenvl_ctx): Likewise.
3912 (libc_feupdateenv_ctx): Likewise.
3913 (libc_feupdateenvf_ctx): Likewise.
3914 (libc_feupdateenvl_ctx): Likewise.
3915 (libc_feresetround_ctx): Likewise.
3916 (libc_feresetroundf_ctx): Likewise.
3917 (libc_feresetroundl_ctx): Likewise.
3918 (libc_feholdsetround_ctx): Likewise.
3919 (libc_feholdsetroundf_ctx): Likewise.
3920 (libc_feholdsetroundl_ctx): Likewise.
3921
1d3d93ef
DM
3922 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3923 with __USE_GNU instead of XOPEN cpp guards.
3924
8aa583c3
DM
3925 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3926 0.
3927
211d653c
DM
3928 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3929 with XOPEN cpp guards.
3930
60c8f1f6
JB
39312014-04-30 Julian Brown <julian@codesourcery.com>
3932
3933 [BZ #16888]
3934 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3935 handling.
3936
9a461d46
JM
39372014-04-30 Joseph Myers <joseph@codesourcery.com>
3938
d0f5b3f8
JM
3939 [BZ #9894]
3940 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3941 Change to 2.6.32.
3942 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3943 * sysdeps/unix/sysv/linux/configure: Regenerated.
3944 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3945 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3946 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3947 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3948 * README: Update reference to required Linux kernel version.
3949 * manual/install.texi (Linux): Update reference to required Linux
3950 kernel headers version.
3951 * INSTALL: Regenerated.
3952
9a461d46
JM
3953 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3954 header inclusion.
3955 [POSIX] (limits.h): Likewise.
3956 [POSIX] (math.h): Likewise.
3957 [POSIX] (sys/wait.h): Likewise.
3958 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3959 function.
3960 [POSIX] (stddef.h): Do not allow header inclusion.
3961
1775babf
AZ
39622014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3963
57f41c40 3964 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 3965
8f630cca
YY
39662014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3967
3968 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3969 Return immediately after lll_futex_wake.
3970
1cdeb237
SP
39712014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3972
bc8f194c
SP
3973 [BZ #16791]
3974 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3975 structure.
3976 (datahead_init_pos): Call datahead_init_common early.
3977 (datahead_init_neg): Likewise.
3978
1cdeb237
SP
3979 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3980 datahead_init_neg): New functions.
3981 * nscd/aicache.c (addhstaiX): Use them.
3982 * nscd/grpcache.c (cache_addgr): Likewise.
3983 * nscd/hstcache.c (cache_addhst): Likewise.
3984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3985 * nscd/netgroupcache.c (do_notfound): Likewise.
3986 (addgetnetgrentX): Likewise.
3987 (addinnetgrX): Likewise.
3988 * nscd/pwdcache.c (cache_addpw): Likewise.
3989 * nscd/servicescache.c (cache_addserv): Likewise.
3990
16b293a7
SP
39912014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3992 Atsushi Onoe <atsushi@onoe.org>
3993
3994 [BZ #14308]
3995 [BZ #12994]
3996 [BZ #13651]
3997 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3998 one response is valid.
3999 * resolv/res_send.c (send_dg): Check for validity of other
4000 response if the current response is a referral.
4001
a28a9b94
SE
40022014-04-29 Steve Ellcey <sellcey@mips.com>
4003
4004 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4005
2ca180e9
SL
40062014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
4007
4008 [BZ #16823]
4009 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4010 Always divide by positive zero when computing -Inf result.
4011 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4012 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4013
18f2945a
AZ
40142014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4015
4016 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4017 FPSCR if value do not change.
4018 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4019 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4020 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4021 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4022 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4023 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4024 function.
4025
5abebba4
CD
40262014-05-29 Carlos O'Donell <carlos@systemhalted.org>
4027
4028 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4029 * sysdeps/unix/sysv/linux/hppa: Move directory from
4030 ports/systeps/unix/sysv/linux/hppa.
4031 * README: Update listing for hppa-*-linux-gnu.
4032
f7ed60c2
OB
40332014-04-28 Ondřej Bílka <neleai@seznam.cz>
4034
fff763a5
OB
4035 [BZ #16754]
4036 * manual/stdio.texi (Hook functions): Fix types of stream hook
4037 functions.
f7ed60c2
OB
4038 [BZ #16854]
4039 * socket/sys/socket.h: Fix typo in comment.
4040
df639d73
WD
40412014-04-28 Wilco <wdijkstr@arm.com>
4042
f7ed60c2 4043 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
4044 * sysdeps/arm/math_private.h: New file.
4045 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4046
48332d82
L
40472014-04-25 H.J. Lu <hongjiu.lu@intel.com>
4048
4049 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4050 with __int128_t.
4051 (La_x86_64_retval): Likewise.
4052
e5e0d9a4
IB
40532014-04-24 Ian Bolton <ian.bolton@arm.com>
4054
4055 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4056 fpsr if value didn't change.
4057 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4058 to fpcr if value didn't change.
4059 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4060 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4061 fpsr or fpcr if value didn't change.
4062 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4063 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4064 fpcr if value didn't change.
4065 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4066 to fpsr if value didn't change.
4067
bacc75f7
SP
40682014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4069
4070 * nptl/tst-sem3.c: Use test-skeleton.c
4071 (main): Rename to do_test. Use return instead of
4072 exit.
4073 * nptl/tst-sem4.c: Use test-skeleton.c
4074 (main): Rename to do_test.
4075
a059d359
DM
40762014-04-22 David S. Miller <davem@davemloft.net>
4077
4078 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4079 (struct sigaction): New struct member __glibc_reserved0, change
4080 type of sa_flags to int.
4081
ea6c92f3
YZ
40822014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
4083
4084 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4085 (COUNT_LEADING_ZEROS_0): Define for AArch64.
4086
766c4a36
SP
40872014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4088
4089 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4090 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4091
140cc7ab
VK
40922014-04-22 Will Newton <will.newton@linaro.org>
4093 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
4094
4095 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4096 (__longjmp): Add longjmp and longjmp_target SystemTap
4097 probes.
4098 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4099 (__sigsetjmp): Add setjmp SystemTap probe.
4100
c54e5cf7
CD
41012014-04-17 Carlos O'Donell <carlos@redhat.com>
4102
4103 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4104 match manual order.
4105
75ffb047
AZ
41062014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4107
4108 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4109
2cd925f7
AZ
4110 * sysdeps/powerpc/fpu/fenv_private.h
4111 (libc_feholdexcept_setroundl_ctx): Define to
4112 libc_feholdexcept_setround_ppc_ctx.
4113 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4114 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4115 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4116 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4117
39e6cd8d
IB
41182014-04-17 Ian Bolton <ian.bolton@arm.com>
4119
4120 * sysdeps/aarch64/math-tests.h: New file.
4121
f9281df9
SY
41222014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
4123
4124 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4125 New.
4126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4127 Check and set bit_AVX2_Usable.
4128 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4129 macro.
4130 (bit_AVX2): Likewise.
4131 (index_AVX2_Usable): Likewise.
4132 (CPUID_AVX2): Likewise.
4133 (HAS_AVX2): Likewise.
4134
37d35007
WN
41352014-04-17 Will Newton <will.newton@linaro.org>
4136
7c677662
WN
4137 * manual/setjmp.texi (System V contexts): Add note that
4138 calling setcontext on a context created by a call to a
4139 signal handler is undefined. Update text to note that
4140 setcontext from a signal handler is possible but not
4141 recommended.
4142
37d35007 4143 [BZ #16629]
e04a4e9d
WN
4144 * stdlib/tst-setcontext.c: Include signal.h.
4145 (main): Check that the signal stack before and
4146 after swapcontext is the same.
4147
37d35007
WN
4148 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4149 Re-implement to restore registers in user code and avoid
4150 rt_sigreturn system call.
4151
423a7160
W
41522014-04-17 Wilco <wdijkstr@arm.com>
4153
4154 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4155 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4156 * math/test-fenv.c: Skip exception trap tests on targets which only
4157 support non-stop mode.
4158
bc93ab29
IB
41592014-04-17 Ian Bolton <ian.bolton@arm.com>
4160 Wilco Dijkstra <wilco.dijkstra@arm.com>
4161
4162 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4163 (libc_feholdsetround_aarch64_ctx)
4164 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4165 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4166 (libc_feresetround_ctx, libc_feresetroundf_ctx)
4167 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4168 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4169 (libc_feresetround_noexl_ctx): Define.
4170
95fc5fa3
RH
41712014-04-16 Richard Henderson <rth@redhat.com>
4172
ddb04724
RH
4173 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4174
d77c0899
RH
4175 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4176 unwind tables.
4177
a3df56fc
RH
4178 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4179 const from the non-libc, non-ldso copy.
4180
95fc5fa3
RH
4181 * sysdeps/alpha/libm-test-ulps: Regenerate.
4182
7e0b6763
IB
41832014-04-16 Ian Bolton <ian.bolton@arm.com>
4184 Wilco Dijkstra <wilco.dijkstra@arm.com>
4185
4186 * sysdeps/aarch64/fpu/math_private.h: New file.
4187
a9ea2e0c
MS
41882014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
4189
4190 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4191
ea8ba7cd
IZ
41922014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
4193
4194 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4195 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4197 Intel MPX bound registers before _dl_profile_fixup.
4198 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4199 registers after _dl_profile_fixup. Save and restore bound
4200 registers bnd0/bnd1 when calling _dl_call_pltexit.
4201 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4202 (LR_BND_OFFSET): Likewise.
4203 (LRV_BND0_OFFSET): Likewise.
4204 (LRV_BND1_OFFSET): Likewise.
4205
9f2a4fbc
ST
42062014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4207
4208 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4209 to...
4210 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
4211 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4212 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4213 fields.
9f2a4fbc 4214
fd15a59b
ST
42152014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4216
4217 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4218
f19dfa0a
SL
42192014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4220
4221 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4222
4fa8bc3b
SL
42232014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4224
4225 [BZ #14770]
4226 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4227 * sysdeps/s390/configure: Regenerate.
4228
8ea587db
SL
4229 [BZ #16824]
4230 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4231 Set round-to-nearest internally to reduce error accumulation.
4232
aa5f0ff1
AM
42332014-04-16 Alan Modra <amodra@gmail.com>
4234
4235 [BZ #16740]
4236 [BZ #16619]
4237 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4238 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 4239 * NEWS: Update fixed bug list.
aa5f0ff1 4240
bb9c256f
SP
42412014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4242
4243 * benchtests/Makefile: Depend on libraries in build directory.
4244 (bench-math): Separate out math tests.
4245 (bench-pthread): Separate out pthread tests.
4246 (bench): Include math and pthread tests.
4247
f737dfd0
CD
42482014-04-14 Carlos O'Donell <carlos@redhat.com>
4249
4250 [BZ #16831]
4251 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4252 _dl_debug_initialize.
4253
0699f766
CD
4254 * configure.ac: Remove SELinux header check.
4255 * configure: Regenerate.
4256 * nscd/selinux.c (perms): Array of const char* to permission names.
4257 (nscd_request_avc_has_perm): Call security_deny_unknown to find
4258 default policy. Call string_to_security_class and string_to_av_perm to
4259 translate strings. Enforce default policy and call avs_has_perm with
4260 results of translated strings.
4261
809bd45f
DM
42622014-04-13 David S. Miller <davem@davemloft.net>
4263
4264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4265
89e691f2
AM
42662014-04-12 Allan McRae <allan@archlinux.org>
4267
4268 [BZ #16838]
4269 * manual/string.texi (Collation Functions): Fix qsort argument
4270 order in example.
4271 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
4272
9c9daaeb
CM
42732014-04-11 Chris Metcalf <cmetcalf@tilera.com>
4274
4275 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
4276 Make the test a no-op if there are no exceptions defined.
4277
95561fb9
PP
42782014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
4279
fe8d072c 4280 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
4281 enable-hardcoded-path-in-tests
4282
970c602a
WN
42832014-04-11 Will Newton <will.newton@linaro.org>
4284
4285 * benchtests/Makefile (extra-objs): Add json-lib.o.
4286 (bench-func): Tidy up JSON output.
4287 * benchtests/bench-skeleton.c: Include json-lib.h.
4288 (main): Use JSON library functions to do output of
4289 benchmark results.
4290 * benchtests/bench-timing-type.c (main): Output the
4291 timing type simply, leaving formatting to the user.
4292 * benchtests/json-lib.c: New file.
4293 * benchtests/json-lib.h: Likewise.
4294
36875b06
TR
42952014-04-11 Torvald Riegel <triegel@redhat.com>
4296
4297 [BZ #15215]
4298 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
4299 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
4300 memory barriers. Add comments.
4301 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
4302 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
4303 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
4304 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
4305 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
4306 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
4307
579db35a
SL
43082014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4309
4310 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
4311 * sysdeps/s390/s390-64/configure.ac: ... this ...
4312 * sysdeps/s390/configure.ac: ... to here.
4313 * sysdeps/s390/s390-32/configure: Delete file.
4314 * sysdeps/s390/s390-64/configure: Delete file.
4315 * sysdeps/s390/configure: Regenerate.
4316
c12e9f37
JAPH
43172014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
4318
4319 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
4320
439bda32
WN
43212014-04-11 Will Newton <will.newton@linaro.org>
4322
4323 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
4324 to zero if it is not defined elsewhere. (mtrim): Test
4325 the value of MALLOC_DEBUG with #if rather than #ifdef.
4326
6a5d6ea1
TR
43272014-04-10 Torvald Riegel <triegel@redhat.com>
4328
4329 * benchtests/pthread_once-inputs: New file.
4330 * benchtests/pthread_once-source.c: New file.
4331 * benchtests/README: Update documentation.
4332
a4c75cfd
IZ
43332014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
4334 H.J. Lu <hongjiu.lu@intel.com>
4335
4336 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
4337 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
4338 * sysdeps/x86_64/configure: Regenerated.
4339 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
4340 macro.
4341 (REGISTER_SAVE_RAX): Likewise.
4342 (REGISTER_SAVE_RCX): Likewise.
4343 (REGISTER_SAVE_RDX): Likewise.
4344 (REGISTER_SAVE_RSI): Likewise.
4345 (REGISTER_SAVE_RDI): Likewise.
4346 (REGISTER_SAVE_R8): Likewise.
4347 (REGISTER_SAVE_R9): Likewise.
4348 (REGISTER_SAVE_BND0): Likewise.
4349 (REGISTER_SAVE_BND1): Likewise.
4350 (REGISTER_SAVE_BND2): Likewise.
4351 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
4352 bound registers when calling _dl_fixup.
4353
27822ce6
AZ
43542014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4355
4356 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
4357 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
4358 of its definition.
27822ce6
AZ
4359 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
4360 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
4361 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
4362 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
4363 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
4364 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
4365 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
4366
a88ddc90
PTB
43672014-04-09 Peter Brett <peter@peter-b.co.uk>
4368
4369 [BZ #15514]
4370 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
4371 pathconf(_PC_NAME_MAX).
4372
01f8eac2
AZ
43732014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4374
4375 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
4376 Remove macro usage.
4377 (__PTHREAD_SPINS): Move definition to ...
4378 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4379 (__PTHREAD_SPINS): ... here.
4380 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4381 (__PTHREAD_SPIN): Likewise.
4382 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
4383 (__PTHREAD_SPIN): Likewise.
4384 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
4385 (__PTHREAD_SPIN): Likewise.
4386 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
4387 (__PTHREAD_SPIN): Likewise.
4388 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
4389 (__PTHREAD_SPIN): Likewise.
4390 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
4391 (__PTHREAD_SPIN): Likewise.
4392 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
4393 (__PTHREAD_SPIN): Likewise.
4394 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
4395 (__PTHREAD_SPIN): Likewise.
4396 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
4397 (__PTHREAD_SPIN): Likewise.
4398 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4399 (__PTHREAD_SPIN): Likewise.
4400 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4401 (__PTHREAD_SPIN): Likewise.
4402 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4403 (__PTHREAD_SPIN): Likewise.
4404
de21c33c
AZ
4405 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4406 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4407 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4408 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4409 imply folder.
4410 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4411 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4412 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4413 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4414 correct imply path.
4415 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4416 strlen symbol for non multi-arch builds.
4417 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4418 missing hidden_def and weak_alias.
4419
862c472e
CD
44202014-04-08 Carlos O'Donell <carlos@redhat.com>
4421
4422 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4423
8667f90e
WN
44242014-04-07 Will Newton <will.newton@linaro.org>
4425
4426 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4427 and contents. [!_LIBC] Remove #ifndef and contents.
4428 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
4429 * string/memccpy.c (__memccpy): Use ANSI prototype.
4430 * string/memfrob.c (memfrob): Likewise.
4431 * string/strcoll.c (STRCOLL): Likewise.
4432 * string/strlen.c (strlen): Likewise.
4433 * string/strtok.c (STRTOK): Likewise.
4434 * string/strcat.c: Remove unused #include of memcopy.h.
4435 (strcat): Use ANSI prototype.
4436 * string/strchr.c: Remove unused #include of memcopy.h.
4437 (strchr): Use ANSI prototype.
4438 * string/strcmp.c: Remove unused #include of memcopy.h.
4439 (strcmp): Use ANSI prototype.
4440 * string/strcpy.c: Remove unused #include of memcopy.h.
4441 (strcpy): Use ANSI prototype.
4442
7ffa9423
AZ
44432014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4444
4445 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4446 * config.make.in (config-extra-cppflags): Set it from
4447 libc_extra_cppflags.
4448 * configure.ac (libc_extra_cflags): Make it accumulate over
4449 configure fragments.
4450 (libc_extra_cppflags): New flag.
4451 * configure. Regenerate.
4452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
4453 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4454 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4456
8bd70862
AZ
4457 [BZ #16815]
4458 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4459 result for FE_DOWNWARD rounding mode.
4460 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4461 Likewise.
4462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4463
d42f3448
CM
44642014-04-04 Chris Metcalf <cmetcalf@tilera.com>
4465
4466 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4467 in function argument name.
4468
1c21d115
DS
44692014-04-03 David Svoboda <svoboda@cert.org>
4470
4471 [BZ #5666]
4472 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4473 explicitly.
4474
fcccd512
RM
44752014-04-03 Roland McGrath <roland@hack.frob.com>
4476
4477 * elf/dl-unmap-segments.h: New file.
4478 * sysdeps/generic/ldsodefs.h
4479 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4480 * elf/dl-close.c: Include <dl-unmap-segments.h>.
4481 * elf/dl-fptr.c: Likewise.
4482 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4483 * sysdeps/aarch64/tlsdesc.c: Likewise.
4484 * sysdeps/arm/tlsdesc.c: Likewise.
4485 * sysdeps/i386/tlsdesc.c: Likewise.
4486 * sysdeps/tile/dl-runtime.c: Likewise.
4487 * sysdeps/x86_64/tlsdesc.c: Likewise.
4488 * elf/dl-load.h: New file.
4489 * elf/dl-load.c: Include it.
4490 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4491 Macros moved to dl-load.h.
4492 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4493 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4494 Use _dl_unmap_segments in place of __munmap.
4495 Break out segment-mapping loop into ...
4496 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4497
f6488e2b
WN
44982014-04-03 Will Newton <will.newton@linaro.org>
4499
4500 * elf/dl-lookup.c (do_lookup_x): Remove comment
4501 referring to nested function and move variable
4502 declarations down to before first use.
4503
6f05bafe
JM
45042014-04-02 Joseph Myers <joseph@codesourcery.com>
4505
a84e78c8
JM
4506 [BZ #16799]
4507 [BZ #16800]
4508 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4509 with 0 numerator.
4510 * math/s_catanf.c (__catanf): Likewise.
4511 * math/s_catanh.c (__catanh): Likewise.
4512 * math/s_catanhf.c (__catanhf): Likewise.
4513 * math/s_catanhl.c (__catanhl): Likewise.
4514 * math/s_catanl.c (__catanl): Likewise.
4515 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4516 by positive zero when computing -Inf result.
4517 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4518 (catanh_test): Likewise.
4519 * sysdeps/i386/fpu/libm-test-ulps: Update.
4520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4521
6f05bafe
JM
4522 [BZ #16789]
4523 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4524 instead of using underflowing value in computing result.
4525 * math/s_clog10.c (__clog10): Likewise.
4526 * math/s_clog10f.c (__clog10f): Likewise.
4527 * math/s_clog10l.c (__clog10l): Likewise.
4528 * math/s_clogf.c (__clogf): Likewise.
4529 * math/s_clogl.c (__clogl): Likewise.
4530 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4531 (clog10_test): Likewise.
4532 * sysdeps/i386/fpu/libm-test-ulps: Update.
4533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4534
b0abbc21
AM
45352014-04-02 Alan Modra <amodra@gmail.com>
4536
4537 [BZ #16739]
4538 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4539 output when value is near a power of two. Use int64_t for lx and
4540 remove casts. Use decimal rather than hex exponent constants.
4541 Don't use long double multiplication when double will suffice.
4542 * math/libm-test.inc (nextafter_test_data): Add tests.
4543 * NEWS: Add 16739 and 16786 to bug list.
4544
af6b1797
AM
4545 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4546
483818d7
AM
4547 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4548
f6c55796
WN
45492014-04-01 Will Newton <will.newton@linaro.org>
4550
4551 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4552 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
4553
13f7fe35
FW
45542014-04-01 Florian Weimer <fweimer@redhat.com>
4555
4556 [BZ #13347]
4557 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4558 * nptl/tst-setuid2.c: New file.
4559 * nptl/Makefile (xtests): Add tst-setuid2.
4560
c859b32e
AM
45612014-04-01 Alan Modra <amodra@gmail.com>
4562
4563 [BZ #16786]
4564 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4565
54fa2475
JM
45662014-03-31 Joseph Myers <joseph@codesourcery.com>
4567
8795b4a4
JM
4568 [BZ #6803]
4569 [BZ #6804]
4570 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4571 set errno as appropriate.
4572 * math/w_scalbf.c (__scalbf): Likewise.
4573 * math/w_scalbl.c (__scalbl): Likewise.
4574 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4575 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4576 * math/libm-test.inc (scalb_test_data): Add errno expectations.
4577 Add more NaN tests.
4578
54fa2475
JM
4579 [BZ #16349]
4580 * math/w_atan2.c: Include <errno.h>.
4581 (__atan2): Set errno for result underflowing to zero.
4582 * math/w_atan2f.c: Include <errno.h>.
4583 (__atan2f): Set errno for result underflowing to zero.
4584 * math/w_atan2l.c: Include <errno.h>.
4585 (__atan2l): Set errno for result underflowing to zero.
4586 * math/auto-libm-test-in: Don't allow missing errno for some atan2
4587 tests.
4588 * math/auto-libm-test-out: Regenerated.
4589
757d9dd5
AZ
45902014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4591
4592 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4593 Encode instruction correctly in little endian.
4594 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4595 Likewise.
4596 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4597 Likewise.
4598 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4599 Likewise.
4600 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4601 Likewise.
4602
d7a68734
JM
46032014-03-31 Joseph Myers <joseph@codesourcery.com>
4604
47c5adeb
JM
4605 [BZ #9894]
4606 * sysdeps/unix/sysv/linux/kernel-features.h
4607 [__sparc__ && !__arch64__ && !__sparc_v9__]
4608 (__ASSUME_SET_ROBUST_LIST): Do not define.
4609 [__sparc__ && !__arch64__ && !__sparc_v9__]
4610 (__ASSUME_FUTEX_LOCK_PI): Likewise.
4611 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4612 Likewise.
4613 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4614 (__ASSUME_FUTEX_LOCK_PI): Undefine.
4615 (__ASSUME_REQUEUE_PI): Likewise.
4616 (__ASSUME_SET_ROBUST_LIST): Likewise.
4617 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4618 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4619 Undefine.
4620 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4621 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4622 Likewise.
4623 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4624 Likewise.
4625 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4626 Likewise.
4627 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4628 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4629 Undefine.
4630 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4631 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4632 Likewise.
4633
d7a68734
JM
4634 [BZ #16648]
4635 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4636 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4637 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4638
c760f5c2
WN
46392014-03-31 Will Newton <will.newton@linaro.org>
4640
4641 * benchtests/Makefile (bench): Add ffs and ffsll to list
4642 of tests.
4643 * benchtests/ffs-inputs: New file.
4644 * benchtests/ffsll-inputs: Likewise.
4645
ea6029b1
JM
46462014-03-29 Joseph Myers <joseph@codesourcery.com>
4647
4648 [BZ #16770]
4649 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4650 too large before casting to int.
4651 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4652 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4653 * math/libm-test.inc (scalb_test_data): Add more tests.
4654
cf806aff
SP
46552014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4656
56737508
SP
4657 * benchtests/Makefile (DETAILED_OPT): New make option.
4658 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4659 set.
4660 * benchtests/bench-skeleton.c: Include stdbool.h.
4661 (main): Store and print timings per input.
4662 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4663 member to each argument value.
4664 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4665 (_print_arg_data): Initialize per-input timing to 0.
4666
cb5e4aad
SP
4667 * benchtests/Makefile (timing-type): New binary.
4668 (bench-clean): Also remove bench-timing-type.
4669 (bench): New target for timing-type.
4670 (bench-func): Print output in JSON format.
4671 * benchtests/bench-skeleton.c (main): Print output in JSON
4672 format.
4673 * benchtests/bench-timing-type.c: New file.
4674 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4675 (TIMING_PRINT_STATS): Remove.
4676 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4677 name separately.
4678
cf806aff
SP
4679 * benchtests/bench-modf.c: Remove.
4680 * benchtests/modf-inputs: New inputs file.
4681
289e0779
JM
46822014-03-28 Joseph Myers <joseph@codesourcery.com>
4683
4684 [BZ #16362]
4685 * math/s_clog10.c (M_PI_LOG10E): New macro.
4686 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4687 imaginary parts are 0.
4688 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4689 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4690 imaginary parts are 0.
4691 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4692 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4693 imaginary parts are 0.
4694 * math/libm-test.inc (clog10_test_data): Update expected results
4695 for when real and imaginary parts are 0.
4696
277ae3f1
PP
46972014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4698
4699 * elf/dl-load.c: Finish conversion of __builtin_expect into
4700 __glibc_{un}likely.
4701
03a7091f
JM
47022014-03-27 Joseph Myers <joseph@codesourcery.com>
4703
4704 [BZ #16348]
4705 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4706 1+x for argument with exponent below -67.
4707 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4708 Likewise.
4709 * math/auto-libm-test-in: Add more tests of exp.
4710 * math/auto-libm-test-out: Regenerated.
4711
ea7d8b95
SP
47122014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4713
dd3022d7
SP
4714 [BZ #16759]
4715 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4716 (nscd_getnetgrent): Use it.
4717
ea7d8b95
SP
4718 [BZ #16760]
4719 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4720 of stpcpy.
4721
df5b85da
AK
47222014-03-27 Andi Kleen <ak@linux.intel.com>
4723
57f41c40
AS
4724 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4725 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4726 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4727 (lll_robust_unlock): Remove out of line section. Use cfi
4728 intrinsics.
df5b85da 4729 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
4730 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4731 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4732 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4733 (lll_robust_unlock): Remove out of line section. Use cfi
4734 intrinsics.
df5b85da
AK
4735 (LLL_STUB_UNWIND_INFO*): Remove.
4736
fbd6b5a4
SP
47372014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4738
4739 [BZ #16758]
4740 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4741 blank values.
4742
1b26b855
PP
47432014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4744
4745 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4746
9be36fb8
JM
47472014-03-26 Joseph Myers <joseph@codesourcery.com>
4748
4749 [BZ #16198]
4750 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4751 fnstenv.
4752 * math/test-fenv-preserve.c: New file.
4753 * math/Makefile (tests): Add test-fenv-preserve.
4754
60a2f3c1
WN
47552014-03-26 Will Newton <will.newton@linaro.org>
4756
4757 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4758
a5e5f1e2
RM
47592014-03-25 Roland McGrath <roland@hack.frob.com>
4760
4761 * scripts/versionlist.awk: Partition the version sets and emit all
4762 GLIBC_* (sorted) before all others (sorted).
4763
00f4012a
JM
47642014-03-25 Joseph Myers <joseph@codesourcery.com>
4765
4766 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4767 GLIBC_2.2.5 version.
4768
7bc5a741
AZ
47692014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4770
4771 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4772 calls.
4773
7578473b
AZ
4774 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4775 previous change.
4776
f3f1dab3
AZ
4777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4778
6da36183
AS
47792014-03-25 Andreas Schwab <schwab@suse.de>
4780
4781 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4782 label to be used after in6ailist is initialized.
4783
f3f1dab3 47842014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 4785
7578473b 4786 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
4787 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4788
046651c1
JM
47892014-03-25 Joseph Myers <joseph@codesourcery.com>
4790
4791 [BZ #16357]
4792 [BZ #16599]
4793 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4794 min_plus_half.
4795 (fp_formats): Update initializers.
4796 (init_fp_formats): Initialize new field.
4797 (output_for_one_input_case): Allow underflow for results up to
4798 min_plus_half.
4799 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4800 * math/auto-libm-test-in: Don't mark some underflows from asin and
4801 atanh as spurious.
4802 * math/auto-libm-test-out: Regenerated.
4803 * sysdeps/i386/fpu/libm-test-ulps: Update.
4804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4805
003e49ed
AS
48062014-03-25 Andreas Schwab <schwab@suse.de>
4807
4808 * libio/Makefile (tst-ftell-partial-wide-ENV)
4809 (tst-ftell-active-handler-ENV): Define.
4810
de031874
SL
48112014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4812
4813 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4814
55a81e3b
PP
48152014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4816
4817 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4818
f3426898
JM
48192014-03-24 Joseph Myers <joseph@codesourcery.com>
4820
4821 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4822 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4823 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4824
a42faf59
PP
48252014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4826
4827 [BZ #16634]
a42faf59 4828 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
4829 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4830 (open_path): Change from boolean 'secure' to complete flag 'mode'
4831 (_dl_map_object): Adjust.
a42faf59
PP
4832 * elf/Makefile (tests): Add tst-dlopen-aout.
4833 * elf/tst-dlopen-aout.c: New test.
4834
50936127
SL
48352014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4836
4837 [BZ #16714]
4838 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4839 (struct stat): Rename member pad0 to __glibc_reserved0.
4840
26011b5c
SL
4841 [BZ #16712]
4842 * sysdeps/s390/s390-32/bits/wordsize.h
4843 (__WORDSIZE32_SIZE_ULONG): New define.
4844 * sysdeps/s390/s390-64/bits/wordsize.h
4845 (__WORDSIZE32_SIZE_ULONG): Likewise.
4846 * sysdeps/generic/stdint.h (SIZE_MAX):
4847 Define as UL if __WORDSIZE32_SIZE_ULONG.
4848
a2d86bf1
SL
4849 [BZ #16713]
4850 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4851 (__glibc_reserved0): New variable.
4852 (sa_flags): Change type to int.
4853
78b6eebc
SL
4854 * posix/Makefile (before-compile): Use += before-compile instead
4855 of a :=.
4856
f1399b5a
SL
4857 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4858 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4859
a071766e
AS
48602014-03-20 Andreas Schwab <schwab@suse.de>
4861
4862 [BZ #16743]
4863 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4864 non-matching result from nscd.
4865
27c673b8
SP
48662014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4867
4868 * scripts/bench.py: Moved to ...
4869 * benchtests/scripts/bench.py: ... here.
4870 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4871
44152e4b
AS
48722014-03-24 Andreas Schwab <schwab@suse.de>
4873
4874 [BZ #16002]
4875 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4876 alloca_account and account alloca use for struct in6ailist.
4877
b376a11a
JM
48782014-03-24 Joseph Myers <joseph@codesourcery.com>
4879
4880 [BZ #16284]
4881 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4882 rounding mode to recompute results that overflow to infinity or
4883 underflow to zero.
4884 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4885 bug 16284.
4886 * math/auto-libm-test-out: Regenerated.
4887 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4888 (ccosh_test): Likewise.
4889 (csin_test_data): Use plus_oflow.
4890 (csin_test): Use ALL_RM_TEST.
4891 (csinh_test_data): Use plus_oflow.
4892 (csinh_test): Use ALL_RM_TEST.
4893 * sysdeps/i386/fpu/libm-test-ulps: Update.
4894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4895
f7be7376
JM
48962014-03-21 Joseph Myers <joseph@codesourcery.com>
4897
1ca2d03e
JM
4898 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4899 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4900 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4901
f7be7376
JM
4902 [BZ #16731]
4903 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4904 when x - 1 is zero.
4905 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4906 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4907 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4908 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4909 argument is 1.
4910 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4911 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4912 zero.
4913 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4914 * sysdeps/i386/fpu/libm-test-ulps: Update.
4915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4916
fdf4534d
SP
49172014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4918
df26ea53
SP
4919 * scripts/bench.pl: Remove file.
4920 * scripts/bench.py: New benchmark script.
4921 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4922 * benchtests/README: Mention python dependency.
4923 * scripts/pylintrc: New file.
4924 * scripts/pylint: New file.
4925
fdf4534d
SP
4926 * bits/mathdef.h: Use #ifdef instead of #if.
4927 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4928 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4929 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4930 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4931 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4932 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4933
6f23d093
AZ
49342014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4935 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4936
4937 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4938 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4939 and strpbrk-ppc64 objects.
4940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4941 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4942 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4943 multiarch strpbrk for POWER7.
4944 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4945 multiarch strpbrk for PPC64.
4946 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4947 ifunc selector.
4948 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4949 strpbrk for POWER7.
4950
8c92dfff
JM
49512014-03-20 Joseph Myers <joseph@codesourcery.com>
4952
4953 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4954 (atan_test): Likewise.
4955 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4956 (atanh_test): Use ALL_RM_TEST.
4957 (atan2_test_data): Likewise.
4958 (cabs_test): Likewise.
4959 (cacosh_test): Likewise.
4960 (carg_test): Likewise.
4961 (casin_test): Likewise.
4962 (casinh_test): Likewise.
4963 (cbrt_test): Likewise.
4964 (csqrt_test): Likewise.
4965 (erf_test): Likewise.
4966 (erfc_test): Likewise.
4967 (pow10_test): Likewise.
4968 (exp2_test): Likewise.
4969 (hypot_test): Likewise.
4970 (j0_test): Likewise.
4971 (j1_test): Likewise.
4972 (lgamma_test): Likewise.
4973 (gamma_test): Likewise.
4974 (sincos_test): Likewise.
4975 (tanh_test): Likewise.
4976 (y0_test): Likewise.
4977 (y1_test): Likewise.
4978 * sysdeps/i386/fpu/libm-test-ulps: Update.
4979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4980
6eaf95cb
AZ
49812014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4982
a387428c
SP
4983 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
4985 and strcspn-ppc64 objects.
4986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4987 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4988 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4989 multiarch strcspn for POWER7.
4990 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4991 multiarch strcspn for PPC64.
4992 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4993 ifunc selector.
4994 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4995 strcspn for POWER7.
4996
ae3a5dff
JM
49972014-03-20 Joseph Myers <joseph@codesourcery.com>
4998
4999 * math/gen-libm-test.pl (generate_testfile): Expect only function
5000 name as argument to AUTO_TESTS_* and pass results for all rounding
5001 modes to parse_args.
5002 (parse_auto_input): Separate inputs of automatic tests from
5003 outputs before storing in %auto_tests.
5004 * math/libm-test.inc (acos_test_data): Update call to
5005 AUTO_TESTS_f_f.
5006 (acos_test): Use ALL_RM_TEST.
5007 (acos_tonearest_test_data): Remove.
5008 (acos_test_tonearest): Likewise.
5009 (acos_towardzero_test_data): Likewise.
5010 (acos_test_towardzero): Likewise.
5011 (acos_downward_test_data): Likewise.
5012 (acos_test_downward): Likewise.
5013 (acos_upward_test_data): Likewise.
5014 (acos_test_upward): Likewise.
5015 (acosh_test_data): Update call to AUTO_TESTS_f_f.
5016 (asin_test_data): Likewise.
5017 (asin_test): Use ALL_RM_TEST.
5018 (asin_tonearest_test_data): Remove.
5019 (asin_test_tonearest): Likewise.
5020 (asin_towardzero_test_data): Likewise.
5021 (asin_test_towardzero): Likewise.
5022 (asin_downward_test_data): Likewise.
5023 (asin_test_downward): Likewise.
5024 (asin_upward_test_data): Likewise.
5025 (asin_test_upward): Likewise.
5026 (asinh_test_data): Update call to AUTO_TESTS_f_f.
5027 (atan_test_data): Likewise.
5028 (atanh_test_data): Likewise.
5029 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5030 (cabs_test_data): Update call to AUTO_TESTS_c_f.
5031 (carg_test_data): Likewise.
5032 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5033 (ccos_test_data): Update call to AUTO_TESTS_c_c.
5034 (ccosh_test_data): Likewise.
5035 (cexp_test_data): Likewise.
5036 (clog_test_data): Likewise.
5037 (clog10_test_data): Likewise.
5038 (cos_test_data): Update call to AUTO_TESTS_f_f.
5039 (cos_test): Use ALL_RM_TEST.
5040 (cos_tonearest_test_data): Remove.
5041 (cos_test_tonearest): Likewise.
5042 (cos_towardzero_test_data): Likewise.
5043 (cos_test_towardzero): Likewise.
5044 (cos_downward_test_data): Likewise.
5045 (cos_test_downward): Likewise.
5046 (cos_upward_test_data): Likewise.
5047 (cos_test_upward): Likewise.
5048 (cosh_test_data): Update call to AUTO_TESTS_f_f.
5049 (cosh_test): Use ALL_RM_TEST.
5050 (cosh_tonearest_test_data): Remove.
5051 (cosh_test_tonearest): Likewise.
5052 (cosh_towardzero_test_data): Likewise.
5053 (cosh_test_towardzero): Likewise.
5054 (cosh_downward_test_data): Likewise.
5055 (cosh_test_downward): Likewise.
5056 (cosh_upward_test_data): Likewise.
5057 (cosh_test_upward): Likewise.
5058 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5059 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5060 (ctan_test_data): Likewise.
5061 (ctan_test): Use ALL_RM_TEST.
5062 (ctan_tonearest_test_data): Remove.
5063 (ctan_test_tonearest): Likewise.
5064 (ctan_towardzero_test_data): Likewise.
5065 (ctan_test_towardzero): Likewise.
5066 (ctan_downward_test_data): Likewise.
5067 (ctan_test_downward): Likewise.
5068 (ctan_upward_test_data): Likewise.
5069 (ctan_test_upward): Likewise.
5070 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5071 (ctanh_test): Use ALL_RM_TEST.
5072 (ctanh_tonearest_test_data): Remove.
5073 (ctanh_test_tonearest): Likewise.
5074 (ctanh_towardzero_test_data): Likewise.
5075 (ctanh_test_towardzero): Likewise.
5076 (ctanh_downward_test_data): Likewise.
5077 (ctanh_test_downward): Likewise.
5078 (ctanh_upward_test_data): Likewise.
5079 (ctanh_test_upward): Likewise.
5080 (erf_test_data): Update call to AUTO_TESTS_f_f.
5081 (erfc_test_data): Likewise.
5082 (exp_test_data): Likewise.
5083 (exp_test): Use ALL_RM_TEST.
5084 (exp_tonearest_test_data): Remove.
5085 (exp_test_tonearest): Likewise.
5086 (exp_towardzero_test_data): Likewise.
5087 (exp_test_towardzero): Likewise.
5088 (exp_downward_test_data): Likewise.
5089 (exp_test_downward): Likewise.
5090 (exp_upward_test_data): Likewise.
5091 (exp_test_upward): Likewise.
5092 (exp10_test_data): Update call to AUTO_TESTS_f_f.
5093 (exp10_test): Use ALL_RM_TEST.
5094 (exp10_tonearest_test_data): Remove.
5095 (exp10_test_tonearest): Likewise.
5096 (exp10_towardzero_test_data): Likewise.
5097 (exp10_test_towardzero): Likewise.
5098 (exp10_downward_test_data): Likewise.
5099 (exp10_test_downward): Likewise.
5100 (exp10_upward_test_data): Likewise.
5101 (exp10_test_upward): Likewise.
5102 (exp2_test_data): Update call to AUTO_TESTS_f_f.
5103 (expm1_test_data): Likewise.
5104 (expm1_test): Use ALL_RM_TEST.
5105 (expm1_tonearest_test_data): Remove.
5106 (expm1_test_tonearest): Likewise.
5107 (expm1_towardzero_test_data): Likewise.
5108 (expm1_test_towardzero): Likewise.
5109 (expm1_downward_test_data): Likewise.
5110 (expm1_test_downward): Likewise.
5111 (expm1_upward_test_data): Likewise.
5112 (expm1_test_upward): Likewise.
5113 (fma_test_data): Update call to AUTO_TESTS_fff_f.
5114 (fma_test): Use ALL_RM_TEST.
5115 (fma_towardzero_test_data): Remove.
5116 (fma_test_towardzero): Likewise.
5117 (fma_downward_test_data): Likewise.
5118 (fma_test_downward): Likewise.
5119 (fma_upward_test_data): Likewise.
5120 (fma_test_upward): Likewise.
5121 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5122 (j0_test_data): Update call to AUTO_TESTS_f_f.
5123 (j1_test_data): Likewise.
5124 (jn_test_data): Update call to AUTO_TESTS_if_f.
5125 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5126 (log_test_data): Update call to AUTO_TESTS_f_f.
5127 (log10_test_data): Likewise.
5128 (log1p_test_data): Likewise.
5129 (log2_test_data): Likewise.
5130 (pow_test_data): Update call to AUTO_TESTS_ff_f.
5131 (pow_tonearest_test_data): Likewise.
5132 (sin_test_data): Update call to AUTO_TESTS_f_f.
5133 (sin_test): Use ALL_RM_TEST.
5134 (sin_tonearest_test_data): Remove.
5135 (sin_test_tonearest): Likewise.
5136 (sin_towardzero_test_data): Likewise.
5137 (sin_test_towardzero): Likewise.
5138 (sin_downward_test_data): Likewise.
5139 (sin_test_downward): Likewise.
5140 (sin_upward_test_data): Likewise.
5141 (sin_test_upward): Likewise.
5142 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5143 (sinh_test_data): Update call to AUTO_TESTS_f_f.
5144 (sinh_test): Use ALL_RM_TEST.
5145 (sinh_tonearest_test_data): Remove.
5146 (sinh_test_tonearest): Likewise.
5147 (sinh_towardzero_test_data): Likewise.
5148 (sinh_test_towardzero): Likewise.
5149 (sinh_downward_test_data): Likewise.
5150 (sinh_test_downward): Likewise.
5151 (sinh_upward_test_data): Likewise.
5152 (sinh_test_upward): Likewise.
5153 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5154 (sqrt_test): Use ALL_RM_TEST.
5155 (sqrt_tonearest_test_data): Remove.
5156 (sqrt_test_tonearest): Likewise.
5157 (sqrt_towardzero_test_data): Likewise.
5158 (sqrt_test_towardzero): Likewise.
5159 (sqrt_downward_test_data): Likewise.
5160 (sqrt_test_downward): Likewise.
5161 (sqrt_upward_test_data): Likewise.
5162 (sqrt_test_upward): Likewise.
5163 (tan_test_data): Update call to AUTO_TESTS_f_f.
5164 (tan_test): Use ALL_RM_TEST.
5165 (tan_tonearest_test_data): Remove.
5166 (tan_test_tonearest): Likewise.
5167 (tan_towardzero_test_data): Likewise.
5168 (tan_test_towardzero): Likewise.
5169 (tan_downward_test_data): Likewise.
5170 (tan_test_downward): Likewise.
5171 (tan_upward_test_data): Likewise.
5172 (tan_test_upward): Likewise.
5173 (tanh_test_data): Update call to AUTO_TESTS_f_f.
5174 (tgamma_test_data): Likewise.
5175 (y0_test_data): Likewise.
5176 (y1_test_data): Likewise.
5177 (yn_test_data): Update call to AUTO_TESTS_if_f.
5178 (main): Do not call removed functions.
5179
d71aeee8
JM
51802014-03-19 Joseph Myers <joseph@codesourcery.com>
5181
5182 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5183 (ldexp_test_data): Remove.
5184 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
5185 scalbn_test_data.
5186 (scalb_test): Use ALL_RM_TEST.
5187
baaf1ded
AS
51882014-03-19 Andreas Schwab <schwab@suse.de>
5189
5190 * nscd/nscd.service: Also invalidate netgroup cache on reload.
5191
b1115e91
JM
51922014-03-19 Joseph Myers <joseph@codesourcery.com>
5193
5194 [BZ #16649]
5195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5196 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5197 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5199 (__ASSUME_PREADV): Undefine.
5200 (__ASSUME_PWRITEV): Likewise.
5201
0283ecca
RM
52022014-03-18 Roland McGrath <roland@hack.frob.com>
5203
7d375303
RM
5204 * bits/mman-linux.h: Add comment about non-Linux use.
5205 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5206 bits/mman-linux.h resting place.
5207
0283ecca
RM
5208 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5209 * bits/mman-linux.h: ... here.
5210
aebe1003
AZ
52112014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5212
5213 * conform/conformtest.pl: Add standard definition when calling C
5214 preprocessor on data files.
5215 (checknamespace): Remove unused variable.
5216
b29b6bb8
JM
52172014-03-18 Joseph Myers <joseph@codesourcery.com>
5218
5219 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5220 minus_oflow, plus_uflow and minus_uflow in expected results.
5221 * math/libm-test.inc (scalbn_test_data): Add more tests of
5222 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
5223 minus_uflow.
5224 (scalbn_test): Use ALL_RM_TEST.
5225 (scalbln_test_data): Add more tests of negative arguments. Use
5226 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5227 (scalbln_test): Use ALL_RM_TEST.
5228
c8f8fa15
RM
52292014-03-18 Roland McGrath <roland@hack.frob.com>
5230
5231 * scripts/abilist.awk: Ignore symbols marked with .hidden.
5232
fede7a5f
WN
52332014-03-18 Will Newton <will.newton@linaro.org>
5234
5235 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5236 inaccurate comment.
5237
80cf0a58
JM
52382014-03-18 Joseph Myers <joseph@codesourcery.com>
5239
5240 * Makerules [!subdir] (check-abi): Exit with error status if a
5241 test failed.
5242
b3620862
JM
52432014-03-17 Joseph Myers <joseph@codesourcery.com>
5244
5245 * math/libm-test.inc (nearbyint_test_data): Include all tests used
5246 for rint. Include results for all rounding modes.
5247 (nearbyint_test): Use ALL_RM_TEST.
5248 (rint_test_data): Include all tests used for nearbyint.
5249
788bba36
WN
52502014-03-17 Will Newton <will.newton@linaro.org>
5251
04ec140a
WN
5252 * nptl/sysdeps/pthread/pthread.h: Revert previous
5253 change.
5254
7579d8d5
WN
5255 * sysdeps/generic/ldsodefs.h: Revert previous
5256 change.
5257
c15cf13a
WN
5258 * libio/genops.c: Revert previous change.
5259 * libio/libioP.h: Likewise.
5260 * stdio-common/vfprintf.c: Likewise.
5261
d0ac1324
WN
5262 * sysdeps/generic/math_private.h: Revert previous
5263 change.
5264
9290130a
WN
5265 * sysdeps/generic/math_private.h: Check whether
5266 HAVE_RM_CTX is defined with #ifdef rather
5267 than #if.
5268
afb466fc
WN
5269 * argp/argp-fmtstream.h: Check whether
5270 __STRICT_ANSI__ is defined with #ifdef rather
5271 than #if.
5272 * argp/argp.h: Likewise.
5273
f7efd7c3
WN
5274 * libio/genops.c: Check whether
5275 _IO_JUMPS_OFFSET is defined with #ifdef rather
5276 than #if.
5277 * libio/libioP.h: Likewise.
5278 * stdio-common/vfprintf.c: Likewise.
5279
53f1bed3
WN
5280 * sysdeps/generic/ldsodefs.h: Check whether
5281 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
5282 than #if.
5283
788bba36
WN
5284 * nptl/sysdeps/pthread/pthread.h: Check
5285 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
5286 its value.
5287
fcd89ebe
SP
52882014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5289
ae42bbc5
SP
5290 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
5291 setting O_APPEND.
5292 * libio/tst-ftell-active-handler.c (do_append_test): Add a
5293 test case.
5294
ea33158c
SP
5295 [BZ #16680]
5296 * libio/fileops.c (_IO_file_open): Seek to end of file but
5297 don't cache the offset.
5298 (get_file_offset): Remove function.
5299 (do_ftell): Use cached offset when available.
5300 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
5301 don't cache the offset.
5302 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
5303 case.
5304 (do_one_test): Call it.
5305 (do_ftell_test): Fix up expected old offset for a+ mode.
5306 * libio/wfileops.c (do_ftell_wide): Used cached offset when
5307 available.
5308
b1dbb426
SP
5309 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
5310 up test status with function return status.
5311 (do_write_test): Likewise.
5312 (do_append_test): Likewise.
5313
fcd89ebe
SP
5314 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
5315 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
5316 Remove.
5317
9962a2d3
JM
53182014-03-17 Joseph Myers <joseph@codesourcery.com>
5319
5320 * math/gen-libm-test.pl (parse_args): Handle results specified for
5321 each rounding mode separately.
5322 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
5323 tests and results from lrint_tonearest_test_data,
5324 lrint_towardzero_test_data, lrint_downward_test_data and
5325 lrint_upward_test_data.
5326 (lrint_test): Use ALL_RM_TEST.
5327 (lrint_tonearest_test_data): Remove.
5328 (lrint_test_tonearest): Likewise.
5329 (lrint_towardzero_test_data): Likewise.
5330 (lrint_test_towardzero): Likewise.
5331 (lrint_downward_test_data): Likewise.
5332 (lrint_test_downward): Likewise.
5333 (lrint_upward_test_data): Likewise.
5334 (lrint_test_upward): Likewise.
5335 (llrint_test_data): Merge in per-rounding-mode tests and results
5336 from llrint_tonearest_test_data, llrint_towardzero_test_data,
5337 llrint_downward_test_data and llrint_upward_test_data.
5338 (llrint_test): Use ALL_RM_TEST.
5339 (llrint_tonearest_test_data): Remove.
5340 (llrint_test_tonearest): Likewise.
5341 (llrint_towardzero_test_data): Likewise.
5342 (llrint_test_towardzero): Likewise.
5343 (llrint_downward_test_data): Likewise.
5344 (llrint_test_downward): Likewise.
5345 (llrint_upward_test_data): Likewise.
5346 (llrint_test_upward): Likewise.
5347 (rint_test_data): Merge in per-rounding-mode tests and results
5348 from rint_tonearest_test_data, rint_towardzero_test_data,
5349 rint_downward_test_data and rint_upward_test_data. Add
5350 per-rounding-mode results for tests not in those arrays.
5351 (rint_test): Use ALL_RM_TEST.
5352 (rint_tonearest_test_data): Remove.
5353 (rint_test_tonearest): Likewise.
5354 (rint_towardzero_test_data): Likewise.
5355 (rint_test_towardzero): Likewise.
5356 (rint_downward_test_data): Likewise.
5357 (rint_test_downward): Likewise.
5358 (rint_upward_test_data): Likewise.
5359 (rint_test_upward): Likewise.
5360 (main): Don't call removed functions.
5361
5006148e
RM
53622014-03-14 Roland McGrath <roland@hack.frob.com>
5363
5364 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
5365 "Compiled on ..." crapola. It is anti-useful.
5366
d6fe5e58
JM
53672014-03-14 Joseph Myers <joseph@codesourcery.com>
5368
5369 * scripts/evaluate-test.sh: Handle fourth argument to determine
5370 whether test run should stop on failure.
5371 * Makeconfig (stop-on-test-failure): New variable.
5372 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
5373 $(stop-on-test-failure).
5374 * Makefile (tests): Give a summary of results from testing and
5375 exit with failure status if they include an ERROR or FAIL.
5376 (xtests): Likewise.
5377 * manual/install.texi (Configuring and compiling): Mention
5378 stop-on-test-failure=y.
5379 * INSTALL: Regenerated.
5380
498a2233
RM
53812014-03-14 Roland McGrath <roland@hack.frob.com>
5382
22dbc19d
RM
5383 * scripts/versionlist.awk: New file.
5384 * Makerules [$(build-shared) = yes]
5385 (postclean-generated): Add Versions.def, not Versions.def.v and
5386 Versions.def.v.i.
5387 ($(common-objpfx)Versions.def.v.i): Target removed.
5388 ($(common-objpfx)Versions.def): New target.
5389 ($(common-objpfx)Versions.all): Depend on that rather that
5390 $(common-objpfx)Versions.def.v.
5391 * Versions.def: File removed.
5392
498a2233
RM
5393 * Makeconfig (+gccwarn): Add -Wundef.
5394 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
5395 a dl-sysdep.h breaking its contract.
5396 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
5397 * include/stackinfo.h: New file.
5398 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5399 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5400 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5401 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5402 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5403 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5404 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5405 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5406 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5407 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5408 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5409 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5410 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5411 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5412 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5413
c7de5025
AZ
54142014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5415
5416 [BZ #16707]
5417 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5418 implementation.
5419 * math/libm-test.inc (round_test_data): Add more tests.
5420
98fb27a3
AZ
5421 [BZ #16706]
5422 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5423 implementation.
5424 * math/libm-test.inc (nearbyint_test_data): Add more tests.
5425
374f7f61
AZ
5426 [BZ #16701]
5427 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5428 implementation.
5429 * math/libm-test.inc (ceil_test_data): Add more tests.
5430
4655c291
AZ
5431 * math/libm-test.inc (trunc_test_data): Add more tests related to
5432 BZ#16414.
5433
d7329d4b
RM
54342014-03-14 Roland McGrath <roland@hack.frob.com>
5435
5436 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5437 with #if rather than #ifdef.
5438 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5439
aa4de9ce
L
54402014-03-14 H.J. Lu <hongjiu.lu@intel.com>
5441
5442 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5443 first. Disable AVX-512 GCC support if assembler doesn't support
5444 it.
5445 * sysdeps/x86_64/configure: Regenerated.
5446
2e03fae7
CD
54472014-03-13 Carlos O'Donell <carlos@redhat.com>
5448
5449 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5450 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5451 (__old_pthread_attr_setstack): Likewise.
5452 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5453 [!_STACK_GROWS_DOWN]: Likewise.
5454
43ca83ec
MF
54552014-03-13 Mike Frysinger <vapier@gentoo.org>
5456
5457 * config.make.in (have-bash2): Delete.
5458 * configure.ac (libc_cv_have_bash2): Delete.
5459 * configure: Regenerate.
5460 * elf/Makefile (common-ldd-rewrite): Rename to ...
5461 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
5462 (sh-ldd-rewrite): Delete.
5463 (bash-ldd-rewrite): Delete.
5464 (have-bash2): Delete checks.
57f41c40
AS
5465 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5466 ldd-rewrite.
c66e48b4
MF
5467
5468 * config.make.in (have-ksh): Delete.
5469 (KSH): Delete.
5470 * configure.ac (libc_cv_have_ksh): Delete.
5471 * configure: Regenerate.
5472
b93834ef
MF
5473 * elf/Makefile: Delete $(have-ksh) check.
5474 ($(objpfx)sotruss): Change KSH to BASH.
5475 * elf/sotruss.ksh: Rename to ...
5476 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
5477 function style to match POSIX. Drop ksh vim mode setting.
5478
f3a4632a
MF
5479 * manual/time.texi (Specifying the Time Zone with TZ): Change
5480 Tuesday to Thursday.
5481
5896c8bd
MF
5482 * debug/tst-longjmp_chk2.c: Update header comment.
5483 (stackoverflow_handler): Add comment. Call assert on pass value.
5484
2d63a517
IZ
54852014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
5486
5487 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5488 (HAVE_AVX512_ASM_SUPPORT): Likewise.
5489 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5490 (La_x86_64_vector): Add zmm.
5491 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5492 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5493 ($(objpfx)tst-audit10): New target.
5494 ($(objpfx)tst-audit10.out): Likewise.
5495 (tst-audit10-ENV): New.
5496 (AVX512-CFLAGS): Likewise.
5497 (CFLAGS-tst-audit10.c): Likewise.
5498 (CFLAGS-tst-auditmod10a.c): Likewise.
5499 (CFLAGS-tst-auditmod10b.c): Likewise.
5500 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5501 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5502 * sysdeps/x86_64/configure: Regenerated.
5503 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5504 AVX-512 zmm register support.
5505 (_dl_x86_64_save_sse): Likewise.
5506 (_dl_x86_64_restore_sse): Likewise.
5507 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5508 size vector registers.
5509 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5510 (ZMM_SIZE): Likewise.
5511 * sysdeps/x86_64/tst-audit10.c: New file.
5512 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5513 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5514
44c4e5d5
RM
55152014-03-13 Roland McGrath <roland@hack.frob.com>
5516
5517 * configure.ac (HAVE_EHDR_START): New check.
5518 * configure: Regenerated.
5519 * config.h.in (HAVE_EHDR_START): New #undef.
5520 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5521 assuming the lowest-addressed segment maps the start of the file.
5522
acd6e389
JM
55232014-03-13 Joseph Myers <joseph@codesourcery.com>
5524
5525 * INSTALL: Regenerated.
5526
6f918f36
WN
55272014-03-13 Will Newton <will.newton@linaro.org>
5528
5529 * manual/setjmp.texi (System V contexts): Improve
5530 clarity and grammar of documentation.
5531
798212a0
PP
55322014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
5533
5534 [BZ #16381]
798212a0 5535 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 5536 (tests-pie): Add tst-pie2.
798212a0
PP
5537 * elf/tst-pie2.c: New file.
5538 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5539 for ET_EXEC.
5540 * elf/rtld.c (map_doit): Load executable as lt_executable.
5541 (dl_main): Likewise.
5542
abe6d90c
JM
55432014-03-12 Joseph Myers <joseph@codesourcery.com>
5544
5545 [BZ #16642]
5546 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5547 (__ASSUME_PSELECT): Undefine.
5548
dd3946c6
AZ
55492014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5550
5551 [BZ #16689]
5552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5553 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5554 static build.
5555 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5556 selector for static builds.
5557
c44496df
SP
55582014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
5560 [BZ #16695]
5561 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5562 key in the buffer.
5563
27c7220a
AZ
55642014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5565
57f41c40
AS
5566 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5567 IFUNC selector for static builds.
27c7220a 5568
600fa361
JM
55692014-03-11 Joseph Myers <joseph@codesourcery.com>
5570
76c96cf7
JM
5571 * sysdeps/mips/math_private.h [__mips_hard_float]
5572 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5573 libc_feresetround_mips_ctx.
5574 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5575 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5576 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5577
600fa361
JM
5578 [BZ #16677]
5579 * math/s_nextafter.c (__nextafter): Do not return value from
5580 overflowing computation.
5581 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5582 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5583 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5584 Likewise.
5585 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5586 Likewise.
5587 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5588 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5589
d7706c32
RM
55902014-03-11 Roland McGrath <roland@hack.frob.com>
5591
5592 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5593 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5594 Move sfi_sp use from the load-multiple (that no longer sets sp) to
5595 the new mov targetting sp.
5596
4facea47
AZ
55972014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5598
5599 [BZ #16683]
5600 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5601 Define it for static builds as well.
5602 (NO_BZERO_IMPL): Likewise.
5603
e65caf1f
VR
56042014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5605
5606 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5607 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5608 multiarch strspn for PPC64.
5609 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5610 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5612 (__libc_ifunc_impl_list): Likewise.
5613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5614 multiarch optimizations
5615 * string/strspn.c (strspn): Using macro to redefine symbol name.
5616
ba9cc071
AZ
56172014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
5618 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5619
5620 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5621 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5622 multiarch strncat for PPC64.
5623 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5624 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5626 (__libc_ifunc_impl_list): Likewise.
5627 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5628 multiarch optimizations
5629
8b4ff974
SP
56302014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5631
5632 [BZ #16639]
5633 * nscd/nscd.service: Make service type forking.
5634
54b46a4b
AZ
56352014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5636
5637 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5638 sign in non default rounding modes.
5639 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5640
e9996ef7
JM
56412014-03-08 Joseph Myers <joseph@codesourcery.com>
5642
5643 * math/libm-test.inc (ALL_RM_TEST): New macro.
5644 (ceil_test): Use ALL_RM_TEST.
5645 (cimag_test): Likewise.
5646 (conj_test): Likewise.
5647 (copysign_test): Likewise.
5648 (cproj_test): Likewise.
5649 (creal_test): Likewise.
5650 (fabs_test): Likewise.
5651 (floor_test): Likewise.
5652 (fmax_test): Likewise.
5653 (fmin_test): Likewise.
5654 (fmod_test): Likewise.
5655 (fpclassify_test): Likewise.
5656 (frexp_test): Likewise.
5657 (ilogb_test): Likewise.
5658 (isfinite_test): Likewise.
5659 (finite_test): Likewise.
5660 (isgreater_test): Likewise.
5661 (isgreaterequal_test): Likewise.
5662 (isinf_test): Likewise.
5663 (isless_test): Likewise.
5664 (islessequal_test): Likewise.
5665 (islessgreater_test): Likewise.
5666 (isnan_test): Likewise.
5667 (isnormal_test): Likewise.
5668 (issignaling_test): Likewise.
5669 (isunordered_test): Likewise.
5670 (logb_test): Likewise.
5671 (logb_downward_test_data): Remove.
5672 (logb_test_downward): Likewise.
5673 (lround_test): Use ALL_RM_TEST.
5674 (llround_test): Likewise.
5675 (modf_test): Likewise.
5676 (nexttoward_test): Likewise.
5677 (remainder_test): Likewise.
5678 (drem_test): Likewise.
5679 (remainder_tonearest_test_data): Likewise.
5680 (remainder_test_tonearest): Likewise.
5681 (drem_test_tonearest): Likewise.
5682 (remainder_towardzero_test_data): Likewise.
5683 (remainder_test_towardzero): Likewise.
5684 (drem_test_towardzero): Likewise.
5685 (remainder_downward_test_data): Likewise.
5686 (remainder_test_downward): Likewise.
5687 (drem_test_downward): Likewise.
5688 (remainder_upward_test_data): Likewise.
5689 (remainder_test_upward): Likewise.
5690 (drem_test_upward): Likewise.
5691 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5692 (round_test): Use ALL_RM_TEST.
5693 (signbit_test): Likewise.
5694 (trunc_test): Likewise.
5695 (significand_test): Likewise.
5696 (main): Don't call removed functions.
5697
bc61d27c
JM
56982014-03-07 Joseph Myers <joseph@codesourcery.com>
5699
5c780849
JM
5700 [BZ #16674]
5701 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5702 || __USE_XOPEN2K8].
5703 (ILL_ILLOPN): Likewise.
5704 (ILL_ILLADR): Likewise.
5705 (ILL_ILLTRP): Likewise.
5706 (ILL_PRVOPC): Likewise.
5707 (ILL_PRVREG): Likewise.
5708 (ILL_COPROC): Likewise.
5709 (ILL_BADSTK): Likewise.
5710 (FPE_INTDIV): Likewise.
5711 (FPE_INTOVF): Likewise.
5712 (FPE_FLTDIV): Likewise.
5713 (FPE_FLTOVF): Likewise.
5714 (FPE_FLTUND): Likewise.
5715 (FPE_FLTRES): Likewise.
5716 (FPE_FLTINV): Likewise.
5717 (FPE_FLTSUB): Likewise.
5718 (SEGV_MAPERR): Likewise.
5719 (SEGV_ACCERR): Likewise.
5720 (BUS_ADRALN): Likewise.
5721 (BUS_ADRERR): Likewise.
5722 (BUS_OBJERR): Likewise.
5723 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5724 (TRAP_TRACE): Likewise.
5725 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5726 __USE_XOPEN2K8].
5727 (CLD_KILLED): Likewise.
5728 (CLD_DUMPED): Likewise.
5729 (CLD_TRAPPED): Likewise.
5730 (CLD_STOPPED): Likewise.
5731 (CLD_CONTINUED): Likewise.
5732 (POLL_IN): Likewise.
5733 (POLL_OUT): Likewise.
5734 (POLL_MSG): Likewise.
5735 (POLL_ERR): Likewise.
5736 (POLL_PRI): Likewise.
5737 (POLL_HUP): Likewise.
5738 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5739 Likewise.
5740 (ILL_ILLOPN): Likewise.
5741 (ILL_ILLADR): Likewise.
5742 (ILL_ILLTRP): Likewise.
5743 (ILL_PRVOPC): Likewise.
5744 (ILL_PRVREG): Likewise.
5745 (ILL_COPROC): Likewise.
5746 (ILL_BADSTK): Likewise.
5747 (FPE_INTDIV): Likewise.
5748 (FPE_INTOVF): Likewise.
5749 (FPE_FLTDIV): Likewise.
5750 (FPE_FLTOVF): Likewise.
5751 (FPE_FLTUND): Likewise.
5752 (FPE_FLTRES): Likewise.
5753 (FPE_FLTINV): Likewise.
5754 (FPE_FLTSUB): Likewise.
5755 (SEGV_MAPERR): Likewise.
5756 (SEGV_ACCERR): Likewise.
5757 (BUS_ADRALN): Likewise.
5758 (BUS_ADRERR): Likewise.
5759 (BUS_OBJERR): Likewise.
5760 (BUS_MCEERR_AR): Likewise.
5761 (BUS_MCEERR_AO): Likewise.
5762 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5763 (TRAP_TRACE): Likewise.
5764 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5765 __USE_XOPEN2K8].
5766 (CLD_KILLED): Likewise.
5767 (CLD_DUMPED): Likewise.
5768 (CLD_TRAPPED): Likewise.
5769 (CLD_STOPPED): Likewise.
5770 (CLD_CONTINUED): Likewise.
5771 (POLL_IN): Likewise.
5772 (POLL_OUT): Likewise.
5773 (POLL_MSG): Likewise.
5774 (POLL_ERR): Likewise.
5775 (POLL_PRI): Likewise.
5776 (POLL_HUP): Likewise.
5777 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5778 (ILL_ILLOPN): Likewise.
5779 (ILL_ILLADR): Likewise.
5780 (ILL_ILLTRP): Likewise.
5781 (ILL_PRVOPC): Likewise.
5782 (ILL_PRVREG): Likewise.
5783 (ILL_COPROC): Likewise.
5784 (ILL_BADSTK): Likewise.
5785 (FPE_INTDIV): Likewise.
5786 (FPE_INTOVF): Likewise.
5787 (FPE_FLTDIV): Likewise.
5788 (FPE_FLTOVF): Likewise.
5789 (FPE_FLTUND): Likewise.
5790 (FPE_FLTRES): Likewise.
5791 (FPE_FLTINV): Likewise.
5792 (FPE_FLTSUB): Likewise.
5793 (SEGV_MAPERR): Likewise.
5794 (SEGV_ACCERR): Likewise.
5795 (BUS_ADRALN): Likewise.
5796 (BUS_ADRERR): Likewise.
5797 (BUS_OBJERR): Likewise.
5798 (BUS_MCEERR_AR): Likewise.
5799 (BUS_MCEERR_AO): Likewise.
5800 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5801 (TRAP_TRACE): Likewise.
5802 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5803 __USE_XOPEN2K8].
5804 (CLD_KILLED): Likewise.
5805 (CLD_DUMPED): Likewise.
5806 (CLD_TRAPPED): Likewise.
5807 (CLD_STOPPED): Likewise.
5808 (CLD_CONTINUED): Likewise.
5809 (POLL_IN): Likewise.
5810 (POLL_OUT): Likewise.
5811 (POLL_MSG): Likewise.
5812 (POLL_ERR): Likewise.
5813 (POLL_PRI): Likewise.
5814 (POLL_HUP): Likewise.
5815 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5816 Likewise.
5817 (ILL_ILLOPN): Likewise.
5818 (ILL_ILLADR): Likewise.
5819 (ILL_ILLTRP): Likewise.
5820 (ILL_PRVOPC): Likewise.
5821 (ILL_PRVREG): Likewise.
5822 (ILL_COPROC): Likewise.
5823 (ILL_BADSTK): Likewise.
5824 (ILL_BADIADDR): Likewise.
5825 (ILL_BREAK): Likewise.
5826 (FPE_INTDIV): Likewise.
5827 (FPE_INTOVF): Likewise.
5828 (FPE_FLTDIV): Likewise.
5829 (FPE_FLTOVF): Likewise.
5830 (FPE_FLTUND): Likewise.
5831 (FPE_FLTRES): Likewise.
5832 (FPE_FLTINV): Likewise.
5833 (FPE_FLTSUB): Likewise.
5834 (FPE_DECOVF): Likewise.
5835 (FPE_DECDIV): Likewise.
5836 (FPE_DECERR): Likewise.
5837 (FPE_INVASC): Likewise.
5838 (FPE_INVDEC): Likewise.
5839 (SEGV_MAPERR): Likewise.
5840 (SEGV_ACCERR): Likewise.
5841 (SEGV_PSTKOVF): Likewise.
5842 (BUS_ADRALN): Likewise.
5843 (BUS_ADRERR): Likewise.
5844 (BUS_OBJERR): Likewise.
5845 (BUS_MCEERR_AR): Likewise.
5846 (BUS_MCEERR_AO): Likewise.
5847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5848 (TRAP_TRACE): Likewise.
5849 (TRAP_BRANCH): Likewise.
5850 (TRAP_HWBKPT): Likewise.
5851 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5852 __USE_XOPEN2K8].
5853 (CLD_KILLED): Likewise.
5854 (CLD_DUMPED): Likewise.
5855 (CLD_TRAPPED): Likewise.
5856 (CLD_STOPPED): Likewise.
5857 (CLD_CONTINUED): Likewise.
5858 (POLL_IN): Likewise.
5859 (POLL_OUT): Likewise.
5860 (POLL_MSG): Likewise.
5861 (POLL_ERR): Likewise.
5862 (POLL_PRI): Likewise.
5863 (POLL_HUP): Likewise.
5864 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5865 (ILL_ILLOPN): Likewise.
5866 (ILL_ILLADR): Likewise.
5867 (ILL_ILLTRP): Likewise.
5868 (ILL_PRVOPC): Likewise.
5869 (ILL_PRVREG): Likewise.
5870 (ILL_COPROC): Likewise.
5871 (ILL_BADSTK): Likewise.
5872 (FPE_INTDIV): Likewise.
5873 (FPE_INTOVF): Likewise.
5874 (FPE_FLTDIV): Likewise.
5875 (FPE_FLTOVF): Likewise.
5876 (FPE_FLTUND): Likewise.
5877 (FPE_FLTRES): Likewise.
5878 (FPE_FLTINV): Likewise.
5879 (FPE_FLTSUB): Likewise.
5880 (SEGV_MAPERR): Likewise.
5881 (SEGV_ACCERR): Likewise.
5882 (BUS_ADRALN): Likewise.
5883 (BUS_ADRERR): Likewise.
5884 (BUS_OBJERR): Likewise.
5885 (BUS_MCEERR_AR): Likewise.
5886 (BUS_MCEERR_AO): Likewise.
5887 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5888 (TRAP_TRACE): Likewise.
5889 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5890 __USE_XOPEN2K8].
5891 (CLD_KILLED): Likewise.
5892 (CLD_DUMPED): Likewise.
5893 (CLD_TRAPPED): Likewise.
5894 (CLD_STOPPED): Likewise.
5895 (CLD_CONTINUED): Likewise.
5896 (POLL_IN): Likewise.
5897 (POLL_OUT): Likewise.
5898 (POLL_MSG): Likewise.
5899 (POLL_ERR): Likewise.
5900 (POLL_PRI): Likewise.
5901 (POLL_HUP): Likewise.
5902 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5903 (ILL_ILLOPN): Likewise.
5904 (ILL_ILLADR): Likewise.
5905 (ILL_ILLTRP): Likewise.
5906 (ILL_PRVOPC): Likewise.
5907 (ILL_PRVREG): Likewise.
5908 (ILL_COPROC): Likewise.
5909 (ILL_BADSTK): Likewise.
5910 (FPE_INTDIV): Likewise.
5911 (FPE_INTOVF): Likewise.
5912 (FPE_FLTDIV): Likewise.
5913 (FPE_FLTOVF): Likewise.
5914 (FPE_FLTUND): Likewise.
5915 (FPE_FLTRES): Likewise.
5916 (FPE_FLTINV): Likewise.
5917 (FPE_FLTSUB): Likewise.
5918 (SEGV_MAPERR): Likewise.
5919 (SEGV_ACCERR): Likewise.
5920 (BUS_ADRALN): Likewise.
5921 (BUS_ADRERR): Likewise.
5922 (BUS_OBJERR): Likewise.
5923 (BUS_MCEERR_AR): Likewise.
5924 (BUS_MCEERR_AO): Likewise.
5925 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5926 (TRAP_TRACE): Likewise.
5927 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5928 __USE_XOPEN2K8].
5929 (CLD_KILLED): Likewise.
5930 (CLD_DUMPED): Likewise.
5931 (CLD_TRAPPED): Likewise.
5932 (CLD_STOPPED): Likewise.
5933 (CLD_CONTINUED): Likewise.
5934 (POLL_IN): Likewise.
5935 (POLL_OUT): Likewise.
5936 (POLL_MSG): Likewise.
5937 (POLL_ERR): Likewise.
5938 (POLL_PRI): Likewise.
5939 (POLL_HUP): Likewise.
5940 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5941 (ILL_ILLOPN): Likewise.
5942 (ILL_ILLADR): Likewise.
5943 (ILL_ILLTRP): Likewise.
5944 (ILL_PRVOPC): Likewise.
5945 (ILL_PRVREG): Likewise.
5946 (ILL_COPROC): Likewise.
5947 (ILL_BADSTK): Likewise.
5948 (FPE_INTDIV): Likewise.
5949 (FPE_INTOVF): Likewise.
5950 (FPE_FLTDIV): Likewise.
5951 (FPE_FLTOVF): Likewise.
5952 (FPE_FLTUND): Likewise.
5953 (FPE_FLTRES): Likewise.
5954 (FPE_FLTINV): Likewise.
5955 (FPE_FLTSUB): Likewise.
5956 (SEGV_MAPERR): Likewise.
5957 (SEGV_ACCERR): Likewise.
5958 (BUS_ADRALN): Likewise.
5959 (BUS_ADRERR): Likewise.
5960 (BUS_OBJERR): Likewise.
5961 (BUS_MCEERR_AR): Likewise.
5962 (BUS_MCEERR_AO): Likewise.
5963 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5964 (TRAP_TRACE): Likewise.
5965 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5966 __USE_XOPEN2K8].
5967 (CLD_KILLED): Likewise.
5968 (CLD_DUMPED): Likewise.
5969 (CLD_TRAPPED): Likewise.
5970 (CLD_STOPPED): Likewise.
5971 (CLD_CONTINUED): Likewise.
5972 (POLL_IN): Likewise.
5973 (POLL_OUT): Likewise.
5974 (POLL_MSG): Likewise.
5975 (POLL_ERR): Likewise.
5976 (POLL_PRI): Likewise.
5977 (POLL_HUP): Likewise.
5978 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5979 (ILL_ILLOPN): Likewise.
5980 (ILL_ILLADR): Likewise.
5981 (ILL_ILLTRP): Likewise.
5982 (ILL_PRVOPC): Likewise.
5983 (ILL_PRVREG): Likewise.
5984 (ILL_COPROC): Likewise.
5985 (ILL_BADSTK): Likewise.
5986 (ILL_DBLFLT): Likewise.
5987 (ILL_HARDWALL): Likewise.
5988 (FPE_INTDIV): Likewise.
5989 (FPE_INTOVF): Likewise.
5990 (FPE_FLTDIV): Likewise.
5991 (FPE_FLTOVF): Likewise.
5992 (FPE_FLTUND): Likewise.
5993 (FPE_FLTRES): Likewise.
5994 (FPE_FLTINV): Likewise.
5995 (FPE_FLTSUB): Likewise.
5996 (SEGV_MAPERR): Likewise.
5997 (SEGV_ACCERR): Likewise.
5998 (BUS_ADRALN): Likewise.
5999 (BUS_ADRERR): Likewise.
6000 (BUS_OBJERR): Likewise.
6001 (BUS_MCEERR_AR): Likewise.
6002 (BUS_MCEERR_AO): Likewise.
6003 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6004 (TRAP_TRACE): Likewise.
6005 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6006 __USE_XOPEN2K8].
6007 (CLD_KILLED): Likewise.
6008 (CLD_DUMPED): Likewise.
6009 (CLD_TRAPPED): Likewise.
6010 (CLD_STOPPED): Likewise.
6011 (CLD_CONTINUED): Likewise.
6012 (POLL_IN): Likewise.
6013 (POLL_OUT): Likewise.
6014 (POLL_MSG): Likewise.
6015 (POLL_ERR): Likewise.
6016 (POLL_PRI): Likewise.
6017 (POLL_HUP): Likewise.
6018 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6019 (ILL_ILLOPN): Likewise.
6020 (ILL_ILLADR): Likewise.
6021 (ILL_ILLTRP): Likewise.
6022 (ILL_PRVOPC): Likewise.
6023 (ILL_PRVREG): Likewise.
6024 (ILL_COPROC): Likewise.
6025 (ILL_BADSTK): Likewise.
6026 (FPE_INTDIV): Likewise.
6027 (FPE_INTOVF): Likewise.
6028 (FPE_FLTDIV): Likewise.
6029 (FPE_FLTOVF): Likewise.
6030 (FPE_FLTUND): Likewise.
6031 (FPE_FLTRES): Likewise.
6032 (FPE_FLTINV): Likewise.
6033 (FPE_FLTSUB): Likewise.
6034 (SEGV_MAPERR): Likewise.
6035 (SEGV_ACCERR): Likewise.
6036 (BUS_ADRALN): Likewise.
6037 (BUS_ADRERR): Likewise.
6038 (BUS_OBJERR): Likewise.
6039 (BUS_MCEERR_AR): Likewise.
6040 (BUS_MCEERR_AO): Likewise.
6041 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6042 (TRAP_TRACE): Likewise.
6043 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6044 __USE_XOPEN2K8].
6045 (CLD_KILLED): Likewise.
6046 (CLD_DUMPED): Likewise.
6047 (CLD_TRAPPED): Likewise.
6048 (CLD_STOPPED): Likewise.
6049 (CLD_CONTINUED): Likewise.
6050 (POLL_IN): Likewise.
6051 (POLL_OUT): Likewise.
6052 (POLL_MSG): Likewise.
6053 (POLL_ERR): Likewise.
6054 (POLL_PRI): Likewise.
6055 (POLL_HUP): Likewise.
6056 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6057 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6058
bc61d27c
JM
6059 [BZ #16670]
6060 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6061 before #include of <time.h>.
6062 [!__USE_XOPEN2K] (__need_timespec): Likewise.
6063 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6064 (test-xfail-UNIX98/sched.h/conform): Likewise.
6065
302949e2
MS
60662014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
6067
6068 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6069 error absence of trapping exception support.
6070 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6071
a00f522a
JM
60722014-03-07 Joseph Myers <joseph@codesourcery.com>
6073
6f99f280
JM
6074 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6075 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6076 * timezone/Makefile (testdata): Move definition above include of
6077 Rules.
6078 (test-zones): New variable.
6079 (tests-special): Add zone files.
6080 (build-testdata): Use $(evaluate-test).
6081
0b20a9e8
JM
6082 * elf/Makefile (tests-special): Rename tests to end with .out.
6083 ($(objpfx)noload-mem): Likewise.
6084 ($(objpfx)tst-leaks1-mem): Likewise.
6085 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6086 * iconv/Makefile (xtests-special): Change test-iconvconfig to
6087 $(objpfx)test-iconvconfig.out.
6088 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
6089 set -e inside subshell and redirect output to file.
6090 * iconvdata/Makefile (generated): Rename tests to end with .out.
6091 Correct type.
6092 (tests-special): Rename tests to end with .out.
6093 ($(objpfx)mtrace-tst-loading): Likewise.
6094 * intl/Makefile (generated): Likewise.
6095 (tests-special): Likewise.
6096 ($(objpfx)mtrace-tst-gettext): Likewise.
6097 * misc/Makefile (generated): Likewise.
6098 (tests-special): Likewise.
6099 ($(objpfx)tst-error1-mem): Likewise.
6100 * nptl/Makefile (tests-special): Likewise.
6101 ($(objpfx)tst-stack3-mem): Likewise.
6102 (generated): Likewise.
6103 * posix/Makefile (generated): Likewise.
6104 (tests-special): Likewise.
6105 (xtests-special): Likewise.
6106 ($(objpfx)tst-fnmatch-mem): Likewise.
6107 ($(objpfx)bug-regex2-mem): Likewise.
6108 ($(objpfx)bug-regex14-mem): Likewise.
6109 ($(objpfx)bug-regex21-mem): Likewise.
6110 ($(objpfx)bug-regex31-mem): Likewise.
6111 ($(objpfx)tst-vfork3-mem): Likewise.
6112 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6113 ($(objpfx)tst-pcre-mem): Likewise.
6114 ($(objpfx)tst-boost-mem): Likewise.
6115 ($(objpfx)bug-ga2-mem): Likewise.
6116 ($(objpfx)bug-glob2-mem): Likewise.
6117 * resolv/Makefile (generate): Likewise.
6118 (tests-special): Likewise.
6119 (xtests-special): Likewise.
6120 (generated): Likewise.
6121 ($(objpfx)mtrace-tst-leaks): Likewise.
6122 ($(objpfx)mtrace-tst-leaks2): Likewise.
6123
265d52ab
JM
6124 * scripts/merge-test-results.sh: New file.
6125 * Makefile (tests-special-notdir): New variable.
6126 (tests): Run merge-test-results.sh.
6127 (xtests): Likewise.
6128 * Rules (tests-special-notdir): New variable.
6129 (xtests-special-notdir): Likewise.
6130 (tests): Run merge-test-results.sh
6131 (xtests): Likewise.
6132
54ee292d
JM
6133 * Makeconfig (test-xfail-name): New variable.
6134 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6135 compute variable name for expected failures.
6136 * conform/Makefile (conformtest-headers-data): New variable.
6137 (conformtest-standards): Likewise.
6138 (conformtest-headers-ISO): Likewise.
6139 (conformtest-headers-ISO99): Likewise.
6140 (conformtest-headers-ISO11): Likewise.
6141 (conformtest-headers-POSIX): Likewise.
6142 (conformtest-headers-XPG3): Likewise.
6143 (conformtest-headers-XPG4): Likewise.
6144 (conformtest-headers-UNIX98): Likewise.
6145 (conformtest-headers-XOPEN2K): Likewise.
6146 (conformtest-headers-POSIX2008): Likewise.
6147 (conformtest-headers-XOPEN2K8): Likewise.
6148 (conformtest-header-list-base): Likewise.
6149 (conformtest-header-list-tests): Likewise.
6150 (conformtest-header-base): Likewise.
6151 (conformtest-header-tests): Likewise.
6152 (tests-special): Add $(conformtest-header-list-tests). If
6153 [$(fast-check) && !$(cross-compiling)], add
6154 $(conformtest-header-tests) instead of
6155 $(objpfx)run-conformtest.out.
6156 (generated): Add $(conformtest-header-list-base). If
6157 [$(fast-check) && !$(cross-compiling)], add
6158 $(conformtest-header-base). Remove previous setting.
6159 ($(conformtest-header-list-tests)): New target.
6160 (test-xfail-run-conformtest): Remove variable.
6161 ($(objpfx)run-conformtest.out): Remove target.
6162 (test-xfail-ISO11/complex.h/conform): New variable.
6163 (test-xfail-ISO11/stdalign.h/conform): Likewise.
6164 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6165 (test-xfail-XPG3/varargs.h/conform): Likewise.
6166 (test-xfail-XPG4/varargs.h/conform): Likewise.
6167 (test-xfail-UNIX98/varargs.h/conform): Likewise.
6168 (test-xfail-XPG4/ndbm.h/conform): Likewise.
6169 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6170 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6171 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6172 (test-xfail-XPG3/fcntl.h/conform): Likewise.
6173 (test-xfail-XPG3/ftw.h/conform): Likewise.
6174 (test-xfail-XPG3/grp.h/conform): Likewise.
6175 (test-xfail-XPG3/langinfo.h/conform): Likewise.
6176 (test-xfail-XPG3/limits.h/conform): Likewise.
6177 (test-xfail-XPG3/pwd.h/conform): Likewise.
6178 (test-xfail-XPG3/search.h/conform): Likewise.
6179 (test-xfail-XPG3/signal.h/conform): Likewise.
6180 (test-xfail-XPG3/stdio.h/conform): Likewise.
6181 (test-xfail-XPG3/stdlib.h/conform): Likewise.
6182 (test-xfail-XPG3/string.h/conform): Likewise.
6183 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6184 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6185 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6186 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6187 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6188 (test-xfail-XPG3/sys/types.h/conform): Likewise.
6189 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6190 (test-xfail-XPG3/termios.h/conform): Likewise.
6191 (test-xfail-XPG3/time.h/conform): Likewise.
6192 (test-xfail-XPG3/unistd.h/conform): Likewise.
6193 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6194 (test-xfail-XPG4/fcntl.h/conform): Likewise.
6195 (test-xfail-XPG4/langinfo.h/conform): Likewise.
6196 (test-xfail-XPG4/netdb.h/conform): Likewise.
6197 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6198 (test-xfail-XPG4/signal.h/conform): Likewise.
6199 (test-xfail-XPG4/stdio.h/conform): Likewise.
6200 (test-xfail-XPG4/stdlib.h/conform): Likewise.
6201 (test-xfail-XPG4/stropts.h/conform): Likewise.
6202 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6203 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6204 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6205 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6206 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6207 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6208 (test-xfail-XPG4/sys/time.h/conform): Likewise.
6209 (test-xfail-XPG4/sys/types.h/conform): Likewise.
6210 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6211 (test-xfail-XPG4/termios.h/conform): Likewise.
6212 (test-xfail-XPG4/ucontext.h/conform): Likewise.
6213 (test-xfail-XPG4/unistd.h/conform): Likewise.
6214 (test-xfail-XPG4/utmpx.h/conform): Likewise.
6215 (test-xfail-POSIX/sched.h/conform): Likewise.
6216 (test-xfail-POSIX/signal.h/conform): Likewise.
6217 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6218 (test-xfail-POSIX/tar.h/conform): Likewise.
6219 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6220 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6221 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6222 (test-xfail-UNIX98/netdb.h/conform): Likewise.
6223 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6224 (test-xfail-UNIX98/sched.h/conform): Likewise.
6225 (test-xfail-UNIX98/signal.h/conform): Likewise.
6226 (test-xfail-UNIX98/stdio.h/conform): Likewise.
6227 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6228 (test-xfail-UNIX98/stropts.h/conform): Likewise.
6229 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6230 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6231 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6232 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6233 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6234 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6235 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6236 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6237 (test-xfail-UNIX98/unistd.h/conform): Likewise.
6238 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6239 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6240 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6241 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6242 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6243 (test-xfail-XOPEN2K/math.h/conform): Likewise.
6244 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6245 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6246 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6247 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6248 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6249 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6250 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6251 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6252 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6253 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6254 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6255 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6256 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6257 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
6258 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
6259 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6260 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
6261 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
6262 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
6263 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
6264 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6265 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6266 (test-xfail-POSIX2008/signal.h/conform): Likewise.
6267 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
6268 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6269 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
6270 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6271 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
6272 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
6273 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6274 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6275 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6276 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
6277 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
6278 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
6279 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
6280 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6281 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
6282 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
6283 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6284 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
6285 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
6286 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
6287 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6288 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6289 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
6290 (conformtest-cc-flags): Likewise.
6291 ($(conformtest-header-tests): New target.
6292 * conform/check-header-lists.sh: New file.
6293 * conform/run-conformtest.sh: Remove.
6294
a00f522a
JM
6295 * conform/conformtest.pl: Allow ' and \ in values given for
6296 constants.
6297 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
6298 inclusion.
6299 [POSIX] (sys/types.h): Likewise.
6300 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
6301 inclusion.
6302 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
6303 inclusion.
6304 * conform/data/signal.h-data (SIGIO): Remove expectation.
6305 [XPG3] (SIGBUS): Do not expect.
6306 [POSIX || XPG3] (SIGPOLL): Likewise.
6307 [POSIX || XPG3] (SIGPROF): Likewise.
6308 [POSIX || XPG3] (SIGSYS): Likewise.
6309 [XPG3] (SIGTRAP): Likewise.
6310 [POSIX || XPG3] (SIGURG): Likewise.
6311 [POSIX || XPG3] (SIGVTALRM): Likewise.
6312 [POSIX || XPG3] (SIGXCPU): Likewise.
6313 [POSIX || XPG3] (SIGXFSZ): Likewise.
6314 [POSIX] (SA_SIGINFO): Expect.
6315 [XPG3] (siginfo_t): Do not expect type or contents.
6316 [POSIX] (si_pid): Do not expect element.
6317 [POSIX] (si_uid): Likewise.
6318 [POSIX] (si_addr): Likewise.
6319 [POSIX] (si_status): Likewise.
6320 [POSIX] (si_band): Likewise.
6321 [XPG4] (si_value): Likewise.
6322 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
6323 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
6324 [POSIX || XPG3] (ILL_ILLADR): Likewise.
6325 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
6326 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
6327 [POSIX || XPG3] (ILL_PRVREG): Likewise.
6328 [POSIX || XPG3] (ILL_COPROC): Likewise.
6329 [POSIX || XPG3] (ILL_BADSTK): Likewise.
6330 [POSIX || XPG3] (FPE_INTDIV): Likewise.
6331 [POSIX || XPG3] (FPE_INTOVF): Likewise.
6332 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
6333 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
6334 [POSIX || XPG3] (FPE_FLTUND): Likewise.
6335 [POSIX || XPG3] (FPE_FLTRES): Likewise.
6336 [POSIX || XPG3] (FPE_FLTINV): Likewise.
6337 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
6338 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
6339 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
6340 [POSIX || XPG3] (BUS_ADRALN): Likewise.
6341 [POSIX || XPG3] (BUS_ADRERR): Likewise.
6342 [POSIX || XPG3] (BUS_OBJERR): Likewise.
6343 [POSIX || XPG3] (CLD_EXITED): Likewise.
6344 [POSIX || XPG3] (CLD_KILLED): Likewise.
6345 [POSIX || XPG3] (CLD_DUMPED): Likewise.
6346 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
6347 [POSIX || XPG3] (CLD_STOPPED): Likewise.
6348 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
6349 [POSIX || XPG3] (POLL_IN): Likewise.
6350 [POSIX || XPG3] (POLL_OUT): Likewise.
6351 [POSIX || XPG3] (POLL_MSG): Likewise.
6352 [POSIX || XPG3] (POLL_ERR): Likewise.
6353 [POSIX || XPG3] (POLL_PRI): Likewise.
6354 [POSIX || XPG3] (POLL_HUP): Likewise.
6355 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
6356 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
6357 (SIG*): Do not allow.
6358 [XPG3] (si_*): Likewise.
6359 [XPG3] (SI_*): Likewise.
6360 [XPG3 || XPG4] (sigev_*): Likewise.
6361 [XPG3 || XPG4] (SIGEV_*): Likewise.
6362 [XPG3 || XPG4] (sival_*): Likewise.
6363 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
6364 [POSIX || XPG3] (BUS_*): Likewise.
6365 [POSIX || XPG3] (CLD_*): Likewise.
6366 [POSIX || XPG3] (FPE_*): Likewise.
6367 [POSIX || XPG3] (ILL_*): Likewise.
6368 [POSIX || XPG3] (POLL_*): Likewise.
6369 [POSIX || XPG3] (SEGV_*): Likewise.
6370 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
6371 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
6372 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
6373 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
6374 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
6375 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
6376 Specify type and value.
6377 (TVERSLEN): Likewise.
6378 (REGTYPE): Likewise.
6379 (AREGTYPE): Likewise.
6380 (LNKTYPE): Likewise.
6381 (SYMTYPE): Likewise.
6382 (CHRTYPE): Likewise.
6383 (BLKTYPE): Likewise.
6384 (DIRTYPE): Likewise.
6385 (FIFOTYPE): Likewise.
6386 (CONTTYPE): Likewise.
6387 (TSUID): Likewise.
6388 (TSGID): Likewise.
6389 (TSVTX): Likewise.
6390 (TUREAD): Likewise.
6391 (TUWRITE): Likewise.
6392 (TUEXEC): Likewise.
6393 (TGREAD): Likewise.
6394 (TGWRITE): Likewise.
6395 (TGEXEC): Likewise.
6396 (TOREAD): Likewise.
6397 (TOWRITE): Likewise.
6398 (TOEXEC): Likewise.
6399 [POSIX] (TSVTX): Expect constant.
6400
aa97dee1
JM
64012014-03-06 Joseph Myers <joseph@codesourcery.com>
6402
f214606a
JM
6403 * Makefile (tests): Change dependencies to ....
6404 (tests-special): ... additions to this variable.
6405 (tests): Depend on $(tests-special).
6406 * Makerules (check-abi-list): New variable.
6407 (check-abi): Depend on $(check-abi-list).
6408 [$(subdir) = elf] (tests-special): Add
6409 $(objpfx)check-abi-libc.out.
6410 [$(build-shared) = yes && subdir] (tests-special): Add
6411 $(check-abi-list).
6412 [$(build-shared) = yes && subdir] (tests): Do not depend on
6413 check-abi.
6414 * Rules (tests): Depend on $(tests-special).
6415 (xtests): Depend on $(xtests-special).
6416 * catgets/Makefile (tests): Change dependencies to ....
6417 (tests-special): ... additions to this variable.
6418 * conform/Makefile (tests): Change dependencies to ....
6419 (tests-special): ... additions to this variable.
6420 * elf/Makefile (tests): Change dependencies to ....
6421 (tests-special): ... additions to this variable.
6422 * grp/Makefile (tests): Change dependencies to ....
6423 (tests-special): ... additions to this variable.
6424 * iconv/Makefile (xtests): Change dependencies to ....
6425 (xtests-special): ... additions to this variable.
6426 * iconvdata/Makefile (tests): Change dependencies to ....
6427 (tests-special): ... additions to this variable.
6428 * intl/Makefile (tests): Change dependencies to ....
6429 (tests-special): ... additions to this variable. Also add
6430 $(objpfx)tst-gettext.out.
6431 * io/Makefile (tests): Change dependencies to ....
6432 (tests-special): ... additions to this variable.
6433 * libio/Makefile (tests): Change dependencies to ....
6434 (tests-special): ... additions to this variable.
6435 * malloc/Makefile (tests): Change dependencies to ....
6436 (tests-special): ... additions to this variable.
6437 * misc/Makefile (tests): Change dependencies to ....
6438 (tests-special): ... additions to this variable.
6439 * nptl/Makefile (tests): Change dependencies to ....
6440 (tests-special): ... additions to this variable.
6441 * nptl_db/Makefile (tests): Change dependencies to ....
6442 (tests-special): ... additions to this variable.
6443 * posix/Makefile (tests): Change dependencies to ....
6444 (tests-special): ... additions to this variable.
6445 (xtests): Change dependencies to ....
6446 (xtests-special): ... additions to this variable.
6447 * resolv/Makefile (tests): Change dependencies to ....
6448 (tests-special): ... additions to this variable.
6449 (xtests): Change dependencies to ....
6450 (xtests-special): ... additions to this variable.
6451 * stdio-common/Makefile (tests): Change dependencies to ....
6452 (tests-special): ... additions to this variable.
6453 (do-tst-unbputc): Remove target.
6454 (do-tst-printf): Likewise.
6455 * stdlib/Makefile (tests): Change dependencies to ....
6456 (tests-special): ... additions to this variable.
6457 * string/Makefile (tests): Change dependencies to ....
6458 (tests-special): ... additions to this variable.
6459 * sysdeps/x86/Makefile (tests): Change dependencies to ....
6460 (tests-special): ... additions to this variable.
6461
81700b53
JM
6462 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6463 whole file.
6464 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6465 whole file.
6466 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6467 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6468
2ea18461
JM
6469 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6470 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6471 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6472 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6473 * conform/data/libgen.h-data [XPG3]: Likewise.
6474 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6475 * conform/data/ndbm.h-data [XPG3]: Likewise.
6476 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6477 * conform/data/netdb.h-data [XPG3]: Likewise.
6478 * conform/data/netinet/in.h-data [XPG3]: Likewise.
6479 * conform/data/poll.h-data [XPG3]: Likewise.
6480 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6481 * conform/data/strings.h-data [XPG3]: Likewise.
6482 * conform/data/stropts.h-data [XPG3]: Likewise.
6483 * conform/data/sys/mman.h-data [XPG3]: Likewise.
6484 * conform/data/sys/resource.h-data [XPG3]: Likewise.
6485 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6486 Likewise.
6487 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6488 * conform/data/sys/time.h-data [XPG3]: Likewise.
6489 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6490 * conform/data/sys/uio.h-data [XPG3]: Likewise.
6491 * conform/data/sys/un.h-data [XPG3]: Likewise.
6492 * conform/data/syslog.h-data [XPG3]: Likewise.
6493 * conform/data/ucontext.h-data [XPG3]: Likewise.
6494 * conform/data/utmpx.h-data [XPG3]: Likewise.
6495 * conform/data/varargs.h-data [UNIX98]: Enable file.
6496
355bc986
JM
6497 * manual/Makefile (INSTALL_INFO): Remove variable setting.
6498
215db402
JM
6499 * math/libm-test.inc (struct test_f_f_data): Move expected results
6500 into structure for each rounding mode.
6501 (struct test_ff_f_data): Likewise.
6502 (struct test_ff_f_data_nexttoward): Likewise.
6503 (struct test_fi_f_data): Likewise.
6504 (struct test_fl_f_data): Likewise.
6505 (struct test_if_f_data): Likewise.
6506 (struct test_fff_f_data): Likewise.
6507 (struct test_c_f_data): Likewise.
6508 (struct test_f_f1_data): Likewise.
6509 (struct test_fF_f1_data): Likewise.
6510 (struct test_ffI_f1_data): Likewise.
6511 (struct test_c_c_data): Likewise.
6512 (struct test_cc_c_data): Likewise.
6513 (struct test_f_i_data): Likewise.
6514 (struct test_ff_i_data): Likewise.
6515 (struct test_f_l_data): Likewise.
6516 (struct test_f_L_data): Likewise.
6517 (struct test_fFF_11_data): Likewise.
6518 (RM_): New macro.
6519 (RM_FE_DOWNWARD): Likewise.
6520 (RM_FE_TONEAREST): Likewise.
6521 (RM_FE_TOWARDZERO): Likewise.
6522 (RM_FE_UPWARD): Likewise.
6523 (RUN_TEST_LOOP_f_f): Update references to expected results.
6524 (RUN_TEST_LOOP_2_f): Likewise.
6525 (RUN_TEST_LOOP_fff_f): Likewise.
6526 (RUN_TEST_LOOP_c_f): Likewise.
6527 (RUN_TEST_LOOP_f_f1): Likewise.
6528 (RUN_TEST_LOOP_fF_f1): Likewise.
6529 (RUN_TEST_LOOP_fI_f1): Likewise.
6530 (RUN_TEST_LOOP_ffI_f1): Likewise.
6531 (RUN_TEST_LOOP_c_c): Likewise.
6532 (RUN_TEST_LOOP_cc_c): Likewise.
6533 (RUN_TEST_LOOP_f_i): Likewise.
6534 (RUN_TEST_LOOP_f_i_tg): Likewise.
6535 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6536 (RUN_TEST_LOOP_f_b): Likewise.
6537 (RUN_TEST_LOOP_f_b_tg): Likewise.
6538 (RUN_TEST_LOOP_f_l): Likewise.
6539 (RUN_TEST_LOOP_f_L): Likewise.
6540 (RUN_TEST_LOOP_fFF_11): Likewise.
6541 * math/gen-libm-test.pl (parse_args): Output four copies of
6542 expected results for each test.
6543
67737b8f
JM
6544 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6545 (__ASSUME_UTIMES): Remove.
6546 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6547 (__ASSUME_UTIMES): Likewise.
6548
aa97dee1
JM
6549 * math/gen-auto-libm-tests.c: Update comment on output format.
6550 (output_for_one_input_case): Generate before-rounding and
6551 after-rounding information as conditions on output flags not
6552 floating-point format.
6553 * math/auto-libm-test-out: Regenerated.
6554 * math/gen-libm-test.pl (cond_value): New function.
6555 (or_cond_value): Use cond_value.
6556 (generate_testfile): Handle conditional exceptions.
6557
e6b6a857
JM
65582014-03-05 Joseph Myers <joseph@codesourcery.com>
6559
2f0a0f44
JM
6560 * math/libm-test.inc (max_valid_error): New variable.
6561 (init_max_error): Take new argument specifying whether function
6562 results are exactly determined. Set max_valid_error and bound
6563 other variables for errors based on this argument.
6564 (set_max_error): Do not record results above max_valid_error.
6565 (check_float_internal): Only accept errors of up to 0.5ulps if
6566 also at most max_valid_error.
6567 (START): Take new argument EXACT and pass it to init_max_error.
6568 (acos_test): Update call to START.
6569 (acos_test_tonearest): Likewise.
6570 (acos_test_towardzero): Likewise.
6571 (acos_test_downward): Likewise.
6572 (acos_test_upward): Likewise.
6573 (acosh_test): Likewise.
6574 (asin_test): Likewise.
6575 (asin_test_tonearest): Likewise.
6576 (asin_test_towardzero): Likewise.
6577 (asin_test_downward): Likewise.
6578 (asin_test_upward): Likewise.
6579 (asinh_test): Likewise.
6580 (atan_test): Likewise.
6581 (atanh_test): Likewise.
6582 (atan2_test): Likewise.
6583 (cabs_test): Likewise.
6584 (cacos_test): Likewise.
6585 (cacosh_test): Likewise.
6586 (carg_test): Likewise.
6587 (casin_test): Likewise.
6588 (casinh_test): Likewise.
6589 (catan_test): Likewise.
6590 (catanh_test): Likewise.
6591 (cbrt_test): Likewise.
6592 (ccos_test): Likewise.
6593 (ccosh_test): Likewise.
6594 (ceil_test): Likewise.
6595 (cexp_test): Likewise.
6596 (cimag_test): Likewise.
6597 (clog_test): Likewise.
6598 (clog10_test): Likewise.
6599 (conj_test): Likewise.
6600 (copysign_test): Likewise.
6601 (cos_test): Likewise.
6602 (cos_test_tonearest): Likewise.
6603 (cos_test_towardzero): Likewise.
6604 (cos_test_downward): Likewise.
6605 (cos_test_upward): Likewise.
6606 (cosh_test): Likewise.
6607 (cosh_test_tonearest): Likewise.
6608 (cosh_test_towardzero): Likewise.
6609 (cosh_test_downward): Likewise.
6610 (cosh_test_upward): Likewise.
6611 (cpow_test): Likewise.
6612 (cproj_test): Likewise.
6613 (creal_test): Likewise.
6614 (csin_test): Likewise.
6615 (csinh_test): Likewise.
6616 (csqrt_test): Likewise.
6617 (ctan_test): Likewise.
6618 (ctan_test_tonearest): Likewise.
6619 (ctan_test_towardzero): Likewise.
6620 (ctan_test_downward): Likewise.
6621 (ctan_test_upward): Likewise.
6622 (ctanh_test): Likewise.
6623 (ctanh_test_tonearest): Likewise.
6624 (ctanh_test_towardzero): Likewise.
6625 (ctanh_test_downward): Likewise.
6626 (ctanh_test_upward): Likewise.
6627 (erf_test): Likewise.
6628 (erfc_test): Likewise.
6629 (exp_test): Likewise.
6630 (exp_test_tonearest): Likewise.
6631 (exp_test_towardzero): Likewise.
6632 (exp_test_downward): Likewise.
6633 (exp_test_upward): Likewise.
6634 (exp10_test): Likewise.
6635 (exp10_test_tonearest): Likewise.
6636 (exp10_test_towardzero): Likewise.
6637 (exp10_test_downward): Likewise.
6638 (exp10_test_upward): Likewise.
6639 (pow10_test): Likewise.
6640 (exp2_test): Likewise.
6641 (expm1_test): Likewise.
6642 (expm1_test_tonearest): Likewise.
6643 (expm1_test_towardzero): Likewise.
6644 (expm1_test_downward): Likewise.
6645 (expm1_test_upward): Likewise.
6646 (fabs_test): Likewise.
6647 (fdim_test): Likewise.
6648 (floor_test): Likewise.
6649 (fma_test): Likewise.
6650 (fma_test_towardzero): Likewise.
6651 (fma_test_downward): Likewise.
6652 (fma_test_upward): Likewise.
6653 (fmax_test): Likewise.
6654 (fmin_test): Likewise.
6655 (fmod_test): Likewise.
6656 (fpclassify_test): Likewise.
6657 (frexp_test): Likewise.
6658 (hypot_test): Likewise.
6659 (ilogb_test): Likewise.
6660 (isfinite_test): Likewise.
6661 (finite_test): Likewise.
6662 (isgreater_test): Likewise.
6663 (isgreaterequal_test): Likewise.
6664 (isinf_test): Likewise.
6665 (isless_test): Likewise.
6666 (islessequal_test): Likewise.
6667 (islessgreater_test): Likewise.
6668 (isnan_test): Likewise.
6669 (isnormal_test): Likewise.
6670 (issignaling_test): Likewise.
6671 (isunordered_test): Likewise.
6672 (j0_test): Likewise.
6673 (j1_test): Likewise.
6674 (jn_test): Likewise.
6675 (ldexp_test): Likewise.
6676 (lgamma_test): Likewise.
6677 (gamma_test): Likewise.
6678 (lrint_test): Likewise.
6679 (lrint_test_tonearest): Likewise.
6680 (lrint_test_towardzero): Likewise.
6681 (lrint_test_downward): Likewise.
6682 (lrint_test_upward): Likewise.
6683 (llrint_test): Likewise.
6684 (llrint_test_tonearest): Likewise.
6685 (llrint_test_towardzero): Likewise.
6686 (llrint_test_downward): Likewise.
6687 (llrint_test_upward): Likewise.
6688 (log_test): Likewise.
6689 (log10_test): Likewise.
6690 (log1p_test): Likewise.
6691 (log2_test): Likewise.
6692 (logb_test): Likewise.
6693 (logb_test_downward): Likewise.
6694 (lround_test): Likewise.
6695 (llround_test): Likewise.
6696 (modf_test): Likewise.
6697 (nearbyint_test): Likewise.
6698 (nextafter_test): Likewise.
6699 (nexttoward_test): Likewise.
6700 (pow_test): Likewise.
6701 (pow_test_tonearest): Likewise.
6702 (pow_test_towardzero): Likewise.
6703 (pow_test_downward): Likewise.
6704 (pow_test_upward): Likewise.
6705 (remainder_test): Likewise.
6706 (drem_test): Likewise.
6707 (remainder_test_tonearest): Likewise.
6708 (drem_test_tonearest): Likewise.
6709 (remainder_test_towardzero): Likewise.
6710 (drem_test_towardzero): Likewise.
6711 (remainder_test_downward): Likewise.
6712 (drem_test_downward): Likewise.
6713 (remainder_test_upward): Likewise.
6714 (drem_test_upward): Likewise.
6715 (remquo_test): Likewise.
6716 (rint_test): Likewise.
6717 (rint_test_tonearest): Likewise.
6718 (rint_test_towardzero): Likewise.
6719 (rint_test_downward): Likewise.
6720 (rint_test_upward): Likewise.
6721 (round_test): Likewise.
6722 (scalb_test): Likewise.
6723 (scalbn_test): Likewise.
6724 (scalbln_test): Likewise.
6725 (signbit_test): Likewise.
6726 (sin_test): Likewise.
6727 (sin_test_tonearest): Likewise.
6728 (sin_test_towardzero): Likewise.
6729 (sin_test_downward): Likewise.
6730 (sin_test_upward): Likewise.
6731 (sincos_test): Likewise.
6732 (sinh_test): Likewise.
6733 (sinh_test_tonearest): Likewise.
6734 (sinh_test_towardzero): Likewise.
6735 (sinh_test_downward): Likewise.
6736 (sinh_test_upward): Likewise.
6737 (sqrt_test): Likewise.
6738 (sqrt_test_tonearest): Likewise.
6739 (sqrt_test_towardzero): Likewise.
6740 (sqrt_test_downward): Likewise.
6741 (sqrt_test_upward): Likewise.
6742 (tan_test): Likewise.
6743 (tan_test_tonearest): Likewise.
6744 (tan_test_towardzero): Likewise.
6745 (tan_test_downward): Likewise.
6746 (tan_test_upward): Likewise.
6747 (tanh_test): Likewise.
6748 (tgamma_test): Likewise.
6749 (trunc_test): Likewise.
6750 (y0_test): Likewise.
6751 (y1_test): Likewise.
6752 (yn_test): Likewise.
6753 (significand_test): Likewise.
6754
e6b6a857
JM
6755 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6756 individual tests in comment.
6757 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6758 (prev_max_error): New variable.
6759 (prev_real_max_error): Likewise.
6760 (prev_imag_max_error): Likewise.
6761 (compare_ulp_data): Don't refer to test names in comment.
6762 (find_test_ulps): Remove function.
6763 (find_function_ulps): Likewise.
6764 (find_complex_function_ulps): Likewise.
6765 (init_max_error): Take function name as argument. Look up ulps
6766 for that function.
6767 (print_ulps): Remove function.
6768 (print_max_error): Use prev_max_error instead of calling
6769 find_function_ulps.
6770 (print_complex_max_error): Use prev_real_max_error and
6771 prev_imag_max_error instead of calling find_complex_function_ulps.
6772 (check_float_internal): Take max_ulp parameter instead of calling
6773 find_test_ulps. Don't call print_ulps.
6774 (check_float): Update call to check_float_internal.
6775 (check_complex): Update calls to check_float_internal.
6776 (START): Pass argument to init_max_error.
6777 * math/gen-libm-test.pl (%results): Don't include "kind"
6778 information.
6779 (parse_ulps): Don't handle ulps of individual tests.
6780 (print_ulps_file): Likewise.
6781 (output_ulps): Likewise.
6782 * math/README.libm-test: Update.
6783 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6784 individual tests.
6785 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6786 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6787 * sysdeps/arm/libm-test-ulps: Likewise.
6788 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6789 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6790 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6791 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6792 * sysdeps/microblaze/libm-test-ulps: Likewise.
6793 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6794 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6795 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6796 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6797 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6798 * sysdeps/sh/libm-test-ulps: Likewise.
6799 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6800 * sysdeps/tile/libm-test-ulps: Likewise.
6801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6802
45adef3c
JM
68032014-03-04 Joseph Myers <joseph@codesourcery.com>
6804
6805 * math/libm-test.inc (print_complex_max_error): Check separately
6806 whether real and imaginary errors are within allowed range and
6807 pass 0 to print_complex_function_ulps instead of value within
6808 allowed range.
6809
000232b9
SP
68102014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6811
d4b17258
SP
6812 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6813 formatting.
6814 (get_handles_fopen): Likewise.
6815 (do_write_test): Likewise.
6816
091eff71
SP
6817 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6818
fa3cd248
SP
6819 * libio/fileops.c (do_ftell): Use cached offset when
6820 available.
6821 * libio/iofwide.c (do_ftell_wide): Likewise.
6822 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6823 _IO_file_attach.
6824 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6825
000232b9
SP
6826 [BZ #16532]
6827 * libio/libioP.h (get_file_offset): New function.
6828 * libio/fileops.c (get_file_offset): Likewise.
6829 (do_ftell): Likewise.
6830 (_IO_new_file_seekoff): Split out ftell logic.
6831 * libio/wfileops.c (do_ftell_wide): Likewise.
6832 (_IO_wfile_seekoff): Split out ftell logic.
6833 * libio/tst-ftell-active-handler.c: New test case.
6834 * libio/Makefile (tests): Add it.
6835
116f4d1a
RM
68362014-03-03 Roland McGrath <roland@hack.frob.com>
6837
6838 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6839 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6840
532a6035
SP
68412014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6842
6843 [BZ #16639]
6844 * nscd/connections.c (nscd_init): Call do_exit.
6845 (start_threads): Call do_exit and notify_parent.
6846 (begin_drop_privileges): Call do_exit.
6847 (finish_drop_privileges): Likewise.
6848 * nscd/selinux.c (preserve_capabilities): Likewise.
6849 (install_real_capabilities): Likewise.
6850 (nscd_selinux_enabled): Likewise.
6851 (avc_create_thread): Likewise.
6852 (avc_alloc_lock): Likewise.
6853 (nscd_avc_init): Likewise.
6854 * nscd/nscd.c (parent_fd): New static variable.
6855 (main): Create a pipe between parent and child processes.
6856 Skip closing parent_fd.
6857 (monitor_child): New function.
6858 (do_exit): Likewise.
6859 (notify_parent): Likewise.
6860 * nscd/nscd.h (notify_parent): Likewise.
6861 (do_exit): Likewise.
6862
d6285c9f
CD
68632014-03-03 Carlos O'Donell <carlos@redhat.com>
6864
6865 * malloc/malloc.c (__libc_calloc): Revert last change.
6866
2b85d2a0
AZ
68672014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6868
6869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6870
c7debbdf
RS
68712014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6872
6873 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6875 implementation.
6876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6877 (__libc_ifunc_impl_list): Likewise.
6878 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6879 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6880 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6881 * string/strrchr.c: Define STRRCHR.
6882
235eed86
OB
68832014-02-28 Ondřej Bílka <neleai@seznam.cz>
6884
6885 * benchtest/bench-strtok.c (simple_strtok): Delete.
6886 (strtok_string): Use as benchmark.
6887 * string/strtok (STRTOK): New macro.
6888
8e25d1e7
CD
68892014-02-28 Carlos O'Donell <carlos@redhat.com>
6890
ef563f92
CD
6891 * manual/threads.texi: Add header and standard comments to all
6892 functions.
6893
8e25d1e7
CD
6894 * elf/dl-lookup.c (check_match): New function.
6895 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6896 (do_lookup_x): Remove nested function check_match. Use non-nested
6897 function check_match.
6898
ff71cc37
RM
68992014-02-28 Roland McGrath <roland@hack.frob.com>
6900
f08e9a26
RM
6901 * csu/Makefile (generated, before-compile): Use += rather than =.
6902 * catgets/Makefile (generated, generated-dirs): Likewise.
6903 * debug/Makefile (generated): Likewise.
6904 * dlfcn/Makefile (generated): Likewise.
6905 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6906 * iconvdata/Makefile (before-compile, generated): Likewise.
6907 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6908 * libio/Makefile (generated): Likewise.
6909 * malloc/Makefile (generated): Likewise.
6910 * manual/Makefile (generated, generated-dirs): Likewise.
6911 * misc/Makefile (generated): Likewise.
6912 * posix/Makefile (generated): Likewise.
6913 * resolv/Makefile (generated): Likewise.
6914 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6915 * timezone/Makefile (generated, generated-dirs): Likewise.
6916
ff71cc37
RM
6917 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6918
fe13a20c
AZ
69192014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6920
57f41c40
AS
6921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6922 power8 implementation.
6923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6924 file: POWER8 llround ifunc implementation.
6925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6926 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
6927 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6928 POWER8 llround implementation.
6929
57f41c40
AS
6930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6931 power8 implementation.
6932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6933 file: POWER8 llrint ifunc implementation.
6934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6935 Add POWER8 implementation.
1ad8950a
AZ
6936 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6937 POWER8 llrint implementation.
6938
57f41c40
AS
6939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6940 power8 implementation.
6941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6942 file: POWER8 finite ifunc implementation.
6943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6944 Add POWER8 implementation.
cac626d6
AZ
6945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6946 Likewise.
6947 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6948 POWER8 finite implementation.
6949 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6950
57f41c40
AS
6951 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6952 power8 implementation.
6953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6954 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
6955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6956 POWER8 implementation.
6957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6958 Likewise.
57f41c40
AS
6959 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6960 isinf implementation.
4393fc11
AZ
6961 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6962
57f41c40
AS
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6964 (INIT_ARCH): Add hwcap2 initialization.
6965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6966 power8 implementation.
6967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6968 file: POWER8 isnan ifunc implementation.
487972ae
AZ
6969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6970 POWER8 implementation.
6971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6972 Likewise.
57f41c40
AS
6973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6974 isnan implementation.
487972ae
AZ
6975 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6976
7d92b787
JY
69772014-02-27 Joey Ye <joey.ye@arm.com>
6978
6979 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6980 (_FP_NANFRAC_Q): Set to zero.
6981
1cadc858
SP
69822014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6983
6984 [BZ #16623]
6985 * math/auto-libm-test-in: New test inputs.
6986 * math/auto-libm-test-out: Regenerate.
6987 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6988 and DA.
6989 (__cos): Likewise.
6990 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6991
f8c17e79
JM
69922014-02-27 Joseph Myers <joseph@codesourcery.com>
6993
6994 * scripts/evaluate-test.sh: Take new argument indicating whether
6995 failure is expected.
6996 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6997 indicating whether failure is expected.
6998 * conform/Makefile (test-xfail-run-conformtest): New variable.
6999 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7000 level.
7001 * posix/Makefile (test-xfail-annexc): New variable.
7002 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7003
a5f891ac
JM
70042014-02-26 Joseph Myers <joseph@codesourcery.com>
7005
7006 * argp/Makefile: Include Makeconfig immediately after defining
7007 subdir.
7008 * assert/Makefile: Likewise.
7009 * benchtests/Makefile: Likewise.
7010 * catgets/Makefile: Likewise.
7011 * conform/Makefile: Likewise.
7012 * crypt/Makefile: Likewise.
7013 * csu/Makefile: Likewise.
7014 (all): Remove target.
7015 * ctype/Makefile: Include Makeconfig immediately after defining
7016 subdir.
7017 * debug/Makefile: Likewise.
7018 * dirent/Makefile: Likewise.
7019 * dlfcn/Makefile: Likewise.
7020 * gmon/Makefile: Likewise.
7021 * gnulib/Makefile: Likewise.
7022 * grp/Makefile: Likewise.
7023 * gshadow/Makefile: Likewise.
7024 * hesiod/Makefile: Likewise.
7025 * hurd/Makefile: Likewise.
7026 (all): Remove target.
7027 * iconvdata/Makefile: Include Makeconfig immediately after
7028 defining subdir.
7029 * inet/Makefile: Likewise.
7030 * intl/Makefile: Likewise.
7031 * io/Makefile: Likewise.
7032 * libio/Makefile: Likewise.
7033 (all): Remove target.
7034 * locale/Makefile: Include Makeconfig immediately after defining
7035 subdir.
7036 * login/Makefile: Likewise.
7037 * mach/Makefile: Likewise.
7038 (all): Remove target.
7039 * malloc/Makefile: Include Makeconfig immediately after defining
7040 subdir.
7041 (all): Remove target.
7042 * manual/Makefile: Include Makeconfig immediately after defining
7043 subdir.
7044 * math/Makefile: Likewise.
7045 * misc/Makefile: Likewise.
7046 * nis/Makefile: Likewise.
7047 * nss/Makefile: Likewise.
7048 * po/Makefile: Likewise.
7049 (all): Remove target.
7050 * posix/Makefile: Include Makeconfig immediately after defining
7051 subdir.
7052 * pwd/Makefile: Likewise.
7053 * resolv/Makefile: Likewise.
7054 * resource/Makefile: Likewise.
7055 * rt/Makefile: Likewise.
7056 * setjmp/Makefile: Likewise.
7057 * shadow/Makefile: Likewise.
7058 * signal/Makefile: Likewise.
7059 * socket/Makefile: Likewise.
7060 * soft-fp/Makefile: Likewise.
7061 * stdio-common/Makefile: Likewise.
7062 * stdlib/Makefile: Likewise.
7063 * streams/Makefile: Likewise.
7064 * string/Makefile: Likewise.
7065 * sunrpc/Makefile: Likewise.
7066 (all): Remove target.
7067 * sysvipc/Makefile: Include Makeconfig immediately after defining
7068 subdir.
7069 * termios/Makefile: Likewise.
7070 * time/Makefile: Likewise.
7071 * timezone/Makefile: Likewise.
7072 (all): Remove target.
7073 * wcsmbs/Makefile: Include Makeconfig immediately after defining
7074 subdir.
7075 * wctype/Makefile: Likewise.
7076
5b456e9d
SE
70772014-02-26 Steve Ellcey <sellcey@mips.com>
7078
7079 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7080 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7081 (libc_feholdexcept_setround_mips): Ditto.
7082 (libc_feholdsetround): New.
7083 (libc_feholdsetroundf): New.
7084 (libc_feholdsetroundl): New.
7085 (libc_feupdateenv_test_mips): New.
7086 (libc_feupdateenv_test): New.
7087 (libc_feupdateenv_testf): New.
7088 (libc_feupdateenv_testl): New.
7089 (libc_feresetround): New.
7090 (libc_feresetroundf): New.
7091 (libc_feresetroundl): New.
7092 (libc_fetestexcept_mips): New.
7093 (libc_fetestexcept): New.
7094 (libc_fetestexceptf): New.
7095 (libc_fetestexceptl): New.
7096 (HAVE_RM_CTX): New.
7097 (libc_feholdexcept_setround_mips_ctx): New.
7098 (libc_feholdexcept_setround_ctx): New.
7099 (libc_feholdexcept_setroundf_ctx): New.
7100 (libc_feholdexcept_setroundl_ctx): New.
7101 (libc_fesetenv_mips_ctx): New.
7102 (libc_fesetenv_ctx): New.
7103 (libc_fesetenv_ctxf): New.
7104 (libc_fesetenv_ctxl): New.
7105 (libc_feupdateenv_mips_ctx): New.
7106 (libc_feupdateenv_ctx): New.
7107 (libc_feupdateenvf_ctx): New.
7108 (libc_feupdateenvl_ctx): New.
7109 (libc_feholdsetround_mips_ctx): New.
7110 (libc_feholdsetround_ctx): New.
7111 (libc_feholdsetroundf_ctx): New.
7112 (libc_feholdsetroundl_ctx): New.
7113 (libc_feresetround_mips_ctx): New.
7114 (libc_feresetround_ctx): New.
7115 (libc_feresetroundf_ctx): New.
7116 (libc_feresetroundl_ctx): New.
7117
085d0e35
CD
71182014-02-26 Carlos O'Donell <carlos@redhat.com>
7119
f067bf1f
CD
7120 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7121
085d0e35
CD
7122 * manual/ipc.texi: New file.
7123 * manual/Makefile (chapters): Add ipc.
7124 * manual/job.texi: Add "Inter-Process Communication" to next.
7125 * manual/process.texi: Add "Inter-Process Communication" to prev.
7126
86e58c08
AZ
71272014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7128
7129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7130
4248f0da
OB
71312014-02-26 Ondřej Bílka <neleai@seznam.cz>
7132
7133 * malloc/malloc.c (__libc_calloc): Simplify implementation.
7134
cf822e3c
OB
7135 * manual/arith.texi: Fix spaces after sentences.
7136 * manual/charset.texi: Likewise.
7137 * manual/errno.texi: Likewise.
7138 * manual/install.texi: Likewise.
7139 * manual/llio.texi: Likewise.
7140 * manual/locale.texi: Likewise.
7141 * manual/maint.texi: Likewise.
7142 * manual/math.texi: Likewise.
7143 * manual/memory.texi: Likewise.
7144 * manual/message.texi: Likewise.
7145 * manual/probes.texi: Likewise.
7146 * manual/resource.texi: Likewise.
7147 * manual/signal.texi: Likewise.
7148 * manual/socket.texi: Likewise.
7149 * manual/stdio.texi: Likewise.
7150 * manual/string.texi: Likewise.
7151 * manual/time.texi: Likewise.
7152 * manual/users.texi: Likewise.
7153
ade40b10
CD
71542014-02-25 Carlos O'Donell <carlos@redhat.com>
7155
7156 [BZ #16632]
7157 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7158 _DEFAULT_SOURCE is defined.
7159
d0503676
CD
71602014-02-25 Ulrich Drepper <drepper@gmail.com>
7161 Carlos O'Donell <carlos@redhat.com>
7162
7163 [BZ #16613]
7164 * elf/dl-tls.c (_dl_count_modids): New function.
7165 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7166 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7167 audit library and increment generation counter.
7168 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7169 * elf/tst-audit9.c: New file.
7170 * elf/tst-auditmod9a.c: New file.
7171 * elf/tst-auditmod9b.c: New file.
7172 * elf/Makefile: Add rules to build and run tst-audit9.
7173
4cbf380c
FW
71742014-02-25 Florian Weimer <fweimer@redhat.com>
7175
7176 [BZ #15347]
7177 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7178
80a56cc3
WN
71792014-02-25 Will Newton <will.newton@linaro.org>
7180
7181 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7182 (__longjmp): Restore sp and lr before restoring callee
7183 saved registers. Add longjmp and longjmp_target
7184 SystemTap probe point.
7185 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7186 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7187 Define to zero to match jmpbuf layout.
7188 * sysdeps/arm/setjmp.S: Include stap-probe.h.
7189 (__sigsetjmp): Save sp and lr before saving callee
7190 saved registers. Add setjmp SystemTap probe point.
7191
3ea0f74e
SL
71922014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7193
7194 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7195
b04acb26
AS
71962014-02-24 Andreas Schwab <schwab@suse.de>
7197
7198 [BZ #15804]
7199 * elf/pldd.c (wait_for_ptrace_stop): New function.
7200 (main): Call it after attaching.
7201
098ad55c
RM
72022014-02-22 Roland McGrath <roland@hack.frob.com>
7203
d4ec6ae1
RM
7204 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7205 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7206 Versions files is now verboten.
7207 * hurd/Versions (libc: GLIBC_2.0):
7208 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7209 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7210 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7211 * mach/Versions: Likewise.
7212
098ad55c
RM
7213 * csu/Versions: Remove unused %include.
7214 * resolv/Versions: Likewise.
7215
acd7f096
JM
72162014-02-21 Joseph Myers <joseph@codesourcery.com>
7217
f0881698
JM
7218 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7219 ($(objpfx)check-local-headers.out): Likewise.
7220 ($(objpfx)begin-end-check.out): Likewise.
7221 * Makerules (check-abi-%.out): Likewise.
7222 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7223 ($(objpfx)test2.cat): Likewise.
7224 ($(objpfx)de/libc.cat): Likewise.
7225 ($(objpfx)test-gencat.out): Likewise.
7226 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7227 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7228 ($(objpfx)noload-mem): Likewise.
7229 ($(objpfx)tst-pathopt.out): Likewise.
7230 ($(objpfx)tst-rtld-load-self.out): Likewise.
7231 ($(objpfx)tst-array1-cmp.out): Likewise.
7232 ($(objpfx)tst-array1-static-cmp.out): Likewise.
7233 ($(objpfx)tst-array2-cmp.out): Likewise.
7234 ($(objpfx)tst-array3-cmp.out): Likewise.
7235 ($(objpfx)tst-array4-cmp.out): Likewise.
7236 ($(objpfx)tst-array5-cmp.out): Likewise.
7237 ($(objpfx)tst-array5-static-cmp.out): Likewise.
7238 ($(objpfx)check-textrel.out): Likewise.
7239 ($(objpfx)check-execstack.out): Likewise.
7240 ($(objpfx)check-localplt.out): Likewise.
7241 ($(objpfx)order2-cmp.out): Likewise.
7242 ($(objpfx)tst-leaks1-mem): Likewise.
7243 ($(objpfx)tst-leaks1-static-mem): Likewise.
7244 ($(objpfx)tst-initorder-cmp.out): Likewise.
7245 ($(objpfx)tst-initorder2-cmp.out): Likewise.
7246 ($(objpfx)tst-unused-dep.out): Likewise.
7247 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7248 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7249 * iconv/Makefile (test-iconvconfig): Likewise.
7250 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7251 ($(objpfx)iconv-test.out): Likewise.
7252 ($(objpfx)tst-tables.out): Likewise.
7253 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7254 ($(objpfx)tst-gettext.out): Likewise.
7255 ($(objpfx)tst-translit.out): Likewise.
7256 ($(objpfx)tst-gettext2.out): Likewise.
7257 ($(objpfx)tst-gettext4.out): Likewise.
7258 ($(objpfx)tst-gettext6.out): Likewise.
7259 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
7260 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
7261 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
7262 ($(objpfx)tst-fopenloc-mem.out): Likewise.
7263 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
7264 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
7265 * posix/Makefile ($(objpfx)globtest.out): Likewise.
7266 ($(objpfx)wordexp-tst.out): Likewise.
7267 ($(objpfx)annexc.out): Likewise.
7268 ($(objpfx)tst-fnmatch-mem): Likewise.
7269 ($(objpfx)bug-regex2-mem): Likewise.
7270 ($(objpfx)bug-regex14-mem): Likewise.
7271 ($(objpfx)bug-regex21-mem): Likewise.
7272 ($(objpfx)bug-regex31-mem): Likewise.
7273 ($(objpfx)tst-vfork3-mem): Likewise.
7274 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
7275 ($(objpfx)tst-pcre-mem): Likewise.
7276 ($(objpfx)tst-boost-mem): Likewise.
7277 ($(objpfx)tst-getconf.out): Likewise.
7278 ($(objpfx)bug-ga2-mem): Likewise.
7279 ($(objpfx)bug-glob2-mem): Likewise.
7280 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
7281 ($(objpfx)mtrace-tst-leaks2): Likewise.
7282 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
7283 ($(objpfx)tst-printf.out): Likewise.
7284 ($(objpfx)tst-setvbuf1.out): Likewise.
7285 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
7286 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
7287 ($(objpfx)tst-fmtmsg.out): Likewise.
7288 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
7289 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
7290
acd7f096
JM
7291 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
7292 * bits/sigaction.h [__USE_MISC]: Likewise.
7293 * bits/waitstatus.h: Update #endif comments.
7294 * ctype/ctype.h: Likewise.
7295 * dirent/dirent.h: Likewise.
7296 [__USE_MISC]: Remove redundant conditionals.
7297 * grp/grp.h: Update #endif comments.
7298 [__USE_GNU]: Remove redundant conditionals.
7299 [__USE_MISC]: Likewise.
7300 * inet/netinet/in.h [__USE_GNU]: Likewise.
7301 * io/sys/stat.h [__USE_MISC]: Likewise.
7302 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
7303 * libio/bits/stdio.h: Update #endif comments.
7304 [__USE_MISC]: Remove redundant conditionals.
7305 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
7306 * libio/stdio.h: Update #endif comments.
7307 [__USE_MISC]: Remove redundant conditionals.
7308 * math/bits/math-finite.h [__USE_MISC]: Likewise.
7309 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
7310 * math/math.h: Update #else and #endif comments.
7311 [__USE_MISC]: Remove redundant conditionals.
7312 * misc/sys/uio.h: Update #endif comments.
7313 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
7314 * posix/glob.h [__USE_MISC]: Likewise.
7315 * posix/sys/types.h: Update #endif comments.
7316 [__USE_MISC]: Remove redundant conditionals.
7317 * posix/sys/wait.h: Update #endif comments.
7318 [__USE_MISC]: Remove redundant conditionals.
7319 * posix/unistd.h: Update #endif comments.
7320 [__USE_MISC]: Remove redundant conditionals.
7321 * pwd/pwd.h [__USE_GNU]: Likewise.
7322 [__USE_MISC]: Likewise.
7323 * resolv/netdb.h [__USE_GNU]: Likewise.
7324 * signal/signal.h: Update #endif comments.
7325 [__USE_MISC]: Remove redundant conditionals.
7326 * stdlib/stdlib.h: Update #else and #endif comments.
7327 [__USE_MISC]: Remove redundant conditionals.
7328 [__USE_GNU]: Likewise.
7329 * string/bits/string2.h [__USE_MISC]: Likewise.
7330 * string/string.h: Update #endif comments.
7331 [__USE_MISC]: Remove redundant conditionals.
7332 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
7333 Likewise.
7334 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
7335 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
7336 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
7337 Likewise.
7338 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
7339 Likewise.
7340 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
7341 comments.
7342 [__USE_MISC]: Remove redundant conditionals.
7343 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
7344 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
7345 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
7346 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
7347 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
7348 Likewise.
7349 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
7350 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
7351 Likewise.
7352 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
7353 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
7354 Likewise.
7355 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
7356 Likewise.
7357 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
7358 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
7359 Likewise.
7360 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
7361 Likewise.
7362 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
7363 * sysdeps/x86/bits/string.h: Update #endif comments.
7364 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
7365 conditionals.
7366 * time/sys/time.h: Update #endif comments.
7367 * time/time.h: Likewise.
7368 [__USE_MISC]: Remove redundant conditionals.
7369
a5d82e4e
YG
73702014-02-21 Yury Gribov <y.gribov@samsung.com>
7371
7372 [BZ #16600]
7373 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
7374
9a80491d
AS
73752014-02-21 Andreas Schwab <schwab@linux-m68k.org>
7376
7377 * Versions.def (librt): Add GLIBC_2.17.
7378
105fa381
AC
73792014-02-21 Adam Conrad <adconrad@0c3.net>
7380
7381 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
7382 synonym for _SYS_AUXV_H to allow direct inclusion.
7383 * sysdeps/sparc/bits/hwcap.h: Likewise.
7384 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
7385 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
7386 * sysdeps/sparc/sysdep.h: Likewise.
7387
b8cd1c4e
SP
73882014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7389
7390 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
7391
bd939d23
RS
73922014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7393
7394 * benchtests/bench-strrchr.c: Print length instead of position.
7395
5d7b57ca
JM
73962014-02-20 Joseph Myers <joseph@codesourcery.com>
7397
bc688c10
JM
7398 [BZ #16611]
7399 * sysdeps/unix/sysv/linux/kernel-features.h
7400 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7401 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7402 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7403 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7404 Likewise.
7405 [__i386__ || __powerpc__ || __sh__ || __sparc__]
7406 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7407 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7408 (__ASSUME_SENDMMSG): Define instead of using previous
7409 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7410 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7411 (__ASSUME_SENDMMSG_SYSCALL): Define.
7412 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7413 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7414 Likewise.
7415 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7416 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7417 Likewise.
7418 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7419 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7420 Likewise.
7421 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7422 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7423 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7424 [__ASSUME_SENDMMSG]: Change conditionals to
7425 [__ASSUME_SENDMMSG_SOCKETCALL].
7426 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7427 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7428 Define.
7429 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7430 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7431 Likewise.
7432 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7433 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7434 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7435 [!__ASSUME_SENDMMSG]: Change conditional to
7436 [!__ASSUME_SENDMMSG_SOCKETCALL].
7437 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7438 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7439 Define.
7440
0e31b18c
JM
7441 [BZ #16610]
7442 * sysdeps/unix/sysv/linux/kernel-features.h
7443 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7444 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7445 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7446 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7447 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7448 [__i386__ || __sparc__]
7449 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7450 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7451 (__ASSUME_RECVMMSG): Define instead of using previous
7452 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7453 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7454 (__ASSUME_RECVMMSG_SYSCALL): Define.
7455 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7456 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7457 Likewise.
7458 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7459 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7460 Likewise.
7461 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7462 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7463 Likewise.
7464 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7465 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7466 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7467 [__ASSUME_RECVMMSG]: Change condition to
7468 [__ASSUME_RECVMMSG_SOCKETCALL].
7469 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7470 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7471 Define.
7472 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7473 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7474 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7475 Likewise.
7476 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7477 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7478 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7479 [!__ASSUME_RECVMMSG]: Change condition to
7480 [!__ASSUME_RECVMMSG_SOCKETCALL].
7481 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7482 (__ASSUME_RECVMMSG_SYSCALL): Define.
7483
dd481ccf
JM
7484 [BZ #16609]
7485 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7486 __powerpc__ || __s390__ || __sh__ || __sparc__]
7487 (__ASSUME_SOCKETCALL): Define.
7488 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7489 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7490 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7491 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7492 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7493 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7494 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7495 (__ASSUME_ACCEPT4): Define instead of using previous
7496 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7497 __powerpc__ || __sparc__ || __s390__)] condition.
7498 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7499 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7500 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7501 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7502 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7503 [!__ASSUME_ACCEPT4]: Change condition to
7504 [!__ASSUME_ACCEPT4_SOCKETCALL].
7505 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7506 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
7507 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7508 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7509 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7510 __ASSUME_ACCEPT4_SYSCALL.
7511 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7512 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7513 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7514 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7515 __ASSUME_ACCEPT4_SYSCALL.
7516 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7517 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7518 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7519 [__ASSUME_ACCEPT4]: Change condition to
7520 [__ASSUME_ACCEPT4_SOCKETCALL].
7521 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7522 (__ASSUME_SOCKETCALL): Define.
7523 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7524 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7525 (__ASSUME_SOCKETCALL): Define.
7526 (__ASSUME_ACCEPT4): Remove.
7527 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7528 Define.
7529 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7530 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7531 Likewise.
7532 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7533 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7534
5d7b57ca
JM
7535 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7536 macro.
7537 (HWCAP_ARM_LPAE): Likewise.
7538 (HWCAP_ARM_EVTSTRM): Likewise.
7539 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7540 Add vpfd32, lpae and evtstrm.
7541 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7542 Increase to 22.
7543
63689d61
JM
75442014-02-19 Joseph Myers <joseph@codesourcery.com>
7545
7546 * math/auto-libm-test-in: Add tests of clog10.
7547 * math/auto-libm-test-out: Regenerated.
7548 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7549 * sysdeps/i386/fpu/libm-test-ulps: Update.
7550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7551
ab09bf61
AS
75522014-02-18 Andreas Schwab <schwab@suse.de>
7553
7554 [BZ #16574]
7555 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7556 Store non-zero if the second buffer was newly allocated.
7557 (send_dg): Likewise.
7558 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7559 to send_vc and send_dg.
7560 (res_nsend): Pass NULL for ansp2_malloced.
7561 * resolv/res_query.c (__libc_res_nquery): Add parameter
7562 answerp2_malloced and pass it down to __libc_res_nsend.
7563 (res_nquery): Pass additional NULL to __libc_res_nquery.
7564 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7565 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
7566 second answer buffer if answerp2_malloced was set.
7567 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7568 (__libc_res_nquerydomain): Add parameter
7569 answerp2_malloced and pass it down to __libc_res_nquery.
7570 (res_nquerydomain): Pass additional NULL to
7571 __libc_res_nquerydomain.
7572 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7573 additional NULL to __libc_res_nsend and __libc_res_nquery.
7574 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7575 additional NULL to __libc_res_nsearch.
7576 (_nss_dns_gethostbyname4_r): Revert last change. Use new
7577 parameter of __libc_res_nsearch to check for separately allocated
7578 second buffer.
7579 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7580 __libc_res_nquery.
7581 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7582 additional NULL to __libc_res_nquery.
7583 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7584 __libc_res_nsearch.
7585 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7586 * include/resolv.h: Update prototypes of __libc_res_nquery,
7587 __libc_res_nsearch, __libc_res_nsend.
7588
a4fb7861
JM
75892014-02-18 Joseph Myers <joseph@codesourcery.com>
7590
c6af2d89
JM
7591 * math/auto-libm-test-in: Add tests of fma.
7592 * math/auto-libm-test-out: Regenerated.
7593 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7594 (fma_towardzero_test_data): Likewise.
7595 (fma_downward_test_data): Likewise.
7596 (fma_upward_test_data): Likewise.
7597 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7598 mpc_mode.
7599 (rounding_modes): Add values for new field.
7600 (func_calc_method): Add value mpfr_fff_f.
7601 (func_calc_desc): Add mpfr_fff_f union field.
7602 (test_function): Add field exact_args.
7603 (FUNC): Add macro argument EXACT_ARGS.
7604 (FUNC_mpfr_f_f): Update call to FUNC.
7605 (FUNC_mpfr_f_f): Likewise.
7606 (FUNC_mpfr_ff_f): Likewise.
7607 (FUNC_mpfr_if_f): Likewise.
7608 (FUNC_mpc_c_f): Likewise.
7609 (FUNC_mpc_c_c): Likewise.
7610 (test_functions): Add fma. Update calls to FUNC.
7611 (handle_input_arg): Add argument exact_args.
7612 (add_test): Update call to handle_input_arg.
7613 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
7614 (output_for_one_input_case): Update call to calc_generic_results.
7615 Recalculate exact zero results in each rounding mode.
7616
a4fb7861
JM
7617 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7618 non-negative before setting low bit.
7619 * math/auto-libm-test-in: Mark one asin test possibly having
7620 spurious underflow.
7621 * math/auto-libm-test-out: Regenerated.
7622 * sysdeps/i386/fpu/libm-test-ulps: Update.
7623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7624
ef114eaf
DH
76252014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7626
2b7f4f2c
SP
7627 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7628 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7629 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
7630 * README: Add missing listing for microblaze*-*-linux-gnu.
7631
c70a4b1d
MF
76322014-02-16 Mike Frysinger <vapier@gentoo.org>
7633
7634 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7635 * sysdeps/unix/sysv/linux/ia64: Move directory from
7636 ports/sysdeps/unix/sysv/linux/ia64.
7637 * README: Update listing for ia64-*-linux-gnu.
7638
591aeaf7
TD
76392014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7640 Joseph Myers <joseph@codesourcery.com>
7641
7642 * Makeconfig (test-name): New variable.
7643 (evaluate-test): Likewise.
7644 * Makerules (do-test-clean): Remove .test-result files.
7645 (common-mostlyclean): Likewise.
7646 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7647 * scripts/evaluate-test.sh: New file.
7648
6e89caf1
JM
76492014-02-14 Joseph Myers <joseph@codesourcery.com>
7650
7f98f180
JM
7651 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7652 separate $(objpfx)tst-fopenloc-cmp.out and
7653 $(objpfx)tst-fopenloc-mem.out targets.
7654 (tests): Update dependencies.
7655 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7656 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7657 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7658 (tst-rxspencer-no-utf8-ARGS): New variable.
7659 (tst-rxspencer-no-utf8-ENV): Likewise.
7660 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7661 instead of $(objpfx)tst-rxspencer-mem.
7662 ($(objpfx)tst-rxspencer-mem): Change target to
7663 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7664 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7665 * posix/tst-rxspencer-no-utf8.c: New file.
7666
6e89caf1
JM
7667 * elf/Makefile ($(objpfx)order.out): Remove rule.
7668 [$(run-built-tests) = yes] (tests): Depend on
7669 $(objpfx)order-cmp.out.
7670 ($(objpfx)order-cmp.out): New rule.
7671 [$(run-built-tests) = yes] (tests): Depend on
7672 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7673 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7674 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7675 $(objpfx)tst-array5-static-cmp.out.
7676 ($(objpfx)tst-array1.out): Remove rule.
7677 ($(objpfx)tst-array1-cmp.out): New rule.
7678 ($(objpfx)tst-array1-static.out): Remove rule.
7679 ($(objpfx)tst-array1-static-cmp.out): New rule.
7680 ($(objpfx)tst-array2.out): Remove rule.
7681 ($(objpfx)tst-array2-cmp.out): New rule.
7682 ($(objpfx)tst-array3.out): Remove rule.
7683 ($(objpfx)tst-array3-cmp.out): New rule.
7684 ($(objpfx)tst-array4.out): Remove rule.
7685 ($(objpfx)tst-array4-cmp.out): New rule.
7686 ($(objpfx)tst-array5.out): Remove rule.
7687 ($(objpfx)tst-array5-cmp.out): New rule.
7688 ($(objpfx)tst-array5-static.out): Remove rule.
7689 ($(objpfx)tst-array5-static-cmp.out): New rule.
7690 [$(run-built-tests) = yes] (tests): Depend on
7691 $(objpfx)order2-cmp.out.
7692 ($(objpfx)order2.out): Remove rule.
7693 ($(objpfx)order2-cmp.out): New rule.
7694 ($(objpfx)tst-initorder.out): Remove rule.
7695 [$(run-built-tests) = yes] (tests): Depend on
7696 $(objpfx)tst-initorder-cmp.out.
7697 ($(objpfx)tst-initorder-cmp.out): New rule.
7698 ($(objpfx)tst-initorder2.out): Remove rule.
7699 [$(run-built-tests) = yes] (tests): Depend on
7700 $(objpfx)tst-initorder2-cmp.out.
7701 ($(objpfx)tst-initorder2-cmp.out): New rule.
7702 [$(run-built-tests) = yes] (tests): Depend on
7703 $(objpfx)tst-unused-dep-cmp.out.
7704 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7705 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7706 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7707 on $(objpfx)tst-setvbuf1-cmp.out.
7708 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7709 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7710 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7711 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7712 ($(objpfx)tst-svc.out): Remove rule.
7713 ($(objpfx)tst-svc-cmp.out): New rule.
7714
ed9a38e2
JM
77152014-02-13 Joseph Myers <joseph@codesourcery.com>
7716
7717 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7718 * ctype/ctype.h [__USE_MISC]: Likewise.
7719 * dirent/dirent.h [__USE_MISC]: Likewise.
7720 * grp/grp.h [__USE_MISC]: Likewise.
7721 * io/fcntl.h [__USE_MISC]: Likewise.
7722 * io/sys/stat.h [__USE_MISC]: Likewise.
7723 * libio/stdio.h [__USE_MISC]: Likewise.
7724 * posix/unistd.h [__USE_MISC]: Likewise.
7725 * pwd/pwd.h [__USE_MISC]: Likewise.
7726 * stdlib.h [__USE_MISC]: Likewise.
7727 * string/bits/string2.h [__USE_MISC]: Likewise.
7728 * string/string.h [__USE_MISC]: Likewise.
7729 * time/time.h [__USE_MISC]: Likewise.
7730
d6680619
AS
77312014-02-13 Andreas Schwab <schwab@suse.de>
7732
7733 [BZ #16574]
7734 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7735 second answer buffer if it was separately allocated.
7736
ace614b8
JM
77372014-02-12 Joseph Myers <joseph@codesourcery.com>
7738
743151ae
JM
7739 * sysdeps/mips/math-tests.h: Include <features.h>.
7740 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7741 (ROUNDING_TESTS_long_double): Do not define.
7742 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7743 (EXCEPTION_TESTS_long_double): Likewise.
7744 * sysdeps/mips/mips64/libm-test-ulps: Update.
7745
498afc54
JM
7746 * include/features.h (__USE_BSD): Remove macro definitions.
7747 (__USE_SVID): Likewise.
7748 (_BSD_SOURCE): Likewise.
7749 (_SVID_SOURCE): Likewise.
7750 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7751 from definition of _DEFAULT_SOURCE.
7752 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7753 [_DEFAULT_SOURCE].
7754 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7755 * bits/mman.h [__USE_BSD]: Likewise.
7756 * bits/termios.h [__USE_BSD]: Likewise.
7757 * bits/waitstatus.h [__USE_BSD]: Likewise.
7758 * ctype/ctype.h [__USE_SVID]: Likewise.
7759 * dirent/dirent.h [__USE_BSD]: Likewise.
7760 * grp/grp.h [__USE_SVID]: Likewise.
7761 [__USE_BSD]: Likewise.
7762 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7763 * io/fcntl.h [__USE_BSD]: Likewise.
7764 * io/ftw.h [__USE_BSD]: Likewise.
7765 * io/sys/stat.h [__USE_BSD]: Likewise.
7766 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7767 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7768 * libio/stdio.h [__USE_SVID]: Likewise.
7769 [__USE_BSD]: Likewise.
7770 * math/math.h [__USE_SVID]: Likewise.
7771 [__USE_BSD]: Likewise.
7772 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7773 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7774 * misc/search.h [__USE_SVID]: Likewise.
7775 * misc/sys/mman.h [__USE_BSD]: Likewise.
7776 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7777 * misc/sys/uio.h [__USE_BSD]: Likewise.
7778 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7779 * posix/glob.h [__USE_BSD]: Likewise.
7780 * posix/regex.h [__USE_BSD]: Likewise.
7781 * posix/sys/types.h [__USE_BSD]: Likewise.
7782 [__USE_SVID]: Likewise.
7783 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7784 * posix/sys/wait.h [__USE_BSD]: Likewise.
7785 [__USE_SVID]: Likewise.
7786 * posix/unistd.h [__USE_BSD]: Likewise.
7787 [__USE_SVID]: Likewise.
7788 * pwd/pwd.h [__USE_SVID]: Likewise.
7789 * resolv/netdb.h [__USE_BSD]: Likewise.
7790 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7791 * signal/signal.h [__USE_BSD]: Likewise.
7792 [__USE_SVID]: Likewise.
7793 * socket/sys/socket.h [__USE_BSD]: Likewise.
7794 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7795 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7796 [__USE_SVID]: Likewise.
7797 * string/bits/string2.h [__USE_BSD]: Likewise.
7798 [__USE_SVID]: Likewise.
7799 * string/bits/string3.h [__USE_BSD]: Likewise.
7800 * string/endian.h [__USE_BSD]: Likewise.
7801 * string/string.h [__USE_SVID]: Likewise.
7802 [__USE_BSD]: Likewise.
7803 * string/strings.h [__USE_BSD]: Likewise.
7804 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7805 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7806 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7807 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7808 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7809 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7810 Likewise.
7811 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7812 Likewise.
7813 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7814 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7815 Likewise.
7816 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7817 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7818 Likewise.
7819 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7820 Likewise.
7821 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7822 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7823 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7824 Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7826 Likewise.
7827 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7828 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7829 * termios/termios.h [__USE_BSD]: Likewise.
7830 * time/sys/time.h [__USE_BSD]: Likewise.
7831 * time/time.h [__USE_BSD]: Likewise.
7832 [__USE_SVID]: Likewise.
7833
dd7b064c
JM
7834 * Makefile (subdir_targets): Remove subdir_lint.out.
7835
a2c4c199
JM
7836 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7837 (do-tst-printf): Likewise.
7838 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7839 $(objpfx)tst-printf.out.
7840
8756f740
JM
7841 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7842
1b6dd3f1
JM
7843 * Makerules (check-abi-%): Change target to
7844 $(objpfx)check-abi-%.out.
7845 (check-abi target): Update dependencies.
7846 (check-abi-pattern variable): Redirect output of diff to $@.
7847 (check-abi variable): Likewise.
7848 * elf/Makefile (check-abi): Update dependencies.
7849
ace614b8
JM
7850 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7851 unused.
7852 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7853 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7854 subnormal range.
7855 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7856 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7857 value has largest subnormal exponent.
7858 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7859 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7860 * sysdeps/aarch64/soft-fp/sfp-machine.h
7861 (_FP_TININESS_AFTER_ROUNDING): New macro.
7862 * sysdeps/alpha/soft-fp/sfp-machine.h
7863 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7864 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7865 Likewise.
7866 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7867 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7868 * sysdeps/mips/soft-fp/sfp-machine.h
7869 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7870 * sysdeps/powerpc/soft-fp/sfp-machine.h
7871 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7872 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7873 Likewise.
7874 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7875 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7876 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7877 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7878 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7879 Likewise.
7880
fbfdf9cb
DAS
78812014-02-12 Dylan Alex Simon <dylan@dylex.net>
7882
7883 [BZ #16545]
7884 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7885 model 1.
7886
68b7efaa
RH
78872014-02-12 Richard Henderson <rth@redhat.com>
7888
c70a4b1d 7889 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
7890 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7891 * sysdeps/unix/sysv/linux/alpha: Move directory from
7892 ports/sysdeps/unix/sysv/linux/alpha.
7893 * README: Update listing for alpha-*-linux-gnu.
7894
cb4a2928
JM
78952014-02-11 Joseph Myers <joseph@codesourcery.com>
7896
c941736c
JM
7897 * include/features.h: Update comment documenting feature test
7898 macros.
7899 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7900 _DEFAULT_SOURCE.
7901 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7902 (_SVID_SOURCE): Likewise.
7903 (_DEFAULT_SOURCE): Update description of default features.
7904 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7905 with _GNU_SOURCE.
7906 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7907 (S_ISVTX): Likewise.
7908 * manual/math.texi (Mathematical Constants): Likewise.
7909 * manual/signal.texi (Interrupted Primitives): Likewise.
7910 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7911 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7912 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7913 Don't refer to _SVID_SOURCE in warning text.
7914
e8d8d7ec
JM
7915 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7916
cb4a2928
JM
7917 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7918 already defined.
7919 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7920 * sysdeps/mips/dl-lookup.c: Remove.
7921 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7922
7e6424e3
AK
79232014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7924
7925 [BZ #16447]
7926 * math/auto-libm-test-in: Add testcase for expl.
7927 * math/auto-libm-test-out: Regenerate.
7928 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7929 calculation of unsafe.
7930 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7931
75eff3fe
MS
79322014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7933
7934 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7935 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7936 ports/sysdeps/unix/sysv/linux/aarch64.
7937 * README: Update listing for aarch64*-*-linux-gnu.
7938
d35f1e80
WN
79392014-02-11 Will Newton <will.newton@linaro.org>
7940
7941 * manual/probes.texi (Mathematical Function Probes): Use
7942 "triggered" instead of "hit".
7943
7b3436d4
WN
7944 * manual/probes.texi (Internal Probes): Add documentation
7945 of setjmp, longjmp and longjmp_target probes.
7946
b4f12ca3
WN
7947 * include/stap-probe.h: Add comment about probe argument
7948 format.
7949
c13a72b7
WN
7950 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7951 definition. (tr_where, tr_freehook, tr_mallochook,
7952 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7953
195b8165
DM
79542014-02-11 David S. Miller <davem@davemloft.net>
7955
7956 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7957 processing int_tests.
7958
2ad7600b
JM
79592014-02-10 Joseph Myers <joseph@codesourcery.com>
7960
7961 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7962 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7963 * sysdeps/unix/sysv/linux/mips: Move directory from
7964 ports/sysdeps/unix/sysv/linux/mips.
7965 * README: Update listing for mips-*-linux-gnu and
7966 mips64-*-linux-gnu.
7967
73588a72
AS
79682014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7969
7970 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7971 * sysdeps/unix/sysv/linux/m68k: Move directory from
7972 ports/sysdeps/unix/sysv/linux/m68k.
7973 * README: Update listing for m68k-*-linux-gnu.
7974
4372980f
CM
79752014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7976
7977 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7978 * sysdeps/unix/sysv/linux/generic: Move directory from
7979 ports/sysdeps/unix/sysv/linux/generic.
7980 * sysdeps/unix/sysv/linux/tile: Move directory from
7981 ports/sysdeps/unix/sysv/linux/tile.
7982 * README: Update listing for tile*-*-linux-gnu.
7983
a1ffb40e
OB
79842014-02-10 Ondřej Bílka <neleai@seznam.cz>
7985
57f41c40
AS
7986 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7987 __builtin_expect.
a1ffb40e
OB
7988 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7989 * catgets/open_catalog.c (__open_catalog): Likewise.
7990 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7991 * debug/confstr_chk.c: Likewise.
7992 * debug/fread_chk.c (__fread_chk): Likewise.
7993 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7994 * debug/getgroups_chk.c: Likewise.
7995 * debug/mbsnrtowcs_chk.c: Likewise.
7996 * debug/mbsrtowcs_chk.c: Likewise.
7997 * debug/mbstowcs_chk.c: Likewise.
7998 * debug/memcpy_chk.c: Likewise.
7999 * debug/memmove_chk.c: Likewise.
8000 * debug/mempcpy_chk.c: Likewise.
8001 * debug/memset_chk.c: Likewise.
8002 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8003 * debug/strcat_chk.c (__strcat_chk): Likewise.
8004 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8005 * debug/strncat_chk.c (__strncat_chk): Likewise.
8006 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8007 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8008 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8009 * debug/wcpncpy_chk.c: Likewise.
8010 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8011 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8012 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8013 * debug/wcsncpy_chk.c: Likewise.
8014 * debug/wcsnrtombs_chk.c: Likewise.
8015 * debug/wcsrtombs_chk.c: Likewise.
8016 * debug/wcstombs_chk.c: Likewise.
8017 * debug/wmemcpy_chk.c: Likewise.
8018 * debug/wmemmove_chk.c: Likewise.
8019 * debug/wmempcpy_chk.c: Likewise.
8020 * debug/wmemset_chk.c: Likewise.
8021 * dirent/scandirat.c (SCANDIRAT): Likewise.
8022 * dlfcn/dladdr1.c (dladdr1): Likewise.
8023 * dlfcn/dladdr.c (dladdr): Likewise.
8024 * dlfcn/dlclose.c (dlclose_doit): Likewise.
8025 * dlfcn/dlerror.c (__dlerror): Likewise.
8026 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8027 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8028 * dlfcn/dlopen.c (dlopen_doit): Likewise.
8029 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8030 * dlfcn/dlsym.c (dlsym_doit): Likewise.
8031 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8032 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8033 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8034 Likewise.
8035 * elf/dl-conflict.c: Likewise.
8036 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8037 * elf/dl-dst.h: Likewise.
8038 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8039 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8040 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8041 * elf/dl-init.c (call_init, _dl_init): Likewise.
8042 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
8043 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8044 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8045 Likewise.
a1ffb40e
OB
8046 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8047 Likewise.
8048 * elf/dl-minimal.c (__libc_memalign): Likewise.
8049 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8050 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8051 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8052 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
8053 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8054 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
8055 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8056 * elf/dl-writev.h (_dl_writev): Likewise.
8057 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
8058 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8059 (dl_main): Likewise.
a1ffb40e
OB
8060 * elf/setup-vdso.h (setup_vdso): Likewise.
8061 * grp/compat-initgroups.c (compat_call): Likewise.
8062 * grp/fgetgrent.c (fgetgrent): Likewise.
8063 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8064 * grp/putgrent.c (putgrent): Likewise.
8065 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8066 Likewise.
8067 * hurd/hurdinit.c: Likewise.
8068 * iconvdata/8bit-gap.c (struct): Likewise.
8069 * iconvdata/ansi_x3.110.c : Likewise.
8070 * iconvdata/big5.c : Likewise.
8071 * iconvdata/big5hkscs.c : Likewise.
8072 * iconvdata/cp1255.c: Likewise.
8073 * iconvdata/cp1258.c : Likewise.
8074 * iconvdata/cp932.c : Likewise.
8075 * iconvdata/euc-cn.c: Likewise.
8076 * iconvdata/euc-jisx0213.c : Likewise.
8077 * iconvdata/euc-jp.c: Likewise.
8078 * iconvdata/euc-jp-ms.c : Likewise.
8079 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8080 * iconvdata/gb18030.c : Likewise.
8081 * iconvdata/gbbig5.c (const): Likewise.
8082 * iconvdata/gbgbk.c: Likewise.
8083 * iconvdata/gbk.c : Likewise.
8084 * iconvdata/ibm1364.c : Likewise.
8085 * iconvdata/ibm930.c : Likewise.
8086 * iconvdata/ibm932.c: Likewise.
8087 * iconvdata/ibm933.c : Likewise.
8088 * iconvdata/ibm935.c : Likewise.
8089 * iconvdata/ibm937.c : Likewise.
8090 * iconvdata/ibm939.c : Likewise.
8091 * iconvdata/ibm943.c: Likewise.
8092 * iconvdata/iso_11548-1.c: Likewise.
8093 * iconvdata/iso-2022-cn.c : Likewise.
8094 * iconvdata/iso-2022-cn-ext.c : Likewise.
8095 * iconvdata/iso-2022-jp-3.c: Likewise.
8096 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8097 * iconvdata/iso-2022-kr.c : Likewise.
8098 * iconvdata/iso646.c (gconv_end): Likewise.
8099 * iconvdata/iso_6937-2.c : Likewise.
8100 * iconvdata/iso_6937.c : Likewise.
8101 * iconvdata/iso8859-1.c: Likewise.
8102 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8103 * iconvdata/shift_jisx0213.c : Likewise.
8104 * iconvdata/sjis.c : Likewise.
8105 * iconvdata/t.61.c : Likewise.
8106 * iconvdata/tcvn5712-1.c : Likewise.
8107 * iconvdata/tscii.c: Likewise.
8108 * iconvdata/uhc.c : Likewise.
8109 * iconvdata/unicode.c (gconv_end): Likewise.
8110 * iconvdata/utf-16.c (gconv_end): Likewise.
8111 * iconvdata/utf-32.c (gconv_end): Likewise.
8112 * iconvdata/utf-7.c (base64): Likewise.
8113 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8114 * iconv/gconv_close.c (__gconv_close): Likewise.
8115 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
8116 * iconv/gconv_simple.c (internal_ucs4_loop_single)
8117 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8118 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8119 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8120 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
8121 * iconv/iconv.c (iconv): Likewise.
8122 * iconv/iconv_close.c: Likewise.
8123 * iconv/loop.c (SINGLE): Likewise.
8124 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8125 * include/atomic.h: Likewise.
8126 * inet/inet6_option.c (option_alloc): Likewise.
8127 * intl/bindtextdom.c (set_binding_values): Likewise.
8128 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8129 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8130 * intl/localealias.c (read_alias_file): Likewise.
8131 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
8132 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8133 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
8134 * libio/fmemopen.c (fmemopen): Likewise.
8135 * libio/iofgets.c (_IO_fgets): Likewise.
8136 * libio/iofgets_u.c (fgets_unlocked): Likewise.
8137 * libio/iofgetws.c (fgetws): Likewise.
8138 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8139 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
8140 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8141 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
8142 * locale/findlocale.c (_nl_find_locale): Likewise.
8143 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8144 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8145 Likewise.
8146 * locale/setlocale.c (setlocale): Likewise.
8147 * login/programs/pt_chown.c (main): Likewise.
8148 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8149 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
8150 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8151 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
8152 * math/e_exp2l.c: Likewise.
8153 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8154 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8155 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8156 * math/s_catan.c (__catan): Likewise.
8157 * math/s_catanf.c (__catanf): Likewise.
8158 * math/s_catanh.c (__catanh): Likewise.
8159 * math/s_catanhf.c (__catanhf): Likewise.
8160 * math/s_catanhl.c (__catanhl): Likewise.
8161 * math/s_catanl.c (__catanl): Likewise.
8162 * math/s_ccosh.c (__ccosh): Likewise.
8163 * math/s_ccoshf.c (__ccoshf): Likewise.
8164 * math/s_ccoshl.c (__ccoshl): Likewise.
8165 * math/s_cexp.c (__cexp): Likewise.
8166 * math/s_cexpf.c (__cexpf): Likewise.
8167 * math/s_cexpl.c (__cexpl): Likewise.
8168 * math/s_clog10.c (__clog10): Likewise.
8169 * math/s_clog10f.c (__clog10f): Likewise.
8170 * math/s_clog10l.c (__clog10l): Likewise.
8171 * math/s_clog.c (__clog): Likewise.
8172 * math/s_clogf.c (__clogf): Likewise.
8173 * math/s_clogl.c (__clogl): Likewise.
8174 * math/s_csin.c (__csin): Likewise.
8175 * math/s_csinf.c (__csinf): Likewise.
8176 * math/s_csinh.c (__csinh): Likewise.
8177 * math/s_csinhf.c (__csinhf): Likewise.
8178 * math/s_csinhl.c (__csinhl): Likewise.
8179 * math/s_csinl.c (__csinl): Likewise.
8180 * math/s_csqrt.c (__csqrt): Likewise.
8181 * math/s_csqrtf.c (__csqrtf): Likewise.
8182 * math/s_csqrtl.c (__csqrtl): Likewise.
8183 * math/s_ctan.c (__ctan): Likewise.
8184 * math/s_ctanf.c (__ctanf): Likewise.
8185 * math/s_ctanh.c (__ctanh): Likewise.
8186 * math/s_ctanhf.c (__ctanhf): Likewise.
8187 * math/s_ctanhl.c (__ctanhl): Likewise.
8188 * math/s_ctanl.c (__ctanl): Likewise.
8189 * math/w_pow.c: Likewise.
8190 * math/w_powf.c: Likewise.
8191 * math/w_powl.c: Likewise.
8192 * math/w_scalb.c (sysv_scalb): Likewise.
8193 * math/w_scalbf.c (sysv_scalbf): Likewise.
8194 * math/w_scalbl.c (sysv_scalbl): Likewise.
8195 * misc/error.c (error_tail): Likewise.
8196 * misc/pselect.c (__pselect): Likewise.
8197 * nis/nis_callback.c (__nis_create_callback): Likewise.
8198 * nis/nis_call.c (__nisfind_server): Likewise.
8199 * nis/nis_creategroup.c (nis_creategroup): Likewise.
8200 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8201 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8202 * nis/nis_getservlist.c (nis_getservlist): Likewise.
8203 * nis/nis_lookup.c (nis_lookup): Likewise.
8204 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
8205 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8206 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 8207 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
8208 * nis/nss_compat/compat-grp.c (getgrent_next_file)
8209 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8210 * nis/nss_compat/compat-initgroups.c (add_group)
8211 (internal_getgrent_r): Likewise.
8212 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8213 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8214 * nis/nss_compat/compat-spwd.c (getspent_next_file)
8215 (internal_getspnam_r): Likewise.
8216 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8217 (_nss_nis_getaliasbyname_r): Likewise.
8218 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8219 (_nss_nis_getntohost_r): Likewise.
8220 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8221 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8222 (_nss_nis_getgrgid_r): Likewise.
8223 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8224 (internal_nis_gethostent_r, internal_gethostbyname2_r)
8225 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8226 (_nss_nis_gethostbyname4_r): Likewise.
8227 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8228 (initgroups_netid): Likewise.
a1ffb40e 8229 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
8230 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8231 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8232 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8233 (_nss_nis_getprotobynumber_r): Likewise.
8234 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8235 (_nss_nis_getsecretkey): Likewise.
8236 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8237 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8238 (_nss_nis_getpwuid_r): Likewise.
8239 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8240 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8241 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8242 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8243 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8244 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
8245 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8246 Likewise.
57f41c40
AS
8247 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8248 (_nss_nisplus_getntohost_r): Likewise.
8249 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8250 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8251 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8252 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 8253 Likewise.
57f41c40
AS
8254 * nis/nss_nisplus/nisplus-initgroups.c
8255 (_nss_nisplus_initgroups_dyn): Likewise.
8256 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8257 (_nss_nisplus_getnetbyaddr_r): Likewise.
8258 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
8259 (_nss_nisplus_getprotobynumber_r): Likewise.
8260 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
8261 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
8262 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
8263 Likewise.
57f41c40
AS
8264 * nis/nss_nisplus/nisplus-service.c
8265 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
8266 (_nss_nisplus_getservbyport_r): Likewise.
8267 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
8268 (_nss_nisplus_getspnam_r): Likewise.
8269 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
8270 Likewise.
a1ffb40e
OB
8271 * nscd/aicache.c (addhstaiX): Likewise.
8272 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
8273 * nscd/connections.c (register_traced_file, send_ro_fd)
8274 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
8275 (main_loop_epoll): Likewise.
a1ffb40e
OB
8276 * nscd/grpcache.c (addgrbyX): Likewise.
8277 * nscd/hstcache.c (addhstbyX): Likewise.
8278 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8279 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
8280 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
8281 (addinnetgrX): Likewise.
8282 * nscd/nscd-client.h (__nscd_acquire_maplock)
8283 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
8284 * nscd/nscd_getai.c (__nscd_getai): Likewise.
8285 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8286 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
8287 Likewise.
8288 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
8289 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
8290 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
8291 (__nscd_get_map_ref): Likewise.
a1ffb40e 8292 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
8293 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
8294 Likewise.
a1ffb40e
OB
8295 * nscd/pwdcache.c (addpwbyX): Likewise.
8296 * nscd/selinux.c (preserve_capabilities): Likewise.
8297 * nscd/servicescache.c (addservbyX): Likewise.
8298 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
8299 * posix/fnmatch.c (fnmatch): Likewise.
8300 * posix/getopt.c (_getopt_internal_r): Likewise.
8301 * posix/glob.c (glob, glob_in_dir): Likewise.
8302 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
8303 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
8304 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
8305 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
8306 * resolv/res_init.c: Likewise.
8307 * resolv/res_mkquery.c (res_nmkquery): Likewise.
8308 * resolv/res_query.c (__libc_res_nquery): Likewise.
8309 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
8310 Likewise.
8311 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
8312 * stdio-common/perror.c (perror): Likewise.
8313 * stdio-common/printf_fp.c (___printf_fp): Likewise.
8314 * stdio-common/tmpnam.c (tmpnam): Likewise.
8315 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
8316 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
8317 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8318 Likewise.
a1ffb40e
OB
8319 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
8320 * stdlib/putenv.c (putenv): Likewise.
8321 * stdlib/setenv.c (__add_to_environ): Likewise.
8322 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
8323 * stdlib/strtol_l.c (INTERNAL): Likewise.
8324 * string/memmem.c (memmem): Likewise.
8325 * string/strerror.c (strerror): Likewise.
8326 * string/strnlen.c (__strnlen): Likewise.
8327 * string/test-memmem.c (simple_memmem): Likewise.
8328 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
8329 * sunrpc/pm_getport.c (__get_socket): Likewise.
8330 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
8331 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
8332 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
8333 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
8334 Likewise.
8335 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8336 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8337 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
8338 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
8339 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
8340 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
8341 Likewise.
8342 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
8343 Likewise.
a1ffb40e
OB
8344 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
8345 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8346 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8347 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
8348 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
8350 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8351 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
8352 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
8353 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8354 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8355 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
8356 Likewise.
8357 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
8358 Likewise.
8359 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
8360 Likewise.
8361 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
8362 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8363 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
8364 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
8365 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8366 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
8367 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8368 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
8369 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
8370 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
8371 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
8372 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8373 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8374 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
8375 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
8376 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8377 Likewise.
a1ffb40e
OB
8378 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
8379 Likewise.
8380 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
8381 Likewise.
8382 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
8383 Likewise.
8384 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8385 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8386 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
8387 Likewise.
8388 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
8389 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
8390 * sysdeps/posix/opendir.c (__opendirat): Likewise.
8391 * sysdeps/posix/sleep.c: Likewise.
8392 * sysdeps/posix/tempname.c: Likewise.
8393 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
8394 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8395 Likewise.
57f41c40
AS
8396 * sysdeps/powerpc/powerpc32/dl-machine.h
8397 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
8398 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8399 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8400 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8401 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8402 Likewise.
8403 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8404 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8405 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8406 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8407 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8408 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8409 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8410 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8411 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8412 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8413 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8414 (elf_machine_lazy_rel): Likewise.
a1ffb40e 8415 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8416 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8417 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8418 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8419 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8420 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8421 * sysdeps/unix/grantpt.c (grantpt): Likewise.
8422 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8423 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8424 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8426 Likewise.
8427 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8428 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8429 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8430 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8431 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8432 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8433 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8434 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8435 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8436 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8437 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8438 Likewise.
8439 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8440 (__posix_fallocate64_l64): Likewise.
8441 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8442 (posix_fallocate): Likewise.
57f41c40
AS
8443 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8444 Likewise.
a1ffb40e 8445 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
8446 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8447 (getifaddrs_internal): Likewise.
a1ffb40e
OB
8448 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8449 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8450 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8451 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8452 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8453 (__posix_fallocate64_l64): Likewise.
8454 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8455 Likewise.
8456 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
8457 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8458 (__get_clockfreq): Likewise.
a1ffb40e
OB
8459 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8460 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8461 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8462 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8463 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8464 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8465 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8466 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8467 Likewise.
8468 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8469 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8470 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8471 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8472 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8473 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8474 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8475 Likewise.
8476 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8477 (posix_fallocate): Likewise.
8478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8479 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8480 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
8481 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8482 (elf_machine_rela, elf_machine_rela_relative)
8483 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
8484 * time/asctime.c (asctime_internal): Likewise.
8485 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8486 * time/tzset.c (__tzset_parse_tz): Likewise.
8487 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8488 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8489 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8490 * wcsmbs/wcsmbsload.h: Likewise.
8491
f3d338c9
OB
8492 [BZ #15894]
8493 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8494
57f41c40
AS
8495 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8496 (arena_get2): Remove THREAD_STATS conditionals.
8497 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8498 (__malloc_stats, int): Likewise.
bdfe308a 8499
d674667c
MF
85002014-02-08 Mike Frysinger <vapier@gentoo.org>
8501
8502 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8503 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
8504
6349768c
MF
8505 * manual/setjmp.texi: Fix typos/grammar errors.
8506
0b7c7473
MF
8507 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8508 Only return early when n is <= 0. Delete unused return statement.
8509
ac8cc9e3
MF
8510 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8511 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8512 * debug/tst-longjmp_chk3.c: New file.
8513
c5bb8e23
MF
8514 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8515 (test_main): Replace code with set_fortify_handler call.
8516 * debug/test-strcpy_chk.c: Likewise.
8517 * debug/tst-chk1.c: Likewise.
8518 * debug/tst-longjmp_chk.c: Likewise.
8519 * test-skeleton.c: Include fcntl.h & paths.h
8520 (set_fortify_handler): Define.
8521
10444e42
MF
8522 * debug/tst-longjmp_chk.c: Add header comment and include
8523 ../test-skeleton.c.
8524 (do_test): Mark static.
8525 (TEST_FUNCTION): Define.
8526
1e805e8d
MF
8527 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8528 (IP_PMTUDISC_INTERFACE): Likewise.
8529 (IP_MULTICAST_IF): Likewise.
8530 (IP_MULTICAST_TTL): Likewise.
8531 (IP_MULTICAST_LOOP): Likewise.
8532 (IP_ADD_MEMBERSHIP): Likewise.
8533 (IP_DROP_MEMBERSHIP): Likewise.
8534 (IP_UNBLOCK_SOURCE): Likewise.
8535 (IP_BLOCK_SOURCE): Likewise.
8536 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8537 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8538 (IP_MSFILTER): Likewise.
8539 (MCAST_JOIN_GROUP): Likewise.
8540 (MCAST_BLOCK_SOURCE): Likewise.
8541 (MCAST_UNBLOCK_SOURCE): Likewise.
8542 (MCAST_LEAVE_GROUP): Likewise.
8543 (MCAST_JOIN_SOURCE_GROUP): Likewise.
8544 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8545 (MCAST_MSFILTER): Likewise.
8546 (IP_MULTICAST_ALL): Likewise.
8547 (IP_UNICAST_IF): Likewise.
8548
73f79bb7
MF
8549 * timezone/Makefile: Delete $(have-ksh) check.
8550 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8551 * timezone/tzselect.ksh: Add +x mode bits.
8552
8da79b60
MF
8553 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8554 (ANON_INODE_FS_MAGIC): Likewise.
8555 (BDEVFS_MAGIC): Likewise.
8556 (BINFMTFS_MAGIC): Likewise.
8557 (BTRFS_TEST_MAGIC): Likewise.
8558 (CRAMFS_MAGIC_WEND): Likewise.
8559 (DEBUGFS_MAGIC): Likewise.
8560 (ECRYPTFS_SUPER_MAGIC): Likewise.
8561 (EXT3_SUPER_MAGIC): Likewise.
8562 (EXT4_SUPER_MAGIC): Likewise.
8563 (FUTEXFS_SUPER_MAGIC): Likewise.
8564 (HOSTFS_SUPER_MAGIC): Likewise.
8565 (HUGETLBFS_MAGIC): Likewise.
8566 (MINIX3_SUPER_MAGIC): Likewise.
8567 (MTD_INODE_FS_MAGIC): Likewise.
8568 (NILFS_SUPER_MAGIC): Likewise.
8569 (OPENPROM_SUPER_MAGIC): Likewise.
8570 (PIPEFS_MAGIC): Likewise.
8571 (PSTOREFS_MAGIC): Likewise.
8572 (QNX6_SUPER_MAGIC): Likewise.
8573 (RAMFS_MAGIC): Likewise.
8574 (REISERFS_SUPER_MAGIC_STRING): Likewise.
8575 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8576 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8577 (SECURITYFS_MAGIC): Likewise.
8578 (SELINUX_MAGIC): Likewise.
8579 (SMACK_MAGIC): Likewise.
8580 (SOCKFS_MAGIC): Likewise.
8581 (SQUASHFS_MAGIC): Likewise.
8582 (STACK_END_MAGIC): Likewise.
8583 (TMPFS_MAGIC): Likewise.
8584 (USBDEVICE_SUPER_MAGIC): Likewise.
8585 (V9FS_MAGIC): Likewise.
8586 (XENFS_SUPER_MAGIC): Likewise.
8587 (CRAMFS_MAGIC): Fix typo in comment.
8588 (EXT2_SUPER_MAGIC): Update comment.
8589 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8590
464263cc
JM
85912014-02-08 Joseph Myers <joseph@codesourcery.com>
8592
c6bfe5c4
JM
8593 * sysdeps/arm: Move directory from ports/sysdeps/arm.
8594 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8595 * sysdeps/unix/sysv/linux/arm: Move directory from
8596 ports/sysdeps/unix/sysv/linux/arm.
8597 * README: Update listing for arm-*-linux-gnueabi.
8598
464263cc
JM
8599 * README: Remove mention of am33.
8600
32749f6c
RM
86012014-02-07 Roland McGrath <roland@hack.frob.com>
8602
8603 * bits/sigset.h (__sigemptyset): Use a statement expression rather
8604 than the comma operator, to avoid "rhs of comma has no effect"
8605 compiler warnings.
8606 (__sigfillset, __sigandset, __sigorset): Likewise.
8607 * include/signal.h (__sigemptyset): Likewise.
8608 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8609
d5b396c1
AM
86102014-02-07 Allan McRae <allan@archlinux.org>
8611
8612 * version.h (RELEASE): Set to "development".
8613 (VERSION): Set to "2.19.90"
8614 * NEWS: Add 2.20 section.
8615
3bfff2ed
CD
86162014-02-06 Carlos O'Donell <carlos@redhat.com>
8617
8618 [BZ #16529]
8619 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8620
ee7cc385
SP
86212014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8622
8623 * manual/contrib.texi: Update entry for Carlos O'Donell,
8624 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8625
f877c4f2
CD
86262014-02-05 Carlos O'Donell <carlos@rehdat.com>
8627
27e839f6
CD
8628 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8629
f877c4f2
CD
8630 * sysdeps/unix/sysv/linux/kernel-features.h
8631 [__LINUX_KERNEL_VERSION >= 0x020621]
8632 (__ASSUME_PROC_PID_TASK_COMM): Define.
8633
68159946
SP
86342014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8635
ba17cdbd
SP
8636 [BZ #16398]
8637 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8638 conversion when destination buffer does not have enough space.
8639 * libio/tst-ftell-partial-wide.c: New test case.
8640 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8641
68159946
SP
8642 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8643 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8644 Leonard and Allan McRae.
8645
2b528732
DM
86462014-02-04 David S. Miller <davem@davemloft.net>
8647
8648 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8649 32-bit.
8650
0ff82463
AZ
86512014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8652
57f41c40
AS
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8654 New file
c01603f7
AZ
8655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8656 New file
57f41c40
AS
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8658 New file.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8660 New file.
c01603f7
AZ
8661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8662 New file.
57f41c40
AS
8663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8664 New file.
8665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8666 New file.
c01603f7
AZ
8667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8668 New file.
8669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8670 New file.
8671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8672 New file.
8673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8674 New file.
8675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8676 New file.
8677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8678 New file.
8679
86802014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8681
0ff82463
AZ
8682 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8683 * shlib-versions: Likewise.
8684
1695c773
AZ
86852014-02-04 Roland McGrath <roland@hack.frob.com>
8686 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8687
8688 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8689 (abilist-pattern): New variable, set to %-le.abilist.
8690
8691 * Makerules (abilist-pattern): New variable.
8692 (vpath): Use $(abilist-pattern) in place of %.abilist.
8693 (check-abi-% pattern rule): Likewise.
8694 (check-abi, update-abi): Likewise.
8695
6c0ce4b4
EW
86962014-02-04 Eric Wong <normalperson@yhbt.net>
8697
8698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8699
481e3524
CD
87002014-02-03 Carlos O'Donell <carlos@redhat.com>
8701
8702 * manual/startup.texi: Add next, previous, and top entries for
8703 the `Program Arguments' and `Environment Variables' nodes.
8704
375592d3
AO
87052014-02-03 Alexandre Oliva <aoliva@redhat.com>
8706
8707 * manual/macros.texi: Add comments before MTASC-safety macros.
8708
f54838ba
AO
8709 * manual/users.texi: Document MTASC-safety properties.
8710
57f41c40
AS
8711 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8712 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
8713 @deftypefun, and add @safety note.
8714 * manual/signal.texi: Move comments that analyze the above
8715 functions to their home place.
8716
fd3daba4
AM
87172014-02-03 Allan McRae <allan@archlinux.org>
8718
8719 * po/sl.po: Update Slovenian translation from translation project.
8720
597636d7
AO
87212014-02-02 Alexandre Oliva <aoliva@redhat.com>
8722
8723 * manual/time.texi (timegm): Add missing blank after @c.
8724 Reported by Joseph Myers <joseph@codesourcery.com>.
8725
ee196e3c
AO
87262014-02-01 Alexandre Oliva <aoliva@redhat.com>
8727
8728 * manual/check-safety.sh: New.
8729 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8730
f8d529d5
AO
8731 * manual/terminal.texi: Document MTASC-safety properties.
8732
de55fdf4
AO
8733 * manual/filesys.texi: Document MTASC-safety properties.
8734
c3299c08
AO
8735 * manual/errno.texi: Document MTASC-safety properties.
8736
06e90b14
AO
8737 * manual/intro.texi: Document safety identifiers and
8738 conditionals.
8739
1acd4371
AO
8740 * manual/string.texi (wcstok): Fix prototype.
8741 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8742
23e5b8cb
AO
8743 * manual/time.texi: Document MTASC-safety properties.
8744
11087373
AO
8745 * manual/string.texi: Document MTASC-safety properties.
8746
5da2c93d
AO
8747 * manual/threads.texi: Document MTASC-safety properties.
8748
171e9210
AO
8749 * manual/stdio.texi: Document MTASC-safety properties.
8750
d9e02532
AO
8751 * manual/syslog.texi: Document MTASC-safety properties.
8752
6af8bab7
AO
8753 * manual/sysinfo.texi: Document MTASC-safety properties.
8754
663b02d7
AO
8755 * manual/startup.texi: Document MTASC-safety properties.
8756
973f180b
AO
8757 * manual/socket.texi: Document MTASC-safety properties.
8758
8f3c25c8
AO
8759 * manual/signal.texi: Document MTASC-safety properties.
8760
542210fb
AO
87612014-01-31 Alexandre Oliva <aoliva@redhat.com>
8762
8763 * manual/setjmp.texi: Document MTASC-safety properties.
8764
433c45a2
AO
8765 * manual/search.texi: Document MTASC-safety properties.
8766
c8ce789c
AO
8767 * manual/resource.texi: Document MTASC-safety properties.
8768
19f5d29c
AO
8769 * manual/process.texi: Document MTASC-safety properties.
8770
e2dfb7f4
AO
8771 * manual/platform.texi: Document MTASC-safety properties.
8772
8c1413f5
AO
8773 * manual/pipe.texi: Document MTASC-safety properties.
8774
03483ada
AO
8775 * manual/pattern.texi: Document MTASC-safety properties.
8776
29e7e2df
AO
8777 * manual/message.texi: Document MTASC-safety properties.
8778
9f529d7c
AO
8779 [BZ #12751]
8780 * manual/memory.texi: Document MTASC-safety properties.
8781
27aaa791
AO
8782 * manual/math.texi: Document MTASC-safety properties.
8783
f2d58726
AO
8784 * manual/locale.texi: Document MTASC-safety properties.
8785
2cc3615c
AO
8786 * manual/llio.texi: Document MTASC-safety properties.
8787
d9f0ec97
AO
8788 * manual/libdl.texi: New.
8789
e7c4409a
AO
8790 * manual/lang.texi: Document MTASC-safety properties.
8791
27bdc63c
AO
8792 * manual/job.texi: Document MTASC-safety properties.
8793
a7b90ea9
AO
8794 * manual/getopt.texi: Document MTASC-safety properties.
8795
c49130e3
AO
8796 * manual/ctype.texi: Document MTASC-safety properties.
8797
0d23a5c1
MR
87982014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8799
8800 [BZ #16046]
8801 * csu/libc-tls.c (static_map): Remove variable.
8802 (__libc_setup_tls): Use main executable's link map for TLS data.
8803 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8804 casing for LM_ID_BASE and GL(dl_nns).
8805 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8806 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8807 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8808 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8809 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8810 member.
8811 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8812 l_phnum members.
8813
0037bb60
AO
88142014-01-30 Alexandre Oliva <aoliva@redhat.com>
8815
8816 * manual/debug.texi: Document MTASC-safety properties.
8817
409e00bd
L
88182014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8819
8820 [BZ #16510]
8821 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8822 of __x86_64__ when disabling x87 inline functions.
8823
86e60666
AO
88242014-01-29 Alexandre Oliva <aoliva@redhat.com>
8825
8826 * manual/charset.texi: Document MTASC-safety properties.
8827
76167637
AO
8828 * manual/crypt.texi: Document MTASC-safety properties.
8829
e567f2a0
AO
8830 * manual/conf.texi: Document MTASC-safety properties.
8831
b719dafd
AO
8832 * manual/arith.texi: Document MTASC-safety properties.
8833
4a16c662
AO
8834 * manual/argp.texi: Document MTASC-safety properties.
8835
0a57b83e
AO
8836 * manual/macros.texi: Introduce macros to document multi
8837 thread, asynchronous signal and asynchronous cancellation
8838 safety properties.
8839 * manual/intro.texi: Introduce the properties themselves.
8840
feab2397
KK
88412014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8842
8843 * sysdeps/sh/sh4/Makefile: New file.
8844
1c0d11bc
AS
88452014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8846
8847 * math/gen-libm-test.pl ($srcdir): New variable.
8848 ($auto_input): Use it.
8849
af37a8a3
SP
88502014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8851
d7b00f98
SP
8852 [BZ #16506]
8853 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8854 access beyond array bounds when parsing netgroups file.
8855
af37a8a3
SP
8856 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8857 the old buffer before realloc.
8858
0c00f062
AM
88592014-01-27 Allan McRae <allan@archlinux.org>
8860
8861 * po/fr.po: Update French translation from translation project.
8862
7d69a1b0
KK
88632014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8864
8865 * sysdeps/sh/libm-test-ulps: Regenerate.
8866
6e697ff7
DM
88672014-01-24 David S. Miller <davem@davemloft.net>
8868
8869 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8870
9cadb35c
KK
88712014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8872
8873 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8874 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8875
5d41dadf
SP
88762013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8877
8878 [BZ #16474]
8879 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8880 string pointers after reallocation.
8881
0bad441c
KK
88822014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8883
8884 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8885 __SH4A__ instead of __SH_FPU_ANY__.
8886
7007c661
KK
88872014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8888
8889 * sysdeps/sh/fpu_control.h: New file.
8890 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8891 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8892 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8893 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8894 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8895 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8896 * sysdeps/sh/sys/ucontext.h: Remove.
8897 * sysdeps/sh/sys: Remove directory.
8898
0f0c35e4
AK
88992014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8900
8901 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8902 s390/sys/ucontext.h.
8903 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8904 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8905
4959e284
L
89062014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8907
8908 [BZ #15605]
8909 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8910
d98720e0
AZ
89112014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8912
8913 [BZ#16431]
8914 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8915 Adjust the vDSO correctly for internal calls.
8916 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8917
91cbd0bc
AM
89182014-01-20 Allan McRae <allan@archlinux.org>
8919
8920 * po/ca.po: Update Catalan translation from translation project.
8921
7a02cfad
MF
89222014-01-16 Mike Frysinger <vapier@gentoo.org>
8923
8924 * sysdeps/s390/sotruss-lib.c: New file.
8925
736c304a
AZ
89262014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8927
8928 [BZ#16430]
6e077ee5 8929 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
8930 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8931 local calls issues by not having a PLT stub required for IFUNC calls.
8932 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8933
94d0cea0
JM
89342014-01-16 Joseph Myers <joseph@codesourcery.com>
8935
8936 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8937 * math/test-fpucw-static.c: Likewise.
8938
980cb518
SP
89392013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8940
8941 [BZ #16453]
8942 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8943
2393fc01
AZ
89442014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8945
8946 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8947 implementation for powerpc.
8948
d359bcc2
OB
89492014-01-15 Ondřej Bílka <neleai@seznam.cz>
8950
8951 [BZ #14782]
8952 * sysdeps/posix/system.c (__libc_system): Do not enable
8953 asynchronous cancellation.
8954
7beb48cb
AK
89552014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8956
8957 [BZ #16427]
8958 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8959 handling only for numbers special also in the IEEE case.
8960
c20d5bf5
AK
89612014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8962
8963 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8964
e83bd4ee
AM
89652014-01-11 Allan McRae <allan@archlinux.org>
8966
76d0ea69
AM
8967 * po/bg.po: Update Bulgarian translation from translation project.
8968
e83bd4ee
AM
8969 * po/de.po: Update German translation from translation project.
8970
bc2ba20a
RM
89712014-01-10 Roland McGrath <roland@hack.frob.com>
8972
8973 * sysdeps/generic/gcc-compat.h: New file.
8974
649ecea2
SP
89752014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8976
8977 * benchtests/asin-inputs: Correct slow inputs.
8978 * benchtests/acos-inputs: Likewise.
8979
1b19c006
AM
89802014-01-10 Allan McRae <allan@archlinux.org>
8981
a46dab08
AM
8982 * po:sv.po: Update Swedish translation from translation project.
8983
421df74a
AM
8984 * po/vi.po: Update Vietnamese translation from translation project.
8985
d61c51a7
AM
8986 * po/eo.po: Update Esperanto translation from translation project.
8987
0339a319
AM
8988 * po/cs.po: Update Czech translation from translation project.
8989
94ad3e99
AM
8990 * po/nl.po: Update Dutch translation from translation project.
8991
e349ca71
AM
8992 * po/pl.po: Update Polish translation from translation project.
8993
ddf930c1
AM
8994 * po/ru.po: Update Russian translation from translation project.
8995
1b19c006
AM
8996 * po/uk.po: Update Ukrainian translation from translation project.
8997
9f236c49
BM
89982014-01-08 Brooks Moses <bmoses@google.com>
8999
9000 * elf/dl-load.c: Fix comment typo.
9001
cd6701cf
CD
90022014-01-08 Carlos O'Donell <carlos@redhat.com>
9003
9004 * po/header.pot: Rename to...
9005 * po/pot.header: ... this.
9006 * po/Makefile: Use pot.header.
9007
66671c84
YK
90082014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
9009 Maxim Kuvyrkov <maxim@kugelworks.com>
9010
9011 [BZ #16394]
cd6701cf
CD
9012 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9013 SRC and DEST against LEN.
66671c84 9014
38f34581
AZ
90152014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9016
9017 [BZ #16414]
9018 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9019 implementation.
9020 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9021
90222014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
9023
9024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9025
4c327f2a
JM
90262014-01-08 Joseph Myers <joseph@codesourcery.com>
9027
9028 [BZ #16408]
9029 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9030 for large positive arguments.
9031
b821f414
JM
90322014-01-07 Joseph Myers <joseph@codesourcery.com>
9033
1f0f2067
JM
9034 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9035
a5a326f6
JM
9036 * math/auto-libm-test-in: Mark various tests with
9037 xfail-rounding:ldbl-128ibm.
9038 * math/auto-libm-test-out: Regenerated.
9039
b821f414
JM
9040 [BZ #16407]
9041 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9042 Increase overflow threshold.
9043
94c8a4bc
OB
90442014-01-07 Ondřej Bílka <neleai@seznam.cz>
9045
9046 [BZ #14286]
9047 * stdio-common/vfprintf.c: Check for integer overflow.
9048
87ded0c3
AK
90492014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9050
9051 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9052 the first argument and return value of __tls_get_addr_internal.
9053
c5eebdd0
AK
90542014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9055
9056 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9057 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9058
05d138ef
AK
90592014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9060
9061 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9062 * sysdeps/s390/rtld-global-offsets.sym: New file.
9063 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9064 GLIBC_2.19 symbol.
9065 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9066 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9067 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9068 ... this.
9069 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9070 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9071 ... this.
9072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9073 Regenerate.
9074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9075 Regenerate.
9076 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9077 halfs of GPRs for high_gprs contexts.
9078 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9079 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
9080 field.
9081 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9082 uc_flags field.
9083 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9084 64 bit versions:
9085 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9086 for high GPRs (uc_high_gprs) and for future extensions
9087 (__reserved).
9088 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9089 for future extensions (__reserved).
9090 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9091 64 bit versions:
9092 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9093 SC_HIGHGPRS offset definition.
9094 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9095 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9096
93a45ff1
AK
9097 * Versions.def: Add GLIBC_2.19 for libpthread.
9098 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9099 siglongjmp for libpthread with GLIBC_2.19 symver.
9100 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9101 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9102 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9103 * sysdeps/s390/__longjmp.c: New file.
9104 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9105 * sysdeps/s390/longjmp.c: New file.
9106 * sysdeps/s390/setjmp.S: New file.
9107 * sysdeps/s390/sigjmp.S: New file.
9108 * sysdeps/s390/v1-longjmp.c: New file.
9109 * sysdeps/s390/v1-setjmp.h: New file.
9110 * sysdeps/s390/v1-sigjmp.c: New file.
9111 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9112 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9113 GLIBC_2.19 version.
9114 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9115 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9116 versioned symbols for ____longjmp_chk.
9117 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9118 Likewise.
9119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9120 Regenerate.
9121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9122 Regenerate.
9123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9124 Regenerate.
9125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9126 Regenerate.
9127 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9128 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9129 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9130 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9131 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9132 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9133 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9134 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9135 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9136 * sysdeps/s390/rtld-__longjmp.c: New file.
9137 * sysdeps/s390/rtld-setjmp.S: New file.
9138
eb3fc44b
JM
91392014-01-06 Joseph Myers <joseph@codesourcery.com>
9140
9141 [BZ #16400]
9142 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9143 Return -__logl (x) for small positive arguments without evaluating
9144 a polynomial.
9145
9341dde4
MF
91462014-01-06 Mike Frysinger <vapier@gentoo.org>
9147
9148 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9149 Rename to ...
9150 (__ptrace_peeksiginfo_args): ... this.
9151 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9152 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9153 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9154
4cff0293
AM
91552014-01-06 Allan McRae <allan@archlinux.org>
9156
9157 * inet/netinet/in.h: Fix typo in comment.
9158
75595dcf
AJ
91592014-01-05 Andreas Jaeger <aj@suse.de>
9160
9161 * sysdeps/i386/fpu/libm-test-ulps: Update.
9162
79c1e109
AM
91632014-01-05 Allan McRae <allan@archlinux.org>
9164
dd804818
AM
9165 * po/libc.pot: Regenerated.
9166
79c1e109
AM
9167 * malloc/memusagestat.c: Fix gettext call formatting.
9168
0c813d1f
SK
91692014-01-04 Sami Kerola <kerolasa@iki.fi>
9170
9171 * nscd/nscd.c: Improve usage() output.
9172
20f4a8d9
MF
91732014-01-04 Mike Frysinger <vapier@gentoo.org>
9174
9175 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9176 * sysdeps/unix/sysv/linux/configure: Regenerated.
9177 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9178 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9179
22562bb2
JM
91802014-01-03 Joseph Myers <joseph@codesourcery.com>
9181
9182 [BZ #16390]
9183 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9184 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9185
d7ad2d9b
AZ
91862014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9187
9188 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9189 extra tokens at end of #undef directive.
9190 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9191 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9192 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9193
7dd009d8
JM
91942014-01-03 Joseph Myers <joseph@codesourcery.com>
9195
24db925a
JM
9196 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9197
7dd009d8
JM
9198 * math/auto-libm-test-in: Mark various tests with
9199 xfail-rounding:ldbl-128ibm.
9200 * math/auto-libm-test-out: Regenerated.
9201
396e3ecf
JM
92022014-01-02 Joseph Myers <joseph@codesourcery.com>
9203
819e5d50
JM
9204 [BZ #16386]
9205 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9206 numbers with subnormal high part when calculating exponent.
9207
90b6a1e5
JM
9208 [BZ #16385]
9209 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9210 fabs.
9211
396e3ecf
JM
9212 [BZ #16384]
9213 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9214 M_LN2l.
9215 (__ieee754_acoshl): Use __log1pl not __log1p.
9216
6c8dbf00
OB
92172013-01-02 Ondřej Bílka <neleai@seznam.cz>
9218
57f41c40
AS
9219 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9220 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9221 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9222 (grow_heap, heap_trim, _int_new_arena, get_free_list)
9223 (reused_arena, arena_get2): Convert to GNU style.
9224 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9225 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9226 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 9227 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
9228 * malloc/malloc.c (__malloc_assert, malloc_init_state)
9229 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9230 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9231 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9232 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9233 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 9234 * malloc/malloc.h: Likewise.
57f41c40
AS
9235 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9236 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 9237 * malloc/mcheck.h: Likewise.
57f41c40
AS
9238 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9239 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
9240 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9241 * malloc/morecore.c (__default_morecore): Likewise.
9242 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
9243 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9244 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9245 (print_and_abort): Likewise.
6c8dbf00
OB
9246 * malloc/obstack.h: Likewise.
9247 * malloc/set-freeres.c (__libc_freeres): Likewise.
9248 * malloc/tst-mallocstate.c (main): Likewise.
9249 * malloc/tst-mtrace.c (main): Likewise.
9250 * malloc/tst-realloc.c (do_test): Likewise.
9251
d4124212
SP
92522013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9253
9a3c6a6f
SP
9254 [BZ #16366]
9255 * nscd/netgroupcache.c (do_notfound): New function.
9256 (addgetnetgrentX): Use it.
9257
d4124212
SP
9258 [BZ # 16365]
9259 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
9260 NSS_STATUS_NOTFOUND.
9261
97b9a009
JM
92622014-01-01 Joseph Myers <joseph@codesourcery.com>
9263
9264 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9266
d4697bc9
AM
92672014-01-01 Allan McRae <allan@archlinux.org>
9268
ddb3687f
AM
9269 * scripts/update-copyrights: Update configure input file suffix.
9270
88726d48
AM
9271 * NEWS: Update copyright year.
9272 * catgets/gencat.c: Likewise.
9273 * csu/version.c: Likewise.
9274 * debug/catchsegv.sh: Likewise.
9275 * debug/pcprofiledump.c: Likewise.
9276 * debug/xtrace.sh: Likewise.
9277 * elf/ldconfig.c: Likewise.
9278 * elf/ldd.bash.in: Likewise.
9279 * elf/pldd.c: Likewise.
9280 * elf/sotruss.ksh: Likewise.
9281 * elf/sprof.c: Likewise.
9282 * iconv/iconv_prog.c: Likewise.
9283 * iconv/iconvconfig.c: Likewise.
9284 * locale/programs/locale.c: Likewise.
9285 * locale/programs/localedef.c: Likewise.
9286 * login/programs/pt_chown.c: Likewise.
9287 * malloc/memusage.sh: Likewise.
9288 * malloc/memusagestat.c: Likewise.
9289 * malloc/mtrace.pl: Likewise.
9290 * manual/libc.texinfo: Likewise.
9291 * nscd/nscd.c: Likewise.
9292 * nss/getent.c: Likewise.
9293 * nss/makedb.c: Likewise.
9294 * posix/getconf.c: Likewise.
9295 * scripts/test-installation.pl: Likewise.
9296
d4697bc9
AM
9297 * All files with FSF copyright notices: Update copyright dates
9298 using scripts/update-copyrights.
9299 * intl/plural.c: Regenerated.
9300 * locale/programs/charmap-kw.h: Likewise.
9301 * locale/programs/locfile-kw.h: Likewise.
9302
c8590f9d
MF
93032013-12-31 Mike Frysinger <vapier@gentoo.org>
9304
9305 * sysdeps/unix/sysv/linux/configure: Regenerated.
9306 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
9307 the linux/fanotify.h header.
9308 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
9309 HAVE_LINUX_FANOTIFY_H is defined.
9310
b19221b9
SP
93112013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
9312
dd1d85e5
SP
9313 * benchtests/cos-inputs: New inputs.
9314 * benchtests/sin-inputs: Likewise.
9315
1acbb90f
SP
9316 * benchtests/atan-inputs: New inputs. Fix name of multiple
9317 precision fallback inputs.
9318
4c012ed3
SP
9319 * benchtests/atanh-inputs: New inputs.
9320 * benchtests/tanh-inputs: Likewise.
9321
eff98324
SP
9322 * benchtests/acosh-inputs: New inputs.
9323 * benchtests/asinh-inputs: Likewise.
9324
ce641152
SP
9325 * benchtests/cosh-inputs: New inputs.
9326 * benchtests/sinh-inputs: Likewise.
9327
b19221b9
SP
9328 * benchtests/acos-inputs: Add more inputs.
9329 * benchtests/asin-inputs: Likewise.
9330
030a4976 93312013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 9332
030a4976 9333 [BZ #16375]
9dcc8f11
VS
9334 * manual/arith.texi: Fix spelling.
9335 * manual/charset.texi: Likewise.
9336 * manual/errno.texi: Likewise.
9337 * manual/filesys.texi: Likewise.
9338 * manual/lang.texi: Likewise.
9339 * manual/llio.texi: Likewise.
9340 * manual/locale.texi: Likewise.
9341 * manual/message.texi: Likewise.
9342 * manual/resource.texi: Likewise.
9343 * manual/search.texi: Likewise.
9344 * manual/setjmp.texi: Likewise.
9345 * manual/stdio.texi: Likewise.
9346 * manual/string.texi: Likewise.
9347 * manual/sysinfo.texi: Likewise.
9348 * manual/time.texi: Likewise.
9349
11520a57
CD
93502013-12-27 Carlos O'Donell <carlos@redhat.com>
9351
9352 * po/sl.po: New file.
9353
471103ae
MF
93542013-12-27 Mike Frysinger <vapier@gentoo.org>
9355
9356 * .gitignore: Add core/.gdbinit/.gdb_history.
9357
6c9642ed
AM
93582013-12-27 Allan McRae <allan@archlinux.org>
9359
9360 [BZ #16369]
9361 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
9362 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
9363
3f637079
BM
93642013-12-24 Brooks Moses <bmoses@google.com>
9365
9366 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
9367 all compilers that claim C++98 compliance, not just GCC.
9368 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9369 Likewise.
9370
abc26e99
MK
93712013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9372
9373 * NEWS: Restore accidentally deleted bug-fix entries.
9374
362b47fe
MK
93752013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
9376 Ondřej Bílka <neleai@seznam.cz>
9377
9378 [BZ #15073]
9379 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 9380 have_lock.
362b47fe 9381
b9bcbbcb
OB
93822013-12-23 Ondřej Bílka <neleai@seznam.cz>
9383
9384 [BZ #12986]
9385 * manual/stdio.texi (String Input Conversions): Clarify that character
9386 classes are not supported.
9387
fb55fcd2
AZ
93882013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9389
9390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9391
ef7344f0
JM
93922013-12-22 Joseph Myers <joseph@codesourcery.com>
9393
4f40e4b3
JM
9394 [BZ #16337]
9395 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9396 Calculate results for small negative arguments directly rather
9397 than using reflection formula with special underflow handling.
9398
ef7344f0
JM
9399 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9400 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9401 sysdeps/unix/bsd/bsd4.4/syscalls.list.
9402 (fchflags): Likewise.
9403 (revoke): Likewise.
9404 (setlogin): Likewise.
9405 (sigaltstack): Likewise.
9406 (wait4): Likewise.
9407 (sigblock): Remove.
9408 (sigsetmask): Likewise.
9409 (wait3): Likewise.
9410 (waitpid): Likewise.
9411 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9412 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9413 file.
9414 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9415 * sysdeps/unix/bsd/Makefile: ... here.
9416 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9417 * sysdeps/unix/bsd/Versions: ... here.
9418 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9419 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9420 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9421 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9422 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9423 * sysdeps/unix/bsd/sigblock.c: ... here.
9424 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9425 * sysdeps/unix/bsd/sigsetmask.c: ... here.
9426 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9427 * sysdeps/unix/bsd/sigvec.c: ... here.
9428 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9429 * sysdeps/unix/bsd/tcdrain.c: ... here.
9430 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9431 * sysdeps/unix/bsd/tcgetattr.c: ... here.
9432 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9433 * sysdeps/unix/bsd/tcsetattr.c: ... here.
9434 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9435 * sysdeps/unix/bsd/wait.c: ... here.
9436 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9437 * sysdeps/unix/bsd/wait3.c: ... here.
9438 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9439 * sysdeps/unix/bsd/waitpid.c: ... here.
9440
5b0626b9
JM
94412013-12-21 Joseph Myers <joseph@codesourcery.com>
9442
9443 [BZ #16356]
9444 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9445 round-to-nearest for [!USE_AS_EXPM1L].
9446 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9447 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
9448 more tests of exp and exp10. Expect some exp10 tests to miss
9449 exceptions or fail in directed rounding modes.
9450 * math/auto-libm-test-out: Regenerated.
9451 * math/libm-test.inc (exp10_tonearest_test_data): New array.
9452 (exp10_test_tonearest): New function.
9453 (exp10_towardzero_test_data): New array.
9454 (exp10_test_towardzero): New function.
9455 (exp10_downward_test_data): New array.
9456 (exp10_test_downward): New function.
9457 (exp10_upward_test_data): New array.
9458 (exp10_test_upward): New function.
9459 (main): Call the new functions.
9460 * sysdeps/i386/fpu/libm-test-ulps: Update.
9461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9462
7fda5682
JM
94632013-12-20 Joseph Myers <joseph@codesourcery.com>
9464
31e3a405
JM
9465 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9466 asinh, atan, atan2, atanh, cbrt, cos and cosh.
9467 * math/auto-libm-test-out: Regenerated.
9468 * math/libm-test.inc (acosh_test_data): Add more tests.
9469 (atanh_test_data): Likewise.
9470 (ceil_test_data): Likewise.
9471 (copysign_test_data): Likewise.
9472 * sysdeps/i386/fpu/libm-test-ulps: Update.
9473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9474
85bff96a
JM
9475 * timezone/checktab.awk: Update from tzcode 2013i.
9476 * timezone/private.h: Likewise.
9477 * timezone/scheck.c: Likewise.
9478 * timezone/tzfile.h: Likewise.
9479 * timezone/tzselect.ksh: Likewise.
9480 * timezone/zdump.c: Likewise.
9481 * timezone/zic.c: Likewise.
9482
b7867a3b
JM
9483 * math/auto-libm-test-in: Add tests of cpow.
9484 * math/auto-libm-test-out: Regenerated.
9485 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 9486 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
9487 mpc_cc_c.
9488 (func_calc_desc): Add mpc_cc_c union field.
9489 (test_functions): Add cpow.
9490 (special_fill_2pi): New function.
9491 (special_real_inputs): Add 2pi.
9492 (calc_generic_results): Handle mpc_cc_c.
9493 * sysdeps/i386/fpu/libm-test-ulps: Update.
9494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9495
7fda5682
JM
9496 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9497 csqrt, ctan and ctanh.
9498 * math/auto-libm-test-out: Regenerated.
9499 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9500 (TEST_COND_x86): Likewise.
9501 (ccos_test_data): Use AUTO_TESTS_c_c.
9502 (ccosh_test_data): Likewise.
9503 (cexp_test_data): Likewise.
9504 (clog_test_data): Likewise.
9505 (csqrt_test_data): Likewise.
9506 (ctan_test_data): Likewise.
9507 (ctan_tonearest_test_data): Likewise.
9508 (ctan_towardzero_test_data): Likewise.
9509 (ctan_downward_test_data): Likewise.
9510 (ctan_upward_test_data): Likewise.
9511 (ctanh_test_data): Likewise.
9512 (ctanh_tonearest_test_data): Likewise.
9513 (ctanh_towardzero_test_data): Likewise.
9514 (ctanh_downward_test_data): Likewise.
9515 (ctanh_upward_test_data): Likewise.
9516 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9517 mpc_c_c.
9518 (func_calc_desc): Add mpc_c_c union field.
9519 (FUNC_mpc_c_c): New macro.
9520 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9521 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9522 ctanh.
9523 (special_fill_min_subnorm_p120): New function.
9524 (special_real_inputs): Add min_subnorm_p120.
9525 (calc_generic_results): Handle mpc_c_c.
9526 * sysdeps/i386/fpu/libm-test-ulps: Update.
9527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9528
5ff8d60e
SP
95292013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9530
57f41c40
AS
9531 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9532 (do_sin_slow): New functions.
9533 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9534 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 9535
84ba214c
SP
9536 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9537 Use M to change sign of result instead of X. Assume X is
9538 positive.
9539 (csloww1): Likewise.
9540 (__sin): Adjust.
9541 (__cos): Adjust.
9542
975195e4
SP
9543 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9544 arguments A and DA.
9545 (__sin): Adjust.
9546 (__cos): Likewise.
9547
5ff8d60e
SP
9548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9549 (__cos): Likewise.
9550 (sloww1): Don't adjust sign of DX.
9551 (csloww1): Likewise.
9552 (sloww2): Use X directly and don't adjust sign of DX.
9553 (csloww2): Likewise.
9554
eb983568
JM
95552013-12-19 Joseph Myers <joseph@codesourcery.com>
9556
64a17f1a
JM
9557 * math/auto-libm-test-in: Add tests of cabs and carg.
9558 * math/auto-libm-test-out: Regenerated.
9559 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9560 (carg_test_data): Likewise.
9561 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9562 mpc_c_f.
9563 (func_calc_desc): Add mpc_c_f union field.
9564 (test_functions): Add cabs and carg.
9565 (calc_generic_results): Handle mpc_c_f.
9566
eb983568
JM
9567 * sysdeps/powerpc/powerpc32/libgcc-compat.S
9568 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9569 as a macro and a compat symbol.
9570 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9571 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9572 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9573 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9574 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9575 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9576 not use .hidden.
9577 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9578 Likewise.
9579 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9580 Likewise.
9581 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9582 Likewise.
9583 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9584 Likewise.
9585 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9586 Likewise.
9587 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9588 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9589 from GLIBC_2.3.2.
9590
6eeb678a
AZ
95912013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9592
9593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9594
6f6fc482
JM
95952013-12-19 Joseph Myers <joseph@codesourcery.com>
9596
21fea2e2
JM
9597 * manual/texinfo.tex: Update to version 2013-11-26.10 with
9598 trailing whitespace removed.
9599 * scripts/config.guess: Update to version 2013-11-29.
9600 * scripts/config.sub: Update to version 2013-10-01.
9601
6f6fc482
JM
9602 * math/auto-libm-test-in: Add tests of sincos.
9603 * math/auto-libm-test-out: Regenerated.
9604 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9605 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9606 mpfr_f_11.
9607 (func_calc_desc): Add mpfr_f_11 union field.
9608 (test_functions): Add sincos.
9609 (calc_generic_results): Handle mpfr_f_11.
9610 * sysdeps/i386/fpu/libm-test-ulps: Update.
9611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9612
83f5c32d
AS
96132013-12-19 Andreas Schwab <schwab@suse.de>
9614
9615 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9616 CALL_MCOUNT.
9617 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9618 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9619 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9620
c688b419
JM
96212013-12-19 Joseph Myers <joseph@codesourcery.com>
9622
335ee092
JM
9623 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9624 * sysdeps/i386/fpu/libm-test-ulps: Update.
9625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9626
f88acd39
JM
9627 [BZ #16293]
9628 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9629 round-to-nearest mode when using frndint.
9630 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9631 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9632 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9633 Likewise.
9634 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9635 sinh test to fail.
9636 * math/auto-libm-test-out: Regenerated.
9637 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9638 (TEST_COND_x86): Likewise.
9639 (expm1_tonearest_test_data): New array.
9640 (expm1_test_tonearest): New function.
9641 (expm1_towardzero_test_data): New array.
9642 (expm1_test_towardzero): New function.
9643 (expm1_downward_test_data): New array.
9644 (expm1_test_downward): New function.
9645 (expm1_upward_test_data): New array.
9646 (expm1_test_upward): New function.
9647 (main): Run the new test functions.
9648 * sysdeps/i386/fpu/libm-test-ulps: Update.
9649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9650
c688b419
JM
9651 * include/features.h: Update comment documenting feature test
9652 macros. Mention _DEFAULT_SOURCE in comment.
9653 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9654 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9655 _BSD_SOURCE and _SVID_SOURCE.
9656 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9657 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9658 !_SVID_SOURCE]: Likewise.
9659 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9660 (__USE_POSIX_IMPLICITLY): Define.
9661 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9662 (_POSIX_SOURCE): Undefine and redefine.
9663 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9664 (_POSIX_C_SOURCE): Likewise.
9665 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9666 (Feature Test Macros): Update documentation of default features.
9667
9f6e964c
RS
96682013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9669
9670 * benchtests/Makefile: Add bench-strtok.
9671 * benchtests/bench-strtok.c: New file: strtok benchtest.
9672
ee0a148a
AM
96732013-12-19 Allan McRae <allan@archlinux.org>
9674
9675 * manual/install.texi: Suppress menu for plain text output.
9676 * INSTALL: Regenerated.
9677
b9ab448f
BM
96782013-12-18 Brooks Moses <bmoses@google.com>
9679
9680 [BZ #15846]
9681 * misc/getauxval.c: Include errno.h.
9682 (__getauxval): Set errno to ENOENT if the requested type is not
9683 found.
9684 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9685 don't declare with __attribute_const__.
9686 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9687 * manual/startup.texi: Document that getauxval sets errno.
9688
23776487
JM
96892013-12-18 Joseph Myers <joseph@codesourcery.com>
9690
f889953b
JM
9691 * math/auto-libm-test-in: Add tests of jn and yn.
9692 * math/auto-libm-test-out: Regenerated.
9693 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9694 (yn_test_data): Likewise.
9695 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9696 mpfr_if_f.
9697 (func_calc_desc): Add mpfr_if_f union field.
9698 (FUNC_mpfr_if_f): New macro.
9699 (test_functions): Add jn and yn.
9700 (calc_generic_results): Assert type of second input for
9701 mpfr_ff_f. Handle mpfr_if_f.
9702 (output_for_one_input_case): Disable all checking for arguments
9703 fitting floating-point types in case of an integer argument.
9704 * sysdeps/i386/fpu/libm-test-ulps: Update.
9705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9706
23776487
JM
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9708 Don't expect fegetround reference in libm.so.
9709
cb756c6d
MS
97102013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9711
9712 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9713 $(config-cflags-nofma).
9714
2dec468f
JM
97152013-12-18 Joseph Myers <joseph@codesourcery.com>
9716
5953eb3a
JM
9717 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9718 * math/auto-libm-test-out: Regenerated.
9719
2dec468f
JM
9720 [BZ #16338]
9721 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9722 to determine exponent and adjust argument to have exponent of -1.
9723 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9724 log2.
9725 * math/auto-libm-test-out: Regenerated.
9726 * sysdeps/i386/fpu/libm-test-ulps: Update.
9727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9728
4d84e6ad
OB
97292013-12-18 Ondřej Bílka <neleai@seznam.cz>
9730
9731 * manual/probes.texi: Remove cases when per-thread arenas are
9732 disabled.
9733
1818483b
AS
97342013-12-18 Andreas Schwab <schwab@suse.de>
9735
9736 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9737 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9738 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9739 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9740 * sysdeps/i386/i686/multiarch/Makefile: Update.
9741 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9742
25de95bf
JM
97432013-12-17 Joseph Myers <joseph@codesourcery.com>
9744
9745 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9746 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9747
674762d9
PE
97482013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9749
ed27ed83 9750 [BZ #15968]
0748546f
PE
9751 Support TZ transition times < 00:00:00.
9752 This is needed for version-3 tz-format files; it supports time
9753 stamps past 2037 for America/Godthab (the only entry in the tz
9754 database for which this change is relevant).
9755 * manual/time.texi (TZ Variable): Document transition times
9756 from -167:59:59 through -00:00:01.
9757 * time/tzset.c (tz_rule): Time of day is now signed.
9758 (__tzset_parse_tz): Parse negative time of day.
9759
4480e934
PE
9760 Document TZ transition times >= 25:00:00.
9761 * manual/time.texi (TZ Variable): Document transition times from
9762 25:00:00 through 167:59:59. These are already supported, and this
9763 support will help with version-3 tz-format files.
9764
69947401
PE
9765 * manual/time.texi (TZ Variable): Modernize North America example
9766 to reflect current (i.e., 2007-and-later) daylight saving rules.
9767
674762d9
PE
9768 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9769
7011c262
JM
97702013-12-17 Joseph Myers <joseph@codesourcery.com>
9771
2fc6557e
JM
9772 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9773 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9774 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9775 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9776 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9777 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9778 * sysdeps/unix/bsd/clock.c: Likewise.
9779 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9780 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9781 * sysdeps/unix/bsd/init-posix.c: Likewise.
9782 * sysdeps/unix/bsd/poll.c: Likewise.
9783 * sysdeps/unix/bsd/ptsname.c: Likewise.
9784 * sysdeps/unix/bsd/seekdir.c: Likewise.
9785 * sysdeps/unix/bsd/setegid.c: Likewise.
9786 * sysdeps/unix/bsd/seteuid.c: Likewise.
9787 * sysdeps/unix/bsd/setgid.c: Likewise.
9788 * sysdeps/unix/bsd/setrgid.c: Likewise.
9789 * sysdeps/unix/bsd/setruid.c: Likewise.
9790 * sysdeps/unix/bsd/setsid.c: Likewise.
9791 * sysdeps/unix/bsd/setuid.c: Likewise.
9792 * sysdeps/unix/bsd/sigaction.c: Likewise.
9793 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9794 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9795 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9796 * sysdeps/unix/bsd/telldir.c: Likewise.
9797 * sysdeps/unix/bsd/times.c: Likewise.
9798 * sysdeps/unix/bsd/usleep.c: Likewise.
9799
029c7b25
JM
9800 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9801 ($(objpfx)libbsd-compat.a): Remove rule.
9802
7011c262
JM
9803 * include/features.h (__FAVOR_BSD): Do not define.
9804 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9805 features conflicting with POSIX.
9806 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9807 (_BSD_SOURCE): Remove description of not being a subset of other
9808 feature test macros.
9809 * manual/job.texi (getpgrp): Do not document BSD version.
9810 (getpgid): Do not document by reference to BSD getpgrp.
9811 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9812 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9813 * signal/signal.h [__FAVOR_BSD]: Likewise.
9814 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9815 instead of making contents conditional on [__FAVOR_BSD].
9816 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9817
affb6f78
AZ
98182013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9819
9820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9821
c88769dd
JM
98222013-12-17 Joseph Myers <joseph@codesourcery.com>
9823
6432a540
JM
9824 [BZ #16314]
9825 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9826 values below 2**-450, not 2**-500.
9827 * math/auto-libm-test-in: Don't allow spurious underflow from
9828 hypot.
9829 * math/auto-libm-test-out: Regenerated.
9830
c88769dd
JM
9831 [BZ #16316]
9832 [BZ #16330]
9833 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9834 values of ha and hb and sort them after adjusting subnormal
9835 arguments.
9836 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9837 Likewise.
9838 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9839 values of ea and eb and sort them after adjusting subnormal
9840 arguments.
9841 * math/auto-libm-test-in: Do not expect some hypot tests of
9842 subnormals to fail. Add more hypot tests.
9843 * math/auto-libm-test-out: Regenerated.
9844
29618f6b
KK
98452013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9846
9847 [BZ #13304]
9848 * sysdeps/sh/s_fma.c: New file.
9849 * sysdeps/sh/s_fmaf.c: New file.
9850 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9851 version.
9852 * sysdeps/sh/Implies: Add sh/soft-fp.
9853
eacfdfbf
RM
98542013-12-16 Roland McGrath <roland@hack.frob.com>
9855
9856 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9857 level of indirection to members `objname', `errstring', `malloced'.
9858 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9859 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9860 it as the __longjmp argument (just pass 1 instead).
9861 (_dl_catch_error): Initialize C with argument pointers and address of
9862 volatile local ERRCODE rather than copying values out of C at return.
9863
ff362e5b
JM
98642013-12-16 Joseph Myers <joseph@codesourcery.com>
9865
9866 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9867 * math/auto-libm-test-out: Regenerated.
9868 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9869 (hypot_test_data): Likewise.
9870 (pow_test_data): Likewise.
9871 (pow_tonearest_test_data): Likewise.
9872 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9873 mpfr_ff_f.
9874 (func_calc_desc): Add mpfr_ff_f union field.
9875 (FUNC_mpfr_ff_f): New macro.
9876 (test_functions): Add atan2, hypot and pow.
9877 (special_fill_min): New function.
9878 (special_fill_minus_min): Likewise.
9879 (special_fill_min_subnorm): Likewise.
9880 (special_fill_minus_min_subnorm): Likewise.
9881 (special_real_inputs): Add min, -min, min_subnorm and
9882 -min_subnorm.
9883 (calc_generic_results): Handle mpfr_ff_f.
9884 * sysdeps/i386/fpu/libm-test-ulps: Update.
9885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9886
5764c27f
WN
98872013-12-16 Will Newton <will.newton@linaro.org>
9888
9889 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9890 (Aligned Memory Blocks): Add documentation for aligned_alloc
9891 and suggest it as an alternative to posix_memalign.
9892 (Hooks for Malloc): Document __memalign_hook is also called
9893 for aligned_alloc. (Summary of Malloc): Add summary for
9894 aligned alloc. Document __memalign_hook is also called
9895 for aligned_alloc.
9896
0a096e44
WN
98972013-12-16 Will Newton <will.newton@linaro.org>
9898
9899 * manual/memory.texi (Malloc Examples): Clarify default
9900 alignment documentation. Suggest posix_memalign rather
9901 than memalign or valloc.
9902 (Aligned Memory Blocks): Remove suggestion to use memalign
9903 or valloc. Remove obsolete comment about BSD.
9904 Document memalign errno values and mark the function obsolete.
9905 Document posix_memalign returned error codes. Mark valloc
9906 as obsolete. (Hooks for Malloc): __memalign_hook is also
9907 called for posix_memalign and valloc.
9908 (Summary of Malloc): Add posix_memalign to function summary.
9909 __memalign_hook is also called for posix_memalign and valloc.
9910
8d561986
SP
99112013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9912
9913 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9914 TAYLOR_SIN.
9915 (__sin): Adjust.
9916 (__cos): Likewise.
9917 (sloww): Use mynumber union. Expand ternary operator into
9918 if-else statements.
9919 (cslow): use mynumber union.
9920
73616a74
AM
99212013-12-16 Allan McRae <allan@archlinux.org>
9922
9e8ac24b
AM
9923 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9924 * configure: Regenerated.
9925
6f8e37eb
AM
9926 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9927
8894bad3
AM
9928 [BZ #14120]
9929 * configure.ac: Added --enable-maintainer-mode. Check for
9930 autoconf when enabled.
9931 * configure: Regenerated.
9932
73616a74
AM
9933 * nscd/nscd.service: New file.
9934 * nscd/nscd.tmpfiles: New file.
9935
584b18eb
OB
99362013-12-14 Ondřej Bílka <neleai@seznam.cz>
9937
9938 [BZ #12100]
9939 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9940 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9941 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9942 (strstr): Add __strstr_sse2_unaligned ifunc.
9943 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9944 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9945 (strcasestr): Remove __strcasestr_sse42 ifunc.
9946 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9949
8a5c7897
KK
99502013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9951
9952 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9953 * sysdeps/sh/bits/fenv.h: ... here.
9954 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9955
fd712ef3
AZ
99562013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9957
9958 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9959
42fcb46c
AZ
9960 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9961 hypotf multiarch implementations.
9962 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9963 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9964 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9965 multiarch hypot for PPC64.
9966 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9969 multiarch hypotf for PPC64.
9970
83efded4
AZ
9971 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9972 modff multiarch implementations.
9973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9976 multiarch modf for PPC64.
9977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9980 multiarch modff for PPC64.
9981
43e246d2
AZ
9982 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9983 and logl multiarch implementations.
9984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9987 multiarch logb for PPC64.
9988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9991 multiarch logb for PPC64.
9992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9995 multiarch logb for PPC64.
9996
8fdad123
AZ
9997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9998 isinff multiarch implementation.
9999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10000 file.
10001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10003 multiarch isinf for PPC64.
10004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10005 file.
10006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10007 multiarch isinff for PPC64.
10008
1481d706
AZ
10009 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10010 finitef multiarch implementation.
10011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10012 file.
10013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10015 multiarch finite for PPC64.
10016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10017 file.
10018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10019 multiarch finitef for PPC64.
10020
5ccd5fc8
AZ
10021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10022 lrint multiarch implementation.
10023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10024 file.
10025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10027 multiarch llrint for PPC64.
10028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10029 multiarch lrint for PPC64.
10030
2568f3fa
AZ
10031 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10032 copysignf multiarch implementation.
10033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10034 file.
10035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10036 file.
10037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10038 multiarch copysign for PPC64.
10039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10040 multiarch copysignf for PPC64.
10041
1cb341fd
AZ
10042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10043 multiarch implementation.
10044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10045 file.
10046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10047 file.
10048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10049 file.
10050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10051 file.
10052 multiarch llround for PPC64.
10053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10054 multiarch trunc for PPC64.
10055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10056 multiarch truncf for PPC64.
10057
59a3e194
AZ
10058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10059 multiarch implementation.
10060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10061 file.
10062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10063 file.
10064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10065 file.
10066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10067 file.
10068 multiarch llround for PPC64.
10069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10070 multiarch round for PPC64.
10071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10072 multiarch roundf for PPC64.
10073
357fd3b4
AZ
10074 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10075 multiarch implementation.
10076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10077 file.
10078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10079 file.
10080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10081 file.
10082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10083 file.
10084 multiarch llround for PPC64.
10085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10086 multiarch floor for PPC64.
10087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10088 multiarch floorf for PPC64.
10089
96770f12
AZ
10090 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10091 multiarch implementation.
10092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10093 file.
10094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10095 file.
10096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10097 file.
10098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10099 file.
10100 multiarch llround for PPC64.
10101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10102 multiarch ceil for PPC64.
10103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10104 multiarch ceilf for PPC64.
10105
c3627f6e
AZ
10106 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10107 multiarch implementation.
10108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10109 file.
10110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10111 file.
10112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10113 file.
10114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10115 multiarch llround for PPC64.
10116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10117 multiarch lround for PPC64.
10118
b2284ad7
AZ
10119 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10120 multiarch implementation.
10121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10124 file.
10125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10128 multiarch isnan for PPC64.
10129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10130 multiarch isnanf for PPC64.
10131
69bbc63d
AZ
10132 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10133 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10134 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10135 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10136 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10138
c24517c9
AZ
10139 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10140 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10141 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10142 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10143
a52374e8
AZ
10144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10145 multiarch implementations.
10146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10147 (__libc_ifunc_impl_list): Likewise.
10148 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10149 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10150 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10151 multiarch stpcpy for PPC64.
10152
7f5ec113
AZ
10153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10154 multiarch implementations.
10155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10156 (__libc_ifunc_impl_list): Likewise.
10157 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10158 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10159 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10160 multiarch strcpy for PPC64.
10161
e28bcd42
AZ
10162 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10163 redefine function name.
10164 (_wordcopy_fwd_dest_aligned): Likewise.
10165 (_wordcopy_bwd_aligned): Likewise.
10166 (_wordcopy_bwd_dest_aligned): Likewise.
10167 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10168 multiarch implementations.
10169 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10170 (__libc_ifunc_impl_list): Likewise.
10171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10172 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10173 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10174 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10175 multiarch wcscpy for PPC64.
10176
92cacfce
AZ
10177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10178 multiarch implementations.
10179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10180 (__libc_ifunc_impl_list): Likewise.
10181 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10182 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10183 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10184 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10185 multiarch wcscpy for PPC64.
10186
7b714620
AZ
10187 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10188 multiarch implementations.
10189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10190 (__libc_ifunc_impl_list): Likewise.
10191 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10192 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10193 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10194 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10195 multiarch wcsrchr for PPC64.
10196
16fd2ae3
AZ
10197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10198 multiarch implementations.
10199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10200 (__libc_ifunc_impl_list): Likewise.
10201 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10202 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10203 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10204 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10205 multiarch wcschr for PPC64.
10206
9ee2969b
AZ
10207 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10208 multiarch implementations.
10209 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10210 (__libc_ifunc_impl_list): Likewise.
10211 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10212 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10213 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10214 multiarch strchrnul for PPC64.
10215
372dc060
AZ
10216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10217 implementations.
10218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10219 (__libc_ifunc_impl_list): Likewise.
10220 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10221 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10222 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10223 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10224 strchr for PPC64.
10225
24c2c3b9
AZ
10226 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10227 implementations.
10228 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10229 (__libc_ifunc_impl_list): Likewise.
10230 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10231 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10232 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10233 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10234 strncmp for PPC64.
10235
1c92d9a0
AZ
10236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10237 multiarch implementations.
10238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10239 (__libc_ifunc_impl_list): Likewise.
10240 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10241 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10242 strncasecmp for PPC64.
10243 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10244 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10245 multiarch strncasecmp_l for PPC64.
10246
17de3ee3
AZ
10247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10248 multiarch implementations.
10249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10250 (__libc_ifunc_impl_list): Likewise.
10251 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10252 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10253 multiarch strcasecmp for PPC64.
10254 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10255 file.
10256 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10257 multiarch strcasecmp_l for PPC64.
10258
62982bf9
AZ
10259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
10260 implementations.
10261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10262 (__libc_ifunc_impl_list): Likewise.
10263 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
10264 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
10265 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
10266 strnlen for PPC64.
10267
a65f4904
AZ
10268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
10269 implementations.
10270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10271 (__libc_ifunc_impl_list): Likewise.
10272 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
10273 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
10274 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
10275 strlen for PPC64.
10276
1fd005ad
AZ
10277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
10278 implementations.
10279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10280 (__libc_ifunc_impl_list): Likewise.
10281 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
10282 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
10283 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
10284 rawmemrchr for PPC64.
10285
cd05ba91
AZ
10286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
10287 implementation.
10288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10289 (__libc_ifunc_impl_list): Likewise.
10290 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
10291 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
10292 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
10293 memrchr for PPC64.
10294
870f8676
AZ
10295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
10296 implementation.
10297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10298 (__libc_ifunc_impl_list): Likewise.
10299 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
10300 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
10301 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
10302 memchr for PPC64.
10303
f00be62b
AZ
10304 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
10305 implementation.
10306 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10307 (__libc_ifunc_impl_list): Likewise.
10308 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
10309 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
10310 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
10311 mempcpy for PPC64.
10312
8a29a3d0
AZ
10313 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
10314 avoid cretion of __bzero symbol.
10315 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
10316 Likewise.
10317 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
10318 Likewise.
10319 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10320 Likewise.
10321 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
10322 multiarch implementations.
10323 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10324 (__libc_ifunc_impl_list): Likewise.
10325 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
10326 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
10327 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
10328 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
10329 bzero for PPC32.
10330 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
10331 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
10332 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
10333 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
10334 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
10335 memset for PPC64.
10336 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
10337
07253fcf
AZ
10338 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
10339 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
10340 implementations.
10341 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10342 (__libc_ifunc_impl_list): Likewise.
10343 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
10344 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
10345 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
10346 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
10347 memcmp for PPC64.
10348
b5beafbc
AZ
10349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
10350 multiarch for POWER/PPC64.
10351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10352 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
10353 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
10354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
10355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
10356 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
10357 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
10358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
10359 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
10360 memcpy for PPC64.
10361
5e6a4d4b
AZ
10362 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
10363 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
10364 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
10365 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
10366 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
10367 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
10368 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10369 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
10370 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
10371 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
10372 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
10373 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
10374 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
10375 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
10376 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
10377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
10379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
10380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
10381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
10383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
10384
ddfab6dc
KK
103852013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10386
10387 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
10388
19b5525e
SP
103892013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10390
10391 * benchtests/Makefile (bench): Add exp2 and log2.
10392 (LDLIBS-bench-exp2): Add -lm.
10393 (LDLIBS-bench-log2): Likewise.
10394 * benchtests/exp2-inputs: New inputs file.
10395 * benchtests/log2-inputs: New inputs file.
10396 * benchtests/log-inputs: Add new inputs.
10397 * benchtests/tan-inputs: Likewise.
10398
196f7f5d
SP
103992013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10400
7a74607f
SP
10401 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10402 definition...
57f41c40
AS
10403 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10404 (csloww2): ... from here.
7a74607f 10405
196f7f5d
SP
10406 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10407 instead of structures.
10408 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10409 (POLYNOMIAL): Likewise.
10410 (TAYLOR_SLOW): Likewise.
10411 (__sin): Likewise.
10412 (__cos): Likewise.
10413 (slow1): Likewise.
10414 (slow2): Likewise.
10415 (sloww): Likewise.
10416 (sloww1); Likewise.
10417 (sloww2): Likewise.
10418 (bsloww1): Likewise.
10419 (bsloww2): Likewise.
10420 (cslow2): Likewise.
10421 (csloww): Likewise.
10422 (csloww1): Likewise.
10423 (csloww2): Likewise.
10424
0dfa665c
OB
104252013-12-10 Ondřej Bílka <neleai@seznam.cz>
10426
10427 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
10428 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10429 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
10430 * malloc/hooks.c (realloc_check): Likewise.
10431
5782a80f
OB
10432 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10433 * malloc/arena.c: Remove PER_THREAD conditional.
10434 [!PER_THREAD]: Remove code.
10435 (ptmalloc_unlock_all2): Likewise.
10436 (ptmalloc_init): Likewise.
10437 (_int_new_arena): Likewise.
10438 (arena_get2): Likewise.
10439 * malloc/hooks.c (__malloc_get_state): Likewise.
10440 (__malloc_set_state): Likewise.
10441 * malloc/malloc.c: Likewise.
10442 (struct malloc_state): Likewise.
10443 (struct malloc_par): Likewise.
10444 (__libc_realloc): Likewise.
10445 (__libc_mallopt): Likewise.
10446
aeb95445
AZ
104472013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10448
10449 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10450
e8349efd
OB
104512013-12-09 Ondřej Bílka <neleai@seznam.cz>
10452
10453 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10454 macro to a function. Check for zero perturb_byte.
10455 (_int_malloc, _int_free): Remove zero perturb_byte checks.
10456
f3eeb3fc 10457 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
10458 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10459 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
10460 force_reg by atomic_forced_read.
10461 * malloc/arena.c (ptmalloc_init): Likewise.
10462 * malloc/hooks.c (top_check): Likewise.
10463
be2f9009
AZ
104642013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10465
10466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10467
e7b914bd
MT
104682013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
10469
10470 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10471
9f0be4f8
JM
104722013-12-08 Joseph Myers <joseph@codesourcery.com>
10473
10474 * math/auto-libm-test-in: Add tests of lgamma.
10475 * math/auto-libm-test-out: Regenerated.
10476 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10477 (M_LOG_2_SQRT_PIl): Likewise.
10478 (lgamma_test_data): Use AUTO_TESTS_f_f1.
10479 * math/gen-auto-libm-tests.c (func_calc_method): Add value
10480 mpfr_f_f1.
10481 (func_calc_desc): Add mpfr_f_f1 union field.
10482 (ARGS1): New macro.
10483 (ARGS2): Likewise.
10484 (ARGS3): Likewise.
10485 (ARGS4): Likewise.
10486 (RET1): Likewise.
10487 (RET2): Likewise.
10488 (CALC): Likewise.
10489 (FUNC): Likewise.
10490 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10491 (test_functions): Add lgamma.
10492 (calc_generic_results): Handle mpfr_f_f1.
10493 * sysdeps/i386/fpu/libm-test-ulps: Update.
10494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10495
24eeafdb
AZ
104962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10497
10498 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10499 __mpn_add_n for PowerPC64/POWER7.
10500 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10501 __mpn_sub_n for PowerPC64/POWER7.
10502
4a2c0fd4
AZ
10503 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10504 __mpn_addmul_1 for PowerPC64.
10505 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10506 __mpn_submul_1 for PowerPC64.
10507 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10508 for PowerPC64.
10509 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10510 for PowerPC64.
10511
4b5b548c
FS
105122013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
10513
10514 [BZ #15089]
10515 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10516
0a3ac0aa
AZ
105172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10518
10519 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10520
ccdc8438
AZ
10521 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10522 add multiarch folders.
10523 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10524 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10525 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10526 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10527 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10528 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10529 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10530 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10531 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10532 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10533 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10540
2e973d99
AZ
10541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10542 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10544 New file.
10545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10546 New file.
10547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10548 multiarch __ieee754_hypot for PowerPC32.
10549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10550 New file.
10551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10552 New file.
10553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10554 multiarch __ieee754_hypotf for PowerPC32.
10555
2d9470b2
AZ
10556 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10557 long_double_symbol only if __logbl is defined.
10558 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10559 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10561 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10563 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10564 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10565 path for implementation.
10566 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10567 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10569 logb, and logbl multiarch implementations for PowerPC32.
10570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10571 file.
10572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10573 file.
10574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10575 multiarch logb for PowerPC32.
10576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10577 file.
10578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10579 file.
10580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10581 multiarch logbf for PowerPC32.
10582 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10584 file.
10585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10586 multiarch logbl implementation for PowerPC32.
10587
5212ffce
AZ
10588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10589 and modff multiarch implementations.
10590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10591 New file.
10592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10593 New file.
10594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10595 multiarch modf for PowerPC32.
10596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10597 New file.
10598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10599 New file.
10600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10601 multiarch modff for PowerPC32.
10602
79dccf31
AZ
10603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10604 and lrintf multiarch implementations.
10605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10606 New file.
10607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10608 New file.
10609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10610 multiarch lrint for PowerPC32.
10611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10612 file: multiarch lrintf for PowerPC32.
10613
deb66480
AZ
10614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10615 and lroundf multiarch implementations.
10616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10617 New file.
10618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10619 New file.
10620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10621 New file.
10622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10623 multiarch lround for PowerPC32.
10624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10625 file: multiarch lroundf for PowerPC32.
10626
264b036b
AZ
10627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10628 copysign and copysignf multiarch implementations.
10629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10630 New file.
10631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10632 New file.
10633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10634 file: multiarch copysign for PowerPC32.
10635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10636 file: multiarch copysignf for PowerPC32.
10637
d47db6c9
AZ
10638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10639 and truncf multiarch implementations.
10640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10641 New file.
10642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10643 file.
10644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10645 multiarch trunc for PowerPC32.
10646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10647 New file.
10648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10649 New file.
10650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10651 multiarch truncf for PowerPC32.
10652
ddb60b5a
AZ
10653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10654 and roundf multiarch implementations.
10655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10656 New file.
10657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10658 file.
10659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10660 multiarch round for PowerPC32.
10661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10662 New file.
10663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10664 New file.
10665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10666 multiarch roundf for PowerPC32.
10667
bedcf49b
AZ
10668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10669 and floorf multiarch implementations.
10670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10671 New file.
10672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10673 file.
10674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10675 multiarch floor for PowerPC32.
10676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10677 New file.
10678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10679 New file.
10680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10681 multiarch floorf for PowerPC32.
10682
35ae5b40
AZ
10683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10684 and ceilf multiarch implementations.
10685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10686 New file.
10687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10688 file.
10689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10690 multiarch ceil for PowerPC32.
10691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10692 New file.
10693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10694 file.
10695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10696 multiarch ceilf for PowerPC32.
10697
ae1a4cd9
AZ
10698 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10699 is defined.
10700 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10701 FINITEF is defined.
10702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10703 and finitef multiarch implementations.
10704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10705 New file.
10706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10707 file.
10708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10709 multiarch finite for PowerPC32.
10710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10711 New file.
10712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10713 file: multiarch finitef for PowerPC32.
10714
64fffd65
AZ
10715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10716 and isinff multiarch implementations.
10717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10718 file.
10719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10720 file.
10721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10722 multiarch isinf for PowerPC32.
10723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10724 New file.
10725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10726 multiarch isinff for PowerPC32.
10727
8e4e7ba2
AZ
10728 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10729 alias when __isnan is defined.
10730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10731 and isnanf multiarch implementations.
10732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10733 file.
10734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10735 file.
10736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10737 file.
10738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10739 file.
10740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10741 multiarch isnan for PowerPC32.
10742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10743 New file.
10744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10745 New file.
10746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10747 multiarch isnanf for PowerPC32.
10748
ddba588e
AZ
10749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10750 and sqrtf multiarch implementations.
10751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10752 file.
10753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10754 file.
10755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10756 multiarch sqrt for PowerPC32.
10757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10758 file.
10759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10760 file.
10761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10762 multiarch sqrtf for PowerPC32.
10763
0f96a2f0
AZ
10764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10765 and llroundf multiarch implementations.
10766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10767 New file.
10768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10769 New file.
10770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10771 New file.
10772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10773 file: multiarch llround for PowerPC32.
10774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10775 file: multiarch llroundf for PowerPC32.
10776
c9b5d79e
AZ
10777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10778 multiarch PowerPC32 fpu implementations.
10779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10780 New file.
10781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10782 New file.
10783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10784 multiarch llrint for PowerPC32.
10785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10786 New file.
10787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10788 New file.
10789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10790 file.
10791
9cbb3aab
AZ
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10793
ea5a72f8
AZ
10794 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10795 file.
10796 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10797 file.
10798 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10799 file.
10800 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10801 multiarch wordcopy for PPC32.
10802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10803 wordcopy objects.
10804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10805 (__libc_ifunc_impl_list): Likewise.
10806 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10807 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10808 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10809 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10810 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10811 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10812
93be09e7
AZ
10813 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10815 file.
10816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10817 file.
10818 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10819 file.
10820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10821 multiarch wcscpy for PPC32.
10822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10823 multiarch objects.
10824 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10825 (__libc_ifunc_impl_list): Likewise.
10826 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10827 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10828 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10829 sysdeps/powerpc/power6/wcscpy.c.
10830
bb04e529
AZ
10831 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10832 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10833 file.
10834 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10835 file.
10836 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10837 file.
10838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10839 multiarch wcsrchr for PPC32.
10840 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10841 multiarch objects.
10842 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10843 (__libc_ifunc_impl_list): Likewise.
10844 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10845 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10846 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10847 sysdeps/powerpc/power6/wcsrchr.c.
10848
05b5cd1c
AZ
10849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10850 file.
10851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10852 file.
10853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10855 multiarch wcschr for PPc32.
10856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10857 multiarch objects.
10858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10859 (__libc_ifunc_impl_list): Likewise.
10860 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10861 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10862 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10863 sysdeps/powerpc/power6/wcschr.c.
10864
ba964147
AZ
10865 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10866 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10867 file.
10868 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10869 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10870 file: multiarch strchr for PPC32.
10871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10872 multiarch objects.
10873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10874 (__libc_ifunc_impl_list): Likewise.
10875
31c81aaa
AZ
10876 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10877 name.
10878 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10879 file.
10880 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10881 file.
10882 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10883 multiarch strchrnul for PPC32.
10884 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10885 multiarch objects.
10886 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10887 (__libc_ifunc_impl_list): Likewise.
10888
0d0607d9
AZ
10889 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10890 file.
10891 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10892 multiarch strncasecmp for PPC32.
10893 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10894 file.
10895 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10896 multiarch strncasecmp_l for PPC32.
10897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10898 strncasecmp multiarch objects.
10899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10900 (__libc_ifunc_impl_list): Likewise.
10901
4dfd5c86
AZ
10902 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10903 file.
10904 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10905 multiarch strncasecmp for PPC32.
10906 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10907 New file.
10908 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10909 multiarch strcasecmp_l for PPC32.
10910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10911 multiarch objects.
10912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10913 (__libc_ifunc_impl_list): Likewise.
10914
a19e01a3
AZ
10915 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10916 file.
10917 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10918 file.
10919 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10920 multiarch strncmp for PPC32.
10921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10922 multiarch objects.
10923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10924 (__libc_ifunc_impl_list): Likewise.
10925
ae9cf7a2
AZ
10926 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10927 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10928 file.
10929 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10930 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10932 multiarch objects.
10933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10934 (__libc_ifunc_impl_list): Likewise.
10935
3148bb7d
AZ
10936 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10937 file.
10938 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10939 file.
10940 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10941 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10942 multiarch objects.
10943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10944 (__libc_ifunc_impl_list): Likewise.
10945
7af8b946
AZ
10946 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10947 file.
10948 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10949 file.
10950 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10951 multiarch rawmemchr for PPC32.
10952 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10953 multiarch objects.
10954 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10955 (__libc_ifunc_impl_list): Likewise.
10956
03a6aa6a
AZ
10957 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10958 file.
10959 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10960 file.
10961 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10962 file: memrchr multiarch for PPC32.
10963 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10964 multiarch objects.
10965 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10966 (__libc_ifunc_impl_list): Likewise.
10967
1c62e6d9
AZ
10968 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10969 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10970 file.
10971 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10972 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10973 multiarch memchr for PPC32.
10974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10975 multiarch objects.
10976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10977 (__libc_ifunc_impl_list): Likewise.
10978
87da8bdb
AZ
10979 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10980 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10981 file.
10982 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10983 file.
10984 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10985 file: multiarch mempcpy for PPC32.
10986 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10987 multiarch objects.
10988 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10989 (__libc_ifunc_impl_list): Likewise.
10990
20ed4714
AZ
10991 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10992 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10993 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10994 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10995 multiarch bzero for PPC32.
10996 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10997 file.
10998 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10999 file.
11000 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11001 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11002 file: multiarch memset for PPC32.
11003 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11005 memset multiarch objects.
11006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11007 (__libc_ifunc_impl_list): Likewise.
11008
ab3e3a46
AZ
11009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11010 file.
11011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11013 memcmp for PPC32.
11014 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11016 multiarch objects.
11017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11018 (__libc_ifunc_impl_list): Likewise.
11019
930de6f0
AZ
11020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11023 file.
11024 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11025 file.
11026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11027 file.
11028 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11029 multiarch memcpy for PPC32.
11030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11031 multiarch objects.
11032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11033 (__libc_ifunc_impl_list): Likewise.
11034
4c628e00
AZ
11035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11036 support multiarch for POWER/PPC32.
11037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11038 Likewise.
11039 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11041 Implies file to make multiarch folder appers before the fpu and
11042 default folder for power4 configuration.
11043
f4479220
SP
110442013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11045
11046 * scripts/bench.pl: Append volatile keyword to type.
11047
8517800f
KK
110482013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11049
11050 * sysdeps/sh/sotruss-lib.c: New file.
11051 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11052
180138f1
AZ
110532013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11054
11055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11056
bbf37bdc
JM
110572013-12-05 Joseph Myers <joseph@codesourcery.com>
11058
e47cc4e0
JM
11059 [BZ #6810]
11060 * math/w_tgamma.c: Include <errno.h>.
11061 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
11062 * math/w_tgammaf.c: Include <errno.h>.
11063 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
11064 * math/w_tgammal.c: Include <errno.h>.
11065 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
11066 * math/auto-libm-test-in: Do not allow missing errno on tgamma
11067 underflow. Add more tgamma tests.
11068 * math/auto-libm-test-out: Regenerated.
11069 * sysdeps/i386/fpu/libm-test-ulps: Update.
11070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11071
bbf37bdc
JM
11072 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11073 sin, sinh, tan, tanh, tgamma, y0 and y1.
11074 * math/auto-libm-test-out: Regenerated.
11075 * math/libm-test.inc (TEST_COND_x86_64): New macro.
11076 (TEST_COND_x86): Likewise.
11077 (M_E2l): Remove macro.
11078 (M_E3l): Likewise.
11079 (M_2_SQRT_PIl): Likewise.
11080 (M_SQRT_PIl): Likewise.
11081 (M_1_DIV_El): Likewise.
11082 (log_test_data): Use AUTO_TESTS_f_f.
11083 (log10_test_data): Likewise.
11084 (log1p_test_data): Likewise.
11085 (log2_test_data): Likewise.
11086 (sin_test_data): Likewise.
11087 (sin_tonearest_test_data): Likewise.
11088 (sin_towardzero_test_data): Likewise.
11089 (sin_downward_test_data): Likewise.
11090 (sin_upward_test_data): Likewise.
11091 (sinh_test_data): Likewise.
11092 (sinh_tonearest_test_data): Likewise.
11093 (sinh_towardzero_test_data): Likewise.
11094 (sinh_downward_test_data): Likewise.
11095 (sinh_upward_test_data): Likewise.
11096 (tan_test_data): Likewise.
11097 (tan_tonearest_test_data): Likewise.
11098 (tan_towardzero_test_data): Likewise.
11099 (tan_downward_test_data): Likewise.
11100 (tan_upward_test_data): Likewise.
11101 (tanh_test_data): Likewise.
11102 (tgamma_test_data): Likewise.
11103 (y0_test_data): Likewise.
11104 (y1_test_data): Likewise.
11105 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11106 (special_real_inputs): Add pi/4.
11107 * sysdeps/i386/fpu/libm-test-ulps: Update.
11108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11109
eb5ad6b9
AZ
111102013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11111
11112 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11113 "longjmp_target" static probes.
11114 (__longjmp): Rename to __longjmp_symbol.
11115 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11116 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11117 on which longjmp to generate.
11118 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11119 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11120 probe.
11121 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11122 (__sigjmp_save): Rename to __sigjmp_save_symbol.
11123 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11124 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11125 and __sigjmp_save_symbol based on which sigsetjmp to generated.
11126 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11128 __longjmp_symbol based on which __longjmp to generate.
11129 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11130 probe.
11131 (setjmp): Rename to setjmp_symbol.
11132 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11133 (_setjmp): Rename to _setjmp_symbol.
11134 (__sigsetjmp): Rename to __sigsetjmp_symbol.
11135 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11136 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11137 which setjmp to generate.
11138 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11139 "longjmp_target" static probes.
11140
d136c6dc
SP
111412013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11142
9298ecba
SP
11143 * benchtests/README: Add note about output arguments.
11144 * benchtests/bench-sincos.c: Remove file.
11145 * benchtests/sincos-inputs: New file.
11146 * scripts/bench.pl: Identify output arguments and define
11147 static variables for them.
11148
232983e9
SP
11149 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11150
d136c6dc
SP
11151 [BZ #15941]
11152 * Makefile (INSTALL): Add install-plain.texi as the primary
11153 dependency.
11154 * manual/install-plain.texi: New file.
11155 * manual/install.texi: Include node directive only for
11156 non-plaintext output.
11157
699ff837
JM
111582013-12-04 Joseph Myers <joseph@codesourcery.com>
11159
ab07cea8
JM
11160 * stdlib/longlong.h: Update from GCC.
11161
699ff837
JM
11162 [BZ #6807]
11163 [BZ #15901]
11164 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11165 * math/w_j0f.c (y0f): Likewise.
11166 * math/w_j0l.c (__y0l): Likewise.
11167 * math/w_j1.c (y1): Likewise.
11168 * math/w_j1f.c (y1f): Likewise.
11169 * math/w_j1l.c (__y1l): Likewise
11170 * math/w_jn.c (yn): Likewise.
11171 * math/w_jnf.c (ynf): Likewise.
11172 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11173 Bessel function pole errors in _POSIX_ mode. Use NAN as return
11174 value for Bessel function domain errors outside _SVID_ mode.
11175 Adjust sign of return value for yn (negative integer, 0).
11176 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11177 by zero in return for negative x and set sign appropriately for
11178 negative n.
11179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11180 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11181 * math/libm-test.inc (y0_test_data): Add more tests and adjust
11182 expectations in error cases.
11183 (y1_test_data): Likewise.
11184 (yn_test_data): Likewise.
11185 * sysdeps/i386/fpu/libm-test-ulps: Update.
11186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11187
5b118558
UW
111882013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11189
11190 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11191 "64" to "64-v1". Add "64-v2".
11192 (abi-64-options): Rename to ...
11193 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
11194 (abi-64-condition): Rename to ...
11195 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
11196 (abi-64-ld-soname): Rename to ...
11197 (abi-64-v1-ld-soname): ... this.
11198 (abi-64-v2-options): Define.
11199 (abi-64-v2-condition): Likewise.
11200 (abi-64-v2-ld-soname): Likewise.
11201 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11202 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11206
61cd8fe4
UW
112072013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11208 Alan Modra <amodra@gmail.com>
11209
11210 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11211 New versions for use with the ELFv2 ABI.
11212 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11213 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11214 declaration.
11215 (struct La_ppc64v2_retval): Likewise.
11216 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11217 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11218 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11219 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11220 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11221 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11222 Do not save or restore CR.
11223 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11224 (_dl_profile_resolve): Do no save or restore CR. Support extended
11225 return values for ELFv2 ABI. Fix location of FPR return registers.
11226 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11227 updated values for _CALL_ELF == 2.
11228 (La_regs, La_retval, int_retval): Likewise.
11229
8b8a692c
UW
112302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11231
11232 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11233 (FRAME_MIN_SIZE_PARM): Likewise.
11234 (FRAME_BACKCHAIN): Likewise.
11235 (FRAME_CR_SAVE): Likewise.
11236 (FRAME_LR_SAVE): Likewise.
11237 (FRAME_TOC_SAVE): Likewise.
11238 (FRAME_PARM_SAVE): Likewise.
11239 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11240 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11241 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11242 (call_mcount_parm_offset): New macro.
11243 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11244 (PROF): Use symbolic stack frame offsets.
11245 (TAIL_CALL_SYSCALL_ERROR): Likewise.
11246 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11247 Redefine in terms of FRAME_MIN_SIZE.
11248 (_dl_runtime_resolve): Use symbolic stack frame offsets.
11249 (_dl_profile_resolve): Likewise. Update comment.
11250 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11251 symbols stack frame offsets.
11252 (__sigsetjmp): Likewise.
11253 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11254 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11255 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11256 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
11257
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
11259 (FRAME_BACKCHAIN): Remove.
11260 (FRAME_CR_SAVE): Likewise.
11261 (FRAME_LR_SAVE): Likewise.
11262 (FRAME_COMPILER_DW): Likewise.
11263 (FRAME_LINKER_DW): Likewise.
11264 (FRAME_TOC_SAVE): Likewise.
11265 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
11266 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
11267 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
11268 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
11270 (CHECK_SP): Use symbolic stack frame offsets.
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
11272 zone" instead of caller's parameter save area for temp storage.
11273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11274 Likewise. Also, use symbolic stack frame offsets.
11275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
11276 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
11277 our own stack frame instead of the caller's.
11278 (__socket): Use symbolic stack frame offsets.
11279
122b66de
UW
112802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11281 Alan Modra <amodra@gmail.com>
11282
11283 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
11284 Define.
57f41c40
AS
11285 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
11286 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
11287 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
11288 New function.
11289 (elf_machine_fixup_plt): Call it.
11290 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
11291 reloc arguments.
11292 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
11293 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11294 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
11295 r2 before calling target.
11296
696caf1d
UW
112972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11298 Alan Modra <amodra@gmail.com>
11299
11300 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
11301 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
11302 versions of macros to support ELFv2 ABI.
11303 (LOCALENTRY): New macro.
11304 (ENTRY, EALIGN): Use it.
11305 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
11306 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
11307 fall through into ENTRY entry point.
11308 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
11309 Only define if _CALL_ELF != 2.
11310
11311 (elf_machine_matches_host): Verify ABI version matches.
11312 (RTLD_START): Use LOCALENTRY.
11313 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
11314 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
11315 (PLT_ENTRY_WORDS): New macro.
11316 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
11317 (elf_machine_runtime_setup): Support ELFv2 ABI.
11318 (elf_machine_fixup_plt): Likewise.
11319 (elf_machine_plt_conflict): Likewise.
11320 (resolve_ifunc): Likewise.
11321 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11322 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11323 Likewise.
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
11325 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11327 (makecontext): Support ELFv2 ABI.
11328 * elf/elf.h (EF_PPC64_ABI): Define.
11329
d31beafa
UW
113302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11331
57f41c40
AS
11332 * sysdeps/powerpc/powerpc64/sysdep.h
11333 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
11334 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
11335 (ENTRY) [ASSEMBLER]: ... but instead here ...
11336 (EALIGN) [ASSEMBLER]: ... and here.
11337 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
11338 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
11339 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
11340 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
11341 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
11342 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
11343 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
11344 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
11346 Use PPC64_LOAD_FUNCPTR.
11347
b525166b
UW
11348 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
11349
7ec07d9a
AM
113502013-12-04 Alan Modra <amodra@gmail.com>
11351
11352 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
11353 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
11354 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
11355 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
11356
11357 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
11358 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
11359 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
11360 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
11361 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
11362 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
11363
5162e7dd
UW
113642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11365
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11367 (__makecontext): Fix incorrect CFI when backtracing out of
11368 context created via makecontext.
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
11370 (__setcontext): Fix incorrect CFI during switch to new context.
11371 (__novec_setcontext): Likewise.
11372
19e3372b
OB
113732013-12-04 Ondřej Bílka <neleai@seznam.cz>
11374
11375 [BZ #4772]
11376 * time/strptime_l.c (__strptime_internal): Allow modifiers
11377 in strptime.
11378 * time/tst-strptime.c (day_tests): Add testcase.
11379
ecaf142d
SP
113802013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11381
11382 * scripts/bench.pl: Skip over blank lines.
11383
fbf964ae
PE
113842013-12-04 Paul Eggert <eggert@cs.ucla.edu>
11385
11386 [BZ #926]
11387 * manual/time.texi (Calendar Time): Clarify what timezone functions
11388 use.
11389
fa60a674
AZ
113902013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11391
11392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11393
d674f0ef
OB
113942013-12-04 Ondřej Bílka <neleai@seznam.cz>
11395
11396 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
11397 implementation.
11398 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11399 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11400 * debug/memset_chk.c (__memset_chk): Likewise.
11401 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11402 * debug/strncpy_chk.c: Likewise.
11403
17dea188
JM
114042013-12-03 Joseph Myers <joseph@codesourcery.com>
11405
749008ff
JM
11406 [BZ #15268]
11407 [BZ #15425]
11408 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11409 (__ieee754_exp): For possibly underflowing results, check size of
11410 result and force underflow exception if required.
11411 * math/auto-libm-test-in: Add more tests of exp.
11412 * math/auto-libm-test-out: Regenerated.
11413 * sysdeps/i386/fpu/libm-test-ulps: Update.
11414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11415
17dea188
JM
11416 [BZ #16283]
11417 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11418 * math/w_exp2f.c (__exp2f): Likewise.
11419 * math/w_exp2l.c (__exp2l): Likewise.
11420 * math/auto-libm-test-in: Do not allow missing errno on exp2
11421 underflow.
11422 * math/auto-libm-test-out: Regenerated.
11423
b20de2c3
OB
114242013-12-03 Ondřej Bílka <neleai@seznam.cz>
11425
11426 [BZ #16274]
11427 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11428 handle filename validation.
11429 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11430 (do_open): Delete.
11431
d8e2dbe3
JM
114322013-12-03 Joseph Myers <joseph@codesourcery.com>
11433
34e16df5
JM
11434 [BZ #6786]
11435 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11436 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11437 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11438 <float.h>.
11439 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11440 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11441 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11442 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11443 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11444 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11445 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11446 * math/auto-libm-test-in: Don't allow missing errno from erfc.
11447 Add more erfc tests.
11448 * math/auto-libm-test-out: Regenerated.
11449 * sysdeps/i386/fpu/libm-test-ulps: Update.
11450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11451
d8e2dbe3
JM
11452 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11453 exp2, expm1, j0 and j1.
11454 * math/auto-libm-test-out: Regenerated.
11455 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11456 (erfc_test_data): Likewise.
11457 (exp_test_data): Likewise.
11458 (exp_tonearest_test_data): Likewise.
11459 (exp_towardzero_test_data): Likewise.
11460 (exp_downward_test_data): Likewise.
11461 (exp_upward_test_data): Likewise.
11462 (exp10_test_data): Likewise.
11463 (exp2_test_data): Likewise.
11464 (expm1_test_data): Likewise.
11465 (j0_test_data): Likewise.
11466 (j1_test_data): Likewise.
11467 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11468 (input_flag_type): Add flag_xfail_rounding.
11469 (input_flags): Add xfail-rounding.
11470 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11471 (output_for_one_input_case): Handle flag_xfail_rounding.
11472 * sysdeps/i386/fpu/libm-test-ulps: Update.
11473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11474
18d14251
AJ
114752013-12-03 Aurelien Jarno <aurelien@aurel32.net>
11476
3d2e6075 11477 [BZ #16289]
18d14251
AJ
11478 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11479 division by 0.
11480
520d437b
SP
114812013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11482
11483 [BZ #16195]
11484 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11485 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11486 (STAP_PROBE0): New macro.
11487 (STAP_PROBE1): Likewise.
11488 (STAP_PROBE2): Likewise.
11489 (STAP_PROBE3): Likewise.
11490 (STAP_PROBE4): Likewise.
11491
416e0145
OB
114922013-12-02 Ondřej Bílka <neleai@seznam.cz>
11493
11494 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11495
9d17796a
SE
114962013-12-02 Steve Ellcey <sellcey@mips.com>
11497
11498 * benchtests/Makefile (bench): Add sqrt.
11499 (LDLIBS-bench-sqrt): New.
11500 * benchtests/sqrt-input: New.
11501
f524d6a8
PS
115022013-12-02 Pavel Simerda <psimerda@redhat.com>
11503
639a0ef8
PS
11504 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11505 (GAIH_EAI): Likewise.
11506 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11507 (gaih_inet): Likewise.
11508 (getaddrinfo): Don't use GAIH_EAI.
11509
f524d6a8
PS
11510 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11511 (struct gaih): Remove definition.
11512
df3aedaf
SP
115132013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11514
11515 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11516 Use HERRNOP directly.
11517
1ab19dec
AZ
115182013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11519
b42ad38d 11520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 11521
176b0c79
JM
115222013-11-30 Joseph Myers <joseph@codesourcery.com>
11523
11524 * math/gen-auto-libm-tests.c (test_functions): Add more
11525 single-argument functions.
11526 (special_fill_pi_2): New function.
11527 (special_fill_minus_pi_2): Likewise.
11528 (special_fill_pi_6): Likewise.
11529 (special_fill_minus_pi_6): Likewise.
11530 (special_fill_pi_3): Likewise.
11531 (special_fill_2pi_3): Likewise.
11532 (special_fill_e): Likewise.
11533 (special_fill_1_e): Likewise.
11534 (special_fill_e_minus_1): Likewise.
11535 (special_real_inputs): Add more special inputs.
11536 (output_for_one_input_case): Do not require ERANGE on underflow to
11537 zero if round-to-nearest result does not underflow to zero, unless
11538 exact results required.
11539 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11540 atan, atanh, cbrt, cos and cosh.
11541 * math/auto-libm-test-out: Regenerated.
11542 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11543 (acos_tonearest_test_data): Likewise.
11544 (acos_towardzero_test_data): Likewise.
11545 (acos_downward_test_data): Likewise.
11546 (acos_upward_test_data): Likewise.
11547 (acosh_test_data): Likewise.
11548 (asin_test_data): Likewise.
11549 (asin_tonearest_test_data): Likewise.
11550 (asin_towardzero_test_data): Likewise.
11551 (asin_upward_test_data): Likewise.
11552 (asinh_test_data): Likewise.
11553 (atan_test_data): Likewise.
11554 (atanh_test_data): Likewise.
11555 (cbrt_test_data): Likewise.
11556 (cos_test_data): Likewise.
11557 (cos_tonearest_test_data): Likewise.
11558 (cos_towardzero_test_data): Likewise.
11559 (cos_downward_test_data): Likewise.
11560 (cos_upward_test_data): Likewise.
11561 (cosh_test_data): Likewise.
11562 (cosh_tonearest_test_data): Likewise.
11563 (cosh_towardzero_test_data): Likewise.
11564 (cosh_downward_test_data): Likewise.
11565 (cosh_upward_test_data): Likewise.
11566 * sysdeps/i386/fpu/libm-test-ulps: Update.
11567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11568
ffb536d0
JM
115692013-11-29 Joseph Myers <joseph@codesourcery.com>
11570
2a77a467
JM
11571 [BZ #6787]
11572 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11573 * math/w_exp10f.c (__exp10f): Likewise.
11574 * math/w_exp10l.c (__exp10l): Likewise.
11575 * math/libm-test.inc (exp10_test_data): Add more tests and expect
11576 errno settings in existing tests.
11577
ea3bc4e8
JM
11578 [BZ #14032]
11579 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11580 precision control set to double precision.
11581 * sysdeps/i386/fpu/w_sqrt.c: New file.
11582 * math/auto-libm-test-in: Add more tests.
11583 * math/auto-libm-test-out: Update.
11584
0712c9d8
JM
11585 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11586 (sqrt_test_tonearest): New function.
11587 (sqrt_towardzero_test_data): New variable.
11588 (sqrt_test_towardzero): New function.
11589 (sqrt_downward_test_data): New variable.
11590 (sqrt_test_downward): New function.
11591 (sqrt_upward_test_data): New variable.
11592 (sqrt_test_upward): New function.
11593 (main): Call the new functions.
11594
ffb536d0
JM
11595 * math/gen-auto-libm-tests.c: New file.
11596 * math/auto-libm-test-in: Likewise.
11597 * math/auto-libm-test-out: New generated file.
11598 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11599 variables.
11600 (%beautify): Add generated representations of zero.
11601 (top level): Set $auto_input and call parse_auto_input.
11602 (beautify): Remove trailing "f" from hex float constants.
11603 (parse_args): Handle XFAIL_TEST.
11604 (convert_condition): New function.
11605 (or_value): Likewise.
11606 (or_cond_value): Likewise.
11607 (generate_testfile): Handle AUTO_TESTS_* lines.
11608 (parse_auto_input): New function.
11609 * math/libm-test.inc (XFAIL_TEST): New macro.
11610 (ERRNO_UNCHANGED): Update value.
11611 (ERRNO_EDOM): Likewise.
11612 (ERRNO_ERANGE): Likewise.
11613 (IGNORE_RESULT): Likewise.
11614 (TEST_COND_flt_32): New macro.
11615 (TEST_COND_dbl_64): Likewise.
11616 (TEST_COND_ldbl_96_intel): Likewise.
11617 (TEST_COND_ldbl_96_m68k): Likewise.
11618 (TEST_COND_ldbl_128): Likewise.
11619 (TEST_COND_ldbl_128ibm): Likewise.
11620 (TEST_COND_long32): Likewise.
11621 (TEST_COND_long64): Likewise.
11622 (TEST_COND_before_rounding): Likewise.
11623 (TEST_COND_after_rounding): Likewise.
11624 (enable_test): Handle XFAIL_TEST flag.
11625 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11626 with finite results.
11627 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11628 auto-libm-test-out.
11629
acd98a8e
AK
116302013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11631 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11632
11633 [BZ #16214]
11634 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11635 __tls_get_addr_internal instead of __tls_get_offset in order to
11636 avoid GOT pointer dependency. Make rtld export
11637 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11638 __tls_get_addr since we are a __tls_get_offset platform.
11639 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11640 GOT pointer being set up before.
11641 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11642
3c1c46a6
JM
116432013-11-28 Joseph Myers <joseph@codesourcery.com>
11644
7475aef5
JM
11645 * manual/math.texi (Errors in Math Functions): Document accuracy
11646 goals.
11647
8bca7cd8
JM
11648 [BZ #15004]
11649 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11650 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11651 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11652 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11653 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11654 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11655 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11656 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11657 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11658 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11659 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11660 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11661 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11662 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11663 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11664 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11665
91a1f3fe
JM
11666 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11667 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11668 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11669 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11670 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11671 Likewise.
11672 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11673 Likewise.
11674 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11675 Likewise.
11676 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11677 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11678 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11679 atomic-feupdateenv and flt-rounds.
11680 * sysdeps/powerpc/nofpu/Versions (libc): Add
11681 __atomic_feholdexcept, __atomic_feclearexcept,
11682 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11683 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11684 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11685 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11686 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11687 here.
11688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11689 Update.
11690
c5df7609
JM
11691 * manual/arith.texi (FP Exceptions): Document that exceptions may
11692 not be raised when matherr is used.
11693 (Math Error Reporting): Document overflow in directed rounding
11694 modes. Document that errno may not be set when finite values are
11695 returned on overflow. Document intent to set errno on underflow
11696 only for underflow to zero.
11697
3c1c46a6
JM
11698 [BZ #16271]
11699 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11700 round-to-nearest then adjust result for other rounding modes.
11701 * include/fenv.h (fegetround): Use libm_hidden_proto.
11702 * math/fegetround.c (fegetround): Use libm_hidden_def.
11703 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11704 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11705 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11706 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11707 Likewise.
11708 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11709 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11710 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11711 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11712
5a4c6d53
SP
117132013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11714
11715 [BZ #16077]
11716 * nss/Versions (libnss_files): Add
11717 _nss_files_gethostbyname3_r.
11718 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11719 New function.
11720 (HOST_DB_LOOKUP): Remove macro.
11721 (_nss_files_gethostbyname_r): Implement function without the
11722 HOST_DB_LOOKUP macro.
11723 (_nss_files_gethostbyname2_r): Likewise.
11724
897b98ba
OB
117252013-11-28 Ondřej Bílka <neleai@seznam.cz>
11726
11727 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11728
6f476861
UB
117292013-11-26 Uros Bizjak <ubizjak@gmail.com>
11730
11731 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11732 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11733 warning.
11734
bd12ab55
AZ
117352013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11736
11737 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11738 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11739 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11740 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11741 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11742 __fe_nomask_env_priv and attribute_hidden.
11743 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11744 (libc_feupdateenv_test_ppc): Likewise.
11745 (libc_feresetround_ppc): Likewise.
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11747 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11748 compat_symbol macro.
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11750 (__fe_nomask_env): Likewise.
11751 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11752
52bb6543
OB
117532013-11-26 Ondřej Bílka <neleai@seznam.cz>
11754
11755 * string/Makefile: Remove ifunc tests.
11756 * string/test-string.h: Define TEST_IFUNC.
11757 * string/test-bcopy-ifunc.c: Remove.
11758 * string/test-bzero-ifunc.c: Likewise.
11759 * string/test-memccpy-ifunc.c: Likewise.
11760 * string/test-memchr-ifunc.c: Likewise.
11761 * string/test-memcmp-ifunc.c: Likewise.
11762 * string/test-memcpy-ifunc.c: Likewise.
11763 * string/test-memmem-ifunc.c: Likewise.
11764 * string/test-memmove-ifunc.c: Likewise.
11765 * string/test-mempcpy-ifunc.c: Likewise.
11766 * string/test-memrchr-ifunc.c: Likewise.
11767 * string/test-memset-ifunc.c: Likewise.
11768 * string/test-rawmemchr-ifunc.c: Likewise.
11769 * string/test-stpcpy-ifunc.c: Likewise.
11770 * string/test-stpncpy-ifunc.c: Likewise.
11771 * string/test-strcasecmp-ifunc.c: Likewise.
11772 * string/test-strcasestr-ifunc.c: Likewise.
11773 * string/test-strcat-ifunc.c: Likewise.
11774 * string/test-strchr-ifunc.c: Likewise.
11775 * string/test-strchrnul-ifunc.c: Likewise.
11776 * string/test-strcmp-ifunc.c: Likewise.
11777 * string/test-strcpy-ifunc.c: Likewise.
11778 * string/test-strcspn-ifunc.c: Likewise.
11779 * string/test-strlen-ifunc.c: Likewise.
11780 * string/test-strncasecmp-ifunc.c: Likewise.
11781 * string/test-strncat-ifunc.c: Likewise.
11782 * string/test-strncmp-ifunc.c: Likewise.
11783 * string/test-strncpy-ifunc.c: Likewise.
11784 * string/test-strnlen-ifunc.c: Likewise.
11785 * string/test-strpbrk-ifunc.c: Likewise.
11786 * string/test-strrchr-ifunc.c: Likewise.
11787 * string/test-strspn-ifunc.c: Likewise.
11788 * string/test-strstr-ifunc.c: Likewise.
11789
ab260039 117902013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
11791
11792 * benchtests/Makefile: Remove ifunc tests.
11793 * benchtests/bench-string.h: Define TEST_IFUNC.
11794 * benchtests/bench-bcopy-ifunc.c: Remove.
11795 * benchtests/bench-bzero-ifunc.c: Likewise.
11796 * benchtests/bench-memccpy-ifunc.c: Likewise.
11797 * benchtests/bench-memchr-ifunc.c: Likewise.
11798 * benchtests/bench-memcmp-ifunc.c: Likewise.
11799 * benchtests/bench-memcpy-ifunc.c: Likewise.
11800 * benchtests/bench-memmem-ifunc.c: Likewise.
11801 * benchtests/bench-memmove-ifunc.c: Likewise.
11802 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11803 * benchtests/bench-memrchr-ifunc.c: Likewise.
11804 * benchtests/bench-memset-ifunc.c: Likewise.
11805 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11806 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11807 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11808 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11809 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11810 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11811 * benchtests/bench-strcat-ifunc.c: Likewise.
11812 * benchtests/bench-strchr-ifunc.c: Likewise.
11813 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11814 * benchtests/bench-strcmp-ifunc.c: Likewise.
11815 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11816 * benchtests/bench-strcpy-ifunc.c: Likewise.
11817 * benchtests/bench-strcspn-ifunc.c: Likewise.
11818 * benchtests/bench-strlen-ifunc.c: Likewise.
11819 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11820 * benchtests/bench-strncat-ifunc.c: Likewise.
11821 * benchtests/bench-strncmp-ifunc.c: Likewise.
11822 * benchtests/bench-strncpy-ifunc.c: Likewise.
11823 * benchtests/bench-strnlen-ifunc.c: Likewise.
11824 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11825 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 11826 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
11827 * benchtests/bench-strspn-ifunc.c: Likewise.
11828 * benchtests/bench-strstr-ifunc.c: Likewise.
11829
118302013-11-26 Ondřej Bílka <neleai@seznam.cz>
11831
ab260039
OB
11832 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11833
d1d9eaf4 118342013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 11835
d1d9eaf4
OB
11836 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11837 * rt/aio.h: Likewise.
11838 * sysdeps/gnu/bits/utmp.h: Likewise.
11839 * sysdeps/gnu/bits/utmpx.h: Likewise.
11840 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11841 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11842 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11843 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11844 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11845 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11846 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11847 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11848 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11849 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11850 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11851 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11852 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11854 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11855 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11856 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11857 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11858 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11859 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11860 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11861 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11862 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11863 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11864 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11866 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11867 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11868 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11869 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11870 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11871 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11872 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11873 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11874 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11875 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11876 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11877 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11878 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11879 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11880 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11881 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11882
a7624ed9
CD
118832013-11-25 Carlos O'Donell <carlos@redhat.com>
11884
11885 [BZ #16245]
11886 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11887 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11888
63cfe52b
JM
118892013-11-25 Joseph Myers <joseph@codesourcery.com>
11890
11891 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11892 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11893 Likewise.
11894
41e8926a
AZ
118952013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11896
11897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11898 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11899 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11900 (__fesetround): Remove define.
11901 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11902 rounding and exceptions handling.
11903 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11904 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11905 (__fe_nomask_env): Likewise.
11906 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11907 __fegetround instead of fegetround.
11908 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11909 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11910
6851bd4d
RM
119112013-11-21 Roland McGrath <roland@hack.frob.com>
11912
070906ff
RM
11913 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11914 it's there.
11915
6851bd4d
RM
11916 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11917
84ae135d
MI
119182013-11-21 Meador Inge <meadori@codesourcery.com>
11919
11920 [BZ #11157]
11921 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11922 (encrypt_r): Likewise.
11923 * malloc/obstack.h (obstack_free): Likewise.
11924 * posix/unistd.h (encrypt): Likewise.
11925
daf75146
GM
119262013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11927
11928 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11929 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11930 DL_CALL_DT_FINI() that call the functions directly.
11931 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11932 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11933 * elf/dl-fini.c: Likewise.
11934
10ad46bc
OB
119352013-11-20 Ondřej Bílka <neleai@seznam.cz>
11936
11937 * malloc/hooks.c (memalign_check): Add alignment rounding.
11938 * malloc/malloc.c (_mid_memalign): New function.
11939 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11940 Implement by calling _mid_memalign.
11941 * manual/probes.texi (Memory Allocation Probes): Remove
11942 memory_valloc_retry and memory_pvalloc_retry.
11943
f3fd2628
SP
119442013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11945
4712799f
SP
11946 * locale/programs/locarchive.c (open_archive): Add const
11947 qualifier to ARCHIVEFNAME and copy default fname to
11948 DEFAULT_FNAME.
11949
0417b20f
SP
11950 [BZ #15601]
11951 * libio/tst-widetext.input: Rename Oriya to Odia.
11952 * locale/iso-639.def: Likewise.
11953
f3fd2628
SP
11954 * manual/probes.texi (Mathematical Function Probes): Add
11955 documentation for sin, cos, asin and acos probes.
11956 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11957 (__sin32): Add slowasin probe.
11958 (__cos32): Add slowacos probe.
11959 (__mpsin): Add slowsin probe.
11960 (__mpcos): Add slowcos probe.
11961
73c1ce4f
JM
119622013-11-19 Joseph Myers <joseph@codesourcery.com>
11963
11964 [BZ #15483]
11965 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11966 thread-local __sim_exceptions_thread and global
11967 __sim_exceptions_global.
11968 (__sim_disabled_exceptions): Change to thread-local
11969 __sim_disabled_exceptions_thread and global
11970 __sim_disabled_exceptions_global.
11971 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11972 and global __sim_round_mode_global.
11973 (__simulate_exceptions): Use thread-local floating-point state and
11974 set global state from it as needed.
11975 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11976 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11977 __sim_round_mode_thread.
11978 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11979 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11980 and global __sim_exceptions_global.
11981 (__sim_disabled_exceptions): Change to thread-local
11982 __sim_disabled_exceptions_thread and global
11983 __sim_disabled_exceptions_global.
11984 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11985 and global __sim_round_mode_global.
11986 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11987 (SIM_SET_GLOBAL): Likewise.
11988 * sysdeps/powerpc/soft-fp/sfp-machine.h
11989 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11990 __sim_round_mode_thread.
11991 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11992 __sim_disabled_exceptions_thread.
11993 (__sim_exceptions): Change to __sim_exceptions_thread.
11994 (__sim_disabled_exceptions): Change to
11995 __sim_disabled_exceptions_thread.
11996 (__sim_round_mode): Change to __sim_round_mode_thread.
11997 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11998 thread-local floating-point state and set global state from it as
11999 needed.
12000 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12001 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12002 (__sim_disabled_exceptions): Remove extern declaration.
12003 (feenableexcept): Use thread-local floating-point state and set
12004 global state from it as needed.
12005 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12006 extern declaration.
12007 (__sim_disabled_exceptions): Likewise.
12008 (__sim_round_mode): Likewise.
12009 (__fegetenv): Use thread-local floating-point state.
12010 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12011 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12012 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12013 floating-point state and set global state from it as needed.
12014 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12015 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12016 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12017 Likewise.
12018 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12019 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12020 Likewise.
12021 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12022 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12023 Use __sim_round_mode_thread.
12024 * math/test-fenv-tls.c: New file.
12025 * math/Makefile (tests): Add test-fenv-tls.
12026 ($(objpfx)test-fenv-tls): Depend on
12027 $(common-objpfx)nptl/libpthread.so.
12028
b5449b12
AS
120292013-11-19 Andreas Schwab <schwab@suse.de>
12030
12031 * locale/programs/locale.c (show_info): Decode wordarray elements.
12032 * locale/categories.def (LC_MONETARY): Add element for
12033 _NL_MONETARY_CRNCYSTR.
12034 * locale/C-monetary.c (conversion_rate): New variable.
12035 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12036 element.
12037
e186536b
CM
120382013-11-18 Chris Metcalf <cmetcalf@tilera.com>
12039
12040 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12041 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12042
5c349950
PP
120432013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
12044
12045 * elf/Makefile (tst-auxv): New test.
12046 * elf/tst-auxv.c: New
12047 * elf/rtld.c (dl_main): Adjust AT_EXECFN
12048
699df45b
JM
120492013-11-18 Joseph Myers <joseph@codesourcery.com>
12050
12051 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12052 (hidden_proto): Caller changed.
12053 (hidden_tls_proto): New macro.
12054 (libc_hidden_tls_proto): Likewise.
12055 (rtld_hidden_tls_proto): Likewise.
12056 (libm_hidden_tls_proto): Likewise.
12057 (libresolv_hidden_tls_proto): Likewise.
12058 (librt_hidden_tls_proto): Likewise.
12059 (libdl_hidden_tls_proto): Likewise.
12060 (libnss_files_hidden_tls_proto): Likewise.
12061 (libnsl_hidden_tls_proto): Likewise.
12062 (libnss_nisplus_hidden_tls_proto): Likewise.
12063 (libutil_hidden_tls_proto): Likewise.
12064
b7589107
OB
120652013-11-18 Ondřej Bílka <neleai@seznam.cz>
12066
12067 [BZ #10253]
12068 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12069 (decompose_rpath): Defer expansion to fillin_rpath.
12070 (_dl_init_paths): Pass linkmap to fillin_rpath.
12071
250c23bd
RS
120722013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12073
12074 * benchtests/Makefile: Add strsep.
12075 * benchtests/bench-strsep.c: New file: strsep benchtest.
12076 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12077
a7931fcf
AS
120782013-11-18 Andreas Schwab <schwab@suse.de>
12079
12080 * locale/programs/locale.c (show_info) [case byte]: Check for
12081 '\377' instead of '\177'.
12082 * locale/C-monetary.c (not_available): Always use "\377".
12083 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12084 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
12085 detect unavailable sign_posn locale elements.
12086 * locale/localeconv.c (__localeconv): For grouping and
12087 mon_grouping handle "\177" and "\377" like no grouping.
12088 (INT_ELEM): New macro. Use it to set all numeric members.
12089 * locale/programs/ld-monetary.c (monetary_read)
12090 <tok_mon_grouping>: Normalize single -1 to the empty string.
12091 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12092 Likewise.
12093
728dab0e
OB
120942013-11-07 Ondřej Bílka <neleai@seznam.cz>
12095
12096 [BZ #16055]
12097 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12098 when we match (nil).
12099 * stdio-common/tst-sscanf.c (struct test): Add testcase.
12100
66294491
JM
121012013-11-16 Joseph Myers <joseph@codesourcery.com>
12102
ce665817
JM
12103 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12104 (NO_TEST_INLINE): Update value.
12105 (ERRNO_UNCHANGED): Likewise.
12106 (ERRNO_EDOM): Likewise.
12107 (ERRNO_ERANGE): Likewise.
12108 (IGNORE_RESULT): Likewise.
12109 (check_float_internal): Check signs of NaN results if
12110 TEST_NAN_SIGN used.
12111 (check_complex): Pass TEST_NAN_SIGN flag through to second
12112 check_float_internal call.
12113 (copysign_test_data): Add tests with quiet NaNs as second
12114 argument. Use TEST_NAN_SIGN.
12115 (fabs_test_data): Add test of negative quiet NaN argument. Use
12116 TEST_NAN_SIGN.
12117 (signbit_test_data): Add tests of quiet NaN argument.
12118 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12119
ee1466a9
JM
12120 * math/gen-libm-test.pl (show_exceptions): Take extra argument
12121 $ignore_result.
12122 (parse_args): Handle function results specified as IGNORE.
12123 * math/libm-test.inc (IGNORE_RESULT): New macro.
12124 (check_float_internal): Do not check numerical result if flag
12125 IGNORE_RESULT set.
12126 (check_complex): Pass through IGNORE_RESULT to second
12127 check_float_internal call.
12128 (check_int): Do not check numerical result if flag IGNORE_RESULT
12129 set.
12130 (check_long): Likewise.
12131 (check_bool): Likewise.
12132 (check_longlong): Likewise.
12133 (lrint_test_data): Add tests of infinite and NaN arguments.
12134 (lrint_tonearest_test_data): Likewise.
12135 (lrint_towardzero_test_data): Likewise.
12136 (lrint_downward_test_data): Likewise.
12137 (lrint_upward_test_data): Likewise.
12138 (llrint_test_data): Likewise.
12139 (llrint_tonearest_test_data): Likewise.
12140 (llrint_towardzero_test_data): Likewise.
12141 (llrint_downward_test_data): Likewise.
12142 (llrint_upward_test_data): Likewise.
12143 (lround_test_data): Likewise.
12144 (llround_test_data): Likewise.
12145
14407b7e
JM
12146 * math/libm-test.inc (NO_TEST_INLINE): New macro.
12147 (ERRNO_UNCHANGED): Update value.
12148 (ERRNO_EDOM): Likewise.
12149 (ERRNO_ERANGE): Likewise.
12150 (NO_TEST_INLINE_FLOAT): New macro.
12151 (NO_TEST_INLINE_DOUBLE): Likewise.
12152 (enable_test): New function.
12153 (RUN_TEST_f_f): Check enable_test before running test.
12154 (RUN_TEST_2_f): Likewise.
12155 (RUN_TEST_fff_f): Likewise.
12156 (RUN_TEST_c_f): Likewise.
12157 (RUN_TEST_f_f1): Likewise.
12158 (RUN_TEST_fF_f1): Likewise.
12159 (RUN_TEST_fI_f1): Likewise.
12160 (RUN_TEST_ffI_f1): Likewise.
12161 (RUN_TEST_c_c): Likewise.
12162 (RUN_TEST_cc_c): Likewise.
12163 (RUN_TEST_f_i): Likewise.
12164 (RUN_TEST_f_i_tg): Likewise.
12165 (RUN_TEST_ff_i_tg): Likewise.
12166 (RUN_TEST_f_b): Likewise.
12167 (RUN_TEST_f_b_tg): Likewise.
12168 (RUN_TEST_f_l): Likewise.
12169 (RUN_TEST_f_L): Likewise.
12170 (RUN_TEST_fFF_11): Likewise.
12171 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12172 conditionals.
12173 (cosh_test_data): Likewise.
12174 (exp_test_data): Likewise.
12175 (expm1_test_data): Likewise.
12176 (hypot_test_data): Likewise.
12177 (pow_test_data): Likewise.
12178 (sinh_test_data): Likewise.
12179 (tanh_test_data): Likewise.
12180 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12181 flags argument.
12182
ca07f197
JM
12183 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12184 tests with quiet NaN input and output.
12185 (acosh_test_data): Likewise.
12186 (asin_test_data): Likewise.
12187 (asinh_test_data): Likewise.
12188 (atan_test_data): Likewise.
12189 (atanh_test_data): Likewise.
12190 (atan2_test_data): Likewise.
12191 (cbrt_test_data): Likewise.
12192 (cos_test_data): Likewise.
12193 (cosh_test_data): Likewise.
12194 (erf_test_data): Likewise.
12195 (erfc_test_data): Likewise.
12196 (exp_test_data): Likewise.
12197 (exp10_test_data): Likewise.
12198 (exp2_test_data): Likewise.
12199 (expm1_test_data): Likewise.
12200 (hypot_test_data): Likewise.
12201 (j0_test_data): Likewise.
12202 (j1_test_data): Likewise.
12203 (jn_test_data): Likewise.
12204 (lgamma_test_data): Likewise.
12205 (log_test_data): Likewise.
12206 (log10_test_data): Likewise.
12207 (log1p_test_data): Likewise.
12208 (log2_test_data): Likewise.
12209 (pow_test_data): Likewise.
12210 (scalb_test_data): Likewise.
12211 (sin_test_data): Likewise.
12212 (sincos_test_data): Likewise.
12213 (sinh_test_data): Likewise.
12214 (tan_test_data): Likewise.
12215 (tanh_test_data): Likewise.
12216 (tgamma_test_data): Likewise.
12217 (y0_test_data): Likewise.
12218 (y1_test_data): Likewise.
12219 (yn_test_data): Likewise.
12220
66294491
JM
12221 [BZ #16167]
12222 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12223 argument being NaN and avoid computations with second argument in
12224 that case.
12225 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12226 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12227 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12228
1820b143
CL
122292013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12230
12231 * locale/iso-639.def: Add Chitwani Tharu (the).
12232
714bd261
AS
122332013-11-14 Andreas Schwab <schwab@suse.de>
12234
12235 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12236 word instead of empty string.
12237
7ab44563
AZ
122382013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12239
12240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12241 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12243 (__fe_nomask_env): Likewise.
12244
e8470ea2
SE
122452013-11-13 Steve Ellcey <sellcey@mips.com>
12246
12247 * benchtests/bench-timing.h: Include time.h.
12248
17c1d9f0
L
122492013-11-13 H.J. Lu <hongjiu.lu@intel.com>
12250
12251 [BZ #15997]
12252 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12253 to 3.4.0 for x32.
12254 * sysdeps/unix/sysv/linux/configure: Regenerated.
12255
9310c284
JM
122562013-11-13 Joseph Myers <joseph@codesourcery.com>
12257
12258 [BZ #16151]
12259 * stdlib/strtod_l.c (round_and_return): Do not consider
12260 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
12261 exponent one less than half the least subnormal exponent.
12262 * stdlib/test-strtod-round-data: Add more tests.
12263 * stdlib/tst-strtod-round.c (tests): Regenerated.
12264
7a2ad8cf
AZ
122652013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12266
12267 [BZ #14143]
12268 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
12269 (__fe_mask_env): Likewise.
12270 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
12271 libm_hidden_proto and add function prototype.
12272 (__fe_mask_env): Add function prototype.
12273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12274 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
12275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
12276 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
12277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12278 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
12279
50727aa7
MS
122802013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12281
b2f386c1 12282 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
12283 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
12284
a615be46
MS
122852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12286
12287 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
12288 of htab_find_slot().
12289
7ddace62
DM
122902013-11-11 David S. Miller <davem@davemloft.net>
12291
12292 [BZ #16150]
12293 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
12294 symbol in the non-vis3 case in static builds.
12295 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
12296 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
12297 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
12298 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
12299
9182aa67
JK
123002013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12301
12302 [BZ #387]
12303 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
12304 it is empty.
12305
450a2e2d
AZ
123062013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12307
b2f386c1
SP
12308 * benchtests/Makefile: Add bench-strtod.
12309 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 12310
8ec3f656
AS
123112013-11-11 Andreas Schwab <schwab@suse.de>
12312
12313 [BZ #16153]
12314 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
12315 terminating NUL in key length.
12316
76a9b998
AZ
123172013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12318
12319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12320 Add artificial ODP entry for vDSO symbol for PPC64.
12321 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
12322 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
12323
e4368156
OB
123242013-11-07 Ondřej Bílka <neleai@seznam.cz>
12325
12326 [BZ #15374]
12327 * nss/getent.c (services_keys): Recognize services starting with digit.
12328
8d6bb57c
DM
123292013-11-06 David S. Miller <davem@davemloft.net>
12330
12331 [BZ #15985]
12332 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
12333 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
12334
e256c421
WN
123352013-11-06 Will Newton <will.newton@linaro.org>
12336
12337 * manual/memory.texi (Malloc Examples): Remove register
12338 keyword from examples.
12339
f6e12daa 123402013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 12341
f6e12daa 12342 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 12343
9d880655
AS
123442013-11-04 Joseph Myers <joseph@codesourcery.com>
12345
fd2f9486 12346 [BZ #6981]
9d880655
AS
12347 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
12348 depending on [__GCC_IEC_559 > 0].
12349 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
12350 depending on [__GCC_IEC_559_COMPLEX > 0].
12351
ae129d3c
CL
123522013-11-03 Chris Leonard <cjl@sugarlabs.org>
12353
12354 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
12355 to iso-639.def.
12356
4a15c2a4 123572013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
12358
12359 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
12360
8b35e35d
OB
123612013-11-01 Ondřej Bílka <neleai@seznam.cz>
12362
12363 [BZ #16112]
12364 * malloc/malloc (malloc_info): Do not handle first bin as
12365 special case.
12366
1d70fd6c
CL
123672013-11-01 Chris Leonard <cjl@sugarlabs.org>
12368
12369 * locale/iso-639.def: Add Central Nahuatl (nhn).
12370
8c5c2600
BH
123712013-11-01 Bruno Haible <bruno@clisp.org>
12372
12373 [BZ #7003]
12374 * manual/math.texi (BSD Random): Specify range upper bound as
12375 in POSIX.
12376
da5579c2
CL
123772013-10-31 Chris Leonard <cjl@sugarlabs.org>
12378
12379 * locale/iso-639.def: Add Meadow Mari (mhr).
12380
5d30d853
OB
123812013-10-31 Ondřej Bílka <neleai@seznam.cz>
12382
12383 [BZ #14752], [BZ #15763]
12384 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
12385 Validate name.
12386 * rt/tst_shm.c: Add test for escaping directory.
12387
a4966c61
AS
123882013-10-31 Andreas Schwab <schwab@suse.de>
12389
8a43e768 12390 [BZ #15917]
a4966c61
AS
12391 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
12392 followed by 'x' as part of digit sequence.
12393 * stdio-common/tst-sscanf.c (double_tests2): New tests.
12394
28d708c4
MAP
123952013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
12396
12397 [BZ #16037]
12398 * configure.ac: allow GNU Make 4.0 and greater.
12399 * configure: Regenerated.
12400
a56ee40b
WN
124012013-10-30 Will Newton <will.newton@linaro.org>
12402
12403 [BZ #16038]
12404 * malloc/hooks.c (memalign_check): Limit alignment to the
12405 maximum representable power of two.
12406 * malloc/malloc.c (__libc_memalign): Likewise.
12407 * malloc/tst-memalign.c (do_test): Add test for very
12408 large alignment values.
12409 * malloc/tst-posix_memalign.c (do_test): Likewise.
12410
c6e4925d
OB
124112013-10-30 Ondřej Bílka <neleai@seznam.cz>
12412
12413 [BZ #11087]
12414 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12415 (munmap_chunk): Likewise.
12416 (mremap_chunk): Likewise.
12417
124182013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 12419
8a43e768 12420 [BZ #15799]
bbea82f7
OB
12421 * stdlib/div.c (div): Remove obsolete code.
12422 * stdlib/ldiv.c (ldiv): Likewise.
12423 * stdlib/lldiv.c (lldiv): Likewise.
12424
977f4b31
SP
124252013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12426
12427 [BZ #16071]
12428 * nss/nss_files/files-XXX.c (get_contents_ret): New
12429 enumerator.
12430 (get_contents): New function.
12431 (internal_getent): Use it. Expand size of LINEBUFLEN.
12432
cb8a6dbd
MF
124332013-10-30 Mike Frysinger <vapier@gentoo.org>
12434
12435 * configure.in: Moved to ...
12436 * configure.ac: ... here. Change reference to configure.in
12437 to configure.ac.
12438 * sysdeps/arm/preconfigure.ac: ... here.
12439 configure.in to configure.ac.
12440 * sysdeps/gnu/configure.in: Moved to ...
12441 * sysdeps/gnu/configure.ac: ... here.
12442 * sysdeps/i386/configure.in: Moved to ...
12443 * sysdeps/i386/configure.ac: ... here.
12444 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12445 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12446 * sysdeps/mach/configure.in: Moved to ...
12447 * sysdeps/mach/configure.ac: ... here.
12448 * sysdeps/mach/hurd/configure.in: Moved to ...
12449 * sysdeps/mach/hurd/configure.ac: ... here.
12450 * sysdeps/powerpc/configure.in: Moved to ...
12451 * sysdeps/powerpc/configure.ac: ... here.
12452 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12453 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12454 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12455 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12456 * sysdeps/s390/s390-32/configure.in: Moved to ...
12457 * sysdeps/s390/s390-32/configure.ac: ... here.
12458 * sysdeps/s390/s390-64/configure.in: Moved to ...
12459 * sysdeps/s390/s390-64/configure.ac: ... here.
12460 * sysdeps/sh/configure.in: Moved to ...
12461 * sysdeps/sh/configure.ac: ... here.
12462 * sysdeps/sparc/configure.in: Moved to ...
12463 * sysdeps/sparc/configure.ac: ... here.
12464 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12465 * sysdeps/unix/sysv/linux/configure.ac: ... here.
12466 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12467 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12468 * sysdeps/x86_64/configure.in: Moved to ...
12469 * sysdeps/x86_64/configure.ac: ... here.
12470 * sysdeps/x86_64/preconfigure.in: Moved to ...
12471 * sysdeps/x86_64/preconfigure.ac: ... here.
12472 * aclocal.m4: Change reference to configure.in to configure.ac.
12473 * config.h.in: Likewise.
12474 * manual/install.texi: Likewise.
12475 * manual/maint.texi: Likewise.
12476 * Makefile: Likewise.
12477 * malloc/Makefile: Likewise.
12478 * nscd/Makefile: Likewise.
12479 * Makeconfig: Change reference to configure.in and
12480 preconfigure.in to configure.ac and preconfigure.ac
12481 respectively.
12482 * INSTALL: Regenerated.
12483 * configure: Likewise.
12484 * sysdeps/gnu/configure: Likewise.
12485 * sysdeps/i386/configure: Likewise.
12486 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12487 * sysdeps/mach/configure: Likewise.
12488 * sysdeps/mach/hurd/configure: Likewise.
12489 * sysdeps/powerpc/configure: Likewise.
12490 * sysdeps/powerpc/powerpc32/configure: Likewise.
12491 * sysdeps/powerpc/powerpc64/configure: Likewise.
12492 * sysdeps/s390/s390-32/configure: Likewise.
12493 * sysdeps/s390/s390-64/configure: Likewise.
12494 * sysdeps/sh/configure: Likewise.
12495 * sysdeps/sparc/configure: Likewise.
12496 * sysdeps/unix/sysv/linux/configure: Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12498 * sysdeps/x86_64/configure: Likewise.
12499 * sysdeps/x86_64/preconfigure: Likewise.
12500
36a4953a
AS
125012013-10-29 Andreas Schwab <schwab@suse.de>
12502
12503 * stdio-common/Makefile (tst-swscanf-ENV): Define.
12504
c79a1204
SP
125052013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12506
dfa1b402
SP
12507 * benchtests/pow-inputs: Add new inputs.
12508
54f73d9c
SP
12509 * benchtests/exp-inputs: Add new inputs.
12510
c79a1204
SP
12511 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12512 conditional check for return value.
12513 (__cos32): Likewise.
12514
67beb545 125152013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
12516
12517 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12518 to provide a boost for large inputs with word alignment.
12519 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12520 implementation based on optimized PPC64 strcpy.
12521 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12522 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12523 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12524 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12525
151659f6
OB
125262013-10-25 Ondřej Bílka <neleai@seznam.cz>
12527
482a077e 12528 [BZ #2801]
151659f6
OB
12529 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12530
10b0f26b
OB
125312013-10-25 Ondřej Bílka <neleai@seznam.cz>
12532
12533 [BZ #14876]
12534 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12535 * time/tst-strptime.c (day_tests): Add testcase.
12536
ca42d35e
OB
125372013-10-25 Ondřej Bílka <neleai@seznam.cz>
12538
482a077e 12539 [BZ #14029]
ca42d35e
OB
12540 * manual/pattern.texi: Acknowledge that fnmatch can fail.
12541
52e6d801
FB
125422013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
12543
12544 [BZ #16074]
12545 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12546 MAP_FAILED on error.
12547
7cbcdb36
SP
125482013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12549
12550 [BZ #16072]
12551 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12552 heap for large requests.
12553
894f3f10
AM
125542013-10-25 Aurelien Jarno <aurelien@aurel32.net>
12555
12556 [BZ #9954]
12557 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12558 result if the result has no associated interface.
12559 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12560 interface for all 127.X.Y.Z addresses.
12561
b85545a6
CL
125622013-10-24 Chris Leonard <cjl@sugarlabs.org>
12563
12564 * locale/iso-639.def: Add Ligurian (lij)
12565
d1f23d46
OB
125662013-10-21 Ondřej Bílka <neleai@seznam.cz>
12567
12568 [BZ #15825]
12569 * sunrpc/rpc_main.c: Document rpcgen -5.
12570
4db5b08f
MS
125712013-10-19 Michael Stahl <mstahl@redhat.com>
12572
12573 * elf/rtld.c (do_preload): Print the reason why preloading failed.
12574
a471e96a
OB
125752013-10-19 Ondřej Bílka <neleai@seznam.cz>
12576
d1f23d46 12577 [BZ #10278]
a471e96a
OB
12578 * posix/glob.c: Match only directories when trailing slash is present.
12579 * posix/tst-gnuglob.c (my_opendir): Do not open files.
12580 (main): Add testcase.
12581
45c30c61
OB
125822013-10-19 Ondřej Bílka <neleai@seznam.cz>
12583
12584 [BZ #15670]
12585 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12586
484c12fb
CD
125872013-10-18 Carlos O'Donell <carlos@redhat.com>
12588
3d7dc513
CD
12589 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12590 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12591 AUTH_DES and cindex for FIPS 140-2.
12592 (DES Encryption): Add cindex FIPS 46-3.
12593
484c12fb
CD
12594 * locale/locarchive.h (struct locarhandle): Add fname.
12595 * locale/programs/localedef.c (main): Pass ARGV[remaining]
12596 if an optional argument was specified to --list-archive,
12597 otherwise NULL.
12598 * locale/programs/locarchive.c (show_archive_content): Take new
12599 argument fname and pass it via ah.fname to open_archive.
12600 * locale/programs/localedef.h: Update decl.
12601 (open_archive): If AH->fname is non-null, open that file
12602 rather than the default file name, and don't ignore ENOENT.
12603 (create_archive): Set AH.fname to NULL.
12604 (delete_locales_from_archive): Likewise.
12605 (add_locales_to_archive): Likewise.
12606 * locale/programs/locfile.c (write_all_categories): Likewise.
12607
3c8325fb
JM
126082013-10-18 Joseph Myers <joseph@codesourcery.com>
12609 Aldy Hernandez <aldyh@redhat.com>
12610
12611 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12612 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12613 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12614 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12615 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12616 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12618 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12619 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12620 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12621 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12622 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12623 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12624 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12625 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12626 Likewise.
12627 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12628 Likewise.
12629 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12630 Likewise.
12631 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12632 Likewise.
12633 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12634 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12635 Likewise.
12636 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12637 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12638 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12639 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12640 Likewise.
12641 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12642 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12643 * sysdeps/powerpc/preconfigure: Likewise.
12644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12645 Likewise.
12646 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12647 Replace contents of file by #include of <fenv_libc.h>.
12648 * sysdeps/powerpc/soft-fp/sfp-machine.h
12649 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12650 and <sys/prctl.h>.
12651 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12653 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12654 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12662 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12664 Allow copysignl PLT reference to be missing.
12665
5abe0682
RS
126662013-10-18 Richard Sandiford <richard@codesourcery.com>
12667 Joseph Myers <joseph@codesourcery.com
12668
12669 [BZ #15948]
12670 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12671 single character.
12672 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12673
c7738d08
SP
126742013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12675
12676 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12677 * elf/tst-tls1.c: Likewise.
12678 * elf/tst-tls10.h: Likewise.
12679 * elf/tst-tls14.c: Likewise.
12680 * elf/tst-tls2.c: Likewise.
12681 * elf/tst-tls3.c: Likewise.
12682 * elf/tst-tls4.c: Likewise.
12683 * elf/tst-tls5.c: Likewise.
12684 * elf/tst-tls6.c: Likewise.
12685 * elf/tst-tls7.c: Likewise.
12686 * elf/tst-tls8.c: Likewise.
12687 * elf/tst-tls9.c: Likewise.
12688 * elf/tst-tlsmod1.c: Likewise.
12689 * elf/tst-tlsmod13.c: Likewise.
12690 * elf/tst-tlsmod13a.c: Likewise.
12691 * elf/tst-tlsmod14a.c: Likewise.
12692 * elf/tst-tlsmod16a.c: Likewise.
12693 * elf/tst-tlsmod16b.c: Likewise.
12694 * elf/tst-tlsmod2.c: Likewise.
12695 * elf/tst-tlsmod3.c: Likewise.
12696 * elf/tst-tlsmod4.c: Likewise.
12697 * elf/tst-tlsmod5.c: Likewise.
12698 * elf/tst-tlsmod6.c: Likewise.
12699
0bfcf2c7
OB
127002013-10-18 Ondřej Bílka <neleai@seznam.cz>
12701
12702 [BZ #12486]
12703 * malloc/malloc.c: remove checks for statistics.
12704
264aad1e
OB
127052013-10-17 Ondřej Bílka <neleai@seznam.cz>
12706
12707 [BZ #15277]
12708 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12709 * inet/tst-network.c: Add testcase.
12710
b957ced8
AS
127112013-10-17 Andreas Schwab <schwab@suse.de>
12712
12713 [BZ #15218]
12714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12715 to determine canonical name.
12716
c5d5d574
OB
127172013-10-17 Ondřej Bílka <neleai@seznam.cz>
12718
12719 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12720 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12725 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12743 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12744 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12745 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12746 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12747 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12748 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12749 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12771 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12772 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12773 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12774 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12776 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12777
e5c2c2d0
JM
127782013-10-17 Joseph Myers <joseph@codesourcery.com>
12779
12780 [BZ #16041]
12781 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12782 make result into a quiet NaN.
12783
51ca9e29
JM
127842013-10-16 Joseph Myers <joseph@codesourcery.com>
12785
12786 * soft-fp/adddf3.c: Fix horizontal whitespace.
12787 * soft-fp/addsf3.c: Likewise.
12788 * soft-fp/addtf3.c: Likewise.
12789 * soft-fp/divdf3.c: Likewise.
12790 * soft-fp/divsf3.c: Likewise.
12791 * soft-fp/divtf3.c: Likewise.
12792 * soft-fp/double.h: Likewise.
12793 * soft-fp/eqdf2.c: Likewise.
12794 * soft-fp/eqsf2.c: Likewise.
12795 * soft-fp/eqtf2.c: Likewise.
12796 * soft-fp/extenddftf2.c: Likewise.
12797 * soft-fp/extended.h: Likewise.
12798 * soft-fp/extendsfdf2.c: Likewise.
12799 * soft-fp/extendsftf2.c: Likewise.
12800 * soft-fp/extendxftf2.c: Likewise.
12801 * soft-fp/fixdfdi.c: Likewise.
12802 * soft-fp/fixdfsi.c: Likewise.
12803 * soft-fp/fixdfti.c: Likewise.
12804 * soft-fp/fixsfdi.c: Likewise.
12805 * soft-fp/fixsfsi.c: Likewise.
12806 * soft-fp/fixsfti.c: Likewise.
12807 * soft-fp/fixtfdi.c: Likewise.
12808 * soft-fp/fixtfsi.c: Likewise.
12809 * soft-fp/fixtfti.c: Likewise.
12810 * soft-fp/fixunsdfdi.c: Likewise.
12811 * soft-fp/fixunsdfsi.c: Likewise.
12812 * soft-fp/fixunsdfti.c: Likewise.
12813 * soft-fp/fixunssfdi.c: Likewise.
12814 * soft-fp/fixunssfsi.c: Likewise.
12815 * soft-fp/fixunssfti.c: Likewise.
12816 * soft-fp/fixunstfdi.c: Likewise.
12817 * soft-fp/fixunstfsi.c: Likewise.
12818 * soft-fp/fixunstfti.c: Likewise.
12819 * soft-fp/floatdidf.c: Likewise.
12820 * soft-fp/floatdisf.c: Likewise.
12821 * soft-fp/floatditf.c: Likewise.
12822 * soft-fp/floatsidf.c: Likewise.
12823 * soft-fp/floatsisf.c: Likewise.
12824 * soft-fp/floatsitf.c: Likewise.
12825 * soft-fp/floattidf.c: Likewise.
12826 * soft-fp/floattisf.c: Likewise.
12827 * soft-fp/floattitf.c: Likewise.
12828 * soft-fp/floatundidf.c: Likewise.
12829 * soft-fp/floatundisf.c: Likewise.
12830 * soft-fp/floatunditf.c: Likewise.
12831 * soft-fp/floatunsidf.c: Likewise.
12832 * soft-fp/floatunsisf.c: Likewise.
12833 * soft-fp/floatunsitf.c: Likewise.
12834 * soft-fp/floatuntidf.c: Likewise.
12835 * soft-fp/floatuntisf.c: Likewise.
12836 * soft-fp/floatuntitf.c: Likewise.
12837 * soft-fp/fmadf4.c: Likewise.
12838 * soft-fp/fmasf4.c: Likewise.
12839 * soft-fp/fmatf4.c: Likewise.
12840 * soft-fp/gedf2.c: Likewise.
12841 * soft-fp/gesf2.c: Likewise.
12842 * soft-fp/getf2.c: Likewise.
12843 * soft-fp/ledf2.c: Likewise.
12844 * soft-fp/lesf2.c: Likewise.
12845 * soft-fp/letf2.c: Likewise.
12846 * soft-fp/muldf3.c: Likewise.
12847 * soft-fp/mulsf3.c: Likewise.
12848 * soft-fp/multf3.c: Likewise.
12849 * soft-fp/negdf2.c: Likewise.
12850 * soft-fp/negsf2.c: Likewise.
12851 * soft-fp/negtf2.c: Likewise.
12852 * soft-fp/op-1.h: Likewise.
12853 * soft-fp/op-2.h: Likewise.
12854 * soft-fp/op-4.h: Likewise.
12855 * soft-fp/op-8.h: Likewise.
12856 * soft-fp/op-common.h: Likewise.
12857 * soft-fp/quad.h: Likewise.
12858 * soft-fp/single.h: Likewise.
12859 * soft-fp/soft-fp.h: Likewise.
12860 * soft-fp/sqrtdf2.c: Likewise.
12861 * soft-fp/sqrtsf2.c: Likewise.
12862 * soft-fp/sqrttf2.c: Likewise.
12863 * soft-fp/subdf3.c: Likewise.
12864 * soft-fp/subsf3.c: Likewise.
12865 * soft-fp/subtf3.c: Likewise.
12866 * soft-fp/truncdfsf2.c: Likewise.
12867 * soft-fp/trunctfdf2.c: Likewise.
12868 * soft-fp/trunctfsf2.c: Likewise.
12869 * soft-fp/trunctfxf2.c: Likewise.
12870 * soft-fp/unorddf2.c: Likewise.
12871 * soft-fp/unordsf2.c: Likewise.
12872 * soft-fp/unordtf2.c: Likewise.
12873
9ebb0332
JM
128742013-10-15 Joseph Myers <joseph@codesourcery.com>
12875
12876 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12877 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12878
4b1a6d8b
OB
128792013-10-15 Ondřej Bílka <neleai@seznam.cz>
12880
12881 * elf/dl-libc.c: Clear initfini list after freeing.
12882
1e145589
JM
128832013-10-14 Joseph Myers <joseph@codesourcery.com>
12884
12885 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12886 * soft-fp/addsf3.c: Likewise.
12887 * soft-fp/addtf3.c: Likewise.
12888 * soft-fp/divdf3.c: Likewise.
12889 * soft-fp/divsf3.c: Likewise.
12890 * soft-fp/divtf3.c: Likewise.
12891 * soft-fp/double.h: Likewise.
12892 * soft-fp/eqdf2.c: Likewise.
12893 * soft-fp/eqsf2.c: Likewise.
12894 * soft-fp/eqtf2.c: Likewise.
12895 * soft-fp/extenddftf2.c: Likewise.
12896 * soft-fp/extended.h: Likewise.
12897 * soft-fp/extendsfdf2.c: Likewise.
12898 * soft-fp/extendsftf2.c: Likewise.
12899 * soft-fp/extendxftf2.c: Likewise.
12900 * soft-fp/fixdfdi.c: Likewise.
12901 * soft-fp/fixdfsi.c: Likewise.
12902 * soft-fp/fixdfti.c: Likewise.
12903 * soft-fp/fixsfdi.c: Likewise.
12904 * soft-fp/fixsfsi.c: Likewise.
12905 * soft-fp/fixsfti.c: Likewise.
12906 * soft-fp/fixtfdi.c: Likewise.
12907 * soft-fp/fixtfsi.c: Likewise.
12908 * soft-fp/fixtfti.c: Likewise.
12909 * soft-fp/fixunsdfdi.c: Likewise.
12910 * soft-fp/fixunsdfsi.c: Likewise.
12911 * soft-fp/fixunsdfti.c: Likewise.
12912 * soft-fp/fixunssfdi.c: Likewise.
12913 * soft-fp/fixunssfsi.c: Likewise.
12914 * soft-fp/fixunssfti.c: Likewise.
12915 * soft-fp/fixunstfdi.c: Likewise.
12916 * soft-fp/fixunstfsi.c: Likewise.
12917 * soft-fp/fixunstfti.c: Likewise.
12918 * soft-fp/floatdidf.c: Likewise.
12919 * soft-fp/floatdisf.c: Likewise.
12920 * soft-fp/floatditf.c: Likewise.
12921 * soft-fp/floatsidf.c: Likewise.
12922 * soft-fp/floatsisf.c: Likewise.
12923 * soft-fp/floatsitf.c: Likewise.
12924 * soft-fp/floattidf.c: Likewise.
12925 * soft-fp/floattisf.c: Likewise.
12926 * soft-fp/floattitf.c: Likewise.
12927 * soft-fp/floatundidf.c: Likewise.
12928 * soft-fp/floatundisf.c: Likewise.
12929 * soft-fp/floatunsidf.c: Likewise.
12930 * soft-fp/floatunsisf.c: Likewise.
12931 * soft-fp/floatuntidf.c: Likewise.
12932 * soft-fp/floatuntisf.c: Likewise.
12933 * soft-fp/floatuntitf.c: Likewise.
12934 * soft-fp/fmadf4.c: Likewise.
12935 * soft-fp/fmasf4.c: Likewise.
12936 * soft-fp/fmatf4.c: Likewise.
12937 * soft-fp/gedf2.c: Likewise.
12938 * soft-fp/gesf2.c: Likewise.
12939 * soft-fp/getf2.c: Likewise.
12940 * soft-fp/ledf2.c: Likewise.
12941 * soft-fp/lesf2.c: Likewise.
12942 * soft-fp/letf2.c: Likewise.
12943 * soft-fp/muldf3.c: Likewise.
12944 * soft-fp/mulsf3.c: Likewise.
12945 * soft-fp/multf3.c: Likewise.
12946 * soft-fp/negdf2.c: Likewise.
12947 * soft-fp/negsf2.c: Likewise.
12948 * soft-fp/negtf2.c: Likewise.
12949 * soft-fp/op-1.h: Likewise.
12950 * soft-fp/op-2.h: Likewise.
12951 * soft-fp/op-4.h: Likewise.
12952 * soft-fp/op-8.h: Likewise.
12953 * soft-fp/op-common.h: Likewise.
12954 * soft-fp/quad.h: Likewise.
12955 * soft-fp/single.h: Likewise.
12956 * soft-fp/soft-fp.h: Likewise.
12957 * soft-fp/sqrtdf2.c: Likewise.
12958 * soft-fp/sqrtsf2.c: Likewise.
12959 * soft-fp/sqrttf2.c: Likewise.
12960 * soft-fp/subdf3.c: Likewise.
12961 * soft-fp/subsf3.c: Likewise.
12962 * soft-fp/subtf3.c: Likewise.
12963 * soft-fp/truncdfsf2.c: Likewise.
12964 * soft-fp/trunctfdf2.c: Likewise.
12965 * soft-fp/trunctfsf2.c: Likewise.
12966 * soft-fp/trunctfxf2.c: Likewise.
12967 * soft-fp/unorddf2.c: Likewise.
12968 * soft-fp/unordsf2.c: Likewise.
12969 * soft-fp/unordtf2.c: Likewise.
12970
17c48a60
OB
129712013-10-14 Ondřej Bílka <neleai@seznam.cz>
12972
12973 [BZ #15672]
12974 * misc/error.c (error_tail): Fix possible buffer overflow.
12975
cabba934
OB
129762013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12977
12978 [BZ #13028]
12979 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12980 address.
12981
94bf958a
PM
129822013-10-14 P. J. McDermott <pj@pehjota.net>
12983
12984 [BZ #832]
12985 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12986 testing pipefail option.
12987
71b4dea7
JM
129882013-10-12 Joseph Myers <joseph@codesourcery.com>
12989
12990 * soft-fp/double.h: Indent preprocessor directives inside #if.
12991 * soft-fp/extended.h: Likewise.
12992 * soft-fp/op-2.h: Likewise.
12993 * soft-fp/op-4.h: Likewise.
12994 * soft-fp/op-common.h: Likewise.
12995 * soft-fp/quad.h: Likewise.
12996 * soft-fp/single.h: Likewise.
12997 * soft-fp/soft-fp.h: Likewise.
12998
55602758
YC
129992013-10-12 Yuri Chornoivan <yurchor@ukr.net>
13000
13001 * iconv/iconv_prog.c: Fix typos.
13002 * stdio-common/psiginfo-data.h: Likewise.
13003
9cd83302
RT
130042013-10-12 Reuben Thomas <rrt@sc3d.org>
13005
13006 [BZ #15764]
13007 * locale/setlocale.c: Fix typo.
13008
99fd9f47
JM
130092013-10-12 Joseph Myers <joseph@codesourcery.com>
13010
b7ea74f0
JM
13011 [BZ #16036]
13012 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13013 signaling NaN arguments.
13014 * soft-fp/unordsf2.c (__unordsf2): Likewise.
13015 * soft-fp/unordtf2.c (__unordtf2): Likewise.
13016
8a509447
JM
13017 [BZ #14910]
13018 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13019 unordered operands.
13020 * soft-fp/gesf2.c (__gesf2): Likewise.
13021 * soft-fp/getf2.c (__getf2): Likewise.
13022 * soft-fp/ledf2.c (__ledf2): Likewise.
13023 * soft-fp/lesf2.c (__lesf2): Likewise.
13024 * soft-fp/letf2.c (__letf2): Likewise.
13025
98998e9f
JM
13026 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13027 * soft-fp/eqsf2.c (__eqsf2): Likewise.
13028 * soft-fp/eqtf2.c (__eqtf2): Likewise.
13029 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13030 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13031 * soft-fp/fixdfti.c (__fixdfti): Likewise.
13032 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13033 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13034 * soft-fp/fixsfti.c (__fixsfti): Likewise.
13035 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13036 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13037 * soft-fp/fixtfti.c (__fixtfti): Likewise.
13038 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13039 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13040 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13041 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13042 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13043 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13044 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13045 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13046 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13047 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13048 * soft-fp/floatdisf.c (__floatdisf): Likewise.
13049 * soft-fp/floatsisf.c (__floatsisf): Likewise.
13050 * soft-fp/floattidf.c (__floattidf): Likewise.
13051 * soft-fp/floattisf.c (__floattisf): Likewise.
13052 * soft-fp/floattitf.c (__floattitf): Likewise.
13053 * soft-fp/floatundidf.c (__floatundidf): Likewise.
13054 * soft-fp/floatundisf.c (__floatundisf): Likewise.
13055 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13056 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13057 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13058 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13059 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13060 * soft-fp/gesf2.c (__gesf2): Likewise.
13061 * soft-fp/getf2.c (__getf2): Likewise.
13062 * soft-fp/ledf2.c (__ledf2): Likewise.
13063 * soft-fp/lesf2.c (__lesf2): Likewise.
13064 * soft-fp/letf2.c (__letf2): Likewise.
13065
8edc4a11
JM
13066 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13067 Undefine and redefine.
13068 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13069 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13070 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13071 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13072 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13073 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13074 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13075 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13076 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13077 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13078 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13079 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13080 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13081 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13082 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13083
8399acaf
JM
13084 [BZ #16032]
13085 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13086 without decrementing exponent if mantissa >= that for the
13087 denominator, not >.
13088 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13089 denominator, not >. Decrement exponent in < case instead of
13090 incrementing in >= case.
13091 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13092 without decrementing exponent if mantissa >= that for the
13093 denominator, not >.
13094
99fd9f47
JM
13095 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13096 computing saturated result for unsigned overflow.
13097
10e1cf6b
SP
130982013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13099 Jeff Law <law@redhat.com>
13100
13101 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13102 (atan2Mp): Add systemtap probe marker.
13103 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13104 (__ieee754_log): Add systemtap probe marker.
13105 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13106 (atanMp): Add systemtap probe marker.
13107 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13108 (tanMp): Add systemtap probe marker.
13109 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13110 (__slowexp): Add systemtap probe marker.
13111 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13112 (__slowpow): Add systemtap probe marker.
13113 * manual/probes.texi: Document probes.
13114
3d110c7c
EB
131152013-10-11 Eric Biggers <ebiggers3@gmail.com>
13116
13117 [BZ #15362]
13118 * libio/fileops.c (_IO_new_file_write): Return count of bytes
13119 written.
13120 (_IO_new_file_xsputn): Don't return EOF if nothing has been
13121 written.
13122 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13123 written to buffer but not flushed.
13124 * libio/iofwrite_u.c: Likewise.
13125 * libio/iopadn.c: Return bytes returned even if EOF was
13126 encountered.
13127 * libio/iowpadn.c: Likewise.
13128 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13129 if _IO_padn does not write the whole buffer.
13130 [!COMPILE_WPRINTF] (PAD): Likewise.
13131
75b4202a
DM
131322013-10-10 David S. Miller <davem@davemloft.net>
13133
13134 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13135 directory block.
13136
6c6352e6
JM
131372013-10-10 Joseph Myers <joseph@codesourcery.com>
13138
33b853c3
JM
13139 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
13140 instead of FSF address.
13141 * soft-fp/fixdfti.c: Likewise.
13142 * soft-fp/fixsfti.c: Likewise.
13143 * soft-fp/fixtfti.c: Likewise.
13144 * soft-fp/fixunsdfti.c: Likewise.
13145 * soft-fp/fixunssfti.c: Likewise.
13146 * soft-fp/fixunstfti.c: Likewise.
13147 * soft-fp/floattidf.c: Likewise.
13148 * soft-fp/floattisf.c: Likewise.
13149 * soft-fp/floattitf.c: Likewise.
13150 * soft-fp/floatuntidf.c: Likewise.
13151 * soft-fp/floatuntisf.c: Likewise.
13152 * soft-fp/floatuntitf.c: Likewise.
13153 * soft-fp/trunctfxf2.c: Likewise.
13154
6c6352e6
JM
13155 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
13156 * soft-fp/fixdfti.c: Likewise.
13157 * soft-fp/fixsfti.c: Likewise.
13158 * soft-fp/fixtfti.c: Likewise.
13159 * soft-fp/fixunsdfti.c: Likewise.
13160 * soft-fp/fixunssfti.c: Likewise.
13161 * soft-fp/fixunstfti.c: Likewise.
13162 * soft-fp/floattidf.c: Likewise.
13163 * soft-fp/floattisf.c: Likewise.
13164 * soft-fp/floattitf.c: Likewise.
13165 * soft-fp/floatuntidf.c: Likewise.
13166 * soft-fp/floatuntisf.c: Likewise.
13167 * soft-fp/floatuntitf.c: Likewise.
13168 * soft-fp/trunctfxf2.c: Likewise.
13169
3bf78b71
DM
131702013-10-10 David S. Miller <davem@davemloft.net>
13171
13172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13173
6f10289e
JM
131742013-10-10 Joseph Myers <joseph@codsourcery.com>
13175
bd878fc0
JM
13176 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13177 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13178 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13179 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13180 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13181 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13182 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13183
6f10289e
JM
13184 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13185 for NaNs before doing comparisons on argument.
13186 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13187 Likewise.
13188
321e2684
WN
131892013-10-10 Will Newton <will.newton@linaro.org>
13190
13191 * malloc/hooks.c (memalign_check): Ensure the value of bytes
13192 passed to _int_memalign does not overflow.
13193
40fefba1
TR
131942013-10-10 Torvald Riegel <triegel@redhat.com>
13195
13196 * scripts/bench.pl: Add include-sources directive.
13197 * benchtests/README: Update documentation.
13198
2ae21ed2
JM
131992013-10-10 Joseph Myers <joseph@codesourcery.com>
13200
dcc2dd3f
JM
13201 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13202 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13203 instead of FP_INIT_ROUNDMODE.
13204 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13205 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13206
2ae21ed2
JM
13207 [BZ #16034]
13208 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
13209 copy class of input value.
13210 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
13211 not handle exceptions.
13212 * soft-fp/negsf2.c (__negsf2): Likewise.
13213 * soft-fp/negtf2.c (__negtf2): Likewise.
13214 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13215
cb8f9562
JM
132162013-10-09 Joseph Myers <joseph@codesourcery.com>
13217
13218 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13219 semicolon. From Linux kernel.
13220
5b60c59d
AB
132212013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
13222
13223 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13224
b86835ca
YC
132252013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
13226
13227 [BZ #156]
13228 * manual/socket.texi: Added statement about buffer
13229 for gethostbyname2_r.
13230
e7044ea7
OB
132312013-10-08 Ondřej Bílka <neleai@seznam.cz>
13232
13233 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13234 Use .p2align directive instead, throughout.
13235 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13236 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13237 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13238 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13239 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13240 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13241 * sysdeps/x86_64/strchr.S: Likewise.
13242 * sysdeps/x86_64/strrchr.S: Likewise.
13243
09544cbc
SP
132442013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13245
88576635
SP
13246 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13247
e7b2d1dd
SP
13248 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13249
09544cbc
SP
13250 * sysdeps/generic/math_private.h (__mpsin1): Remove
13251 declaration.
13252 (__mpcos1): Likewise.
13253 (__mpsin): New argument __range_reduce.
13254 (__mpcos): Likewise.
13255 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13256 (slow): Use __mpsin and __mpcos.
13257 (slow1): Likewise.
13258 (slow2): Likewise.
13259 (sloww): Likewise.
13260 (sloww1): Likewise.
13261 (sloww2): Likewise.
13262 (bsloww): Likewise.
13263 (bsloww1): Likewise.
13264 (bsloww2): Likewise.
13265 (cslow2): Likewise.
13266 (csloww): Likewise.
13267 (csloww1): Likewise.
13268 (csloww2): Likewise.
13269 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
13270 range_reduce. Merge in __mpsin1.
13271 (__mpcos): Likewise.
13272 (__mpsin1): Remove.
13273 (__mpcos1): Likewise.
13274
7602d070
JM
132752013-10-07 Joseph Myers <joseph@codesourcery.com>
13276
13277 * locale/loadlocale.c (_nl_intern_locale_data): Use
13278 LOCFILE_ALIGNED_P.
13279 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
13280 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
13281 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
13282 obstack data is appropriately aligned.
13283 (obstack_int32_grow_fast): Likewise.
13284 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
13285 * locale/programs/locfile.c (add_locale_uint32): Likewise.
13286 (add_locale_uint32_array): Likewise.
13287
a357259b
SP
132882013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13289
13290 * benchtests/Makefile: Remove ARGLIST and RET variables.
13291 ($(objpfx)bench-%.c): Pass only function name to the script.
13292 * benchtests/README: Update documentation.
13293 * benchtests/acos-inputs: Add new directives.
13294 * benchtests/acosh-inputs: Likewise.
13295 * benchtests/asin-inputs: Likewise.
13296 * benchtests/asinh-inputs: Likewise.
13297 * benchtests/atan-inputs: Likewise.
13298 * benchtests/atanh-inputs: Likewise.
13299 * benchtests/cos-inputs: Likewise.
13300 * benchtests/cosh-inputs: Likewise.
13301 * benchtests/exp-inputs: Likewise.
13302 * benchtests/log-inputs: Likewise.
13303 * benchtests/pow-inputs: Likewise.
13304 * benchtests/rint-inputs: Likewise.
13305 * benchtests/sin-inputs: Likewise.
13306 * benchtests/sinh-inputs: Likewise.
13307 * benchtests/tan-inputs: Likewise.
13308 * benchtests/tanh-inputs: Likewise.
13309 * scripts/bench.pl: Add support for new directives.
13310
9ec1b13d
AM
133112013-10-07 Alan Modra <amodra@gmail.com>
13312
13313 * README: Fix careless merge.
13314
8b7d57cd
AM
133152013-10-05 Alan Modra <amodra@gmail.com>
13316
13317 * NEWS: Mention powerpc64le support and bugs fixed.
13318 * README: Both big-endian and little-endian powerpc64 supported.
13319
7b7bab13
ST
133202013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13321
57f41c40
AS
13322 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
13323 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
13324 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
13325 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
13326
d39baad1
RA
133272013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
13328
13329 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
13330 match prototype.
13331
cd78f7e7
JM
133322013-10-04 Joseph Myers <joseph@codesourcery.com>
13333
29d73d86
JM
13334 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
13335 Move -mhard-float appending from
13336 ports/sysdeps/powerpc/powerpc32/Makefile.
13337 [$(with-fp) = yes] (ASFLAGS): Likewise.
13338 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
13339 * sysdeps/powerpc/nofpu: Move directory from
13340 ports/sysdeps/powerpc/nofpu.
13341 * sysdeps/powerpc/soft-fp: Move directory from
13342 ports/sysdeps/powerpc/soft-fp.
13343 * sysdeps/powerpc/powerpc32/405: Move directory from
13344 ports/sysdeps/powerpc/powerpc32/405.
13345 * sysdeps/powerpc/powerpc32/440: Move directory from
13346 ports/sysdeps/powerpc/powerpc32/440.
13347 * sysdeps/powerpc/powerpc32/464: Move directory from
13348 ports/sysdeps/powerpc/powerpc32/464.
13349 * sysdeps/powerpc/powerpc32/476: Move directory from
13350 ports/sysdeps/powerpc/powerpc32/476.
13351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
13352 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
13353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
13354 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
13355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
13356 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
13357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
13358 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
13359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
13360 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
13361 * README: Update for powerpc-*-linux-gnu software floating point
13362 support in libc.
13363
e246b347
JM
13364 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
13365 case to powerpc/powerpc32*.
13366 * sysdeps/unix/sysv/linux/configure: Regenerated.
13367
89c2003e
JM
13368 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
13369 (_FPU_MASK_OM): Define as 0x04.
13370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
13371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
13372 0x00c10080.
13373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
13374 0x0000003c.
13375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
13376
cd78f7e7
JM
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
13378 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13379 getcontext_e500.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
13381 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
13382 setcontext_e500.
13383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
13384 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
13385 and setcontext_e500.
13386
c755294d
CL
133872013-10-04 Chris Leonard <cjl@sugarlabs,.org>
13388
13389 * locale/iso-3166.def: Update iso-1366.def and related occurrences
13390
e16d221c
SP
133912013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13392
13393 * manual/threads.texi (Default Thread Attributes): Fix typo.
13394
215c7d43
WN
133952013-10-04 Will Newton <will.newton@linaro.org>
13396
13397 * malloc/Makefile: Add tst-memalign.
13398 * malloc/tst-memalign.c: New file.
13399
27d0461b
WN
13400 * malloc/tst-posix_memalign.c: Add comments.
13401 (do_test): Add comments and call free on all potentially
13402 allocated pointers. Add space after cast.
13403
1bc92709
WN
13404 * malloc/tst-pvalloc.c: Add comments.
13405 (do_test): Add comments and call free on all potentially
13406 allocated pointers. Remove duplicate check for NULL pointer.
13407 Add space after cast.
13408
66a9be9d
WN
13409 * malloc/tst-valloc.c: Add comments.
13410 (do_test): Add comments and call free on all potentially
13411 allocated pointers. Remove duplicate check for NULL pointer.
13412 Add space after cast.
13413
4cb81307
AM
134142013-10-04 Alan Modra <amodra@gmail.com>
13415
13416 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13417 Use stdint types in rather than __attribute__((mode())).
13418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13419
f8e3e9f3
AM
134202013-10-04 Alan Modra <amodra@gmail.com>
13421
13422 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13423 Correct handling of unaligned relocs for little-endian.
13424 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13425
8f9ebb08
AM
134262013-10-04 Alan Modra <amodra@gmail.com>
13427
13428 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13429 * configure: Regenerate.
13430 * nptl/shlib-versions: Powerpc*le starts at 2.18.
13431 * shlib-versions: Likewise.
13432
0edf96c2
AM
134332013-10-04 Alan Modra <amodra@gmail.com>
13434
13435 * string/tester.c (test_memrchr): Increment reported test cycle.
13436
e0f7a380
AM
134372013-10-04 Alan Modra <amodra@gmail.com>
13438
13439 * string/test-memcpy.c (do_one_test): When reporting errors, print
13440 string address and don't overrun end of string.
13441
466b0393
AM
134422013-10-04 Alan Modra <amodra@gmail.com>
13443
13444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13445 insrdi. Make better use of reg selection to speed exit slightly.
13446 Schedule entry path a little better. Remove useless "are we done"
13447 checks on entry to main loop. Handle wrapping around zero address.
13448 Correct main loop count. Handle single left-over word from main
13449 loop inline rather than by using loop_small. Remove extra word
13450 case in loop_small caused by wrong loop count. Add little-endian
13451 support.
13452 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
13454 cache hint.
13455 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13456 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13457 support. Avoid rlwimi.
13458 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13459
3be87c77
AM
134602013-10-04 Alan Modra <amodra@gmail.com>
13461
13462 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 13463 insrdi. Formatting.
3be87c77
AM
13464 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13465 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13466 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13467 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13468 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13469 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13470
759cfef3
AM
134712013-10-04 Alan Modra <amodra@gmail.com>
13472
13473 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13474 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13475 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13476 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13477 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13478 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13479 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13480 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13481 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
13482 use of regs. Use power7 mtocrf. Tidy function tails.
13483
fe6e95d7
AM
134842013-10-04 Alan Modra <amodra@gmail.com>
13485
13486 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13487 Formatting. Consistently use rXXX register defines or rN defines.
13488 Use early exit labels that avoid restoring unused non-volatile regs.
13489 Make cr field use more consistent with rWORDn compares. Rename
13490 regs used as shift registers for unaligned loop, using rN defines
13491 for short lifetime/multiple use regs.
13492 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13493 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
13494 addi 1,1,64 to pop stack frame. Simplify return value code.
13495 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13496
664318c3
AM
134972013-10-04 Alan Modra <amodra@gmail.com>
13498
13499 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13500 support. Correct typos, formatting. Optimize tail. Use insrdi
13501 rather than rlwimi.
13502 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13503 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13504 little-endian support. Correct typos.
13505 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
13506 rather than rlwimi.
13507 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
13508 in loop and entry code to keep "and." results.
13509 (strchr): Add little-endian support. Comment. Move cntlzd
13510 earlier in tail.
13511 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13512
43b84013
AM
135132013-10-04 Alan Modra <amodra@gmail.com>
13514
13515 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13516 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13517 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13518 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13519
8a7413f9
AM
135202013-10-04 Alan Modra <amodra@gmail.com>
13521
13522 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13523 (rTMP): Define as r11.
13524 (strcmp): Add little-endian support. Optimise tail.
13525 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13526 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13527 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13528 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13529 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13530 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13532
33ee81de
AM
135332013-10-04 Alan Modra <amodra@gmail.com>
13534
13535 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13536 little-endian support. Remove unnecessary "are we done" tests.
13537 Handle "s" wrapping around zero and extremely large "size".
13538 Correct main loop count. Handle single left-over word from main
13539 loop inline rather than by using small_loop. Correct comments.
13540 Delete "zero" tail, use "end_max" instead.
13541 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13542
db9b4570
AM
135432013-10-04 Alan Modra <amodra@gmail.com>
13544
13545 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13546 support. Don't branch over align.
13547 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13548 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13549 support. Rearrange tmp reg use to suit. Comment.
13550 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13551
f7c399cf
AM
135522013-10-04 Alan Modra <amodra@gmail.com>
13553
13554 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13555
0b2c2ace
AM
135562013-10-04 Alan Modra <amodra@gmail.com>
13557
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13559 conditional form of branch and link when obtaining pc.
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13561
02f04a6c
AM
135622013-10-04 Alan Modra <amodra@gmail.com>
13563
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13565 HIWORD/LOWORD.
13566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13568
9b874b2f
AM
135692013-10-04 Alan Modra <amodra@gmail.com>
13570
13571 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13572 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13573 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13574 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13575 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13576 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13577 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13578 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13579 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13580 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13581
be1e5d31
AB
135822013-10-04 Anton Blanchard <anton@au1.ibm.com>
13583 Alistair Popple <alistair@ozlabs.au.ibm.com>
13584 Alan Modra <amodra@gmail.com>
13585
13586 [BZ #15723]
13587 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13588 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13589 _dl_hwcap access for little-endian.
13590 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
13591 destroy vmx regs when saving unaligned.
13592 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13593 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
13594 destroy vmx regs when saving unaligned.
13595
fef13a78
AM
135962013-10-04 Alan Modra <amodra@gmail.com>
13597
13598 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13599 Don't use a union to pack hi/low value.
13600
76a66d51
AB
136012013-10-04 Anton Blanchard <anton@au1.ibm.com>
13602
13603 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13604 for little-endian.
13605 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13606 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13607 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13608 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13609 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13610
6a31fe7f
AM
136112013-10-04 Alan Modra <amodra@gmail.com>
13612
13613 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13614 constants to usual value for .cst8 section, and remove redundant
13615 high address load.
13616 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13617 constant for 0x1p52. Load little-endian words of double from
13618 correct stack offsets.
13619
7b88401f
AM
136202013-10-04 Alan Modra <amodra@gmail.com>
13621
13622 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13623 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13624 words of double from correct stack offsets.
13625 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13626 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13627 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13628 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13629 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13630 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13631 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13632 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13633 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13634 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13635 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13636 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13637 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13638 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13639 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13640 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13641 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13642
9c008155
AM
136432013-10-04 Alan Modra <amodra@gmail.com>
13644
13645 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13646 64-bit int/double union.
13647 (_FPU_SETCW): Likewise.
13648 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13649 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13650
da13146d
AM
136512013-10-04 Alan Modra <amodra@gmail.com>
13652
13653 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13654 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13655
603e8410
AM
136562013-10-04 Alan Modra <amodra@gmail.com>
13657
13658 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13659 use vector int constants.
13660 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13661
4a28b3ca
AB
136622013-10-04 Anton Blanchard <anton@au1.ibm.com>
13663
13664 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13665 array with long long.
13666 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13667 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13668 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13669 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13670 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13671 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13672 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13673 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13674 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13675 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13676 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13677 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13678 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13679
2ca85d2b
AB
136802013-10-04 Anton Blanchard <anton@au1.ibm.com>
13681
13682 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13683 (__signbit): Likewise. Correct for little-endian.
13684 (__signbitl): Call __signbit.
13685 (lrint): Correct for little-endian.
13686 (lrintf): Call lrint.
13687
62a728ae
AM
136882013-10-04 Alan Modra <amodra@gmail.com>
13689
13690 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13691 union 32-bit int array member with 64-bit int array.
13692 (t515, tm256): Double rather than long double.
13693 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13694
32c301df
AM
136952013-10-04 Alan Modra <amodra@gmail.com>
13696
13697 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13698 Delete.
13699 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13700 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13701 version of math_ldbl.h.
13702
650ef4bd
AM
137032013-10-04 Alan Modra <amodra@gmail.com>
13704
13705 [BZ #15734], [BZ #15735]
13706 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13707 all uses of ieee875 long double macros and unions. Simplify test
13708 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13709 ldbl_extract_mantissa value for ix,iy exponents. Properly
13710 normalize after ldbl_extract_mantissa, and don't add hidden bit
13711 already handled. Don't treat low word of ieee854 mantissa like
13712 low word of IBM long double and mask off bit when testing for
13713 zero.
13714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13715 all uses of ieee875 long double macros and unions. Simplify tests
13716 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13717 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13718 two1022, instead use their values. Recognise that tests for large
13719 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13720 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13721 Rewrite all uses of ieee875 long double macros and unions. Simplify
13722 test for 0.0L and nan. Correct negation.
13723 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13724 ieee875 long double macros and unions. Correct output for large
13725 magnitude x. Correct absolute value calculation.
13726 (__erfcl): Likewise.
13727 * math/libm-test.inc: Add tests for errors discovered in IBM long
13728 double versions of fmodl, remainderl, erfl and erfcl.
13729
765714ca
AM
137302013-10-04 Alan Modra <amodra@gmail.com>
13731
13732 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13733 all uses of ieee854 long double macros and unions. Simplify tests
13734 for long doubles that are fully specified by the high double.
13735 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13736 Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13738 Remove dead code too.
13739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13740 (__ieee754_ynl): Likewise.
13741 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13742 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13744 Remove dead code too.
13745 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13749 Simplify.
13750 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13751 Simplify.
13752 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13755 Comment on variable precision.
13756 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13758 Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13760 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13761 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13762 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13763 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13764
4ebd120c
AM
137652013-10-04 Alan Modra <amodra@gmail.com>
13766
13767 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13769 all uses of ieee854 long double macros and unions.
13770 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13772 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13774 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13776 Likewise.
13777 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13778 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13779 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13780 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13781 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13782 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13783 Simplify sign and nan test too.
13784 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13785 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13786 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13787 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13788 Likewise.
13789 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13790 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13791 Likewise.
13792 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13793 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13794 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13795 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13796 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13798
1b6adf88
AM
137992013-10-04 Alan Modra <amodra@gmail.com>
13800
13801 * stdio-common/printf_size.c (__printf_size): Don't use
13802 union ieee854_long_double in fpnum union.
13803 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13804 signbit macro to retrieve sign from long double.
13805 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13806 retrieve sign from long double.
13807 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13808 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13809 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13810 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13811 * math/test-misc.c (main): Don't use union ieee854_long_double.
13812
4cf69995
AM
138132013-10-04 Alan Modra <amodra@gmail.com>
13814
13815 [BZ #15680]
13816 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13817 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13818 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13819 calculation. Remove unnecessary test for denormal exponent.
13820 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13821 Correct handling of denormals. Avoid undefined shift behaviour.
13822 Correct normalisation of low mantissa when low double is denormal.
13823 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13824 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13825 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13826 Correct normalisation of low mantissa. Test for overflow of high
13827 mantissa and normalise.
13828 (ldbl_nearbyint): Use more readable constant for two52.
13829 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13830 (__mpn_construct_long_double): Fix test for overflow of high
13831 mantissa and correct normalisation. Avoid undefined shift.
13832
9605ca6c
AM
138332013-10-04 Alan Modra <amodra@gmail.com>
13834
13835 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13836 (union ibm_extended_long_double): Define as an array of ieee754_double.
13837 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13838 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13839 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13840 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13843 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13844 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13845 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13846 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13847 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13848
975569d0
JM
138492013-10-03 Joseph Myers <joseph@codesourcery.com>
13850
d3d23756
JM
13851 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13852 page size instead of calling getpagesize.
13853
975569d0
JM
13854 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13855 (LOCFILE_ALIGN_MASK): Likewise.
13856 (LOCFILE_ALIGN_UP): Likewise.
13857 (LOCFILE_ALIGNED_P): Likewise.
13858 * locale/programs/ld-collate.c (collate_output): Use the new
13859 macros instead of __alignof__ (int32_t).
13860 * locale/weight.h (findidx): Likewise.
13861
b1fe1f2b
OB
138622013-10-03 Ondřej Bílka <neleai@seznam.cz>
13863
13864 [BZ #431]
13865 * manual/string.texi: Fix strncat and wcsncat.
13866
5f855e35
BM
138672013-10-03 Brooks Moses <bmoses@google.com>
13868
13869 [BZ #15915]
13870 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13871 * Makerules: ...here, and adjust associated comments.
13872
3cef6009
WN
138732013-10-02 Will Newton <will.newton@linaro.org>
13874
13875 * malloc/Makefile: Add tst-pvalloc.
13876 * malloc/tst-pvalloc.c: New file.
13877
7815420b
WN
138782013-10-02 Will Newton <will.newton@linaro.org>
13879
13880 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13881 improve test coverage.
13882
4868b204
WN
138832013-10-02 Will Newton <will.newton@linaro.org>
13884
13885 * malloc/Makefile: Add tst-posix_memalign.
13886 * malloc/tst-posix_memalign.c: New file.
13887
29c793b3
EB
138882013-10-01 Eric Blake <eblake@redhat.com>
13889
13890 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13891 Use __THROWNL rather than __THROW on static functions.
13892
fd967522
PM
138932013-09-30 Petr Machata <pmachata@redhat.com>
13894
13895 * elf/elf.h (R_AARCH64_ABS16): New macro.
13896 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13897 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13898 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13899 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13900 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13901 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13902 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13903 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13904 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13905 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13906 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13907 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13908 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13909 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13910 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13911 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13912 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13913 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13914 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13915 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13916 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13917 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13918 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13919 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13920 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13921 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13922 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13923 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13924 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13925 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13926 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13927 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13928 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13929 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13930 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13931 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13932 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13933 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13934 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13935 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13936 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13937 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13938 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13939 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13940 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13941 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13942 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13943 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13944 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13945 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13946 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13947 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13948 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13949 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13950 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13951 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13952 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13953 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13954 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13955 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13956 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13957 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13958 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13959 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13960 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13961 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13962 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13963 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13964 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13965 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13966 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13967 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13968 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13969 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13970 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13971 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13972 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13973 (R_AARCH64_TLSDESC_LDR): Likewise.
13974 (R_AARCH64_TLSDESC_ADD): Likewise.
13975 (R_AARCH64_TLSDESC_CALL): Likewise.
13976
b2179107
AS
139772013-09-30 Andreas Schwab <schwab@suse.de>
13978
13979 [BZ #15048]
13980 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13981 the nss database lookup.
13982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13984
47f28d0a
MF
139852013-09-28 Mike Frysinger <vapier@gentoo.org>
13986
13987 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13988
139892013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
13990
13991 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13992 ${Bash-specific parameter/pattern/string} parameter expansion.
13993 * sysdeps/unix/make-syscalls.sh: Likewise.
13994
f4518a17
KK
139952013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13996
13997 * sysdeps/sh/stackguard-macros.h: New file.
13998
dc1a95c7
OB
139992013-09-26 Ondřej Bílka <neleai@seznam.cz>
14000
14001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14003 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14004 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14005 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14006 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14007
5ebbff8f
AZ
140082013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14009
14010 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14011 Fix thread ID register.
14012
4fd2cf9f
JM
140132013-09-25 Joseph Myers <joseph@codesourcery.com>
14014
14015 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14016 [POSIX || UNIX98]: Require rather than permitting all symbols from
14017 <time.h>.
14018 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14019 element of struct sched_param.
14020 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14021 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14022 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14023 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14024 constant.
14025
12c22bc4
OL
140262013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
14027
14028 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14029 argument calculation.
14030
a03d8ea7
JM
140312013-09-24 Joseph Myers <joseph@codesourcery.com>
14032
14033 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14034 Expect macro.
14035 [POSIX] (pthread_attr_t): Do not require type.
14036 [POSIX] (pthread_cond_t): Likewise.
14037 [POSIX] (pthread_condattr_t): Likewise.
14038 [POSIX] (pthread_key_t): Likewise.
14039 [POSIX] (pthread_mutex_t): Likewise.
14040 [POSIX] (pthread_mutexattr_t): Likewise.
14041 [POSIX] (pthread_once_t): Likewise.
14042 [POSIX] (pthread_t): Likewise.
14043 [POSIX-based standards] (pthread_atfork): Expect function.
14044
6055173a
JM
140452013-09-24 Joseph Myers <joseph@codesourcery.com>
14046 Richard Sandiford <richard@codesourcery.com>
14047
14048 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14049 (swap_endianness_p): New extern variable.
14050 (set_big_endian): New inline function.
14051 (maybe_swap_uint32): Likewise.
14052 (maybe_swap_uint32_array): Likewise.
14053 (maybe_swap_uint32_obstack): Likewise.
14054 * locale/programs/locfile.c: Include <stdbool.h>.
14055 (swap_endianness_p): New variable.
14056 (add_locale_uint32): Call maybe_swap_uint32.
14057 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14058 (write_locale_data): Call maybe_swap_uint32_array.
14059 * locale/programs/ld-collate.c (obstack_int32_grow): Call
14060 maybe_swap_uint32.
14061 (obstack_int32_grow_fast): Likewise.
14062 (output_weightwc): Call maybe_swap_uint32_obstack.
14063 (collate_output): Likewise.
14064 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14065 (OPT_LITTLE_ENDIAN): Likewise.
14066 (options): Add --little-endian and --big-endian options.
14067 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14068 * locale/programs/locarchive.c: Include "locfile.h".
14069 (GET): New macro.
14070 (SET): Likewise.
14071 (INC): Likewise.
14072 (create_archive): Use the new macros to access fields of
14073 structures directly mapped from or written to locale archives.
14074 (oldlocrecentcmp): Likewise.
14075 (enlarge_archive): Likewise.
14076 (insert_name): Likewise.
14077 (add_alias): Likewise.
14078 (add_locale): Likewise.
14079 (delete_locales_from_archive): Likewise.
14080 (show_archive_content): Likewise.
14081 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
14082 locale data.
14083
39bf0bb4
RM
140842013-09-24 Roland McGrath <roland@hack.frob.com>
14085
14086 * manual/freemanuals.texi: Updated from (newly) canonical copy at
14087 http://www.gnu.org/doc/freemanuals.texi.
14088 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14089
f02eed10
WN
140902013-09-24 Will Newton <will.newton@linaro.org>
14091
14092 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14093 macro.
14094
a3a6c312
JM
140952013-09-23 Joseph Myers <joseph@codesourcery.com>
14096
14097 * locale/hashval.h (compute_hashval): Interpret bytes of key as
14098 unsigned char.
14099
107375ac
MR
141002013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
14101
14102 * manual/threads.texi (POSIX Threads): Fix a typo.
14103
141f3a77
SP
141042013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14105
303e567a
SP
14106 [BZ #14547]
14107 * string/tst-strcoll-overflow.c: New test case.
14108 * string/Makefile (xtests): Add tst-strcoll-overflow.
14109 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14110 cache if string sizes may cause integer overflow.
14111
141f3a77
SP
14112 [BZ #14547]
14113 * string/strcoll_l.c (coll_seq): New members rule, idx,
14114 save_idx and back_us.
14115 (get_next_seq_nocache): New function.
14116 (do_compare_nocache): New function.
14117 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14118 when malloc fails.
14119
c61b4d41
CD
141202013-09-23 Carlos O'Donell <carlos@redhat.com>
14121
0b1f8e35
CD
14122 [BZ #15754]
14123 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14124 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14125 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14126
c61b4d41
CD
14127 [BZ #15754]
14128 * elf/Makefile (tests): Add tst-ptrguard1.
14129 (tests-static): Add tst-ptrguard1-static.
14130 (tst-ptrguard1-ARGS): Define.
14131 (tst-ptrguard1-static-ARGS): Define.
14132 * elf/tst-ptrguard1.c: New file.
14133 * elf/tst-ptrguard1-static.c: New file.
14134 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14135 * sysdeps/i386/stackguard-macros.h: Likewise.
14136 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14137 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14138 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14139 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14140 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14141 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14142
141432013-09-23 Hector Marco <hecmargi@upv.es>
14144 Ismael Ripoll <iripoll@disca.upv.es>
14145 Carlos O'Donell <carlos@redhat.com>
14146
14147 [BZ #15754]
14148 * sysdeps/generic/stackguard-macros.h: Define
14149 __pointer_chk_guard_local and POINTER_CHK_GUARD.
14150 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14151 Define __pointer_chk_guard_local.
14152 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14153 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14154
f5f4e7b4
VV
141552013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
14156
14157 [BZ #15859]
14158 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14159
5bb43a43
AS
141602013-09-20 Andreas Schwab <schwab@linux-m68k.org>
14161
14162 * include/string.h (__ffs): Declare as hidden.
14163 * string/ffs.c (__ffs): Define as hidden.
14164 * sysdeps/i386/ffs.c (__ffs): Likewise.
14165 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14166 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14167 * sysdeps/s390/ffs.c (__ffs): Likewise.
14168 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14169
3ea5be54
AO
141702013-09-20 Alexandre Oliva <aoliva@redhat.com>
14171
ffb89e53
AO
14172 * NEWS: Mention malloc probes.
14173
322dea08
AO
14174 * malloc/arena.c (new_heap): New memory_heap_new probe.
14175 (grow_heap): New memory_heap_more probe.
14176 (shrink_heap): New memory_heap_less probe.
14177 (heap_trim): New memory_heap_free probe.
14178 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14179 (systrim): New memory_sbrk_less probe.
14180 * manual/probes.texi: Document them.
14181
655673f3
AO
14182 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14183 * manual/probes.texi: Document it.
14184
35fed6f1
AO
14185 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14186 (__libc_realloc): Add memory_realloc_retry probe.
14187 (__libc_memalign): Add memory_memalign_retry probe.
14188 (__libc_valloc): Add memory_valloc_retry probe.
14189 (__libc_pvalloc): Add memory_pvalloc_retry probe.
14190 (__libc_calloc): Add memory_calloc_retry probe.
14191 * manual/probes.texi: Document them.
14192
6999d38c
AO
14193 * malloc/arena.c (get_free_list): Add probe
14194 memory_arena_reuse_free_list.
14195 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14196 and memory_arena_reuse.
14197 (arena_get2) [!PER_THREAD]: Likewise.
14198 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14199 memory_arena_reuse_realloc.
14200 * manual/probes.texi: Document them.
14201
0653427f
AO
14202 * malloc/malloc.c (__libc_free): Add
14203 memory_mallopt_free_dyn_thresholds probe.
14204 (__libc_mallopt): Add multiple memory_mallopt probes.
14205 * manual/probes.texi: Document them.
14206
3ea5be54
AO
14207 * malloc/malloc.c: Include stap-probe.h.
14208 (__libc_mallopt): Add memory_mallopt probe.
14209 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14210 * manual/probes.texi: New.
14211 * manual/Makefile (chapters): Add probes.
14212 * manual/threads.texi: Set next node.
14213
e35696c3 142142013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 14215
e35696c3
CL
14216 [BZ #15963, #13985]
14217 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14218 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14219 Add `Chinese' to `nan' entry name.
14220
4aafb73c
SP
142212013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14222
14223 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14224 (POLYNOMIAL): Likewise.
14225 (TAYLOR_SINCOS): Likewise.
14226 (TAYLOR_SLOW): Likewise.
14227 (__sin): Use TAYLOR_SINCOS.
14228 (__cos): Likewise.
14229 (slow): Use TAYLOR_SLOW.
14230 (sloww): Likewise.
14231 (bsloww): Likewise.
14232 (csloww): Likewise.
14233
d84f25c7
LD
142342013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14235
14236 * stdlib/strtod_l.c: Fix buffer overrun.
14237
5eea0404
SP
142382013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14239
7849ff93
SP
14240 * benchtests/Makefile (bench): Add sincos.
14241 * benchtests/bench-sincos.c: New file.
14242
cfa3c886
SP
14243 * math/libm-test.inc (cos_test_data): New test inputs.
14244 (sin_test_data): Likewise.
14245
b348e1e3
SP
14246 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14247 macro.
14248 (__sin): Use it.
14249 (__cos): Likewise.
14250 (slow1): Likewise.
14251 (slow2): Likewise.
14252 (sloww1): Likewise.
14253 (sloww2): Likewise.
14254 (bsloww1): Likewise.
14255 (bsloww2): Likewise.
14256 (cslow2): Likewise.
14257 (csloww1): Likewise.
14258 (csloww2): Likewise.
14259
6cce25f8
SP
14260 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
14261 function.
14262 (__sin): Use it.
14263 (__cos): Likewise.
14264
5eea0404
SP
14265 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
14266 gotos.
14267 (__cos): Likewise.
14268
9c21573c
MR
142692013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
14270
14271 * config.h.in (HAVE_MIPS_NAN2008): New macro.
14272 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
14273 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
14274 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
14275 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
14276 * elf/cache.c (print_entry): Handle the new cache flags.
14277
24d22e65
JM
142782013-09-18 Joseph Myers <joseph@codesourcery.com>
14279 Aldy Hernandez <aldyh@redhat.com>
14280
14281 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
14282 Change condition to [_SOFT_FLOAT].
14283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
14284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
14285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
14286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
14287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
14288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
14289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
14290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
14291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
14292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
14293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
14294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
14295 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
14296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
14297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
14298 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
14299 declaration.
14300
d13ef066
JM
143012013-09-18 Joseph Myers <joseph@codesourcery.com>
14302
2e071de0
JM
14303 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
14304 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14305 (__longjmp): Use LOAD_GP to load saved GPRs.
14306 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
14307 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
14308 (__sigsetjmp): Use SAVE_GP to save GPRs.
14309
d13ef066
JM
14310 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
14311 Do not append -msoft-float.
14312 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
14313
97a0650b
SP
143142013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14315
14316 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
14317
11ca09e9
JM
143182013-09-17 Joseph Myers <joseph@codesourcery.com>
14319
14320 [BZ #15966]
14321 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
14322 (_FPU_GETCW): Use initial "__" on variable and field names but not
14323 on macro parameter name.
14324 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
14325 parentheses around reference to macro parameter.
14326
08ffcf34
RS
143272013-09-13 Richard Sandiford <richard@codesourcery.com>
14328
14329 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
14330 prototype.
14331 (ctype_startup): Use uint32_t in cast and sizeof for
14332 ctype->charnames.
14333
ae7080d3
JL
143342013-09-11 Jia Liu <proljc@gmail.com>
14335
14336 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
14337 __daddr_t_defined.
14338 [__FreeBSD__]: Likewise.
14339
5905e7b3
OB
143402013-09-11 Ondřej Bílka <neleai@seznam.cz>
14341
14342 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14343 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
14344 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
14345 (strchr): Remove __strchr_sse42 ifunc selection.
14346 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
14347 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
14348
b987c776
WN
143492013-09-11 Will Newton <will.newton@linaro.org>
14350
14351 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
14352 parameter to RES. Remove hardcoded 1000 value.
14353 * benchtests/bench-skeleton.c (main): Pass RES parameter
14354 to TIMING_INIT and multiply result by 1000.
14355
ddf985af
AZ
143562013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14357
14358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14359
ffdd3181
AS
143602013-09-11 Andreas Schwab <schwab@suse.de>
14361
14362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14363 if not defined.
14364 (O_TMPFILE) [__USE_GNU]: Define.
14365 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
14366 Define.
14367
b73ed247
WN
143682013-09-11 Will Newton <will.newton@linaro.org>
14369
14370 [BZ #15857]
14371 * malloc/malloc.c (__libc_memalign): Check the value of bytes
14372 does not overflow.
14373
55e17aad
WN
143742013-09-11 Will Newton <will.newton@linaro.org>
14375
14376 [BZ #15856]
14377 * malloc/malloc.c (__libc_valloc): Check the value of bytes
14378 does not overflow.
14379
1159a193
WN
143802013-09-11 Will Newton <will.newton@linaro.org>
14381
14382 [BZ #15855]
14383 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
14384 does not overflow.
14385
5905e7b3 143862013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
14387
14388 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
14389 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14390 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14391 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14392 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14393
cdfc721b
AM
143942013-09-10 Allan McRae <allan@archlinux.org>
14395
aa04af00
AM
14396 [BZ #15748]
14397 * manual/arith.texi (Parsing of Floats): Clarify
14398 cross-reference.
14399
cdfc721b
AM
14400 [BZ #15849]
14401 * manual/install.texi (Running make install): Mention
14402 --enable-pt-chown.
14403 * INSTALL: Regenerated.
14404
95e7cf29
MR
144052013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
14406
14407 * csu/init-first.c (_init): Remove the !SHARED condition around
14408 FPU control word initialization.
14409 * elf/dl-support.c (_dl_fpu_control): New variable.
14410 (_dl_aux_init) <AT_FPUCW>: Initialize it.
14411 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14412 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14413 * math/test-fpucw-static.c: New file.
14414 * math/test-fpucw-ieee.c: New file.
14415 * math/test-fpucw-ieee-static.c: New file.
14416 * math/Makefile (tests): Add `test-fpucw-ieee' and
14417 `$(tests-static)'.
14418 (tests-static): New variable.
14419 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14420 dependency to...
14421 [($(build-shared),yes)]
14422 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14423 ... this.
14424 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14425 New dependency.
14426
83e43bf0
AM
144272013-09-09 Allan McRae <allan@archlinux.org>
14428
a9f5ce09
AM
14429 [BZ #15939]
14430 * manual/string.texi (Collation Functions): Fix typo in
14431 strcoll example.
14432 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14433
34829bc2
AM
14434 [BZ #15893]
14435 * stdlib/isomac.c (get_null_defines): Fix memory leak.
14436
3932737d
AM
14437 [BZ #15892]
14438 * libio/memstream.c (open_memstream): Fix memory leak.
14439 * libio/wmemstream.c (open_wmemstream): Likewise.
14440
83e43bf0
AM
14441 [BZ #15895]
14442 * nscd/netgroupcache.c: Fix nesting of ifdefs.
14443
0c66b8e9
WN
144442013-09-09 Will Newton <will.newton@linaro.org>
14445
14446 * malloc/Makefile: Add tst-realloc to tests.
14447 * malloc/tst-realloc.c: New file.
14448
f6b00fd1
AM
144492013-09-09 Allan McRae <allan@archlinux.org>
14450
14451 [BZ #15844]
14452 * COPYING: Update from GNU website to fix FSF address.
14453 * COPYING.LIB: Likewise.
14454
eec55e16
DM
144552013-09-06 David S. Miller <davem@davemloft.net>
14456
14457 * po/zh_TW.po: Update Chinese (traditional) translation from
14458 translation project.
14459
1ecbb381
RS
144602013-09-06 Richard Sandiford <richard@codesourcery.com>
14461 Joseph Myers <joseph@codesourcery.com>
14462
14463 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14464 "localeinfo.h".
14465 (obstack_chunk_alloc): New macro.
14466 (obstack_chunk_free): Likewise.
14467 (record_offset): New function.
14468 (init_locale_data): Likewise.
14469 (align_locale_data): Likewise.
14470 (add_locale_empty): Likewise.
14471 (add_locale_raw_data): Likewise.
14472 (add_locale_raw_obstack): Likewise.
14473 (add_locale_string): Likewise.
14474 (add_locale_wstring): Likewise.
14475 (add_locale_uint32): Likewise.
14476 (add_locale_uint32_array): Likewise.
14477 (add_locale_char): Likewise.
14478 (start_locale_structure): Likewise.
14479 (end_locale_structure): Likewise.
14480 (start_locale_prelude): Likewise.
14481 (end_locale_prelude): Likewise.
14482 (write_locale_data): Take locale_file structure rather than an
14483 iovec.
14484 * locale/programs/locfile.h: Include "obstack.h".
14485 (struct locale_file): Change to store locale file contents instead
14486 of header.
14487 (init_locale_data): New prototype.
14488 (align_locale_data): Likewise.
14489 (add_locale_empty): Likewise.
14490 (add_locale_raw_data): Likewise.
14491 (add_locale_raw_obstack): Likewise.
14492 (add_locale_string): Likewise.
14493 (add_locale_wstring): Likewise.
14494 (add_locale_uint32): Likewise.
14495 (add_locale_uint32_array): Likewise.
14496 (add_locale_char): Likewise.
14497 (start_locale_structure): Likewise.
14498 (end_locale_structure): Likewise.
14499 (start_locale_prelude): Likewise.
14500 (end_locale_prelude): Likewise.
14501 (write_locale_data): Update prototype.
14502 * locale/programs/3level.h (struct TABLE): Remove result field.
14503 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14504 Use new locale_file interface.
14505 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14506 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14507 * locale/programs/ld-address.c (address_output): Use new
14508 locale_file interface.
14509 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14510 NO_ADD_LOCALE.
14511 (collate_finish): Don't call collseq_table_finalize.
14512 (collate_output): Use new locale_file interface.
14513 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14514 in file.
14515 (NO_FINALIZE): Change to NO_ADD_LOCALE.
14516 (TABLE): Move defines earlier in file.
14517 (ELEMENT): Likewise.
14518 (DEFAULT): Likewise.
14519 (wctrans_table_add): Move macro and inline function earlier in
14520 file.
14521 (struct wctype_table): Move type earlier in file.
14522 (add_locale_wctype_table): New static prototype.
14523 (struct locale_ctype_t): Use logical types instead of struct iovec
14524 pointers for members.
14525 (ctype_output): Use new locale_file interface.
14526 (wctype_table_finalize): Change to add_locale_wctype_table. Use
14527 new locale_file interface.
14528 (allocate_arrays): Update for use of new locale_file interface.
14529 * locale/programs/ld-identification.c (identification_output): Use
14530 new locale_file interface.
14531 * locale/programs/ld-measurement.c (measurement_output): Likewise.
14532 * locale/programs/ld-messages.c (messages_output): Likewise.
14533 * locale/programs/ld-monetary.c (monetary_output): Likewise.
14534 * locale/programs/ld-name.c (name_output): Likewise.
14535 * locale/programs/ld-numeric.c (numeric_output): Likewise.
14536 * locale/programs/ld-paper.c (paper_output): Likewise.
14537 * locale/programs/ld-telephone.c (telephone_output): Likewise.
14538 * locale/programs/ld-time.c (time_output): Likewise.
14539
e029e2e5
AZ
145402013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14541
14542 * benchtests/Makefile: Add memrchr benchmark.
14543 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14544 benchmark as memrchr.
14545 * benchtests/bench-memrchr-ifunc.c: New file.
14546 * benchtests/bench-memrchr.c: New file.
14547
bbf6e8e4
WN
145482013-09-06 Will Newton <will.newton@linaro.org>
14549
14550 * benchtests/Makefile (string-bench): Add memcpy.
14551
6c82a2f8
CD
145522013-09-05 Carlos O'Donell <carlos@redhat.com>
14553 Cong Wang <amwang@redhat.com>
14554
e732c5f0 14555 [BZ #15850]
6c82a2f8
CD
14556 * sysdeps/unix/sysv/linux/bits/in.h
14557 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14558 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14559 before __USE_KERNEL_IPV6_DEFS uses.
14560 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14561 IPPROTO_BEETPH.
14562 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14563 sockaddr_in6, or ipv6_mreq.
14564
5430fc65
AZ
145652013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14566
14567 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14568 memory access for final bytes in some large inputs.
14569 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14570
4660856c
AZ
145712013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14572
14573 * string/test-memrchr.c: New file.
14574 * string/test-memrchr-ifunc.c: New file.
14575 * string/Makefile: Add new memrchr testcase.
14576
bb8ea713
MF
145772013-09-05 Mike Frysinger <vapier@gentoo.org>
14578
14579 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14580 fanotify_init returns EPERM.
14581
b92a20b5
JM
145822013-09-04 Joseph Myers <joseph@codesourcery.com>
14583
14584 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14585 errors.
14586 (top level): Treat second token from macro or constant entries for
14587 allowed headers as allowed.
14588 * include/complex.h: Condition internal declarations on
14589 [!_ISOMAC].
14590 * include/fenv.h: Condition include of <stdbool.h> and internal
14591 declarations on [!_ISOMAC].
7447ccd9
CL
14592
145932013-09-04 Chris Leonard <cjl@sugarlabs,.org>
14594
3e181dda 14595 [BZ #15923]
7447ccd9
CL
14596 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14597
3f2e46a4
JM
145982013-09-04 Joseph Myers <joseph@codesourcery.com>
14599
14600 * configure.in (--enable-versioning): Remove configure option.
14601 (libc_cv_asm_symver_directive): Remove configure test.
14602 (libc_cv_ld_version_script_option): Likewise.
14603 (VERSIONING): Remove variable and AC_SUBST.
14604 (DO_VERSIONING): Remove AC_DEFINE.
14605 * configure: Regenerated.
14606 * config.h.in (DO_VERSIONING): Remove macro.
14607 * Makerules [$(versioning) = yes]: Change conditionals to
14608 [$(build-shared) = yes].
14609 * config.make.in (versioning): Remove variable.
14610 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14611 [$(build-shared) = yes].
14612 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14613 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14614 * elf/Makefile [$(versioning) = yes]: Change conditionals to
14615 [$(build-shared) = yes].
14616 * extra-lib.mk [$(versioning) = yes]: Likewise.
14617 * hurd/Makefile [$(versioning) = yes]: Likewise.
14618 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14619 [SHARED].
14620 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14621 [SHARED].
14622 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14623 [SHARED && !NO_HIDDEN].
14624 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14625 [SHARED].
14626 [SHARED && DO_VERSIONING]: Likewise..
14627 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14628 [$(build-shared) = yes].
14629 * manual/install.texi (--disable-versioning): Remove
14630 documentation.
14631 * INSTALL: Regenerated.
14632 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14633 to [SHARED].
14634 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14635 [$(build-shared) = yes].
14636 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14637 * sysdeps/i386/i686/multiarch/strstr-c.c
14638 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14639 [SHARED && !NO_HIDDEN].
14640 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14641 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14642 * sysdeps/powerpc/powerpc32/dl-machine.c
14643 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14644 * sysdeps/powerpc/powerpc32/sysdep.h
14645 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14646 to [SHARED && PIC && !NO_HIDDEN].
14647 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14648 conditional to [SHARED].
14649
44558701
WN
146502013-09-04 Will Newton <will.newton@linaro.org>
14651
14652 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14653 * benchtests/bench-string.h: Include bench-timing.h instead
14654 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14655 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14656 call to HP_TIMING_DIFF_INIT.
14657 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14658 instead of hp-timing.h macros.
14659 * benchtests/bench-memchr.c: Likewise.
14660 * benchtests/bench-memcmp.c: Likewise.
14661 * benchtests/bench-memcpy.c: Likewise.
14662 * benchtests/bench-memmem.c: Likewise.
14663 * benchtests/bench-memmove.c: Likewise.
14664 * benchtests/bench-memset.c: Likewise.
14665 * benchtests/bench-rawmemchr.c: Likewise.
14666 * benchtests/bench-strcasecmp.c: Likewise.
14667 * benchtests/bench-strcasestr.c: Likewise.
14668 * benchtests/bench-strcat.c: Likewise.
14669 * benchtests/bench-strchr.c: Likewise.
14670 * benchtests/bench-strcmp.c: Likewise.
14671 * benchtests/bench-strcpy.c: Likewise.
14672 * benchtests/bench-strcpy_chk.c: Likewise.
14673 * benchtests/bench-strlen.c: Likewise.
14674 * benchtests/bench-strncasecmp.c: Likewise.
14675 * benchtests/bench-strncat.c: Likewise.
14676 * benchtests/bench-strncmp.c: Likewise.
14677 * benchtests/bench-strncpy.c: Likewise.
14678 * benchtests/bench-strnlen.c: Likewise.
14679 * benchtests/bench-strpbrk.c: Likewise.
14680 * benchtests/bench-strrchr.c: Likewise.
14681 * benchtests/bench-strspn.c: Likewise.
14682 * benchtests/bench-strstr.c: Likewise.
14683
cae16d66
WN
146842013-09-04 Will Newton <will.newton@linaro.org>
14685
14686 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14687
ffa3cd7f
JM
146882013-09-03 Joseph Myers <joseph@codesourcery.com>
14689
14690 [BZ #15427]
14691 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14692 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14693 * math/libm-test.inc (lgamma_test_data): Add more tests.
14694 * sysdeps/i386/fpu/libm-test-ulps: Update.
14695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14696
8f02859f
OB
146972013-09-03 Ondřej Bílka <neleai@seznam.cz>
14698
14699 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14700 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14701 Add ifunc.
14702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14703 Add strcmp-sse2-unaligned
14704 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14705
18d43716
MF
147062013-09-02 Mike Frysinger <vapier@gentoo.org>
14707
14708 * Versions.def (libc): Add GLIBC_2.19.
14709
ac444012
MF
147102013-09-02 Mike Frysinger <vapier@gentoo.org>
14711
14712 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14713 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14714
b7835e32
JM
147152013-09-02 Joseph Myers <joseph@codesourcery.com>
14716
14717 [BZ #14155]
14718 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14719 intermediate calculations in recurrence.
14720 (__ieee754_ynf): Likewise.
14721 * math/libm-test.inc (jn_test_data): Do not allow spurious
14722 underflow exception. Add more tests.
14723 (yn_test_data): Add more tests.
14724 * sysdeps/i386/fpu/libm-test-ulps: Update.
14725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14726
8220f4f0
OB
147272013-09-02 Ondřej Bílka <neleai@seznam.cz>
14728
14729 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14730
f24a6d08
OB
147312013-08-30 Ondřej Bílka <neleai@seznam.cz>
14732
14733 * csu/init-first.c: Fix then/than typos.
14734 * locale/programs/ld-collate.c: Likewise.
14735 * locale/programs/linereader.h: Likewise.
14736 * manual/charset.texi: Likewise.
14737 * manual/filesys.texi: Likewise.
14738 * manual/stdio.texi: Likewise.
14739 * manual/string.texi: Likewise.
14740 * stdlib/fmtmsg.c: Likewise.
14741 * sysdeps/i386/stpncpy.S: Likewise.
14742 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14743 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14744 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14745 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14746
382466e0
OB
147472013-08-30 Ondřej Bílka <neleai@seznam.cz>
14748
14749 * elf/dl-open.c: Fix typos.
14750 * iconvdata/gbbig5.c: Likewise.
14751 * iconvdata/iso-2022-jp.c: Likewise.
14752 * iconv/gconv_int.h: Likewise.
14753 * iconv/loop.c: Likewise.
14754 * nis/rpcsvc/nis.h: Likewise.
14755 * resolv/ns_name.c: Likewise.
14756 * stdio-common/vfscanf.c: Likewise.
14757 * streams/stropts.h: Likewise.
14758 * sunrpc/rpc_thread.c: Likewise.
14759 * sysdeps/i386/strpbrk.S: Likewise.
14760 * sysdeps/ieee754/k_standard.c: Likewise.
14761 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14762 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14763 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14764 * sysdeps/mach/hurd/profil.c: Likewise.
14765 * sysdeps/s390/dl-procinfo.h: Likewise.
14766 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14767 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14768 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14769 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14770 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14771
0186c6e9
OB
147722013-08-30 Ondřej Bílka <neleai@seznam.cz>
14773
14774 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14776
d4e16af1
OB
147772013-08-29 Ondřej Bílka <neleai@seznam.cz>
14778
14779 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14780 aix specific files.
14781 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14782 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14783 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14784 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14785 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14786 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14787 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14788 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14789
88335980
TS
147902013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14791 Roland McGrath <roland@hack.frob.com>
14792
14793 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14794 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14795
ed479b02
ST
147962013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14797
14798 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14799 __executable_start symbol instead of _start.
14800
f1cc4c86
TS
148012013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14802
d821f07c
TS
14803 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14804 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14805 Move macros to...
14806 * sysdeps/gnu/ldsodefs.h: ... this new file.
14807
c54290cf
TS
14808 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14809 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14810 instead of ELFOSABI_LINUX.
14811
0007fc9b 14812 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
14813 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14814 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14815 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14816 Likewise.
14817 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14818 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14819 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14820 Likewise.
14821 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14822 (ibm_extended_long_double): Add ieee_nan member.
14823 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14824 (do_test): New function.
14825
f1cc4c86
TS
14826 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14827 TEST_TRUNC.
14828 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14829 functions, renamed from truncdfsf_test, trunctfsf_test,
14830 trunctfdf_test.
14831 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14832 functions.
14833 (do_test): Run all these.
14834
6f65e668
OB
148352013-08-29 Ondřej Bílka <neleai@seznam.cz>
14836
14837 * argp/argp-help.c: Fix typos.
14838 * argp/argp-parse.c: Likewise.
14839 * debug/backtracesyms.c: Likewise.
14840 * elf/elf.h: Likewise.
14841 * malloc/malloc.c: Likewise.
14842 * nis/nis_print.c: Likewise.
14843 * resolv/res_comp.c: Likewise.
14844 * stdlib/stdlib.h: Likewise.
14845 * sunrpc/clnt_tcp.c: Likewise.
14846 * sunrpc/clnt_udp.c: Likewise.
14847 * sunrpc/clnt_unix.c: Likewise.
14848 * sysdeps/unix/bsd/ptsname.c: Likewise.
14849 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14850 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
14851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14852 Likewise.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14854 Likewise.
14855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14856 Likewise.
6f65e668
OB
14857 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14858
3a309239
SP
148592013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14860
14861 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14863
3b813b29
MF
148642013-08-27 Mike Frysinger <vapier@gentoo.org>
14865
14866 [BZ #15897]
14867 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14868 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14869 ($(objpfx)bug-dl-leaf): New rule.
14870 ($(objpfx)bug-dl-leaf.so): Likewise.
14871 ($(objpfx)bug-dl-leaf.out): Likewise.
14872 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14873 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14874 * dlfcn/bug-dl-leaf.c: New test.
14875 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14876 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14877 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14878 (dlclose): Likewise.
14879 (dlmopen): Likewise.
14880
8cc3269f
RM
148812013-08-27 Roland McGrath <roland@hack.frob.com>
14882
7f9d0034
RM
14883 * include/netdb.h [!_ISOMAC]:
14884 Don't include <tls.h>.
14885 (h_errno, __libc_h_errno): Move declaration and macros out of
14886 [_LIBC_REENTRANT].
14887
fb431262
RM
14888 * include/resolv.h [_RESOLV_H_]:
14889 Don't include <tls.h>.
14890 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14891 * resolv/res_libc.c: Don't include <tls.h>.
14892 (_res): Use __attribute__ ((nocommon)) in place of
14893 __attribute__ ((section (".bss"))).
14894
bd81123a
RM
14895 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14896 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14897
c4e42566
RM
14898 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14899
f890a59b
RM
14900 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14901 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14902
14903 * resolv/res_mkquery.c: Include <sys/time.h>.
14904
5d1f0a09
RM
14905 * inet/ifreq.c: Moved to ...
14906 * sysdeps/unix/ifreq.c: ... here.
14907 * inet/ifreq.c: New file, true stub version.
14908
6fcf28b3
RM
14909 * socket/sa_len.c: New file.
14910 * socket/Makefile (aux): Add it.
14911 * sysdeps/unix/sysv/linux/Makefile
14912 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14913 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14914 and #include <socket/sa_len.c>.
14915 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14916 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14917
e041fb8b
RM
14918 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14919 * bits/socket.h: ... here.
14920
8cc3269f
RM
14921 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14922 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14923 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14924
5d228a43
AS
149252013-08-27 Andreas Schwab <schwab@suse.de>
14926
45b8accc
AS
14927 [BZ #15736]
14928 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14929 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14930 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14931 * string/test-strcasecmp.c (test_main): Run tests in several
14932 locales.
14933 * string/test-strncasecmp.c (test_main): Likewise.
14934
5d228a43
AS
14935 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14936 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14937 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14939 (__strncasecmp_ssse3) [PIC]: Likewise.
14940
59d112a4
RM
149412013-08-26 Roland McGrath <roland@hack.frob.com>
14942
53234cc3
RM
14943 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14944
59d112a4
RM
14945 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14946 instead of explicitly declaring xdecrypt.
14947 * nis/nss_nis/nis-publickey.c: Likewise.
14948
595aba70
SP
149492013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14950
14951 [BZ #15890]
14952 * nscd/aicache.c: Include res_hconf.h.
14953 (addhstaiX): Initialize res_hconf.
14954
ffabd393
AS
149552013-08-26 Andreas Schwab <schwab@suse.de>
14956
14957 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14958 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14959
e0a69f5c
SP
149602013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14961
14962 * nscd/aicache.c (addhstaiX): Fix indentation.
14963
8c12f01d
MF
149642013-08-25 Mike Frysinger <vapier@gentoo.org>
14965
14966 * configure.ac: Quote $build_pt_chown test.
14967 * configure: Regenerated.
14968
8fe89494
JM
149692013-08-23 Joseph Myers <joseph@codesourcery.com>
14970
14971 [BZ #15532]
14972 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14973 * math/s_cexpf.c (__cexpf): Likewise.
14974 * math/s_cexpl.c (__cexpl): Likewise.
14975 * math/libm-test.inc (cexp_test_data): Correct expected return
14976 value for NaN + i0. Add another test.
14977
75b181d6
DM
149782013-08-22 David S. Miller <davem@davemloft.net>
14979
14980 * po/ca.po: Update Catalan translation from translation project.
936241e4 14981 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 14982
acd06bb1
JM
149832013-08-21 Joseph Myers <joseph@codesourcery.com>
14984
14985 [BZ #15797]
14986 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14987 is infinite, not alongside NaN test.
14988 * math/s_fdimf.c (__fdimf): Likewise.
14989 * math/s_fdiml.c (__fdiml): Likewise.
14990 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14991 errno is unchanged.
14992
c0c3f78a
OB
149932013-08-21 Ondřej Bílka <neleai@seznam.cz>
14994
14995 * argp/argp-help.c: Fix typos.
14996 * crypt/speeds.c: Likewise.
14997 * csu/check_fds.c: Likewise.
14998 * elf/dl-load.c: Likewise.
14999 * elf/dl-open.c: Likewise.
15000 * elf/reldep3.c: Likewise.
15001 * elf/reldep.c: Likewise.
15002 * elf/sprof.c: Likewise.
15003 * iconv/iconv_charmap.c: Likewise.
15004 * iconv/skeleton.c: Likewise.
15005 * iconv/strtab.c: Likewise.
15006 * io/lockf64.c: Likewise.
15007 * libio/libioP.h: Likewise.
15008 * resolv/gai_notify.c: Likewise.
15009 * resolv/ns_name.c: Likewise.
15010 * resolv/ns_samedomain.c: Likewise.
15011 * resolv/res_send.c: Likewise.
15012 * stdlib/random.c: Likewise.
15013 * sunrpc/rpc/xdr.h: Likewise.
15014 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15015 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15016 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15017 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15018 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15019 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15020 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15022 * sysdeps/mach/hurd/check_fds.c: Likewise.
15023 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15024 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15025 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15026 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15027 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15028 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15029 * sysdeps/pthread/aio_notify.c: Likewise.
15030 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15031 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15032 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15033 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15034 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15035
46ed1038
LD
150362013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15037
15038 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15039 version if bit_Slow_SSE4_2 is set.
15040 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15041 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15042
d400dcac
AZ
150432013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15044
15045 [BZ #15867]
15046 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15047 trampoline stack frame information.
15048 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15049 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15050 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15051 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15052 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15053 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15054 (_libc_vdso_platform_setup): Initialize the signal trampolines.
15055 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15056 sa_flags value.
15057 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15058 interrupting a syscall and set with option SA_SIGINFO.
15059
42c8fdd8
JM
150602013-08-20 Joseph Myers <joseph@codesourcery.com>
15061
c980f2f4
JM
15062 [BZ #15531]
15063 * math/s_cproj.c (__cproj): Only return an infinity if one part of
15064 argument is infinite.
15065 * math/s_cprojf.c (__cprojf): Likewise.
15066 * math/s_cprojl.c (__cprojl): Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15068 * math/libm-test.inc (cproj_test_data): Add more tests.
15069
0716c4fc
JM
15070 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15071
42c8fdd8
JM
15072 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15073 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15074 size. Use __ffs to determine corresponding shift.
15075
b31469d0
JM
150762013-08-20 Joseph Myers <joseph@codesourcery.com>
15077 Roland McGrath <roland@hack.frob.com>
15078
15079 * Makefile (INSTALL): Remove trailing blank lines from output of
15080 makeinfo.
15081
4e39af6e
AK
150822013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15083
15084 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15085 Align 32 bit compat elf_greg to 8 bytes.
15086
f315524e
AA
150872013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
15088
15089 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15090
1326ba1a
SP
150912013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15092
15093 * string/strcoll_l.c (coll_seq): New structure.
15094 (get_next_seq_cached): New function.
15095 (get_next_seq): New function.
15096 (do_compare): New function.
15097 (STRCOLL): Use GNU style definition. Simplify implementation
15098 by using get_next_seq, get_next_seq_cached and do_compare.
15099
91ce4085
FW
151002013-08-16 Florian Weimer <fweimer@redhat.com>
15101
15102 [BZ #14699]
15103 CVE-2013-4237
15104 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15105 member.
15106 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15107 member.
15108 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15109 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15110 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
15111 conditional.
15112 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15113 GETDENTS_64BIT_ALIGNED.
15114 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15115 * manual/filesys.texi (Reading/Closing Directory): Document
15116 ENAMETOOLONG return value of readdir_r. Recommend readdir more
15117 strongly.
15118 * manual/conf.texi (Limits for Files): Add portability note to
15119 NAME_MAX, PATH_MAX.
15120 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15121
ca0a6bc4
AS
151222013-08-13 Andreas Schwab <schwab@suse.de>
15123
15124 [BZ #15749]
15125 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15126 of fabs.
15127 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15128 LDBL_MAX_EXP >= 16384]: Add tests for it.
15129
6c1fd795
DM
151302013-08-12 David S. Miller <davem@davemloft.net>
15131
15132 * version.h (RELEASE): Set to "development".
15133 (VERSION): Set to "2.18.90".
15134 * NEWS: Add 2.19 section.
15135
31ad488d
DM
151362013-08-03 David S. Miller <davem@davemloft.net>
15137
15138 * po/ko.po: Update Korean translation from translation project.
15139
db24e684
DM
151402013-08-01 David S. Miller <davem@davemloft.net>
15141
15142 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
15143 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15144 Bilka.
15145
f723285b
DM
151462013-07-30 David S. Miller <davem@davemloft.net>
15147
15148 * po/fr.po: Update French translation from translation project.
15149
3cbc52db
DM
151502013-07-28 David S. Miller <davem@davemloft.net>
15151
30bbc0cc
DM
15152 * po/cs.po: Update Czech translation from translation project.
15153
3cbc52db
DM
15154 * po/sv.po: Update Swedish translation from translation project.
15155
d492e6d0
DM
151562013-07-27 David S. Miller <davem@davemloft.net>
15157
f1a7f492
DM
15158 * po/eo.po: Update Esperanto translation from translation project.
15159
90e62a4a
DM
15160 * po/vi.po: Update Vietnamese translation from translation project.
15161
d492e6d0
DM
15162 * po/de.po: Update German translation from translation project.
15163
d4baa62d
DM
151642013-07-26 David S. Miller <davem@davemloft.net>
15165
641aa7b4
DM
15166 * po/bg.po: Update Bulgarian translation from translation project.
15167
d4baa62d
DM
15168 * po/nl.po: Update Dutch translation from translation project.
15169 * po/pl.po: Update Polish translation from translation project.
15170 * po/ru.po: Update Russian translation from translation project.
15171
61a9dcb9
DM
151722013-07-24 David S. Miller <davem@davemloft.net>
15173
15174 * po/libc.pot: Update.
15175
7b1f8b58
AZ
151762013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15177
15178 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15179 variable page size.
15180 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15181 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15182 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15183
a8fc7a03
AK
151842013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15185
15186 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15187
e4608715
CD
151882013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15189 Andreas Schwab <schwab@suse.de>
15190 Roland McGrath <roland@hack.frob.com>
15191 Joseph Myers <joseph@codesourcery.com>
15192 Carlos O'Donell <carlos@redhat.com>
15193
15194 [BZ #15755]
15195 * config.h.in: Define HAVE_PT_CHOWN.
15196 * config.make.in (build-pt-chown): New variable.
15197 * configure.in (--enable-pt_chown): New configure option.
15198 * configure: Regenerate.
15199 * login/Makefile: Include Makeconfig. Build pt_chown only if
15200 build-pt-chown is enabled.
15201 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15202 pt_chown to fix pty ownership.
15203 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15204 CLOSE_ALL_FDS.
15205 * manual/install.texi (Configuring and compiling): Mention
15206 --enable-pt_chown. Add @findex for grantpt.
15207 * INSTALL: Regenerate.
15208
da2d62df
DM
152092013-07-20 David S. Miller <davem@davemloft.net>
15210
15211 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15212 difference between 32-bit and 64-bit.
15213
d7e06450
CD
152142013-07-15 Carlos O'Donell <carlos@redhat.com>
15215
15216 [BZ #15711]
15217 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15218 Avoid system header dependency with -ffreestanding.
15219 ($(objpfx)bits/syscall%d): Likewise.
15220
f959cfd7
DM
152212013-07-13 David S. Miller <davem@davemloft.net>
15222
15223 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15224 underflows from atanl/atan2l due to bug 15319.
15225 (casinh_test_data): Likewise.
15226
c61f8513
DM
152272013-07-07 David S. Miller <davem@davemloft.net>
15228
15229 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15230
72c90ed0
JA
152312013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
15232
15233 * sysdeps/i386/fpu/libm-test-ulps: Update.
15234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15235
52dfbe13
SP
152362013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15237
15238 * configure.in (--enable-lock-elision): Fix message text.
15239 * INSTALL: Regenerate.
15240 * configure: Regenerate.
15241
3f169543
AZ
152422013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15243
15244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15245
521c6785
AJ
152462013-07-03 Andreas Jaeger <aj@suse.de>
15247
15248 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15249 define.
15250 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15251 (ptrace_peeksiginfo_args): Add.
15252 (__ptrace_peeksiginfo_flags): Add.
15253 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15255 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15256
d2cc15cb
AM
152572013-07-03 Allan McRae <allan@archlinux.org>
15258
15259 * sysdeps/i386/fpu/libm-test-ulps: Update.
15260
3aaeeca7
DM
152612013-07-02 David S. Miller <davem@davemloft.net>
15262
15263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15264
5314ed1a
MT
152652013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
15266
15267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15268
67338156
JM
152692013-07-02 Joseph Myers <joseph@codesourcery.com>
15270
15271 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15273
1717da59
AK
152742013-07-02 Andi Kleen <ak@linux.intel.com>
15275
15276 * config.h.in (ENABLE_LOCK_ELISION): Add.
15277 * configure.in (--enable-lock-elision): Add option.
15278 * manual/install.texi: Document --enable lock elision.
15279 * configure: Regenerate
15280 * INSTALL: Regenerate.
15281
1c81621c
L
152822013-07-02 H.J. Lu <hongjiu.lu@intel.com>
15283
15284 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
15285 SSE4.2 strcasecmp for libc.a.
15286 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15287
77f01ab5
JM
152882013-07-02 Joseph Myers <joseph@codesourcery.com>
15289
15290 [BZ #13304]
15291 * soft-fp/op-common.h (_FP_FMA): New macro.
15292 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
15293 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
15294 (_FP_MUL_MEAT_1_imm): ... here.
15295 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
15296 (_FP_MUL_MEAT_1_wide): ... here.
15297 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
15298 (_FP_MUL_MEAT_1_hard): ... here.
15299 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
15300 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
15301 (_FP_MUL_MEAT_2_wide): ... here.
15302 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
15303 (_FP_MUL_MEAT_2_wide_3mul): ... here.
15304 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
15305 (_FP_MUL_MEAT_2_gmp): ... here.
15306 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
15307 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
15308 (_FP_MUL_MEAT_4_wide): ... here.
15309 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
15310 (_FP_MUL_MEAT_4_gmp): ... here.
15311 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
15312 (_FP_WFRACBITS_DW_S): Likewise.
15313 (_FP_WFRACXBITS_DW_S): Likewise.
15314 (_FP_HIGHBIT_DW_S): Likewise.
15315 (FP_FMA_S): Likewise.
15316 (_FP_FRAC_HIGH_DW_S): Likewise.
15317 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
15318 (_FP_WFRACBITS_DW_D): Likewise.
15319 (_FP_WFRACXBITS_DW_D): Likewise.
15320 (_FP_HIGHBIT_DW_D): Likewise.
15321 (FP_FMA_D): Likewise.
15322 (_FP_FRAC_HIGH_DW_D): Likewise.
15323 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
15324 (_FP_WFRACBITS_DW_E): Likewise.
15325 (_FP_WFRACXBITS_DW_E): Likewise.
15326 (_FP_HIGHBIT_DW_E): Likewise.
15327 (FP_FMA_E): Likewise.
15328 (_FP_FRAC_HIGH_DW_E): Likewise.
15329 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
15330 (_FP_WFRACBITS_DW_Q): Likewise.
15331 (_FP_WFRACXBITS_DW_Q): Likewise.
15332 (_FP_HIGHBIT_DW_Q): Likewise.
15333 (FP_FMA_Q): Likewise.
15334 (_FP_FRAC_HIGH_DW_Q): Likewise.
15335 * soft-fp/fmasf4.c: New file.
15336 * soft-fp/fmadf4.c: Likewise.
15337 * soft-fp/fmatf4.c: Likewise.
15338
6308fd9a
LD
153392013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15340
15341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15342 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
15343 Silvermont.
15344 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
15345 macro.
15346 (index_Slow_SSE4_2): Likewise.
15347 (index_Prefer_PMINUB_for_stringop): Likewise.
15348 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
15349 bit_Slow_SSE4_2 is set.
15350 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15351 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15352
89cd9569
RA
153532013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15354
15355 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
15356 rtld_global._dl_hwcap2.
15357 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
15358 POWER8.
15359 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
15360 POWER8 feature descriptions defined in _dl_hwcap2.
15361 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
15362 string handling for POWER8 feature bits.
15363 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
15364 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
15365 _dl_powerpc_cap_flags.
15366 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
15367 * sysdeps/powerpc/rtld-global-offsets.sym
15368 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
15369 _dl_hwcap2 in the rtld_global_ro structure.
15370
1ae8bfe0
RA
153712013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15372
15373 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
15374 hardware capabilities in support of AT_HWCAP2.
15375 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
15376 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
15377 GLRO(dl_hwcap2).
15378 (_dl_show_auxv): Add support for calling _dl_procinfo to display
15379 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
15380 explicitly the unknown a_type display mechanism is used.
15381 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
15382 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
15383 struct member.
15384 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15385 to macro prototype for AT_HWCAP2 support.
15386 * sysdeps/i386/dl-procinfo.h: Likewise.
15387 * sysdeps/s390/dl-procinfo.h: Likewise.
15388 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
15389 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
15390 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
15391 return -1 for unknown a_type display fallback.
15392 * sysdeps/sparc/dl-procinfo.h: Likewise.
15393 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
15394 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
15395
8fbec010
JM
153962013-06-28 Joseph Myers <joseph@codesourcery.com>
15397
15398 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15399 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15400
0432680e
PY
154012013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
15402
15403 [BZ #12492]
15404 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15405 mprotect making __stack_prot writable.
15406
ce61a2ad
NF
154072013-06-28 Nathan Froyd <froydnj@codesourcery.com>
15408 Joseph Myers <joseph@codesourcery.com>
15409
15410 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15411 as being properly aligned.
15412
f91f1c0f
MR
154132013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
15414
3d0f5d0c
MR
15415 * dlfcn/modstatic5.c: New file.
15416 * dlfcn/tststatic5.c: New file.
15417 * dlfcn/Makefile (tests): Add tststatic5.
15418 (tests-static): Likewise.
15419 (modules-names): Add modstatic5.
15420 (tststatic5-ENV): New variable.
15421 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15422
f91f1c0f
MR
15423 [BZ #15022]
15424 * elf/dl-support.c (_dl_main_map): New variable.
15425 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15426 (_dl_nns, _dl_load_adds): Set to 1.
15427 (_dl_initial_searchlist): Refer to _dl_main_map.
15428 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15429 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15430 call to _dl_get_origin.
15431 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15432 around call_map.
15433 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15434 * dlfcn/modstatic3.c: New file.
15435 * dlfcn/tststatic3.c: New file.
15436 * dlfcn/tststatic4.c: New file.
15437 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15438 (tests-static): Likewise.
15439 (modules-names): Add modstatic3.
15440 (tststatic3-ENV, tststatic4-ENV): New variables.
15441 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15442 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15443
cbe7d24b
JM
154442013-06-26 Joseph Myers <joseph@codesourcery.com>
15445
15446 * configure.in (CC): Require GCC version 4.4 or later.
15447 * configure: Regenerated.
15448 * manual/install.texi (Tools for Compilation): Update GCC version
15449 requirement.
15450 * INSTALL: Regenerated.
15451
11b8a0e1
LD
154522013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15453
15454 [BZ #15674]
bb5bb87c
L
15455 * string/test-memcmp.c (check2): New.
15456 (main): Call check2.
15457
11b8a0e1
LD
15458 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15459
b0037103
MR
154602013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
15461
15462 [BZ #15022]
15463 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15464 over to...
15465 (dl_open_worker) [!SHARED]: ... here.
15466
c18c701d
RA
154672013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15468
15469 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15470
1d17fa5f
RH
154712013-06-25 Richard Henderson <rth@redhat.com>
15472
15473 * locale/programs/locarchive.c: Include <libc-internal.h>
15474
8fcb833a
JM
154752013-06-25 Joseph Myers <joseph@codesourcery.com>
15476
15477 * manual/texinfo.tex: Update to version 2013-06-21.17, with
15478 trailing whitespace removed.
15479
17db6e8d
MF
154802013-06-24 Mike Frysinger <vapier@gentoo.org>
15481
15482 [BZ #10283]
17db6e8d
MF
15483 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15484 * locale/programs/locarchive.c: Include libc-mmap.h.
15485 (prepare_address_space): Take two new outputs (the mmap base and len).
15486 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
15487 values.
15488 (create_archive): Declare new mmap base and len values for
15489 prepare_address_space, and store the result in ah.
15490 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15491 (enlarge_archive): If ah->mmap_base is not NULL, use that and
15492 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15493 Declare new mmap base and len values for
15494 prepare_address_space, and store the result in new_ah.
15495 (open_archive): Declare new mmap base and len values for
15496 prepare_address_space, and store the result in ah.
15497 (close_archive): If ah->mmap_base is not NULL, use that and
15498 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15499 * sysdeps/generic/libc-mmap.h: New file.
15500
d605071e
MF
155012013-06-24 Mike Frysinger <vapier@gentoo.org>
15502
15503 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15504 (ALIGN_UP): Likewise.
15505 (PTR_ALIGN_DOWN): Likewise.
15506 (PTR_ALIGN_UP): Likewise.
15507
2f063a6e
RA
155082013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15509
15510 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15511 entry mapped to PPC_PLATFORM_POWER8.
15512 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15513 POWER8.
15514 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15515 (_dl_string_platform): Add case for exporting platform position for
15516 POWER8.
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15518 search path to sysdeps/powerpc/powerpc32/power8 directory.
15519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15520 search path to sysdeps/powerpc/powerpc64/power8 directory.
15521 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15522 power7 directories.
15523 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15524 power7 directories.
15525
a31ee4b3
SP
155262013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15527
a74ca98f
SP
15528 * INSTALL: Regenerate.
15529
a31ee4b3
SP
15530 * nscd/connections.c (nscd_init): Fix comment.
15531
695c378f
JM
155322013-06-22 Joseph Myers <joseph@codesourcery.com>
15533
d8412221
JM
15534 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15535
695c378f
JM
15536 [BZ #15667]
15537 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15538 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15539
d1d54715
MR
155402013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15541
15542 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15543 DL_DST_REQ_STATIC.
15544 (DL_DST_REQ_STATIC): Remove macro.
15545
8fdda7af
JM
155462013-06-21 Joseph Myers <joseph@codesourcery.com>
15547
15548 [BZ #7006]
15549 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15550 with a shift of 0 bits.
15551
f3bc5e5a
MR
155522013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
15553
15554 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15555 $(tststatic-ENV).
15556
be09e8c9
KK
155572013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15558
15559 [BZ #15655]
15560 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15561
85c2e611
AZ
155622013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15563
15564 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15565 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15566 accepts -fno-tree-loop-distribute-patterns.
15567 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15568 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15569 recursive call.
15570 * string/memset.c (memset): Likewise.
15571 * string/test-memmove.c (simple_memmove): Disable loop transformation
15572 to library calls.
15573 * string/test-memset.c (simple_memset): Likewise.
15574 * benchtests/bench-memmove.c (simple_memmove): Likewise.
15575 * benchtests/bench-memset.c (simple_memset): Likewise.
15576 * configure: Regenerated.
15577
c91e0825
JM
155782013-06-20 Joseph Myers <joseph@codesourcery.com>
15579
b8c792af
JM
15580 * math/test-misc.c (main): Ignore fesetround failure when failures
15581 of subsequent rounding tests would be ignored.
15582
c91e0825
JM
15583 [BZ #15654]
15584 * math/fedisblxcpt.c (fedisableexcept): Return 0.
15585 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15586 * math/fegetenv.c (__fegetenv): Return 0.
15587 * math/fegetexcept.c (fegetexcept): Return 0.
15588 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15589 FE_TONEAREST.
15590 * math/feholdexcpt.c (feholdexcept): Return 0.
15591 * math/fesetenv.c (__fesetenv): Return 0.
15592 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15593 argument FE_TONEAREST.
15594 * math/feupdateenv.c (__feupdateenv): Return 0.
15595 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15596
bfcacbde
RM
155972013-06-18 Roland McGrath <roland@hack.frob.com>
15598
15599 * elf/rtld-Rules (rtld-compile-command.S): New variable.
15600 (rtld-compile-command.s, rtld-compile-command.c): New variables.
15601 ($(objpfx)rtld-%.os rules): Use them.
15602
e55a9b25
AZ
156032013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15604
15605 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15606 fields.
15607
346d65b3
RM
156082013-06-17 Roland McGrath <roland@hack.frob.com>
15609
12086fb4
RM
15610 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15611 length of target pattern, then descending length of dependency pattern.
15612 * configure.in (AWK): Require gawk 3.1.2 or newer.
15613 * manual/install.texi (Tools for Compilation): Say that we do.
15614 * configure: Regenerated.
15615
346d65b3
RM
15616 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15617 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15618 * scripts/sysd-rules.awk: ... this new script.
15619 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15620 than a glob-style pattern.
15621
1a846317
JM
156222013-06-17 Joseph Myers <joseph@codesourcery.com>
15623
15624 * math/test-misc.c (main): Do not treat incorrectly rounded
15625 conversions as failure unless ROUNDING_TESTS passes.
15626
8fc75e6f
JM
156272013-06-15 Joseph Myers <joseph@codesourcery.com>
15628
3711a167
JM
15629 [BZ #15631]
15630 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15631 restore exception state around main square root computation, then
15632 check for inexactness explicitly.
15633
8fc75e6f
JM
15634 * math/libm-test.inc (fma_test_data): Add another test.
15635
61dd6208
SP
156362013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15637
adf23d2c
SP
15638 * manual/threads.texi (Non-POSIX Extensions): New document
15639 node. Document pthread_getattr_default_np and
15640 pthread_setattr_default_np.
15641
61dd6208
SP
15642 * Versions.def (libpthread): Add GLIBC_2.18.
15643 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15645 Likewise.
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15647 Likewise.
15648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15649 Likewise.
15650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15651 Likewise.
15652 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15653 Likewise.
15654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15655 Likewise.
15656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15657 Likewise.
15658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15659 Likewise.
15660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15661 Likewise.
15662
d086fc7b
LD
156632013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15664
15665 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15666 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15667
747ef469
SP
156682013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15669 H.J. Lu <hjl.tools@gmail.com>
15670
15671 [BZ #15627]
15672 * sysdeps/x86_64/rtld-memset.c: Remove file.
15673 * sysdeps/x86_64/rtld-memset.S: New file.
15674
1b2feed2
JM
156752013-06-14 Joseph Myers <joseph@codesourcery.com>
15676
15677 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15678 (test_in_one_mode): Take arguments for whether the rounding mode
15679 is supported for each floating-point type.
15680 (do_test): Pass new arguments to test_in_one_mode using
15681 ROUNDING_TESTS.
15682
a58ad3f8
RM
156832013-06-13 Roland McGrath <roland@hack.frob.com>
15684
15685 * posix/tst-waitid.c (do_test): Distinguish different instances of
15686 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15687 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15688 before entering the kernel for waitpid.
15689
c204ab28
SP
156902013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15691
15692 * NEWS: Fix note on clock function precision. Text by Roland
15693 McGrath.
15694
f4a29fba
RM
156952013-06-13 Roland McGrath <roland@hack.frob.com>
15696
15697 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15698 it into place only when and if the sanity check passes.
15699
1f24b9ad
JM
157002013-06-13 Joseph Myers <joseph@codesourcery.com>
15701
15702 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15703 output for whether conversion result is exact. Take argument
15704 indicating whether type is IBM long double.
15705 (round_for_all): Change need_exact field to ibm_ld.
15706 * stdlib/tst-strtod-round.c (struct exactness): New type.
15707 (struct test): Change bool ld_ok field to struct exactness exact.
15708 (TEST): Update all definitions for change to field.
15709 (tests): Regenerate array contents.
15710 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15711 field value. Check for IBM long double here.
15712 (do_test): Update calls to test_in_one_mode.
15713
58206c68
SP
157142013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15715
15716 [BZ #12515]
15717 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15718 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15719
2d6f4c5b 157202013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
15721
15722 [BZ #15605]
15723 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15724 generated by the compiler on loop optimizations.
15725 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15726 general definitions.
15727
94f2c076
JM
157282013-06-12 Joseph Myers <joseph@codesourcery.com>
15729
15730 * math/bug-nextafter.c: Include <math-tests.h>.
15731 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15732 the relevant type.
15733 * math/bug-nexttoward.c: Include <math-tests.h>.
15734 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15735 the relevant type.
15736 * math/test-misc.c: Include <math-tests.h>.
15737 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15738 the relevant type.
15739
e0e50a0a
AJ
157402013-06-12 Andreas Jaeger <aj@suse.de>
15741
15742 * po/ia.po: Update Interlingua translation from translation
15743 project.
15744
25061094
SP
157452013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15746
15747 * include/fenv.h: Include stdbool.h.
15748 (struct rm_ctx): New structure.
15749 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15750 Define macro.
15751 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15752 (SET_RESTORE_ROUNDF): Likewise.
15753 (SET_RESTORE_ROUNDL): Likewise.
15754 (SET_RESTORE_ROUND_NOEX): Likewise.
15755 (SET_RESTORE_ROUND_NOEXF): Likewise.
15756 (SET_RESTORE_ROUND_NOEXL): Likewise.
15757 (SET_RESTORE_ROUND_53BIT): Likewise.
15758 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15759 (libc_feresetround_noexf_ctx): Likewise.
15760 (libc_feresetround_noexl_ctx): Likewise.
15761 (libc_feholdsetround_53bit_ctx): Likewise.
15762 (libc_feresetround_53bit_ctx): Likewise.
15763 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15764 (libc_feholdexcept_setround_sse_ctx): New function.
15765 (libc_fesetenv_sse_ctx): Likewise.
15766 (libc_feupdateenv_sse_ctx): Likewise.
15767 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15768 (libc_feholdexcept_setround_387_ctx): Likewise.
15769 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15770 (libc_feholdsetround_387_prec_ctx): Likewise.
15771 (libc_feholdsetround_387_ctx): Likewise.
15772 (libc_feholdsetround_387_53bit_ctx): Likewise.
15773 (libc_feholdsetround_sse_ctx): Likewise.
15774 (libc_feresetround_sse_ctx): Likewise.
15775 (libc_feresetround_387_ctx): Likewise.
15776 (libc_feupdateenv_387_ctx): Likewise.
15777 (libc_feholdexcept_setroundf_ctx): Define macro.
15778 (libc_fesetenvf_ctx): Likewise.
15779 (libc_feupdateenvf_ctx): Likewise.
15780 (libc_feholdsetroundf_ctx): Likewise.
15781 (libc_feresetroundf_ctx): Likewise.
15782 (libc_feholdexcept_setround_ctx): Likewise.
15783 (libc_fesetenv_ctx): Likewise.
15784 (libc_feupdateenv_ctx): Likewise.
15785 (libc_feholdsetround_ctx): Likewise.
15786 (libc_feresetround_ctx): Likewise.
15787 (libc_feholdexcept_setroundl_ctx): Likewise.
15788 (libc_feupdateenvl_ctx): Likewise.
15789 (libc_feholdsetroundl_ctx): Likewise.
15790 (libc_feresetroundl_ctx): Likewise.
15791 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15792 (libc_feresetround_53bit_ctx): Likewise.
15793
59b30555
SP
157942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15795
15796 * locale/iso-639.def: Convert to UTF-8.
15797
f1d73d30
JM
157982013-06-11 Joseph Myers <joseph@codesourcery.com>
15799
15800 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15801 (EXCEPTION_TESTS_double): Likewise.
15802 (EXCEPTION_TESTS_long_double): Likewise.
15803 (EXCEPTION_TESTS): Likewise.
15804 * math/libm-test.inc (test_exceptions): Only test exceptions if
15805 EXCEPTION_TESTS (FLOAT).
15806
94aca5e7
SP
158072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15808
15809 * benchtests/Makefile (string-bench): Add strcpy_chk and
15810 stpcpy_chk.
15811 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15812 * benchtests/bench-stpcpy_chk.c: New file.
15813 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15814 * benchtests/bench-strcpy_chk.c: New file.
15815 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15816 code.
15817 (do_test): Likewise.
15818
fac0c5f2
RA
158192013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15820
15821 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15822 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15823 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15824 with tabs where appropriate.
15825 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15826 dl-procinfo.h.
15827 [PPC_PLATFORM_PPC440]: Likewise.
15828 [PPC_PLATFORM_PPC464]: Likewise.
15829 [PPC_PLATFORM_PPC476]: Likewise.
15830 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15831 ppc464, and ppc476 platform strings merging from ports/
15832 dl-procinfo.h.
15833
f22bc486
AS
158342013-06-11 Andreas Schwab <schwab@suse.de>
15835
15836 [BZ #14991]
15837 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15838 (from_ucs4_idx): Regenerate.
15839 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15840 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15841 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15842 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15843 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15844 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15845 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15846 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15847 from FROM_LOOP and TO_LOOP specific macros.
15848 (BODY): Handle combining characters.
15849 * iconvdata/BIG5HKSCS.irreversible: Update.
15850 * iconvdata/BIG5HKSCS.precomposed: New file.
15851 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15852 characters.
15853 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15854
c1f75dc3
SP
158552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15856
4eacded2
SP
15857 * include/sys/time.h: Fix indentation and add copyright header.
15858
fec799f8
SP
15859 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15860 (do_test): Likewise.
15861 * string/test-memchr.c (do_one_test): Likewise.
15862 (do_test): Likewise.
15863 * string/test-memcmp.c (do_one_test): Likewise.
15864 (do_test): Likewise.
15865 * string/test-memcpy.c (do_one_test): Likewise.
15866 (do_test): Likewise.
15867 * string/test-memmem.c (do_one_test): Likewise.
15868 (do_test): Likewise.
15869 (do_random_tests): Likewise.
15870 * string/test-memmove.c (do_one_test): Likewise.
15871 (do_test): Likewise.
15872 * string/test-memset.c (do_one_test): Likewise.
15873 (do_test): Likewise.
15874 * string/test-rawmemchr.c (do_one_test): Likewise.
15875 (do_test): Likewise.
15876 * string/test-strcasecmp.c (do_one_test): Likewise.
15877 (do_test): Likewise.
15878 * string/test-strcasestr.c (do_one_test): Likewise.
15879 (do_test): Likewise.
15880 * string/test-strcat.c (do_one_test): Likewise.
15881 (do_test): Likewise.
15882 * string/test-strchr.c (do_one_test): Likewise.
15883 (do_test): Likewise.
15884 * string/test-strcmp.c (do_one_test): Likewise.
15885 (do_test): Likewise.
15886 * string/test-strcpy.c (do_one_test): Likewise.
15887 (do_test): Likewise.
15888 * string/test-string.h: Likewise.
15889 (test_init): Likewise.
15890 * string/test-strlen.c (do_one_test): Likewise.
15891 (do_test): Likewise.
15892 * string/test-strncasecmp.c (do_one_test): Likewise.
15893 (do_test): Likewise.
15894 * string/test-strncat.c (do_one_test): Likewise.
15895 (do_test): Likewise.
15896 * string/test-strncmp.c (do_one_test): Likewise.
15897 (do_test_limit): Likewise.
15898 (do_test): Likewise.
15899 * string/test-strncpy.c (do_one_test): Likewise.
15900 (do_test): Likewise.
15901 * string/test-strnlen.c (do_one_test): Likewise.
15902 (do_test): Likewise.
15903 * string/test-strpbrk.c (do_one_test): Likewise.
15904 (do_test): Likewise.
15905 * string/test-strrchr.c (do_one_test): Likewise.
15906 (do_test): Likewise.
15907 * string/test-strspn.c (do_one_test): Likewise.
15908 (do_test): Likewise.
15909 * string/test-strstr.c (do_one_test): Likewise.
15910 (do_test): Likewise.
15911
97020474
SP
15912 * benchtests/Makefile (string-bench): Add string benchmarks.
15913 * benchtests/bench-bcopy-ifunc.c: New file.
15914 * benchtests/bench-bcopy.c: New file.
15915 * benchtests/bench-bzero-ifunc.c: New file.
15916 * benchtests/bench-bzero.c: New file.
15917 * benchtests/bench-memccpy-ifunc.c: New file.
15918 * benchtests/bench-memccpy.c: New file.
15919 * benchtests/bench-memchr-ifunc.c: New file.
15920 * benchtests/bench-memchr.c: New file.
15921 * benchtests/bench-memcmp-ifunc.c: New file.
15922 * benchtests/bench-memcmp.c: New file.
15923 * benchtests/bench-memmem-ifunc.c: New file.
15924 * benchtests/bench-memmem.c: New file.
15925 * benchtests/bench-memmove-ifunc.c: New file.
15926 * benchtests/bench-memmove.c: New file.
15927 * benchtests/bench-mempcpy-ifunc.c: New file.
15928 * benchtests/bench-mempcpy.c: New file.
15929 * benchtests/bench-memset-ifunc.c: New file.
15930 * benchtests/bench-memset.c: New file.
15931 * benchtests/bench-rawmemchr-ifunc.c: New file.
15932 * benchtests/bench-rawmemchr.c: New file.
15933 * benchtests/bench-stpcpy-ifunc.c: New file.
15934 * benchtests/bench-stpcpy.c: New file.
15935 * benchtests/bench-stpncpy-ifunc.c: New file.
15936 * benchtests/bench-stpncpy.c: New file.
15937 * benchtests/bench-strcasecmp-ifunc.c: New file.
15938 * benchtests/bench-strcasecmp.c: New file.
15939 * benchtests/bench-strcasestr-ifunc.c: New file.
15940 * benchtests/bench-strcasestr.c: New file.
15941 * benchtests/bench-strcat-ifunc.c: New file.
15942 * benchtests/bench-strcat.c: New file.
15943 * benchtests/bench-strchr-ifunc.c: New file.
15944 * benchtests/bench-strchr.c: New file.
15945 * benchtests/bench-strchrnul-ifunc.c: New file.
15946 * benchtests/bench-strchrnul.c: New file.
15947 * benchtests/bench-strcmp-ifunc.c: New file.
15948 * benchtests/bench-strcmp.c: New file.
15949 * benchtests/bench-strcpy-ifunc.c: New file.
15950 * benchtests/bench-strcpy.c: New file.
15951 * benchtests/bench-strcspn-ifunc.c: New file.
15952 * benchtests/bench-strcspn.c: New file.
15953 * benchtests/bench-strlen-ifunc.c: New file.
15954 * benchtests/bench-strlen.c: New file.
15955 * benchtests/bench-strncasecmp-ifunc.c: New file.
15956 * benchtests/bench-strncasecmp.c: New file.
15957 * benchtests/bench-strncat-ifunc.c: New file.
15958 * benchtests/bench-strncat.c: New file.
15959 * benchtests/bench-strncmp-ifunc.c: New file.
15960 * benchtests/bench-strncmp.c: New file.
15961 * benchtests/bench-strncpy-ifunc.c: New file.
15962 * benchtests/bench-strncpy.c: New file.
15963 * benchtests/bench-strnlen-ifunc.c: New file.
15964 * benchtests/bench-strnlen.c: New file.
15965 * benchtests/bench-strpbrk-ifunc.c: New file.
15966 * benchtests/bench-strpbrk.c: New file.
15967 * benchtests/bench-strrchr-ifunc.c: New file.
15968 * benchtests/bench-strrchr.c: New file.
15969 * benchtests/bench-strspn-ifunc.c: New file.
15970 * benchtests/bench-strspn.c: New file.
15971 * benchtests/bench-strstr-ifunc.c: New file.
15972 * benchtests/bench-strstr.c: New file.
15973
c1f75dc3
SP
15974 * benchtests/Makefile: Disable parallel execution of targets.
15975 (string-bench): Add memcpy.
15976 (benchset): New variable to store a list of benchmark sets.
15977 (bench-func): Renamed from bench.
15978 (bench-set): New target.
15979 (bench): Depend on bench-func and bench-set.
15980 * benchtests/README: Add section on benchmark sets.
15981 * benchtests/bench-memcpy-ifunc.c: New file.
15982 * benchtests/bench-memcpy.c: New file.
15983 * benchtests/bench-string.h: New file.
15984
50fd745b
AS
159852013-06-11 Andreas Schwab <schwab@suse.de>
15986
15987 [BZ #15577]
15988 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15989 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15990 values in the triple.
15991 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15992 terminator in the group key.
15993
3ee7e9fe
AJ
159942013-06-11 Andreas Jaeger <aj@suse.de>
15995
15996 * po/zh_TW.po: Update Chinese (traditional) translation from
15997 translation project.
15998
89fb6835
SP
159992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
16000
16001 * include/time.h (__clock_gettime): Add libc_hidden_proto.
16002 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16003 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
16004 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16005 (clock_getcpuclockid): Likewise.
16006 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16007 Add weak_alias and libc_hidden_def.
16008 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16009 * rt/clock_gettime.c (clock_gettime): Rename to
16010 __clock_gettime. Add weak_alias and libc_hidden_def.
16011 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16012 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16013 __clock_nanosleep. Add weak_alias and libc_hidden_def.
16014 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16015 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16016 Likewise.
16017 * rt/clock_settime.c (clock_settime): Rename to
16018 __clock_settime. Add weak_alias and libc_hidden_def.
16019 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16020
0efa6f8b
JM
160212013-06-10 Joseph Myers <joseph@codesourcery.com>
16022
b8c61b4b
JM
16023 * mach/err_boot.sub: Remove trailing whitespace.
16024 * mach/err_ipc.sub: Likewise.
16025 * mach/err_mach.sub: Likewise.
16026
0efa6f8b
JM
16027 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16028 (ROUNDING_TESTS_double): Likewise.
16029 (ROUNDING_TESTS_long_double): Likewise.
16030 (ROUNDING_TESTS): Likewise.
16031 * math/libm-test.inc: Include <math-tests.h>.
16032 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16033 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16034 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16035 (IF_ROUND_INIT_FE_UPWARD): Likewise.
16036
50b818bf
SP
160372013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16038
16039 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16040 of assigning.
16041
60d2f8f3
JM
160422013-06-08 Joseph Myers <joseph@codesourcery.com>
16043
4902d2c3
JM
16044 * sysdeps/gnu/errlist.awk: Do not generate space at end of
16045 otherwise empty TRANS lines.
16046 * sysdeps/gnu/errlist.c: Regenerated.
16047
60d2f8f3
JM
16048 * catgets/gencat.c (error_print): Use (void) in function
16049 definition.
16050 * crypt/crypt_util.c (__init_des): Likewise.
16051 * crypt/speeds.c (Stop): Likewise.
16052 (main): Likewise.
16053 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16054 * inet/ruserpass.c (token): Likewise.
16055 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16056 * intl/localealias.c (extend_alias_table): Likewise.
16057 * intl/plural-exp.c (init_germanic_plural): Likewise.
16058 * libio/fcloseall.c (__fcloseall): Likewise.
16059 * libio/genops.c (_IO_flush_all): Likewise.
16060 (_IO_flush_all_linebuffered): Likewise.
16061 (_IO_cleanup): Likewise.
16062 (_IO_iter_begin): Likewise.
16063 (_IO_iter_end): Likewise.
16064 (_IO_list_lock): Likewise.
16065 (_IO_list_unlock): Likewise.
16066 (_IO_list_resetlock): Likewise.
16067 * libio/getchar.c (getchar): Likewise.
16068 * libio/getchar_u.c (getchar_unlocked): Likewise.
16069 * libio/getwchar.c (getwchar): Likewise.
16070 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16071 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16072 * login/getpt.c (__getpt): Likewise.
16073 * login/tst-utmp.c (main): Likewise.
16074 * malloc/hooks.c (__malloc_check_init): Likewise.
16075 * malloc/malloc.c (__malloc_stats): Likewise.
16076 * malloc/mtrace.c (tr_break): Likewise.
16077 (mtrace): Likewise.
16078 (muntrace): Likewise.
16079 * misc/fstab.c (endfsent): Likewise.
16080 * misc/getclktck.c (__getclktck): Likewise.
16081 * misc/getdtsz.c (__getdtablesize): Likewise.
16082 * misc/gethostid.c (gethostid): Likewise.
16083 * misc/getpagesize.c (__getpagesize): Likewise.
16084 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16085 (__get_nprocs): Likewise.
16086 (__get_phys_pages): Likewise.
16087 (__get_avphys_pages): Likewise.
16088 * misc/getttyent.c (getttyent): Likewise.
16089 (setttyent): Likewise.
16090 (endttyent): Likewise.
16091 * misc/getusershell.c (getusershell): Likewise.
16092 (endusershell): Likewise.
16093 (setusershell): Likewise.
16094 (initshells): Likewise.
16095 * misc/hsearch.c (__hdestroy): Likewise.
16096 * misc/sync.c (sync): Likewise.
16097 * misc/syslog.c (closelog_internal): Likewise.
16098 (closelog): Likewise.
16099 * misc/ttyslot.c (ttyslot): Likewise.
16100 * misc/vhangup.c (vhangup): Likewise.
16101 * posix/fork.c (__fork): Likewise.
16102 * posix/getegid.c (__getegid): Likewise.
16103 * posix/geteuid.c (__geteuid): Likewise.
16104 * posix/getgid.c (__getgid): Likewise.
16105 * posix/getpid.c (__getpid): Likewise.
16106 * posix/getppid.c (__getppid): Likewise.
16107 * posix/getuid.c (__getuid): Likewise.
16108 * posix/pause.c (pause): Likewise.
16109 * posix/setpgrp.c (setpgrp): Likewise.
16110 * posix/setsid.c (__setsid): Likewise.
16111 * posix/test-vfork.c (noop): Likewise.
16112 * resolv/gethnamaddr.c (_endhtent): Likewise.
16113 (_gethtent): Likewise.
16114 (ht_endhostent): Likewise.
16115 (gethostent): Likewise.
16116 (dns_service): Likewise.
16117 * stdlib/drand48.c (drand48): Likewise.
16118 * stdlib/lrand48.c (lrand48): Likewise.
16119 * stdlib/mrand48.c (mrand48): Likewise.
16120 * stdlib/rand.c (rand): Likewise.
16121 * stdlib/random.c (__random): Likewise.
16122 * stdlib/setenv.c (clearenv): Likewise.
16123 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16124 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16125 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16126 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16127 (__get_nprocs): Likewise.
16128 (__get_phys_pages): Likewise.
16129 (__get_avphys_pages): Likewise.
16130 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16131 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16132 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16133 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16134 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16135 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16136 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16137 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16138 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16139 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16140 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16141 * sysdeps/mach/hurd/sync.c (sync): Likewise.
16142 * sysdeps/posix/clock.c (clock): Likewise.
16143 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16144 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16145 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16146 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16147 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16149 (__get_nprocs_conf): Likewise.
16150 (__get_phys_pages): Likewise.
16151 (__get_avphys_pages): Likewise.
16152 * time/clock.c (clock): Likewise.
16153 * time/tzset.c (__tzname_max): Likewise.
16154
2e09a79a
JM
161552013-06-07 Joseph Myers <joseph@codesourcery.com>
16156
16157 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16158 (__bswap_32): Do not use "register".
16159 * crypt/crypt.c (_ufc_doit_r): Likewise.
16160 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16161 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16162 * gmon/gmon.c (__monstartup): Likewise.
16163 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16164 * hurd/hurdmalloc.c (more_memory): Likewise.
16165 (malloc): Likewise.
16166 (free): Likewise.
16167 (realloc): Likewise.
16168 (malloc_fork_prepare): Likewise.
16169 (malloc_fork_parent): Likewise.
16170 (malloc_fork_child): Likewise.
16171 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16172 (_svcauth_des): Likewise.
16173 * inet/inet_lnaof.c (inet_lnaof): Likewise.
16174 * inet/inet_net.c (inet_network): Likewise.
16175 * inet/inet_netof.c (inet_netof): Likewise.
16176 * inet/rcmd.c (__validuser2_sa): Likewise.
16177 * io/fts.c (fts_open): Likewise.
16178 (fts_load): Likewise.
16179 (fts_close): Likewise.
16180 (fts_read): Likewise.
16181 (fts_children): Likewise.
16182 (fts_build): Likewise.
16183 (fts_stat): Likewise.
16184 (fts_sort): Likewise.
16185 (fts_alloc): Likewise.
16186 (fts_lfree): Likewise.
16187 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16188 (_IO_file_xsgetn): Likewise.
16189 (_IO_file_xsgetn_mmap): Likewise.
16190 * libio/iofopncook.c (_IO_cookie_read): Likewise.
16191 (_IO_cookie_write): Likewise.
16192 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16193 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16194 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16195 * malloc/obstack.c (_obstack_begin): Likewise.
16196 (_obstack_begin_1): Likewise.
16197 (_obstack_newchunk): Likewise.
16198 (_obstack_allocated_p): Likewise.
16199 (obstack_free): Likewise.
16200 (_obstack_memory_used): Likewise.
16201 * misc/getttyent.c (getttynam): Likewise.
16202 (getttyent): Likewise.
16203 (skip): Likewise.
16204 (value): Likewise.
16205 * misc/getusershell.c (initshells): Likewise.
16206 * misc/syslog.c (__vsyslog_chk): Likewise.
16207 * misc/ttyslot.c (ttyslot): Likewise.
16208 * nis/nis_hash.c (__nis_hash): Likewise.
16209 * posix/fnmatch_loop.c (FCT): Likewise.
16210 * posix/getconf.c (print_all): Likewise.
16211 (main): Likewise.
16212 * posix/getopt.c (exchange): Likewise.
16213 * posix/glob.c (globfree): Likewise.
16214 (prefix_array): Likewise.
16215 (__glob_pattern_type): Likewise.
16216 * resolv/arpa/nameser.h (NS_GET16): Likewise.
16217 (NS_GET32): Likewise.
16218 (NS_PUT16): Likewise.
16219 (NS_PUT32): Likewise.
16220 * resolv/gethnamaddr.c (getanswer): Likewise.
16221 (gethostbyname2): Likewise.
16222 (gethostbyaddr): Likewise.
16223 (_gethtent): Likewise.
16224 (_gethtbyname2): Likewise.
16225 (_gethtbyaddr): Likewise.
16226 * resolv/ns_print.c (dst_s_get_int16): Likewise.
16227 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16228 * resolv/res_init.c (__res_vinit): Likewise.
16229 (net_mask): Likewise.
16230 * resolv/res_mkquery.c (outchar): Likewise.
16231 (PRINT): Likewise.
16232 * stdio-common/printf_fp.c (outchar): Likewise.
16233 (PRINT): Likewise.
16234 * stdio-common/printf_fphex.c (outchar): Likewise.
16235 (PRINT): Likewise.
16236 * stdio-common/printf_size.c (outchar): Likewise.
16237 (PRINT): Likewise.
16238 * stdio-common/test_rdwr.c (main): Likewise.
16239 * stdio-common/tfformat.c (matches): Likewise.
16240 * stdio-common/vfprintf.c (outchar): Likewise.
16241 (printf_unknown): Likewise.
16242 (buffered_vfprintf): Likewise.
16243 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16244 * stdio-common/xbug.c (AppendToBuffer): Likewise.
16245 (ReadFile): Likewise.
16246 * stdlib/qsort.c (SWAP): Likewise.
16247 (_quicksort): Likewise.
16248 * stdlib/setenv.c (__add_to_environ): Likewise.
16249 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16250 * stdlib/strtol_l.c (__strtol_l): Likewise.
16251 * stdlib/tst-strtod.c (main): Likewise.
16252 * stdlib/tst-strtol.c (main): Likewise.
16253 * stdlib/tst-strtoll.c (main): Likewise.
16254 * string/bits/string2.h (__strcmp_cc): Likewise.
16255 (__strcmp_cg): Likewise.
16256 (__strcspn_c1): Likewise.
16257 (__strcspn_c2): Likewise.
16258 (__strcspn_c3): Likewise.
16259 (__strspn_c1): Likewise.
16260 (__strspn_c2): Likewise.
16261 (__strspn_c3): Likewise.
16262 (__strsep_1c): Likewise.
16263 (__strsep_2c): Likewise.
16264 (__strsep_3c): Likewise.
16265 * string/memccpy.c (__memccpy): Likewise.
16266 * string/stpcpy.c (__stpcpy): Likewise.
16267 * string/strcmp.c (strcmp): Likewise.
16268 * string/strrchr.c (strrchr): Likewise.
16269 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
16270 Likewise.
16271 * sysdeps/mach/hurd/getcwd.c
16272 (_hurd_canonicalize_directory_name_internal): Likewise.
16273 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
16274 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
16275 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
16276 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
16277 Likewise, in both definitions.
16278 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
16279 definitions.
16280 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
16281 64] (__bswap_64): Likewise.
16282 * time/test_time.c (main): Likewise.
16283 * time/tzfile.c (__tzfile_read): Likewise.
16284 (__tzfile_compute): Likewise.
16285 * time/tzset.c (__tzset_parse_tz): Likewise.
16286 (tzset_internal): Likewise.
16287 (compute_change): Likewise.
16288 * wcsmbs/wcscat.c (__wcscat): Likewise.
16289 * wcsmbs/wcschr.c (wcschr): Likewise.
16290 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16291 * wcsmbs/wcscspn.c (wcscspn): Likewise.
16292 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16293 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
16294 * wcsmbs/wcsspn.c (wcsspn): Likewise.
16295 * wcsmbs/wcsstr.c (wcsstr): Likewise.
16296 * wcsmbs/wmemchr.c (wmemchr): Likewise.
16297 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16298 * wcsmbs/wmemset.c (wmemset): Likewise.
16299
9e54314b
JM
163002013-06-06 Joseph Myers <joseph@codesourcery.com>
16301
16302 * scripts/config.guess: Update to version 2013-05-16.
16303 * scripts/config.sub: Update to version 2013-04-24.
16304 * scripts/install-sh: Update to version 2011-11-20.07.
16305 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
16306 * scripts/move-if-change: Update to version 2012-01-06 07:23.
16307
350635a5
OB
163082013-06-06 Ondřej Bílka <neleai@seznam.cz>
16309
16310 * debug/fgetws_u_chk.c: Fix leading whitespaces.
16311 * elf/sln.c: Likewise.
16312 * hurd/hurd/ioctl.h: Likewise.
16313 * hurd/hurdmalloc.c: Likewise.
16314 * hurd/xattr.c: Likewise.
16315 * include/shlib-compat.h: Likewise.
16316 * inet/ruserpass.c: Likewise.
16317 * libio/iofgets_u.c: Likewise.
16318 * libio/iofgetws_u.c: Likewise.
16319 * locale/programs/ld-identification.c: Likewise.
16320 * locale/programs/ld-time.c: Likewise.
16321 * mach/msg-destroy.c: Likewise.
16322 * nss/nss_files/files-netgrp.c: Likewise.
16323 * resolv/res_data.c: Likewise.
16324 * soft-fp/op-1.h: Likewise.
16325 * soft-fp/op-2.h: Likewise.
16326 * soft-fp/op-4.h: Likewise.
16327 * soft-fp/op-common.h: Likewise.
16328 * stdio-common/printf_fphex.c: Likewise.
16329 * stdlib/strtod_l.c: Likewise.
16330 * sunrpc/rpc/clnt.h: Likewise.
16331 * sysdeps/generic/framestate.c: Likewise.
16332 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16333 * sysdeps/i386/bsd-setjmp.S: Likewise.
16334 * sysdeps/i386/__longjmp.S: Likewise.
16335 * sysdeps/i386/setjmp.S: Likewise.
16336 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16337 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16338 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
16346 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16347 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16348 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16349 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16350 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16351 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16352 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
16353 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
16354 * sysdeps/ieee754/support.c: Likewise.
16355 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16356 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
16357 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
16358 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
16359 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
16360 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
16361 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
16362 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
16363 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
16364 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
16365 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
16366 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
16367 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
16368 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
16369 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
16370 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
16371 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
16373
44a988af
OB
163742013-06-05 Ondřej Bílka <neleai@seznam.cz>
16375
25506f09 16376 * posix/transbug.c: Remove executable mode.
44a988af 16377
9c84384c
JM
163782013-06-05 Joseph Myers <joseph@codesourcery.com>
16379
16380 * crypt/speeds.c: Remove trailing whitespace.
16381 * dlfcn/default.c: Likewise.
16382 * elf/ifuncdep2.c: Likewise.
16383 * elf/ifuncmain1.c: Likewise.
16384 * elf/ifuncmain1vis.c: Likewise.
16385 * elf/testobj.h: Likewise.
16386 * elf/tst-stackguard1.c: Likewise.
16387 * gmon/sys/gmon.h: Likewise.
16388 * hurd/hurdmsg.c: Likewise.
16389 * hurd/new-fd.c: Likewise.
16390 * hurd/ports-get.c: Likewise.
16391 * iconvdata/ibm1008_420.c: Likewise.
16392 * inet/tst-getni1.c: Likewise.
16393 * inet/tst-getni2.c: Likewise.
16394 * libio/ioungetc.c: Likewise.
16395 * libio/wfiledoalloc.c: Likewise.
16396 * manual/libm-err-tab.pl: Likewise.
16397 * math/w_dremf.c: Likewise.
16398 * misc/ftruncate.c: Likewise.
16399 * posix/bug-glob2.c: Likewise.
16400 * posix/tst-pcre.c: Likewise.
16401 * posix/wait4.c: Likewise.
16402 * resolv/README: Likewise.
16403 * resolv/res_debug.h: Likewise.
16404 * resolv/tst-inet_ntop.c: Likewise.
16405 * setjmp/bug269-setjmp.c: Likewise.
16406 * soft-fp/extended.h: Likewise.
16407 * soft-fp/op-1.h: Likewise.
16408 * soft-fp/op-2.h: Likewise.
16409 * soft-fp/op-4.h: Likewise.
16410 * soft-fp/op-8.h: Likewise.
16411 * soft-fp/testit.c: Likewise.
16412 * stdio-common/bug16.c: Likewise.
16413 * stdlib/random.c: Likewise.
16414 * sunrpc/rpcsvc/rquota.x: Likewise.
16415 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16416 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16417 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16418 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16419 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16420 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16421 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16422 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16423 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16424 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16425 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16426 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16427 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16428 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16429 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16430 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16431 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16432 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16433 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16434 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16435 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16436 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16437 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16438 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16439 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16440 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16441 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16442 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16443 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16444 * sysdeps/ieee754/s_lib_version.c: Likewise.
16445 * sysdeps/mach/hurd/check_fds.c: Likewise.
16446 * sysdeps/mach/hurd/getsockname.c: Likewise.
16447 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16448 * sysdeps/mach/hurd/recvfrom.c: Likewise.
16449 * sysdeps/powerpc/bits/link.h: Likewise.
16450 * sysdeps/powerpc/dl-procinfo.c: Likewise.
16451 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16452 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16453 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16454 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16455 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16456 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16457 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16458 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16459 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16460 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16461 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16462 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16463 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16464 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16465 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16466 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16467 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16468 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16469 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16470 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16471 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16472 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16473 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16474 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16475 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16476 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16478 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16479 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16480 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16481 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16482 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16483 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16484 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16485 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16486 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16487 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16488 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16489 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16490 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16491 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16492 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16493 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16494 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16495 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16496 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16497 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16498 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16499 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16500 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16502 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16503 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16504 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16505 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16506 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16507 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16508 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16509 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16510 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16511 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16512 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16513 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16514 * sysdeps/powerpc/sysdep.h: Likewise.
16515 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16516 * sysdeps/s390/s390-64/sub_n.S: Likewise.
16517 * sysdeps/sh/dl-trampoline.S: Likewise.
16518 * sysdeps/sh/memset.S: Likewise.
16519 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16520 * sysdeps/sh/strlen.S: Likewise.
16521 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16522 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16523 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16524 * sysdeps/sparc/sparc32/rem.S: Likewise.
16525 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16526 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16527 * sysdeps/sparc/sparc32/strchr.S: Likewise.
16528 * sysdeps/sparc/sparc32/udiv.S: Likewise.
16529 * sysdeps/sparc/sparc32/urem.S: Likewise.
16530 * sysdeps/sparc/sparc64/add_n.S: Likewise.
16531 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16532 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16533 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16534 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16535 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16536 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16537 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16538 * sysdeps/unix/bsd/times.c: Likewise.
16539 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16540 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16544 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16545 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16546 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16547 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16548 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16549 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16550 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16551 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16552 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16553 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16554 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16555 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16556 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16557 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16558 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16559 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16560 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16561 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16562 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16563 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16564 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16565 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16566 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16567 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16568 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16569 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16570 * sysdeps/x86_64/strcspn.S: Likewise.
16571
869378a5
RA
165722013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16573
16574 * locale/C-translit.h: Revert #include <stdint.h> because this is a
16575 generated file. Regenerate properly from gen-translit.pl.
16576 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
16577 locale/C-translit.h.
16578
840e2943
AS
165792013-06-05 Andreas Schwab <schwab@suse.de>
16580
16581 [BZ #15100]
16582 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16583 week as 6 instead of -1.
16584 * time/tst-strptime.c (day_tests): Add test case.
16585
4c60cb0c
SP
165862013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16587
16588 * sysdeps/generic/math_private.h
16589 (libc_feholdexcept_setround_53bit): Replace with
16590 libc_feholdsetround_53bit.
16591 (libc_feupdateenv_53bit): Replace with
16592 libc_feresetround_53bit.
16593 (SET_RESTORE_ROUND_53BIT): Adjust.
16594
d180203e
SP
165952013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16596
96df079a
SP
16597 * string/test-strchrnul.c: Add copyright header.
16598
d180203e
SP
16599 * posix/tst-getaddrinfo4.c: Increase test timeout.
16600
8b0ccb2d
CD
166012013-06-03 Carlos O'Donell <carlos@redhat.com>
16602
16603 [BZ #15536]
16604 * math/libm-test.inc (MAX_EXP): Remove
16605 (MIN_EXP): Define.
16606 (ulp): Use MIN_EXP - MANT_DIG.
16607 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16608
3b3c4d40
CD
166092013-05-31 Carlos O'Donell <carlos@redhat.com>
16610
16611 * po/be.po: Revert last change.
16612 * po/zh_CN.po: Likewise.
16613 * po/header.pot: Likewise.
16614
fab7ce3f
JM
166152013-05-31 Joseph Myers <joseph@codesourcery.com>
16616
16617 * Makefile ($(common-objpfx)linkobj/libc.so): Define
16618 link-libc-deps to empty as target-specific variable.
16619 * Makerules (link-libc-args): New variable.
16620 (libc-for-link): Likewise.
16621 (link-libc-deps): Likewise.
16622 (lib%.so): Depend on $(link-libc-deps). Link with
16623 $(link-libc-args).
16624 (build-module): Link with $(link-libc-args).
16625 (build-module-asneeded): Likewise.
16626 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16627 list of objects.
16628 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16629 target-specific variable.
16630 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16631 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16632 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16633 libc.
16634 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16635 libc and ld.so.
16636 ($(objpfx)libpcprofile.so): Likewise.
16637 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16638 libc_nonshared.a.
16639 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16640 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16641 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16642 $(link-libc-deps).
16643 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16644 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16645 * login/Makefile ($(objpfx)libutil.so): Likewise.
16646 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16647 * math/Makefile ($(objpfx)libm.so): Likewise.
16648 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16649 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16650 variable instead of depending directly on libc.
16651 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16652 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16653 $(link-libc-deps).
16654 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16655 libc.
16656 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16657 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16658 ($(objpfx)libanl.so): Likewise.
16659 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16660 ld.so.
16661 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16662 $(link-libc-deps).
16663 * sysdeps/i386/fpu/Makefile: Remove file.
16664 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16665 ($(objpfx)libm.so): Remove dependency on ld.so.
16666
eca5920c
PF
166672013-05-30 Patsy Franklin <pfrankli@redhat.com>
16668
16669 [BZ # 15553]
16670 * nis/yp_xdr.c (XDRMAXNAME): Define.
16671 (XDRMAXRECORD): Define.
16672 (xdr_domainname): Use XDRMAXNAME.
16673 (xdr_mapname): Likewise.
16674 (xdr_peername): Likewise.
16675 (xdr_keydat): Use XDRMAXRECORD.
16676 (xdr_valdat): Likewise.
16677
166782013-05-30 Jeff Law <law@redhat.com>
96945714
JL
16679
16680 [BZ #14256]
16681 * manual/errno.texi (ESTALE): Update to account for more than
16682 just NFS file systems.
16683 * sysdeps/gnu/errlist.c: Regenerated.
16684
b9375348
SP
166852013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16686
16687 [BZ #15465]
16688 * elf/Makefile (tests): Add tst-null-argv.
16689 (modules-names): Add tst-null-argv-lib.
16690 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16691 (tst-null-argv-ENV): Set environment for tst-null-argv.
16692 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16693 (RTLD_PROGNAME): New macro.
16694 * elf/tst-null-argv.c: New test case.
16695 * elf/tst-null-argv-lib.c: Library for test case.
16696 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16697 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16698 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16699 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16700 * elf/dl-init.c (call_init): Likewise.
16701 (_dl_init): Likewise.
16702 * elf/dl-load.c (print_search_path): Likewise.
16703 (_dl_map_object): Likewise.
16704 * elf/dl-lookup.c (do_lookup_x): Likewise.
16705 (add_dependency): Likewise.
16706 (_dl_lookup_symbol_x): Likewise.
16707 (_dl_debug_bindings): Likewise.
16708 * elf/dl-open.c (_dl_show_scope): Likewise.
16709 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16710 * elf/dl-version.c (match_symbol): Likewise.
16711 (_dl_check_map_versions): Likewise.
16712 * elf/rtld.c (dl_main): Likewise.
16713 (print_unresolved): Use RTLD_PROGNAME.
16714 (print_missing_version): Likewise.
16715 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16716 (elf_machine_rela): Likewise.
16717 * sysdeps/powerpc/powerpc32/dl-machine.c
16718 (__process_machine_rela): Likewise.
16719 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16720 Likewise.
16721 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16722 Likewise.
16723 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16724 Likewise.
16725 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16726 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16727 Likewise.
16728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16729 Likewise.
16730 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16731
8a9f20c8
CD
167322013-05-28 Carlos O'Donell <carlos@redhat.com>
16733
16734 * po/be.po: Add descriptive title.
16735 * po/zh_CN.po: Likewise.
16736 * po/header.pot: Likewise.
16737
0e60d68e
MF
167382013-05-28 Mike Frysinger <vapier@gentoo.org>
16739
16740 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16741 error message.
16742 (enlarge_archive): Likewise.
16743
56b672e9
BN
167442013-05-28 Ben North <ben@redfrontdoor.org>
16745
16746 * manual/arith.texi (frexp): It is the magnitude of the return
16747 value which lies in [0.5, 1), not the return value itself.
16748
5e056687
AZ
167492013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16750
16751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16752
2b66ef5d
TS
167532013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16754
528c2405
TS
16755 * stdio-common/bug26.c (main): Correct fscanf template.
16756
07b4c13d
TS
16757 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16758 declare _dl_skip_args.
16759
ec9dd97c
TS
16760 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16761 Don't declare.
16762
2b66ef5d
TS
16763 * manual/platform.texi: Add missing @end deftypefun.
16764
4f8dfe27
JM
167652013-05-24 Joseph Myers <joseph@codesourcery.com>
16766
0323d086
JM
16767 [BZ #15529]
16768 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16769 bit of mantissa of 2^16382.
16770 * math/libm-test.inc (hypot_test_data): Add more tests.
16771
dd4259b9
JM
16772 * math/libm-test.inc: Add drem and pow10 to list of tested
16773 functions.
16774 (pow10_test): New function.
16775 (drem_test): Likewise.
16776 (drem_test_tonearest): Likewise.
16777 (drem_test_towardzero): Likewise.
16778 (drem_test_downward): Likewise.
16779 (drem_test_upward): Likewise.
16780 (main): Call the new functions.
16781
4f8dfe27
JM
16782 * math/libm-test.inc (finite_test_data): Remove.
16783 (finite_test): Run tests from isfinite_test_data.
16784 (gamma_test_data): Remove.
16785 (gamma_test): Run tests from lgamma_test_data.
16786 * sysdeps/i386/fpu/libm-test-ulps: Update.
16787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16788
d116b7c4
AZ
167892013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16790
16791 * manual/platform.texi: Add PowerPC PPR function set documentation.
16792 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16793 implementation.
16794
e96e3767
CD
167952013-05-24 Carlos O'Donell <carlos@redhat.com>
16796
16797 * math/libm-test.inc (MAX_EXP): Define.
16798 (ULPDIFF): Define.
16799 (ulp): New function.
16800 (check_float_internal): Use ULPDIFF.
16801 (cpow_test): Disable failing test.
16802 (check_ulp): Test ulp() implemetnation.
16803 (main): Call check_ulp before starting tests.
16804
b679a606
JM
168052013-05-24 Joseph Myers <joseph@codesourcery.com>
16806
e8bdba36
JM
16807 * math/gen-libm-test.pl (generate_testfile): Do not handle
16808 START_DATA and END_DATA.
16809 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16810 END_DATA.
16811 (acos_tonearest_test_data): Likewise.
16812 (acos_towardzero_test_data): Likewise.
16813 (acos_downward_test_data): Likewise.
16814 (acos_upward_test_data): Likewise.
16815 (acosh_test_data): Likewise.
16816 (asin_test_data): Likewise.
16817 (asin_tonearest_test_data): Likewise.
16818 (asin_towardzero_test_data): Likewise.
16819 (asin_downward_test_data): Likewise.
16820 (asin_upward_test_data): Likewise.
16821 (asinh_test_data): Likewise.
16822 (atan_test_data): Likewise.
16823 (atanh_test_data): Likewise.
16824 (atan2_test_data): Likewise.
16825 (cabs_test_data): Likewise.
16826 (cacos_test_data): Likewise.
16827 (cacosh_test_data): Likewise.
16828 (carg_test_data): Likewise.
16829 (casin_test_data): Likewise.
16830 (casinh_test_data): Likewise.
16831 (catan_test_data): Likewise.
16832 (catanh_test_data): Likewise.
16833 (cbrt_test_data): Likewise.
16834 (ccos_test_data): Likewise.
16835 (ccosh_test_data): Likewise.
16836 (ceil_test_data): Likewise.
16837 (cexp_test_data): Likewise.
16838 (cimag_test_data): Likewise.
16839 (clog_test_data): Likewise.
16840 (clog10_test_data): Likewise.
16841 (conj_test_data): Likewise.
16842 (copysign_test_data): Likewise.
16843 (cos_test_data): Likewise.
16844 (cos_tonearest_test_data): Likewise.
16845 (cos_towardzero_test_data): Likewise.
16846 (cos_downward_test_data): Likewise.
16847 (cos_upward_test_data): Likewise.
16848 (cosh_test_data): Likewise.
16849 (cosh_tonearest_test_data): Likewise.
16850 (cosh_towardzero_test_data): Likewise.
16851 (cosh_downward_test_data): Likewise.
16852 (cosh_upward_test_data): Likewise.
16853 (cpow_test_data): Likewise.
16854 (cproj_test_data): Likewise.
16855 (creal_test_data): Likewise.
16856 (csin_test_data): Likewise.
16857 (csinh_test_data): Likewise.
16858 (csqrt_test_data): Likewise.
16859 (ctan_test_data): Likewise.
16860 (ctan_tonearest_test_data): Likewise.
16861 (ctan_towardzero_test_data): Likewise.
16862 (ctan_downward_test_data): Likewise.
16863 (ctan_upward_test_data): Likewise.
16864 (ctanh_test_data): Likewise.
16865 (ctanh_tonearest_test_data): Likewise.
16866 (ctanh_towardzero_test_data): Likewise.
16867 (ctanh_downward_test_data): Likewise.
16868 (ctanh_upward_test_data): Likewise.
16869 (erf_test_data): Likewise.
16870 (erfc_test_data): Likewise.
16871 (exp_test_data): Likewise.
16872 (exp_tonearest_test_data): Likewise.
16873 (exp_towardzero_test_data): Likewise.
16874 (exp_downward_test_data): Likewise.
16875 (exp_upward_test_data): Likewise.
16876 (exp10_test_data): Likewise.
16877 (exp2_test_data): Likewise.
16878 (expm1_test_data): Likewise.
16879 (fabs_test_data): Likewise.
16880 (fdim_test_data): Likewise.
16881 (finite_test_data): Likewise.
16882 (floor_test_data): Likewise.
16883 (fma_test_data): Likewise.
16884 (fma_towardzero_test_data): Likewise.
16885 (fma_downward_test_data): Likewise.
16886 (fma_upward_test_data): Likewise.
16887 (fmax_test_data): Likewise.
16888 (fmin_test_data): Likewise.
16889 (fmod_test_data): Likewise.
16890 (fpclassify_test_data): Likewise.
16891 (frexp_test_data): Likewise.
16892 (gamma_test_data): Likewise.
16893 (hypot_test_data): Likewise.
16894 (ilogb_test_data): Likewise.
16895 (isfinite_test_data): Likewise.
16896 (isgreater_test_data): Likewise.
16897 (isgreaterequal_test_data): Likewise.
16898 (isinf_test_data): Likewise.
16899 (isless_test_data): Likewise.
16900 (islessequal_test_data): Likewise.
16901 (islessgreater_test_data): Likewise.
16902 (isnan_test_data): Likewise.
16903 (isnormal_test_data): Likewise.
16904 (issignaling_test_data): Likewise.
16905 (isunordered_test_data): Likewise.
16906 (j0_test_data): Likewise.
16907 (j1_test_data): Likewise.
16908 (jn_test_data): Likewise.
16909 (ldexp_test_data): Likewise.
16910 (lgamma_test_data): Likewise.
16911 (lrint_test_data): Likewise.
16912 (lrint_tonearest_test_data): Likewise.
16913 (lrint_towardzero_test_data): Likewise.
16914 (lrint_downward_test_data): Likewise.
16915 (lrint_upward_test_data): Likewise.
16916 (llrint_test_data): Likewise.
16917 (llrint_tonearest_test_data): Likewise.
16918 (llrint_towardzero_test_data): Likewise.
16919 (llrint_downward_test_data): Likewise.
16920 (llrint_upward_test_data): Likewise.
16921 (log_test_data): Likewise.
16922 (log10_test_data): Likewise.
16923 (log1p_test_data): Likewise.
16924 (log2_test_data): Likewise.
16925 (logb_test_data): Likewise.
16926 (logb_downward_test_data): Likewise.
16927 (lround_test_data): Likewise.
16928 (llround_test_data): Likewise.
16929 (modf_test_data): Likewise.
16930 (nearbyint_test_data): Likewise.
16931 (nextafter_test_data): Likewise.
16932 (nexttoward_test_data): Likewise.
16933 (pow_test_data): Likewise.
16934 (pow_tonearest_test_data): Likewise.
16935 (pow_towardzero_test_data): Likewise.
16936 (pow_downward_test_data): Likewise.
16937 (pow_upward_test_data): Likewise.
16938 (remainder_test_data): Likewise.
16939 (remainder_tonearest_test_data): Likewise.
16940 (remainder_towardzero_test_data): Likewise.
16941 (remainder_downward_test_data): Likewise.
16942 (remainder_upward_test_data): Likewise.
16943 (remquo_test_data): Likewise.
16944 (rint_test_data): Likewise.
16945 (rint_tonearest_test_data): Likewise.
16946 (rint_towardzero_test_data): Likewise.
16947 (rint_downward_test_data): Likewise.
16948 (rint_upward_test_data): Likewise.
16949 (round_test_data): Likewise.
16950 (scalb_test_data): Likewise.
16951 (scalbn_test_data): Likewise.
16952 (scalbln_test_data): Likewise.
16953 (signbit_test_data): Likewise.
16954 (sin_test_data): Likewise.
16955 (sin_tonearest_test_data): Likewise.
16956 (sin_towardzero_test_data): Likewise.
16957 (sin_downward_test_data): Likewise.
16958 (sin_upward_test_data): Likewise.
16959 (sincos_test_data): Likewise.
16960 (sinh_test_data): Likewise.
16961 (sinh_tonearest_test_data): Likewise.
16962 (sinh_towardzero_test_data): Likewise.
16963 (sinh_downward_test_data): Likewise.
16964 (sinh_upward_test_data): Likewise.
16965 (sqrt_test_data): Likewise.
16966 (tan_test_data): Likewise.
16967 (tan_tonearest_test_data): Likewise.
16968 (tan_towardzero_test_data): Likewise.
16969 (tan_downward_test_data): Likewise.
16970 (tan_upward_test_data): Likewise.
16971 (tanh_test_data): Likewise.
16972 (tgamma_test_data): Likewise.
16973 (trunc_test_data): Likewise.
16974 (y0_test_data): Likewise.
16975 (y1_test_data): Likewise.
16976 (yn_test_data): Likewise.
16977 (significand_test_data): Likewise.
16978
b679a606
JM
16979 * math/gen-libm-test.pl (@functions): Remove variable.
16980 (generate_testfile): Don't handle START and END lines.
16981 * math/libm-test.inc (START): New macro.
16982 (END): Likewise.
16983 (END_COMPLEX): Likewise.
16984 (acos_test): Use END macro without arguments.
16985 (acos_test_tonearest): Likewise.
16986 (acos_test_towardzero): Likewise.
16987 (acos_test_downward): Likewise.
16988 (acos_test_upward): Likewise.
16989 (acosh_test): Likewise.
16990 (asin_test): Likewise.
16991 (asin_test_tonearest): Likewise.
16992 (asin_test_towardzero): Likewise.
16993 (asin_test_downward): Likewise.
16994 (asin_test_upward): Likewise.
16995 (asinh_test): Likewise.
16996 (atan_test): Likewise.
16997 (atanh_test): Likewise.
16998 (atan2_test): Likewise.
16999 (cabs_test): Likewise.
17000 (cacos_test): Use END_COMPLEX macro without arguments.
17001 (cacosh_test): Likewise.
17002 (carg_test): Use END macro without arguments.
17003 (casin_test): Use END_COMPLEX macro without arguments.
17004 (casinh_test): Likewise.
17005 (catan_test): Likewise.
17006 (catanh_test): Likewise.
17007 (cbrt_test): Use END macro without arguments.
17008 (ccos_test): Use END_COMPLEX macro without arguments.
17009 (ccosh_test): Likewise.
17010 (ceil_test): Use END macro without arguments.
17011 (cexp_test): Use END_COMPLEX macro without arguments.
17012 (cimag_test): Use END macro without arguments.
17013 (clog_test): Use END_COMPLEX macro without arguments.
17014 (clog10_test): Likewise.
17015 (conj_test): Likewise.
17016 (copysign_test): Use END macro without arguments.
17017 (cos_test): Likewise.
17018 (cos_test_tonearest): Likewise.
17019 (cos_test_towardzero): Likewise.
17020 (cos_test_downward): Likewise.
17021 (cos_test_upward): Likewise.
17022 (cosh_test): Likewise.
17023 (cosh_test_tonearest): Likewise.
17024 (cosh_test_towardzero): Likewise.
17025 (cosh_test_downward): Likewise.
17026 (cosh_test_upward): Likewise.
17027 (cpow_test): Use END_COMPLEX macro without arguments.
17028 (cproj_test): Likewise.
17029 (creal_test): Use END macro without arguments.
17030 (csin_test): Use END_COMPLEX macro without arguments.
17031 (csinh_test): Likewise.
17032 (csqrt_test): Likewise.
17033 (ctan_test): Likewise.
17034 (ctan_test_tonearest): Likewise.
17035 (ctan_test_towardzero): Likewise.
17036 (ctan_test_downward): Likewise.
17037 (ctan_test_upward): Likewise.
17038 (ctanh_test): Likewise.
17039 (ctanh_test_tonearest): Likewise.
17040 (ctanh_test_towardzero): Likewise.
17041 (ctanh_test_downward): Likewise.
17042 (ctanh_test_upward): Likewise.
17043 (erf_test): Use END macro without arguments.
17044 (erfc_test): Likewise.
17045 (exp_test): Likewise.
17046 (exp_test_tonearest): Likewise.
17047 (exp_test_towardzero): Likewise.
17048 (exp_test_downward): Likewise.
17049 (exp_test_upward): Likewise.
17050 (exp10_test): Likewise.
17051 (exp2_test): Likewise.
17052 (expm1_test): Likewise.
17053 (fabs_test): Likewise.
17054 (fdim_test): Likewise.
17055 (finite_test): Likewise.
17056 (floor_test): Likewise.
17057 (fma_test): Likewise.
17058 (fma_test_towardzero): Likewise.
17059 (fma_test_downward): Likewise.
17060 (fma_test_upward): Likewise.
17061 (fmax_test): Likewise.
17062 (fmin_test): Likewise.
17063 (fmod_test): Likewise.
17064 (fpclassify_test): Likewise.
17065 (frexp_test): Likewise.
17066 (gamma_test): Likewise.
17067 (hypot_test): Likewise.
17068 (ilogb_test): Likewise.
17069 (isfinite_test): Likewise.
17070 (isgreater_test): Likewise.
17071 (isgreaterequal_test): Likewise.
17072 (isinf_test): Likewise.
17073 (isless_test): Likewise.
17074 (islessequal_test): Likewise.
17075 (islessgreater_test): Likewise.
17076 (isnan_test): Likewise.
17077 (isnormal_test): Likewise.
17078 (issignaling_test): Likewise.
17079 (isunordered_test): Likewise.
17080 (j0_test): Likewise.
17081 (j1_test): Likewise.
17082 (jn_test): Likewise.
17083 (ldexp_test): Likewise.
17084 (lgamma_test): Likewise.
17085 (lrint_test): Likewise.
17086 (lrint_test_tonearest): Likewise.
17087 (lrint_test_towardzero): Likewise.
17088 (lrint_test_downward): Likewise.
17089 (lrint_test_upward): Likewise.
17090 (llrint_test): Likewise.
17091 (llrint_test_tonearest): Likewise.
17092 (llrint_test_towardzero): Likewise.
17093 (llrint_test_downward): Likewise.
17094 (llrint_test_upward): Likewise.
17095 (log_test): Likewise.
17096 (log10_test): Likewise.
17097 (log1p_test): Likewise.
17098 (log2_test): Likewise.
17099 (logb_test): Likewise.
17100 (logb_test_downward): Likewise.
17101 (lround_test): Likewise.
17102 (llround_test): Likewise.
17103 (modf_test): Likewise.
17104 (nearbyint_test): Likewise.
17105 (nextafter_test): Likewise.
17106 (nexttoward_test): Likewise.
17107 (pow_test): Likewise.
17108 (pow_test_tonearest): Likewise.
17109 (pow_test_towardzero): Likewise.
17110 (pow_test_downward): Likewise.
17111 (pow_test_upward): Likewise.
17112 (remainder_test): Likewise.
17113 (remainder_test_tonearest): Likewise.
17114 (remainder_test_towardzero): Likewise.
17115 (remainder_test_downward): Likewise.
17116 (remainder_test_upward): Likewise.
17117 (remquo_test): Likewise.
17118 (rint_test): Likewise.
17119 (rint_test_tonearest): Likewise.
17120 (rint_test_towardzero): Likewise.
17121 (rint_test_downward): Likewise.
17122 (rint_test_upward): Likewise.
17123 (round_test): Likewise.
17124 (scalb_test): Likewise.
17125 (scalbn_test): Likewise.
17126 (scalbln_test): Likewise.
17127 (signbit_test): Likewise.
17128 (sin_test): Likewise.
17129 (sin_test_tonearest): Likewise.
17130 (sin_test_towardzero): Likewise.
17131 (sin_test_downward): Likewise.
17132 (sin_test_upward): Likewise.
17133 (sincos_test): Likewise.
17134 (sinh_test): Likewise.
17135 (sinh_test_tonearest): Likewise.
17136 (sinh_test_towardzero): Likewise.
17137 (sinh_test_downward): Likewise.
17138 (sinh_test_upward): Likewise.
17139 (sqrt_test): Likewise.
17140 (tan_test): Likewise.
17141 (tan_test_tonearest): Likewise.
17142 (tan_test_towardzero): Likewise.
17143 (tan_test_downward): Likewise.
17144 (tan_test_upward): Likewise.
17145 (tanh_test): Likewise.
17146 (tgamma_test): Likewise.
17147 (trunc_test): Likewise.
17148 (y0_test): Likewise.
17149 (y1_test): Likewise.
17150 (yn_test): Likewise.
17151 (significand_test): Likewise.
17152
bae143d2
OB
171532013-05-24 Ondřej Bílka <neleai@seznam.cz>
17154
17155 [BZ #15381]
17156 * libio/genops.c (_IO_no_init): Initialize wide struct info.
17157
9323d39b
EM
171582013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
17159
d4ea44a0 17160 [BZ #14894]
9323d39b
EM
17161 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17162 __ppc_mdoio and __ppc_mdoom.
17163 * manual/platform.texi: Document new functions __ppc_yield,
17164 __ppc_mdoio and __ppc_mdoom.
17165
13e23af7
CD
171662013-05-22 Carlos O'Donell <carlos@redhat.com>
17167
17168 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17169 (main): Mention "tls" pseudo-hwcap is legacy.
17170 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17171
351fe550
JM
171722013-05-22 Joseph Myers <joseph@codesourcery.com>
17173
17174 * math/gen-libm-test.pl (parse_args): Output only string of
17175 arguments as text for test name, not full call or descriptions of
17176 tests for extra outputs.
17177 (generate_testfile): Do not pass function name to parse_args.
17178 Generate this_func variable from START.
17179 * math/libm-test.inc (struct test_f_f_data): Rename test_name
17180 field to arg_str.
17181 (struct test_ff_f_data): Likewise.
17182 (test_ff_f_data_nexttoward): Likewise.
17183 (struct test_fi_f_data): Likewise.
17184 (struct test_fl_f_data): Likewise.
17185 (struct test_if_f_data): Likewise.
17186 (struct test_fff_f_data): Likewise.
17187 (struct test_c_f_data): Likewise.
17188 (struct test_f_f1_data): Likewise. Remove field extra_name.
17189 (struct test_fF_f1_data): Likewise.
17190 (struct test_ffI_f1_data): Likewise.
17191 (struct test_c_c_data): Rename test_name field to arg_str.
17192 (struct test_cc_c_data): Likewise.
17193 (struct test_f_i_data): Likewise.
17194 (struct test_ff_i_data): Likewise.
17195 (struct test_f_l_data): Likewise.
17196 (struct test_f_L_data): Likewise.
17197 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
17198 and extra2_name.
17199 (COMMON_TEST_SETUP): New macro.
17200 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17201 (COMMON_TEST_CLEANUP): Likewise.
17202 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17203 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
17204 macros.
17205 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17206 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
17207 macros.
17208 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17209 (RUN_TEST_fff_f): Take argument string. Call new setup and
17210 cleanup macros.
17211 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17212 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
17213 macros.
17214 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17215 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
17216 macros.
17217 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17218 (RUN_TEST_fF_f1): Take argument string. Call new setup and
17219 cleanup macros.
17220 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17221 (RUN_TEST_fI_f1): Take argument string. Call new setup and
17222 cleanup macros.
17223 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17224 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
17225 cleanup macros.
17226 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17227 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
17228 macros.
17229 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17230 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
17231 macros.
17232 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17233 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
17234 macros.
17235 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17236 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
17237 cleanup macros.
17238 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17239 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
17240 cleanup macros.
17241 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17242 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
17243 macros.
17244 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17245 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
17246 cleanup macros.
17247 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17248 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
17249 macros.
17250 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17251 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
17252 macros.
17253 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17254 (RUN_TEST_fFF_11): Take argument string. Call new setup and
17255 cleanup macros.
17256 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
17257
85118d4d
EBM
172582013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17259
17260 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
17261 to _sifields.sigfault.
17262 (si_addr_lsb): Define new macro.
17263 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17264 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
17265 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
17266
7a44c18f
CD
172672013-05-03 Carlos O'Donell <carlos at redhat.com>
17268
17269 [BZ #15441]
17270 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
17271 returns -1.
17272 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
17273 null return -1.
17274 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
17275 loading the domain.
17276
b50a7181
JM
172772013-05-22 Joseph Myers <joseph@codesourcery.com>
17278
17279 * math/gen-libm-test.pl (parse_args): Do not include expected
17280 result in test name.
17281 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
17282 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17283 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17284 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17285 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17287
051063c8
SP
172882013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17289
3ce9e010
SP
17290 * benchtests/Makefile: Sort function entries.
17291
051063c8
SP
17292 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
17293 tanh, asinh, acosh, atanh.
17294 * benchtests/acos-inputs: New file.
17295 * benchtests/acosh-inputs: New file.
17296 * benchtests/asin-inputs: New file.
17297 * benchtests/asinh-inputs: New file.
17298 * benchtests/atanh-inputs: New file.
17299 * benchtests/cosh-inputs: New file.
17300 * benchtests/log-inputs: New file.
17301 * benchtests/sinh-inputs: New file.
17302 * benchtests/tanh-inputs: New file.
17303
47c22455
DL
173042013-05-21 Dmitry V. Levin <ldv@altlinux.org>
17305
17306 [BZ #15339]
17307 * posix/tst-getaddrinfo4.c: New test.
17308 * posix/Makefile (tests): Add it.
17309
3d04f5db
SP
173102013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17311
17312 [BZ #15339]
17313 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
17314 when no services were used.
17315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
17316 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
17317
d5dd6189
AS
173182013-05-21 Andreas Schwab <schwab@suse.de>
17319
17320 [BZ #15014]
17321 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
17322 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
17323 successful.
17324 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
17325 redundant variable declarations and reallocation of buffer when
17326 parsing as IPv6 address. Always set NSS status when called from
17327 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
17328 buffer too small. Correct computation of needed size.
17329 * nss/Makefile (tests): Add test-digits-dots.
17330 * nss/test-digits-dots.c: New test.
17331
fef94eab
SP
173322013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17333
17334 * benchtests/Makefile: Remove instructions for adding
17335 benchmark tests.
17336 * benchtests/README: New file to explain how to execute and
17337 enhance the benchmark tests.
17338
e39adf43
AS
173392013-05-21 Andreas Schwab <schwab@suse.de>
17340
17341 [BZ #15493]
17342 * setjmp/Makefile (tests): Add tst-sigsetjmp.
17343 * setjmp/tst-sigsetjmp.c: New test.
17344
b2b671b6
OB
173452013-05-20 Ondřej Bílka <neleai@seznam.cz>
17346
17347 * sysdeps/x86_64/memset.S (memset): New implementation.
17348 (__bzero): Likewise.
17349 (__memset_tail): New function.
17350
2d48b41c
OB
173512013-05-20 Ondřej Bílka <neleai@seznam.cz>
17352
17353 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
17354 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
17355 __memcpy_sse2_unaligned ifunc selection.
17356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17357 Add memcpy-sse2-unaligned.S.
17358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17359 Add: __memcpy_sse2_unaligned.
17360
f16cc3eb
JM
173612013-05-19 Joseph Myers <joseph@codesourcery.com>
17362
3e694268
JM
17363 [BZ #15490]
17364 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17365 math_force_eval before restoring floating-point envrionment.
17366 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
17367 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
17368 Likewise.
17369 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
17370 <math_private.h>.
17371 (__nearbyintl): Use math_force_eval before restoring
17372 floating-point environment.
17373 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
17374
db62a907
JM
17375 * math/gen-libm-test.pl (special_functions): Remove.
17376 (parse_args): Don't handle TEST_extra. Handle functions with no
17377 return value.
17378 * math/libm-test.inc (struct test_sincos_data): Replace with
17379 struct test_fFF_11_data.
17380 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
17381 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
17382 (sincos_test_data): Change element type to struct
17383 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
17384 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
17385 RUN_TEST_LOOP_sincos.
17386 * math/README.libm-test: Don't mention special handling of
17387 individual functions.
17388 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
17389 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17390 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17391 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
17392 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17394
f16cc3eb
JM
17395 * math/gen-libm-test.pl (get_variable): Remove function.
17396 (parse_args): Don't show pointer parameters to call in test
17397 names. Use "extra output N" in test names for extra outputs
17398 rather than naming variables.
17399
3779b5b6
JM
174002013-05-18 Joseph Myers <joseph@codesourcery.com>
17401
2ee094ff
JM
17402 [BZ #15488]
17403 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17404 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17405 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17406 double tests.
17407 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17408 disable.
17409 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17410 check_long_double.
17411
3779b5b6
JM
17412 * math/gen-libm-test.pl (@tests): Remove variable.
17413 ($count): Likewise.
17414 (new_test): Remove function.
17415 (show_exceptions): New function.
17416 (special_functions): Use show_exceptions instead of new_test.
17417 (parse_args): Likewise.
17418 (generate_testfile): Pass only function name in generated call to
17419 print_max_error or print_complex_max_error.
17420 (get_ulps): Do not handle complex tests specially.
17421 (output_test): Rename to ...
17422 (get_all_ulps_for_test): ... this. Return a string rather than
17423 printing to a file. Require ulps to be present.
17424 (output_ulps): Generate arrays rather than #defines.
17425 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17426 (struct ulp_data): New type.
17427 (BUILD_COMPLEX_ULP): Remove macro.
17428 (compare_ulp_data): New function.
17429 (find_ulps): Likewise.
17430 (find_test_ulps): Likewise.
17431 (find_function_ulps): Likewise.
17432 (find_complex_function_ulps): Likewise.
17433 (print_max_error): Determine allowed ulps using
17434 find_function_ulps.
17435 (print_complex_max_error): Determine allowed ulps using
17436 find_complex_function_ulps.
17437 (check_float_internal): Determine max ulps using find_test_ulps.
17438 (check_float): Do not take max_ulp parameter. Update call to
17439 check_float_internal.
17440 (check_complex): Likewise.
17441 (check_int): Do not take max_ulp parameter.
17442 (check_long): Likewise.
17443 (check_bool): Likewise.
17444 (check_longlong): Likewise.
17445 (struct test_f_f_data): Remove max_ulp field.
17446 (struct test_ff_f_data): Likewise.
17447 (struct test_ff_f_data_nexttoward): Likewise.
17448 (struct test_fi_f_data): Likewise.
17449 (struct test_fl_f_data): Likewise.
17450 (struct test_if_f_data): Likewise.
17451 (struct test_fff_f_data): Likewise.
17452 (struct test_c_f_data): Likewise.
17453 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17454 (struct test_fF_f1_data): Likewise.
17455 (struct test_ffI_f1_data): Likewise.
17456 (struct test_c_c_data): Remove max_ulp field.
17457 (struct test_cc_c_data): Likewise.
17458 (struct test_f_i_data): Likewise.
17459 (struct test_ff_i_data): Likewise.
17460 (struct test_f_l_data): Likewise.
17461 (struct test_f_L_data): Likewise.
17462 (struct test_sincos_data): Likewise.
17463 (RUN_TEST_f_f): Do not handle ulps.
17464 (RUN_TEST_LOOP_f_f): Likewise.
17465 (RUN_TEST_2_f): Likewise.
17466 (RUN_TEST_LOOP_2_f): Likewise.
17467 (RUN_TEST_fff_f): Likewise.
17468 (RUN_TEST_LOOP_fff_f): Likewise.
17469 (RUN_TEST_c_f): Likewise.
17470 (RUN_TEST_LOOP_c_f): Likewise.
17471 (RUN_TEST_f_f1): Likewise.
17472 (RUN_TEST_LOOP_f_f1): Likewise.
17473 (RUN_TEST_fF_f1): Likewise.
17474 (RUN_TEST_LOOP_fF_f1): Likewise.
17475 (RUN_TEST_fI_f1): Likewise.
17476 (RUN_TEST_LOOP_fI_f1): Likewise.
17477 (RUN_TEST_ffI_f1): Likewise.
17478 (RUN_TEST_LOOP_ffI_f1): Likewise.
17479 (RUN_TEST_c_c): Likewise.
17480 (RUN_TEST_LOOP_c_c): Likewise.
17481 (RUN_TEST_cc_c): Likewise.
17482 (RUN_TEST_LOOP_cc_c): Likewise.
17483 (RUN_TEST_f_i): Likewise.
17484 (RUN_TEST_LOOP_f_i): Likewise.
17485 (RUN_TEST_f_i_tg): Likewise.
17486 (RUN_TEST_LOOP_f_i_tg): Likewise.
17487 (RUN_TEST_ff_i_tg): Likewise.
17488 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17489 (RUN_TEST_f_b): Likewise.
17490 (RUN_TEST_LOOP_f_b): Likewise.
17491 (RUN_TEST_f_b_tg): Likewise.
17492 (RUN_TEST_LOOP_f_b_tg): Likewise.
17493 (RUN_TEST_f_l): Likewise.
17494 (RUN_TEST_LOOP_f_l): Likewise.
17495 (RUN_TEST_f_L): Likewise.
17496 (RUN_TEST_LOOP_f_L): Likewise.
17497 (RUN_TEST_sincos): Likewise.
17498 (RUN_TEST_LOOP_sincos): Likewise.
17499
8269107f
JM
175002013-05-17 Joseph Myers <joseph@codesourcery.com>
17501
bb38759d
JM
17502 [BZ #15480]
17503 [BZ #15485]
17504 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17505 main case of finite arguments, set rounding mode to FE_TONEAREST
17506 and discard exceptions.
17507 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17508 exceptions.
17509 (remainder_tonearest_test_data): New variable.
17510 (remainder_test_tonearest): New function.
17511 (remainder_towardzero_test_data): New variable.
17512 (remainder_test_towardzero): New function.
17513 (remainder_downward_test_data): New variable.
17514 (remainder_test_downward): New function.
17515 (remainder_upward_test_data): New variable.
17516 (remainder_test_upward): New function.
17517 (main): Call the new test functions.
17518
a00bdcf0
JM
17519 * math/libm-test.inc (struct test_f_f1_data): Remove field
17520 extra_init.
17521 (struct test_fF_f1_data): Likewise.
17522 (struct test_ffI_f1_data): Likewise.
17523 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
17524 based on value of EXTRA_EXPECTED.
17525 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17526 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
17527 EXTRA_VAR based on value of EXTRA_EXPECTED.
17528 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17529 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
17530 EXTRA_VAR based on value of EXTRA_EXPECTED.
17531 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17532 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
17533 EXTRA_VAR based on value of EXTRA_EXPECTED.
17534 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17535 * math/gen-libm-test.pl (parse_args): Don't output initializers
17536 for extra output values.
17537
de407f79
JM
17538 * math/libm-test.inc (check_int): Expect result to be exactly
17539 equal to expected value and do not handle ulps.
17540 (check_long): Likewise.
17541 (check_longlong): Likewise.
17542
8269107f
JM
17543 * math/libm-test.inc (ceil_test_data): Test for "inexact"
17544 exceptions.
17545 (cimag_test_data): Likewise.
17546 (conj_test_data): Likewise.
17547 (copysign_test_data): Likewise.
17548 (cproj_test_data): Likewise.
17549 (creal_test_data): Likewise.
17550 (fabs_test_data): Likewise.
17551 (fdim_test_data): Likewise.
17552 (finite_test_data): Likewise.
17553 (floor_test_data): Likewise.
17554 (fmax_test_data): Likewise.
17555 (fmin_test_data): Likewise.
17556 (fmod_test_data): Likewise.
17557 (fpclassify_test_data): Likewise.
17558 (frexp_test_data): Likewise.
17559 (ilogb_test_data): Likewise.
17560 (isfinite_test_data): Likewise.
17561 (isgreater_test_data): Likewise.
17562 (isgreaterequal_test_data): Likewise.
17563 (isinf_test_data): Likewise.
17564 (isless_test_data): Likewise.
17565 (islessequal_test_data): Likewise.
17566 (islessgreater_test_data): Likewise.
17567 (isnan_test_data): Likewise.
17568 (isnormal_test_data): Likewise.
17569 (issignaling_test_data): Likewise.
17570 (isunordered_test_data): Likewise.
17571 (ldexp_test_data): Likewise.
17572 (lrint_test_data): Likewise.
17573 (lrint_test_data) [TEST_FLOAT]: Disable one test.
17574 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17575 (lrint_tonearest_test_data): Test for "inexact" exceptions.
17576 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17577 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17578 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17579 test input.
17580 (lrint_towardzero_test_data): Test for "inexact" exceptions.
17581 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17582 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17583 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17584 that test input.
17585 (lrint_downward_test_data): Test for "inexact" exceptions.
17586 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17587 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17588 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17589 test input.
17590 (lrint_upward_test_data): Test for "inexact" exceptions.
17591 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17592 test input.
17593 (llrint_test_data): Test for "inexact" exceptions.
17594 (llrint_test_data) [TEST_FLOAT]: Disable one test.
17595 (llrint_tonearest_test_data): Test for "inexact" exceptions.
17596 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17597 (llrint_towardzero_test_data): Test for "inexact" exceptions.
17598 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17599 (llrint_downward_test_data): Test for "inexact" exceptions.
17600 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17601 (llrint_upward_test_data): Test for "inexact" exceptions.
17602 (logb_test_data): Likewise.
17603 (logb_downward_test_data): Likewise.
17604 (nextafter_test_data): Likewise.
17605 (nexttoward_test_data): Likewise.
17606 (remainder_test_data): Likewise.
17607 (remquo_test_data): Likewise.
17608 (scalbn_test_data): Likewise.
17609 (scalbln_test_data): Likewise.
17610 (signbit_test_data): Likewise.
17611 (sqrt_test_data): Likewise.
17612 (significand_test_data): Likewise.
17613
48a18de1
SP
176142013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17615
17616 [BZ #15424]
17617 * benchtests/bench-modf.c (struct args): Mark arg0 as
17618 volatile.
17619 * scripts/bench.pl: Mark members of struct args as volatile.
17620
13d3b41a
AZ
176212013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17622
68191c1d 17623 [BZ # 15497]
13d3b41a
AZ
17624 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17625 negative infinity on POWER6 or lower.
17626 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17627
2848b105
MR
176282013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17629
17630 [BZ #15442]
17631 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17632 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17633 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17634 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17635 (_FP_SETQNAN): New macro.
17636 (_FP_SETQNAN_SEMIRAW): Likewise.
17637 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17638 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17639 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17640 (FP_EXTEND): Use _FP_FRAC_SNANP.
17641 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17642 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17643 into account.
17644 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17645 New macro.
17646 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17647 Likewise.
17648
323e5cb7
JM
176492013-05-16 Joseph Myers <joseph@codesourcery.com>
17650
c58b274f
JM
17651 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17652 with DIVIDE_BY_ZERO_EXCEPTION.
17653 (gamma_test_data): Likewise.
17654 (lgamma_test_data): Likewise.
17655 (log_test_data): Likewise.
17656 (log10_test_data): Likewise.
17657 (log2_test_data): Likewise.
17658 (tgamma_test_data): Likewise.
17659
0ab34904
JM
17660 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17661 (acos_test_tonearest): Likewise.
17662 (acos_test_towardzero): Likewise.
17663 (acos_test_downward): Likewise.
17664 (acos_test_upward): Likewise.
17665 (acosh_test): Likewise.
17666 (asin_test): Likewise.
17667 (asin_test_tonearest): Likewise.
17668 (asin_test_towardzero): Likewise.
17669 (asin_test_downward): Likewise.
17670 (asin_test_upward): Likewise.
17671 (asinh_test): Likewise.
17672 (atan_test): Likewise.
17673 (atanh_test): Likewise.
17674 (atan2_test): Likewise.
17675 (cabs_test): Likewise.
17676 (cacos_test): Likewise.
17677 (cacosh_test): Likewise.
17678 (casin_test): Likewise.
17679 (casinh_test): Likewise.
17680 (catan_test): Likewise.
17681 (catanh_test): Likewise.
17682 (cbrt_test): Likewise.
17683 (ccos_test): Likewise.
17684 (ccosh_test): Likewise.
17685 (cexp_test): Likewise.
17686 (clog_test): Likewise.
17687 (clog10_test): Likewise.
17688 (cos_test): Likewise.
17689 (cos_test_tonearest): Likewise.
17690 (cos_test_towardzero): Likewise.
17691 (cos_test_downward): Likewise.
17692 (cos_test_upward): Likewise.
17693 (cosh_test): Likewise.
17694 (cosh_test_tonearest): Likewise.
17695 (cosh_test_towardzero): Likewise.
17696 (cosh_test_downward): Likewise.
17697 (cosh_test_upward): Likewise.
17698 (cpow_test): Likewise.
17699 (csin_test): Likewise.
17700 (csinh_test): Likewise.
17701 (csqrt_test): Likewise.
17702 (ctan_test): Likewise.
17703 (ctan_test_tonearest): Likewise.
17704 (ctan_test_towardzero): Likewise.
17705 (ctan_test_downward): Likewise.
17706 (ctan_test_upward): Likewise.
17707 (ctanh_test): Likewise.
17708 (ctanh_test_tonearest): Likewise.
17709 (ctanh_test_towardzero): Likewise.
17710 (ctanh_test_downward): Likewise.
17711 (ctanh_test_upward): Likewise.
17712 (erf_test): Likewise.
17713 (erfc_test): Likewise.
17714 (exp_test): Likewise.
17715 (exp_test_tonearest): Likewise.
17716 (exp_test_towardzero): Likewise.
17717 (exp_test_downward): Likewise.
17718 (exp_test_upward): Likewise.
17719 (exp10_test): Likewise.
17720 (exp2_test): Likewise.
17721 (expm1_test): Likewise.
17722 (fmod_test): Likewise.
17723 (gamma_test): Likewise.
17724 (hypot_test): Likewise.
17725 (j0_test): Likewise.
17726 (j1_test): Likewise.
17727 (jn_test): Likewise.
17728 (lgamma_test): Likewise.
17729 (log_test): Likewise.
17730 (log10_test): Likewise.
17731 (log1p_test): Likewise.
17732 (log2_test): Likewise.
17733 (logb_test_downward): Likewise.
17734 (pow_test): Likewise.
17735 (pow_test_tonearest): Likewise.
17736 (pow_test_towardzero): Likewise.
17737 (pow_test_downward): Likewise.
17738 (pow_test_upward): Likewise.
17739 (remainder_test): Likewise.
17740 (remquo_test): Likewise.
17741 (sin_test): Likewise.
17742 (sin_test_tonearest): Likewise.
17743 (sin_test_towardzero): Likewise.
17744 (sin_test_downward): Likewise.
17745 (sin_test_upward): Likewise.
17746 (sincos_test): Likewise.
17747 (sinh_test): Likewise.
17748 (sinh_test_tonearest): Likewise.
17749 (sinh_test_towardzero): Likewise.
17750 (sinh_test_downward): Likewise.
17751 (sinh_test_upward): Likewise.
17752 (sqrt_test): Likewise.
17753 (tan_test): Likewise.
17754 (tan_test_tonearest): Likewise.
17755 (tan_test_towardzero): Likewise.
17756 (tan_test_downward): Likewise.
17757 (tan_test_upward): Likewise.
17758 (tanh_test): Likewise.
17759 (tgamma_test): Likewise.
17760 (y0_test): Likewise.
17761 (y1_test): Likewise.
17762 (yn_test): Likewise.
17763
323e5cb7
JM
17764 * math/gen-libm-test.pl (adjust_arg): Remove function.
17765 (special_function): Remove argument $in_func. Only handle
17766 generating output for tables of tests, not inside functions.
17767 (parse_args): Likewise.
17768 (generate_testfile): Remove variable $in_func. Update call to
17769 parse_args.
17770 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17771 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17772 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17773 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17774 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17775 (MAX_VALUE_INIT): Rename macro to max_value.
17776 (MIN_VALUE_INIT): Rename macro to min_value.
17777 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17778 (plus_zero): Remove variable.
17779 (minus_zero): Likewise.
17780 (plus_infty): Likewise.
17781 (minus_infty): Likewise.
17782 (qnan_value): Likewise.
17783 (max_value): Likewise.
17784 (min_value): Likewise.
17785 (min_subnorm_value): Likewise.
17786
e054f494
RA
177872013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17788
17789 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17790 uint64_t or uint32_t usage.
17791 * crypt/sha256-block.c: Likewise.
17792 * crypt/sha256-crypt.c: Likewise.
17793 * crypt/sha256.c: Likewise.
17794 * crypt/sha512-block.c: Likewise.
17795 * crypt/sha512-crypt.c: Likewise.
17796 * crypt/sha512.c: Likewise.
17797 * debug/backtrace-tst.c: Likewise.
17798 * debug/pcprofiledump.c: Likewise.
17799 * elf/cache.c: Likewise.
17800 * elf/dl-cache.c: Likewise.
17801 * elf/dl-misc.c: Likewise.
17802 * elf/dl-profile.c: Likewise.
17803 * elf/dl-support.c: Likewise.
17804 * elf/ldconfig.c: Likewise.
17805 * elf/sprof.c: Likewise.
17806 * iconv/dummy-repertoire.c: Likewise.
17807 * iconv/iconv_charmap.c: Likewise.
17808 * iconv/skeleton.c: Likewise.
17809 * iconvdata/8bit-generic.c: Likewise.
17810 * iconvdata/cp737.h: Likewise.
17811 * iconvdata/cp775.h: Likewise.
17812 * iconvdata/ibm1008.h: Likewise.
17813 * iconvdata/ibm1025.h: Likewise.
17814 * iconvdata/ibm1046.h: Likewise.
17815 * iconvdata/ibm1097.h: Likewise.
17816 * iconvdata/ibm1112.h: Likewise.
17817 * iconvdata/ibm1122.h: Likewise.
17818 * iconvdata/ibm1123.h: Likewise.
17819 * iconvdata/ibm1124.h: Likewise.
17820 * iconvdata/ibm1129.h: Likewise.
17821 * iconvdata/ibm1130.h: Likewise.
17822 * iconvdata/ibm1132.h: Likewise.
17823 * iconvdata/ibm1133.h: Likewise.
17824 * iconvdata/ibm1137.h: Likewise.
17825 * iconvdata/ibm1140.h: Likewise.
17826 * iconvdata/ibm1141.h: Likewise.
17827 * iconvdata/ibm1142.h: Likewise.
17828 * iconvdata/ibm1143.h: Likewise.
17829 * iconvdata/ibm1144.h: Likewise.
17830 * iconvdata/ibm1145.h: Likewise.
17831 * iconvdata/ibm1146.h: Likewise.
17832 * iconvdata/ibm1147.h: Likewise.
17833 * iconvdata/ibm1148.h: Likewise.
17834 * iconvdata/ibm1149.h: Likewise.
17835 * iconvdata/ibm1153.h: Likewise.
17836 * iconvdata/ibm1154.h: Likewise.
17837 * iconvdata/ibm1155.h: Likewise.
17838 * iconvdata/ibm1156.h: Likewise.
17839 * iconvdata/ibm1157.h: Likewise.
17840 * iconvdata/ibm1158.h: Likewise.
17841 * iconvdata/ibm1160.h: Likewise.
17842 * iconvdata/ibm1161.h: Likewise.
17843 * iconvdata/ibm1162.h: Likewise.
17844 * iconvdata/ibm1163.h: Likewise.
17845 * iconvdata/ibm1164.h: Likewise.
17846 * iconvdata/ibm1166.h: Likewise.
17847 * iconvdata/ibm1167.h: Likewise.
17848 * iconvdata/ibm12712.h: Likewise.
17849 * iconvdata/ibm1390.h: Likewise.
17850 * iconvdata/ibm1399.h: Likewise.
17851 * iconvdata/ibm16804.h: Likewise.
17852 * iconvdata/ibm4517.h: Likewise.
17853 * iconvdata/ibm4899.h: Likewise.
17854 * iconvdata/ibm4909.h: Likewise.
17855 * iconvdata/ibm4971.h: Likewise.
17856 * iconvdata/ibm5347.h: Likewise.
17857 * iconvdata/ibm803.h: Likewise.
17858 * iconvdata/ibm856.h: Likewise.
17859 * iconvdata/ibm901.h: Likewise.
17860 * iconvdata/ibm902.h: Likewise.
17861 * iconvdata/ibm9030.h: Likewise.
17862 * iconvdata/ibm9066.h: Likewise.
17863 * iconvdata/ibm921.h: Likewise.
17864 * iconvdata/ibm922.h: Likewise.
17865 * iconvdata/ibm9448.h: Likewise.
17866 * iconvdata/isiri-3342.h: Likewise.
17867 * iconvdata/jis0201.h: Likewise.
17868 * include/link.h: Likewise.
17869 * include/netdb.h: Likewise.
17870 * inet/check_native.c: Likewise.
17871 * inet/check_pf.c: Likewise.
17872 * inet/getipv4sourcefilter.c: Likewise.
17873 * inet/getnameinfo.c: Likewise.
17874 * inet/getsourcefilter.c: Likewise.
17875 * inet/htonl.c: Likewise.
17876 * inet/setipv4sourcefilter.c: Likewise.
17877 * inet/setsourcefilter.c: Likewise.
17878 * inet/test-inet6_opt.c: Likewise.
17879 * inet/tst-network.c: Likewise.
17880 * locale/C-collate.c: Likewise.
17881 * locale/C-ctype.c: Likewise.
17882 * locale/C-time.c: Likewise.
17883 * locale/C-translit.h: Likewise.
17884 * locale/loadarchive.c: Likewise.
17885 * locale/programs/3level.h: Likewise.
17886 * locale/programs/charmap.c: Likewise.
17887 * locale/programs/charmap.h: Likewise.
17888 * locale/programs/ld-address.c: Likewise.
17889 * locale/programs/ld-collate.c: Likewise.
17890 * locale/programs/ld-ctype.c: Likewise.
17891 * locale/programs/ld-identification.c: Likewise.
17892 * locale/programs/ld-measurement.c: Likewise.
17893 * locale/programs/ld-messages.c: Likewise.
17894 * locale/programs/ld-monetary.c: Likewise.
17895 * locale/programs/ld-name.c: Likewise.
17896 * locale/programs/ld-numeric.c: Likewise.
17897 * locale/programs/ld-paper.c: Likewise.
17898 * locale/programs/ld-telephone.c: Likewise.
17899 * locale/programs/ld-time.c: Likewise.
17900 * locale/programs/linereader.c: Likewise.
17901 * locale/programs/locale.c: Likewise.
17902 * locale/programs/locarchive.c: Likewise.
17903 * locale/programs/locfile.h: Likewise.
17904 * locale/programs/repertoire.c: Likewise.
17905 * locale/programs/simple-hash.c: Likewise.
17906 * locale/programs/simple-hash.h: Likewise.
17907 * malloc/memusage.c: Likewise.
17908 * malloc/memusagestat.c: Likewise.
17909 * nis/nis_defaults.c: Likewise.
17910 * nis/nis_hash.c: Likewise.
17911 * nis/nis_print.c: Likewise.
17912 * nis/nis_xdr.c: Likewise.
17913 * nscd/connections.c: Likewise.
17914 * nscd/hstcache.c: Likewise.
17915 * nscd/nscd_gethst_r.c: Likewise.
17916 * nscd/nscd_getserv_r.c: Likewise.
17917 * nscd/nscd_helper.c: Likewise.
17918 * nscd/servicescache.c: Likewise.
17919 * nss/makedb.c: Likewise.
17920 * nss/nss_db/db-XXX.c: Likewise.
17921 * nss/nss_db/db-initgroups.c: Likewise.
17922 * nss/nss_db/db-netgrp.c: Likewise.
17923 * nss/nss_files/files-network.c: Likewise.
17924 * nss/nss_files/files-parse.c: Likewise.
17925 * posix/bug-regex5.c: Likewise.
17926 * posix/fnmatch_loop.c: Likewise.
17927 * posix/regcomp.c: Likewise.
17928 * posix/regexec.c: Likewise.
17929 * posix/tst-rfc3484-2.c: Likewise.
17930 * posix/tst-rfc3484-3.c: Likewise.
17931 * posix/tst-rfc3484.c: Likewise.
17932 * resolv/nss_dns/dns-canon.c: Likewise.
17933 * resolv/nss_dns/dns-network.c: Likewise.
17934 * resolv/res_init.c: Likewise.
17935 * resolv/res_mkquery.c: Likewise.
17936 * resolv/tst-aton.c: Likewise.
17937 * stdlib/cxa_atexit.c: Likewise.
17938 * stdlib/cxa_finalize.c: Likewise.
17939 * stdlib/gen-fpioconst.c: Likewise.
17940 * stdlib/strtol_l.c: Likewise.
17941 * string/tst-endian.c: Likewise.
17942 * sunrpc/auth_des.c: Likewise.
17943 * sunrpc/clnt_udp.c: Likewise.
17944 * sunrpc/rtime.c: Likewise.
17945 * sunrpc/svcauth_des.c: Likewise.
17946 * sunrpc/xdr.c: Likewise.
17947 * sunrpc/xdr_intXX_t.c: Likewise.
17948 * sunrpc/xdr_rec.c: Likewise.
17949 * sysdeps/generic/ldconfig.h: Likewise.
17950 * sysdeps/generic/ldsodefs.h: Likewise.
17951 * sysdeps/generic/memusage.h: Likewise.
17952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17954 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17955 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17956 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17961 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17962 * sysdeps/posix/getaddrinfo.c: Likewise.
17963 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17964 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17965 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17966 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17967 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17968 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17969 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17970 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17971 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17972 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17973 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17974 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17975 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17976 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17977 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17978 * sysdeps/x86_64/dl-tls.h: Likewise.
17979 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17980 * time/alt_digit.c: Likewise.
17981 * time/era.c: Likewise.
17982 * wcsmbs/tst-c16c32-1.c: Likewise.
17983
8c75f674
JM
179842013-05-16 Joseph Myers <joseph@codesourcery.com>
17985
17986 * math/libm-test.inc (struct test_sincos_data): New type.
17987 (RUN_TEST_LOOP_sincos): New macro.
17988 (sincos_test_data): New variable.
17989 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17990
e6e49e59
RH
179912013-05-16 Richard Henderson <rth@redhat.com>
17992
17993 * math/atest-exp2.c (LIMB64): New macro.
17994 (CONSTSZ): New macro.
17995 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17996 (hexdig): Move ...
17997 (print_mpn_fp): ... to function scope.
17998 (read_mpn_hex): Remove.
17999 (get_log2): Remove.
18000 (exp2_mpn): Use mp_log2.
18001 (main): Use mp_exp1.
18002
15c7c18d
JM
180032013-05-16 Joseph Myers <joseph@codesourcery.com>
18004
105a07df
JM
18005 * math/libm-test.inc: Remove comment about not testing "inexact"
18006 exceptions.
18007 (INEXACT_EXCEPTION): New macro.
18008 (NO_INEXACT_EXCEPTION): Likewise.
18009 (INVALID_EXCEPTION_OK): Update value.
18010 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18011 (OVERFLOW_EXCEPTION_OK): Likewise.
18012 (UNDERFLOW_EXCEPTION_OK): Likewise.
18013 (IGNORE_ZERO_INF_SIGN): Likewise.
18014 (ERRNO_UNCHANGED): Likewise.
18015 (ERRNO_EDOM): Likewise.
18016 (ERRNO_ERANGE): Likewise.
18017 (test_exceptions): Handle testing "inexact" exceptions.
18018 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18019 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18020 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18021 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18022 INEXACT_EXCEPTION.
18023 (rint_towardzero_test_data): Likewise.
18024 (rint_downward_test_data): Likewise.
18025 (rint_upward_test_data): Likewise.
18026
e9eee333
JM
18027 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18028 with OVERFLOW_EXCEPTION.
18029 (exp10_test_data): Likewise.
18030 (exp2_test_data): Likewise.
18031 (expm1_test_data): Likewise.
18032 (lgamma_test_data): Likewise.
18033 (pow_test_data): Likewise.
18034 (tgamma_test_data): Likewise.
18035 (yn_test_data): Remove duplicate test of overflow.
18036
1c38ff73
JM
18037 * math/libm-test.inc (struct test_cc_c_data): New type.
18038 (RUN_TEST_LOOP_cc_c): New macro.
18039 (cpow_test_data): New variable.
18040 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18041
15c7c18d
JM
18042 * math/libm-test.inc (struct test_f_L_data): New type.
18043 (RUN_TEST_LOOP_f_L): New macro.
18044 (llrint_test_data): New variable.
18045 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18046 (llrint_tonearest_test_data): New variable.
18047 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18048 (llrint_towardzero_test_data): New variable.
18049 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18050 (llrint_downward_test_data): New variable.
18051 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18052 (llrint_upward_test_data): New variable.
18053 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18054 (llround_test_data): New variable.
18055 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18056
f137ff13
PC
180572013-05-13 Peter Collingbourne <pcc@google.com>
18058
18059 * math/atest-exp2.c (get_log2): Remove const attribute.
18060
3608cb24
JM
180612013-05-15 Joseph Myers <joseph@codesourcery.com>
18062
18063 * math/libm-test.inc (struct test_f_l_data): New type.
18064 (RUN_TEST_LOOP_f_l): New macro.
18065 (lrint_test_data): New variable.
18066 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18067 (lrint_tonearest_test_data): New variable.
18068 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18069 (lrint_towardzero_test_data): New variable.
18070 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18071 (lrint_downward_test_data): New variable.
18072 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18073 (lrint_upward_test_data): New variable.
18074 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18075 (lround_test_data): New variable.
18076 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18077
39b1f617
PC
180782013-05-15 Peter Collingbourne <pcc@google.com>
18079
1deff3dc
PC
18080 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18081 (EXTRACT_WORDS64) Use where appropriate.
18082 (INSERT_WORDS64) Likewise.
18083
791f3ba0
PC
18084 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18085 constraints with x constraints.
18086 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18087
39b1f617
PC
18088 * malloc/obstack.c (_obstack_compat): Add initializer.
18089
12fba011
EM
180902013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
18091
18092 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18093 si_trapno and add si_addr_lsb to _sifields.sigfault.
18094 (si_trapno): Remove macro.
18095 (si_addr_lsb): Define new macro.
18096 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18097
d369f531
JM
180982013-05-15 Joseph Myers <joseph@codesourcery.com>
18099
b861c6c4
JM
18100 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18101 instead of TEST_f_l.
18102 (llrint_test_tonearest): Likewise.
18103 (llrint_test_towardzero): Likewise.
18104 (llrint_test_downward): Likewise.
18105 (llrint_test_upward): Likewise.
18106 (llround_test): Likewise.
18107
7abeee12
JM
18108 * math/libm-test.inc (struct test_f_i_data): Add comment.
18109 (RUN_TEST_LOOP_f_b): New macro.
18110 (RUN_TEST_LOOP_f_b_tg): Likewise.
18111 (finite_test_data): New variable.
18112 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18113 (isfinite_test_data): New variable.
18114 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18115 (isinf_test_data): New variable.
18116 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18117 (isnan_test_data): New variable.
18118 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18119 (isnormal_test_data): New variable.
18120 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18121 (issignaling_test_data): New variable.
18122 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18123 (signbit_test_data): New variable.
18124 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18125
cbe8c4d3
JM
18126 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18127 with INVALID_EXCEPTION.
18128 (acosh_test_data): Likewise.
18129 (asin_test_data): Likewise.
18130 (atanh_test_data): Likewise.
18131 (fmod_test_data): Likewise.
18132 (log_test_data): Likewise.
18133 (log10_test_data): Likewise.
18134 (log2_test_data): Likewise.
18135 (pow_test_data): Likewise.
18136 (sqrt_test_data): Likewise.
18137 (y0_test_data): Likewise.
18138 (y1_test_data): Likewise.
18139 (yn_test_data): Likewise.
18140
5575c0e5
JM
18141 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18142 function contents.
18143
d369f531
JM
18144 * math/libm-test.inc (struct test_ff_i_data): New type.
18145 (RUN_TEST_LOOP_ff_i_tg): New macro.
18146 (isgreater_test_data): New variable.
18147 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18148 (isgreaterequal_test_data): New variable.
18149 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18150 (isless_test_data): New variable.
18151 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18152 (islessequal_test_data): New variable.
18153 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18154 (islessgreater_test_data): New variable.
18155 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18156 (isunordered_test_data): New variable.
18157 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18158
781fd748
DM
181592013-05-14 David S. Miller <davem@davemloft.net>
18160
18161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18162
87aa21df
JM
181632013-05-14 Joseph Myers <joseph@codesourcery.com>
18164
5e908270
JM
18165 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18166
f71172e5
JM
18167 * math/libm-test.inc (struct test_fF_f1_data): Change type of
18168 extra_test to int.
18169 (struct test_f_i_data): Change type of max_ulp to int.
18170
8cfa635a
JM
18171 * math/libm-test.inc (test_ffI_f1_data): New type.
18172 (RUN_TEST_LOOP_ffI_f1): New macro.
18173 (remquo_test_data): New variable.
18174 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18175
2bcb36b2
JM
18176 * setjmp/tst-setjmp-fp.c: New file.
18177 * setjmp/Makefile (tests): Add tst-setjmp-fp.
18178 (link-libm): New variable.
18179 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18180
acbd839a
JM
18181 * math/libm-test.inc (struct test_f_i_data): New type.
18182 (RUN_TEST_LOOP_f_i): New macro.
18183 (RUN_TEST_LOOP_f_i_tg): Likewise.
18184 (fpclassify_test_data): New variable.
18185 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18186 (ilogb_test_data): New variable.
18187 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18188
e414d745
JM
18189 * math/libm-test.inc (scalbln_test): Correct function name in END
18190 call.
18191
d9c2a0fd
JM
18192 * math/libm-test.inc (struct test_f_f1_data): Add comment.
18193 (RUN_TEST_LOOP_fI_f1): New macro.
18194 (frexp_test_data): New variable.
18195 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18196
9dc9095d
JM
18197 * math/libm-test.inc (struct test_fF_f1_data): New type.
18198 (RUN_TEST_LOOP_fF_f1): New macro.
18199 (modf_test_data): New variable.
18200 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18201
87aa21df
JM
18202 * math/libm-test.inc (struct test_f_f1_data): New type.
18203 (RUN_TEST_LOOP_f_f1): New macro.
18204 (gamma_test_data): New variable.
18205 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18206 (lgamma_test_data): New variable.
18207 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18208
141af660
CD
182092013-05-13 Carlos O'Donell <carlos@redhat.com>
18210
18211 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18212 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18213 (main): Comment "tls" pseudo-hwcap.
18214
6d33265c
JM
182152013-05-13 Joseph Myers <joseph@codesourcery.com>
18216
68fc074c
JM
18217 * math/libm-test.inc (struct test_fl_f_data): New type.
18218 (RUN_TEST_LOOP_fl_f): New variable.
18219 (scalbln_test_data): New variable.
18220 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18221
243216e1
JM
18222 * math/libm-test.inc (struct test_fi_f_data): New type.
18223 (RUN_TEST_LOOP_fi_f): New macro.
18224 (ldexp_test_data): New variable.
18225 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18226 (scalbn_test_data): New variable.
18227 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18228
6a1992e2
JM
18229 * math/libm-test.inc (struct test_c_f_data): New type.
18230 (RUN_TEST_LOOP_c_f): New macro.
18231 (cabs_test_data): New variable.
18232 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18233 (carg_test_data): New variable.
18234 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18235 (cimag_test_data): New variable.
18236 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18237 (creal_test_data): New variable.
18238 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18239
0e400df5
JM
18240 * math/libm-test.inc (struct test_if_f_data): New type.
18241 (RUN_TEST_LOOP_if_f): New macro.
18242 (jn_test_data): New variable.
18243 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18244 (yn_test_data): New variable.
18245 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18246
6d33265c
JM
18247 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18248
f98ece5f
AZ
182492013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18250
18251 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18252 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18253
0f7d347b
SP
182542013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18255
43fe811b
SP
18256 * benchtests/Makefile (CPPFLAGS-nonlib): Add
18257 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
18258 (bench-deps): Add bench-timing.h.
18259 * benchtests-bench-skeleton.c: Include bench-timing.h.
18260 (main): Use TIMING_* macros instead of clock_gettime.
18261 * benchtests/bench-timing.h: New file.
18262
0f7d347b
SP
18263 [BZ #14582]
18264 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
18265 Renamed from _LIB_VERSION.
18266 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
18267
601a3a5f
JM
182682013-05-12 Joseph Myers <joseph@codesourcery.com>
18269
4f184d30
JM
18270 * math/libm-test.inc (struct test_fff_f_data): New type.
18271 (RUN_TEST_LOOP_fff_f): New macro.
18272 (fma_test_data): New variable.
18273 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
18274 (fma_towardzero_test_data): New variable.
18275 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
18276 (fma_downward_test_data): New variable.
18277 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18278 (fma_upward_test_data): New variable.
18279 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
18280
08198877
JM
18281 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
18282 (struct test_c_c_data): New type.
18283 (RUN_TEST_LOOP_c_c): New macro.
18284 (cacos_test_data): New variable.
18285 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
18286 (cacosh_test_data): New variable.
18287 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
18288 (casin_test_data): New variable.
18289 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
18290 (casinh_test_data): New variable.
18291 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
18292 (catan_test_data): New variable.
18293 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
18294 (catanh_test_data): New variable.
18295 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
18296 (ccos_test_data): New variable.
18297 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
18298 (ccosh_test_data): New variable.
18299 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
18300 (cexp_test_data): New variable.
18301 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
18302 (clog_test_data): New variable.
18303 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
18304 (clog10_test_data): New variable.
18305 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
18306 (conj_test_data): New variable.
18307 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
18308 (cproj_test_data): New variable.
18309 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
18310 (csin_test_data): New variable.
18311 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
18312 (csinh_test_data): New variable.
18313 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
18314 (csqrt_test_data): New variable.
18315 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
18316 (ctan_test_data): New variable.
18317 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
18318 (ctan_tonearest_test_data): New variable.
18319 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18320 (ctan_towardzero_test_data): New variable.
18321 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18322 (ctan_downward_test_data): New variable.
18323 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18324 (ctan_upward_test_data): New variable.
18325 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18326 (ctanh_test_data): New variable.
18327 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
18328 (ctanh_tonearest_test_data): New variable.
18329 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
18330 (ctanh_towardzero_test_data): New variable.
18331 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
18332 (ctanh_downward_test_data): New variable.
18333 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
18334 (ctanh_upward_test_data): New variable.
18335 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
18336 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
18337 of BUILD_COMPLEX.
18338
601a3a5f
JM
18339 * math/libm-test.inc (struct test_ff_f_data): New type.
18340 (struct test_ff_f_data_nexttoward): Likewise.
18341 (RUN_TEST_LOOP_2_f): New macro.
18342 (RUN_TEST_LOOP_ff_f): Likewise.
18343 (atan2_test_data): New variable.
18344 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
18345 (copysign_test_data): New variable.
18346 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
18347 (fdim_test_data): New variable.
18348 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
18349 (fmax_test_data): New variable.
18350 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
18351 (fmin_test_data): New variable.
18352 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
18353 (fmod_test_data): New variable.
18354 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
18355 (hypot_test_data): New variable.
18356 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
18357 (nextafter_test_data): New variable.
18358 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
18359 (nexttoward_test_data): New variable.
18360 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
18361 (pow_test_data): New variable.
18362 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
18363 (pow_tonearest_test_data): New variable.
18364 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
18365 (pow_towardzero_test_data): New variable.
18366 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
18367 (pow_downward_test_data): New variable.
18368 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
18369 (pow_upward_test_data): New variable.
18370 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
18371 (remainder_test_data): New variable.
18372 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
18373 (scalb_test_data): New variable.
18374 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
18375 * sysdeps/i386/fpu/libm-test-ulps: Update.
18376
74c57478
JM
183772013-05-11 Joseph Myers <joseph@codesourcery.com>
18378
8329e4da
JM
18379 * math/libm-test.inc (fma_test): Use max_value instead of local
18380 variable fltmax.
18381 (nextafter_test): Likewise.
18382
74c57478
JM
18383 * math/libm-test.inc (acos_towardzero_test_data): New variable.
18384 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18385 (acos_downward_test_data): New variable.
18386 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18387 (acos_upward_test_data): New variable.
18388 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18389 (acosh_test_data): New variable.
18390 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
18391 (asin_test_data): New variable.
18392 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
18393 (asin_tonearest_test_data): New variable.
18394 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18395 (asin_towardzero_test_data): New variable.
18396 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18397 (asin_downward_test_data): New variable.
18398 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18399 (asin_upward_test_data): New variable.
18400 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18401 (asinh_test_data): New variable.
18402 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18403 (atan_test_data): New variable.
18404 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18405 (atanh_test_data): New variable.
18406 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18407 (cbrt_test_data): New variable.
18408 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18409 (ceil_test_data): New variable.
18410 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18411 (cos_test_data): New variable.
18412 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18413 (cos_tonearest_test_data): New variable.
18414 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18415 (cos_towardzero_test_data): New variable.
18416 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18417 (cos_downward_test_data): New variable.
18418 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18419 (cos_upward_test_data): New variable.
18420 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18421 (cosh_test_data): New variable.
18422 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18423 (cosh_tonearest_test_data): New variable.
18424 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18425 (cosh_towardzero_test_data): New variable.
18426 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18427 (cosh_downward_test_data): New variable.
18428 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18429 (cosh_upward_test_data): New variable.
18430 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18431 (erf_test_data): New variable.
18432 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18433 (erfc_test_data): New variable.
18434 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18435 (exp_test_data): New variable.
18436 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18437 (exp_tonearest_test_data): New variable.
18438 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18439 (exp_towardzero_test_data): New variable.
18440 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18441 (exp_downward_test_data): New variable.
18442 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18443 (exp_upward_test_data): New variable.
18444 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18445 (exp10_test_data): New variable.
18446 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18447 (exp2_test_data): New variable.
18448 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18449 (expm1_test_data): New variable.
18450 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18451 (fabs_test_data): New variable.
18452 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18453 (floor_test_data): New variable.
18454 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18455 (j0_test_data): New variable.
18456 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18457 (j1_test_data): New variable.
18458 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18459 (log_test_data): New variable.
18460 (log_test): Run tests with RUN_TEST_LOOP_f_f.
18461 (log10_test_data): New variable.
18462 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18463 (log1p_test_data): New variable.
18464 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18465 (log2_test_data): New variable.
18466 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18467 (logb_test_data): New variable.
18468 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18469 (logb_downward_test_data): New variable.
18470 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18471 (nearbyint_test_data): New variable.
18472 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18473 (rint_test_data): New variable.
18474 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18475 (rint_tonearest_test_data): New variable.
18476 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18477 (rint_towardzero_test_data): New variable.
18478 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18479 (rint_downward_test_data): New variable.
18480 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18481 (rint_upward_test_data): New variable.
18482 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18483 (round_test_data): New variable.
18484 (round_test): Run tests with RUN_TEST_LOOP_f_f.
18485 (sin_test_data): New variable.
18486 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18487 (sin_tonearest_test_data): New variable.
18488 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18489 (sin_towardzero_test_data): New variable.
18490 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18491 (sin_downward_test_data): New variable.
18492 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18493 (sin_upward_test_data): New variable.
18494 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18495 (sinh_test_data): New variable.
18496 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18497 (sinh_tonearest_test_data): New variable.
18498 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18499 (sinh_towardzero_test_data): New variable.
18500 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18501 (sinh_downward_test_data): New variable.
18502 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18503 (sinh_upward_test_data): New variable.
18504 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18505 (sqrt_test_data): New variable.
18506 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18507 (tan_test_data): New variable.
18508 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18509 (tan_tonearest_test_data): New variable.
18510 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18511 (tan_towardzero_test_data): New variable.
18512 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18513 (tan_downward_test_data): New variable.
18514 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18515 (tan_upward_test_data): New variable.
18516 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18517 (tanh_test_data): New variable.
18518 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18519 (tgamma_test_data): New variable.
18520 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18521 (trunc_test_data): New variable.
18522 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18523 (y0_test_data): New variable.
18524 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18525 (y1_test_data): New variable.
18526 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18527 (significand_test_data): New variable.
18528 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18529
7187d844
CG
185302013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
18531
18532 [BZ #12387]
18533 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18534
f63fae73
PT
185352013-05-10 Pino Toscano <toscano.pino@tiscali.it>
18536
18537 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18538
8a67a4b3
AJ
185392013-05-10 Andreas Jaeger <aj@suse.de>
18540
18541 [BZ #15448]
18542 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18543 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18544
51df539d
JM
185452013-05-10 Joseph Myers <joseph@codesourcery.com>
18546
18547 * math/gen-libm-test.pl (adjust_arg): New function.
18548 (special_functions): Handle generating output in both functions
18549 and arrays.
18550 (parse_args): Likewise.
18551 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
18552 $in_func argument to parse_args.
18553 * math/libm-test.inc (struct test_f_f_data): New type.
18554 (IF_ROUND_INIT_): New macro.
18555 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18556 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18557 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18558 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18559 (ROUND_RESTORE_): Likewise.
18560 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18561 (ROUND_RESTORE_FE_TONEAREST): Likewise.
18562 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18563 (ROUND_RESTORE_FE_UPWARD): Likewise.
18564 (RUN_TEST_LOOP_f_f): New macro.
18565 (acos_test_data): New variable.
18566 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18567 (acos_tonearest_test_data): New variable.
18568 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18569
5c637fe5
SP
185702013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18571
18572 * benchtests/bench-skeleton.c (startup): Fix coding style.
18573
ab2b9461
JM
185742013-05-10 Joseph Myers <joseph@codesourcery.com>
18575
18576 [BZ #6809]
18577 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18578 negative infinity argument.
18579 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18580 negative infinity argument.
18581 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18582 negative infinity argument.
18583 * math/libm-test.inc (tgamma_test): Expect errno to be set for
18584 domain errors.
18585
4c0fe6fe
FW
185862013-05-10 Florian Weimer <fweimer@redhat.com>
18587
18588 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18589 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18590 * iconv/iconv_prog.c (main): Likewise.
18591 * locale/programs/charmap-dir.c (charmap_readdir)
18592 (fopen_uncompressed): Likewise.
18593 * locale/programs/locfile.c (siblings_uncached)
18594 (write_locale_data): Use lstat64 instead of lstat.
18595 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18596 stat.
18597
a3375d29
AJ
185982013-05-10 Andreas Jaeger <aj@suse.de>
18599
18600 [BZ #15395]
18601 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18602 localization.
18603 Include <locale.h>.
18604
36129722
CD
186052013-05-09 Carlos O'Donell <carlos@redhat.com>
18606
18607 * elf/dl-close.c (_dl_close_worker): Add comments.
18608
faa7f811
JM
186092013-05-09 Joseph Myers <joseph@codesourcery.com>
18610
ed41ffef
JM
18611 [BZ #15359]
18612 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18613 high part of pi/2.
18614 (__ieee754_rem_pio2l): Update comments.
18615
d0213cd0
JM
18616 [BZ #15429]
18617 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18618 high part of pi/2.
18619 (__ieee754_rem_pio2l): Update comments.
18620
0d3e777a
JM
18621 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18622 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18623
24f56066
JM
18624 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18625 M_PI_4l.
18626
faa7f811
JM
18627 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18628 (M_PI_34_LOG10El): Likewise.
18629 (M_PI2_LOG10El): Likewise.
18630 (M_PI4_LOG10El): Likewise.
18631 (M_PI_LOG10El): Likewise.
18632
e9a5e0fd
AZ
186332013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18634
18635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18636
d8cd06db
JM
186372013-05-08 Joseph Myers <joseph@codesourcery.com>
18638
a0d9f9d7
JM
18639 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18640 (MINUS_ZERO_INIT): Likewise.
18641 (PLUS_INFTY_INIT): Likewise.
18642 (MINUS_INFTY_INIT): Likewise.
18643 (QNAN_VALUE_INIT): Likewise.
18644 (MAX_VALUE_INIT): Likewise.
18645 (MIN_VALUE_INIT): Likewise.
18646 (MIN_SUBNORM_VALUE_INIT): Likewise.
18647 (plus_zero): Initialize with PLUS_ZERO_INIT.
18648 (minus_zero): Initialize with MINUS_ZERO_INIT.
18649 (plus_infty): Initialize with PLUS_INFTY_INIT.
18650 (minus_infty): Initialize with MINUS_INFTY_INIT.
18651 (qnan_value): Initialize with QNAN_VALUE_INIT.
18652 (max_value): Initialize with MAX_VALUE_INIT.
18653 (min_value): Initialize with MIN_VALUE_INIT.
18654 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18655
ae08db3b
JM
18656 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18657 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18658 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18659 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18660
f44bf14a
JM
18661 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18662 (RUN_TEST_2_f): Likewise.
18663 (RUN_TEST_ff_f): Likewise.
18664 (RUN_TEST_fi_f): Likewise.
18665 (RUN_TEST_fl_f): Likewise.
18666 (RUN_TEST_fff_f): Likewise.
18667 (RUN_TEST_c_f): Likewise.
18668 (RUN_TEST_f_f1): Likewise.
18669 (RUN_TEST_fF_f1): Likewise.
18670 (RUN_TEST_fI_f1): Likewise.
18671 (RUN_TEST_ffI_f1): Likewise.
18672 (RUN_TEST_c_c): Likewise.
18673 (RUN_TEST_cc_c): Likewise.
18674 (RUN_TEST_f_i): Likewise.
18675 (RUN_TEST_f_i_tg): Likewise.
18676 (RUN_TEST_ff_i_tg): Likewise.
18677 (RUN_TEST_f_b): Likewise.
18678 (RUN_TEST_f_b_tg): Likewise.
18679 (RUN_TEST_f_l): Likewise.
18680 (RUN_TEST_f_L): Likewise.
18681 (RUN_TEST_sincos): Likewise.
18682 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18683 whether to show exceptions. Do not include ");\n" in return
18684 value.
18685 (special_functions): Output call to RUN_TEST_sincos instead of
18686 check_float calls. Update calls to new_test.
18687 (parse_args): Output call to single RUN_TEST_* macro instead of
18688 check_* calls and other assignments. Update calls to new_test.
18689
d8cd06db
JM
18690 [BZ #2546]
18691 [BZ #2560]
18692 [BZ #5159]
18693 [BZ #15426]
18694 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18695 input to result for tgamma overflow.
18696 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18697 (gamma_coeff): New variable.
18698 (NCOEFF): New macro.
18699 (gamma_positive): New function.
18700 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18701 underflow here. Use gamma_positive instead of exp (lgamma) for
18702 other arguments.
18703 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18704 (gamma_coeff): New variable.
18705 (NCOEFF): New macro.
18706 (gammaf_positive): New function.
18707 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18708 underflow here. Use gamma_positive instead of exp (lgamma) for
18709 other arguments.
18710 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18711 (gamma_coeff): New variable.
18712 (NCOEFF): New macro.
18713 (gammal_positive): New function.
18714 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18715 underflow here. Use gamma_positive instead of exp (lgamma) for
18716 other arguments.
18717 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18718 (gamma_coeff): New variable.
18719 (NCOEFF): New macro.
18720 (gammal_positive): New function.
18721 (__ieee754_gammal_r): Handle positive infinity, overflow and
18722 underflow here. Handle NaN the same as positive infinity. Remove
18723 check x < 0xffffffff for negative integers. Use gamma_positive
18724 instead of exp (lgamma) for other arguments.
18725 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18726 (gamma_coeff): New variable.
18727 (NCOEFF): New macro.
18728 (gammal_positive): New function.
18729 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18730 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18734 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18735 * sysdeps/generic/math_private.h (__gamma_productf): New
18736 prototype.
18737 (__gamma_product): Likewise.
18738 (__gamma_productl): Likewise.
18739 * math/Makefile (libm-calls): Add gamma_product.
18740 * math/libm-test.inc (tgamma_test): Add more tests.
18741 * sysdeps/i386/fpu/libm-test-ulps: Update.
18742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18743
bb7cf681
OB
187442013-05-08 Ondřej Bílka <neleai@seznam.cz>
18745
18746 * benchtests/bench-skeleton.c (main): Preheat CPU.
18747
ba853947
AJ
187482013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18749
18750 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18751
8347c74c
RM
187522013-05-07 Roland McGrath <roland@hack.frob.com>
18753
18754 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18755 and _dl_skip_args_internal.
18756
e8dd4791
CD
187572013-05-07 Carlos O'Donell <carlos@redhat.com>
18758
18759 * manual/message.texi (Message Translation): Talk about users.
18760 Message to key mapping impacts design.
18761
c7405830
RM
187622013-05-06 Roland McGrath <roland@hack.frob.com>
18763
a9173057
RM
18764 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18765
976e2f03
RM
18766 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18767
9723ffc5
RM
18768 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18769 * sysdeps/wordsize-64/glob64.c: ... here.
18770
962e6658
RM
18771 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18772 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18773 New macros.
18774
ee586a6d
RM
18775 * debug/getlogin_r_chk.c: Moved to ...
18776 * login/getlogin_r_chk.c: ... here.
18777 * debug/Makefile (routines): Move getlogin_r_chk to ...
18778 * login/Makefile (routines): ... here.
18779 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18780 * login/Versions (libc: GLIBC_2.4): ... here.
18781
355f9165
RM
18782 * io/poll.c (__poll): Renamed from poll.
18783 Add libc_hidden_def.
18784 (poll): Define as weak alias.
18785
bd9ffde6
RM
18786 * debug/ptsname_r_chk.c: Moved to ...
18787 * login/ptsname_r_chk.c: ... here.
18788 * debug/Makefile (routines): Move ptsname_r_chk to ...
18789 * login/Makefile (routines): ... here.
18790 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18791 * login/Versions (libc: GLIBC_2.4): ... here.
18792
8fb16a04
RM
18793 * posix/getlogin.c: Moved to ...
18794 * login/getlogin.c: ... here.
18795 * posix/getlogin_r.c: Moved to ...
18796 * login/getlogin_r.c: ... here.
18797 * posix/getlogin_r.c: Moved to ...
18798 * login/getlogin_r.c: ... here.
18799 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18800 * login/Makefile (routines): ... here.
18801 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18802 * login/Versions (libc: GLIBC_2.0): ... here.
18803
b99b892f
RM
18804 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18805 (setrlimit): Define as weak alias.
18806
c7405830
RM
18807 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18808 Call __ names for open, ftruncate, and close.
18809 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18810 (truncate): Define as weak alias.
18811
5bf96de5
JM
188122013-05-06 Joseph Myers <joseph@codesourcery.com>
18813
9ea3513c
JM
18814 * math/gen-libm-test.pl (parse_args): Initialize x before each
18815 test of frexp, modf and remquo.
18816
5bf96de5
JM
18817 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18818 test signgam value.
18819
16e616a7
AZ
188202013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18821
18822 [BZ #15418]
18823 [BZ #15419]
18824 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18825 internal tests.
18826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18827
d5e82754
RM
188282013-05-06 Roland McGrath <roland@hack.frob.com>
18829
18830 * elf/dl-writev.h: New file.
18831 * elf/dl-misc.c: Include it.
18832 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18833 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18834
a7548d41
JM
188352013-05-04 Joseph Myers <joseph@codesourcery.com>
18836
b7dab1e4
JM
18837 * math/libm-test.inc (noXFails): Remove variable.
18838 (noXPasses): Likewise.
18839 (BUILD_COMPLEX_INT): Remove macro.
18840 (print_screen): Remove xfail argument.
18841 (print_screen_max_error): Likewise.
18842 (update_stats): Likewise.
18843 (print_max_error): Likewise. Update calls to other affected
18844 functions.
18845 (print_complex_max_error): Likewise.
18846 (test_single_exception): Update calls to print_screen.
18847 (test_single_errno): Likewise.
18848 (check_float_internal): Remove xfail argument. Update calls to
18849 other affected functions.
18850 (check_float): Likewise.
18851 (check_complex): Likewise.
18852 (check_int): Likewise.
18853 (check_long): Likewise.
18854 (check_bool): Likewise.
18855 (check_longlong): Likewise.
18856 (main): Don't print noXFails and noXPasses.
18857 * math/gen-libm-test.pl (top level): Don't mention expected
18858 failure handling in comment.
18859 (new_test): Don't handle expected failures.
18860 (parse_args): Don't mention expected failure handling in comment.
18861 (generate_testfile): Don't handle expected failures.
18862 (parse_ulps): Likewise.
18863 (print_ulps_file): Likewise.
18864 (get_failure): Remove function.
18865 (output_test): Don't handle expected failures.
18866 * make/README.libm-test: Don't mention expected failure handling.
18867
a7548d41
JM
18868 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18869 (minus_zero): Likewise.
18870 (plus_infty): Likewise.
18871 (minus_infty): Likewise.
18872 (qnan_value): Likewise.
18873 (max_value): Likewise.
18874 (min_value): Likewise.
18875 (min_subnorm_value): Likewise.
18876 (initialize): Do not initialize those variables dynamically.
18877
60bfd54c
RM
188782013-05-03 Roland McGrath <roland@hack.frob.com>
18879
cc0e6ed8
RM
18880 * io/open.c (__open_2): Moved to ...
18881 * io/open_2.c: ... this new file.
18882 * io/open64.c (__open64_2): Moved to ...
18883 * io/open64_2.c: ... this new file.
18884 * io/openat.c (__openat_2): Moved to ...
18885 * io/openat_2.c: ... this new file.
18886 * io/openat64.c (__openat64_2): Moved to ...
18887 * io/openat64_2.c: ... this new file.
18888 * io/Makefile (routines): Add them.
18889 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18890 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18891 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18892 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18893 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18894 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18895 (__openat64): Add hidden_ver.
18896 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18897 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18898
60bfd54c
RM
18899 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18900 Separately conditionalize setting of GLRO(dl_sysinfo) so
18901 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18902 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18903
83e7640f
AZ
189042013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18905
18906 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18907 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18908 definition.
18909 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18910 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18911 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18912 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18913 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18914
d5dc2af3
JM
189152013-05-03 Joseph Myers <joseph@codesourcery.com>
18916
c31a5b1e
JM
18917 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18918 test signgam value.
18919
d5dc2af3
JM
18920 * math/libm-test.inc (hypot_test): Do not use
18921 IGNORE_ZERO_INF_SIGN.
18922
164fd39d
AJ
189232013-05-03 Andreas Jaeger <aj@suse.de>
18924
18925 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18926 Linux 3.9.
18927 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18928 (PF_MAX): Adjust for VSOCK change.
18929
8237f48c
AZ
189302013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18931
18932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18933
9df02941
CD
189342013-05-02 Carlos O'Donell <carlos@redhat.com>
18935
18936 [BZ #15264]
18937 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18938 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18939 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18940
d422395e
DM
189412013-05-02 David S. Miller <davem@davemloft.net>
18942
18943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18944
a07c5731
OB
189452013-05-01 Ondřej Bílka <neleai@seznam.cz>
18946
18947 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18948
1324e37f
RM
189492013-05-01 Roland McGrath <roland@hack.frob.com>
18950
18951 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18952
0695940b
RS
189532013-05-01 Richard Smith <richard@metafoo.co.uk>
18954
bb5f27ad 18955 [BZ #14952]
0695940b
RS
18956 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18957 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18958 Use __attribute__ ((__gnu_inline__)).
18959 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18960 Don't use __attribute__ ((__gnu_inline__)).
18961
10de07f5
JM
189622013-05-01 Joseph Myers <joseph@codesourcery.com>
18963
18964 [BZ #15423]
18965 * math/s_catan.c (__catan): Handle small real or imaginary part of
18966 input specially to avoid spurious underflow.
18967 * math/s_catanf.c (__catanf): Likewise.
18968 * math/s_catanh.c (__catanh): Likewise.
18969 * math/s_catanhf.c (__catanhf): Likewise.
18970 * math/s_catanhl.c (__catanhl): Likewise.
18971 * math/s_catanl.c (__catanl): Likewise.
18972 * math/libm-test.inc (catan_test): Add more tests.
18973 (catanh_test): Likewise.
18974 * sysdeps/i386/fpu/libm-test-ulps: Update.
18975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18976
cb4d5414
AZ
189772013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18978
18979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18980
caf84319
JM
189812013-04-30 Joseph Myers <joseph@codesourcery.com>
18982
18983 [BZ #15416]
18984 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18985 accurately for denominator in atan2.
18986 * math/s_catanf.c (__catanf): Likewise.
18987 * math/s_catanh.c (__catanh): Likewise.
18988 * math/s_catanhf.c (__catanhf): Likewise.
18989 * math/s_catanhl.c (__catanhl): Likewise.
18990 * math/s_catanl.c (__catanl): Likewise.
18991 * math/libm-test.inc (catan_test): Add more tests.
18992 (catanh_test): Likewise.
18993 * sysdeps/i386/fpu/libm-test-ulps: Update.
18994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18995
d569c6ee
SP
189962013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18997
6dbe713d
SP
18998 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18999
f0ee064b
SP
19000 * benchtests/Makefile (bench): Remove slow benchmarks.
19001 * benchtests/atan-inputs: Add slow benchmark inputs.
19002 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19003 (BENCH_FUNC): Accept variant offset.
19004 (VARIANT): Define.
19005 * benchtests/bench-skeleton.c (main): Run benchmark for each
19006 variant.
19007 * benchtests/cos-inputs: Add slow benchmark inputs.
19008 * benchtests/exp-inputs: Likewise.
19009 * benchtests/pow-inputs: Likewise.
19010 * benchtests/sin-inputs: Likewise.
19011 * benchtests/slowatan-inputs: Remove.
19012 * benchtests/slowatan.c: Remove.
19013 * benchtests/slowcos-inputs: Remove.
19014 * benchtests/slowcos.c: Remove.
19015 * benchtests/slowexp-inputs: Remove.
19016 * benchtests/slowexp.c: Remove.
19017 * benchtests/slowpow-inputs: Remove.
19018 * benchtests/slowpow.c: Remove.
19019 * benchtests/slowsin-inputs: Remove.
19020 * benchtests/slowsin.c: Remove.
19021 * benchtests/slowtan-inputs: Remove.
19022 * benchtests/slowtan.c: Remove.
19023 * benchtests/tan-inputs: Add slow benchmark inputs.
19024 * scripts/bench.pl: Parse comments and directives.
19025
d569c6ee
SP
19026 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
19027 in CPPFLAGS.
19028 ($(objpfx)bench-%.c): Remove *-ITER.
19029 * benchtests/bench-modf.c: Remove definition of ITER.
19030 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19031 (main): Loop for DURATION seconds instead of fixed number of
19032 iterations.
19033 * scripts/bench.pl: Don't expect iterations in parameters.
19034
a6a242fe
RM
190352013-04-29 Roland McGrath <roland@hack.frob.com>
19036
19037 * io/fchdir.c (__fchdir): Renamed from fchdir.
19038 (fchdir): Define as weak alias.
19039
f2da7793
JM
190402013-04-29 Joseph Myers <joseph@codesourcery.com>
19041
19042 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19043 (ERRNO_EDOM): Likewise.
19044 (ERRNO_ERANGE): Likewise.
19045 (noErrnoTests): New variable.
19046 (init_max_error): Set errno to 0.
19047 (test_single_errno): New function.
19048 (test_errno): Likewise.
19049 (check_float_internal): Call test_errno. Set errno to 0.
19050 (check_complex): Refer to errno tests in comment.
19051 (check_int): Call test_errno. Set errno to 0.
19052 (check_long): Likewise.
19053 (check_bool): Likewise.
19054 (check_longlong): Likewise.
19055 (cos_test): Use ERRNO_* flags for errno tests instead of
19056 check_int.
19057 (expm1_test): Likewise.
19058 (fmod_test): Likewise.
19059 (ilogb_test): Likewise.
19060 (lgamma_test): Likewise.
19061 (pow_test): Likewise.
19062 (remainder_test): Likewise.
19063 (sin_test): Likewise.
19064 (tan_test): Likewise.
19065 (yn_test): Likewise.
19066 (initialize): Set errno to 0.
19067 (main): Print number of errno tests.
19068 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19069
b1a36ceb
AJ
190702013-04-29 Andreas Jaeger <aj@suse.de>
19071
c3ed8088
AJ
19072 [BZ #15084]
19073 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19074 and RES_USEVC.
19075
f1a24198
AJ
19076 [BZ #15085]
19077 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19078 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19079 unimplemented.
19080
9ce3b2cb
AJ
19081 [BZ #15380]
19082 * stdlib/random.c (__initstate): Return NULL if
19083 __initstate fails.
19084
f1a24198 19085 [BZ #15086]
b1a36ceb
AJ
19086 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19087 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19088 RES_SNGLKUPREOP.
19089
7e7b6f36
AZ
190902013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19091
19092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19093
4d14f449
JM
190942013-04-29 Joseph Myers <joseph@codesourcery.com>
19095
19096 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19097 of individual tests.
19098 (casin_test): Likewise.
19099 (casinh_test): Likewise.
19100
5b4217d7
JM
191012013-04-27 Joseph Myers <joseph@codesourcery.com>
19102
19103 [BZ #15409]
19104 * math/s_catan.c (__catan): Handle arguments with large real or
19105 imaginary part separately without squaring.
19106 * math/s_catanf.c (__catanf): Likewise.
19107 * math/s_catanh.c (__catanh): Likewise.
19108 * math/s_catanhf.c (__catanhf): Likewise.
19109 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19110 and redefine.
19111 (__catanhl): Handle arguments with large real or imaginary part
19112 separately without squaring.
19113 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19114 and redefine.
19115 (__catanl): Handle arguments with large real or imaginary part
19116 separately without squaring.
19117 * math/libm-test.inc (catan_test): Add more tests.
19118 (catanh_test): Likewise.
19119 * sysdeps/i386/fpu/libm-test-ulps: Update.
19120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19121
4220c3ef
AJ
191222013-04-27 Andreas Jaeger <aj@suse.de>
19123
19124 [BZ #15007]
19125 * stdlib/stdlib.h: Update guards for qecvt.
19126 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19127 <stdlib.h>.
19128
4721b2d1
AM
191292013-04-27 Allan McRae <allan@archlinux.org>
19130
19131 * sysdeps/i386/fpu/libm-test-ulps: Update.
19132
f0302940
JM
191332013-04-26 Joseph Myers <joseph@codesourcery.com>
19134
9457fd95
JM
19135 [BZ #15406]
19136 * math/s_catan.c: Include <float.h>.
19137 (__catan): Ensure underflow exception occurs for underflowed
19138 result.
19139 * math/s_catanf.c: Include <float.h>.
19140 (__catanf): Ensure underflow exception occurs for underflowed
19141 result.
19142 * math/s_catanh.c: Include <float.h>.
19143 (__catanh): Ensure underflow exception occurs for underflowed
19144 result.
19145 * math/s_catanhf.c: Include <float.h>.
19146 (__catanhf): Ensure underflow exception occurs for underflowed
19147 result.
19148 * math/s_catanhl.c: Include <float.h>.
19149 (__catanhl): Ensure underflow exception occurs for underflowed
19150 result.
19151 * math/s_catanl.c: Include <float.h>.
19152 (__catanl): Ensure underflow exception occurs for underflowed
19153 result.
19154 * math/libm-test.inc (catan_test): Add more tests.
19155 (catanh_test): Likewise.
19156
f0302940
JM
19157 [BZ #15405]
19158 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19159 underflowed result.
19160 * math/s_ccoshf.c (__ccoshf): Likewise.
19161 * math/s_ccoshl.c (__ccoshl): Likewise.
19162 * math/s_csin.c (__csin): Likewise.
19163 * math/s_csinf.c (__csinf): Likewise.
19164 * math/s_csinh.c (__csinh): Likewise.
19165 * math/s_csinhf.c (__csinhf): Likewise.
19166 * math/s_csinhl.c (__csinhl): Likewise.
19167 * math/s_csinl.c (__csinl): Likewise.
19168 * math/libm-test.inc (ccos_test): Add more tests.
19169 (ccosh_test): Likewise.
19170 (csin_test): Likewise.
19171 (csinh_test): Likewise.
19172
aa630f59
AZ
191732013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19174
19175 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19176 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19177 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19178 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19179 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19180 powerpc/power5+/fpu folders.
19181 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19182
19183
1b835983
MT
191842013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19185
19186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19187
73709b26
JM
191882013-04-25 Joseph Myers <joseph@codesourcery.com>
19189
19190 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19191 additions to variable.
19192 [$(config-machine) = x86_64] (modules-names): Likewise.
19193 ($(objpfx)tst-audit3): Remove dependency.
19194 ($(objpfx)tst-audit3.out): Likewise.
19195 ($(objpfx)tst-audit4): Likewise.
19196 ($(objpfx)tst-audit4.out): Likewise.
19197 ($(objpfx)tst-audit5): Likewise.
19198 ($(objpfx)tst-audit5.out): Likewise.
19199 ($(objpfx)tst-audit6): Likewise.
19200 ($(objpfx)tst-audit6.out): Likewise.
19201 ($(objpfx)tst-audit7): Likewise.
19202 ($(objpfx)tst-audit7.out): Likewise.
19203 (tst-audit3-ENV): Remove variable.
19204 (tst-audit4-ENV): Likewise.
19205 (tst-audit5-ENV): Likewise.
19206 (tst-audit6-ENV): Likewise.
19207 (tst-audit7-ENV): Likewise.
19208 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19209 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19210 addition to variable.
19211 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19212 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19213 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19214 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19215 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19216 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19217 tst-audit3, tst-audit4 and tst-audit5.
19218 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19219 tst-audit6 and tst-audit7.
19220 [$(subdir) = elf] (modules-names): Add audit modules for those
19221 tests.
19222 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19223 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19224 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19225 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19226 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19227 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19228 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19229 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19230 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19231 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19232 [$(subdir) = elf] (tst-audit3-ENV): New variable.
19233 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19234 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19235 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19236 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19237 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19238 Likewise.
19239 [$(subdir) = elf && $(config-cflags-avx) = yes]
19240 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19241 [$(subdir) = elf && $(config-cflags-avx) = yes]
19242 (CFLAGS-tst-auditmod4a.c): Likewise.
19243 [$(subdir) = elf && $(config-cflags-avx) = yes]
19244 (CFLAGS-tst-auditmod4b.c): Likewise.
19245 [$(subdir) = elf && $(config-cflags-avx) = yes]
19246 (CFLAGS-tst-auditmod6b.c): Likewise.
19247 [$(subdir) = elf && $(config-cflags-avx) = yes]
19248 (CFLAGS-tst-auditmod6c.c): Likewise.
19249 [$(subdir) = elf && $(config-cflags-avx) = yes]
19250 (CFLAGS-tst-auditmod7b.c): Likewise.
19251 * elf/tst-audit3.c: Move to ...
19252 * sysdeps/x86_64/tst-audit3.c: ... here.
19253 * elf/tst-audit4.c: Move to ...
19254 * sysdeps/x86_64/tst-audit4.c: ... here.
19255 * elf/tst-audit5.c: Move to ...
19256 * sysdeps/x86_64/tst-audit5.c: ... here.
19257 * elf/tst-audit6.c: Move to ...
19258 * sysdeps/x86_64/tst-audit6.c: ... here.
19259 * elf/tst-audit7.c: Move to ...
19260 * sysdeps/x86_64/tst-audit7.c: ... here.
19261 * elf/tst-auditmod3a.c: Move to ...
19262 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
19263 * elf/tst-auditmod3b.c: Move to ...
19264 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
19265 * elf/tst-auditmod4a.c: Move to ...
19266 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
19267 * elf/tst-auditmod4b.c: Move to ...
19268 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
19269 * elf/tst-auditmod5a.c: Move to ...
19270 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
19271 * elf/tst-auditmod5b.c: Move to ...
19272 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
19273 * elf/tst-auditmod6a.c: Move to ...
19274 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
19275 * elf/tst-auditmod6b.c: Move to ...
19276 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
19277 * elf/tst-auditmod6c.c: Move to ...
19278 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
19279 * elf/tst-auditmod7a.c: Move to ...
19280 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
19281 * elf/tst-auditmod7b.c: Move to ...
19282 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
19283
1ef74943
PP
192842013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
19285
19286 [BZ #15366]
19287 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
19288 define unconditionally.
19289 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
19290 define unconditionally.
19291 (INT8_C, INT16_C, etc.): Likewise.
19292
93fd48c5
MR
192932013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
19294
ae9552cf
MR
19295 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
19296 __ehdr_start with hidden visibility.
19297
93fd48c5
MR
19298 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
19299
418601aa
CD
193002013-04-24 Carlos O'Donell <carlos@redhat.com>
19301
19302 * math/libm-test.inc (cos_test): Use accurate hex constants.
19303 (sincost_test): Likewise.
19304
2f38fbfe
JM
193052013-04-24 Joseph Myers <joseph@codesourcery.com>
19306
5e221800
JM
19307 * math/libm-test.inc (catan_test): Add more tests.
19308 (catanh_test): Likewise.
19309
77f143fd
JM
19310 * math/s_catanf.c (__catanf): Use suffixed floating-point
19311 constants.
19312 * math/s_catanhf.c (__catanhf): Likewise.
19313 * math/s_catanhl.c (__catanhl): Likewise.
19314 * math/s_catanl.c (__catanl): Likewise.
19315
2f38fbfe
JM
19316 [BZ #15394]
19317 * math/s_catan.c (__catan): Calculate imaginary part of result
19318 with log1p not log unless computing log of number close to 0.
19319 * math/s_catanf.c (__catanf): Likewise.
19320 * math/s_catanl.c (__catanl): Likewise.
19321 * math/s_catanh.c (__catanh): Calculate real part of result with
19322 log1p not log unless computing log of number close to 0.
19323 * math/s_catanhf.c (__catanhf): Likewise.
19324 * math/s_catanhl.c (__catanhl): Likewise.
19325 * math/libm-test.inc (catan_test): Add more tests.
19326 (catanh_test): Likewise.
19327 * sysdeps/i386/fpu/libm-test-ulps: Update.
19328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19329
45d69176
SP
193302013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19331
19332 * benchtests/Makefile: Mention files in which fast and slow
19333 paths of math functions are implemented.
19334
87f51853
RM
193352013-04-23 Roland McGrath <roland@hack.frob.com>
19336
19337 * sysdeps/posix/timespec_get.c: New file.
19338
3c026539
AZ
193392013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19340
19341 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
19342 POWER.
19343 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
19344 for POWER.
19345 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
19346 powerpc/power5/fpu folders.
19347 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
19348 * benchtests/Makefile: Add modf testcase.
19349 * benchtests/bench-modf.c: New file: Benchmark test for mo
19350
ff491d14
SP
193512013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19352
19353 [BZ #14888]
19354 * time/Makefile (tests): Add tst-strptime-whitespace.
19355 * time/strptime_l.c (get_number): Use ISSPACE.
19356 (__strptime_internal): Likewise.
19357 * time/tst-strptime-whitespace.c: New test case.
19358
7ed3f4e8
AS
193592013-04-23 Andreas Schwab <schwab@linux-m68k.org>
19360
19361 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
19362 member.
19363 (_nss_files_init): Set it here.
19364
5c95f7b6
HC
193652013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
19366
19367 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
19368 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
19369 unsigned.
19370
d34c9158
JBG
193712013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
19372
19373 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
19374
2169712d
SP
193752013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19376
19377 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
19378 size just once.
19379
29c5de99
DM
193802013-04-21 David S. Miller <davem@davemloft.net>
19381
19382 * po/ru.po: Update Russion translation from translation project.
19383
ccdad15d
AC
193842013-04-17 Adam Conrad <adconrad@0c3.net>
19385
19386 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
19387 and setfsgid.
19388
0f122b8d
CD
193892013-04-17 Carlos O'Donell <carlos@redhat.com>
19390
5c5b07da 19391 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 19392 * configure: Regenerate.
5c5b07da 19393 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
19394 Add example to error message.
19395 * sysdeps/i386/configure: Regenerate.
19396
037714dd
SP
193972013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19398
19399 * benchtests/Makefile (bench): Add cos, tan, slowcos and
19400 slowtan.
19401 * benchtests/cos-inputs: New file.
19402 * benchtests/slowcos-inputs: New file.
19403 * benchtests/slowcos.c: New file.
19404 * benchtests/slowtan-inputs: New file.
19405 * benchtests/slowtan.c: New file.
19406 * benchtests/tan-inputs: New file.
19407
e913141d
RM
194082013-04-16 Roland McGrath <roland@hack.frob.com>
19409
19410 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19411 considered kosher.
19412
a2964074
SP
194132013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19414
4856bcd2
SP
19415 * benchtests/Makefile: Include cppflags-iterator.mk to add
19416 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19417
a2964074
SP
19418 * Makefile.in (bench-clean): New target.
19419 * benchtests/Makefile (bench-clean): Likewise.
19420
9fbf9aca
DH
194212013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
19422
19423 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19424
207d1e2a
TS
194252013-04-15 Thomas Schwinge <thomas@codesourcery.com>
19426
19427 * stdio-common/tstdiomisc.c: Fix coding-style violation.
19428
306dfba9
AS
194292013-04-15 Andreas Schwab <schwab@suse.de>
19430
19431 * nscd/grpcache.c (cache_addgr): Properly check for short write.
19432 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19433 * nscd/pwdcache.c (cache_addpw): Likewise.
19434 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
19435 more than recsize.
19436
206a6699
SP
194372013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19438
19439 * benchtests/Makefile (bench): Write all output to
19440 bench-out.tmp together.
19441
0582f6b3
AS
194422013-04-15 Andreas Schwab <schwab@suse.de>
19443
19444 * nscd/nscd.c (main): Don't fork again after closing files.
19445
acb4325f
SP
194462013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19447
5cb26d0a
SP
19448 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19449
acb4325f
SP
19450 * benchtests/Rules (bench-deps): Collect dependencies into a
19451 single variable. Add Makefile to dependencies.
19452 ($(objpfx)bench-%.c): Depend on bench-deps.
19453
47792506
RM
194542013-04-12 Roland McGrath <roland@hack.frob.com>
19455 Xavier Roche <roche+kml2@exalead.com>
19456
19457 [BZ #15361]
19458 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19459 just that it's a file descriptor.
19460 * manual/llio.texi (Synchronizing AIO Operations): Update description
19461 for EBADF error from aio_fsync.
19462
8fc1bee5
SP
194632013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19464
19465 * Rules (bench): Move target definition...
19466 * benchtests/Makefile: ... here.
19467
aba5e333
CD
194682013-04-11 Carlos O'Donell <carlos@redhat.com>
19469
19470 * math/libm-test.inc (cos_test): Fix PI/2 test.
19471 (sincos_test): Likewise.
19472 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19473 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19474
273cdee8
AS
194752013-04-11 Andreas Schwab <schwab@suse.de>
19476
6ecec3b6
AS
19477 [BZ #13988]
19478 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19479 accept exponent character only when digits were seen.
19480 * stdio-common/Makefile (tests): Add bug26.
19481 * stdio-common/bug26.c: New file.
19482
273cdee8
AS
19483 [BZ #14293]
19484 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19485 non-freeable.
19486
8da491f5
SP
194872013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19488
01dc6df9
SP
19489 * Makeconfig (rtld-prefix): Define built linker prefix.
19490 * Rules (run-bench): Use it.
19491 * math/Makefile (run-regen-ulps): Likewise.
19492
8da491f5
SP
19493 * Rules (bench): Remove eval.
19494
abe7f530
SP
194952013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19496 Roland McGrath <roland@hack.frob.com>
19497 Ondrej Bilka <neleai@seznam.cz>
19498
19499 [BZ #15346]
19500 * time/getdate.c: Include ctype.h and alloca.h.
19501 (__getdate_r): Trim leading and trailing spaces of input.
19502 * time/tst-getdate.c (tests): Add tests with leading and
19503 trailing spaces.
19504
61c23e62
RM
195052013-04-08 Roland McGrath <roland@hack.frob.com>
19506
19507 [BZ #14280]
19508 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19509 when computing value.
19510
7208a313
CD
195112013-04-06 Carlos O'Donell <carlos@redhat.com>
19512
085b2d41
CD
19513 * math/README.libm-test (How can I generate "libm-test-ulps"?):
19514 Use testrun.sh to run libm tests.
19515
7208a313
CD
19516 [BZ #15309]
19517 * elf/dl-open.c (dl_open_worker): memset all of seen array.
19518
872c0acd
MM
195192013-04-06 Marko Myllynen <myllynen@redhat.com>
19520
19521 [BZ #15264]
19522 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19523
26510bdd
CD
195242013-04-06 Carlos O'Donell <carlos@redhat.com>
19525
19526 * Makefile.in (regen-ulps): New target.
19527 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19528 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19529 [ifneq (no,$(PERL)] (regen-ulps): New target.
19530 [ifeq (no,$(PERL)] (regen-ulps): New target.
19531 * math/libm-test.inc (ulps_file_name): Define.
19532 (output_dir): New variable.
19533 (options): Add "output-dir" option.
19534 (parse_opt): Handle 'o' case.
19535 (main): If output_dir is non-NULL use it as a prefix
19536 otherwise use "".
19537 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19538
a01f19c8
CD
195392013-04-06 Carlos O'Donell <carlos@redhat.com>
19540
19541 [BZ #10060, #10062]
19542 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19543 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19544 fail configure if __sync_val_compare_and_swap is not inlined.
19545 * sysdeps/i386/configure: Regenerate.
19546 * configure.in: Build for i686 when configured for i386.
19547 * configure: Regenerate.
19548 * README: Remove i386 reference.
19549
b7a329a5
CD
195502013-04-06 Carlos O'Donell <carlos@redhat.com>
19551
19552 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19553 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19554
bf0f50df
TS
195552013-04-05 Thomas Schwinge <thomas@codesourcery.com>
19556
ee091edf
TS
19557 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19558 (lmsnanval): New variables.
19559 (F): Add conversion tests.
19560 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19561 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19562
a8b792d6
TS
19563 * stdio-common/tstdiomisc.c (F): Properly collect individual
19564 tests' results.
19565
a1cbf437
TS
19566 [BZ #14686, #15336]
19567 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19568 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19569 Instead, use input NaN values or generate a qNaN by arithmetic
19570 operation. Also fix bugs to comply with the standard.
19571 * math/libm-test.inc (remainder_test): Add more tests.
19572
8b43a0c9
TS
19573 [BZ #15335, #15342]
19574 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19575 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19576 input NaN values or generate a qNaN by arithmetic operation.
19577
d91da4ce
TS
19578 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19579 unreachable code.
19580
bf0f50df
TS
19581 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19582 definitions.
19583
05e166c8
JM
195842013-04-03 Joseph Myers <joseph@codesourcery.com>
19585
19586 [BZ #14478]
19587 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19588 underflowed result.
19589 * math/s_cexpf.c (__cexpf): Likewise.
19590 * math/s_cexpl.c (__cexpl): Likewise.
19591 * math/libm-test.inc (cexp_test): Add more tests.
19592
1cef1b19
AS
195932013-04-03 Andreas Schwab <schwab@suse.de>
19594
19595 [BZ #15330]
19596 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19597 order arrays from heap if bigger than alloca cutoff.
19598
74d87055
TS
195992013-04-03 Thomas Schwinge <thomas@codesourcery.com>
19600
19601 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19602 (SNAN_TESTS_double): Refer to GCC PR56831.
19603 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19604 GCC PR56828.
19605
d755bba4
SP
196062013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19607
90d5d5bb
SP
19608 * Rules (bench): Move bench.out after the run is complete.
19609
73e0cd5d
SP
19610 * Rules (bench): Echo currently running benchmark.
19611
64aabd4b
SP
19612 * benchtests/Makefile (bench): Add atan and slowatan.
19613 * benchtests/atan-inputs: New file.
19614 * benchtests/slowatan-inputs: New file.
19615 * benchtests/slowatan.c: New file.
19616
c871eccd
SP
19617 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19618 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19619 its value.
19620
d755bba4
SP
19621 [BZ #15305]
19622 * sysdeps/unix/sysv/linux/kernel-features.h
19623 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19624 __ASSUME_XFS_RESTRICTED_CHOWN.
19625 * sysdeps/unix/sysv/linux/pathconf.c
19626 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19627 Save and restore errno.
19628
52ce4860
JM
196292013-04-02 Joseph Myers <joseph@codesourcery.com>
19630
19631 [BZ #15327]
19632 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19633 arguments using __kernel_casinh.
19634 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19635 arguments using __kernel_casinhf.
19636 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19637 arguments using __kernel_casinhl.
19638 * math/libm-test.inc (cacosh_test): Add more tests.
19639 * sysdeps/i386/fpu/libm-test-ulps: Update.
19640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19641
81f311c2
SP
196422013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19643
e7906a47
SP
19644 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19646
92e3664b
SP
19647 * bench/Makefile (bench): Add sin and slowsin.
19648 * benchtests/sin-inputs: New file.
19649 * benchtests/slowsin-inputs: New file.
19650 * benchtests/slowsin.c: New file.
19651
81f311c2
SP
19652 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19653 (bench): Add slowexp and slowpow.
19654 (exp-ITER): Increase iterations.
19655 (pow-ITER): Likewise.
19656 * benchtests/exp-inputs: Change input.
19657 * benchtests/pow-inputs: Likewise.
19658 * benchtests/slowexp-inputs: New file.
19659 * benchtests/slowexp.c: New file.
19660 * benchtests/slowpow-inputs: New file.
19661 * benchtests/slowpow.c: New file.
19662
ab0f1aa9
AZ
196632013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19664
19665 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19666 instructions.
19667 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19668 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19669 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19670 * benchtests/Makefile: Add rint benchtest.
19671 * benchtests/rint-inputs: Input for rint benchtest.
19672
57267616
TS
196732013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19674
19675 * Versions.def (libm): Add GLIBC_2.18.
19676 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19677 hidden libm prototypes.
19678 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19679 * math/Makefile (libm-calls): Add s_issignaling.
19680 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19681 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19682 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19683 declaration.
19684 * math/math.h [__USE_GNU] (issignaling): New macro.
19685 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19686 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19687 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19688 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19689 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19690 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19691 * manual/arith.texi (issignaling): New section.
19692 * manual/libm-err-tab.pl (@all_functions): Update comment.
19693 * math/gen-libm-test.pl (parse_args): Apply special handling for
19694 issignaling.
19695 * math/libm-test.inc (print_float, issignaling_test): New
19696 functions.
19697 (check_float_internal): Add issignaling checks.
19698 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19699 default definition.
19700 * sysdeps/powerpc/math-tests.h: New file.
19701 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19702 tests.
19703 * math/test-snan.c (TEST_FUNC): Likewise.
19704
6142896d
DM
197052013-03-30 David S. Miller <davem@davemloft.net>
19706
19707 * po/de.po: Update from translation team.
19708
ccc8cadf
JM
197092013-03-30 Joseph Myers <joseph@codesourcery.com>
19710
19711 [BZ #10357]
19712 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19713 imaginary part less than 1.0 and real part less than 0.5
19714 specially.
19715 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19716 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19717 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19718 (cacos_test): Add more tests.
19719 (casin_test): Likewise.
19720 (casinh_test): Likewise.
19721 * sysdeps/i386/fpu/libm-test-ulps: Update.
19722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19723
0f6a8d4b
SP
197242013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19725
0d1029de
SP
19726 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19727 ONE with its value.
19728
c2d94018
SP
19729 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19730 (__pow_mp): Replace ONE and MONE with their values.
19731 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19732 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19733 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19734 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19735 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19736 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19737
27ec37f1
SP
19738 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19739
a64d7e0e
SP
19740 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19741 (__pow_mp): Replace ZERO and MZERO with their values.
19742 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19743 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19744 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19745 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19746 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19747 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19748 (__sqr): Likewise.
19749
d26dd3eb
SP
19750 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19751
0f6a8d4b
SP
19752 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19753
e57b0c61
RM
197542013-03-28 Roland McGrath <roland@hack.frob.com>
19755
19756 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19757 Declare with __attribute__ ((weak)).
19758 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19759 Call __call_tls_dtors only if it's not NULL.
19760
356b3480
RM
197612013-03-28 Roland McGrath <roland@hack.frob.com>
19762
288f7d79
RM
19763 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19764 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19765 magic __ehdr_start linker symbol if it's defined.
19766 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19767 them up here if it was already done.
19768
dc0a0263
RM
19769 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19770 (_dl_aux_init): Use const in cast when setting it.
19771 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19772 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19773 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19774
3d3436ae
RM
19775 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19776 Declare them here.
19777 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19778 * csu/libc-tls.c: Nor here.
19779 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19780
356b3480
RM
19781 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19782 (__libc_message): Never call vsyslog.
19783
b0f1246a
AM
197842013-03-28 Alan Modra <amodra@gmail.com>
19785
19786 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19787 Define as empty.
19788 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19789 Likewise.
19790
fbbe2b9a
AZ
197912013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19792
19793 [BZ #15214]
19794 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19795 underflow.
19796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19797
1728ab37
SP
197982013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19799
7a86be6e
SP
19800 [BZ #15304]
19801 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19802 Don't add gid passed as argument.
19803
1728ab37
SP
19804 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19805
3a7182a1
JM
198062013-03-27 Joseph Myers <joseph@codesourcery.com>
19807
19808 [BZ #15307]
19809 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19810 imaginary part between 1.0 and 1.5 and real part less than 0.5
19811 specially.
19812 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19813 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19814 * math/libm-test.inc (cacos_test): Add more tests.
19815 (casin_test): Likewise.
19816 (casinh_test): Likewise.
19817 * sysdeps/i386/fpu/libm-test-ulps: Update.
19818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19819
6f2e90e7
SP
198202013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19821
5739f705
SP
19822 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19823 constants.
19824 (norm): Likewise.
19825 (denorm): Likewise.
19826 (__dbl_mp): Likewise.
19827 (add_magnitudes): Likewise.
19828 (sub_magnitudes): Likewise.
19829 (__add): Likewise.
19830 (__sub): Likewise.
19831 (__mul): Likewise.
19832 (__sqr): Likewise.
19833 (__inv): Likewise.
19834 (__dvd): Likewise.
19835
e375e83d
SP
19836 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19837 commented code.
19838 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19839 (__dubcos): Likewise.
19840 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19841 (__ieee754_acos): Likewise.
19842 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19843 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19844 (__exp1): Likewise.
19845 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19847 (log1): Likewise.
19848 (my_log2): Likewise.
19849 (checkint): Likewise.
19850 * sysdeps/ieee754/dbl-64/e_remainder.c
19851 (__ieee754_remainder): Likewise.
19852 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19853 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19854 (bsloww): Likewise.
19855 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19856
6f2e90e7
SP
19857 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19858 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19859 MANTISSA_STORE_T to store computations on mantissa. Use
19860 macros for rounding and division.
19861 (denorm): Likewise.
19862 (__dbl_mp): Likewise.
19863 (add_magnitudes): Likewise.
19864 (sub_magnitudes): Likewise.
19865 (__mul): Likewise.
19866 (__sqr): Likewise.
19867 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19868 powers of two in terms of TWOPOW macro.
19869 (mp_no): Make type of mantissa as MANTISSA_T.
19870 [!RADIXI]: Define RADIXI.
19871 [!TWO52]: Define TWO52.
19872 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19873
fce14d4e
AZ
198742013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19875
19876 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19877 llroundl symbol when building for PPC32.
19878
9ad027fb
MW
198792013-03-24 Mark H Weaver <mhw@netris.org>
19880
19881 * manual/arith.texi (Normalization Functions): Fix prototypes for
19882 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19883
e42a38dd
AZ
198842013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19885
19886 [BZ #13889]
19887 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19888 high value to check if expl overflow.
19889 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19890 to check for underflow and overflow.
19891 * math/libm-test.inc: Add exp test.
19892
2e0fb521
DL
198932013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19894
19895 [BZ #11120]
19896 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19897 with NOT_IN_libc.
19898
b5784d95
AZ
198992013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19900
19901 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19902 symbol.
19903
5aa4a1a1
TS
199042013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19905
bdef0be7
TS
19906 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19907 wrap blocks consisting of several statements.
19908
5aa4a1a1
TS
19909 * sysdeps/generic/math-tests.h: New file.
19910 * sysdeps/i386/fpu/math-tests.h: Likewise.
19911 * math/test-snan.c: Include it.
19912 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19913
98c48fe5
JM
199142013-03-21 Joseph Myers <joseph@codesourcery.com>
19915
19916 [BZ #15285]
19917 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19918 (__ieee754_j0l): Do not improve calculations using cos of twice
19919 input for inputs above LDBL_MAX / 2.0L.
19920 (__ieee754_y0l): Likewise.
19921 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19922 (__ieee754_j1l): Do not improve calculations using cos of twice
19923 input for inputs above LDBL_MAX / 2.0L.
19924 (__ieee754_y1l): Likewise.
19925 * math/libm-test.inc (j0_test): Add another test.
19926 (j1_test): Likewise.
19927 (y0_test): Likewise.
19928 (y1_test): Likewise.
19929 * sysdeps/i386/fpu/libm-test-ulps: Update.
19930
3775a8bc
SP
199312013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19932
19933 * Rules ($(objpfx)bench-%.c): Include code from a C source
19934 file.
19935
0a1b2ae6
JM
199362013-03-21 Joseph Myers <joseph@codesourcery.com>
19937
19938 [BZ #15287]
19939 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19940 imaginary part 1.0 and real part less than 0.5 specially.
19941 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19942 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19943 * math/libm-test.inc (cacos_test): Add more tests.
19944 (casin_test): Likewise.
19945 (casinh_test): Likewise.
19946 * sysdeps/i386/fpu/libm-test-ulps: Update.
19947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19948
b33d4ce4
SP
199492013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19950
19951 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19952 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19953
bef0b507
JM
199542013-03-20 Joseph Myers <joseph@codesourcery.com>
19955
19956 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19957 * config.make.in (config-cflags-sse4): Remove variable.
19958 (config-cflags-avx): Likewise.
19959 (config-cflags-sse2avx): Likewise.
19960 (config-cflags-novzeroupper): Likewise.
19961 (config-asflags-i686): Likewise.
19962 (have-mfma4): Likewise.
19963 (have-as-vis3): Likewise.
19964 (MIG): Likewise.
19965 * configure.in (MIG): Do not AC_SUBST.
19966 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19967 (libc_cv_cc_sse4): Do not AC_SUBST.
19968 (libc_cv_cc_avx): Likewise.
19969 (libc_cv_cc_sse2avx): Likewise.
19970 (libc_cv_cc_novzeroupper): Likewise.
19971 (libc_cv_cc_fma4): Likewise.
19972 (libc_cv_as_i686): Likewise.
19973 (libc_cv_sparc_as_vis3): Likewise.
19974 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19975 LIBC_CONFIG_VAR.
19976 (config-asflags-i686): Likewise.
19977 (config-cflags-avx): Likewise.
19978 (config-cflags-sse2avx): Likewise.
19979 (have-mfma4): Likewise.
19980 (config-cflags-novzeroupper): Likewise.
19981 * sysdeps/mach/configure.in (MIG): Likewise.
19982 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19983 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19984 LIBC_CONFIG_VAR.
19985 (config-cflags-avx): Likewise.
19986 (config-cflags-sse2avx): Likewise.
19987 (have-mfma4): Likewise.
19988 (config-cflags-novzeroupper): Likewise.
19989 * configure: Regenerated.
19990 * sysdeps/i386/configure: Likewise.
19991 * sysdeps/mach/configure: Likewise.
19992 * sysdeps/sparc/configure: Likewise.
19993 * sysdeps/x86_64/configure: Likewise.
19994
912cc4b3
RM
199952013-03-20 Roland McGrath <roland@hack.frob.com>
19996
19997 [BZ #14812]
19998 * locale/programs/localedef.c (options): Put N_ translation marker
19999 on argument names, not just descriptions.
20000
04eed2b0
MS
200012013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20002
20003 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20004
a065ceff
OB
200052013-03-20 Ondřej Bílka <neleai@seznam.cz>
20006
9bb2a810 20007 [BZ #14176]
a065ceff
OB
20008 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20009
a600e5ce
RM
200102013-03-19 Roland McGrath <roland@hack.frob.com>
20011
20012 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20013 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20014 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20015 [!BEFORE_ABORT] (before_abort): New function.
20016 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20017 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20018 (writev_for_fatal): New function.
20019 (WRITEV_FOR_FATAL): New macro; call that.
20020 (backtrace_and_maps): New function.
20021 (BEFORE_ABORT): New macro; call that.
20022 (struct str_list): Type removed.
20023 (__libc_message, __libc_fatal): Functions removed.
20024 Include <sysdeps/posix/libc_fatal.c> instead.
20025
6b18bea6
JM
200262013-03-19 Joseph Myers <joseph@codesourcery.com>
20027
20028 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20029 constants.
20030 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20031 double constants.
20032
aaa8cb4b
AS
200332013-03-19 Andreas Schwab <schwab@suse.de>
20034
44673770
AS
20035 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20036 * sysdeps/gnu/configure: Regenerate.
20037
aaa8cb4b
AS
20038 * configure.in: Substitute libc_cv_rtlddir.
20039 * configure: Regenerate.
20040 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20041 * Makeconfig (rtlddir, inst_rtlddir): New variables.
20042 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20043 * elf/Makefile (install-others, CFLAGS-interp.c)
20044 (ldso_install, common-ldd-rewrite): Likewise.
20045 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20046 $(inst_slibdir)/$(rtld-installed-name).
20047 * scripts/rellns-sh: Add -p option.
20048 * Makerules (make-shlib-link): Use rellns-sh to get relative name
20049 for source.
20050
d3cfc668
SP
200512013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20052
20053 * manual/nptl.texi: Renamed to ...
20054 * manual/threads.texi: ... this.
20055 * manual/Makefile (chapters): Update.
20056
0e2b9cdd
RM
200572013-03-18 Roland McGrath <roland@hack.frob.com>
20058
20059 [BZ #14812]
20060 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20061 on argument names, not just descriptions.
0e2b9cdd
RM
20062 * malloc/memusagestat.c (options): Likewise.
20063 * nss/getent.c (options): Likewise.
63270c24
RM
20064
200652013-03-18 Benno Schulenberg <bensberg@justemail.net>
20066
20067 [BZ #14812]
20068 * iconv/iconv_prog.c (options): Put N_ translation marker
20069 on argument names, not just descriptions.
20070 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 20071
b2e1393c
OB
200722013-03-18 Ondrej Bilka <neleai@seznam.cz>
20073
20074 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20075 implementation which is faster on all x86_64 architectures.
20076 Tested on AMD, Intel Nehalem, SNB, IVB.
20077 * sysdeps/x86_64/strnlen.S: Likewise.
20078
20079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20080 Remove all multiarch strlen and strnlen versions.
20081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20082 Remove strlen and strnlen related parts.
20083
20084 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20085 Inline strlen part.
20086 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20087
20088 * sysdeps/x86_64/multiarch/strlen.S: Remove.
20089 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20090 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20091 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20092 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20093 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20094
ec4ff04d
CD
200952013-03-17 Carlos O'Donell <carlos@redhat.com>
20096
20097 * manual/memory.texi (Malloc Tunable Parameters):
20098 Sort parameters alphabetically. Add comments for missing entries.
20099
cd18e90a
DM
201002013-03-17 David S. Miller <davem@davemloft.net>
20101
20102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20103
2a185d32
JM
201042013-03-16 Joseph Myers <joseph@codesourcery.com>
20105
d2f9799e
JM
20106 [BZ #15283]
20107 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20108 for arguments at most half maximum finite value.
20109 * math/libm-test.inc (j0_test): Add more tests.
20110 (j1_test): Likewise.
20111 (y0_test): Likewise.
20112 (y1_test): Likewise.
20113 * sysdeps/i386/fpu/libm-test-ulps: Update.
20114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20115
2a185d32
JM
20116 [BZ #14155]
20117 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20118 1 / x and functions P and Q for arguments above 0x1p256L.
20119 (__ieee754_y0l): Likewise.
20120 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20121 (__ieee754_y1l): Likewise.
20122 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20123 (j1_test): Likewise.
20124 (y0_test): Likewise.
20125 (y1_test): Likewise.
20126
6cbec759
TS
201272013-03-16 Thomas Schwinge <thomas@codesourcery.com>
20128
20129 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20130 variable.
20131
bc16e260
RM
201322013-03-15 Roland McGrath <roland@hack.frob.com>
20133
aefc9b8c
RM
20134 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20135 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20136 zero since it's initialized to EXEC_PAGESIZE.
20137
bc16e260
RM
20138 * sysdeps/unix/sysv/linux/ldsodefs.h
20139 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20140 * sysdeps/generic/ldsodefs.h: ... here.
20141
a57da955
TS
201422013-03-15 Thomas Schwinge <thomas@codesourcery.com>
20143
af00a34d
TS
20144 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20145
495ded2c
TS
20146 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20147 math/test-snan.c.
20148 * math/test-snan.c: Renamed from
20149 sysdeps/powerpc/fpu/test-powerpc-snan.c.
20150 * math/Makefile (tests): Add test-snan.
20151 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20152 test-powerpc-snan.
20153
777b0332
TS
20154 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20155 SUFFIX. Initialize qNaN_var with __builtin_nan family of
20156 functions.
20157 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
20158 __builtin_nan family of functions.
20159 * math/libm-test.inc (initialize): Initialize qnan_value with
20160 __builtin_nan family of functions.
20161 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20162 Remove variables.
20163 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20164 Remove functions.
20165 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
20166 storage class. Initialize qNaN_var and sNaN_var with
20167 __builtin_nan and __builtin_nans families of functions,
20168 respectively.
20169
64d063b8
TS
20170 * math/libm-test.inc (acosh_test): Also test with qNaN input.
20171 (sqrt_test): Remove duplicate test with qNaN input.
20172 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20173 (round_test, signbit_test, significand_test): Note missing +/-Inf
20174 as well as qNaN tests.
20175
67e971f1
TS
20176 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20177 qNaN_var. Fix a few strings, too.
20178 * math/libm-test.inc (nan_value): Rename to qnan_value.
20179 * math/gen-libm-test.pl (%beautify): Adjust to that.
20180 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20181 * math/test-misc.c (main): Likewise.
20182 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20183 to __qnan_bytes, and __qnan_union, respectively.
20184 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20185 Likewise.
20186 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20187 and lqnanval, respectively.
20188 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20189 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20190 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20191 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20192
64487e12
TS
20193 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20194 * math/test-misc.c (main) [__x86_64__]: Enable test for long
20195 doubles.
20196
e015e27b
TS
20197 * math/test-misc.c (main): Fix copy'n'pastos.
20198 * misc/tst-efgcvt.c (special): Likewise.
20199
a57da955
TS
20200 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20201 Remove declarations.
20202
1e380345
SP
202032013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20204
20205 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20206 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20207 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20208 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20209
ef26eece
AZ
202102013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20211
20212 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20213 macro to return vdso values correctly in IFUNC implementations.
20214 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20215 Optimization by using IFUNC.
20216
8cfdb7e0
SP
202172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20218 Richard Henderson <rth@redhat.com>
20219 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20220
20221 * Makefile.in (bench): New target.
20222 * NEWS: Mention the benchmark framework.
20223 * Rules (bench): Likewise.
20224 (binaries-bench): Generate binaries for functions to
20225 benchmark.
20226 * benchtests/Makefile: New makefile for benchmark tests.
20227 * benchtests/bench-skeleton.c: New skeleton file for benchmark
20228 programs.
20229 * benchtests/exp-inputs: New input file for EXP function.
20230 * benchtests/pow-inputs: New input file for POW function.
20231 * scripts/bench.pl: New script to generate source files for
20232 benchmark programs.
20233
bcda9880
SP
202342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20235
d22ca8cd
SP
20236 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20237 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20238 computations on mantissa. Use macros for rounding and
20239 division.
20240 (denorm): Likewise.
20241 (__dbl_mp): Likewise.
20242 (add_magnitudes): Likewise.
20243 (sub_magnitudes): Likewise.
20244 (__mul): Likewise.
20245 (__sqr): Likewise.
20246 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
20247 powers of two in terms of TWOPOW macro.
20248 (mp_no): Make type of mantissa as MANTISSA_T.
20249 [!RADIXI]: Define RADIXI.
20250 [!TWO52]: Define TWO52.
20251 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20252
bcda9880
SP
20253 * manual/nptl.texi (cindex): Modify threads to pthreads.
20254
06d5adfb
JM
202552013-03-15 Joseph Myers <joseph@codesourcery.com>
20256
20257 * sysdeps/x86_64/preconfigure: Regenerated.
20258
41c7328e
JM
202592013-03-14 Joseph Myers <joseph@codesourcery.com>
20260
20261 [BZ #14155]
20262 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
20263 0x1p28 and above.
20264 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
20265 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
20266 0x1p28 and above.
20267 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
20268 * math/libm-test.inc (j0_test): Do not allow one spurious
20269 underflow exception.
20270 (y1_test): Likewise.
20271
e25cfa60
SP
202722013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20273
0409959c
SP
20274 * manual/Makefile (chapters): Add nptl.
20275 * manual/debug.texi (Debugging Support): Add link to Threads
20276 chapter.
20277 * manual/nptl.texi: New file.
20278
e25cfa60
SP
20279 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
20280
58a1335e
PB
202812013-03-14 Petr Baudis <pasky@ucw.cz>
20282
20283 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
20284 for non-NULL pointer before the memory validity test. Pointed
20285 out by Holger Brunck <holger.brunck@keymile.com>.
20286
9dc7c64f
AS
202872013-03-13 Andreas Schwab <schwab@suse.de>
20288
20289 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
20290 instead of .os.
20291
54206aa6
JM
202922013-03-13 Joseph Myers <joseph@codesourcery.com>
20293
20294 * timezone/zic.c: Update from tzcode 2013b.
20295
e98cdb38
CD
202962013-03-12 Carlos O'Donell <carlos@redhat.com>
20297
20298 * manual/install.texi (Configuring and compiling):
20299 Mention i686 and i586.
20300 * INSTALL: Regenerate.
20301
9967e003
RM
203022013-03-12 Roland McGrath <roland@hack.frob.com>
20303
20304 * sysdeps/init_array/elf-init.c: New file.
20305 * csu/elf-init.c
20306 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
20307 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
20308
20309 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
20310 __gmon_start__ as global, but as static with a .preinit_array pointer.
20311 * sysdeps/init_array/gmon-start.c: New file. Use that.
20312 * sysdeps/init_array/crti.S: New file, empty except for comments.
20313 * sysdeps/init_array/crtn.S: Likewise.
20314
e6b5a293 203152013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
20316
20317 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
20318 definining bcopy.
80f844c9
OB
20319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20320 Remove Prefer_SSE_for_memop.
20321 * sysdeps/x86_64/multiarch/init-arch.h: Remove
20322 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
20323 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
20324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20325 memset-x86-64.
80f844c9 20326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 20327 Remove bzero, memset ifunc support.
80f844c9
OB
20328 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
20329 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
20330 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20331 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20332
fb6b0fcb
AS
203332013-03-11 Andreas Schwab <schwab@suse.de>
20334
20335 [BZ #15234]
20336 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
20337 by SHLIB_COMPAT.
20338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
20339 (GLIBC_2.16): Remove pthread_atfork.
20340
3e6bd4b1
PP
203412013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
20342
20343 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
20344 (ptestcases.h): Likewise.
20345
222d7f00
RM
203462013-03-08 Roland McGrath <roland@hack.frob.com>
20347
20348 * Makeconfig ($(common-objpfx)config.status): Depend on
20349 sysdeps/*/preconfigure{,.in} too.
20350
1ba4f030
JM
203512013-03-08 Joseph Myers <joseph@codesourcery.com>
20352
a222d91a
JM
20353 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
20354 (__free_hook): Use void * instead of __malloc_ptr_t.
20355 (__malloc_hook): Likewise.
20356 (__realloc_hook): Likewise.
20357 (__memalign_hook): Likewise.
20358 (__after_morecore_hook): Likewise.
20359 * malloc/arena.c (save_malloc_hook): Likewise.
20360 (save_free_hook): Likewise.
20361 * malloc/hooks.c (malloc_hook_ini): Likewise.
20362 (realloc_hook_ini): Likewise.
20363 (memalign_hook_ini): Likewise.
20364 * malloc/malloc.c (malloc_hook_ini): Likewise.
20365 (realloc_hook_ini): Likewise.
20366 (memalign_hook_ini): Likewise.
20367 (__free_hook): Likewise.
20368 (__malloc_hook): Likewise.
20369 (__realloc_hook): Likewise.
20370 (__memalign_hook): Likewise.
20371 (__libc_malloc): Likewise.
20372 (__libc_free): Likewise.
20373 (__libc_realloc): Likewise.
20374 (__libc_memalign): Likewise.
20375 (__libc_valloc): Likewise.
20376 (__libc_pvalloc): Likewise.
20377 (__libc_calloc): Likewise.
20378 (__posix_memalign): Likewise.
20379 * malloc/morecore.c (__sbrk): Likewise.
20380 (__default_morecore): Likewise.
20381
5cc45e10
JM
20382 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
20383
dd54b864
JM
20384 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
20385 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
20386 __malloc_ptrdiff_t.
20387
1ba4f030
JM
20388 * malloc/malloc.h (__malloc_size_t): Remove macro.
20389 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
20390 __malloc_size_t.
20391 (old_memalign_hook): Likewise.
20392 (old_realloc_hook): Likewise.
20393 (struct hdr): Likewise.
20394 (flood): Likewise.
20395 (mallochook): Likewise.
20396 (memalignhook): Likewise.
20397 (reallochook): Likewise.
20398 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20399 (tr_old_realloc_hook): Likewise.
20400 (tr_old_memalign_hook): Likewise.
20401 (tr_mallochook): Likewise.
20402 (tr_reallochook): Likewise.
20403 (tr_memalignhook): Likewise.
20404
edf66e57
AZ
204052013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20406
20407 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20408 default_ldbl_pack and using as default implementation.
20409 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20410 implementation.
20411 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20412 redundant definition.
20413 (ldbl_insert_mantissa): Likewise.
20414 (ldbl_canonicalize): Likewise.
20415 (ldbl_nearbyint): Likewise.
20416 (ldbl_pack): Rename to ldbl_pack_ppc.
20417 (ldbl_unpack): Rename to ldbl_unpack_ppc.
20418 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20419 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20420
6d9145d8
SP
204212013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20422
20423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20424 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20425 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20426 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20428 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20429 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20430 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20431
4dd4e157
AJ
204322013-03-07 Andreas Jaeger <aj@suse.de>
20433
20434 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20435 bits/mman-linux.h.
20436
adbb8027
SP
204372013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20438
ce544b5b
SP
20439 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20440 Include mpa.h and declare __MPEXP.
20441 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20442 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20443 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20444 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20445 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20446 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20447 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20448
4cc149fd
SP
20449 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20450 (__slowpow): Use long double EXPL and LOGL functions to
20451 compute POW.
20452 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20453 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20454 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20455 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20456 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20457 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20458
e6ebd4a7
SP
20459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20460 intermediate variable to calculate exponent.
20461 (__sqr): Likewise.
20462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20463 Likewise.
20464 (__sqr): Likewise.
20465
82a9811d
SP
20466 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20467 [!NO__SQR]: Define __sqr.
20468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20469 and NO__SQR. Remove all code except __mul and __sqr. Include
20470 sysdeps/ieee754/dbl-64/mpa.c.
20471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20472
adbb8027
SP
20473 [BZ #12723]
20474 * posix/Makefile (tests): Add tst-pathconf.
20475 * posix/tst-pathconf.c: New test case.
20476 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20477 _PC_PIPE_BUF.
20478 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20479
39120df9
PF
204802013-03-06 Patsy Franklin <pfrankli@redhat.com>
20481
20482 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20483
67525cb8
AJ
204842013-03-06 Andreas Jaeger <aj@suse.de>
20485
664a9ce4
AJ
20486 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20487 definition via __MAP_ANONYMOUS.
20488
8e39047d
AJ
20489 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20490 it's not part of Linux headers.
20491
67525cb8
AJ
20492 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20493 (MAP_HUGE_MASK): Define.
20494
20495 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20496 Define.
20497 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20499 Define.
20500 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20501 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20502 Define.
20503 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20504 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20505 Define.
20506 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20507
20508 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20509 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20510 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20511 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20512 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20513 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20514
20515 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20516 Handle f2fs.
20517
20518 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20519 Handle f2fs and efivarfs.
20520
20521 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20522 f2fs.
20523
20524 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20525 (EFIVARFS_MAGIC): Add.
20526 (F2FS_LINK_MAX): Add.
20527
e1b42695
PP
205282013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20529
20530 * stdio-common/vfprintf.c: Replace __builtin_expect with
20531 __glibc_unlikely.
20532
2d67d91a
JM
205332013-03-06 Joseph Myers <joseph@codesourcery.com>
20534
20535 [BZ #13550]
20536 * sysdeps/generic/bp-sym.h: Remove file.
20537 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20538 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20539 <bp-sym.h> and <bp-asm.h>.
20540 (__longjmp): Don't use BP_SYM.
20541 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20542 and <bp-asm.h>.
20543 (memcpy): Don't use BP_SYM.
20544 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20545 <bp-sym.h> and <bp-asm.h>.
20546 (memcpy): Don't use BP_SYM.
20547 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20548 <bp-asm.h>.
20549 (memcpy): Don't use BP_SYM.
20550 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20551 <bp-asm.h>.
20552 (memset): Don't use BP_SYM.
20553 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20554 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20555 (__bzero): Don't use BP_SYM.
20556 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20557 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20558 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20559 <bp-sym.h> and <bp-asm.h>.
20560 (memcmp): Don't use BP_SYM. Remove comment about bounded
20561 pointers.
20562 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20563 <bp-sym.h> and <bp-asm.h>.
20564 (memcpy): Don't use BP_SYM.
20565 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20566 <bp-sym.h> and <bp-asm.h>.
20567 (memset): Don't use BP_SYM.
20568 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20569 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20570 (__bzero): Don't use BP_SYM.
20571 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20572 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20573 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20574 <bp-sym.h> and <bp-asm.h>.
20575 (strncmp): Don't use BP_SYM. Remove comment about bounded
20576 pointers.
20577 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20578 <bp-sym.h> and <bp-asm.h>.
20579 (memcpy): Don't use BP_SYM.
20580 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20581 <bp-sym.h> and <bp-asm.h>.
20582 (memset): Don't use BP_SYM.
20583 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20584 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20585 (__bzero): Don't use BP_SYM.
20586 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20587 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20588 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20589 <bp-sym.h> and <bp-asm.h>.
20590 (__memchr): Don't use BP_SYM.
20591 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20592 <bp-sym.h> and <bp-asm.h>.
20593 (memcmp): Don't use BP_SYM. Remove comment about bounded
20594 pointers.
20595 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20596 <bp-sym.h> and <bp-asm.h>.
20597 (memcpy): Don't use BP_SYM.
20598 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20599 <bp-sym.h> and <bp-asm.h>.
20600 (__mempcpy): Don't use BP_SYM.
20601 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20602 <bp-sym.h> and <bp-asm.h>.
20603 (__memrchr): Don't use BP_SYM.
20604 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20605 <bp-sym.h> and <bp-asm.h>.
20606 (memset): Don't use BP_SYM.
20607 (__bzero): Likewise.
20608 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20609 <bp-sym.h> and <bp-asm.h>.
20610 (__rawmemchr): Don't use BP_SYM.
20611 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20612 <bp-sym.h> and <bp-asm.h>.
20613 (__STRCMP): Don't use BP_SYM.
20614 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20615 <bp-sym.h> and <bp-asm.h>.
20616 (strchr): Don't use BP_SYM.
20617 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20618 <bp-sym.h> and <bp-asm.h>.
20619 (__strchrnul): Don't use BP_SYM.
20620 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20621 <bp-sym.h> and <bp-asm.h>.
20622 (strlen): Don't use BP_SYM.
20623 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20624 <bp-sym.h> and <bp-asm.h>.
20625 (strncmp): Don't use BP_SYM. Remove comment about bounded
20626 pointers.
20627 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20628 <bp-sym.h> and <bp-asm.h>.
20629 (__strnlen): Don't use BP_SYM.
20630 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20631 <bp-sym.h> and <bp-asm.h>.
20632 (__GI__setjmp): Don't use BP_SYM.
20633 (_setjmp): Likewise.
20634 (__sigsetjmp): Likewise.
20635 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20636 (L(start_addresses)): Don't use BP_SYM.
20637 (_start): Likewise.
20638 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20639 <bp-asm.h>.
20640 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20641 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20642 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20643 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20644 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20645 <bp-asm.h>.
20646 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20647 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20648 about bounded pointers.
20649 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20650 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20651 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20652 <bp-asm.h>.
20653 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20654 about bounded pointers. Remove GKM FIXME comments.
20655 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20656 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20657 <bp-asm.h>.
20658 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20659 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20660 Remove GKM FIXME comments.
20661 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20662 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20663 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20664 <bp-asm.h>.
20665 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20666 about bounded pointers. Remove GKM FIXME comment.
20667 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20668 and <bp-asm.h>.
20669 (strncmp): Don't use BP_SYM. Remove comment about bounded
20670 pointers.
20671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20672 <bp-sym.h> and <bp-asm.h>.
20673 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20675 <bp-sym.h> and <bp-asm.h>.
20676 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20677 comment.
20678
cdcf361f
PP
206792013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20680
20681 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20682 call free(NULL).
20683
3c4a2b15
DM
206842013-03-05 David S. Miller <davem@davemloft.net>
20685
20686 * po/es.po: Update from translation team.
20687
cdcf361f 206882013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
20689
20690 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20691 <bits/mman-linux.h>.
20692 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20693 is fine.
20694 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20695 <bits/mman-linux.h> to end of file.
20696 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20697 is fine.
20698 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20699 <bits/mman-linux.h> to end of file.
20700 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20701 is fine.
20702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20703 <bits/mman-linux.h> to end of file.
20704
20705 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20706 (MCL_CURRENT, MCL_FUTURE): Define here.
20707
5f67c04f
AK
207082013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20709
8a4473cc 20710 [BZ #15232]
5f67c04f
AK
20711 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20712 attribute_hidden.
20713 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20714
c3e94a95
AK
207152013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20716
20717 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20718 fourth parameter needed for rt_sigprocmask syscall.
20719 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20720 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20721 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20722 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20723 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20724 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20725
cfb6382a
JM
207262013-03-04 Joseph Myers <joseph@codesourcery.com>
20727
20728 [BZ #13550]
20729 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20730 comment about bounded pointers.
20731 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20732 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20733
539d8e01
AJ
207342013-03-04 Andreas Jaeger <aj@suse.de>
20735
20736 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20737 common definitions.
20738
20739 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20740 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20741 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20742 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
20744 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20745
2e167a70 207462013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
20747
20748 [BZ #15055]
20749 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20750 __ieee754_sqrl instead of __sqrl.
20751
68508633
JM
207522013-03-01 Joseph Myers <joseph@codesourcery.com>
20753
20754 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20755 * sysdeps/powerpc/fpu_control.h: ... here.
20756 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20757 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20758 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20759 * sysdeps/powerpc/bits/mathinline.h: ... here.
20760
7775448e
RM
207612013-03-01 Roland McGrath <roland@hack.frob.com>
20762
20763 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20764 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20765 to just [NEED_DL_SYSINFO_DSO].
20766 * elf/dl-support.c: Likewise.
20767 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20768 * elf/rtld.c (dl_main): Likewise.
20769 * elf/setup-vdso.h (setup_vdso): Likewise.
20770 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20771 * sysdeps/unix/sysv/linux/dl-sysdep.c
20772 (_dl_discover_osversion): Likewise.
20773
4e9b5995
CD
207742013-03-01 Carlos O'Donell <carlos@redhat.com>
20775
20776 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20777 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20778
e23872c8
SP
207792013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20780
e5c74c63
SP
20781 * NEWS: Mention libm performance improvements and non-x86 PI
20782 futex support.
20783
e23872c8
SP
20784 * csu/libc-start.c (__pthread_initialize_minimal): Change
20785 function arguments.
20786 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20787
b5510883
JM
207882013-02-28 Joseph Myers <joseph@codesourcery.com>
20789
20790 [BZ #13550]
20791 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20792 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20793 <bp-sym.h> and <bp-asm.h>.
20794 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20795 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20796 and <bp-asm.h>.
20797 (memcpy): Don't use BP_SYM.
20798 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20799 <bp-asm.h>.
20800 (__mpn_add_n): Don't use BP_SYM.
20801 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20802 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20803 and <bp-asm.h>.
20804 (__mpn_addmul_1): Don't use BP_SYM.
20805 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20806 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20807 <bp-sym.h>.
20808 (_setjmp): Don't use BP_SYM.
20809 (__novmx_setjmp): Likewise.
20810 (__GI__setjmp): Likewise.
20811 (__vmx_setjmp): Likewise.
20812 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20813 <bp-sym.h>.
20814 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20815 (__bzero): Don't use BP_SYM.
20816 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20817 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20818 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20819 <bp-sym.h> and <bp-asm.h>.
20820 (memcpy): Don't use BP_SYM.
20821 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20822 <bp-sym.h> and <bp-asm.h>.
20823 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20824 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20825 <bp-sym.h> and <bp-asm.h>.
20826 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20827 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20828 <bp-asm.h>.
20829 (__mpn_lshift): Don't use BP_SYM.
20830 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20831 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20832 <bp-asm.h>.
20833 (memset): Don't use BP_SYM.
20834 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20835 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20836 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20837 <bp-asm.h>.
20838 (__mpn_mul_1): Don't use BP_SYM.
20839 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20840 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20841 <bp-sym.h> and <bp-asm.h>.
20842 (memcmp): Don't use BP_SYM.
20843 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20844 <bp-sym.h> and <bp-asm.h>.
20845 (memcpy): Don't use BP_SYM.
20846 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20847 <bp-sym.h> and <bp-asm.h>.
20848 (memset): Don't use BP_SYM.
20849 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20850 <bp-sym.h> and <bp-asm.h>.
20851 (strncmp): Don't use BP_SYM.
20852 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20853 <bp-sym.h> and <bp-asm.h>.
20854 (memcpy): Don't use BP_SYM.
20855 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20856 <bp-sym.h> and <bp-asm.h>.
20857 (memset): Don't use BP_SYM.
20858 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20859 <bp-sym.h> and <bp-asm.h>.
20860 (__memchr): Don't use BP_SYM.
20861 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20862 <bp-sym.h> and <bp-asm.h>.
20863 (memcmp): Don't use BP_SYM.
20864 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20865 <bp-sym.h> and <bp-asm.h>.
20866 (memcpy): Don't use BP_SYM.
20867 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20868 <bp-sym.h> and <bp-asm.h>.
20869 (__mempcpy): Don't use BP_SYM.
20870 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20871 <bp-sym.h> and <bp-asm.h>.
20872 (__memrchr): Don't use BP_SYM.
20873 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20874 <bp-sym.h> and <bp-asm.h>.
20875 (memset): Don't use BP_SYM.
20876 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20877 <bp-sym.h> and <bp-asm.h>.
20878 (__rawmemchr): Don't use BP_SYM.
20879 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20880 <bp-sym.h> and <bp-asm.h>.
20881 (__STRCMP): Don't use BP_SYM.
20882 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20883 <bp-sym.h> and <bp-asm.h>.
20884 (strchr): Don't use BP_SYM.
20885 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20886 <bp-sym.h> and <bp-asm.h>.
20887 (__strchrnul): Don't use BP_SYM.
20888 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20889 <bp-sym.h> and <bp-asm.h>.
20890 (strlen): Don't use BP_SYM.
20891 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20892 <bp-sym.h> and <bp-asm.h>.
20893 (strncmp): Don't use BP_SYM.
20894 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20895 <bp-sym.h> and <bp-asm.h>.
20896 (__strnlen): Don't use BP_SYM.
20897 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20898 <bp-asm.h>.
20899 (__mpn_rshift): Don't use BP_SYM.
20900 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20901 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20902 <bp-sym.h> and <bp-asm.h>.
20903 (__sigsetjmp): Don't use BP_SYM.
20904 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20905 (L(start_addresses)): Don't use BP_SYM.
20906 (_start): Likewise.
20907 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20908 <bp-asm.h>.
20909 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20910 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20911 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20912 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20913 <bp-asm.h>.
20914 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20915 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20916 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20917 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20918 <bp-asm.h>.
20919 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20920 comments.
20921 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20922 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20923 <bp-asm.h>.
20924 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20925 FIXME comments.
20926 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20927 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20928 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20929 <bp-asm.h>.
20930 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20931 comment.
20932 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20933 and <bp-asm.h>.
20934 (strncmp): Don't use BP_SYM,
20935 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20936 <bp-asm.h>.
20937 (__mpn_sub_n): Don't use BP_SYM.
20938 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20939 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20940 and <bp-asm.h>.
20941 (__mpn_submul_1): Don't use BP_SYM.
20942 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20944 <bp-sym.h> and <bp-asm.h>.
20945 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20947 <bp-sym.h> and <bp-asm.h>.
20948 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20949 comment.
20950
8d19fe64
SP
209512013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20952
20953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20954 Use ZK to minimize writes to Z.
20955 (sub_magnitudes): Simplify code a bit.
20956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20957 Use ZK to minimize writes to Z.
20958 (sub_magnitudes): Simplify code a bit.
20959
85bd816a
RM
209602013-02-27 Roland McGrath <roland@hack.frob.com>
20961
20962 * csu/gmon-start.c: Add special exception to license text.
20963
b5977bf2
RH
209642013-02-27 Richard Henderson <rth@redhat.com>
20965
20966 * scripts/config.guess: Update from config.git.
20967 * scripts/config.sub: Likewise.
20968
11d6e2f2
SP
209692013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20970
09c14ed2
SP
20971 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20972
a688864e
SP
20973 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20974
6295157a
SP
20975 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20976
b8de2202
SP
20977 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20978
11d6e2f2
SP
20979 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20980
7e80ddb8
RM
209812013-02-26 Roland McGrath <roland@hack.frob.com>
20982
20983 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20984 [$(build-shared = yes].
7e80ddb8 20985
7da6d9ed
SP
209862013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20987
45f05884
SP
20988 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20989 (__mul): Reduce iterations for calculating mantissa.
20990
2236d359
SP
20991 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20992 MPTWO.
20993 (__mpranred): Likewise.
20994
7da6d9ed
SP
20995 [BZ #15160]
20996 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20997 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20998
b7688c42
PE
209992013-02-26 Paul Eggert <eggert@cs.ucla.edu>
21000
21001 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21002 Define __attribute__.
21003
53a5c423
SP
210042013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21005
21006 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21007 unused.
21008 * posix/regex_internal.h (__attribute): Remove.
21009 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21010 (re_string_context_at): Likewise.
21011 (bitset_not): Use __attribute__ and mark function as possibly
21012 unused.
21013 (bitset_merge): Likewise.
21014 (bitset_mask): Likewise.
21015 (re_string_char_size_at): Likewise.
21016 (re_string_wchar_at): Likewise.
21017 (re_string_elem_size_at): Likewise.
21018
60f5a8b5
SP
210192013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21020
2a983a2e
SP
21021 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21022 code.
21023 (cc32): Likewise.
21024
e69804d1
SP
21025 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21026 (__acr): Likewise.
21027 (__cpy): Likewise.
21028 (norm): Likewise.
21029 (denorm): Likewise.
21030 (__dbl_mp): Likewise.
21031 (add_magnitudes): Likewise.
21032 (sub_magnitudes): Likewise.
21033 (__mul): Likewise.
21034 (__inv): Likewise.
21035
2f22a1e8
SP
21036 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21037 style.
21038
8930ddc7
SP
21039 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21040 style.
21041
dc60cb11
SP
21042 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21043 code.
21044
60f5a8b5
SP
21045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21046 up changes with default code.
21047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21048 Likewise.
21049
b4d1fd33
AM
210502013-02-24 Allan McRae <allan@archlinux.org>
21051
faf6f8bc
AM
21052 * manual/socket.texi (The Internet Namespace): Order menu items
21053 to match that in the file.
21054
b4d1fd33
AM
21055 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21056 node listing of the info page menu.
21057
2366713d
JM
210582013-02-21 Joseph Myers <joseph@codesourcery.com>
21059
21060 [BZ #13550]
21061 * sysdeps/i386/bp-asm.h: Remove file.
21062 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21063 (PARMS): Do not use macros from bp-asm.h.
21064 (S1): Likewise.
21065 (S2): Likewise.
21066 (SIZE): Likewise.
21067 (__mpn_add_n): Do not use BP_SYM
21068 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21069 "bp-asm.h".
21070 (PARMS): Do not use macros from bp-asm.h.
21071 (S1): Likewise.
21072 (SIZE): Likewise.
21073 (__mpn_addmul_1): Do not use BP_SYM
21074 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21075 "bp-asm.h".
21076 (PARMS): Do not use macros from bp-asm.h.
21077 (SIGMSK): Likewise.
21078 (_setjmp): Likewise. Do not use BP_SYM.
21079 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21080 "bp-asm.h".
21081 (PARMS): Do not use macros from bp-asm.h.
21082 (SIGMSK): Likewise.
21083 (setjmp): Likewise. Do not use BP_SYM.
21084 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21085 "bp-asm.h".
21086 (PARMS): Do not use macros from bp-asm.h.
21087 (__frexp): Do not use BP_SYM.
21088 (frexp): Likewise.
21089 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21090 "bp-asm.h".
21091 (PARMS): Do not use macros from bp-asm.h.
21092 (__frexpf): Do not use BP_SYM.
21093 (frexpf): Likewise.
21094 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21095 "bp-asm.h".
21096 (PARMS): Do not use macros from bp-asm.h.
21097 (__frexpl): Do not use BP_SYM.
21098 (frexpl): Likewise.
21099 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21100 "bp-asm.h".
21101 (PARMS): Do not use macros from bp-asm.h.
21102 (__remquo): Do not use BP_SYM.
21103 (remquo): Likewise.
21104 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21105 "bp-asm.h".
21106 (PARMS): Do not use macros from bp-asm.h.
21107 (__remquof): Do not use BP_SYM.
21108 (remquof): Likewise.
21109 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21110 "bp-asm.h".
21111 (PARMS): Do not use macros from bp-asm.h.
21112 (__remquol): Do not use BP_SYM.
21113 (remquol): Likewise.
21114 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21115 "bp-asm.h".
21116 (PARMS): Do not use macros from bp-asm.h.
21117 (DEST): Likewise.
21118 (SRC): Likewise.
21119 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
21120 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21121 "bp-asm.h".
21122 (PARMS): Do not use macros from bp-asm.h.
21123 (strlen): Do not use BP_SYM.
21124 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21125 "bp-asm.h".
21126 (PARMS): Do not use macros from bp-asm.h.
21127 (S1): Likewise.
21128 (S2): Likewise.
21129 (SIZE): Likewise.
21130 (__mpn_add_n): Do not use BP_SYM.
21131 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21132 "bp-asm.h".
21133 (PARMS): Do not use macros from bp-asm.h.
21134 (S1): Likewise.
21135 (SIZE): Likewise.
21136 (__mpn_addmul_1): Do not use BP_SYM.
21137 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21138 weak_alias.
21139 (bzero): Likewise.
21140 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21141 "bp-asm.h".
21142 (PARMS): Do not use macros from bp-asm.h.
21143 (S): Likewise.
21144 (SIZE): Likewise.
21145 (__mpn_lshift): Do not use BP_SYM.
21146 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21147 "bp-asm.h".
21148 (PARMS): Do not use macros from bp-asm.h.
21149 (DEST): Likewise.
21150 (SRC): Likewise.
21151 (LEN): Likewise.
21152 (memcpy): Likewise. Do not use BP_SYM.
21153 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21154 libc_hidden_def and weak_alias.
21155 (mempcpy): Do not use BP_SYM in weak_alias.
21156 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21157 "bp-asm.h".
21158 (PARMS): Do not use macros from bp-asm.h.
21159 (DEST): Likewise.
21160 (LEN): Likewise.
21161 [!BZERO_P] (CHR): Likewise.
21162 (memset): Likewise. Do not use BP_SYM.
21163 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21164 "bp-asm.h".
21165 (PARMS): Do not use macros from bp-asm.h.
21166 (S1): Likewise.
21167 (SIZE): Likewise.
21168 (__mpn_mul_1): Do not use BP_SYM.
21169 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21170 "bp-asm.h".
21171 (PARMS): Do not use macros from bp-asm.h.
21172 (S): Likewise.
21173 (SIZE): Likewise.
21174 (__mpn_rshift): Do not use BP_SYM.
21175 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21176 "bp-asm.h".
21177 (PARMS): Do not use macros from bp-asm.h.
21178 (STR): Likewise.
21179 (CHR): Likewise.
21180 (strchr): Likewise. Do not use BP_SYM.
21181 (index): Do not use BP_SYM in weak_alias.
21182 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21183 "bp-asm.h".
21184 (PARMS): Do not use macros from bp-asm.h.
21185 (DEST): Likewise.
21186 (SRC): Likewise.
21187 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
21188 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21189 "bp-asm.h".
21190 (PARMS): Do not use macros from bp-asm.h.
21191 (strlen): Do not use BP_SYM.
21192 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21193 "bp-asm.h".
21194 (PARMS): Do not use macros from bp-asm.h.
21195 (S1): Likewise.
21196 (S2): Likewise.
21197 (SIZE): Likewise.
21198 (__mpn_sub_n): Do not use BP_SYM.
21199 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21200 "bp-asm.h".
21201 (PARMS): Do not use macros from bp-asm.h.
21202 (S1): Likewise.
21203 (SIZE): Likewise.
21204 (__mpn_submul_1): Do not use BP_SYM.
21205 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21206 "bp-asm.h".
21207 (PARMS): Do not use macros from bp-asm.h.
21208 (S1): Likewise.
21209 (S2): Likewise.
21210 (SIZE): Likewise.
21211 (__mpn_add_n): Do not use BP_SYM.
21212 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21213 weak_alias.
21214 (bzero): Likewise.
21215 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21216 "bp-asm.h".
21217 (PARMS): Do not use macros from bp-asm.h.
21218 (BLK2): Likewise.
21219 (LEN): Likewise.
21220 (memcmp): Do not use BP_SYM.
21221 (bcmp): Do not use BP_SYM in weak_alias.
21222 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21223 "bp-asm.h".
21224 (PARMS): Do not use macros from bp-asm.h.
21225 (DEST): Likewise.
21226 (SRC): Likewise.
21227 (LEN): Likewise.
21228 (memcpy): Likewise. Do not use BP_SYM.
21229 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21230 "bp-asm.h".
21231 (PARMS): Do not use macros from bp-asm.h.
21232 (DEST): Likewise.
21233 (SRC): Likewise.
21234 (LEN): Likewise.
21235 (memmove): Likewise. Do not use BP_SYM.
21236 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21237 "bp-asm.h".
21238 (PARMS): Do not use macros from bp-asm.h.
21239 (DEST): Likewise.
21240 (SRC): Likewise.
21241 (LEN): Likewise.
21242 (__mempcpy): Likewise. Do not use BP_SYM.
21243 (mempcpy): Do not use BP_SYM in weak_alias.
21244 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21245 "bp-asm.h".
21246 (PARMS): Do not use macros from bp-asm.h.
21247 (DEST): Likewise.
21248 (LEN): Likewise.
21249 [!BZERO_P] (CHR): Likewise.
21250 (memset): Likewise. Do not use BP_SYM.
21251 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21252 "bp-asm.h".
21253 (PARMS): Do not use macros from bp-asm.h.
21254 (STR2): Likewise.
21255 (strcmp): Do not use BP_SYM.
21256 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21257 "bp-asm.h".
21258 (PARMS): Do not use macros from bp-asm.h.
21259 (STR): Likewise.
21260 (DELIM): Likewise.
21261 [USE_AS_STRTOK_R] (SAVE): Likewise.
21262 (FUNCTION): Likewise. Do not use BP_SYM.
21263 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
21264 aliases.
21265 (strtok_r): Likewise.
21266 (__GI___strtok_r): Likewise.
21267 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21268 (PARMS): Do not use macros from bp-asm.h.
21269 (S): Likewise.
21270 (SIZE): Likewise.
21271 (__mpn_lshift): Do not use BP_SYM.
21272 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21273 (PARMS): Do not use macros from bp-asm.h.
21274 (STR): Likewise.
21275 (CHR): Likewise.
21276 (__memchr): Do not use BP_SYM.
21277 (memchr): Do not use BP_SYM in weak_alias.
21278 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21279 (PARMS): Do not use macros from bp-asm.h.
21280 (BLK2): Likewise.
21281 (LEN): Likewise.
21282 (memcmp): Do not use BP_SYM.
21283 (bcmp): Do not use BP_SYM in weak_alias.
21284 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
21285 (PARMS): Do not use macros from bp-asm.h.
21286 (S1): Likewise.
21287 (SIZE): Likewise.
21288 (__mpn_mul_1): Do not use BP_SYM.
21289 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
21290 "bp-asm.h".
21291 (PARMS): Do not use macros from bp-asm.h.
21292 (STR): Likewise.
21293 (CHR): Likewise.
21294 (__rawmemchr): Do not use BP_SYM.
21295 (rawmemchr): Do not use BP_SYM in weak_alias.
21296 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
21297 (PARMS): Do not use macros from bp-asm.h.
21298 (S): Likewise.
21299 (SIZE): Likewise.
21300 (__mpn_rshift): Do not use BP_SYM.
21301 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
21302 (PARMS): Do not use macros from bp-asm.h.
21303 (SIGMSK): Likewise.
21304 (__sigsetjmp): Likewise. Do not use BP_SYM.
21305 * sysdeps/i386/start.S: Do not include "bp-sym.h".
21306 (_start): Do not use BP_SYM.
21307 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
21308 (PARMS): Do not use macros from bp-asm.h.
21309 (DEST): Likewise.
21310 (SRC): Likewise.
21311 (__stpcpy): Likewise. Do not use BP_SYM.
21312 (stpcpy): Do not use BP_SYM in weak_alias.
21313 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
21314 "bp-asm.h".
21315 (PARMS): Do not use macros from bp-asm.h.
21316 (DEST): Likewise.
21317 (SRC): Likewise.
21318 (LEN): Likewise.
21319 (__stpncpy): Likewise. Do not use BP_SYM.
21320 (stpncpy): Do not use BP_SYM in weak_alias.
21321 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
21322 (PARMS): Do not use macros from bp-asm.h.
21323 (STR): Likewise.
21324 (CHR): Likewise.
21325 (strchr): Likewise. Do not use BP_SYM.
21326 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
21327 "bp-asm.h".
21328 (PARMS): Do not use macros from bp-asm.h.
21329 (STR): Likewise.
21330 (CHR): Likewise.
21331 (__strchrnul): Likewise. Do not use BP_SYM.
21332 (strchrnul): Do not use BP_SYM in weak_alias.
21333 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
21334 "bp-asm.h".
21335 (PARMS): Do not use macros from bp-asm.h.
21336 (STOP): Likewise.
21337 (strcspn): Do not use BP_SYM.
21338 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
21339 "bp-asm.h".
21340 (PARMS): Do not use macros from bp-asm.h.
21341 (STR): Likewise.
21342 (STOP): Likewise.
21343 (strpbrk): Likewise. Do not use BP_SYM.
21344 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
21345 "bp-asm.h".
21346 (PARMS): Do not use macros from bp-asm.h.
21347 (STR): Likewise.
21348 (CHR): Likewise.
21349 (strrchr): Likewise. Do not use BP_SYM.
21350 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
21351 (PARMS): Do not use macros from bp-asm.h.
21352 (SKIP): Likewise.
21353 (strspn): Do not use BP_SYM.
21354 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
21355 (PARMS): Do not use macros from bp-asm.h.
21356 (STR): Likewise.
21357 (DELIM): Likewise.
21358 (SAVE): Likewise.
21359 (FUNCTION): Likewise. Do not use BP_SYM.
21360 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
21361 aliases.
21362 (strtok_r): Likewise.
21363 (__GI___strtok_r): Likewise.
21364 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21365 (PARMS): Do not use macros from bp-asm.h.
21366 (S1): Likewise.
21367 (S2): Likewise.
21368 (SIZE): Likewise.
21369 (__mpn_sub_n): Do not use BP_SYM.
21370 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
21371 "bp-asm.h".
21372 (PARMS): Do not use macros from bp-asm.h.
21373 (S1): Likewise.
21374 (SIZE): Likewise.
21375 (__mpn_submul_1): Do not use BP_SYM.
21376 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
21377 <bp-sym.h>.
21378 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
21379 and <bp-asm.h>.
21380 (PARMS): Do not use macros from bp-asm.h.
21381 (FLAGS): Likewise.
21382 (PTID): Likewise.
21383 (TLS): Likewise.
21384 (CTID): Likewise.
21385 (__clone): Do not use BP_SYM.
21386 (clone): Do not use BP_SYM in weak_alias.
21387 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
21388 and <bp-asm.h>.
21389 (PARMS): Do not use macros from bp-asm.h.
21390 (LEN): Likewise.
21391 (__mmap64): Do not use BP_SYM.
21392 (mmap64): Do not use BP_SYM in weak_alias.
21393 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21394 <bp-sym.h> and <bp-asm.h>.
21395 (PARMS): Do not use macros from bp-asm.h.
21396 (__posix_fadvise64_l64): Do not use BP_SYM.
21397 * sysdeps/unix/sysv/linux/i386/semtimedop.S
21398 (PARMS): Do not use macros from bp-asm.h.
21399 (NSOPS): Likewise.
21400 (semtimedop): Do not use BP_SYM.
21401 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21402 and <bp-asm.h>.
21403
582a3cff
AM
214042013-02-21 Allan McRae <allan@archlinux.org>
21405
21406 * manual/message.texi (Charset conversion in gettext):
21407 Move @end statement to beginning of line.
21408
bab8a695
SP
214092013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21410
80945231
SP
21411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21412 static.
21413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21414 Likewise.
21415
bab8a695
SP
21416 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21417 (denorm): Likewise.
21418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21420
e21d7aa7
AK
214212013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21422
21423 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21424 tail-call to the resolved function if pltexit isn't needed.
21425
4c7a4263
SP
214262013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21427
21428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21429 or Y being zero as being unlikely.
21430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21431 Likewise.
21432
41f49342
CD
214332013-02-20 Carlos O'Donell <carlos@redhat.com>
21434
21435 * manual/nss.texi (System Databases and Name Service Switch):
21436 Remove frobnicate @pxref.
21437
50022a93
TS
214382013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21439
21440 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21441 __attribute__ ((unused)) to __attribute__ ((__unused__)).
21442
08cbd996
PM
214432013-02-20 Petr Machata <pmachata@redhat.com>
21444
21445 * elf/elf.h (R_ARM_TARGET1): New macro.
21446 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21447 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21448 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21449 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21450 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21451 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21452 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21453 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21454 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21455 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21456 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21457 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21458 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21459 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21460 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21461 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21462 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21463 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21464 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21465 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21466 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21467 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21468 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21469 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21470 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21471 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21472 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21473 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21474 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21475 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21476 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21477 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21478 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21479 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21480 (R_ARM_THM_GOT_BREL12): Likewise.
21481 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21482 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21483 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21484 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21485 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21486 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21487 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21488 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21489 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21490
c7b275d6
TS
214912013-02-20 Thomas Schwinge <thomas@codesourcery.com>
21492
21493 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21494 __attribute_used__ to __attribute__ ((unused)).
21495
20cd7fb3
SP
214962013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21497
21498 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21499 powerpc mpa.c.
21500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21501 comment formatting.
21502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21503
92945b52
JM
215042013-02-19 Joseph Myers <joseph@codesourcery.com>
21505
21506 [BZ #13550]
21507 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21508 Remove macro.
21509 (ENTER): Remove both macro definitions.
21510 (LEAVE): Likewise.
21511 (CHECK_BOUNDS_LOW): Likewise.
21512 (CHECK_BOUNDS_HIGH): Likewise.
21513 (CHECK_BOUNDS_BOTH): Likewise.
21514 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21515 (RETURN_BOUNDED_POINTER): Likewise.
21516 (RETURN_NULL_BOUNDED_POINTER): Likewise.
21517 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21518 (POP_ERRNO_LOCATION_RETURN): Likewise.
21519 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21520 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21521 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21522 macros.
21523 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21524 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21525 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21526 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21527 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21528 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21529 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21530 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21531 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21532 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21533 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21534 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21535 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21536 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21537 removed macros.
21538 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21539 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21540 macros.
21541 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21542 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21543 * sysdeps/i386/i586/memset.S (memset): Likewise.
21544 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21545 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21546 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21547 macros.
21548 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21549 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21550 Change uses of L(2) to L(out).
21551 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21552 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21553 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21554 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21555 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21556 removed macros.
21557 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21558 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21559 macros.
21560 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21561 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21562 (RETURN): Do not use macro LEAVE.
21563 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21564 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21565 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21566 * sysdeps/i386/i686/memset.S (memset): Likewise.
21567 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21568 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21569 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21570 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21571 Likewise.
21572 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21573 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
21574 L(1_2) and L(1_3) into L(1).
21575 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21576 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21577 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21578 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21579 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21580 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21581 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21582 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21583 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21584 macros.
21585 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21586 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21587 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21588 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21589 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21590 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21591 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21592 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21593 * sysdeps/i386/strcspn.S (strcspn): Likewise.
21594 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21595 * sysdeps/i386/strrchr.S (strrchr): Likewise.
21596 * sysdeps/i386/strspn.S (strspn): Likewise.
21597 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21598 conditional code.
21599 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21600 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21601 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21602 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
21603 L(1_3) into L(1_1).
21604 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21605 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21606 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21607 macros.
21608 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21609
2389741a
JJ
216102013-02-19 Jakub Jelinek <jakub@redhat.com>
21611
21612 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21613 macro.
21614
2016b3cd
SP
216152013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21616
e4f22324
SP
21617 * math/atest-exp.c (exp_mpn): Remove ROUND.
21618 * math/atest-exp2.c (exp_mpn): Likewise.
21619 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21620
2016b3cd
SP
21621 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21622 * stdlib/tst-tls-atexit-lib.c: Likewise.
21623 * stdlib/tst-tls-atexit.c: Likewise.
21624
4be9b544
MF
216252013-02-18 Mike Frysinger <vapier@gentoo.org>
21626
21627 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21628 and __attribute_alloc_size__.
21629
2f62b9ee
MF
216302013-02-18 Mike Frysinger <vapier@gentoo.org>
21631
21632 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21633 __attribute_alloc_size__.
21634 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21635 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21636
6ff444c4
MF
216372013-02-18 Mike Frysinger <vapier@gentoo.org>
21638
21639 * include/programs/xmalloc.h: New file.
21640 * catgets/gencat.c: Include it.
21641 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21642 * elf/pldd.c: Likewise.
21643 * iconv/iconv_charmap.c: Likewise.
21644 * iconv/iconvconfig.c: Likewise.
21645 * iconv/strtab.c: Likewise.
21646 * locale/programs/locale.c: Likewise.
21647 * locale/programs/localedef.h: Likewise.
21648 * locale/programs/simple-hash.c: Likewise.
21649 * nscd/nscd.h: Likewise.
21650 * nss/makedb.c: Likewise.
21651 * sysdeps/generic/ldconfig.h: Likewise.
21652
be179c8a
SP
216532013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21654
ba384f6e
SP
21655 * Versions.def: Add GLIBC_2.18.
21656 * include/link.h (struct link_map): New member l_tls_dtor_count.
21657 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21658 (__call_tls_dtors): Likewise.
21659 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21660 __cxa_thread_atexit_impl.
21661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21662 Likewise.
21663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21664 Likewise.
21665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21666 Likewise.
21667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21668 Likewise.
21669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21671 Likewise.
21672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21673 Likewise.
21674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21676 Likewise.
21677 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21678 (tests): Add test case tst-tls-atexit.
21679 (modules-names): Add shared library for tst-tls-atexit.
85891aca 21680 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
21681 (GLIBC_PRIVATE): Add __call_tls_dtors.
21682 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21683 for libstdc++.
21684 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21685 * stdlib/tst-tls-atexit.c: New test case.
21686 * stdlib/tst-tls-atexit-lib.c: New test case.
21687
ffaa74cf 21688 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 21689
be179c8a
SP
21690 * elf/Versions (ld): Add _dl_find_dso_for_object.
21691 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21692 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21693 (dl_open_worker): Use _dl_find_dso_for_object.
21694 * elf/dl-sym.c (do_sym): Likewise.
21695 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21696
f78b5caa
AK
216972013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21698
21699 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21700 Syntactic changes only.
21701 (_dl_runtime_profile): Do a tail-call to the resolved function.
21702
29691210
JM
217032013-02-17 Joseph Myers <joseph@codesourcery.com>
21704
21705 [BZ #13550]
21706 * sysdeps/x86_64/bp-asm.h: Remove file.
21707 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21708 <bp-sym.h> and <bp-asm.h>.
21709 (__clone): Do not use BP_SYM.
21710 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21711 <bp-sym.h> and <bp-asm.h>.
21712 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21713 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21714 "bp-asm.h".
21715 (_setjmp): Do not use BP_SYM.
21716 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21717 "bp-asm.h".
21718 (setjmp): Do not use BP_SYM.
21719 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21720 libc_hidden_def.
21721 (mempcpy): Do not use BP_SYM in weak_alias.
21722 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21723 "bp-asm.h".
21724 (strchr): Do not use BP_SYM.
21725 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21726 "bp-asm.h".
21727 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21728 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21729 (_start): Do not use BP_SYM.
21730 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21731 "bp-asm.h".
21732 (strcat): Do not use BP_SYM.
21733 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21734 "bp-asm.h".
21735 (STRCMP): Do not use BP_SYM.
21736 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21737 "bp-asm.h".
21738 (STRCPY): Do not use BP_SYM.
21739 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21740 "bp-asm.h".
21741 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21742 "bp-asm.h".
21743 (FUNCTION): Do not use BP_SYM.
21744 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21745 weak_alias.
21746 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21747
f238fd19
AJ
217482013-02-17 Andreas Jaeger <aj@suse.de>
21749
21750 * time/Versions: Sort entries.
21751 * string/Versions: Likewise.
21752 * resolv/Versions: Likewise.
21753 * posix/Versions: Likewise.
21754 * iconv/Versions: Likewise.
21755 * elf/Versions: Likewise.
21756 * wcsmbs/Versions: Likewise.
21757
bd07f23c 217582013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 21759
22af19f9
SP
21760 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21761 loop termination condition.
21762
4709fe76
SP
21763 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21764 variable to calculate EZ.
21765 (__sqr): Likewise.
2d0e0f29
SP
21766
21767 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21768 the lower precision input.
21769
daaa7713
JM
217702013-02-15 Joseph Myers <joseph@codesourcery.com>
21771
21772 [BZ #13550]
21773 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21774 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21775 (run-via-rtld-prefix): Do not handle %-bp tests.
21776 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21777 (all-object-suffixes): Remove .ob.
21778 (bppfx): Remove variable.
21779 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21780 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21781 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21782 [$(build-bounded) = yes] (libtype.ob): Likewise.
21783 * Makerules (elide-routines.ob): Remove variable.
21784 (do-tests-clean): Do not handle *-bp.out.
21785 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21786 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21787 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21788 (tests): Do not include $(tests-bp.out).
21789 (xtests): Do not include $(xtests-bp.out).
21790 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21791 [$(build-bounded) = yes] ($(addprefix
21792 $(objpfx),$(binaries-bounded))): Remove rule.
21793 ($(objpfx)%-bp.out): Remove rule.
21794 * config.make.in (build-bounded): Remove variable.
21795 * crypt/Makefile [$(build-bounded) = yes]
21796 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21797 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21798 append to variable.
21799 [$(build-bounded) = yes] (install-lib): Likewise.
21800 [$(build-bounded) = yes] (generated): Likewise.
21801 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21802 Remove rule.
21803 * intl/Makefile [$(build-bounded) = yes]
21804 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21805 * math/Makefile [$(build-bounded) = yes]
21806 ($(tests:%=$(objpfx)%-bp): Likewise.
21807 * misc/Makefile [$(build-bounded) = yes]
21808 ($(objpfx)tst-tsearch-bp): Likewise.
21809 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21810 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21811 Remove dependency.
21812 * string/Makefile (o-objects.ob): Remove variable.
21813 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21814 (CFLAGS-.ob): Remove variable.
21815 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21816 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21817 both definitions of variable.
21818 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21819 (ASFLAGS-.ob): Remove variable.
21820
e97ed6dd
JM
218212013-02-14 Joseph Myers <joseph@codesourcery.com>
21822
2bdd4ca6
JM
21823 [BZ #13550]
21824 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21825 Remove __BOUNDED_POINTERS__ from condition.
21826 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21827 * string/bits/string2.h [!__NO_STRING_INLINES &&
21828 !__BOUNDED_POINTERS__]: Likewise.
21829 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21830 Likewise.
21831 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21832 Remove conditional code.
21833 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21834 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21835 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21836 condition.
21837
e97ed6dd
JM
21838 [BZ #13550]
21839 * csu/libc-start.c: Do not include <bp-sym.h>.
21840 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21841 * elf/dl-open.c: Do not include <bp-sym.h>.
21842 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21843 * math/fegetenv.c: Do not include <bp-sym.h>.
21844 (fegetenv): Do not use BP_SYM in versioned symbols.
21845 * nptl/sysdeps/pthread/bits/libc-lockP.h
21846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21847 <bp-sym.h>.
21848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21849 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21851 (__pthread_mutex_destroy): Likewise.
21852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21853 (__pthread_mutex_lock): Likewise.
21854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21855 (__pthread_mutex_trylock): Likewise.
21856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21857 (__pthread_mutex_unlock): Likewise.
21858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21859 (__pthread_mutexattr_init): Likewise.
21860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21861 (__pthread_mutexattr_destroy): Likewise.
21862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21863 (__pthread_mutexattr_settype): Likewise.
21864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21865 (__pthread_rwlock_init): Likewise.
21866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21867 (__pthread_rwlock_destroy): Likewise.
21868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21869 (__pthread_rwlock_rdlock): Likewise.
21870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21871 (__pthread_rwlock_tryrdlock): Likewise.
21872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21873 (__pthread_rwlock_wrlock): Likewise.
21874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21875 (__pthread_rwlock_trywrlock): Likewise.
21876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21877 (__pthread_rwlock_unlock): Likewise.
21878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21879 (__pthread_key_create): Likewise.
21880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21881 (__pthread_setspecific): Likewise.
21882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21883 (__pthread_getspecific): Likewise.
21884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21885 Likewise.
21886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21887 (_pthread_cleanup_push_defer): Likewise.
21888 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21889 (_pthread_cleanup_pop_restore): Likewise.
21890 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21891 (pthread_setcancelstate): Likewise.
21892 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21893 <bp-sym.h>.
21894 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21895 (memchr): Do not use BP_SYM in weak_alias.
21896 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21897 (fegetenv): Do not use BP_SYM in versioned symbols.
21898 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21899 (fesetenv): Do not use BP_SYM in versioned symbols.
21900 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21901 (feupdateenv): Do not use BP_SYM in versioned symbols.
21902 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21903 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21904 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21905 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21906 (open64): Do not use BP_SYM in weak_alias.
21907 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21908 (fegetenv): Do not use BP_SYM in versioned symbols.
21909 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21910 (fesetenv): Do not use BP_SYM in versioned symbols.
21911 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21912 (feupdateenv): Do not use BP_SYM in versioned symbols.
21913 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21914 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21915 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21916 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21917 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21918 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21919 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21920 <bp-sym.h>.
21921 (__libc_start_main): Do not use BP_SYM.
21922
d6752ccd
SP
219232013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21924
cb57ce60
SP
21925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21926 redundant return line.
21927 (norm): Likewise.
21928 (denorm): Likewise.
21929 (dbl_mp): Likewise.
21930 (sub_magnitudes): Likewise.
21931 (__add): Likewise.
21932 (__sub): Likewise.
21933 (__mul): Likewise.
21934 (__inv): Likewise.
21935 (__dvd): Likewise.
21936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21937 (norm): Likewise.
21938 (denorm): Likewise.
21939 (dbl_mp): Likewise.
21940 (sub_magnitudes): Likewise.
21941 (__add): Likewise.
21942 (__sub): Likewise.
21943 (__mul): Likewise.
21944 (__inv): Likewise.
21945 (__dvd): Likewise.
21946
f414520d
SP
21947 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21948 instead of __mul.
21949 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21950 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21951 (cc32): Likewise.
21952
d6752ccd
SP
21953 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21954 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21955 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21956 of __mul for squares.
21957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21958 function
21959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21960 Likewise.
21961 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21962 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21963
70d9946a
JM
219642013-02-13 Joseph Myers <joseph@codesourcery.com>
21965
21966 [BZ #13550]
21967 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21968 code.
21969 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21970 prototype or function definition. Rename ubp_* variables and
21971 parameters. Remove argv definitions conditional on
21972 [__BOUNDED_POINTERS__].
21973 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21974 * elf/dl-runtime.c (_dl_fixup): Likewise.
21975 * include/set-hooks.h (RUN_HOOK): Likewise.
21976 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21977 definition.
21978 * string/strcpy.c (strcpy): Do not use __unbounded.
21979 * sysdeps/generic/frame.h (struct layout): Likewise.
21980 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21981 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21982 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21983 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21984 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21985 (__backtrace): Likewise.
21986 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21987 use __ptrvalue.
21988 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21989 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21990 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21991 Likewise.
21992 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21993 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21994 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21995 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21996 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21997 Do not use __unbounded.
21998 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21999 Rename __unboundedrlimits parameter to rlimits in prototype.
22000 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22001 Do not use __unbounded.
22002 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22003 not use __ptrvalue.
22004 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22005 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22006 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22007 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22008 __ptrvalue or __unbounded.
22009 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22010 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22011 use __unbounded.
22012 (__new_msgctl): Do not use __ptrvalue.
22013 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22014 __unbounded.
22015 (__libc_msgrcv): Do not use __ptrvalue.
22016 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22017 startup_info): Do not use __unbounded.
22018 (__libc_start_main): Likewise. Rename ubp_* variables and
22019 parameters. Remove argv definitions conditional on
22020 [__BOUNDED_POINTERS__].
22021 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22022 __ptrvalue.
22023 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22024 use __unbounded.
22025 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22026 or __ptrvalue.
22027 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22028 use __unbounded.
22029 (__new_shmctl): Do not use __ptrvalue.
22030 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22031 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22032 Likewise.
22033 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22034 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22035 (__libc_sigaction): Likewise.
22036 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22037 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22038 Likewise.
22039 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22040
cc7834d6
OB
220412013-02-13 Ondřej Bílka <neleai@seznam.cz>
22042
ffb1ec7b 22043 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
22044
22045 * string/mempcpy.c: Implement by calling memcpy.
22046
bdf02814
SP
220472013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22048
c2af38aa
SP
22049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22050
4e92d59e
SP
22051 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22052 evaluation.
22053
909279a5
SP
22054 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22055 values in the mantissa.
22056
bdf02814
SP
22057 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22058 minimize writes to Z.
22059 (sub_magnitudes): Simplify code a bit.
22060
cd525923
RM
220612013-02-12 Roland McGrath <roland@hack.frob.com>
22062
22063 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22064 from the message. The linker prefixes all warnings with that already.
22065
7e2f0d2d
AS
220662013-02-12 Andreas Schwab <schwab@suse.de>
22067
a445af0b
AS
22068 [BZ #15078]
22069 * posix/regexec.c (extend_buffers): Add parameter min_len.
22070 (check_matching): Pass minimum needed length.
22071 (clean_state_log_if_needed): Likewise.
22072 (get_subexp): Likewise.
22073 * posix/Makefile (tests): Add bug-regex34.
22074 (bug-regex34-ENV): Define.
22075 * posix/bug-regex34.c: New file.
22076
7e2f0d2d
AS
22077 [BZ #11561]
22078 * posix/regcomp.c (parse_bracket_exp): When looking up collating
22079 elements compare against the byte sequence of it, not its name.
22080 * posix/Makefile (tests): Add bug-regex35.
22081 (bug-regex35-ENV): Define.
22082 * posix/bug-regex35.c: New file.
22083
a175b684
TV
220842013-02-11 Tom de Vries <tom@codesourcery.com>
22085
22086 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
22087 comment.
22088 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22089 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22090 (CHECK_EOL): Add undef.
22091
310998fe 220922013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
22093
22094 * bits/stdlib-bsearch.h: New file.
22095 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 22096 * stdlib/stdlib.h: Likewise.
41eda41d 22097
8ded91fb
RM
220982013-02-11 Roland McGrath <roland@hack.frob.com>
22099
22100 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22101 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22102 declaration.
22103 * manual/search.texi (Array Search Function): Add missing const in
22104 lfind prototype.
22105 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22106 declaration to use rlim_t.
22107 (Basic Scheduling Functions): Remove erroneous const from
22108 sched_getparam prototype. Remove erroneous * from
22109 sched_get_priority_max and sched_get_priority_min prototypes.
22110 (Resource Usage): Fix summary @comment on vtimes to refer to
22111 sys/vtimes.h rather than vtimes.h.
22112 Add missing *s in vtimes prototype.
22113 (Limits on Resources): Fix ulimit prototype to return long int.
22114 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22115 prototypes to use long int rather than double.
22116 (BSD Random): Fix initstate and setstate to use char *, not void *.
22117 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22118 prototype to make second argument 'struct aiocb64 *const[]'.
22119 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22120 (Status of AIO Operations): Remove erroneous const in aio_return and
22121 aio_return64 prototypes.
22122 (Synchronizing I/O): Fix sync prototype to return void.
22123 * manual/startup.texi (Suboptions): Remove an erroneous const in
22124 getsubopt prototype.
22125 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22126 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22127 use size_t rather than int.
22128 (Scanning All Users): Likewise for getpwent_r.
22129 (Setting Groups): Add missing const to setgroups prototype.
22130 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22131 * manual/socket.texi (Host Names): Fix gethostbyaddr and
22132 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22133 'const void *' rather than 'const char *'.
22134 (Host Address Functions): Likewise for inet_ntop.
22135 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22136 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22137 ssize_t for return value.
22138 (Sending Data): Likewise for send, sendto, sendmsg.
22139 (Socket Option Functions): Add a missing const in setsockopt prototype.
22140 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22141 use wchar_t for the argument.
22142 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22143 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22144 take no arguments.
22145 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22146 double/float/long double for second argument.
22147 Fix return types of significand, significandf, significandl.
22148 * manual/filesys.texi (Setting Permissions): Use mode_t for second
22149 argument in fchmod prototype.
22150 (File Owner): Use uid_t and gid_t in fchown prototype.
22151 (File Times): Add const to utimes, futimes, and lutimes prototypes.
22152 (Making Special Files): Use mode_t and dev_t in mknod prototype.
22153 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22154 use 'const struct dirent **' as argument types to CMP function pointer
22155 argument.
22156 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22157 (File Times): Fix summary magic @comment for struct utimbuf and utime
22158 to refer to utime.h, not time.h.
22159 * manual/string.texi (Argz Functions): Add missing const in
22160 argz_extract and argz_next prototypes.
22161 (Finding Tokens in a String): Likewise for basename.
22162 (String/Array Comparison): Fix typo in wcscasecmp prototype.
22163 (Copying and Concatenation): Fix typo in wmemmove prototype.
22164 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22165 (Signal Stack): Remove erroneous const in sigstack prototype.
22166 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22167 prototype.
22168 (Simple Calendar Time): Likewise for stime.
22169 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22170 prototype.
22171 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22172 say sys/sysctl.h instead.
22173 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22174 and vsyslog prototypes.
22175
fe77fe6d
TV
221762013-02-11 Tom de Vries <tom@codesourcery.com>
22177
22178 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22179 Remove.
22180
3a09b620
RM
221812013-02-11 Roland McGrath <roland@hack.frob.com>
22182
22183 * misc/sys/mman.h: Fix typo in mremap comment.
22184
550a0b89
RM
221852013-02-08 Roland McGrath <roland@hack.frob.com>
22186
22187 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22188 the '\0' terminator.
22189
a2da1673
JM
221902013-02-08 Joseph Myers <joseph@codesourcery.com>
22191
22192 [BZ #13550]
22193 * debug/segfault.c: Don't include <bp-checks.h>.
22194 * sysdeps/generic/bp-checks.h: Remove file.
22195 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22196 (__GETDENTS): Don't use CHECK_N.
22197 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22198 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22199 (__getgroups): Don't use CHECK_N.
22200 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22201 (setgroups): Don't use CHECK_N.
22202 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22203 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22204 (__libc_msgrcv): Don't use CHECK_N.
22205 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22206 (__libc_msgsnd): Don't use CHECK_N.
22207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22208 <bp-checks.h>.
22209 (__libc_pread): Don't use CHECK_N.
22210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22211 include <bp-checks.h>.
22212 (__libc_pread64): Don't use CHECK_N.
22213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22214 include <bp-checks.h>.
22215 (__libc_pwrite): Don't use CHECK_N.
22216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22217 include <bp-checks.h>.
22218 (__libc_pwrite64): Don't use CHECK_N.
22219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22220 <bp-checks.h>.
22221 (__libc_pread): Don't use CHECK_N.
22222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22223 include <bp-checks.h>.
22224 (__libc_pread64): Don't use CHECK_N.
22225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22226 include <bp-checks.h>.
22227 (__libc_pwrite): Don't use CHECK_N.
22228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22229 include <bp-checks.h>.
22230 (__libc_pwrite64): Don't use CHECK_N.
22231 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22232 (do_pread): Don't use CHECK_N.
22233 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22234 (do_pread64): Don't use CHECK_N.
22235 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22236 (do_pwrite): Don't use CHECK_N.
22237 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22238 (do_pwrite64): Don't use CHECK_N.
22239 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22240 (__libc_readv): Don't use CHECK_N.
22241 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22242 (semop): Don't use CHECK_N.
22243 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22244 <bp-checks.h>.
22245 (semtimedop): Don't use CHECK_N.
22246 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22247 (__libc_pread): Don't use CHECK_N.
22248 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22249 <bp-checks.h>.
22250 (__libc_pread64): Don't use CHECK_N.
22251 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22252 <bp-checks.h>.
22253 (__libc_pwrite): Don't use CHECK_N.
22254 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22255 <bp-checks.h>.
22256 (__libc_pwrite64): Don't use CHECK_N.
22257 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
22258 <bp-checks.h>.
22259 (__libc_msgrcv): Don't use CHECK_N.
22260 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
22261 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
22262 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
22263 (__libc_writev): Don't use CHECK_N.
22264
b84660a8
RM
222652013-02-08 Roland McGrath <roland@hack.frob.com>
22266
7f3e75f8
RM
22267 * string/strcpy.c: Removed unused variable.
22268
b84660a8
RM
22269 * Makeconfig (+sysdep-includes): Define with := rather than =.
22270 Use an existing include/ subdir of each sysdeps dir before it.
22271
471514d3
CD
222722013-02-08 Carlos O'Donell <carlos@redhat.com>
22273
22274 * nscd/connection.c (register_traced_file): Comment function.
22275 [HAVE_INOTIFY] (union __inev): Define.
22276 [HAVE_INOTIFY] (inotify_check_files): New function.
22277 [HAVE_INOTIFY] (clear_db_cache): Likewise.
22278 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
22279 clear_db_cache.
22280 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
22281
b2d3c3be
CD
222822013-02-08 Carlos O'Donell <carlos@redhat.com>
22283
22284 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
22285 loaded if not already and that a failure is permanent.
22286
b39949d2
CD
222872013-02-08 Carlos O'Donell <carlos@redhat.com>
22288
ddacd1db 22289 [BZ #15006]
b39949d2
CD
22290 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
22291 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
22292
b2c9eff4
JM
222932013-02-08 Joseph Myers <joseph@codesourcery.com>
22294
f3aae3f3
JM
22295 [BZ #13550]
22296 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
22297 (CHECK_1_NULL_OK): Likewise.
22298 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
22299 (__fxstat): Do not use CHECK_1.
22300 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
22301 <bp-checks.h>.
22302 (___fxstat64): Do not use CHECK_1.
22303 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
22304 <bp-checks.h>.
22305 (__fxstatat): Do not use CHECK_1.
22306 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
22307 <bp-checks.h>.
22308 (__fxstatat64): Do not use CHECK_1.
22309 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
22310 <bp-checks.h>.
22311 (__fxstat): Do not use CHECK_1.
22312 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
22313 <bp-checks.h>.
22314 (__fxstatat): Do not use CHECK_1.
22315 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22316 <bp-checks.h>.
22317 (__getresgid): Do not use CHECK_1.
22318 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22319 <bp-checks.h>.
22320 (__getresuid): Do not use CHECK_1.
22321 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
22322 <bp-checks.h>.
22323 (__lxstat): Do not use CHECK_1.
22324 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22325 <bp-checks.h>.
22326 (__old_msgctl): Do not use CHECK_1.
22327 (__new_msgctl): Likewise.
22328 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
22329 <bp-checks.h>.
22330 (__new_setrlimit): Do not use CHECK_1.
22331 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22332 <bp-checks.h>.
22333 (__old_shmctl): Do not use CHECK_1.
22334 (__new_shmctl): Likewise.
22335 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
22336 <bp-checks.h>.
22337 (__xstat): Do not use CHECK_1.
22338 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
22339 (__lxstat): Do not use CHECK_1.
22340 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
22341 <bp-checks.h>.
22342 (___lxstat64): Do not use CHECK_1.
22343 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
22344 (__old_msgctl): Do not use CHECK_1.
22345 (__new_msgctl): Likewise.
22346 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
22347 <bp-checks.h>.
22348 (__gettimeofday): Do not use CHECK_1.
22349 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
22350 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
22351 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
22352 <bp-checks.h>.
22353 (__gettimeofday): Do not use CHECK_1.
22354 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
22355 (__old_shmctl): Do not use CHECK_1_NULL_OK.
22356 (__new_shmctl): Do not use CHECK_1.
22357 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
22358 <bp-checks.h>.
22359 (do_sigtimedwait): Do not use CHECK_1.
22360 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
22361 <bp-checks.h>.
22362 (do_sigwaitinfo): Do not use CHECK_1.
22363 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
22364 <bp-checks.h>.
22365 (msgctl): Do not use CHECK_1.
22366 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
22367 <bp-checks.h>.
22368 (shmctl): Do not use CHECK_1.
22369 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
22370 (ustat): Do not use CHECK_1.
22371 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
22372 <bp-checks.h>.
22373 (__fxstat): Do not use CHECK_1.
22374 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
22375 <bp-checks.h>.
22376 (__fxstatat): Do not use CHECK_1.
22377 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
22378 <bp-checks.h>.
22379 (__lxstat): Do not use CHECK_1.
22380 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
22381 <bp-checks.h>.
22382 (__xstat): Do not use CHECK_1.
22383 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
22384 (__xstat): Do not use CHECK_1.
22385 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
22386 (___xstat64): Do not use CHECK_1.
22387
b2c9eff4
JM
22388 [BZ #13550]
22389 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
22390 definitions.
22391 (CHECK_BOUNDS_HIGH): Likewise.
22392 * string/strcpy.c: Do not include <bp-checks.h>.
22393 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
22394
f1d70dad
RM
223952013-02-07 Roland McGrath <roland@hack.frob.com>
22396
22397 * nscd/nscd-client.h (__nscd_drop_map_ref):
22398 Add __attribute__ ((unused)).
22399 * nis/nss-nisplus.h (niserr2nss): Likewise.
22400
22401 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22402 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22403
22404 * csu/libc-tls.c (init_static_tls, init_slotinfo):
22405 Remove inline keyword.
22406 * include/rounding-mode.h (round_away): Likewise.
22407 * libio/wfileops.c (adjust_wide_data): Likewise.
22408 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22409 (__m128i_strloadu_tolower): Likewise.
22410 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22411 (__m128i_strloadu_tolower): Likewise.
22412 * time/mktime.c (ydhms_diff): Likewise.
22413 * locale/elem-hash.h (elem_hash): Likewise.
22414 * locale/setlocale.c (setdata): Likewise.
22415 * posix/regex_internal.h (re_string_char_size_at): Likewise.
22416 (re_string_wchar_at): Likewise.
22417 (bitset_not, bitset_merge, bitset_mask): Likewise.
22418 [!(__GNUC__ > 3)] (inline): Remove macro.
22419 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22420 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22421 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22422 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22423 * string/memcmp.c (memcmp_bytes): Likewise.
22424 * locale/programs/locarchive.c (compute_hashval): Likewise.
22425 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22426 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22427 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22428 * nss/getent.c (print_rpc, print_protocols): Likewise.
22429 (print_passwd, print_group, print_aliases): Likewise.
22430 * nis/nss-nisplus.h (niserr2nss): Likewise.
22431 * nscd/connections.c (restart_p): Likewise.
22432 Change return type to bool.
22433
eab55bfb
RM
224342013-02-05 Roland McGrath <roland@hack.frob.com>
22435
7bd642f5
RM
22436 * Makeconfig (all-Depend-files): Add existing
22437 $(sorted-subdirs:=/Depend) files.
22438 (all-subdirs): Remove nss.
22439 * sysdeps/unix/inet/Subdirs: Add it here instead.
22440 * hesiod/Depend: New file.
22441
573c29b2
RM
22442 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22443 instead of calling alloca.
22444
b2e25af0
RM
22445 * io/lseek.c (__lseek): Rename to __libc_lseek.
22446 Define __lseek as an alias.
22447
eab55bfb
RM
22448 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22449
9a0d1941
CD
224502013-02-04 Carlos O'Donell <carlos@redhat.com>
22451
22452 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22453 else clause and remove check for non-standard endianness.
22454
b83bbec4
DM
224552013-02-04 David S. Miller <davem@davemloft.net>
22456
22457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22458
6277fdab
JM
224592013-02-04 Joseph Myers <joseph@codesourcery.com>
22460
22461 [BZ #13550]
22462 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22463 (__ubp_memchr): Remove prototype.
22464 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22465 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22466 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22467 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22468 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22469 Remove alias.
22470 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22471 (__ubp_memchr): Likewise.
22472 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22473 (__ubp_memchr): Likewise.
22474 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22475 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22476 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22477 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22478 CHECK_STRING.
22479 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22480 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22481 (__getcwd): Do not use CHECK_STRING.
22482 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22483 <bp-checks.h>.
22484 (__real_chown): Do not use CHECK_STRING.
22485 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22486 <bp-checks.h>.
22487 (fchownat): Do not use CHECK_STRING.
22488 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22489 CHECK_STRING.
22490 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22491 <bp-checks.h>.
22492 (__lchown): Do not use CHECK_STRING.
22493 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22494 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22495 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22496 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22498 include <bp-checks.h>.
22499 (truncate64): Do not use CHECK_STRING.
22500 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22501 <bp-checks.h>.
22502 (__real_chown): Do not use CHECK_STRING.
22503 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22504 <bp-checks.h>.
22505 (__lchown): Do not use CHECK_STRING.
22506 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22507 <bp-checks.h>.
22508 (__chown): Do not use CHECK_STRING.
22509 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22510 <bp-checks.h>.
22511 (truncate64): Do not use CHECK_STRING.
22512 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22513 Likewise.
22514 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22515 (__xmknod): Do not use CHECK_STRING.
22516 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22517 <bp-checks.h>.
22518 (__xmknodat): Do not use CHECK_STRING.
22519 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22520 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22521
903ae060
AS
225222013-02-04 Andreas Schwab <schwab@suse.de>
22523
22524 [BZ #14142]
22525 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22526 * include/netdb.h: Likewise for h_errno.
22527 * elf/tst-stackguard1.c: Include <tls.h>.
22528
542f9466
JK
225292013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
22530
22531 * elf/link.h (struct link_map): Extend the l_addr comment.
22532 * include/link.h (struct link_map): Likewise.
22533
e782a927
JM
225342013-02-01 Joseph Myers <joseph@codesourcery.com>
22535
22536 [BZ #13550]
22537 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22538 (BOUNDED_1): Remove macro.
22539 * debug/backtrace.c: Don't include <bp-checks.h>.
22540 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22541 (__backtrace): Likewise.
22542 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22543 <bp-checks.h>.
22544 (__backtrace): Don't use BOUNDED_1.
22545 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22546 <bp-checks.h>.
22547 (__backtrace): Don't use BOUNDED_1.
22548 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22549 (__backtrace): Don't use BOUNDED_1.
22550 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22551 (shmat): Don't use BOUNDED_N.
22552
8cf28c5e
JM
225532013-01-31 Joseph Myers <joseph@codesourcery.com>
22554
3a7ac8a0
JM
22555 [BZ #13550]
22556 * sysdeps/generic/bp-start.h: Remove file.
22557 * csu/libc-start.c: Don't include <bp-start.h>.
22558 (LIBC_START_MAIN): Set up __environ directly instead of using
22559 INIT_ARGV_and_ENVIRON.
22560 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22561 <bp-start.h>.
22562
f3499f95
JM
22563 [BZ #13550]
22564 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22565 definitions.
22566 (CHECK_FCNTL): Likewise.
22567 (CHECK_N_PAGES): Likewise.
22568
32a45bea
JM
22569 [BZ #13550]
22570 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22571 definitions.
22572 (CHECK_SIGSET_NULL_OK): Likewise.
22573 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22574 <bp-checks.h>.
22575 (sigpending): Don't use CHECK_SIGSET.
22576 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22577 <bp-checks.h>.
22578 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22579 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22580 <bp-checks.h>.
22581 (do_sigsuspend): Don't use CHECK_SIGSET.
22582 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22583 use CHECK_SIGSET.
22584 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22585 (do_sigwait): Don't use CHECK_SIGSET.
22586 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22587 use CHECK_SIGSET.
22588 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22589 include <bp-checks.h>.
22590 (sigpending): Don't use CHECK_SIGSET.
22591 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22592 include <bp-checks.h>.
22593 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22594 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22595 <bp-checks.h>.
22596 (sigpending): Don't use CHECK_SIGSET.
22597 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22598 <bp-checks.h>.
22599 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22600
2e8a5c8c
JM
22601 [BZ #13550]
22602 * sysdeps/generic/bp-semctl.h: Remove file.
22603 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22604 <bp-checks.h> and <bp-semctl.h>.
22605 (__old_semctl): Don't use CHECK_SEMCTL.
22606 (__new_semctl): Likewise.
22607 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22608 and <bp-semctl.h>.
22609 (__old_semctl): Don't use CHECK_SEMCTL.
22610 (__new_semctl): Likewise.
22611 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22612 <bp-checks.h> and <bp-semctl.h>.
22613 (__old_semctl): Don't use CHECK_SEMCTL.
22614 (__new_semctl): Likewise.
22615 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22616 <bp-checks.h> and <bp-semctl.h>.
22617 (semctl): Don't use CHECK_SEMCTL.
22618
c2d54929
JM
22619 [BZ #13550]
22620 * Makerules (elide-bp-thunks): Remove variable.
22621 (elide-routines.oS): Don't use $(elide-bp-thunks).
22622 (elide-routines.os): Likewise.
22623 (elide-routines.o): Likewise.
22624 (elide-routines.op): Likewise.
22625 (elide-routines.og): Likewise.
22626 (objects): Don't use $(bp-thunks).
22627 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22628 include.
22629 (common-generated): Do not add s-proto-bp.d.
22630 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22631 (int): Likewise.
22632 (typ): Likewise.
22633 Do not generate makefile rules for bounded-pointer thunks.
22634 * sysdeps/generic/bp-thunks.h: Remove file.
22635 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22636 * sysdeps/unix/s-proto-bp.S: Likewise.
22637
8cf28c5e
JM
22638 [BZ #15062]
22639 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22640 parts of result separately when argument is not close to line from
22641 -i to i and one part of argument is small.
22642 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22643 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22644 * math/libm-test.inc (cacos_test): Add more tests.
22645 (casin_test): Likewise.
22646 (casinh_test): Likewise.
22647 * sysdeps/i386/fpu/libm-test-ulps: Update.
22648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22649
c4e33b8d
DM
226502013-01-31 David S. Miller <davem@davemloft.net>
22651
22652 * po/de.po: Update from translation team.
22653
3b60b421
MK
226542013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22655
22656 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22657
bb931195
TS
226582013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22659
b5a5da23
TS
22660 * configure.in (_AC_PROG_CC_C89): New definition.
22661 * configure: Regenerate.
22662
bb931195
TS
22663 * configure.in (AC_PROG_CPP): New definition.
22664 * configure: Regenerate.
22665
8c53a12c
JM
226662013-01-23 Joseph Myers <joseph@codesourcery.com>
22667
22668 * debug/tst-backtrace.h: New file.
22669 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22670 (ret): Remove variable.
22671 (x): Likewise.
22672 (FAIL): Remove macro.
22673 (NO_INLINE): Likewise.
22674 (fn1): Use match function instead of strstr.
22675 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22676 (ret): Remove variable.
22677 (x): Likewise.
22678 (FAIL): Remove macro.
22679 (NO_INLINE): Likewise.
22680 (fn): Use match function instead of strstr.
22681 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22682 (ret): Remove variable.
22683 (x): Likewise.
22684 (FAIL): Remove macro.
22685 (NO_INLINE): Likewise.
22686 (handle_signal): Use match function instead of strstr.
22687 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22688 (ret): Remove variable.
22689 (x): Likewise.
22690 (FAIL): Remove macro.
22691 (NO_INLINE): Likewise.
22692 (handle_signal): Use match function instead of strstr.
22693
4858fa2a
RM
226942013-01-23 Roland McGrath <roland@hack.frob.com>
22695
22696 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22697
bae8e7f5
DM
226982013-01-23 David S. Miller <davem@davemloft.net>
22699
22700 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22701 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22702 argument of CAS if possible.
22703 * sysdeps/sparc/sparc64/bits/atomic.h
22704 (__arch_compare_and_exchange_val_32_acq): Likewise.
22705 (__arch_compare_and_exchange_val_64_acq): Likewise.
22706
9cbbc4ae
PT
227072013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22708
22709 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22710 * sysdeps/posix/ulimit.c: ... this.
92a601b8 22711 Include <limits.h>.
67b3f58c 22712 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 22713
5655a0b5
AC
227142013-01-23 Adam Conrad <adconrad@0c3.net>
22715
22716 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22717 (LDFLAGS-tst-array5): Likewise.
22718
052aff95
JM
227192013-01-23 Joseph Myers <joseph@codesourcery.com>
22720
22721 [BZ #15036]
22722 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22723 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22724 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22725 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22726
7c1e01aa
DM
227272013-01-21 David S. Miller <davem@davemloft.net>
22728
22729 * sysdeps/sparc/backtrace.c: New file.
22730 * sysdeps/sparc/sparc32/backtrace.h: New file.
22731 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22732 * sysdeps/sparc/sparc64/backtrace.h: New file.
22733 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22734 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22735 -funwind-tables.
22736
ab087e0a
AS
227372013-01-21 Andreas Schwab <schwab@suse.de>
22738
22739 [BZ #15020]
22740 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22741 closed its stdout.
22742
ed689c2f
AS
227432013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22744
22745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22746 "mpa2.h".
22747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22748
31d470ac
JM
227492013-01-18 Joseph Myers <joseph@codesourcery.com>
22750 Mark Mitchell <mark@codesourcery.com>
22751 Tom de Vries <tom@codesourcery.com>
22752 Paul Pluzhnikov <ppluzhnikov@google.com>
22753
22754 * debug/tst-backtrace2.c: New file.
22755 * debug/tst-backtrace3.c: Likewise.
22756 * debug/tst-backtrace4.c: Likewise.
22757 * debug/tst-backtrace5.c: Likewise.
22758 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22759 (CFLAGS-tst-backtrace3.c): Likewise.
22760 (CFLAGS-tst-backtrace4.c): Likewise.
22761 (CFLAGS-tst-backtrace5.c): Likewise.
22762 (LDFLAGS-tst-backtrace2): Likewise.
22763 (LDFLAGS-tst-backtrace3): Likewise.
22764 (LDFLAGS-tst-backtrace4): Likewise.
22765 (LDFLAGS-tst-backtrace5): Likewise.
22766 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22767 tst-backtrace4 and tst-backtrace5.
22768
90567f30 227692013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
22770 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22771
22772 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22773 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22774 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22775 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22777 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22778 "+r" and remove output regs list as redundant. Add explicit inline
22779 asm to specify register of return val to work around compiler codegen
22780 bug. Remove (int) cast on return value. Add return type parameter to
22781 use in macro so that this macro does not truncate return value for
22782 64-bit values.
22783 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22784 pass to INTERNAL_VSYSCALL_NCS.
22785 (INLINE_VSYSCALL): Add 'long int' as return type to
22786 INTERNAL_VSYSCALL_NCS macro invocation.
22787 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22788 INTERNAL_VSYSCALL_NCS macro invocation.
22789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22790
d3b9ea61
SP
227912013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22792
0b57daeb
SP
22793 [BZ #14496]
22794 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22795 Fix application of SIMD FP exception mask.
22796
caa99d06
SP
22797 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22798 mp_no from a power of two.
22799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22800 __mpexp_twomm1. Use __pow_mp.
22801
d3b9ea61
SP
22802 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22803 multiplication.
22804
1dbaee3c
DM
228052013-01-17 David S. Miller <davem@davemloft.net>
22806
22807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22808
728d7b43
JM
228092013-01-17 Joseph Myers <joseph@codesourcery.com>
22810
22811 [BZ #15023]
22812 * include/complex.h: Condition contents on [!_COMPLEX_H].
22813 (__kernel_casinhf): New prototype.
22814 (__kernel_casinh): Likewise.
22815 (__kernel_casinhl): Likewise.
22816 * math/Makefile (libm_calls): Add k_casinh.
22817 * math/k_casinh.c: New file.
22818 * math/k_casinhf.c: Likewise.
22819 * math/k_casinhl.c: Likewise.
22820 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22821 finite nonzero arguments.
22822 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22823 finite nonzero arguments.
22824 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22825 finite nonzero arguments.
22826 * math/s_casinh.c: Do not include <float.h>.
22827 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22828 * math/s_casinhf.c: Do not include <float.h>.
22829 (__casinhf): Move code for finite nonzero arguments to
22830 k_casinhf.c.
22831 * math/s_casinhl.c: Do not include <float.h>.
22832 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22833 redefine.
22834 (__casinhl): Move code for finite nonzero arguments to
22835 k_casinhl.c.
22836 * math/libm-test.inc (cacos_test): Add more tests.
22837 * sysdeps/i386/fpu/libm-test-ulps: Update.
22838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22839
2a26ef3a
PT
228402013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22841
22842 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22843 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22844 [!HAVE_MREMAP]: Remove [defined linux] case.
22845 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22846
a897655d
SP
228472013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22848
22849 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22850
881ebe89 228512013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
22852
22853 * elf/elf.h (R_386_SIZE32): New relocation.
22854 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22855 R_386_SIZE32.
22856 (elf_machine_rela): Likewise.
22857 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22858 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22859
59981e9b
JM
228602013-01-17 Joseph Myers <joseph@codesourcery.com>
22861
22862 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22863 (FP_FAST_FMA): Do not define.
22864 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22865 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22866 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22867 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22868 !_SOFT_FLOAT]: Likewise.
22869 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22870 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22871 value.
22872 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22873 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22874 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22876 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22877 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22878 file.
22879
cfa8054f
AS
228802013-01-16 Andreas Schwab <schwab@suse.de>
22881
22882 [BZ #14327]
22883 * include/stdlib.h (__mktemp): Add declaration.
22884 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22885 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22886
dd930cc5
SP
228872013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22888
881ebe89
SP
22889 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22890 definitions.
22891 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22892 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22893 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22894 definitions here.
22895 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22896 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22897 definitions.
22898 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22899 and ONE.
22900 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22901 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22902 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22903 definitions.
22904 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22905 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22906 definitions.
22907 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 22908
dd930cc5
SP
22909 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22910
c19a9f89
DM
229112013-01-15 David S. Miller <davem@davemloft.net>
22912
1aa61767
DM
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22914 trunc{,f} to libm-sysdep_routes.
22915 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22917 file.
22918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22920 file.
22921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22922 file.
22923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22925 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22926 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22927 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22928 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22929 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22930 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22931
c42d5e98
DM
22932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22933 nearbyint{,f} to libm-sysdep_routes.
22934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22936 New file.
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22938 file.
22939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22940 New file.
22941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22942 file.
22943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22946 file.
22947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22948 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22949 file.
22950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22951 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22952 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22953
c19a9f89
DM
22954 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22955 libc_feholdexcept and libc_fesetenv.
22956
357679d2
MF
229572013-01-15 Mike Frysinger <vapier@gentoo.org>
22958
22959 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22960
65a82e3d
DM
229612013-01-14 David S. Miller <davem@davemloft.net>
22962
8b954ab9
DM
22963 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22964 (SPARC_ASM_VIS2_IFUNC): Likewise.
22965 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22967 use of 'siam' instruction.
22968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22969 Likewise.
22970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22971 Likewise.
22972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22973 Likewise.
22974 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22975 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22979 file.
22980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22981 file.
22982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22983 file.
22984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22985 file.
22986 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22987 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22988 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22989 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22991 new VIS2 routines.
22992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22995 Likewise.
22996 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22997 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23001 routines to libm-sysdep_routines.
23002 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23003
65a82e3d
DM
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23005 fdim/fdimf to libm-sysdep_routines.
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23007 file.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23010 file.
23011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23014 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23015 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23016 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23017 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23018
e34ab705
SP
230192013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23020
2a91b573
SP
23021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23022 to optimize copies.
23023
1066a534
SP
23024 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23027
e34ab705
SP
23028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23029 local variable MPTWO.
23030 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23031 Likewise.
23032
aba5e596
MF
230332013-01-13 Mike Frysinger <vapier@gentoo.org>
23034
23035 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23036 GLOB_NOESCAPE.
23037
e557e9e5
MF
230382013-01-13 Mike Frysinger <vapier@gentoo.org>
23039
23040 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23041
0428cec9
MF
230422013-01-13 Mike Frysinger <vapier@gentoo.org>
23043
23044 * manual/pattern.texi (glob_t): Document gl_flags.
23045 (glob64_t): Likewise.
23046
8794a964
DM
230472013-01-11 David S. Miller <davem@davemloft.net>
23048
66438c3f
RM
23049 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23050 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23051 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
23052 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23053 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23054 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23055 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23056 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23057 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23058 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23059 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23060 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23061 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23062
4ae4244d
DM
23063 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23064 sparc V9 rather than using V8 code.
23065 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23066 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23067
8794a964
DM
23068 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23069 Move to...
23070 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23071 Here.
23072
6270516e
RM
230732013-01-11 Roland McGrath <roland@hack.frob.com>
23074
23075 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23076 not in the main loop.
23077 * configure: Regenerated.
23078
6a57d931
JM
230792013-01-11 Joseph Myers <joseph@codesourcery.com>
23080
23081 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23082 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23083 to just #else.
23084 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
23085 [!__GLIBC_HAVE_LONG_LONG] case.
23086 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23087 condition to just #else.
23088 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23089 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23090 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23091 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23092 unconditional.
23093 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23094 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23095 #elif condition to just #else.
23096 * sysdeps/unix/sysv/linux/sys/sysmacros.h
23097 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23098 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23099 #elif condition to just #else.
23100
0e8529e9
SE
231012013-01-11 Steve Ellcey <sellcey@mips.com>
23102
23103 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23104 (EF_MIPS_ARCH_64): Fix value.
23105 (EF_MIPS_ARCH_32R2): New.
23106 (EF_MIPS_ARCH_64R2): New.
23107
740b3dbe
L
231082013-01-11 H.J. Lu <hongjiu.lu@intel.com>
23109
23110 * Makeconfig (+link-pie-before-libc): New.
23111 (+link-pie-after-libc): Likewise.
23112 (+link-pie-tests): Likewise.
23113 (+link-pie): Rewritten.
23114 (link-before-libc): Remove $(config-LDFLAGS).
23115 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23116 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23117 (config-LDFLAGS): Renamed to ...
23118 (rtld-LDFLAGS): This.
23119 (rtld-tests-LDFLAGS): New macro.
23120 (link-libc-rpath-link): Likewise.
23121 (link-libc-tests-rpath-link): Likewise.
23122 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23123 (link-libc): Prepand $(link-libc-rpath-link).
23124 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23125 (test-program-prefix): New macro.
23126 (test-via-rtld-prefix): Likewise.
23127 (test-program-cmd): Likewise.
23128 (host-test-program-cmd): Likewise.
23129 * Makefile ($(common-objpfx)testrun.sh): Replace
23130 $(run-program-prefix) with $(test-program-prefix).
23131 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23132 $(rtld-LDFLAGS).
23133 ($(common-objpfx)shlib.lds): Likewise.
23134 (build-module-helper): Likewise.
23135 ($(common-objpfx)format.lds): Likewise.
23136 * Rules (binaries-pie-tests): New.
23137 (binaries-pie-notests): Likewise.
23138 (binaries-pie): Rewritten.
23139 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23140 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23141 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23142 (make-test-out): Replace $(host-built-program-cmd) with
23143 $(host-test-program-cmd).
23144 * config.make.in (build-hardcoded-path-in-tests): New variable.
23145 * configure.in (--enable-hardcoded-path-in-tests): New configure
23146 option.
23147 (hardcoded_path_in_tests): New AC_SUBST.
23148 * configure: Regenerated.
23149 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23150 $(built-program-cmd) with $(test-program-cmd).
23151 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23152 (test_program_cmd): This.
23153 * elf/Makefile ($(objpfx)order.out): Run test with
23154 $(test-program-prefix).
23155 ($(objpfx)order2.out): Likewise.
23156 ($(objpfx)tst-initorder.out): Likewise.
23157 ($(objpfx)tst-initorder2.out): Likewise.
23158 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23159 $(test-program-cmd).
23160 ($(objpfx)tst-array1-static.out): Likewise.
23161 ($(objpfx)tst-array2.out): Likewise.
23162 ($(objpfx)tst-array3.out): Likewise.
23163 ($(objpfx)tst-array4.out): Likewise.
23164 ($(objpfx)tst-array5.out): Likewise.
23165 ($(objpfx)tst-array5-static.out): Likewise.
23166 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23167 $(test-program-cmd).
23168 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23169 $(run-program-prefix) with $(test-program-prefix).
23170 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23171 (test_program_prefix): This.
23172 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23173 $(run-program-prefix) with $(test-program-prefix).
23174 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23175 (test_program_prefix): This.
23176 * iconvdata/tst-tables.sh: Likewise.
23177 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23178 $(run-program-prefix) with $(test-program-prefix).
23179 ($(objpfx)tst-translit.out): Likewise.
23180 ($(objpfx)tst-gettext2.out): Likewise.
23181 ($(objpfx)tst-gettext4.out): Likewise.
23182 ($(objpfx)tst-gettext6.out): Likewise.
23183 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23184 (test_program_prefix): This.
23185 * intl/tst-gettext2.sh: Likewise.
23186 * intl/tst-gettext4.sh Likewise.
23187 * intl/tst-gettext6.sh: Likewise.
23188 * intl/tst-translit.sh: Likewise.
23189 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23190 with $(test-program-cmd).
23191 * libio/Makefile ($(objpfx)test-freopen.out): Replace
23192 $(run-program-prefix) with $(test-program-prefix).
23193 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23194 (test_program_prefix): This.
23195 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23196 $(run-program-prefix) with $(test-program-prefix).
23197 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23198 (test_program_prefix): This.
23199 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23200 * posix/Makefile ($(objpfx)globtest.out): Replace
23201 $(run-via-rtld-prefix) and $(test-wrapper) with
23202 $(test-program-prefix) and $(test-via-rtld-prefix).
23203 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23204 $(test-program-prefix).
23205 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23206 $(host-test-program-cmd).
23207 (tst-spawn-ARGS): Likewise.
23208 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23209 $(test-program-prefix).
23210 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23211 (test_via_rtld_prefix): This.
23212 (test_wrapper): Renamed to ...
23213 (test_program_prefix): This.
23214 (run_program_prefix): Replaced by test_program_prefix.
23215 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23216 (test_program_prefix): This.
23217 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23218 with $(host-test-program-cmd).
23219 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23220 $(run-program-prefix) with $(test-program-prefix).
23221 ($(objpfx)tst-printf.out): Likewise.
23222 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23223 $(test-program-cmd).
23224 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23225 (test_program_prefix): This.
23226 * stdio-common/tst-unbputc.sh: Likewise.
23227 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23228 $(run-program-prefix) with $(test-program-prefix).
23229 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23230 (test_program_prefix): This.
23231 * string/Makefile ($(objpfx)tst-svc.out): Replace
23232 $(built-program-cmd) with $(test-program-cmd).
23233
c6fe55cf
AJ
232342013-01-11 Andreas Jaeger <aj@suse.de>
23235
23236 [BZ #15003]
23237 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23238 value. Sync with Linux 3.7.
23239
9e6919c8
DM
232402013-01-10 David S. Miller <davem@davemloft.net>
23241
23242 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23243 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23244 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23245
1c9f1a02
RM
232462013-01-10 Roland McGrath <roland@hack.frob.com>
23247
23248 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23249 never set.
23250 * configure: Regenerated.
23251
b9de2dde
DM
232522013-01-10 David S. Miller <davem@davemloft.net>
23253
23254 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23255 sparc V9 rather than using V8 code.
23256 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23257 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23258
e7f68ef4
RM
232592013-01-10 Roland McGrath <roland@hack.frob.com>
23260
23261 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
23262 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
23263 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
23264 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
23265 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
23266 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
23267 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
23268 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
23269 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
23270 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
23271 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
23272 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
23273 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
23274 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
23275 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
23276 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
23277 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
23278 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
23279 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
23280 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23281 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
23282 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
23283 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
23284 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
23285 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
23286 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
23287 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
23288
5a47cc9c
DM
232892013-01-10 David S. Miller <davem@davemloft.net>
23290
23291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23292
4cf8f209
L
232932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23294
23295 * posix/Makefile (tests-static): New variable.
23296 (tests): Add $(tests-static).
23297 (tst-exec-static-ARGS): New variable.
23298 (tst-spawn-static-ARGS): Likewise.
23299 * posix/tst-exec-static.c: New file.
23300 * posix/tst-spawn-static.c: Likewise.
23301 * posix/tst-exec.c: Support run directly.
23302 * posix/tst-spawn.c: Likewise.
23303
fed0faa1
JM
233042013-01-10 Joseph Myers <joseph@codesourcery.com>
23305
828beb13
JM
23306 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
23307 long.
23308 * math/bits/mathcalls.h (llrint): Likewise.
23309 (llround): Likewise.
23310 * stdlib/stdlib.h (struct drand48_data): Likewise.
23311 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
23312 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
23313 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
23314 Likewise.
23315 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
23316 Likewise.
23317 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
23318 (elf_greg_t): Likewise.
23319 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
23320 (__jmp_buf): Likewise.
23321 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
23322 definitions.
23323 (llrint): Likewise, for all definitions.
23324 (llrintl): Likewise.
23325
fed0faa1
JM
23326 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
23327 Remove [__GNUC__] condition.
23328 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
23329 condition to just [__USE_ISOC99].
23330 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
23331
1a20cb20
L
233322013-01-10 H.J. Lu <hongjiu.lu@intel.com>
23333
23334 [BZ #14200]
23335 * sysdeps/unix/sysv/linux/x86/bits/environments.h
23336 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
23337 defined.
23338 (_POSIX_V6_ILP32_OFF32): Likewise.
23339 (_XBS5_ILP32_OFF32): Likewise.
23340 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
23341 (__ILP32_OFFBIG_LDFLAGS): Likewise.
23342
751b85f7
SP
233432013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23344
7490eb81
SP
23345 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
23346
751b85f7
SP
23347 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
23348 doubles __mpexp_twomm1. Adjust usage.
23349 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
23350 Remove.
23351
988197f0
AS
233522013-01-10 Andreas Schwab <schwab@suse.de>
23353
23354 [BZ #14964]
23355 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
23356 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
23357
e83d7298
DM
233582013-01-09 David S. Miller <davem@davemloft.net>
23359
034ed64b 23360 [BZ #15003]
57f41c40
AS
23361 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
23362 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
23363 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
23364 (TCP_FASTOPEN): Define.
e83d7298
DM
23365 (tcp_repair_opt): New structure.
23366 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
23367 enum values.
57f41c40
AS
23368 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
23369 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
23370 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
23371 (tcp_cookie_transactions): New structure.
23372
d5e0b9bd
AB
233732013-01-09 Anton Blanchard <anton@samba.org>
23374
23375 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
23376 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
23377 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
23378 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23379
0c07e3ea
JM
233802013-01-09 Joseph Myers <joseph@codesourcery.com>
23381
23382 * include/features.h (__USE_ANSI): Remove.
23383
232f7002
RM
233842013-01-09 Roland McGrath <roland@hack.frob.com>
23385
ad98e30c
RM
23386 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
23387
232f7002
RM
23388 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
23389
950c99ca
SP
233902013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
23391
b5792741
SP
23392 * sysdeps/s390/fpu/libm-test-ulps: Update.
23393
47cf2278
SP
23394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23395
950c99ca
SP
23396 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
23397 (__acr): Likewise.
23398 (__cpy): Likewise.
23399 (norm): Likewise.
23400 (denorm): Likewise.
23401 (__mp_dbl): Likewise.
23402 (__dbl_mp): Likewise.
23403 (add_magnitudes): Likewise.
23404 (sub_magnitudes): Likewise.
23405 (__add): Likewise.
23406 (__sub): Likewise.
23407 (__mul): Likewise.
23408 (__inv): Likewise.
23409 (__dvd): Likewise.
23410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23411 (__acr): Likewise.
23412 (__cpy): Likewise.
23413 (norm): Likewise.
23414 (denorm): Likewise.
23415 (__mp_dbl): Likewise.
23416 (__dbl_mp): Likewise.
23417 (add_magnitudes): Likewise.
23418 (sub_magnitudes): Likewise.
23419 (__add): Likewise.
23420 (__sub): Likewise.
23421 (__mul): Likewise.
23422 (__inv): Likewise.
23423 (__dvd): Likewise.
23424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23425 (__acr): Likewise.
23426 (__cpy): Likewise.
23427 (norm): Likewise.
23428 (denorm): Likewise.
23429 (__mp_dbl): Likewise.
23430 (__dbl_mp): Likewise.
23431 (add_magnitudes): Likewise.
23432 (sub_magnitudes): Likewise.
23433 (__add): Likewise.
23434 (__sub): Likewise.
23435 (__mul): Likewise.
23436 (__inv): Likewise.
23437 (__dvd): Likewise.
23438
eede9df9
JM
234392013-01-08 Joseph Myers <joseph@codesourcery.com>
23440
23441 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23442 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23443 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23444 2 && __USE_EXTERN_INLINES]: Likewise.
23445
c40ea3d9
AJ
234462013-01-08 Andreas Jaeger <aj@suse.de>
23447
23448 [BZ# 14985]
23449 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23450 Remove.
23451 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23452 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23453
2ccdea26
AB
234542013-01-07 Anton Blanchard <anton@samba.org>
23455
23456 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23457 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23458 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23459 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23460 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23461 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23462 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23463 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23465 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23467 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23468 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23469 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23470 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23471 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23472 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23473 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23474 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23475 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23476 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23477 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23478 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23479 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23480 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23481 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23482 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23483 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23485 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23486 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23488 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23489 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23490 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23491 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23492 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23493 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23494 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23495 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23496 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23497 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23498 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23499
a9708fed
JM
235002013-01-07 Joseph Myers <joseph@codesourcery.com>
23501
375607b9
JM
23502 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23503 (__MALLOC_PMT): Likewise.
23504 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23505 [__GNUC__], only on [_LIBC].
23506 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23507 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23508 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23509 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23510 forward declaration.
23511 (realloc_hook_ini): Likewise.
23512 (memalign_hook_ini): Likewise.
23513 (__libc_memalign): Do not use __MALLOC_PMT in variable
23514 declaration.
23515 (__libc_valloc): Likewise.
23516 (__libc_pvalloc): Likewise.
23517 (__libc_calloc): Likewise.
23518 (__posix_memalign): Likewise.
23519
a9708fed
JM
23520 [BZ #14996]
23521 * math/s_casinh.c: Include <float.h>.
23522 (__casinh): Do not do computation with squaring and square root
23523 for large arguments.
23524 * math/s_casinhf.c: Include <float.h>.
23525 (__casinhf): Do not do computation with squaring and square root
23526 for large arguments.
23527 * math/s_casinhl.c: Include <float.h>.
23528 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23529 (__casinhl): Do not do computation with squaring and square root
23530 for large arguments.
23531 * math/libm-test.inc (casin_test): Add more tests.
23532 (casinh_test): Likewise.
23533 * sysdeps/i386/fpu/libm-test-ulps: Update.
23534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23535
afec409a
L
235362013-01-04 H.J. Lu <hongjiu.lu@intel.com>
23537
23538 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23539 (__x86_64_raw_data_cache_size): Likewise.
23540 (__x86_64_data_cache_size_half): Likewise.
23541 (__x86_64_raw_data_cache_size_half): Likewise.
23542 (__x86_64_shared_cache_size): Likewise.
23543 (__x86_64_raw_shared_cache_size): Likewise.
23544 (__x86_64_shared_cache_size_half): Likewise.
23545 (__x86_64_raw_shared_cache_size_half): Likewise.
23546 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23547 to ...
23548 (__x86_data_cache_size): This.
23549 (__x86_64_raw_data_cache_size): Renamed to ...
23550 (__x86_raw_data_cache_size): This.
23551 (__x86_64_data_cache_size_half): Renamed to ...
23552 (__x86_data_cache_size_half): This.
23553 (__x86_64_raw_data_cache_size_half): Renamed to ...
23554 (__x86_raw_data_cache_size_half): This.
23555 (__x86_64_shared_cache_size): Renamed to ...
23556 (__x86_shared_cache_size): This.
23557 (__x86_64_raw_shared_cache_size): Renamed to ...
23558 (__x86_raw_shared_cache_size): This.
23559 (__x86_64_shared_cache_size_half): Renamed to ...
23560 (__x86_shared_cache_size_half): This.
23561 (__x86_64_raw_shared_cache_size_half): Renamed to ...
23562 (__x86_raw_shared_cache_size_half): This.
23563 * sysdeps/x86_64/memcpy.S: Updated.
23564 * sysdeps/x86_64/memset.S: Likewise.
23565 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23566 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23567 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23568
0b3986d0
DM
235692013-01-04 David S. Miller <davem@davemloft.net>
23570
23571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23572
e47686e9
AS
235732013-01-04 Andreas Schwab <schwab@linux-m68k.org>
23574
d643bac1
AS
23575 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23576 1 to avoid redefinition warning.
23577 (__USE_GNU): Don't define.
23578 (init_signaling_nan): Protoize.
23579
e47686e9
AS
23580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23581
b18decba
SP
235822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23583
fffb407f
SP
23584 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23586 (__cpymn): Likewise.
23587 (norm): Remove commented code.
23588 (denorm): Likewise.
23589 (__mp_dbl): Likewise.
23590 (__inv): Likewise.
23591 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23592 (__cpymn): Likewise.
23593 (norm): Remove commented code.
23594 (denorm): Likewise.
23595 (__mp_dbl): Likewise.
23596 (__inv): Likewise.
23597
b18decba
SP
23598 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23599 mp_no value for 1.0 and 2.0.
23600 (norm): Use RADIXI instead of radixi.d.
23601 (denorm): Likewise.
23602 (__mul): Use 0.0 instead of zero.d.
23603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23604 mp_no value for 1.0 and 2.0.
23605 (norm): Use RADIXI instead of radixi.d.
23606 (denorm): Likewise.
23607 (__mul): Use 0.0 instead of zero.d.
23608
cdc1c96f
JM
236092013-01-04 Joseph Myers <joseph@codesourcery.com>
23610
23611 [BZ #14994]
23612 * math/s_casinh.c (__casinh): Reduce finite argument to first
23613 quadrant then set signs of results at the end.
23614 * math/s_casinhf.c (__casinhf): Likewise.
23615 * math/s_casinhl.c (__casinhl): Likewise.
23616 * math/libm-test.inc (casin_test): Add more tests.
23617 (casinh_test): Likewise.
23618 * sysdeps/i386/fpu/libm-test-ulps: Update.
23619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23620
302913e1
SP
236212013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23622
6420d207
SP
23623 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23624
a9e48ab4
SP
23625 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23626
b7837264
SP
23627 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23628 declarations.
23629 (denorm): Likewise.
23630 (__mp_dbl): Likewise.
23631 (__inv): Likewise.
23632
f8af25d2
SP
23633 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23634 and adjust the header comment.
23635
302913e1
SP
23636 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23637 variable name from declaration.
23638
5d7dd1ca
L
236392013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23640
23641 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23642 Initialize COMMON_CPUID_INDEX_7 element.
23643 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23644 (CPUID_RTM): Likewise.
23645 (HAS_RTM): Likewise.
23646 (COMMON_CPUID_INDEX_7): New enum.
23647
2f5f40f4
AS
236482013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23649
23650 [BZ #14981]
23651 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23652 size is zero, record memory as freed.
23653
4056f4a0
AJ
236542013-01-03 Andreas Jaeger <aj@suse.de>
23655
23656 * po/ia.po: Add new Interlingua translation.
23657
ab15736f 236582012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
23659
23660 * locale/programs/localedef.c: Fix description of '--posix' flag.
23661
568035b7
JM
236622013-01-02 Joseph Myers <joseph@codesourcery.com>
23663
e6898b8d
JM
23664 * NEWS: Update dates in second copyright notice.
23665 * README: Update copyright dates in example.
23666 * manual/libc.texinfo: Update copyright dates.
23667 * scripts/test-installation.pl: Update copyright date in --version
23668 output.
23669
0e2f9562
JM
23670 * hurd/ctty-input.c: Fix copyright notice formatting.
23671 * hurd/ctty-output.c: Likewise.
23672 * hurd/dtable.c: Likewise.
23673 * hurd/hurd-raise.c: Likewise.
23674 * hurd/hurdprio.c: Likewise.
23675 * hurd/msgportdemux.c: Likewise.
23676 * misc/sys/file.h: Likewise.
23677 * misc/sys/ioctl.h: Likewise.
23678 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23679 * sysdeps/mach/hurd/chdir.c: Likewise.
23680 * sysdeps/mach/hurd/fchdir.c: Likewise.
23681 * sysdeps/mach/hurd/rename.c: Likewise.
23682 * sysdeps/mach/hurd/rmdir.c: Likewise.
23683 * sysdeps/mach/hurd/seekdir.c: Likewise.
23684 * sysdeps/mach/hurd/setsid.c: Likewise.
23685 * sysdeps/posix/wait3.c: Likewise.
23686
568035b7
JM
23687 * All files with FSF copyright notices: Update copyright dates
23688 using scripts/update-copyrights.
23689 * intl/plural.c: Regenerated.
23690 * locale/programs/charmap-kw.h: Likewise.
23691 * locale/programs/locfile-kw.h: Likewise.
23692
da08f647
SP
236932013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23694
0f5477af
SP
23695 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23696 four values.
23697
44e0d4c2
SP
23698 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23699 calculation loop and add branch prediction.
23700
4d55b4e5
SP
23701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23702 check access beyond bounds of m1np.
23703
da08f647
SP
23704 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23705 MPTWO.
23706 (__inv): Remove local variable MPTWO to use the global
23707 constant.
23708 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23709 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23710 variable MPTWO.
23711 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23712 MP3HALFS static const.
23713
8e051029
DM
237142013-01-01 David S. Miller <davem@davemloft.net>
23715
23716 * po/ca.po: Update from translation team.
23717
f4cf5f2d
JM
237182013-01-01 Joseph Myers <joseph@codesourcery.com>
23719
23720 * scripts/update-copyrights: New file.
23721 * Makeconfig: Reformat copyright notice.
23722 * ctype/ctype.h: Likewise.
23723 * debug/swprintf_chk.c: Likewise.
23724 * elf/dl-cache.c: Likewise.
23725 * elf/dl-debug.c: Likewise.
23726 * elf/dl-object.c: Likewise.
23727 * grp/initgroups.c: Likewise.
23728 * hurd/Makefile: Likewise.
23729 * hurd/hurd/signal.h: Likewise.
23730 * hurd/hurdfault.c: Likewise.
23731 * hurd/hurdioctl.c: Likewise.
23732 * hurd/hurdlookup.c: Likewise.
23733 * hurd/intr-msg.c: Likewise.
23734 * iconv/gconv_open.c: Likewise.
23735 * libio/swprintf.c: Likewise.
23736 * locale/lc-ctype.c: Likewise.
23737 * locale/nl_langinfo.c: Likewise.
23738 * mach/Machrules: Likewise.
23739 * mach/Makefile: Likewise.
23740 * malloc/obstack.h: Likewise.
23741 * manual/Makefile: Likewise.
23742 * manual/tsort.awk: Likewise.
23743 * misc/bits/stab.def: Likewise.
23744 * nis/nis_print_group_entry.c: Likewise.
23745 * nis/nis_table.c: Likewise.
23746 * nis/nss_compat/compat-pwd.c: Likewise.
23747 * nis/nss_compat/compat-spwd.c: Likewise.
23748 * po/Makefile: Likewise.
23749 * posix/fnmatch.c: Likewise.
23750 * posix/regex.h: Likewise.
23751 * resolv/Makefile: Likewise.
23752 * resolv/nss_dns/dns-network.c: Likewise.
23753 * resolv/res_hconf.c: Likewise.
23754 * scripts/gen-sorted.awk: Likewise.
23755 * soft-fp/soft-fp.h: Likewise.
23756 * stdio-common/printf.h: Likewise.
23757 * stdlib/monetary.h: Likewise.
23758 * stdlib/random.c: Likewise.
23759 * stdlib/random_r.c: Likewise.
23760 * sysdeps/generic/Makefile: Likewise.
23761 * sysdeps/gnu/Makefile: Likewise.
23762 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23769 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23772 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23773 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23774 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23775 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23776 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23777 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23778 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23780 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23781 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23782 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23783 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23784 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23785 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23786 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23787 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23788 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23789 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23790 * sysdeps/mach/hurd/errnos.awk: Likewise.
23791 * sysdeps/mach/hurd/fork.c: Likewise.
23792 * sysdeps/mach/hurd/getcwd.c: Likewise.
23793 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23794 * sysdeps/mach/hurd/mmap.c: Likewise.
23795 * sysdeps/mach/hurd/utimes.c: Likewise.
23796 * sysdeps/mach/hurd/xmknod.c: Likewise.
23797 * sysdeps/posix/profil.c: Likewise.
23798 * sysdeps/posix/readdir_r.c: Likewise.
23799 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23800 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23801 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23802 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23804 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23805 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23806 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23808 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23809 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23810 * sysdeps/pthread/lio_listio.c: Likewise.
23811 * sysdeps/sparc/dl-procinfo.h: Likewise.
23812 * sysdeps/unix/i386/sysdep.S: Likewise.
23813 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23814 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23815 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23816 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23818 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23819 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23820 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23821 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23822 * sysdeps/wordsize-32/divdi3.c: Likewise.
23823 * time/sys/time.h: Likewise.
23824 * wcsmbs/Makefile: Likewise.
23825
0549fbba
DM
238262013-01-01 David S. Miller <davem@davemloft.net>
23827
a141f1a7
DM
23828 * po/fr.po: Update from translation team.
23829
0549fbba
DM
23830 * catgets/gencat.c: Update copyright year.
23831 * csu/version.c: Likewise.
23832 * debug/catchsegv.sh: Likewise.
23833 * debug/pcprofiledump.c: Likewise.
23834 * debug/xtrace.sh: Likewise.
23835 * elf/ldconfig.c: Likewise.
23836 * elf/ldd.bash.in: Likewise.
23837 * elf/pldd.c: Likewise.
23838 * elf/sotruss.ksh: Likewise.
23839 * elf/sprof.c: Likewise.
23840 * iconv/iconv_prog.c: Likewise.
23841 * iconv/iconvconfig.c: Likewise.
23842 * locale/programs/locale.c: Likewise.
23843 * locale/programs/localedef.c: Likewise.
23844 * login/programs/pt_chown.c: Likewise.
23845 * malloc/memusage.sh: Likewise.
23846 * malloc/memusagestat.c: Likewise.
23847 * malloc/mtrace.pl: Likewise.
23848 * nscd/nscd.c: Likewise.
23849 * nss/getent.c: Likewise.
23850 * nss/makedb.c: Likewise.
23851 * posix/getconf.c: Likewise.
23852
18ea052c
SP
238532012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23854
23855 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23856 numbers.
23857
9c89fca6
MF
238582012-12-30 Mike Frysinger <vapier@gentoo.org>
23859
23860 * math/bits/mathcalls.h (modf): Use __nonnull.
23861
085ec079
SP
238622012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23863
23864 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23865 (split): Use macro CN instead of the bare value.
23866 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23867 could be used.
23868 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23869 instead of the bare value.
23870 (power1): Likewise.
23871
6d9f97e1
SP
238722012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23873
d63f73be
SP
23874 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23875 __ATAN_TWOM.
23876 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23877
6d9f97e1
SP
23878 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23879 their values.
23880 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23881 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23882 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23883 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23884
4c4febf5
AJ
238852012-12-28 Andreas Jaeger <aj@suse.de>
23886
af5843ef
AJ
23887 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23888 values are from Linux 3.7.
23889
4c4febf5
AJ
23890 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23891 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23892
99136f82
SP
238932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23894
2f216c3c 23895 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
23896 TRUE case.
23897
99136f82
SP
23898 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23899 (norm): Likewise.
23900 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23901 variables with preprocessor constants.
23902 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23903 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23904 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23905
7fffbdff
BH
239062012-12-27 Bruno Haible <bruno@clisp.org>
23907
23908 [BZ #14317]
23909 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23910 only if needed.
23911
b76eb5f0
SP
239122012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23913
31a7fe5c
SP
23914 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23915 and use variable directly.
23916 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23917
b76eb5f0
SP
23918 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23919 MPONE.
23920 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23922 variable MPONE.
23923 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23924 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23925 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23926 include directive. Remove local variable MPONE.
23927 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23928 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23929 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23930
2c8bfe7d
DM
239312012-12-25 David S. Miller <davem@davemloft.net>
23932
23933 * version.h (RELEASE): Set to "development".
23934 (VERSION): Set to "2.17.90".
23935 * NEWS: Add 2.18 section.
23936
147d03b0
DM
239372012-12-21 David S. Miller <davem@davemloft.net>
23938
23939 * po/hr.po: Update from translation team.
23940
a8ebb2b9
AK
239412012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23942
23943 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23944
95b4f1b6
SE
239452012-12-19 Steve Ellcey <sellcey@mips.com>
23946
b2d94007 23947 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 23948
cedb2a90
MS
239492012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23950
23951 * manual/contrib.texi (Contributors): Spelling correction.
23952
bbf527d6
DM
239532012-12-15 David S. Miller <davem@davemloft.net>
23954
23955 * po/ru.po: Update from translation team.
23956
bc38c906
DM
239572012-12-13 David S. Miller <davem@davemloft.net>
23958
85429b1a
DM
23959 * NEWS: Mention IFUNC testsuite enhancements.
23960
d283e353
DM
23961 * po/pl.po: Update from translation team.
23962 * po/bg.po: Likewise.
23963
bc38c906
DM
23964 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23965 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23966
a181b0d7
DM
239672012-12-11 David S. Miller <davem@davemloft.net>
23968
4641d57e
DM
23969 * po/sv.po: Update from translation team.
23970
f7bc6495
DM
23971 * po/vi.po: Update from translation team.
23972
6fc9048f
DM
23973 * po/cs.po: Update from translation team.
23974
a181b0d7
DM
23975 * po/de.po: Update from translation team.
23976 * po/eo.po: Likewise.
23977 * po/nl.po: Likewise.
23978
f70bfe80
SP
239792012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23980
3c8b4190
SP
23981 [BZ #14246]
23982 * manual/argp.texi (Argp Helper Functions): Move node to follow
23983 Argp Parsing State.
23984
f70bfe80
SP
23985 [BZ #14872]
23986 * manual/conf.texi (Limits on File System Capacity): Mention if
23987 terminating null is included in the max size.
23988
188f0adf
AJ
239892012-12-10 Andreas Jaeger <aj@suse.de>
23990
23991 * po/cs.po: Update from translation team.
23992
56e7d3ad
SP
239932012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23994
23995 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23996 void pointer and cast to uintptr_t.
23997 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23998 path.
23999 * sysdeps/s390/s390-64/memcpy.S: Likewise.
24000 * sysdeps/s390/s390-64/memset.S: Likewise.
24001
76f2d2ea 240022012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
24003
24004 [BZ #14833]
24005 * menual/message.texi (Message Translation): Fix typos.
24006 (Helper programs for gettext): Likewise.
24007
67cbf9a2
AS
240082012-12-07 Andreas Schwab <schwab@linux-m68k.org>
24009
24010 [BZ #14898]
24011 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24012 Change to -1.
24013
682d0e9a
DM
240142012-12-07 David S. Miller <davem@davemloft.net>
24015
24016 * po/libc.pot: Update.
24017
573cd484
RH
240182012-12-07 Richard Henderson <rth@redhat.com>
24019
7e9da188 24020 [BZ #10114]
573cd484
RH
24021 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24022 normal/normal case to before the switch.
24023 (_FP_DIV): Likewise.
24024
e933a943
MF
240252012-12-06 Carlos O'Donell <carlos@systemhalted.org>
24026 Mike Frysinger <vapier@gentoo.org>
24027
24028 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24029 check for __NR_fadvise64_64.
24030
82123268
CM
240312012-12-06 Chris Metcalf <cmetcalf@tilera.com>
24032
24033 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24034 0, not just to plain "0" as a statement.
24035 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24036 with cw.
24037
d9814526
JM
240382012-12-06 Joseph Myers <joseph@codesourcery.com>
24039
24040 * NEWS: Use sourceware.org in Bugzilla URL.
24041
7728c574
SP
240422012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24043
f16946dd
SP
24044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24045 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24046
5704bbcb
SP
24047 * stdio-common/tst-put-error.c (do_test): Add newline to the
24048 padded test to ensure flush.
24049
17aa0516
JL
240502012-12-05 Jeff Law <law@redhat.com>
24051
24052 * sunrpc/etc.rpc (fedfs_admin): Add entry.
24053
363313b5
JM
240542012-12-05 Joseph Myers <joseph@codesourcery.com>
24055
effbd42a
JM
24056 * README: Don't refer to ports add-on as distributed separately.
24057 Mention AArch64 in list of systems supported in the ports add-on.
24058
87600365
JM
24059 * LICENSES: Add more non-FSF copyright and license notices.
24060
a0d7066a
JM
24061 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24062 ((unused)).
24063
66ca5a5b
JM
24064 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24065
363313b5
JM
24066 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24067 10000 as width of padded output.
24068
b37984ad
JM
240692012-12-04 Joseph Myers <joseph@codesourcery.com>
24070
9003570a
JM
24071 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24072
b37984ad
JM
24073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24074 variable LX with __attribute__ ((unused)).
24075 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24076 Likewise.
24077 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24078 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24079 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24080 with __attribute__ ((unused)).
24081
c8df52ec
DM
240822012-12-04 David S. Miller <davem@abraco.davemloft.net>
24083
24084 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24085
b3b099af
JM
240862012-12-04 Joseph Myers <joseph@codesourcery.com>
24087
c33aa6e3
JM
24088 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24089 (CFLAGS-nldbl-acos.c): New variable.
24090 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24091 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24092 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24093 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24094 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24095 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24096 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24097 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24098 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24099 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24100 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24101 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24102 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24103 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24104 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24105 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24106 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24107 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24108 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24109 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24110 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24111 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24112 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24113 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24114 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24115 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24116 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24117 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24118 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24119 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24120 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24121 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24122 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24123 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24124 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24125 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24126 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24127 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24128 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24129 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24130 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24131 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24132 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24133 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24134 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24135 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24136 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24137 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24138 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24139 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24140 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24141 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24142 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24143 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24144 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24145 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24146 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24147 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24148 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24149 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24150 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24151 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24152 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24153 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24154 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24155 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24156 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24157 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24158 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24159 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24160 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24161 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24162 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24163 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24164 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24165 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24166 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24167 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24168 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24169 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24170 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24171 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24172 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24173 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24174 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24175 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24176 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24177 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24178 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24179 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24180 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24181 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24182 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24183 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24184 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24185 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24186 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24187
20f0018d
JM
24188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24189 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24190
b3b099af
JM
24191 [BZ #14914]
24192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24193 whole low double instead of just low 47 bits when splitting values
24194 into two parts.
24195
029264d1
AM
241962012-12-03 Allan McRae <allan@archlinux.org>
24197
24198 * manual/stdio.texi (Predefined Printf Handlers): Remove
24199 @hsep and @vsep usage.
24200
c9d6789e
MF
242012012-12-03 Mike Frysinger <vapier@gentoo.org>
24202
24203 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24204 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24205
4b7634a5
JL
242062012-12-03 Jeff Law <law@redhat.com>
24207
24208 * time/sys/time.h (settimeofday): Do not mark TV argument
24209 as __nonnull.
24210
eb6cbd24
MF
242112012-12-01 Mike Frysinger <vapier@gentoo.org>
24212
24213 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24214 when currently writing and seek to current position when not.
24215 * libio/Makefile (tests): Remove bug-fclose1.
24216 * libio/bug-fclose1.c: Delete.
24217
f638872a
JM
242182012-12-01 Joseph Myers <joseph@codesourcery.com>
24219
24220 * manual/arith.texi (feenableexcept): Fix typo.
24221 (fedisableexcept): Likewise.
24222
48085d14
RM
242232012-11-30 Roland McGrath <roland@hack.frob.com>
24224
24225 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24226 second, differently-typed declaration, rather than a cast.
24227
1a538b9f
SP
242282012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24229
24230 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24231 * include/rpc/svc.h: ... here.
24232
d07f2ff1 242332012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
24234
24235 [BZ #13013]
24236 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24237 depending n and resplen2 to catch cases where answer
24238 equals answerp2.
24239
c93ec1f0
CD
242402012-11-29 Carlos O'Donell <carlos@systemhalted.org>
24241
24242 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24243 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24244
37db69de
MF
242452012-11-29 Mike Frysinger <vapier@gentoo.org>
24246
24247 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24248
e10c4e4f
RM
242492012-11-29 Roland McGrath <roland@hack.frob.com>
24250
24251 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24252
2af1b328
JL
242532012-11-28 Jeff Law <law@redhat.com>
24254
24255 [BZ #13761]
24256 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24257 dataset_temporary. Track alloca usage into alloca_used.
24258 If dataset is large allocate and release it via malloc/free.
24259
111db5b1
FW
242602012-06-04 Florian Weimer <fweimer@redhat.com>
24261
f06cc227 24262 [BZ #14197]
111db5b1
FW
24263 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
24264
dd694abd
DM
242652012-11-28 David S. Miller <davem@davemloft.net>
24266
24267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24268
9984dd01
JM
242692012-11-28 Joseph Myers <joseph@codesourcery.com>
24270
24271 [BZ #14803]
24272 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
24273 of pi/2 rounded to nearest to 64 bits.
24274 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
24275 nearest to 64 bits.
24276 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
24277 bits.
24278
14bc93a9
JL
242792012-11-28 Jeff Law <law@redhat.com>
24280 Martin Osvald <mosvald@redhat.com>
24281
24282 [BZ #14889]
24283 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
24284 * sunrpc/svc.c: Include time.h.
24285 (__svc_accept_failed): New function.
24286 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
24287 any reason other than EINTR, call __svc_accept_failed.
24288 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
24289 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
24290
e3c6aa3a
AS
242912012-11-28 Andreas Schwab <schwab@suse.de>
24292
24293 * scripts/abilist.awk: Also handle indirect functions in .opd
24294 section.
24295
1bead169
JM
242962012-11-28 Joseph Myers <joseph@codesourcery.com>
24297
24298 [BZ #13881]
24299 * sysdeps/x86/fpu/powl_helper.c: New file.
24300 * sysdeps/x86/fpu/Makefile: Likewise.
24301 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
24302 (p3): New object.
24303 (__ieee754_powl): Use __powl_helper for finite arguments except
24304 integer exponents below 8.
24305 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
24306 (p3): New object.
24307 (__ieee754_powl): Use __powl_helper for finite arguments except
24308 integer exponents below 8.
24309 * math/libm-test.inc (pow_test): Add more tests and enable some
24310 previously disabled tests.
24311 * sysdeps/i386/fpu/libm-test-ulps: Update.
24312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24313
0817d63d
SP
243142012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24315 Carlos O'Donell <carlos_odonell@mentor.com>
24316
24317 * nss/makedb.c (is_prime): Assert that input is odd and greater
24318 than 4. Note that fact in a comment too.
24319 (next_prime): Add 4 to input.
24320
de2fd463
SP
243212012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24322
24323 [BZ #11741]
24324 * libio/Makefile (tests): Add test case tst-fwrite-error.
24325 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
24326 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24327 * libio/tst-fwrite-error.c: New test case.
24328
c515fb51
L
243292012-11-26 H.J. Lu <hongjiu.lu@intel.com>
24330
24331 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
24332 before casting to void *.
24333 * include/libc-internal.h (__pointer_type): New macro.
24334 (__integer_if_pointer_type_sub): Likewise.
24335 (__integer_if_pointer_type): Likewise.
24336 (cast_to_integer): Likewise.
24337 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
24338 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
24339 before casting to atomic64_t.
24340 (atomic_exchange_acq): Likewise.
24341 (__arch_exchange_and_add_body): Likewise.
24342 (__arch_add_body): Likewise.
24343 (atomic_add_negative): Likewise.
24344 (atomic_add_zero): Likewise.
24345
4cf77aa9
JM
243462012-11-26 Joseph Myers <joseph@codesourcery.com>
24347
24348 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
24349 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
24350 (add_fdes): Likewise.
24351 (linear_search_fdes): Likewise.
24352 (binary_search_unencoded_fdes): Likewise.
24353
d260b3b4
AS
243542012-11-26 Andreas Schwab <schwab@linux-m68k.org>
24355
24356 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
24357
67060746
AC
243582012-11-24 Adam Conrad <adconrad@0c3.net>
24359
24360 * configure.in: Autodetect C++ header directories.
24361 * configure: Regenerated.
24362
800938a1
MF
243632012-11-23 Mike Frysinger <vapier@gentoo.org>
24364
24365 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
24366
4e6e34e6
AS
243672012-11-23 Andreas Schwab <schwab@linux-m68k.org>
24368
24369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24370
7c7feb47
JM
243712012-11-22 Joseph Myers <joseph@codesourcery.com>
24372
7184dcdf
JM
24373 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
24374 LDBL_MANT_DIG == 106]: Disable some tests.
24375 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24376 Likewise.
24377 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
24378 Likewise.
24379
0a42601f
JM
24380 [BZ #14871]
24381 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
24382 input for small inputs. Return +/- pi/2 for large inputs.
24383 * math/libm-test.inc (atan_test): Add more tests.
24384
79c9b9fe
JM
24385 * sysdeps/generic/unwind-dw2-fde-glibc.c
24386 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
24387 __attribute__ ((unused)).
24388
c60d3bf2
JM
24389 [BZ #14645]
24390 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
24391 x * y if x and y are nonzero and z is zero.
24392
ef1e0867
JM
24393 [BZ #14811]
24394 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
24395 nonzero exponents with absolute value below 0x1p-117 to +/-
24396 0x1p-117.
24397
1468ded3
JM
24398 [BZ #14869]
24399 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24400 up arguments below 2**-450, not just those below 2**-500.
24401 * math/libm-test.inc (hypot_test): Add another test.
24402
8e27e3cc
JM
24403 [BZ #14868]
24404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24405 Return a+b for ratio over 2**120, not 2**60.
24406 * math/libm-test.inc (hypot_test): Add another test.
24407
c9c0279b
JM
24408 * math/libm-test.inc (clog_test): Use
24409 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24410 (clog10_test): Likewise.
24411
7c7feb47
JM
24412 [BZ #6778]
24413 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24414
fff1530e
AS
244152012-11-22 Andreas Schwab <schwab@suse.de>
24416
24417 * sysdeps/i386/fpu/libm-test-ulps: Update.
24418
94558d30
PT
244192012-11-22 Pino Toscano <toscano.pino@tiscali.it>
24420
24421 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24422 printf output with newline.
24423
7e1be741
L
244242012-11-21 H.J. Lu <hongjiu.lu@intel.com>
24425
6bfea974
L
24426 [BZ #14865]
24427 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24428 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24429 -z nodlopen, -z initfirst and -z execstack support.
24430 * configure: Regenerated.
24431
7e1be741
L
24432 * elf/elf.h (DF_1_NODIRECT): New macro.
24433 (DF_1_IGNMULDEF): Likewise.
24434 (DF_1_NOKSYMS): Likewise.
24435 (DF_1_NOHDR): Likewise.
24436 (DF_1_EDITED): Likewise.
24437 (DF_1_NORELOC): Likewise.
24438 (DF_1_SYMINTPOSE): Likewise.
24439 (DF_1_GLOBAUDIT): Likewise.
24440 (DF_1_SINGLETON): Likewise.
24441 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24442 DT_1_SUPPORTED_MASK bits.
24443 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24444
105ce2ce
CD
244452012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
24446
24447 * sysdeps/unix/make-syscalls.sh: Document prefixes.
24448
123be9de
TS
244492012-11-20 Thomas Schwinge <thomas@codesourcery.com>
24450
d072f3f7
TS
24451 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24452 macro.
24453
123be9de
TS
24454 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24455 (sendmmsg): Move declarations...
24456 * socket/sys/socket.h: ... here.
24457 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24458 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24459 include it from...
24460 * socket/recvmmsg.c: ... this new file.
24461 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24462 (sendmmsg): Rename to __sendmmsg, create weak alias and make
24463 definition of __sendmmsg hidden.
24464 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24465 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24466 Move ENOSYS stub into and include it from...
24467 * socket/sendmmsg.c: ... this new file.
24468 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24469 (sysdep_routines): Move recvmmsg and sendmmsg...
24470 * socket/Makefile (routines): ... here.
24471 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24472 (GLIBC_PRIVATE): Add __sendmmsg.
24473 * include/sys/socket.h (__sendmmsg): Add declarations.
24474 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24475 sendmmsg.
24476
cf9a5d18
JM
244772012-11-20 Joseph Myers <joseph@codesourcery.com>
24478
24479 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24480 variable I1 with __attribute__ ((unused)).
24481 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24482
ecd4caf9
JM
244832012-11-19 Joseph Myers <joseph@codesourcery.com>
24484
be14d48f
JM
24485 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24486 DUMMY variables with __attribute__ ((unused)).
24487
ecd4caf9
JM
24488 * bits/byteswap.h: Include <bits/types.h>.
24489 (__bswap_64): Use __uint64_t instead of unsigned long long int.
24490
986cab95
PT
244912012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24492
24493 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24494 string_t. Do not manually set errno.
24495 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24496 length with __strnlen. Make sure to both set errno and return it on
24497 failure.
24498
6d33cc9d
DM
244992012-11-19 David S. Miller <davem@davemloft.net>
24500
24501 With help from Joseph Myers.
24502 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24503 very large arguments properly.
24504 * math/libm-test.inc (atan_test): New tests.
24505 (atan2_test): New tests.
24506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24508
ee663277
JM
245092012-11-19 Joseph Myers <joseph@codesourcery.com>
24510
877f2d8e
JM
24511 [BZ #14856]
24512 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24513 Define to 3.
24514
116fc08a
JM
24515 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24516 [POSIX] (EADDRNOTAVAIL): Likewise.
24517 [POSIX] (EAFNOSUPPORT): Likewise.
24518 [POSIX] (EALREADY): Likewise.
24519 [POSIX] (ECONNABORTED): Likewise.
24520 [POSIX] (ECONNREFUSED): Likewise.
24521 [POSIX] (ECONNRESET): Likewise.
24522 [POSIX] (EDESTADDRREQ): Likewise.
24523 [POSIX] (EDQUOT): Likewise.
24524 [POSIX] (EHOSTUNREACH): Likewise.
24525 [POSIX] (EIDRM): Likewise.
24526 [POSIX] (EISCONN): Likewise.
24527 [POSIX] (ELOOP): Likewise.
24528 [POSIX] (EMULTIHOP): Likewise.
24529 [POSIX] (ENETDOWN): Likewise.
24530 [POSIX] (ENETUNREACH): Likewise.
24531 [POSIX] (ENOBUFS): Likewise.
24532 [POSIX] (ENODATA): Likewise.
24533 [POSIX] (ENOLINK): Likewise.
24534 [POSIX] (ENOMSG): Likewise.
24535 [POSIX] (ENOPROTOOPT): Likewise.
24536 [POSIX] (ENOSR): Likewise.
24537 [POSIX] (ENOSTR): Likewise.
24538 [POSIX] (ENOTCONN): Likewise.
24539 [POSIX] (ENOTSOCK): Likewise.
24540 [POSIX] (EOPNOTSUPP): Likewise.
24541 [POSIX] (EOVERFLOW): Likewise.
24542 [POSIX] (EPROTO): Likewise.
24543 [POSIX] (EPROTONOSUPPORT): Likewise.
24544 [POSIX] (EPROTOTYPE): Likewise.
24545 [POSIX] (ESTALE): Likewise.
24546 [POSIX] (ETIME): Likewise.
24547 [POSIX] (ETXTBSY): Likewise.
24548 [POSIX] (EWOULDBLOCK): Likewise.
24549 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24550 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24551 [POSIX] (SEEK_CUR): Likewise.
24552 [POSIX] (SEEK_END): Likewise.
24553 [POSIX || UNIX98] (mode_t): Do not require.
24554 [POSIX] (off_t): Likewise.
24555 [POSIX] (pid_t): Likewise.
24556 [POSIX] (sys/stat.h): Do not allow header.
24557 [POSIX] (unistd.h): Likewise.
24558 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24559 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24560 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24561 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24562 require.
24563 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24564 sigevent): Specify elements.
24565 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24566 entry.
24567 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24568 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24569
a483863f
JM
24570 * conform/data/cpio.h-data [POSIX]: Disable whole file.
24571 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24572 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24573 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24574 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24575 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24576 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24577 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24578 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24579 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24580 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24581 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24582 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24583 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24584 Likewise.
24585 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24586 Likewise.
24587 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24588 Likewise.
24589 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24590 Likewise.
24591 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24592 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24593 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24594 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24595 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24596 Specify lower bound on value.
24597 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24598 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24599 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24600 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24601 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24602 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24603 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24604 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24605 value.
24606 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24607 as optional.
24608 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24609 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24610 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24611 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24612 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24613 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24614 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24615 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24616 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24617 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24618 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24619 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24620 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24621 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24622 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24623 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24624 entry.
24625 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24626 optional.
24627 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24628 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24629 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24630 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24631 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24632 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24633 Likewise.
24634 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24635 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24636 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24637 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24638 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24639 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24640 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24641 as optional.
24642 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24643 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24644 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24645 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24646 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24647 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24648 specify as optional.
24649 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24650 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24651 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24652 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24653 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24654 [XPG3] (NL_LANGMAX): Likewise.
24655 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24656 [POSIX || XPG3] (NL_NMAX): Likewise.
24657 [POSIX || XPG3] (NL_SETMAX): Likewise.
24658 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24659 [XPG3] (NZERO): Likewise.
24660 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24661 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24662 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24663 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24664 (REG_ERANGE): Expect.
24665 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24666 optional-constant.
24667 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24668 Use (void) in prototype.
24669 [POSIX] (*_t): Allow.
24670 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24671 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24672 (WRDE_BADVAL): Expect.
24673
5ba924e3
JM
24674 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24675 expect.
24676 [XPG3 || XPG4] (O_RSYNC): Likewise.
24677 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24678 Likewise.
24679 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24680 [XPG3 || XPG4] (sigqueue): Likewise.
24681 [XPG3 || XPG4] (sigtimedwait): Likewise.
24682 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24683 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24684 [XPG3 || XPG4] (vsnprintf): Likewise.
24685 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24686 Likewise.
24687 [XPG3 || XPG4] (blksize_t): Likewise.
24688 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24689 Likewise.
24690 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24691 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24692 [XPG3 || XPG4] (struct itimerspec): Likewise.
24693 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24694 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24695 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24696 [XPG3 || XPG4] (clockid_t): Likewise.
24697 [XPG3 || XPG4] (timer_t): Likewise.
24698 [XPG3 || XPG4] (clock_getres): Likewise.
24699 [XPG3 || XPG4] (clock_gettime): Likewise.
24700 [XPG3 || XPG4] (clock_settime): Likewise.
24701 [XPG3 || XPG4] (nanosleep): Likewise.
24702 [XPG3 || XPG4] (timer_create): Likewise.
24703 [XPG3 || XPG4] (timer_delete): Likewise.
24704 [XPG3 || XPG4] (timer_gettime): Likewise.
24705 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24706 [XPG3 || XPG4] (timer_settime): Likewise.
24707 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24708 [XPG3 || XPG4] (getlogin_r): Likewise.
24709 [XPG3 || XPG4] (pread): Likewise.
24710 [XPG3 || XPG4] (pthread_atfork): Likewise.
24711 [XPG3 || XPG4] (pwrite): Likewise.
24712
ee663277
JM
24713 [BZ #14835]
24714 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24715 <bits/siginfo.h>.
24716
942caa16
PT
247172012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24718
e19af380
PT
24719 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24720 finalizing MALLSTREAM.
24721
942caa16
PT
24722 * sysdeps/mach/hurd/syncfs.c: New file.
24723
cfde9b46
SP
247242012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24725
24726 [BZ #14719]
24727 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24728 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24729 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24730 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24731 (_nss_dns_gethostbyname4_r): Likewise.
24732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24733 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24734
f6da27e5
PH
247352012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24736
24737 [BZ #13763]
24738 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24739
6665d4a2
SM
247402012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24741
1f51ee92
SM
24742 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24743 * elf/cache.c (print_entry): Print ",AArch64" for
24744 FLAG_AARCH64_LIB64
24745
6665d4a2
SM
24746 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24747 * elf/cache.c (print_entry): Print ",hard-float" for
24748 FLAG_ARM_LIBHF.
24749
05b227bd
DM
247502012-11-18 David S. Miller <davem@davemloft.net>
24751
24752 With help from Joseph Myers.
24753 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24754 cutoff to 2**-13.
24755 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24756 cutoff to 2**-25.
24757 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24758 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24759 small.
24760 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24761 * math/libm-test.inc (y0_test): New tests.
24762 (y1_test): New tests.
24763 * sysdeps/i386/fpu/libm-test-ulps: Update.
24764 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24766
786b0b67
AS
247672012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24768
24769 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24770 64-bit targets.
24771 * configure: Regenerated.
24772
8e18b86d
DM
247732012-11-17 David S. Miller <davem@davemloft.net>
24774
24775 [BZ #14811]
24776 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24777 nonzero exponents with absolute value below 0x1p-128 to +/-
24778 0x1p-128.
24779
531f1ae0
JM
247802012-11-17 Joseph Myers <joseph@codesourcery.com>
24781
12df29e2
JM
24782 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24783
150dc1a0
JM
24784 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24785
531f1ae0
JM
24786 * posix/getconf-speclist.c: New file.
24787 * posix/posix-envs.def: Likewise.
24788 * posix/confstr.c (START_ENV_GROUP): New macro.
24789 (END_ENV_GROUP): Likewise.
24790 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24791 (KNOWN_PRESENT_ENV_STRING): Likewise.
24792 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24793 (UNKNOWN_ENVIRONMENT): Likewise.
24794 (confstr): Include posix-envs.def instead of handling
24795 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24796 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24797 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24798 (END_ENV_GROUP): Likewise.
24799 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24800 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24801 (UNKNOWN_ENVIRONMENT): Likewise.
24802 (__sysconf): Include posix-envs.def instead of handling associated
24803 cases directly here.
24804 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24805 preprocessing getconf-speclist.c rather than running getconf or
24806 generating empty file.
24807
a93f9cbc
PT
248082012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24809
24810 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24811
d64d9f87
AL
248122012-11-16 Andrej Lajovic <natrij@gmail.com>
24813
24814 [BZ #14672]
24815 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24816
447885eb
DM
248172012-11-16 David S. Miller <davem@davemloft.net>
24818
24819 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24820 smaller than LDBL_EPSILON/2.0L, just return xm1.
24821
bcbf9830
L
248222012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24823
24824 * elf/tst-array1.c (init): Set constructor priority to 1000.
24825 (fini): Set destructor priority to 1000.
24826 * elf/tst-array2dep.c: Likewise.
24827
2b766585
SP
248282012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24829
24830 [BZ #11741]
24831 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24832 (_IO_new_file_xsputn): Also return EOF if none of the input
24833 data was written when overflow failed.
24834 * libio/iopadn.c (_IO_padn): Likewise.
24835 * libio/iowpadn.c (_IO_wpadn): Likewise.
24836 * stdio-common/tst-put-error.c: Add copyright notice.
24837 (do_test): Add case for printing padded string.
24838 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24839 _IO_padn returned error.
24840 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24841 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24842 return EOF.
24843
b1848fde
SP
248442012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24845
24846 * libio/libioP.h: Add comment note that the references to C++
24847 bits are now obsolete.
24848
2fd89785
MS
248492012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24850
24851 * math/libm-test.inc (check_complex): Use asprintf.
24852
e3ea5409
JM
248532012-11-14 Joseph Myers <joseph@codesourcery.com>
24854
24855 * debug/pcprofiledump.c (print_version): Update copyright year.
24856 * malloc/memusagestat.c (print_version): Likewise.
24857
2e64d265
L
248582012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24859
24860 [BZ #14831]
24861 * elf/Makefile (tests): Add tst-audit8.
24862 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24863 ($(objpfx)tst-audit8.out): New target.
24864 (tst-audit8-ENV): New variable.
24865 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24866 audit if l_reloc_result is NULL.
24867 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24868 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24869 * elf/tst-audit8.c: New file.
24870
c485e4d2
MS
248712012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24872
24873 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24874 * misc/Makefile (CFLAGS-select.c): Define.
24875 * posix/Makefile (CFLAGS-pause.c): Define.
24876
3a0d900a
DM
248772012-11-13 David S. Miller <davem@davemloft.net>
24878
24879 * crypt/Makefile: Move test targets after toplevel Rules
24880 inclusion. Grab any necessary sysdep routines when linking.
24881 * crypt/md5.c (md5_process_block): Remove define, we will always
24882 name it __md5_process_block.
24883 (md5_finish_ctx): Update md5_process_block call.
24884 (md5_stream): Likewise.
24885 (md5_process_bytes): Likewise.
24886 (md5_process_block): Rename to __md5_process_block and move to ...
24887 * crypt/md5-block.c: ... here.
24888 * crypt/sha256.c (sha256_process_block): Move to ...
24889 * crypt/sha256-block.c: ... here.
24890 * crypt/sha512.c (sha512_process_block): Move to ...
24891 * crypt/sha512-block.c: ... here.
24892 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24893 path.
24894 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24895 * sysdeps/sparc/sparc64/multiarch/Makefile
24896 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24897 crypt subdir.
24898 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24899 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24900 multiarch changes.
24901 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24902 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24903 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24904 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24905 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24906 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24907 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24908 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24909 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24910 file.
24911 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24912 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24913 file.
24914 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24915
8ca89318
JM
249162012-11-13 Joseph Myers <joseph@codesourcery.com>
24917
e27d476a
JM
24918 * timezone/tzselect.ksh: Update from tzcode git revision
24919 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24920 * timezone/zdump.c: Likewise.
24921 * timezone/zic.c: Likewise.
24922 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24923 in TZVERSION setting, not $(PKGVERSION).
24924 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24925 REPORT_BUGS_TO settings.
24926
8ca89318
JM
24927 [BZ #14838]
24928 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24929 macro.
24930
47594329
MS
249312012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24932
24933 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24934 detection to immediately after _FP_ROUND().
24935 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24936 bits are 0.
24937
640ac3f1
DM
249382012-11-11 David S. Miller <davem@davemloft.net>
24939
24940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24941 inttypes.h
24942 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24943 __close rather than their public counterparts.
24944
3d2577bb
JM
249452012-11-10 Joseph Myers <joseph@codesourcery.com>
24946
24947 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24948 file.
24949 [UNIX98] (sem_timedwait): Do not expect.
24950 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24951 [XPG4 || UNIX98] (sockatmark): Do not expect.
24952 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24953 (clock_getcpuclockid): Do not expect.
24954 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24955 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24956 Do not expect.
24957 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24958 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24959 [UNIX98] (vwscanf): Likewise.
24960 [UNIX98] (vswscanf): Likewise.
24961
fb1ae1ee
JM
249622012-11-09 Joseph Myers <joseph@codesourcery.com>
24963
9ec6f8bd
JM
24964 * timezone/version.h: Remove file.
24965 * timezone/README: Do not refer to version.h.
24966 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24967 $(objpfx)version.h.
24968 ($(objpfx)zdump.o): Likewise.
c3f81911 24969 ($(objpfx)version.h): New target.
9ec6f8bd 24970
0aa8f8a1
JM
24971 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24972 2012i.
24973 * timezone/README: Don't mention modification to tzselect.ksh.
24974 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24975 work on unmodified tzselect.ksh. Substitute version numbers in
24976 tzselect.ksh.
24977
4e87147f
JM
24978 * Makefile (format-me): Remove.
24979 (INSTALL): Adjust indentation. Use commands directly instead of
24980 using $(format-me).
24981
8b748aed
JM
24982 * aclocal.m4 (ACX_PKGVERSION): New macro.
24983 (ACX_BUGURL): Likewise.
24984 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24985 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24986 (REPORT_BUGS_TO): Likewise.
24987 * configure: Regenerated.
24988 * config.h.in (PKGVERSION): New macro.
24989 (REPORT_BUGS_TO): Likewise.
24990 * config.make.in (PKGVERSION): New variable.
24991 (PKGVERSION_TEXI): Likewise.
24992 (REPORT_BUGS_TO): Likewise.
24993 (REPORT_BUGS_TEXI): Likewise.
24994 * Makefile (format-me): Use -I$(common-objpfx)manual.
24995 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24996 ($(common-objpfx)manual/%): New target.
24997 (manual/%): Remove target.
24998 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24999 (print_version): Use PKGVERSION.
25000 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25001 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25002 and REPORT_BUGS_TO.
25003 ($(objpfx)xtrace): Likewise.
25004 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25005 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25006 (print_version): Use PKGVERSION.
25007 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25008 (do_version): Use PKGVERSION.
25009 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25010 REPORT_BUGS_TO.
25011 (common-ldd-rewrite): Likewise.
25012 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25013 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25014 (print_version): Use PKGVERSION.
25015 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25016 * elf/pldd.c (argp_program_bug_address): Remove variable.
25017 (more_help): New function.
25018 (argp): Use more_help.
25019 (print_version): Use PKGVERSION.
25020 * elf/sln.c (main): Use PKGVERSION.
25021 (usage): Use REPORT_BUGS_TO.
25022 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25023 (top level): Use PKGVERSION.
25024 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25025 (print_version): Use PKGVERSION.
25026 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25027 (print_version): Use PKGVERSION.
25028 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25029 (print_version): Use PKGVERSION.
25030 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25031 (print_version): Use PKGVERSION.
25032 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25033 (print_version): Use PKGVERSION.
25034 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25035 (print_version): Use PKGVERSION.
25036 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25037 and BUGURL.
25038 ($(objpfx)memusage): Likewise.
25039 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25040 (do_version): Use PKGVERSION.
25041 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25042 (print_version): Use PKGVERSION.
25043 * malloc/mtrace.pl ($PACKAGE): Remove variable.
25044 ($PKGVERSION): New variable.
25045 ($REPORT_BUGS_TO): Likewise.
25046 (usage): Use $REPORT_BUGS_TO.
25047 (top level): Use $PKGVERSION.
25048 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25049 ($(objpfx)pkgvers.texi): New rule.
25050 ($(objpfx)stamp-pkgvers): Likewise.
25051 * manual/install.texi: Include pkgvers.texi.
25052 (--with-pkgversion): Document new configure option.
25053 (--with-bugurl): Likewise.
25054 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25055 than necessarily for this particular distribution. Use
25056 REPORT_BUGS_TO for where to report bugs.
25057 * INSTALL: Regenerated.
25058 * manual/libc.texinfo: Include pkgvers.texi.
25059 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25060 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25061 (print_version): Use PKGVERSION.
25062 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25063 (print_version): Use PKGVERSION.
25064 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25065 (print_version): Use PKGVERSION.
25066 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25067 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25068 macro.
25069 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25070 (print_version): Use PKGVERSION.
25071 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25072 (print_version): Use PKGVERSION.
25073 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25074 and PKGVERSION.
25075
92e4b6a9
JM
25076 * timezone/checktab.awk: Update from tzcode 2012i.
25077 * timezone/ialloc.c: Likewise.
25078 * timezone/private.h: Likewise.
25079 * timezone/scheck.c: Likewise.
25080 * timezone/tzfile.h: Likewise.
25081 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25082 (TZVERSION): Hardcode tzcode version number.
25083 * timezone/zdump.c: Update from tzcode 2012i.
25084 * timezone/zic.c: Likewise.
25085 * timezone/version.h: New file.
25086 * timezone/README: Describe version.h. Update upstream location.
25087
9bde902c
JM
25088 [BZ #14824]
25089 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25090 (mktemp): Enable declaration.
25091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25095 Likewise.
25096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25097 Likewise.
25098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25099 Likewise.
25100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25101 Likewise.
25102 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25103 Likewise.
25104 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25105 Likewise.
25106
fb1ae1ee
JM
25107 [BZ #14821]
25108 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25109 offset in buffer as u_int32_t not u_long. Consistently use memcpy
25110 for copies of such integer values.
25111 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25112 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25113
2c1adbcb
AJ
251142012-11-09 Andreas Jaeger <aj@suse.de>
25115
25116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25117 definitions and declarations that are provided by
25118 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25119
d0f8457e
AK
251202012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25121
3a235abb 25122 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
25123 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25124 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25125 definition.
25126
57241e26
MS
251272012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25128
25129 * elf/elf.h: Update comment before AArch64 relocations.
25130
60e8270d
DM
251312012-11-07 David S. Miller <davem@davemloft.net>
25132
25133 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25134 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25135 (__start_context): Declare.
25136 (__makecontext_ret): Delete.
25137 (__makecontext): Hook up __start_context instead of
25138 __makecontext_ret.
25139 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25140 (sysdep_routines): Add __start_context when in stdlib.
25141
0fbb0fbc
JM
251422012-11-07 Joseph Myers <joseph@codesourcery.com>
25143
25144 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25145 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25146 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
25147 hardcoded "nm".
25148 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
25149 (READELF): New variable. Use it instead of hardcoded "readelf".
25150
eb48db7e
L
251512012-11-07 H.J. Lu <hongjiu.lu@intel.com>
25152
25153 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25154 * sysdeps/x86/Makefile: Here.
25155 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25156 * sysdeps/x86/tst-xmmymm.sh: This.
25157
05bcf62a
JM
251582012-11-07 Joseph Myers <joseph@codesourcery.com>
25159
c4b6cf53
JM
25160 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25161 expectations.
25162 [UNIX98] (pthread_barrier_t): Do not expect.
25163 [UNIX98] (pthread_barrierattr_t): Likewise.
25164 [UNIX98] (pthread_spinlock_t): Likewise.
25165 [UNIX98] (pthread_barrier_destroy): Likewise.
25166 [UNIX98] (pthread_barrier_init): Likewise.
25167 [UNIX98] (pthread_barrier_wait): Likewise.
25168 [UNIX98] (pthread_barrierattr_destroy): Likewise.
25169 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25170 [UNIX98] (pthread_barrierattr_init): Likewise.
25171 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25172 [UNIX98] (pthread_getcpuclockid): Likewise.
25173 [UNIX98] (pthread_mutex_timedlock): Likewise.
25174 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25175 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25176 [UNIX98] (pthread_sigmask): Likewise.
25177 [UNIX98] (pthread_spin_destroy): Likewise.
25178 [UNIX98] (pthread_spin_init): Likewise.
25179 [UNIX98] (pthread_spin_lock): Likewise.
25180 [UNIX98] (pthread_spin_trylock): Likewise.
25181 [UNIX98] (pthread_spin_unlock): Likewise.
25182 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25183 Do not expect.
25184 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25185 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25186 [XPG3 || XPG4] (pthread_cond_t): Likewise.
25187 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25188 [XPG3 || XPG4] (pthread_key_t): Likewise.
25189 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25190 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25191 [XPG3 || XPG4] (pthread_once_t): Likewise.
25192 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25193 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25194 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25195 [XPG3 || XPG4] (pthread_t): Likewise.
25196
cbe6e120
JM
25197 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25198 not expect.
25199 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25200
1b126443
JM
25201 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25202 Change function return type to int.
25203
b961a573
JM
25204 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25205 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25206 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25207 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25208 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25209 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25210 [!POSIX] (posix_madvise): Likewise.
25211 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25212 && !UNIX98].
25213 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25214 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25215 (mode_t): Likewise.
25216 (posix_mem_offset): Likewise.
25217 (posix_typed_mem_get_info): Likewise.
25218 (posix_typed_mem_open): Likewise.
25219
9e188909
JM
25220 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25221 Change condition to [XOPEN2K8].
25222
05bcf62a
JM
25223 * conform/conformtest.pl: Preprocess allow-header data with -x c
25224 instead of from stdin.
25225 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25226 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25227 [C99-based standards] (cerfc): Likewise.
25228 [C99-based standards] (cexp2): Likewise.
25229 [C99-based standards] (cexpm1): Likewise.
25230 [C99-based standards] (clog10): Likewise.
25231 [C99-based standards] (clog1p): Likewise.
25232 [C99-based standards] (clog2): Likewise.
25233 [C99-based standards] (clgamma): Likewise.
25234 [C99-based standards] (ctgamma): Likewise.
25235 [C99-based standards] (cerff): Likewise.
25236 [C99-based standards] (cerfcf): Likewise.
25237 [C99-based standards] (cexp2f): Likewise.
25238 [C99-based standards] (cexpm1f): Likewise.
25239 [C99-based standards] (clog10f): Likewise.
25240 [C99-based standards] (clog1pf): Likewise.
25241 [C99-based standards] (clog2f): Likewise.
25242 [C99-based standards] (clgammaf): Likewise.
25243 [C99-based standards] (ctgammaf): Likewise.
25244 [C99-based standards] (cerfl): Likewise.
25245 [C99-based standards] (cerfcl): Likewise.
25246 [C99-based standards] (cexp2l): Likewise.
25247 [C99-based standards] (cexpm1l): Likewise.
25248 [C99-based standards] (clog10l): Likewise.
25249 [C99-based standards] (clog1pl): Likewise.
25250 [C99-based standards] (clog2l): Likewise.
25251 [C99-based standards] (clgammal): Likewise.
25252 [C99-based standards] (ctgammal): Likewise.
25253 * conform/data/inttypes.h-data [C99-based standards]: Include
25254 stdint.h-data. Remove all expectations for stdint.h contents.
25255 [C99-based standards] (PRI*): Do not allow.
25256 [C99-based standards] (SCN*): Likewise.
25257 [C99-based standards] (*_t): Likewise.
25258 [C99-based-standards] (PRId8): Expect macro.
25259 [C99-based-standards] (PRIi8): Likewise.
25260 [C99-based-standards] (PRIo8): Likewise.
25261 [C99-based-standards] (PRIu8): Likewise.
25262 [C99-based-standards] (PRIx8): Likewise.
25263 [C99-based-standards] (PRIX8): Likewise.
25264 [C99-based-standards] (SCNd8): Likewise.
25265 [C99-based-standards] (SCNi8): Likewise.
25266 [C99-based-standards] (SCNo8): Likewise.
25267 [C99-based-standards] (SCNu8): Likewise.
25268 [C99-based-standards] (SCNx8): Likewise.
25269 [C99-based-standards] (PRIdLEAST8): Likewise.
25270 [C99-based-standards] (PRIiLEAST8): Likewise.
25271 [C99-based-standards] (PRIoLEAST8): Likewise.
25272 [C99-based-standards] (PRIuLEAST8): Likewise.
25273 [C99-based-standards] (PRIxLEAST8): Likewise.
25274 [C99-based-standards] (PRIXLEAST8): Likewise.
25275 [C99-based-standards] (SCNdLEAST8): Likewise.
25276 [C99-based-standards] (SCNiLEAST8): Likewise.
25277 [C99-based-standards] (SCNoLEAST8): Likewise.
25278 [C99-based-standards] (SCNuLEAST8): Likewise.
25279 [C99-based-standards] (SCNxLEAST8): Likewise.
25280 [C99-based-standards] (PRIdFAST8): Likewise.
25281 [C99-based-standards] (PRIiFAST8): Likewise.
25282 [C99-based-standards] (PRIoFAST8): Likewise.
25283 [C99-based-standards] (PRIuFAST8): Likewise.
25284 [C99-based-standards] (PRIxFAST8): Likewise.
25285 [C99-based-standards] (PRIXFAST8): Likewise.
25286 [C99-based-standards] (SCNdFAST8): Likewise.
25287 [C99-based-standards] (SCNiFAST8): Likewise.
25288 [C99-based-standards] (SCNoFAST8): Likewise.
25289 [C99-based-standards] (SCNuFAST8): Likewise.
25290 [C99-based-standards] (SCNxFAST8): Likewise.
25291 [C99-based-standards] (PRId16): Likewise.
25292 [C99-based-standards] (PRIi16): Likewise.
25293 [C99-based-standards] (PRIo16): Likewise.
25294 [C99-based-standards] (PRIu16): Likewise.
25295 [C99-based-standards] (PRIx16): Likewise.
25296 [C99-based-standards] (PRIX16): Likewise.
25297 [C99-based-standards] (SCNd16): Likewise.
25298 [C99-based-standards] (SCNi16): Likewise.
25299 [C99-based-standards] (SCNo16): Likewise.
25300 [C99-based-standards] (SCNu16): Likewise.
25301 [C99-based-standards] (SCNx16): Likewise.
25302 [C99-based-standards] (PRIdLEAST16): Likewise.
25303 [C99-based-standards] (PRIiLEAST16): Likewise.
25304 [C99-based-standards] (PRIoLEAST16): Likewise.
25305 [C99-based-standards] (PRIuLEAST16): Likewise.
25306 [C99-based-standards] (PRIxLEAST16): Likewise.
25307 [C99-based-standards] (PRIXLEAST16): Likewise.
25308 [C99-based-standards] (SCNdLEAST16): Likewise.
25309 [C99-based-standards] (SCNiLEAST16): Likewise.
25310 [C99-based-standards] (SCNoLEAST16): Likewise.
25311 [C99-based-standards] (SCNuLEAST16): Likewise.
25312 [C99-based-standards] (SCNxLEAST16): Likewise.
25313 [C99-based-standards] (PRIdFAST16): Likewise.
25314 [C99-based-standards] (PRIiFAST16): Likewise.
25315 [C99-based-standards] (PRIoFAST16): Likewise.
25316 [C99-based-standards] (PRIuFAST16): Likewise.
25317 [C99-based-standards] (PRIxFAST16): Likewise.
25318 [C99-based-standards] (PRIXFAST16): Likewise.
25319 [C99-based-standards] (SCNdFAST16): Likewise.
25320 [C99-based-standards] (SCNiFAST16): Likewise.
25321 [C99-based-standards] (SCNoFAST16): Likewise.
25322 [C99-based-standards] (SCNuFAST16): Likewise.
25323 [C99-based-standards] (SCNxFAST16): Likewise.
25324 [C99-based-standards] (PRId32): Likewise.
25325 [C99-based-standards] (PRIi32): Likewise.
25326 [C99-based-standards] (PRIo32): Likewise.
25327 [C99-based-standards] (PRIu32): Likewise.
25328 [C99-based-standards] (PRIx32): Likewise.
25329 [C99-based-standards] (PRIX32): Likewise.
25330 [C99-based-standards] (SCNd32): Likewise.
25331 [C99-based-standards] (SCNi32): Likewise.
25332 [C99-based-standards] (SCNo32): Likewise.
25333 [C99-based-standards] (SCNu32): Likewise.
25334 [C99-based-standards] (SCNx32): Likewise.
25335 [C99-based-standards] (PRIdLEAST32): Likewise.
25336 [C99-based-standards] (PRIiLEAST32): Likewise.
25337 [C99-based-standards] (PRIoLEAST32): Likewise.
25338 [C99-based-standards] (PRIuLEAST32): Likewise.
25339 [C99-based-standards] (PRIxLEAST32): Likewise.
25340 [C99-based-standards] (PRIXLEAST32): Likewise.
25341 [C99-based-standards] (SCNdLEAST32): Likewise.
25342 [C99-based-standards] (SCNiLEAST32): Likewise.
25343 [C99-based-standards] (SCNoLEAST32): Likewise.
25344 [C99-based-standards] (SCNuLEAST32): Likewise.
25345 [C99-based-standards] (SCNxLEAST32): Likewise.
25346 [C99-based-standards] (PRIdFAST32): Likewise.
25347 [C99-based-standards] (PRIiFAST32): Likewise.
25348 [C99-based-standards] (PRIoFAST32): Likewise.
25349 [C99-based-standards] (PRIuFAST32): Likewise.
25350 [C99-based-standards] (PRIxFAST32): Likewise.
25351 [C99-based-standards] (PRIXFAST32): Likewise.
25352 [C99-based-standards] (SCNdFAST32): Likewise.
25353 [C99-based-standards] (SCNiFAST32): Likewise.
25354 [C99-based-standards] (SCNoFAST32): Likewise.
25355 [C99-based-standards] (SCNuFAST32): Likewise.
25356 [C99-based-standards] (SCNxFAST32): Likewise.
25357 [C99-based-standards] (PRId64): Likewise.
25358 [C99-based-standards] (PRIi64): Likewise.
25359 [C99-based-standards] (PRIo64): Likewise.
25360 [C99-based-standards] (PRIu64): Likewise.
25361 [C99-based-standards] (PRIx64): Likewise.
25362 [C99-based-standards] (PRIX64): Likewise.
25363 [C99-based-standards] (SCNd64): Likewise.
25364 [C99-based-standards] (SCNi64): Likewise.
25365 [C99-based-standards] (SCNo64): Likewise.
25366 [C99-based-standards] (SCNu64): Likewise.
25367 [C99-based-standards] (SCNx64): Likewise.
25368 [C99-based-standards] (PRIdLEAST64): Likewise.
25369 [C99-based-standards] (PRIiLEAST64): Likewise.
25370 [C99-based-standards] (PRIoLEAST64): Likewise.
25371 [C99-based-standards] (PRIuLEAST64): Likewise.
25372 [C99-based-standards] (PRIxLEAST64): Likewise.
25373 [C99-based-standards] (PRIXLEAST64): Likewise.
25374 [C99-based-standards] (SCNdLEAST64): Likewise.
25375 [C99-based-standards] (SCNiLEAST64): Likewise.
25376 [C99-based-standards] (SCNoLEAST64): Likewise.
25377 [C99-based-standards] (SCNuLEAST64): Likewise.
25378 [C99-based-standards] (SCNxLEAST64): Likewise.
25379 [C99-based-standards] (PRIdFAST64): Likewise.
25380 [C99-based-standards] (PRIiFAST64): Likewise.
25381 [C99-based-standards] (PRIoFAST64): Likewise.
25382 [C99-based-standards] (PRIuFAST64): Likewise.
25383 [C99-based-standards] (PRIxFAST64): Likewise.
25384 [C99-based-standards] (PRIXFAST64): Likewise.
25385 [C99-based-standards] (SCNdFAST64): Likewise.
25386 [C99-based-standards] (SCNiFAST64): Likewise.
25387 [C99-based-standards] (SCNoFAST64): Likewise.
25388 [C99-based-standards] (SCNuFAST64): Likewise.
25389 [C99-based-standards] (SCNxFAST64): Likewise.
25390 [C99-based-standards] (PRIdMAX): Likewise.
25391 [C99-based-standards] (PRIiMAX): Likewise.
25392 [C99-based-standards] (PRIoMAX): Likewise.
25393 [C99-based-standards] (PRIuMAX): Likewise.
25394 [C99-based-standards] (PRIxMAX): Likewise.
25395 [C99-based-standards] (PRIXMAX): Likewise.
25396 [C99-based-standards] (SCNdMAX): Likewise.
25397 [C99-based-standards] (SCNiMAX): Likewise.
25398 [C99-based-standards] (SCNoMAX): Likewise.
25399 [C99-based-standards] (SCNuMAX): Likewise.
25400 [C99-based-standards] (SCNxMAX): Likewise.
25401 [C99-based-standards] (PRIdPTR): Likewise.
25402 [C99-based-standards] (PRIiPTR): Likewise.
25403 [C99-based-standards] (PRIoPTR): Likewise.
25404 [C99-based-standards] (PRIuPTR): Likewise.
25405 [C99-based-standards] (PRIxPTR): Likewise.
25406 [C99-based-standards] (PRIXPTR): Likewise.
25407 [C99-based-standards] (SCNdPTR): Likewise.
25408 [C99-based-standards] (SCNiPTR): Likewise.
25409 [C99-based-standards] (SCNoPTR): Likewise.
25410 [C99-based-standards] (SCNuPTR): Likewise.
25411 [C99-based-standards] (SCNxPTR): Likewise.
25412 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25413 allow.
25414 * conform/data/stdint.h-data: Update comments to clarify
25415 requirements.
25416 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
25417 type.
25418 [C99-based standards] (INT8_MAX): Likewise.
25419 [C99-based standards] (INT16_MIN): Likewise.
25420 [C99-based standards] (INT16_MAX): Likewise.
25421 [C99-based standards] (INT32_MIN): Likewise.
25422 [C99-based standards] (INT32_MAX): Likewise.
25423 [C99-based standards] (INT64_MIN): Likewise.
25424 [C99-based standards] (INT64_MAX): Likewise.
25425 [C99-based standards] (UINT8_MAX): Likewise.
25426 [C99-based standards] (UINT16_MAX): Likewise.
25427 [C99-based standards] (UINT32_MAX): Likewise.
25428 [C99-based standards] (UINT64_MAX): Likewise.
25429 [C99-based standards] (INT_LEAST8_MIN): Likewise.
25430 [C99-based standards] (INT_LEAST8_MAX): Likewise.
25431 [C99-based standards] (INT_LEAST16_MIN): Likewise.
25432 [C99-based standards] (INT_LEAST16_MAX): Likewise.
25433 [C99-based standards] (INT_LEAST32_MIN): Likewise.
25434 [C99-based standards] (INT_LEAST32_MAX): Likewise.
25435 [C99-based standards] (INT_LEAST64_MIN): Likewise.
25436 [C99-based standards] (INT_LEAST64_MAX): Likewise.
25437 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25438 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25439 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25440 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25441 [C99-based standards] (INT_FAST8_MIN): Likewise.
25442 [C99-based standards] (INT_FAST8_MAX): Likewise.
25443 [C99-based standards] (INT_FAST16_MIN): Likewise.
25444 [C99-based standards] (INT_FAST16_MAX): Likewise.
25445 [C99-based standards] (INT_FAST32_MIN): Likewise.
25446 [C99-based standards] (INT_FAST32_MAX): Likewise.
25447 [C99-based standards] (INT_FAST64_MIN): Likewise.
25448 [C99-based standards] (INT_FAST64_MAX): Likewise.
25449 [C99-based standards] (UINT_FAST8_MAX): Likewise.
25450 [C99-based standards] (UINT_FAST16_MAX): Likewise.
25451 [C99-based standards] (UINT_FAST32_MAX): Likewise.
25452 [C99-based standards] (UINT_FAST64_MAX): Likewise.
25453 [C99-based standards] (INTPTR_MIN): Likewise.
25454 [C99-based standards] (INTPTR_MAX): Likewise.
25455 [C99-based standards] (UINTPTR_MAX): Likewise.
25456 [C99-based standards] (INTMAX_MIN): Likewise.
25457 [C99-based standards] (INTMAX_MAX): Likewise.
25458 [C99-based standards] (UINTMAX_MAX): Likewise.
25459 [C99-based standards] (PTRDIFF_MIN): Likewise.
25460 [C99-based standards] (PTRDIFF_MAX): Likewise.
25461 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25462 [C99-based standards] (SIZE_MAX): Likewise.
25463 [C99-based standards] (WCHAR_MAX): Likewise.
25464 [C99-based standards] (WINT_MAX): Likewise.
25465 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
25466 constraint on value.
25467 [C99-based standards] (WCHAR_MIN): Likewise.
25468 [C99-based standards] (WINT_MIN): Likewise.
25469 [C99-based standards] (*_t): Allow.
25470 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25471 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25472 Include math.h-data and complex.h-data. Remove all expectations
25473 of math.h and complex.h contents.
25474 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25475 at end of line.
25476 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25477 (struct tm): Expect tag.
25478 [C99-based-standards] (wcstof): Expect function.
25479 [C99-based-standards] (wcstold): Likewise.
25480 [C99-based-standards] (wcstoll): Likewise.
25481 [C99-based-standards] (wcstoull): Likewise.
25482 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25483 macro-int-constant. Specify type.
25484 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
25485 constraint on value.
25486 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25487 Specify type.
25488 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25489 Specify value.
25490 [ISO C standards]: Do not allow headers.
25491 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25492 wcs[abcdefghijklmnopqrstuvwxyz]*.
25493 [ISO C standards] (*_t): Do not allow.
25494 * conform/data/wctype.h-data [C99-based standards] (iswblank):
25495 Expect function.
25496 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25497 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25498 Specify type.
25499 [ISO C standards]: Do not allow headers.
25500 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25501 is[abcdefghijklmnopqrstuvwxyz]*.
25502 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25503 to[abcdefghijklmnopqrstuvwxyz]*.
25504 [ISO C standards] (*_t): Do not allow.
25505 * conform/data/stdalign.h-data: New file.
25506 * conform/data/stdbool.h-data: Likewise.
25507 * conform/data/stdnoreturn.h-data: Likewise.
25508
7514feb8
RM
255092012-11-07 Roland McGrath <roland@hack.frob.com>
25510
25511 [BZ #14815]
25512 * manual/filesys.texi (Directory Entries): Typo fix.
25513 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25514
19b2ecfc
MS
255152012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25516
25517 * elf/elf.h (EM_AARCH64): New macro.
25518 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25519 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25520 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25521 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25522 (R_AARCH64_TLSDESC): Likewise.
25523 (NT_ARM_TLS): Likewise.
25524 (NT_ARM_HW_BREAK): Likewise.
25525 (NT_ARM_HW_WATCH): Likewise.
25526
60e235ee
JM
255272012-11-07 Joseph Myers <joseph@codesourcery.com>
25528
25529 [BZ #14811]
25530 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25531 (__ieee754_powl): Saturate nonzero exponents with absolute value
25532 below 0x1p-79 to +/- 0x1p-79.
25533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25534 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25535 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25536 nonzero exponents with absolute value below 0x1p-32 to +/-
25537 0x1p-32.
25538 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25539 (__ieee754_powl): Saturate nonzero exponents with absolute value
25540 below 0x1p-79 to +/- 0x1p-79.
25541 * math/libm-test.inc (pow_test): Add more tests.
25542
0ab234b7
AK
255432012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25544
25545 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25546 _dl_s390_cap_flags with kernel. Increase string length.
25547 (_dl_s390_platforms): Add z196 and zEC12.
25548
45832f74
JM
255492012-11-07 Joseph Myers <joseph@codesourcery.com>
25550
25551 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25552 Change XOPEN21K to XOPEN2K.
25553
19218757
MK
255542012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
25555
25556 * string/memmove.c: Use memcpy when possible.
25557
c5f45721
AJ
255582012-11-06 Andreas Jaeger <aj@suse.de>
25559
25560 * po/eo.po: Update from translation team.
25561
82477c28
JM
255622012-11-06 Joseph Myers <joseph@codesourcery.com>
25563
25564 [BZ #14793]
25565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25566 exponent and small x and y exponents, scale x or y up. Increase
25567 by 2 the exponent used in scaling up.
25568 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25569 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25570 * math/libm-test.inc (fma_test): Add more tests.
25571 (fma_test_towardzero): Likewise.
25572 (fma_test_downward): Likewise.
25573 (fma_test_upward): Likewise.
25574
99252c8c
JM
255752012-11-05 Joseph Myers <joseph@codesourcery.com>
25576
acfa885f
JM
25577 [BZ #14805]
25578 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25579 fenv_t *.
25580
99252c8c
JM
25581 [BZ #14801]
25582 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25583 namespace for names of struct fields.
25584 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25585 fenv_t fields.
25586 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25587 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25588
d6d98dea
ST
255892012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
25590
25591 [BZ #3665]
25592 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25593
e10bb107
TS
255942012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25595
25596 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25597 PTR_DEMANGLE.
25598
25599 [BZ #5246]
25600 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25601 PTR_DEMANGLE.
25602
a0c2940d
JM
256032012-11-04 Joseph Myers <joseph@codesourcery.com>
25604
25605 [BZ #14797]
25606 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25607 definitely overflow as x * y not x * y + z.
25608 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25609 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25610 * math/libm-test.inc (fma_test): Add more tests.
25611 (fma_test_towardzero): Likewise.
25612 (fma_test_downward): Likewise.
25613 (fma_test_upward): Likewise.
25614
b830319d
TS
256152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
25616
25617 [BZ #157]
25618
25619 * include/stub-tag.h: Remove file.
25620 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25621 '#include' of it.
25622 * manual/maint.texi (Porting): Don't reference it.
25623 * Makerules ($(objpfx)stubs): Likewise.
25624 * dirent/closedir.c: Don't include <stub-tag.h>.
25625 * dirent/dirfd.c: Likewise.
25626 * dirent/fdopendir.c: Likewise.
25627 * dirent/getdents.c: Likewise.
25628 * dirent/getdents64.c: Likewise.
25629 * dirent/opendir.c: Likewise.
25630 * dirent/readdir.c: Likewise.
25631 * dirent/readdir64.c: Likewise.
25632 * dirent/readdir64_r.c: Likewise.
25633 * dirent/readdir_r.c: Likewise.
25634 * dirent/rewinddir.c: Likewise.
25635 * dirent/seekdir.c: Likewise.
25636 * dirent/telldir.c: Likewise.
25637 * gmon/profil.c: Likewise.
25638 * grp/setgroups.c: Likewise.
25639 * inet/if_index.c: Likewise.
25640 * io/access.c: Likewise.
25641 * io/chdir.c: Likewise.
25642 * io/chmod.c: Likewise.
25643 * io/chown.c: Likewise.
25644 * io/close.c: Likewise.
25645 * io/dup.c: Likewise.
25646 * io/dup2.c: Likewise.
25647 * io/dup3.c: Likewise.
25648 * io/euidaccess.c: Likewise.
25649 * io/faccessat.c: Likewise.
25650 * io/fchdir.c: Likewise.
25651 * io/fchmod.c: Likewise.
25652 * io/fchmodat.c: Likewise.
25653 * io/fchown.c: Likewise.
25654 * io/fchownat.c: Likewise.
25655 * io/fcntl.c: Likewise.
25656 * io/flock.c: Likewise.
25657 * io/fstatfs.c: Likewise.
25658 * io/fstatfs64.c: Likewise.
25659 * io/fstatvfs.c: Likewise.
25660 * io/fstatvfs64.c: Likewise.
25661 * io/futimens.c: Likewise.
25662 * io/fxstat.c: Likewise.
25663 * io/fxstat64.c: Likewise.
25664 * io/fxstatat.c: Likewise.
25665 * io/fxstatat64.c: Likewise.
25666 * io/getcwd.c: Likewise.
25667 * io/isatty.c: Likewise.
25668 * io/lchmod.c: Likewise.
25669 * io/lchown.c: Likewise.
25670 * io/link.c: Likewise.
25671 * io/linkat.c: Likewise.
25672 * io/lseek.c: Likewise.
25673 * io/lseek64.c: Likewise.
25674 * io/lxstat64.c: Likewise.
25675 * io/mkdir.c: Likewise.
25676 * io/mkdirat.c: Likewise.
25677 * io/mkfifo.c: Likewise.
25678 * io/mkfifoat.c: Likewise.
25679 * io/open.c: Likewise.
25680 * io/open64.c: Likewise.
25681 * io/openat.c: Likewise.
25682 * io/openat64.c: Likewise.
25683 * io/pipe.c: Likewise.
25684 * io/pipe2.c: Likewise.
25685 * io/poll.c: Likewise.
25686 * io/posix_fadvise.c: Likewise.
25687 * io/posix_fadvise64.c: Likewise.
25688 * io/posix_fallocate.c: Likewise.
25689 * io/posix_fallocate64.c: Likewise.
25690 * io/read.c: Likewise.
25691 * io/readlink.c: Likewise.
25692 * io/readlinkat.c: Likewise.
25693 * io/rmdir.c: Likewise.
25694 * io/sendfile.c: Likewise.
25695 * io/sendfile64.c: Likewise.
25696 * io/statfs.c: Likewise.
25697 * io/statfs64.c: Likewise.
25698 * io/statvfs.c: Likewise.
25699 * io/statvfs64.c: Likewise.
25700 * io/symlink.c: Likewise.
25701 * io/symlinkat.c: Likewise.
25702 * io/ttyname.c: Likewise.
25703 * io/ttyname_r.c: Likewise.
25704 * io/umask.c: Likewise.
25705 * io/unlink.c: Likewise.
25706 * io/unlinkat.c: Likewise.
25707 * io/utime.c: Likewise.
25708 * io/utimensat.c: Likewise.
25709 * io/write.c: Likewise.
25710 * io/xmknod.c: Likewise.
25711 * io/xmknodat.c: Likewise.
25712 * io/xstat.c: Likewise.
25713 * io/xstat64.c: Likewise.
25714 * login/getpt.c: Likewise.
25715 * login/grantpt.c: Likewise.
25716 * login/unlockpt.c: Likewise.
25717 * math/e_acoshl.c: Likewise.
25718 * math/e_acosl.c: Likewise.
25719 * math/e_asinl.c: Likewise.
25720 * math/e_atan2l.c: Likewise.
25721 * math/e_atanhl.c: Likewise.
25722 * math/e_coshl.c: Likewise.
25723 * math/e_expl.c: Likewise.
25724 * math/e_fmodl.c: Likewise.
25725 * math/e_gammal_r.c: Likewise.
25726 * math/e_hypotl.c: Likewise.
25727 * math/e_j0l.c: Likewise.
25728 * math/e_j1l.c: Likewise.
25729 * math/e_jnl.c: Likewise.
25730 * math/e_lgammal_r.c: Likewise.
25731 * math/e_log10l.c: Likewise.
25732 * math/e_log2l.c: Likewise.
25733 * math/e_logl.c: Likewise.
25734 * math/e_powl.c: Likewise.
25735 * math/e_rem_pio2l.c: Likewise.
25736 * math/e_sinhl.c: Likewise.
25737 * math/e_sqrtl.c: Likewise.
25738 * math/fclrexcpt.c: Likewise.
25739 * math/fedisblxcpt.c: Likewise.
25740 * math/feenablxcpt.c: Likewise.
25741 * math/fegetenv.c: Likewise.
25742 * math/fegetexcept.c: Likewise.
25743 * math/fegetround.c: Likewise.
25744 * math/feholdexcpt.c: Likewise.
25745 * math/fesetenv.c: Likewise.
25746 * math/fesetround.c: Likewise.
25747 * math/feupdateenv.c: Likewise.
25748 * math/fgetexcptflg.c: Likewise.
25749 * math/fraiseexcpt.c: Likewise.
25750 * math/fsetexcptflg.c: Likewise.
25751 * math/ftestexcept.c: Likewise.
25752 * math/k_cosl.c: Likewise.
25753 * math/k_rem_pio2l.c: Likewise.
25754 * math/k_sinl.c: Likewise.
25755 * math/k_tanl.c: Likewise.
25756 * math/s_asinhl.c: Likewise.
25757 * math/s_atanl.c: Likewise.
25758 * math/s_cbrtl.c: Likewise.
25759 * math/s_erfl.c: Likewise.
25760 * math/s_expm1l.c: Likewise.
25761 * math/s_log1pl.c: Likewise.
25762 * math/s_tanhl.c: Likewise.
25763 * misc/acct.c: Likewise.
25764 * misc/brk.c: Likewise.
25765 * misc/chflags.c: Likewise.
25766 * misc/chroot.c: Likewise.
25767 * misc/fchflags.c: Likewise.
25768 * misc/fgetxattr.c: Likewise.
25769 * misc/flistxattr.c: Likewise.
25770 * misc/fremovexattr.c: Likewise.
25771 * misc/fsetxattr.c: Likewise.
25772 * misc/fsync.c: Likewise.
25773 * misc/ftruncate.c: Likewise.
25774 * misc/futimes.c: Likewise.
25775 * misc/futimesat.c: Likewise.
25776 * misc/getdomain.c: Likewise.
25777 * misc/getdtsz.c: Likewise.
25778 * misc/gethostid.c: Likewise.
25779 * misc/gethostname.c: Likewise.
25780 * misc/getloadavg.c: Likewise.
25781 * misc/getpagesize.c: Likewise.
25782 * misc/getsysstats.c: Likewise.
25783 * misc/getxattr.c: Likewise.
25784 * misc/gtty.c: Likewise.
25785 * misc/ioctl.c: Likewise.
25786 * misc/lgetxattr.c: Likewise.
25787 * misc/listxattr.c: Likewise.
25788 * misc/llistxattr.c: Likewise.
25789 * misc/lremovexattr.c: Likewise.
25790 * misc/lsetxattr.c: Likewise.
25791 * misc/lutimes.c: Likewise.
25792 * misc/madvise.c: Likewise.
25793 * misc/mincore.c: Likewise.
25794 * misc/mlock.c: Likewise.
25795 * misc/mlockall.c: Likewise.
25796 * misc/mmap.c: Likewise.
25797 * misc/mprotect.c: Likewise.
25798 * misc/msync.c: Likewise.
25799 * misc/munlock.c: Likewise.
25800 * misc/munlockall.c: Likewise.
25801 * misc/munmap.c: Likewise.
25802 * misc/preadv.c: Likewise.
25803 * misc/preadv64.c: Likewise.
25804 * misc/ptrace.c: Likewise.
25805 * misc/pwritev.c: Likewise.
25806 * misc/pwritev64.c: Likewise.
25807 * misc/readv.c: Likewise.
25808 * misc/reboot.c: Likewise.
25809 * misc/remap_file_pages.c: Likewise.
25810 * misc/removexattr.c: Likewise.
25811 * misc/revoke.c: Likewise.
25812 * misc/select.c: Likewise.
25813 * misc/setdomain.c: Likewise.
25814 * misc/setegid.c: Likewise.
25815 * misc/seteuid.c: Likewise.
25816 * misc/sethostid.c: Likewise.
25817 * misc/sethostname.c: Likewise.
25818 * misc/setregid.c: Likewise.
25819 * misc/setreuid.c: Likewise.
25820 * misc/setxattr.c: Likewise.
25821 * misc/sstk.c: Likewise.
25822 * misc/stty.c: Likewise.
25823 * misc/swapoff.c: Likewise.
25824 * misc/swapon.c: Likewise.
25825 * misc/sync.c: Likewise.
25826 * misc/syncfs.c: Likewise.
25827 * misc/syscall.c: Likewise.
25828 * misc/truncate.c: Likewise.
25829 * misc/ualarm.c: Likewise.
25830 * misc/usleep.c: Likewise.
25831 * misc/ustat.c: Likewise.
25832 * misc/utimes.c: Likewise.
25833 * misc/vhangup.c: Likewise.
25834 * misc/writev.c: Likewise.
25835 * posix/_exit.c: Likewise.
25836 * posix/alarm.c: Likewise.
25837 * posix/execve.c: Likewise.
25838 * posix/fexecve.c: Likewise.
25839 * posix/fork.c: Likewise.
25840 * posix/fpathconf.c: Likewise.
25841 * posix/getaddrinfo.c: Likewise.
25842 * posix/getegid.c: Likewise.
25843 * posix/geteuid.c: Likewise.
25844 * posix/getgid.c: Likewise.
25845 * posix/getgroups.c: Likewise.
25846 * posix/getlogin.c: Likewise.
25847 * posix/getlogin_r.c: Likewise.
25848 * posix/getpgid.c: Likewise.
25849 * posix/getpid.c: Likewise.
25850 * posix/getppid.c: Likewise.
25851 * posix/getresgid.c: Likewise.
25852 * posix/getresuid.c: Likewise.
25853 * posix/getsid.c: Likewise.
25854 * posix/getuid.c: Likewise.
25855 * posix/glob64.c: Likewise.
25856 * posix/nanosleep.c: Likewise.
25857 * posix/pathconf.c: Likewise.
25858 * posix/pause.c: Likewise.
25859 * posix/posix_madvise.c: Likewise.
25860 * posix/pread.c: Likewise.
25861 * posix/pread64.c: Likewise.
25862 * posix/pwrite.c: Likewise.
25863 * posix/pwrite64.c: Likewise.
25864 * posix/sched_getaffinity.c: Likewise.
25865 * posix/sched_getp.c: Likewise.
25866 * posix/sched_gets.c: Likewise.
25867 * posix/sched_primax.c: Likewise.
25868 * posix/sched_primin.c: Likewise.
25869 * posix/sched_rr_gi.c: Likewise.
25870 * posix/sched_setaffinity.c: Likewise.
25871 * posix/sched_setp.c: Likewise.
25872 * posix/sched_sets.c: Likewise.
25873 * posix/sched_yield.c: Likewise.
25874 * posix/setgid.c: Likewise.
25875 * posix/setlogin.c: Likewise.
25876 * posix/setpgid.c: Likewise.
25877 * posix/setresgid.c: Likewise.
25878 * posix/setresuid.c: Likewise.
25879 * posix/setsid.c: Likewise.
25880 * posix/setuid.c: Likewise.
25881 * posix/sleep.c: Likewise.
25882 * posix/spawni.c: Likewise.
25883 * posix/sysconf.c: Likewise.
25884 * posix/times.c: Likewise.
25885 * posix/wait.c: Likewise.
25886 * posix/wait3.c: Likewise.
25887 * posix/wait4.c: Likewise.
25888 * posix/waitpid.c: Likewise.
25889 * resolv/gai_sigqueue.c: Likewise.
25890 * resource/getpriority.c: Likewise.
25891 * resource/getrlimit.c: Likewise.
25892 * resource/getrusage.c: Likewise.
25893 * resource/nice.c: Likewise.
25894 * resource/setpriority.c: Likewise.
25895 * resource/setrlimit.c: Likewise.
25896 * resource/ulimit.c: Likewise.
25897 * rt/aio_cancel.c: Likewise.
25898 * rt/aio_fsync.c: Likewise.
25899 * rt/aio_read.c: Likewise.
25900 * rt/aio_sigqueue.c: Likewise.
25901 * rt/aio_suspend.c: Likewise.
25902 * rt/aio_write.c: Likewise.
25903 * rt/clock_getres.c: Likewise.
25904 * rt/clock_gettime.c: Likewise.
25905 * rt/clock_nanosleep.c: Likewise.
25906 * rt/clock_settime.c: Likewise.
25907 * rt/lio_listio.c: Likewise.
25908 * rt/mq_close.c: Likewise.
25909 * rt/mq_getattr.c: Likewise.
25910 * rt/mq_notify.c: Likewise.
25911 * rt/mq_open.c: Likewise.
25912 * rt/mq_receive.c: Likewise.
25913 * rt/mq_send.c: Likewise.
25914 * rt/mq_setattr.c: Likewise.
25915 * rt/mq_timedreceive.c: Likewise.
25916 * rt/mq_timedsend.c: Likewise.
25917 * rt/mq_unlink.c: Likewise.
25918 * rt/shm_open.c: Likewise.
25919 * rt/shm_unlink.c: Likewise.
25920 * rt/timer_create.c: Likewise.
25921 * rt/timer_delete.c: Likewise.
25922 * rt/timer_getoverr.c: Likewise.
25923 * rt/timer_gettime.c: Likewise.
25924 * rt/timer_settime.c: Likewise.
25925 * setjmp/__longjmp.c: Likewise.
25926 * setjmp/setjmp.c: Likewise.
25927 * signal/kill.c: Likewise.
25928 * signal/killpg.c: Likewise.
25929 * signal/raise.c: Likewise.
25930 * signal/sigaction.c: Likewise.
25931 * signal/sigaltstack.c: Likewise.
25932 * signal/sigblock.c: Likewise.
25933 * signal/sigignore.c: Likewise.
25934 * signal/sigintr.c: Likewise.
25935 * signal/signal.c: Likewise.
25936 * signal/sigpause.c: Likewise.
25937 * signal/sigpending.c: Likewise.
25938 * signal/sigqueue.c: Likewise.
25939 * signal/sigreturn.c: Likewise.
25940 * signal/sigset.c: Likewise.
25941 * signal/sigsetmask.c: Likewise.
25942 * signal/sigstack.c: Likewise.
25943 * signal/sigsuspend.c: Likewise.
25944 * signal/sigtimedwait.c: Likewise.
25945 * signal/sigvec.c: Likewise.
25946 * signal/sigwait.c: Likewise.
25947 * signal/sigwaitinfo.c: Likewise.
25948 * signal/sysv_signal.c: Likewise.
25949 * socket/accept.c: Likewise.
25950 * socket/accept4.c: Likewise.
25951 * socket/bind.c: Likewise.
25952 * socket/connect.c: Likewise.
25953 * socket/getpeername.c: Likewise.
25954 * socket/getsockname.c: Likewise.
25955 * socket/getsockopt.c: Likewise.
25956 * socket/isfdtype.c: Likewise.
25957 * socket/listen.c: Likewise.
25958 * socket/recv.c: Likewise.
25959 * socket/recvfrom.c: Likewise.
25960 * socket/recvmsg.c: Likewise.
25961 * socket/send.c: Likewise.
25962 * socket/sendmsg.c: Likewise.
25963 * socket/sendto.c: Likewise.
25964 * socket/setsockopt.c: Likewise.
25965 * socket/shutdown.c: Likewise.
25966 * socket/sockatmark.c: Likewise.
25967 * socket/socket.c: Likewise.
25968 * socket/socketpair.c: Likewise.
25969 * stdio-common/ctermid.c: Likewise.
25970 * stdio-common/cuserid.c: Likewise.
25971 * stdio-common/remove.c: Likewise.
25972 * stdio-common/rename.c: Likewise.
25973 * stdio-common/renameat.c: Likewise.
25974 * stdio-common/tempname.c: Likewise.
25975 * stdlib/getcontext.c: Likewise.
25976 * stdlib/makecontext.c: Likewise.
25977 * stdlib/setcontext.c: Likewise.
25978 * stdlib/swapcontext.c: Likewise.
25979 * stdlib/system.c: Likewise.
25980 * streams/fattach.c: Likewise.
25981 * streams/fdetach.c: Likewise.
25982 * streams/getmsg.c: Likewise.
25983 * streams/getpmsg.c: Likewise.
25984 * streams/putmsg.c: Likewise.
25985 * streams/putpmsg.c: Likewise.
25986 * sysdeps/unix/bsd/getpt.c: Likewise.
25987 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25988 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25989 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25991 Likewise.
25992 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25993 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25994 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25995 * sysvipc/msgctl.c: Likewise.
25996 * sysvipc/msgget.c: Likewise.
25997 * sysvipc/msgrcv.c: Likewise.
25998 * sysvipc/msgsnd.c: Likewise.
25999 * sysvipc/semctl.c: Likewise.
26000 * sysvipc/semget.c: Likewise.
26001 * sysvipc/semop.c: Likewise.
26002 * sysvipc/semtimedop.c: Likewise.
26003 * sysvipc/shmat.c: Likewise.
26004 * sysvipc/shmctl.c: Likewise.
26005 * sysvipc/shmdt.c: Likewise.
26006 * sysvipc/shmget.c: Likewise.
26007 * termios/tcdrain.c: Likewise.
26008 * termios/tcflow.c: Likewise.
26009 * termios/tcflush.c: Likewise.
26010 * termios/tcgetattr.c: Likewise.
26011 * termios/tcgetpgrp.c: Likewise.
26012 * termios/tcsendbrk.c: Likewise.
26013 * termios/tcsetattr.c: Likewise.
26014 * termios/tcsetpgrp.c: Likewise.
26015 * time/adjtime.c: Likewise.
26016 * time/clock.c: Likewise.
26017 * time/getitimer.c: Likewise.
26018 * time/gettimeofday.c: Likewise.
26019 * time/setitimer.c: Likewise.
26020 * time/settimeofday.c: Likewise.
26021 * time/stime.c: Likewise.
26022 * time/time.c: Likewise.
26023
260242012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 26025
a20492cf
PT
26026 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26027 /usr/old/bin.
26028
72e182e3
PT
26029 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26030 instead of spaces.
26031 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26032
fbeafede
JM
260332012-11-03 Joseph Myers <joseph@codesourcery.com>
26034
5b5b04d6
JM
26035 [BZ #14796]
26036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26037 FE_TONEAREST before applying Dekker multiplication and Knuth
26038 addition. Clear inexact exceptions and check for exact zero
26039 results afterwards.
26040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26041 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26042 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26043 * math/libm-test.inc (fma_test): Add more tests.
26044 (fma_test_towardzero): Likewise.
26045 (fma_test_downward): Likewise.
26046 (fma_test_upward): Likewise.
26047 * sysdeps/generic/math_private.h (default_libc_fesetround): New
26048 function.
26049 (libc_fesetround): New macro.
26050 (libc_fesetroundf): Likewise.
26051 (libc_fesetroundl): Likewise.
26052 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26053 function.
26054 (libc_fesetround_387): Likewise.
26055 (libc_fesetroundf): New macro.
26056 (libc_fesetround): Likewise.
26057 (libc_fesetroundl): Likewise.
26058 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26059 function.
26060 (libc_fesetroundf): New macro.
26061 (libc_fesetround): Likewise.
26062 (libc_fesetroundl): Likewise.
26063 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26064 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26065 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26066 libm_hidden_ver.
26067 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26068 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26069 libm_hidden_def.
26070 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26071 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26072 libm_hidden_ver.
26073 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26074 libm_hidden_def.
26075
fbeafede
JM
26076 [BZ #3439]
26077 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26078 integer constant usable in #if and use that to give value to enum
26079 constant.
26080 (FE_DIVBYZERO): Likewise.
26081 (FE_UNDERFLOW): Likewise.
26082 (FE_OVERFLOW): Likewise.
26083 (FE_INVALID): Likewise.
26084 (FE_INVALID_SNAN): Likewise.
26085 (FE_INVALID_ISI): Likewise.
26086 (FE_INVALID_IDI): Likewise.
26087 (FE_INVALID_ZDZ): Likewise.
26088 (FE_INVALID_IMZ): Likewise.
26089 (FE_INVALID_COMPARE): Likewise.
26090 (FE_INVALID_SOFTWARE): Likewise.
26091 (FE_INVALID_SQRT): Likewise.
26092 (FE_INVALID_INTEGER_CONVERSION): Likewise.
26093 (FE_TONEAREST): Likewise.
26094 (FE_TOWARDZERO): Likewise.
26095 (FE_UPWARD): Likewise.
26096 (FE_DOWNWARD): Likewise.
26097 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26098 (FE_DIVBYZERO): Likewise.
26099 (FE_OVERFLOW): Likewise.
26100 (FE_UNDERFLOW): Likewise.
26101 (FE_INEXACT): Likewise.
26102 (FE_TONEAREST): Likewise.
26103 (FE_DOWNWARD): Likewise.
26104 (FE_UPWARD): Likewise.
26105 (FE_TOWARDZERO): Likewise.
26106 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26107 (FE_UNDERFLOW): Likewise.
26108 (FE_OVERFLOW): Likewise.
26109 (FE_DIVBYZERO): Likewise.
26110 (FE_INVALID): Likewise.
26111 (FE_TONEAREST): Likewise.
26112 (FE_TOWARDZERO): Likewise.
26113 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26114 (FE_OVERFLOW): Likewise.
26115 (FE_UNDERFLOW): Likewise.
26116 (FE_DIVBYZERO): Likewise.
26117 (FE_INEXACT): Likewise.
26118 (FE_TONEAREST): Likewise.
26119 (FE_TOWARDZERO): Likewise.
26120 (FE_UPWARD): Likewise.
26121 (FE_DOWNWARD): Likewise.
26122 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26123 (FE_DIVBYZERO): Likewise.
26124 (FE_OVERFLOW): Likewise.
26125 (FE_UNDERFLOW): Likewise.
26126 (FE_INEXACT): Likewise.
26127 (FE_TONEAREST): Likewise.
26128 (FE_DOWNWARD): Likewise.
26129 (FE_UPWARD): Likewise.
26130 (FE_TOWARDZERO): Likewise.
26131
105ca950
CM
261322012-11-02 Chris Metcalf <cmetcalf@tilera.com>
26133
26134 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26135
a542b389
AS
261362012-11-03 Andreas Schwab <schwab@linux-m68k.org>
26137
26138 * scripts/cross-test-ssh.sh (command): Use newlines to separate
26139 commands. Quote $PWD.
26140 (blacklist_exports): Don't use remove_newlines. Replace "declare
26141 -x" by "export".
26142 (remove_newlines): Remove.
26143
f62c8abc
L
261442012-11-02 H.J. Lu <hongjiu.lu@intel.com>
26145
26146 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26147 * stdlib/stdlib.h (atof): Moved to ...
26148 * include/bits/stdlib-float.h: Here. New file.
26149 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26150 * stdlib/bits/stdlib-float.h: New file.
26151 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26152 -mno-sse -mno-mmx.
26153 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26154 <xmmintrin.h>.
26155
0155d5b2
JM
261562012-11-02 Joseph Myers <joseph@codesourcery.com>
26157
a68d0680
JM
26158 * conform/conformtest.pl (@headers): Add fenv.h.
26159 * conform/data/fenv.h-data: New file.
26160 * include/fenv.h [_ISOMAC]: Disable all contents of file except
26161 include of <math/fenv.h>.
26162
caf7f573
JM
26163 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26164 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26165 && !UNIX98]. Enables tests for XOPEN2K8.
26166 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26167 POSIX2008]: Likewise.
26168
6c073ad6
JM
26169 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26170 (struct rusage): Do not expect type or its members.
26171
0155d5b2
JM
26172 [BZ #3439]
26173 * math/math.h (FP_NAN): Define macro to integer constant usable in
26174 #if and use that to give value to enum constant.
26175 (FP_INFINITE): Likewise.
26176 (FP_ZERO): Likewise.
26177 (FP_SUBNORMAL): Likewise.
26178 (FP_NORMAL): Likewise.
26179
b5dcacb4
AS
261802012-11-02 Andreas Schwab <schwab@linux-m68k.org>
26181
26182 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26183 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26184 arguments.
26185
f7934be8
RM
261862012-11-02 Roland McGrath <roland@hack.frob.com>
26187
26188 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26189 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26190 autoconf-time if not.
26191 * configure.in: Remove AC_PREREQ.
26192
d7d08bde
TMQMF
261932012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26194
26195 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26196 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26197 of the internal implementation.
26198
dcdae19a
JM
261992012-11-02 Joseph Myers <joseph@codesourcery.com>
26200
26201 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26202 except include of <misc/sys/syslog.h>.
26203
d6cffd3e
AS
262042012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26205
26206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26207 function returns with a NULL context exit with zero.
26208
b3563932
TMQMF
262092012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26210
26211 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26212
b288a93d
L
262132012-11-01 H.J. Lu <hongjiu.lu@intel.com>
26214
26215 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26216 (run_program_cmd): This.
26217 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26218 (tst_langinfo): New variable. Use it.
26219
a2421a68
SAS
262202012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
26221
26222 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26223 floating point opcodes.
26224
6f796e1b
TS
262252012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26226
7402596b
TS
26227 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26228 variable.
26229
d0d4f868
TS
26230 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26231
6f796e1b
TS
26232 * sysdeps/mach/hurd/powerpc: Remove directory.
26233 * sysdeps/mach/powerpc: Likewise.
26234
4da224a2
AS
262352012-11-01 Andreas Schwab <schwab@linux-m68k.org>
26236
26237 * scripts/check-local-headers.sh: Ignore c++ headers.
26238
341dd673
TS
262392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26240
26241 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26242 __libc_cleanup_region_start argument.
26243
473611b2
JM
262442012-11-01 Joseph Myers <joseph@codesourcery.com>
26245
26246 [BZ #14784]
26247 [BZ #14785]
26248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26249 x * y using scaling, not as x * y + z.
26250 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26251 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26252 * math/libm-test.inc (fma_test): Add more tests.
26253 (fma_test_towardzero): Likewise.
26254 (fma_test_downward): Likewise.
26255 (fma_test_upward): Likewise.
26256
4078da3d
TS
262572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
26258
26259 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
26260
903252aa
JM
262612012-10-31 Joseph Myers <joseph@codesourcery.com>
26262
26263 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
26264 New variable.
26265
cbc818d0
TS
262662012-10-31 Thomas Schwinge <thomas@codesourcery.com>
26267
26268 * rt/tst-shm.c (worker): Correct checking for mmap failure.
26269
5a03cb1e
AS
262702012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26271
26272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26273 Fix sort order.
26274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26275 Likewise.
26276
90aff2ff
TMQMF
262772012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26278
26279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26280 Fix the order of the list for glibc 2.17.
26281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26282 Likewise.
26283
1818fcb7
AS
262842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
26285
26286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26287
ef82f4da
JM
262882012-10-31 Joseph Myers <joseph@codesourcery.com>
26289
16a0e2ec
JM
26290 [BZ #14610]
26291 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
26292 for low part of x being zero before using __atanl (y).
26293 * math/libm-test.inc (atan2_test): Add another test.
26294
0eb69512
JM
26295 * manual/install.texi (Configuring and compiling): Document
26296 general use of test-wrapper and test-wrapper-env.
26297 * INSTALL: Regenerated.
26298
ef82f4da
JM
26299 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
26300 (__fma): Do not extract and scale down low bits on after-rounding
26301 systems when result rounded to normal precision would have normal
26302 exponent.
26303 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
26304 (__fmal): Do not extract and scale down low bits on after-rounding
26305 systems when result rounded to normal precision would have normal
26306 exponent.
26307 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
26308 (__fmal): Do not extract and scale down low bits on after-rounding
26309 systems when result rounded to normal precision would have normal
26310 exponent.
26311 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
26312 macro.
26313 (fma_test): Add more tests.
26314 (fma_test_towardzero): Likewise.
26315 (fma_test_downward): Likewise.
26316 (fma_test_upward): Likewise.
26317
954ef0d9
L
263182012-10-30 H.J. Lu <hongjiu.lu@intel.com>
26319
26320 * sysdeps/i386/tininess.h: Renamed to ...
26321 * sysdeps/x86/tininess.h: This.
26322 * sysdeps/x86_64/tininess.h: Removed.
26323
df61ffb2
JM
263242012-10-30 Joseph Myers <joseph@codesourcery.com>
26325
26326 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
26327 input. Use $(build-program-cmd).
26328 ($(objpfx)tst-array1-static.out): Likewise.
26329 ($(objpfx)tst-array2.out): Likewise.
26330 ($(objpfx)tst-array3.out): Likewise.
26331 ($(objpfx)tst-array4.out): Likewise.
26332 ($(objpfx)tst-array5.out): Likewise.
26333 ($(objpfx)tst-array5-static.out): Likewise.
26334
01767843
CM
263352012-10-30 Chris Metcalf <cmetcalf@tilera.com>
26336
47cc1490
CM
26337 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
26338 if defined.
26339
01767843
CM
26340 * nss/nsswitch.h (nss_interface_function): Provide new
26341 macro for use with NSS functions.
26342 * grp/initgroups.c: Use new macro.
26343 * nss/getXXbyYY.c: Likewise.
26344 * nss/getXXbyYY_r.c: Likewise.
26345 * nss/getXXent.c: Likewise.
26346 * nss/getXXent_r.c: Likewise.
26347 * sysdeps/posix/getaddrinfo.c: Likewise.
26348
8321aa97
AJ
263492012-10-30 Andreas Jaeger <aj@suse.de>
26350
26351 * po/ru.po: Update Russion translation from translation project.
26352
2a27fd6d
JM
263532012-10-30 Joseph Myers <joseph@codesourcery.com>
26354
8627a232
JM
26355 [BZ #14152]
26356 [BZ #14783]
26357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
26358 result and shift together with sticky bit instead of replicating
26359 round-to-nearest rounding.
26360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26361 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26362 * math/libm-test.inc (fma_test): Add more tests. Do not permit
26363 missing underflow exceptions.
26364 (fma_test_towardzero): Add more tests.
26365 (fma_test_downward): Likewise.
26366 (fma_test_upward): Likewise.
26367
2a27fd6d
JM
26368 [BZ #14047]
26369 * sysdeps/generic/tininess.h: New file.
26370 * sysdeps/i386/tininess.h: Likewise.
26371 * sysdeps/sh/tininess.h: Likewise.
26372 * sysdeps/x86_64/tininess.h: Likewise.
26373 * stdlib/tst-strtod-underflow.c: Likewise.
26374 * stdlib/tst-tininess.c: Likewise.
26375 * stdlib/strtod_l.c: Include <tininess.h>.
26376 (round_and_return): Do not set errno for exact underflow cases.
26377 Force an underflow exception when setting errno for underflow.
26378 Determine underflow based on rounding to normal precision if
26379 TININESS_AFTER_ROUNDING.
26380 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
26381 ERANGE for exact underflow cases.
26382 * stdlib/Makefile (tests): Add tst-tininess and
26383 tst-strtod-underflow.
26384 ($(objpfx)tst-tininess): Use $(link-libm).
26385 ($(objpfx)tst-strtod-underflow): Likewise.
26386
e7170363
AJ
263872012-10-30 Andreas Jaeger <aj@suse.de>
26388
e5088dc6
AJ
26389 [BZ#14767]
26390 * elf/Makefile (tests): Remove conditional for have-initfini-array
26391 since this is now always required and the variable does not exist
26392 anymore.
26393 (tests-static): Likewise.
26394 (modules-names): Likewise.
26395
e7170363 26396 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
26397
26398 * elf/tst-array1.c (fini_array): Make writeable so that it can be
26399 merged with constructor/destructor.
26400 (init_array): Likewise.
26401 * elf/tst-array2dep.c (fini_array): Likewise.
26402 (init_array): Likewise.
26403
60457d8a
MF
264042012-10-29 Mike Frysinger <vapier@gentoo.org>
26405
26406 * manual/message.texi: Delete @cartouche tags.
26407
8bece752
PT
264082012-10-29 Pino Toscano <toscano.pino@tiscali.it>
26409
94ce799f
PT
26410 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26411 EOPNOTSUPP.
26412 * sysdeps/mach/hurd/fsync.c: Likewise.
26413
8bece752
PT
26414 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26415 [_POSIX_REALTIME_SIGNALS]: Change condition to
26416 [_POSIX_REALTIME_SIGNALS > 0].
26417
86ebe6b1
AJ
264182012-10-27 Andreas Jaeger <aj@suse.de>
26419
26420 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26421 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26423 [__WORDSIZE != 64]: Likewise.
26424
54399c08
L
264252012-10-26 H.J. Lu <hongjiu.lu@intel.com>
26426
26427 * iconvdata/tst-table.sh: Remove ${SHELL}.
26428 * iconvdata/tst-tables.sh: Likewise.
26429
e2211bed
DM
264302012-10-25 David S. Miller <davem@davemloft.net>
26431
26432 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26433 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26434 of strtoull.
26435
f303f97c
DM
26436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26437 ifunc-impl-list.c
26438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26439 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26440 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26441 file.
26442
1e9d84cd
RM
264432012-10-25 Roland McGrath <roland@hack.frob.com>
26444
26445 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26446 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26447 __getdirentries.
26448
df381762
JM
264492012-10-25 Joseph Myers <joseph@codesourcery.com>
26450 Jim Blandy <jimb@codesourcery.com>
26451
26452 * scripts/cross-test-ssh.sh: New file.
26453 * manual/install.texi (Configuring and compiling): Document use of
26454 cross-test-ssh.sh.
26455 * INSTALL: Regenerated.
26456
bff64913
PT
264572012-10-25 Pino Toscano <toscano.pino@tiscali.it>
26458
26459 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26460 EOPNOTSUPP.
26461
25fe8932
JM
264622012-10-25 Joseph Myers <joseph@codesourcery.com>
26463
26464 * Makeconfig (run-program-prefix): Fix comment.
26465
cc1290d0
JM
264662012-10-24 Joseph Myers <joseph@codesourcery.com>
26467 Jim Blandy <jimb@codesourcery.com>
26468
26469 * Makeconfig (test-wrapper): New variable,
26470 (test-wrapper-env): Likewise.
26471 [$(cross-compiling) = yes && $(test-wrapper) != ""]
26472 (run-built-tests): Define to yes.
26473 (run-program-prefix): Use $(test-wrapper).
26474 (built-program-cmd): Likewise.
26475 * Rules (make-test-out): Use $(test-wrapper-env) and
26476 $(host-built-program-cmd).
26477 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26478 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26479 tst-pathopt.sh.
26480 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26481 $(test-wrapper-env) to tst-rtld-load-self.sh.
26482 ($(objpfx)order2.out): Use $(test-wrapper).
26483 ($(objpfx)tst-initorder.out): Likewise.
26484 ($(objpfx)tst-initorder2.out): Likewise.
26485 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26486 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26487 (test_wrapper_env): New variable. Use it to run ld.so.
26488 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26489 Use it to run ld.so.
26490 (test_wrapper_env): Likewise.
26491 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26492 $(test-wrapper) to run-iconv-test.sh.
26493 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26494 (ICONV): Use $test_wrapper.
26495 * posix/Makefile ($(objpfx)globtest.out): Pass
26496 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26497 globtest.sh, not $(run-program-prefix).
26498 * posix/globtest.sh (run_via_rtld_prefix): New variable.
26499 (test_wrapper): Likewise.
26500 (test_wrapper_env): Likewise. Use it to run globtest with HOME
26501 set together with run_via_rtld_prefix.
26502 (run_program_prefix): Define in terms of test_wrapper and
26503 run_via_rtld_prefix.
26504
6e6249d0
RM
265052012-10-24 Roland McGrath <roland@hack.frob.com>
26506
26507 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26508 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26509 Targets removed.
26510
26511 [BZ #14743]
26512 * include/time.h: Remove librt_hidden_proto (clock_gettime).
26513 Declare __clock_getres, __clock_gettime, __clock_settime,
26514 __clock_nanosleep, and __clock_getcpuclockid.
26515 * rt/clock_gettime.c: Define __clock_gettime as an alias.
26516 Remove librt_hidden_def (clock_gettime).
26517 * sysdeps/unix/clock_gettime.c: Likewise.
26518 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26519 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26520 * rt/clock_getres.c: Define __clock_getres as an alias.
26521 * sysdeps/posix/clock_getres.c: Likewise.
26522 * rt/clock_settime.c: Define __clock_settime as an alias.
26523 * sysdeps/unix/clock_settime.c: Likewise.
26524 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26525 * sysdeps/unix/clock_nanosleep.c: Likewise.
26526 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26527 * rt/clock-compat.c: New file.
26528 * rt/Makefile (librt-routines): Add clock-compat and move
26529 $(clock-routines) to ...
26530 (routines): ... here, new variable.
26531 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26532 Don't add get_clockfreq here.
26533 * rt/Versions (libc: GLIBC_2.17): New version set.
26534 Add clock_* symbols here.
26535 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
26536 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26537 (GLIBC_2.17): Add clock_* symbols.
26538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26540 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26542 Likewise.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26544 Likewise.
26545 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26549 * NEWS: Mention the move.
26550
26551 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26552 Use __open, __read, __close rather than their public counterparts.
26553 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26554 (__get_clockfreq_via_cpuinfo): Likewise.
26555 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26556 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26557
26558 * config.h.in (HAVE_IFUNC): New #undef.
26559 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26560 was successful.
26561 * configure: Regenerated.
26562
0cae3f4b
MF
265632012-10-24 Mike Frysinger <vapier@gentoo.org>
26564
26565 * configure.in: Move READELF check to start of file.
26566 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26567 libc_cv_asm_gnu_indirect_function in the process.
26568 * configure: Regenerated.
26569
8175a253
MF
265702012-10-24 Mike Frysinger <vapier@gentoo.org>
26571
26572 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26573 send the output to /dev/null.
26574 (libc_cv_cc_with_libunwind): Likewise.
26575 (libc_cv_as_noexecstack): Likewise.
26576 * configure: Regenerate.
26577
0708a7d1
JM
265782012-10-24 Joseph Myers <joseph@codesourcery.com>
26579
10b40d85
JM
26580 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26581
0708a7d1
JM
26582 * posix/globtest.sh (TMPDIR): Do not set.
26583 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26584 (testout): Likewise.
26585
9fddec1a
AJ
265862012-10-24 Andreas Jaeger <aj@suse.de>
26587
3a8db22f
AJ
26588 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26589 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26590 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26591 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26592 posix_fadvise64, posix_fallocate64.
26593
9fddec1a
AJ
26594 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26595 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26596 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26597 Likewise.
26598 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26599 Likewise.
26600 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26601
26602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26603 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26604 <bits/fcntl-linux.h>.
26605 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26606
26607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26608 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26609 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26610 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26611 [__WORDSIZE != 64]: Likewise.
26612
ebfd1bbd
JM
266132012-10-23 Joseph Myers <joseph@codesourcery.com>
26614
03ac099f
JM
26615 * Makeconfig (run-built-tests): New variable.
26616 * Rules [$(cross-compiling) = yes]: Change condition to
26617 [$(run-built-tests) = no].
26618 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26619 to [$(run-built-tests) = yes].
26620 * elf/Makefile [$(cross-compiling) = no]: Likewise
26621 * grp/Makefile [$(cross-compiling) = no]: Likewise.
26622 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26623 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26624 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26625 * io/Makefile [$(cross-compiling) = no]: Likewise.
26626 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26627 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26628 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26629 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26630 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26631 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26632 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26633 * string/Makefile [$(cross-compiling) = no]: Likewise.
26634
ebfd1bbd
JM
26635 * posix/Makefile ($(objpfx)globtest.out): Pass
26636 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26637 $(rtld-installed-name).
26638 * posix/globtest.sh (elf_objpfx): Remove variable.
26639 (rtld_installed_name): Likewise.
26640 (library_path): Likewise.
26641 (run_program_prefix): New variable. Use for running globtest
26642 binary.
26643
166bca24
JB
266442012-10-23 Jim Blandy <jimb@codesourcery.com>
26645 Joseph Myers <joseph@codesourcery.com>
26646
26647 * Makeconfig (host-built-program-cmd): New variable.
26648 * elf/Makefile (tst-stackguard1-ARGS): Use
26649 $(host-built-program-cmd).
26650 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26651 (tst-spawn-ARGS): Likewise.
26652 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26653
88866099
JM
266542012-10-23 Joseph Myers <joseph@codesourcery.com>
26655 Jim Blandy <jimb@codesourcery.com>
26656
26657 * Makeconfig (run-via-rtld-prefix): New variable.
26658 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26659 (built-program-cmd): Likewise.
26660
b4b4c296
AJ
266612012-10-22 Andreas Jaeger <aj@suse.de>
26662
26663 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26664 __O_RSYNC if it exists, otherwise to O_SYNC.
26665
6fb54a22
JB
266662012-10-22 Jim Blandy <jimb@codesourcery.com>
26667 Joseph Myers <joseph@codesourcery.com>
26668
26669 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26670 /dev/null.
26671 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26672 from /dev/null
26673 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26674 /dev/null.
26675
481b90b9
AJ
266762012-10-22 Andreas Jaeger <aj@suse.de>
26677
2a0e2669
AJ
26678 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26679 Define always.
26680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26681
76e38f9a
AJ
26682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26683 bits/fcntl-linux.h.
26684
7cd37b43
AJ
26685 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26686 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26687
481b90b9
AJ
26688 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26689 to __O_LARGEFILE.
26690 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26691 to __O_LARGEFILE.
26692
aba75984
JB
266932012-10-21 Jim Blandy <jimb@codesourcery.com>
26694 Joseph Myers <joseph@codesourcery.com>
26695
26696 * config.make.in (NM): New variable.
26697
88d4247f
AJ
266982012-10-21 Andreas Jaeger <aj@suse.de>
26699
26700 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26701 definitions and declarations that are provided by
26702 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26703
f2eed205
L
267042012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26705
26706 [BZ #14683]
26707 * elf/Makefile (tests-static): Add tst-leaks1-static.
26708 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26709 ($(objpfx)tst-leaks1-static): New rule.
26710 ($(objpfx)tst-leaks1-static-mem): Likewise.
26711 (tst-leaks1-static-ENV): New macro.
26712 * elf/dl-open.c (dl_open_worker): Check the main application
26713 only if SHARED is defined.
26714 * elf/tst-leaks1-static.c: New file.
26715
335e6931
AJ
267162012-10-20 Andreas Jaeger <aj@suse.de>
26717
26718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26719 generic values for Linux.
26720 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26721 and declarations that are provided by <bits/fcntl-linux.h> and
26722 include <bits/fcntl-linux.h>.
26723 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26724 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26725
ac5c94d3
RM
267262012-10-20 Roland McGrath <roland@hack.frob.com>
26727
26728 * io/fcntl.h: Move include of <bits/types.h> to the top and
26729 include it unconditionally.
26730
de54b33a
L
267312012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26732
228cfb01
L
26733 * wcsmbs/Makefile (tests-ifunc): New variable.
26734 (tests): Add $(tests-ifunc).
26735 * wcsmbs/test-wcschr-ifunc.c: New file.
26736 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26737 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26738 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26739 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26740 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26741
69f07e5f
L
26742 * string/Makefile (tests-ifunc): New variable.
26743 (tests): Add $(tests-ifunc).
26744 * string/test-memccpy.c (TEST_NAME): New macro.
26745 * string/test-memchr.c (TEST_NAME): Likewise.
26746 * string/test-memcmp.c (TEST_NAME): Likewise.
26747 * string/test-memcpy.c (TEST_NAME): Likewise.
26748 * string/test-memmem.c (TEST_NAME): Likewise.
26749 * string/test-memmove.c (TEST_NAME): Likewise.
26750 * string/test-memset.c (TEST_NAME): Likewise.
26751 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26752 * string/test-stpcpy.c (TEST_NAME): Likewise.
26753 * string/test-stpncpy.c (TEST_NAME): Likewise.
26754 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26755 * string/test-strcasestr.c (TEST_NAME): Likewise.
26756 * string/test-strcat.c (TEST_NAME): Likewise.
26757 * string/test-strchr.c (TEST_NAME): Likewise.
26758 * string/test-strcmp.c(TEST_NAME): Likewise.
26759 * string/test-strcpy.c (TEST_NAME): Likewise.
26760 * string/test-strcspn.c (TEST_NAME): Likewise.
26761 * string/test-strlen.c (TEST_NAME): Likewise.
26762 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26763 * string/test-strncmp.c (TEST_NAME): Likewise.
26764 * string/test-strncpy.c (TEST_NAME): Likewise.
26765 * string/test-strnlen.c (TEST_NAME): Likewise.
26766 * string/test-strpbrk.c (TEST_NAME): Likewise.
26767 * string/test-strrchr.c (TEST_NAME): Likewise.
26768 * string/test-strspn.c (TEST_NAME): Likewise.
26769 * string/test-strstr.c (TEST_NAME): Likewise.
26770 * string/test-bcopy-ifunc.c: New file.
26771 * string/test-bzero-ifunc.c: Likewise.
26772 * string/test-memccpy-ifunc.c: Likewise.
26773 * string/test-memchr-ifunc.c: Likewise.
26774 * string/test-memcmp-ifunc.c: Likewise.
26775 * string/test-memcpy-ifunc.c: Likewise.
26776 * string/test-memmem-ifunc.c: Likewise.
26777 * string/test-memmove-ifunc.c: Likewise.
26778 * string/test-mempcpy-ifunc.c: Likewise.
26779 * string/test-memset-ifunc.c: Likewise.
26780 * string/test-rawmemchr-ifunc.c: Likewise.
26781 * string/test-stpcpy-ifunc.c: Likewise.
26782 * string/test-stpncpy-ifunc.c: Likewise.
26783 * string/test-strcasecmp-ifunc.c: Likewise.
26784 * string/test-strcasestr-ifunc.c: Likewise.
26785 * string/test-strcat-ifunc.c: Likewise.
26786 * string/test-strchr-ifunc.c: Likewise.
26787 * string/test-strchrnul-ifunc.c: Likewise.
26788 * string/test-strcmp-ifunc.c: Likewise.
26789 * string/test-strcpy-ifunc.c: Likewise.
26790 * string/test-strcspn-ifunc.c: Likewise.
26791 * string/test-strlen-ifunc.c: Likewise.
26792 * string/test-strncasecmp-ifunc.c: Likewise.
26793 * string/test-strncat-ifunc.c: Likewise.
26794 * string/test-strncmp-ifunc.c: Likewise.
26795 * string/test-strncpy-ifunc.c: Likewise.
26796 * string/test-strnlen-ifunc.c: Likewise.
26797 * string/test-strpbrk-ifunc.c: Likewise.
26798 * string/test-strrchr-ifunc.c: Likewise.
26799 * string/test-strspn-ifunc.c: Likewise.
26800 * string/test-strstr-ifunc.c: Likewise.
26801
de54b33a
L
26802 * debug/Makefile (tests-ifunc): New variable.
26803 (tests): Add $(tests-ifunc).
26804 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26805 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26806 * debug/test-stpcpy_chk-ifunc.c: New file.
26807 * debug/test-strcpy_chk-ifunc.c: Likewise.
26808
88481c16
SP
268092012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26810
26811 [BZ #13601]
26812 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26813 header is not read in.
26814
135948bd
JM
268152012-10-19 Joseph Myers <joseph@codesourcery.com>
26816
89f1c388
JM
26817 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26818 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26819 directly. Pass built executable to script as
26820 $(built-program-cmd).
26821 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26822 $testprogram without using LD_LIBRARY_PATH and $ldso.
26823
e40a0d21
JM
26824 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26825 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26826 $(rtld-installed-name).
26827 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26828 (rtld_installed_name): Likewise.
26829 (library_path): Likewise.
26830 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26831 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26832 $(run-program-prefix) to tst-tables.sh.
26833 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26834 it to run tst-table-from and tst-table-to.
26835 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26836 Pass it to tst-table.sh.
26837 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26838 $(run-program-prefix) to tst-gettext.sh.
26839 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26840 tst-translit.sh.
26841 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26842 tst-gettext2.sh.
26843 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26844 to run tst-gettext.
26845 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26846 to run tst-gettext2.
26847 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26848 to run tst-translit.
26849 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26850 $(run-program-prefix) to tst-mtrace.sh.
26851 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26852 to run tst-mtrace.
26853 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26854 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26855 $(rtld-installed-name).
26856 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26857 (rtld_installed_name): Likewise.
26858 (run_program_prefix): New variable. Use it to run wordexp-test.
26859
728e272a
JM
26860 * Makeconfig (ARCH): Remove all definitions.
26861 (machine): Likewise.
26862 [ARCH]: Remove conditional code.
26863 [!objdir]: Give error.
26864 [!objdir] (objpfx): Remove.
26865 [!objdir] (common-objpfx): Likewise.
26866 [!objdir] (common-objdir): Likewise.
26867 * configure.in (config_makefile): Remove. Hardcode Makefile in
26868 AC_CONFIG_FILES call.
26869 * configure: Regenerated.
26870
d528cdcf
JM
26871 [BZ #13888]
26872 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26873 or TMPDIR.
26874 (testout): Likewise.
26875
135948bd
JM
26876 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26877 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26878 $(rtld-installed-name).
26879 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26880 (rtld_installed_name): Likwise.
26881 (runit): Remove function.
26882 (run_getconf): New variable, Use it for running getconf binary.
26883
38c78296
L
268842012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26885
26886 [BZ #14716]
26887 * string/test-memmem.c (check_result): New function.
26888 (do_one_test): Use it.
26889 (check1): New function.
26890 (test_main): Use it.
26891
d077f65f
MT
268922012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26893
26894 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26895
ced52c71
JM
268962012-10-18 Joseph Myers <joseph@codesourcery.com>
26897
26898 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26899 (_G_LSEEK64): Likewise.
26900 (_G_MMAP64): Likewise.
26901 (_G_FSTAT64): Likewise.
26902 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26903 (_G_LSEEK64): Likewise.
26904 (_G_MMAP64): Likewise.
26905 (_G_FSTAT64): Likewise.
26906 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26907 unconditional. Call __mmap64 directly.
26908 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26909 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26910 __lseek64 directly.
26911 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26912 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26913 __mmap64 directly.
26914 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26915 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26916 __lseek64 directly.
26917 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26918 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26919 __lseek64 directly.
26920 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26921 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26922 __lseek64 directly.
26923 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26924 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26925 __fxstat64 directly.
26926 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26927 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26928 unconditional.
26929 (freopen64) [!_G_OPEN64]: Remove conditional code.
26930 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26931 unconditional.
26932 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26933 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26934 unconditional.
26935 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26936 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26937 unconditional.
26938 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26939 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26940 unconditional.
26941 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26942 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26943 unconditional.
26944 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26945 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26946 unconditional.
26947 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26948 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26949 unconditional.
26950 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26951
b741de23
SP
269522012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26953
26954 [BZ #12140]
26955 * manual/memory.texi (Malloc Tunable Parameters): Add note
26956 about free list pointers overwriting some perturb bytes.
26957 Wording suggested by Roland McGrath.
26958
f9b9d9c9
JM
269592012-10-17 Joseph Myers <joseph@codesourcery.com>
26960
26961 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26962 (lgamma_test): Likewise.
26963 (tgamma_test): Likewise.
26964
172a631a
FW
269652012-10-16 Florian Weimer <fweimer@redhat.com>
26966
26967 [BZ #14700]
26968 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26969 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26970
e9f37252
MK
269712012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26972
26973 * NEWS: Mention BZ #14716.
26974 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26975 when removing AVAILABLE1_USES_J macro.
26976
d394eb74
L
269772012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26978
26979 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26980 (__bswap_64): __uint64_t for unsigned 64-bit int.
26981
ca38dc17
AS
269822012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26983
26984 * include/string.h (memmem): Declare libc hidden alias.
26985 * string/memmem.c (memmem): Define libc hidden alias.
26986 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26987 __read, __close instead of open, read, close.
26988
9a387d1f
L
269892012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26990
ac49ecaf
L
26991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26992 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26993 global and hidden.
26994 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26995 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26996 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26997 Likewise.
26998 (__rawmemchr_sse2): Likewise.
26999 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27000 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27001 (__strchr_sse2): Likewise.
27002 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27003 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27004 (__strcasecmp_sse2): Likewise.
27005 (__strncasecmp_sse2): Likewise.
27006 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27007 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27008 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27009 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27010 (__strrchr_sse2): Likewise.
27011 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27012 ifunc-impl-list.c.
27013 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27014 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27015 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27016 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27017 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27018 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27019 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27020 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27021 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27022 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27023 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27024 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27025 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27026 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27027 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27028 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27029 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27030 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27031 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27032 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27033 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27034 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27035 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27036 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27037 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27038 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27039 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27040 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27041 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27042 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27043
b090e8ea
L
27044 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27045 global and hidden.
27046 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27047 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27048 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27049 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27050 Likewise.
27051 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27052 Likewise.
27053 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27054 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27055 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27056 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27057 ifunc-impl-list.c.
27058 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27059 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27060 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27061 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27062 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27063 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27064 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27065 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27066 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27067 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27068 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27069 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27070 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27071 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27072 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27073 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27074 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27075 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27076 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27077 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27078 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27079 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27080 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27081 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27082 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27083 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27084 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27085 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27086 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27087 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27088 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27089 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27090 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27091 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27092 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27093 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27094 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27095 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27096 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27097 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27098 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27099
11dd4af6
L
27100 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27101 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27102 * include/ifunc-impl-list.h: New file.
27103 * misc/ifunc-impl-list.c: Likewise.
27104 * misc/Makefile (routines): Add ifunc-impl-list.
27105 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27106 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
27107 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27108 TEST_NAME]: New variables.
11dd4af6
L
27109 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27110 are defined.
27111 (test_init): Call __libc_ifunc_impl_list to initialize
27112 func_list if TEST_IFUNC and TEST_NAME are defined.
27113
9a387d1f
L
27114 * string/Makefile (strop-tests): Add bcopy and bzero.
27115 * string/test-bcopy.c: New file.
27116 * string/test-bzero.c: Likewise.
27117 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27118 defined.
27119 * string/test-memset.c: Support bzero test if TEST_BZERO is
27120 defined.
27121 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27122 __libc_memmove.
27123 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27124 __libc_memset.
27125 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27126 of memset.
27127
472371b9
JM
271282012-10-10 Joseph Myers <joseph@codesourcery.com>
27129
1e4a9536
JM
27130 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27131 * configure: Regenerated.
27132
d173d12e
JM
27133 * Makeconfig (+link-static-before-libc): Don't include
27134 $(link-static-libc).
27135
472371b9
JM
27136 * libio/libio.h (_IO_pos_t): Remove.
27137
89a3ad0b
AO
271382012-10-10 Alexandre Oliva <aoliva@redhat.com>
27139
27140 * NEWS: Add note about FIPS mode. Wording suggested by Roland
27141 McGrath.
27142
e7451425
AO
271432012-10-10 Alexandre Oliva <aoliva@redhat.com>
27144
27145 * crypt/crypt-entry.c: Include fips-private.h.
27146 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27147 * crypt/md5c-test.c (main): Tolerate disabled MD5.
27148 * sysdeps/unix/sysv/linux/fips-private.h: New file.
27149 * sysdeps/generic/fips-private.h: New file, dummy fallback.
27150
4ba74a35
AO
271512012-10-10 Alexandre Oliva <aoliva@redhat.com>
27152
27153 * crypt/crypt-private.h: Include stdbool.h.
27154 (_ufc_setup_salt_r): Return bool.
27155 * crypt/crypt-entry.c: Include errno.h.
27156 (__crypt_r): Return NULL with EINVAL for bad salt.
27157 * crypt/crypt_util.c (bad_for_salt): New.
27158 (_ufc_setup_salt_r): Check that salt is long enough and within
27159 the specified alphabet.
27160 * crypt/badsalttest.c: New file.
27161 * crypt/Makefile (tests): Add it.
27162 ($(objpfx)badsalttest): New.
27163
f96f1242
MK
271642012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
27165
27166 * NEWS: Add entry for BZ #14602.
27167
0e8e0c1c
JM
271682012-10-09 Joseph Myers <joseph@codesourcery.com>
27169
27170 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27171 type-generic.
27172 * math/libm-test.inc: Update comment listing what functions and
27173 macros are tested.
27174 (isgreater_test): New function.
27175 (isgreaterequal_test): Likewise.
27176 (isless_test): Likewise.
27177 (islessequal_test): Likewise.
27178 (islessgreater_test): Likewise.
27179 (isunordered_test): Likewise.
27180 (main): Call the new functions.
27181
273edc5e
RM
271822012-10-09 Roland McGrath <roland@hack.frob.com>
27183
b8493de0
RM
27184 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27185 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27186 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27187 * sysdeps/i386/configure: Regenerated.
27188 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27189 * sysdeps/mach/configure: Regenerated.
27190 * sysdeps/mach/hurd/configure: Regenerated.
27191 * sysdeps/powerpc/configure: Regenerated.
27192 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27193 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27194 * sysdeps/s390/s390-32/configure: Regenerated.
27195 * sysdeps/s390/s390-64/configure: Regenerated.
27196 * sysdeps/sh/configure: Regenerated.
27197 * sysdeps/sparc/configure: Regenerated.
27198 * sysdeps/unix/sysv/linux/configure: Regenerated.
27199 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27200 * sysdeps/x86_64/configure: Regenerated.
27201
273edc5e
RM
27202 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27203 defined. Don't check if MAP is NULL.
27204
c8450f70
JM
272052012-10-09 Joseph Myers <joseph@codesourcery.com>
27206
27207 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27208 (_G_stat64): Likewise.
27209 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27210 (_G_stat64): Likewise.
27211 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27212 instead of struct _G_stat64.
27213 * libio/fileops.c (mmap_remap_check): Likewise.
27214 (decide_maybe_mmap): Likewise.
27215 (_IO_new_file_seekoff): Likewise.
27216 (_IO_file_stat): Likewise.
27217 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27218 _G_off64_t.
27219 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27220 instead of struct _G_stat64.
27221 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27222
57e605ba
MK
272232012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
27224
27225 [BZ #14602]
27226 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27227 Replace with ...
27228 (CHECK_EOL): New macro.
27229 (two_way_short_needle): Check beginning of haystack for EOL. Use
27230 CHECK_EOL.
27231 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27232 Replace with CHECK_EOL.
27233 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27234 Replace with CHECK_EOL.
27235
ef1bb361
JM
272362012-10-08 Joseph Myers <joseph@codesourcery.com>
27237
27238 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27239 type-generic.
27240 * math/libm-test.inc: Update comment listing what functions and
27241 macros are tested.
27242 (finite_test): New function.
27243 (isinf_test): Likewise.
27244 (isnan_test): Likewise.
27245 (fpclassify_test): Test subnormal input.
27246 (isfinite_test): Likewise.
27247 (isnormal_test): Likewise.
27248 (main): Call the new functions.
27249
55f11534
JN
272502012-10-08 Jonathan Nieder <jrnieder@gmail.com>
27251
27252 [BZ #14660]
27253 * Makerules (%.dynsym): Force C locale when running
27254 $(OBJDUMP) --dynamic-syms.
27255
1ab29350
AS
272562012-10-08 Andreas Schwab <schwab@linux-m68k.org>
27257
27258 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
27259 <stdint.h>.
27260
f1ecb7ef
DM
272612012-10-06 David S. Miller <davem@davemloft.net>
27262
27263 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
27264 upper 32-bits of the length value in %o2 since we use branch-on-register
27265 tests which consider the entire 64-bit register.
27266
5d41d91a
L
272672012-10-06 H.J. Lu <hongjiu.lu@intel.com>
27268
27269 * string/test-strstr.c (check2): Add a test for page boundary.
27270
3baddb72
DM
272712012-10-05 David S. Miller <davem@davemloft.net>
27272
27273 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
27274 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
27275 file.
27276 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27277 sysdep_routines.
27278 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27279 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
27280 and bzero when HWCAP_SPARC_CRYPTO is present.
27281
9cee5585
L
272822012-10-05 H.J. Lu <hongjiu.lu@intel.com>
27283
d7e0dab9
L
27284 [BZ #14602]
27285 * string/test-strstr.c (check2): New function.
27286 (test_main): Call check2.
27287
03759f47
L
27288 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
27289 and bug-strchr1.
27290 * string/bug-strcasestr1.c (do_test): Moved to ...
27291 * string/test-strcasestr.c (check1): Here. New function.
27292 (do_one_test): Break out result checking code into ...
27293 (check_result): This. New function.
27294 (do_one_test): Call check_result.
27295 (test_main): Call check1.
27296 * string/bug-strchr1.c (do_test): Moved to ...
27297 * string/test-strchr.c (check1): Here. New function.
27298 (do_one_test): Break out result checking code into ...
27299 (check_result): This. New function.
27300 (do_one_test): Call check_result.
27301 (test_main): Call check1.
27302 * string/bug-strstr1.c (main): Moved to ...
046f153e 27303 * string/test-strstr.c (check1): Here. New function.
03759f47
L
27304 (do_one_test): Break out result checking code into ...
27305 (check_result): This. New function.
27306 (do_one_test): Call check_result.
27307 (test_main): Call check1.
27308 * string/bug-strcasestr1.c: Removed.
27309 * string/bug-strchr1.c: Likewise.
27310 * string/bug-strstr1.c: Likewise.
27311
53cea63e
L
27312 * elf/Makefile (dl-routines): Add hwcaps.
27313 * elf/dl-support.c (_dl_important_hwcaps): Removed.
27314 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
27315 (_dl_important_hwcaps): Moved to ...
27316 * elf/dl-hwcaps.c: Here. New file.
27317 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
27318
9cee5585 27319 [BZ #14557]
bb859b06
L
27320 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
27321 if IS_IN_rtld isn't defined.
27322
9cee5585
L
27323 * elf/dl-support.c (_dl_sysinfo_map): New.
27324 Include "get-dynamic-info.h" and "setup-vdso.h".
27325 (_dl_non_dynamic_init): Call setup_vdso.
27326 * elf/dynamic-link.h: Don't include <assert.h>.
27327 (elf_get_dynamic_info): Moved to ...
27328 * elf/get-dynamic-info.h: Here. New file.
27329 * elf/dynamic-link.h: Include "get-dynamic-info.h".
27330 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
27331 * elf/setup-vdso.h: Here. New file.
27332 * elf/rtld.c: Include "setup-vdso.h".
27333 (dl_main): Call setup_vdso.
27334
23c31b76
JM
273352012-10-05 Joseph Myers <joseph@codesourcery.com>
27336
28234b07
JM
27337 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
27338 creal in comment listing functions tested. List finite, isinf,
27339 isnan, isless, islessequal, isgreater, isgreaterequal,
27340 islessgreater, isunordered, lgamma_r and pow10 as functions and
27341 macros not tested. Mention which functions not tested are aliases
27342 for other functions. Fix typo. Note that signs of NaNs are not
27343 tested.
27344
23c31b76
JM
27345 * scripts/config.guess: Update from config.git.
27346 * scripts/config.sub: Likewise.
27347
9043e228
RM
273482012-10-04 Roland McGrath <roland@hack.frob.com>
27349
27350 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
27351 * misc/madvise.c (madvise): Renamed to __madvise.
27352 Make madvise a weak alias.
27353 * include/sys/mman.h: Declare __madvise.
27354 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
27355 * sysdeps/unix/syscalls.list
27356 (madvise): Make __madvise the strong name, and madvise a weak alias.
27357 * sysdeps/unix/sysv/linux/syscalls.list
27358 (madvise, mmap): Remove redundant entries.
27359 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
27360 * malloc/malloc.c (mtrim): Likewise.
27361 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
27362
f57f8055
RM
273632012-10-03 Roland McGrath <roland@hack.frob.com>
27364
27365 * sysdeps/mach/hurd/dl-cache.c: File removed.
27366 * config.h.in (USE_LDCONFIG): New #undef.
27367 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
27368 * configure: Regenerated.
27369 * elf/Makefile (dl-routines): Add dl-cache only under
27370 [$(use-ldconfig) = yes].
27371 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
27372 cache on [USE_LDCONFIG].
27373 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
27374 [USE_LDCONFIG].
27375 * elf/rtld.c (dl_main): Likewise.
27376
5bb0c10a
PT
273772012-10-03 Pino Toscano <toscano.pino@tiscali.it>
27378
27379 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
27380 _SC_LEVEL4_CACHE_LINESIZE.
27381
010188c6
RM
273822012-10-03 Roland McGrath <roland@hack.frob.com>
27383
27384 * sysdeps/unix/bsd/confstr.h: File removed.
27385
b6c5ec07
AO
273862012-10-02 Alexandre Oliva <aoliva@redhat.com>
27387
27388 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
27389 sys/sdt-config.h.
27390
408223d4
RM
273912012-10-02 Roland McGrath <roland@hack.frob.com>
27392
27393 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
27394 Make 'mapoff' field ElfW(Off) rather than off_t.
27395
bb9510dc
DL
273962012-10-02 Dmitry V. Levin <ldv@altlinux.org>
27397
fc997c6e
DL
27398 * nscd/Makefile: Remove nscd-cflags and all its users.
27399 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27400 (CFLAGS-nonlib): Add compiler flags for nscd modules.
27401
bb9510dc
DL
27402 [BZ #10631]
27403 * malloc.c (malloc_printerr): Clarify error message.
27404
05699367
L
274052012-10-02 H.J. Lu <hongjiu.lu@intel.com>
27406
27407 [BZ #14648]
27408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27409 Set bit_FMA_Usable if FMA is supported.
27410 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27411 macro.
27412 (bit_FMA4_Usable): Updated.
27413 (index_FMA_Usable): New macro.
27414 (CPUID_FMA): Likewise
27415 (HAS_FMA): Defined with bit_FMA_Usable.
27416
51367701
RM
274172012-10-01 Roland McGrath <roland@hack.frob.com>
27418
27419 * bits/types.h (__swblk_t): Type removed.
27420 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27421 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27423 (__SWBLK_T_TYPE): Likewise.
27424 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27425 (__SWBLK_T_TYPE): Likewise.
27426 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27427 (__SWBLK_T_TYPE): Likewise.
27428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27429 (__SWBLK_T_TYPE): Likewise.
27430
4d57bf63 274312012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 27432 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
27433
27434 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27435 (xdr_mapname): Use YPMAXMAP as maxsize.
27436 (xdr_peername): Use YPMAXPEER as maxsize.
27437 (xdr_keydat): Use YPAXRECORD as maxsize.
27438 (xdr_valdat): Use YPMAXRECORD as maxsize.
27439
93c65d43
RM
274402012-10-01 Roland McGrath <roland@hack.frob.com>
27441
497a03d6
RM
27442 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27443
93c65d43
RM
27444 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27445 * csu/init-first.c: ... here.
27446 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27447 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27448 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27449 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27450 * sysdeps/i386/init-first.c: File removed.
27451 * sysdeps/sh/init-first.c: File removed.
27452
bec749fd
JM
274532012-10-01 Joseph Myers <joseph@codesourcery.com>
27454
27455 [BZ #14645]
27456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27457 if x * y might underflow to zero and z is zero.
27458 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27459 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27460 * math/libm-test.inc (min_subnorm_value): New variable.
27461 (fma_test): Add more tests.
27462 (fma_test_towardzero): Likewise.
27463 (fma_test_downward): Likewise
27464 (fma_test_upward): Likewise.
27465 (initialize): Set min_subnorm_value.
27466
8ec5b013
JM
274672012-09-29 Joseph Myers <joseph@codesourcery.com>
27468
27469 [BZ #14638]
27470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27471 0 + 0.
27472 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27473 mode for addition resulting in exact zero.
27474 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27476 exact 0 + 0.
27477 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27478 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27479 * math/libm-test.inc (fma_test): Add more tests.
27480 (fma_test_towardzero): New function.
27481 (fma_test_downward): Likewise.
27482 (fma_test_upward): Likewise.
27483 (main): Call the new functions.
27484
b1fa802e
DM
274852012-09-28 David S. Miller <davem@davemloft.net>
27486
27487 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27488
d3b9fd9e
RM
274892012-09-28 Roland McGrath <roland@hack.frob.com>
27490
ea4d37b3
RM
27491 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27492 instead of SIGALRM.
27493
ac51c949
RM
27494 * sysdeps/gnu/_G_config.h: Moved to ...
27495 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27496 * sysdeps/mach/hurd/_G_config.h: Moved to ...
27497 * sysdeps/generic/_G_config.h: ... here.
27498
28c195f7
RM
27499 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
27500
848917f9
RM
27501 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27502
6bacf05b
RM
27503 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27504 Conditionalize target on [libnss_test1.so-version].
27505
91363dbb
RM
27506 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27507
cc87f7d8
RM
27508 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27509 (elfobjdir): Move out of conditionals.
27510
b1c608fe
RM
27511 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27512 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27513 (__nss_lookup_function): Conditionalize label remove_from_tree on
27514 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 27515
1d9a6d96
DM
275162012-09-28 David S. Miller <davem@davemloft.net>
27517
27518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27519 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27520 file.
27521 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27522 sysdep_routines.
27523 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27524 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27525 when HWCAP_SPARC_CRYPTO is present.
27526
72581615
PT
275272012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27528
27529 * io/tst-mknodat.c: Create a FIFO instead of a socket.
27530
715a900c
JL
275312012-09-28 Andreas Schwab <schwab@linux-m68k.org>
27532
27533 [BZ #6530]
27534 * stdio-common/vfprintf.c (process_string_arg): Revert
27535 2000-07-22 change.
27536
275372011-09-28 Jonathan Nieder <jrnieder@gmail.com>
27538
27539 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27540 for testcase.
27541 * stdio-common/tst-sprintf.c: Include <locale.h>
27542 (main): Test sprintf's handling of incomplete multibyte
27543 characters.
27544
9bac1d86
L
275452012-09-28 H.J. Lu <hongjiu.lu@intel.com>
27546
27547 * elf/dl-runtime.c (VERSYMIDX): Removed.
27548 * elf/dl-version.c (VERSYMIDX): Likewise.
27549 * elf/do-rel.h (VERSYMIDX): Likewise.
27550 (VALIDX): Likewise.
27551 * elf/dynamic-link.h (VERSYMIDX): Likewise.
27552 * elf/rtld.c (VALIDX): Likewise.
27553 (ADDRIDX): Likewise.
9bac1d86
L
27554 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27555 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27556 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
27557 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27558 (VALIDX): Likewise.
27559 (ADDRIDX): Likewise.
9bac1d86 27560
b31606c0
PT
275612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27562
27563 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27564
11541177
JL
275652012-09-28 Dmitry V. Levin <ldv@altlinux.org>
27566
27567 [BZ #11438]
27568 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27569 to global scope.
27570 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27571 addresses are in the same scope as 192.0.2/24.
27572 * posix/gai.conf: Document new scope table defaults.
27573
adb26fae
SP
275742012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27575
27576 [BZ #5298]
27577 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27578 for ftell. Compute offsets from write pointers instead.
27579 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27580
4573c6b0
SP
275812012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27582
27583 [BZ #14543]
27584 * libio/Makefile (tests): New test case tst-fseek.
27585 * libio/tst-fseek.c: New test case to verify that fseek/ftell
27586 combination works in wide mode.
27587 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27588 state when the external buffer state changes.
27589
aa9bbfe6
DM
275902012-09-27 David S. Miller <davem@davemloft.net>
27591
27592 [BZ #14376]
27593 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27594 pass reloc->r_addend in as the 'high' argument to
27595 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27596
784421e7
DM
27597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27598
c39bc8b8
PT
275992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
27600
27601 * rt/tst-aio2.c: Include <pthread.h>.
27602 * rt/tst-aio3.c: Likewise.
27603
1ccc2399
SE
276042012-09-27 Steve Ellcey <sellcey@mips.com>
27605
27606 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27607
31ed4153
L
276082012-09-27 H.J. Lu <hongjiu.lu@intel.com>
27609
25f5f885
L
27610 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27611 contents on [SHARED].
31ed4153 27612
b7bfe116
MP
276132012-09-26 Marek Polacek <polacek@redhat.com>
27614
27615 [BZ #14530]
27616 [BZ #13741]
27617 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27618 for C++ and GCC <4.3 as well as for non GCC compilers.
27619
43c4edba
MT
276202012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27621
27622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27623
6a1bf82f
RM
276242012-09-25 Roland McGrath <roland@hack.frob.com>
27625
27626 * Makefile.in (all, install): Declare with .PHONY.
27627 Reported by Michael Hope <michael.hope@linaro.org>.
27628
8ad11b9a
TMQMF
276292012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27630
27631 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27632 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27633 system header.
27634 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27635 Likewise.
27636 (sydep_routines): Add the new and the internal functions.
27637 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27638 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27640 (GLIBC_2.17): Add the new function.
27641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27642 (GLIBC_2.17): Likewise.
27643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27644 (GLIBC_2.17): Likewise.
27645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27646 (GLIBC_2.17): Likewise.
27647 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27648
7e2fca8d
AM
276492012-09-25 Alan Modra <amodra@gmail.com>
27650
27651 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27652 Add release barrier before setting once_control to say
27653 initialisation is done. Add hints on lwarx. Use macro in
27654 place of isync.
27655 (clear_once_control): Add release barrier.
27656
b87c4b24
JM
276572012-09-25 Joseph Myers <joseph@codesourcery.com>
27658
d032e0d2
JM
27659 [BZ #13629]
27660 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27661 specially.
27662 * math/s_clog10.c (__clog10): Likewise.
27663 * math/s_clog10f.c (__clog10f): Likewise.
27664 * math/s_clog10l.c (__clog10l): Likewise.
27665 * math/s_clogf.c (__clogf): Likewise.
27666 * math/s_clogl.c (__clogl): Likewise.
27667 * math/Makefile (libm-calls): Add x2y2m1.
27668 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27669 (__x2y2m1): Likewise.
27670 (__x2y2m1l): Likewise.
27671 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27672 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27673 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27674 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27675 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27676 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27677 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27678 * sysdeps/i386/fpu/libm-test-ulps: Update.
27679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27680
b87c4b24
JM
27681 [BZ #14621]
27682 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27683 int as type of variable DEPTH.
27684 (glob): Use size_t instead of int as type of variables NEWCOUNT
27685 and OLD_PATHC.
27686
6d3bf199
LD
276872012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27688
22bf5c17
LD
27689 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27690 Add s_sincosf-sse2.
27691 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27692 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27693 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27694 macros for using routine as __sincosf_ia32.
27695 Use macro for function declaration and weak_alias.
27696 * sysdeps/i386/fpu/libm-test-ulps: Update.
27697
27698 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27700
27701 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
27702 subnormal argument.
27703 * math/s_cexpf.c (__cexpf): Likewise.
27704 * math/s_csinf.c (__csinf): Likewise.
27705 * math/s_csinhf.c (__csinhf): Likewise.
27706 * math/s_ctanf.c (__ctanf): Likewise.
27707 * math/s_ctanhf.c (__ctanhf): Likewise.
27708 * math/s_ccosh.c (__ccoshf): Likewise.
27709 * math/s_cexp.c (__cexpl): Likewise.
27710 * math/s_csin.c (__csin): Likewise.
27711 * math/s_csinh.c (__csinh): Likewise.
27712 * math/s_ctan.c (__ctan): Likewise.
27713 * math/s_ctanh.c (ctanh): Likewise.
27714 * math/s_ccoshl.c (__ccoshl): Likewise.
27715 * math/s_cexpl.c (__cexpl): Likewise.
27716 * math/s_csinl.c (__csinl): Likewise.
27717 * math/s_csinhl.c (__csinhl): Likewise.
27718 * math/s_ctanl.c (__ctanl): Likewise.
27719 * math/s_ctanhl.c (__ctanhl): Likewise.
27720
203e5603
JM
277212012-09-25 Joseph Myers <joseph@codesourcery.com>
27722
27723 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27724 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27725 (_IO_off_t): Define to __off_t, not _G_off_t.
27726 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27727 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27728 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27729 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27730 type of __dummy and __dummy2 fields.
27731 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27732 (_G_ssize_t): Likewise.
27733 (_G_off_t): Likewise.
27734 (_G_pid_t): Likewise.
27735 (_G_uid_t): Likewise.
27736 (_G_wchar_t): Likewise.
27737 (_G_wint_t): Likewise.
27738 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27739 (_G_ssize_t): Likewise.
27740 (_G_off_t): Likewise.
27741 (_G_pid_t): Likewise.
27742 (_G_uid_t): Likewise.
27743 (_G_wchar_t): Likewise.
27744 (_G_wint_t): Likewise.
27745 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27746 (_G_ssize_t): Likewise.
27747 (_G_off_t): Likewise.
27748 (_G_pid_t): Likewise.
27749 (_G_uid_t): Likewise.
27750 (_G_wchar_t): Likewise.
27751 (_G_wint_t): Likewise.
27752
9fab36eb
SP
277532012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27754
27755 * malloc/arena.c: Include malloc-sysdep.h.
27756 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27757 is sufficient to shrink the heap or an unmap is needed.
27758 * sysdeps/generic/malloc-sysdep.h: New file. Define
27759 new function check_may_shrink_heap.
27760 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27761 new function check_may_shrink_heap.
27762
2b4f00d1
SP
277632012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27764
27765 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27766 comments.
27767
9a9028b1
DL
277682012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27769
57c69bef
DL
27770 * catgets/test-gencat.sh: Add "set -e".
27771 * elf/tst-pathopt.sh: Likewise.
27772 * grp/tst_fgetgrent.sh: Likewise.
27773 * iconvdata/run-iconv-test.sh: Likewise.
27774 * intl/tst-gettext.sh: Likewise.
27775 * intl/tst-gettext2.sh: Likewise.
27776 * intl/tst-gettext4.sh: Likewise.
27777 * intl/tst-gettext6.sh: Likewise.
27778 * intl/tst-translit.sh: Likewise.
27779 * io/ftwtest-sh: Likewise.
27780 * libio/test-freopen.sh: Likewise.
27781 * malloc/tst-mtrace.sh: Likewise.
27782 * posix/globtest.sh: Likewise.
27783 * posix/tst-getconf.sh: Likewise.
27784 * posix/wordexp-tst.sh: Likewise.
27785 * stdio-common/tst-printf.sh: Likewise.
27786 * stdio-common/tst-unbputc.sh: Likewise.
27787 * stdlib/tst-fmtmsg.sh: Likewise.
27788 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27789 * catgets/Makefile: Do not specify -e option when running
27790 testsuite shell scripts.
27791 * elf/Makefile: Likewise.
27792 * grp/Makefile: Likewise.
27793 * iconvdata/Makefile: Likewise.
27794 * intl/Makefile: Likewise.
27795 * io/Makefile: Likewise.
27796 * libio/Makefile: Likewise.
27797 * malloc/Makefile: Likewise.
27798 * posix/Makefile: Likewise.
27799 * stdio-common/Makefile: Likewise.
27800 * stdlib/Makefile: Likewise.
27801 * sysdeps/x86_64/Makefile: Likewise.
27802
9a9028b1
DL
27803 * io/ftwtest-sh: Add copyright header.
27804 * posix/globtest.sh: Likewise.
27805 * posix/tst-getconf.sh: Likewise.
27806 * posix/wordexp-tst.sh: Likewise.
27807 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27808
ced6f16e
L
278092012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27810
94b32c39
L
27811 [BZ #13679]
27812 * Makeconfig (+link): Defined as $(+link-static) if
27813 $(build-shared) isn't yes.
27814 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27815 isn't yes.
27816 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27817
189e935b
L
27818 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27819
ced6f16e
L
27820 [BZ #14562]
27821 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27822 new chunk size with MALLOC_ALIGN_MASK.
27823
a9f8e53a
JM
278242012-09-24 Joseph Myers <joseph@codesourcery.com>
27825
27826 [BZ #5044]
27827 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27828 <rounding-mode.h>.
27829 (__printf_fphex): Determine rounding using get_rounding_mode and
27830 round_away.
27831 * stdio-common/tst-printf-round.c (struct hex_test): New
27832 structure.
27833 (hex_tests): New variable.
27834 (test_hex_in_one_mode): New function.
27835 (do_test): Also run tests for hex float output.
27836
43153109
JM
278372012-09-21 Joseph Myers <joseph@codesourcery.com>
27838
27839 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27840 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27841 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27842 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27843 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27844 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27845 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27846 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27847
8a26625d
JM
278482012-09-20 Joseph Myers <joseph@codesourcery.com>
27849
27850 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27851 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27852 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27853 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27854
f3fd569c
DL
278552012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27856
27857 [BZ #14579]
27858 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27859 mode only.
27860 * elf/tst-rtld-load-self.sh: New test.
27861 * elf/Makefile: Run it.
27862
63bbedd4
JM
278632012-09-18 Joseph Myers <joseph@codesourcery.com>
27864
27865 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27866 (tst-writev-ENV): Remove.
27867 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27868
626f8b6a
CM
278692012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27870
27871 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27872
b7aaa4d6
JM
278732012-09-17 Joseph Myers <joseph@codesourcery.com>
27874
27875 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27876 unconditional.
27877 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27878 Likewise.
27879 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27880 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27881 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27882 Likewise.
27883
65513990
L
278842012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27885
27886 [BZ #14587]
27887 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27888 * config.make.in (have-cpp-asm-debuginfo): Removed.
27889 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27890 * configure: Regenerated.
27891
784761be
JM
278922012-09-14 Joseph Myers <joseph@codesourcery.com>
27893
27894 [BZ #5044]
27895 * stdio-common/printf_fp.c: Include <stdbool.h> and
27896 <rounding-mode.h>.
27897 (___printf_fp): Determine rounding using get_rounding_mode and
27898 round_away.
27899 * stdio-common/tst-printf-round.c: New file.
27900 * stdio-common/Makefile (tests): Add tst-printf-round.
27901 (link-libm): New variable.
27902 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27903
9503345f
L
279042012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27905
27906 [BZ #14576]
27907 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27908 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27909 Likewise.
27910 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27911 Likewise.
27912
ad35fc00
JM
279132012-09-13 Joseph Myers <joseph@codesourcery.com>
27914
27915 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27916 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27917 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27918 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27919
6c9b0f68
JM
279202012-09-12 Joseph Myers <joseph@codesourcery.com>
27921
27922 [BZ #14518]
27923 * include/rounding-mode.h: New file.
27924 * sysdeps/generic/get-rounding-mode.h: Likewise.
27925 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27926 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27927 (MAX_VALUE): New macro.
27928 (MIN_VALUE): Likewise.
27929 (overflow_value): New function.
27930 (underflow_value): Likewise.
27931 (round_and_return): Use overflow_value and underflow_value to
27932 determine return values in overflow and underflow cases. Use
27933 round_away to determine rounding depending on rounding mode.
27934 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27935 determine return values in overflow and underflow cases.
27936 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27937 (struct test_results): New structure.
27938 (struct test): Use struct test_results to store expected results
27939 for all rounding modes.
27940 (TEST): Include expected results for all rounding modes.
27941 (test_in_one_mode): New function.
27942 (do_test): Use test_in_one_mode to compute and check results.
27943 Check results for all rounding modes.
27944 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27945 $(link-libm).
27946
19fcedd5
AM
279472012-12-09 Allan McRae <allan@archlinux.org>
27948
1e9d84cd 27949 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 27950
8bbfd2f1
JM
279512012-09-11 Joseph Myers <joseph@codesourcery.com>
27952
27953 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27954 (_G_int32_t): Likewise.
27955 (_G_uint16_t): Likewise.
27956 (_G_uint32_t): Likewise.
27957 (_G_HAVE_BOOL): Likewise.
27958 (_G_HAVE_ATEXIT): Likewise.
27959 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27960 (_G_HAVE_IO_FILE_OPEN): Likewise.
27961 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27962 (_G_int32_t): Likewise.
27963 (_G_uint16_t): Likewise.
27964 (_G_uint32_t): Likewise.
27965 (_G_HAVE_BOOL): Likewise.
27966 (_G_HAVE_ATEXIT): Likewise.
27967 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27968 (_G_HAVE_IO_FILE_OPEN): Likewise.
27969 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27970 (_G_int32_t): Likewise.
27971 (_G_uint16_t): Likewise.
27972 (_G_uint32_t): Likewise.
27973 (_G_HAVE_BOOL): Likewise.
27974 (_G_HAVE_ATEXIT): Likewise.
27975 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27976 (_G_HAVE_IO_FILE_OPEN): Likewise.
27977
b1dc5912
L
279782012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27979
27980 * csu/libc-tls.c: Update copyright years.
27981
0e886ef9
JM
279822012-09-10 Joseph Myers <joseph@codesourcery.com>
27983
28361c5e
JM
27984 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27985 [!_G_USING_THUNKS]: Remove conditional code.
27986 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27987 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27988
0e886ef9
JM
27989 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27990 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27991 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27992 (_G_VTABLE_LABEL_PREFIX): Likewise.
27993 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27994 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27995 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27996 (_G_VTABLE_LABEL_PREFIX): Likewise.
27997 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27998 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27999 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28000 (_G_VTABLE_LABEL_PREFIX): Likewise.
28001 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28002
bcba7aa2
L
280032012-09-10 H.J. Lu <hongjiu.lu@intel.com>
28004
28005 * libio/Makefile: Include ../Makeconfig before tests.
28006 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28007 only if $(build-shared) is yes.
28008
06585ee8
L
28009 * iconv/gconv_db.c: Update copyright years.
28010
80ccd52c
LD
280112012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28012
28013 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28014 unwind info if defined PIC. Fix special cases description.
28015 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28016
28017 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28018 DP_HI_MASK entry.
28019 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28020
691bc9c1
L
280212012-09-07 H.J. Lu <hongjiu.lu@intel.com>
28022
3d9b46b3
L
28023 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28024
de2139a9
L
28025 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28026 is NULL.
28027
5ca78dd0
L
28028 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28029 (LDLIBS-tst-chk4): This.
28030 (LDFLAGS-tst-chk5): Renamed to ...
28031 (LDLIBS-tst-chk5): This.
28032 (LDFLAGS-tst-chk6): Renamed to ...
28033 (LDLIBS-tst-chk6): This.
28034 (LDFLAGS-tst-lfschk4): Renamed to ...
28035 (LDLIBS-tst-lfschk4): This.
28036 (LDFLAGS-tst-lfschk5): Renamed to ...
28037 (LDLIBS-tst-lfschk5): This.
28038 (LDFLAGS-tst-lfschk6): Renamed to ...
28039 (LDLIBS-tst-lfschk6): This.
28040
691bc9c1
L
28041 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28042 on $(common-objpfx)soversions.mk.
28043
65cafb1c
JM
280442012-09-07 Joseph Myers <joseph@codesourcery.com>
28045
28046 [BZ #10014]
28047 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28048 example host name.
28049
c78ab094
SP
280502012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28051
28052 * malloc/arena.c (arena_get_retry): New function that gets
28053 another arena for the caller to try its request on.
28054 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28055 current arena cannot fulfill the request.
28056 (__libc_memalign): Likewise.
28057 (__libc_memalign): Likewise.
28058 (__libc_pvalloc): Likewise.
28059 (__libc_calloc): Likewise.
28060
01f49f59
JT
280612012-09-05 John Tobey <john.tobey@gmail.com>
28062
28063 [BZ #13542]
28064 * manual/arith.texi (Operations on Complex): Fix description
28065 of carg branch cut.
28066
4c23fed5
JM
280672012-09-06 Joseph Myers <joseph@codesourcery.com>
28068
1d3c8572
JM
28069 [BZ #10014]
28070 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28071 host name.
28072
4c23fed5
JM
28073 [BZ #10038]
28074 * manual/memory.texi (Memory): Make order of menu items match
28075 order of sections.
28076
04570aaa
L
280772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28078
28079 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28080 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
28081 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28082
b80af2f4
L
280832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28084
28085 * csu/libc-tls.c (static_dtv): Renamed to ...
28086 (_dl_static_dtv): This. Make it global.
28087 (_dl_initial_dtv): Removed.
28088 (__libc_setup_tls): Updated.
28089 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28090 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28091 DL_INITIAL_DTV.
28092
2abe9f15
PM
280932012-09-06 Petr Machata <pmachata@redhat.com>
28094
28095 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28096 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28097 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28098 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28099
0948c3af
L
281002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28101
28102 [BZ #14545]
28103 * csu/libc-tls.c (_dl_initial_dtv): New variable.
28104 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28105 freeing dtv[-1].
28106
a5055ad1
L
281072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
28108
28109 [BZ #14544]
28110 * Makeconfig (link-static-before-libc): Replace $(+prector)
28111 with $(+prectorT).
28112 (link-static-after-libc): Replace $(+postctor) with
28113 $(+postctorT).
28114 (link-bounded): Replace $(+prector)/$(+postctor) with
28115 $(+prectorT)/$(+postctorT).
28116 (+prectorT): New macro.
28117 (+postctorT): Likewise.
28118
ed8c2ecd
JM
281192012-09-06 Joseph Myers <joseph@codesourcery.com>
28120
28121 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28122 (round_str): Handle values above the maximum for IBM long double
28123 as inexact.
28124 * stdlib/tst-strtod-round.c (tests): Regenerated.
28125
14c996c8
AK
281262012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28127
28128 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28129 assembler flag.
28130 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28131 zarch_nohighgprs around the zarch optimized routines.
28132 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28133 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28134 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28135 for zarch.
28136
430d6ce6
DM
281372012-09-05 David S. Miller <davem@davemloft.net>
28138
28139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28140
57f41c40
AS
28141 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28142 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
28143 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28144 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28145 entries.
28146
24d4e01b
AO
281472012-09-05 Alexandre Oliva <aoliva@redhat.com>
28148
28149 * malloc/arena.c: Fold copyright years.
28150 * malloc/mcheck.c, malloc/memusage.c: Likewise.
28151
61d58174
AO
281522012-09-05 Alexandre Oliva <aoliva@redhat.com>
28153
28154 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28155
20196a5e
AO
281562012-09-05 Alexandre Oliva <aoliva@redhat.com>
28157
28158 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
28159
5c447383
AO
281602012-09-05 Alexandre Oliva <aoliva@redhat.com>
28161
28162 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28163 change internal state upon failure.
28164
fad64255
AO
281652012-09-05 Alexandre Oliva <aoliva@redhat.com>
28166
28167 * malloc/mcheck.c (mcheck_check_all): Fix typo.
28168 * malloc/memusage.c (mmap): Likewise.
28169 (mmap64, mremap): Likewise. Adjust name in comment.
28170
1ffb8c90
SP
281712012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28172
28173 * libio/fileops.c: Fix typos in comments.
28174 * libio/oldfileops.c: Likewise.
28175 * libio/wfileops.c: Likewise.
28176
6ef9cc37
SP
281772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28178
28179 [BZ #1349]
28180 * malloc/Makefile (tests): Add tst-malloc-usable test case.
28181 (tst-malloc-usable-ENV): Set environment for test case.
28182 * malloc/hooks.c (malloc_check_get_size): New function to get
28183 requested size.
28184 * malloc/malloc.c (musable): Use malloc_check_get_size.
28185 * malloc/tst-malloc-usable.c: New test case.
28186
4d038ae3
AS
281872012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28188
28189 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28190
c4e85184
AM
281912012-09-05 Allan McRae <allan@archlinux.org>
28192
b9dafc56 28193 [BZ #13966]
c4e85184
AM
28194 * configure.in (CXX_SYSINCLUDES): Use compiler output to
28195 determine header location.
28196 * configure: Regenerated.
28197
e1343020
AS
281982012-09-05 Andreas Schwab <schwab@linux-m68k.org>
28199
28200 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28201 float format.
28202 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
28203 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28204 format.
e1343020
AS
28205 (test): Regenerate.
28206
0a9f1987
DM
282072012-09-04 David S. Miller <davem@davemloft.net>
28208
28209 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28210 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28211 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28212
29237804
FW
282132012-09-04 Florian Weimer <fweimer@redhat.com>
28214
28215 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28216 failures.
28217
edb3cb88
FW
28218 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28219
60160d83
JM
282202012-09-04 Joseph Myers <joseph@codesourcery.com>
28221
28222 [BZ #9914]
28223 * libio/iogetdelim.c: Include <limits.h>.
28224 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28225 + len + 1 would overflow.
28226
bcd6c8dc
AJ
282272012-09-03 Andreas Jaeger <aj@suse.de>
28228
28229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28230 * sysdeps/i386/fpu/libm-test-ulps: Update.
28231
4ffffbd2
LD
282322012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28233
28234 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28235 Add s_sinf-sse2, s_conf-sse2.
28236
28237 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28238 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28239 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28240 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28241
28242 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28243 for using routine as __sinf_ia32.
28244 Use macro for function declaration and weak_alias.
28245 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28246 for using routine as __cosf_ia32.
28247 Use macro for function declaration and weak_alias.
28248
28249 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28250 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28251
28252 * sysdeps/x86_64/fpu/s_sinf.S: New file.
28253 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28254 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28255
28256 * math/libm-test.inc (cos_test): Add more test cases.
28257 (sin_test): Likewise.
28258 (sincos_test): Likewise.
28259
511fa286
AK
282602012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28261
28262 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
28263 (IFUNC_RESOLVE): Make pointers to the specialized implementations
28264 hidden.
28265 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28266
5f30cfec
L
282672012-09-02 H.J. Lu <hongjiu.lu@intel.com>
28268
28269 [BZ #14538]
28270 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
28271 first element of the GOT.
28272 (elf_machine_load_address): Return the difference between
28273 the runtime address of _DYNAMIC and elf_machine_dynamic ().
28274
0786794f
AM
282752012-09-01 Allan McRae <allan@archlinux.org>
28276
5f30cfec
L
28277 [BZ #13412]
28278 * configure.in (AWK): Require gawk version 3.0 or later.
28279 * configure: Regenerated.
0786794f 28280
26889eac
JM
282812012-09-01 Joseph Myers <joseph@codesourcery.com>
28282
28283 * sysdeps/unix/sysv/linux/kernel-features.h
28284 (__ASSUME_POSIX_CPU_TIMERS): Remove.
28285 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28286 [__NR_clock_getres]: Make code unconditional.
28287 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
28288 (clock_getcpuclockid): Remove code left unreachable by removal of
28289 conditionals.
28290 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
28291 code unconditional.
28292 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28293 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28294 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
28295 Make code unconditional.
28296 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
28297 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28298 * sysdeps/unix/sysv/linux/clock_settime.c
28299 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
28300 conditional code.
28301 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
28302 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
28303
d22e28b0
L
283042012-08-29 H.J. Lu <hongjiu.lu@intel.com>
28305
28306 [BZ #14476]
28307 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
28308 scripts/test-installation.pl.
28309
28310 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
28311 and $ld_so_version if it is set.
28312
050af9c4
SP
283132012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28314
28315 [BZ #14516]
28316 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
28317 failure if reading from procfs failed.
28318 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
28319
ad845c0b
JM
283202012-08-27 Joseph Myers <joseph@codesourcery.com>
28321
28322 * sysdeps/unix/sysv/linux/kernel-features.h
28323 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
28324 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28325 Remove conditional code.
28326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28327 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
28328 Remove conditional code.
28329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28330 * sysdeps/unix/sysv/linux/i386/fxstat.c
28331 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28333 * sysdeps/unix/sysv/linux/i386/fxstatat.c
28334 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28336 * sysdeps/unix/sysv/linux/i386/lxstat.c
28337 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
28338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28339 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
28340 Remove conditional code.
28341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28342 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
28343 Remove conditional code.
28344 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28345 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
28346 <kernel-features.h>.
28347 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
28348 Remove.
28349 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
28350 Remove conditional code.
28351 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
28352 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
28353 Remove conditional.
28354
5dbf56af
MF
283552012-08-27 Mike Frysinger <vapier@gentoo.org>
28356
28357 [BZ #5400]
28358 * NEWS: Add fixed bug number.
28359
d6e70f43
JM
283602012-08-27 Joseph Myers <joseph@codesourcery.com>
28361
7efb4737
JM
28362 [BZ #14519]
28363 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
28364 underflowing exponent in case of negative sign.
28365 * stdlib/tst-strtod-round-data: Add more tests.
28366 * stdlib/tst-strtod-round.c (tests): Regenerated.
28367
af92131a
JM
28368 [BZ #3479]
28369 * stdlib/strtod_l.c (NDIG): Remove.
28370 (HEXNDIG): Likewise.
28371 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
28372 smallest representable value.
28373 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
28374 lie within an exact representation of 1/2 ulp of the result.
28375 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
28376 unconditionally.
28377 (TENS_P9_IDX): Define unconditionally.
28378 (TENS_P9_SIZE): Likewise.
28379 (TENS_P10_IDX): Likewise.
28380 (TENS_P10_SIZE): Likewise.
28381 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
28382 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
28383 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
28384 entries for 10^2^13 and 10^2^14.
28385 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
28386 (TENS_P13_IDX): Define.
28387 (TENS_P13_SIZE): Likewise.
28388 (TENS_P14_IDX): Likewise.
28389 (TENS_P14_SIZE): Likewise.
28390 (_fpioconst_pow10): Change array size to
28391 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
28392 unconditional.
28393 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
28394 1024]: Add entries for 10^2^13 and 10^2^14.
28395 [LAST_POW10 > _LAST_POW10]: Remove #error.
28396 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
28397 (_fpioconst_pow10): Change array size to
28398 FPIOCONST_POW10_ARRAY_SIZE.
28399 * stdlib/gen-fpioconst.c: New file.
28400 * stdlib/gen-tst-strtod-round.c: Likewise.
28401 * stdlib/tst-strtod-round-data: Likewise.
28402 * stdlib/tst-strtod-round.c: Likewise.
28403 * stdlib/Makefile (tests): Add tst-strtod-round.
28404
d6e70f43
JM
28405 [BZ #14459]
28406 * stdlib/strtod_l.c: Include <stdint.h>.
28407 (NDEBUG): Do not define.
28408 (round_and_return): Change EXPONENT parameter to type intmax_t.
28409 Rearrange calculations to avoid internal overflow possibilities.
28410 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28411 Rearrange calculations to avoid internal overflow possibilities.
28412 Assert that number fits inside MPNSIZE limbs.
28413 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28414 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
28415 calculations and add assertions to avoid internal overflow
28416 possibilities. Add casts to avoid signed/unsigned operations.
28417 * stdlib/tst-strtod-overflow.c: New file.
28418 * stdlib/Makefile (tests): Add tst-strtod-overflow.
28419
1f529f7d
MP
284202012-08-25 Marek Polacek <polacek@redhat.com>
28421
28422 * time/time.h: Fix some typos in comments.
28423
59a629f1
RM
284242012-08-23 Roland McGrath <roland@hack.frob.com>
28425
28426 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28427 * posix/tst-rfc3484-2.c: Likewise.
28428 * posix/tst-rfc3484-3.c: Likewise.
28429
d3bafbc9
SM
284302012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
28431
28432 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28433 (EF_ARM_ABI_FLOAT_HARD): Likewise.
28434
4efcc022
JM
284352012-08-23 Joseph Myers <joseph@codesourcery.com>
28436
28437 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28438 #include of fxstatat64.c.
28439
3cc3ef96
RM
284402012-08-22 Roland McGrath <roland@hack.frob.com>
28441
f04e2132
RM
28442 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28443 * shadow/getspent_r.c: Likewise.
28444 * shadow/getspnam.c: Likewise.
28445 * shadow/getspnam_r.c: Likewise.
28446 * gshadow/getsgent.c: Likewise.
28447 * gshadow/getsgent_r.c: Likewise.
28448 * gshadow/getsgnam.c: Likewise.
28449 * gshadow/getsgnam_r.c: Likewise.
28450 * inet/getnetbyad.c: Likewise.
28451 * inet/getnetbyad_r.c: Likewise.
28452 * inet/getnetbynm.c: Likewise.
28453 * inet/getnetbynm_r.c: Likewise.
28454 * inet/getnetent.c: Likewise.
28455 * inet/getnetent_r.c: Likewise.
28456 * inet/getproto.c: Likewise.
28457 * inet/getproto_r.c: Likewise.
28458 * inet/getprtent.c: Likewise.
28459 * inet/getprtent_r.c: Likewise.
28460 * inet/getprtname.c: Likewise.
28461 * inet/getprtname_r.c: Likewise.
28462 * inet/getrpcbyname.c: Likewise.
28463 * inet/getrpcbyname_r.c: Likewise.
28464 * inet/getrpcbynumber.c: Likewise.
28465 * inet/getrpcbynumber_r.c: Likewise.
28466 * inet/getrpcent.c: Likewise.
28467 * inet/getrpcent_r.c: Likewise.
28468 * inet/getaliasent.c: Likewise.
28469 * inet/getaliasent_r.c: Likewise.
28470 * inet/getaliasname.c: Likewise.
28471 * inet/getaliasname_r.c: Likewise.
28472 * nscd/getgrgid_r.c: Likewise.
28473 * nscd/getgrnam_r.c: Likewise.
28474 * nscd/gethstbyad_r.c: Likewise.
28475 * nscd/gethstbynm3_r.c: Likewise.
28476 * nscd/getpwnam_r.c: Likewise.
28477 * nscd/getpwuid_r.c: Likewise.
28478 * nscd/getsrvbynm_r.c: Likewise.
28479 * nscd/getsrvbypt_r.c: Likewise.
28480 * nscd/gai.c: Likewise.
28481
c53d909c
RM
28482 * configure.in (build_nscd): New substituted variable, set
28483 by --disable-build-nscd and defaults to $use_nscd.
28484 * configure: Regenerated.
28485 * config.make.in (build-nscd): New substituted variable.
28486 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28487 Change conditional to require [$(build-nscd) = yes] as well.
28488 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28489
3cc3ef96
RM
28490 [BZ# 13696]
28491 * configure.in (use_nscd): New substituted variable, set by
28492 --disable-nscd. If enabled, define USE_NSCD.
28493 * configure: Regenerated.
28494 * config.h.in: Add USE_NSCD.
28495 * config.make.in (use-nscd): New substituted variable.
28496 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28497 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28498 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28499 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28500 (CFLAGS-getgrnam_r.c): Likewise.
28501 (CFLAGS-initgroups.c): Likewise.
28502 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28503 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28504 Variables removed.
28505 * inet/getnetgrent_r.c
28506 (nscd_setnetgrent): New function, broken out of ...
28507 (setnetgrent): ... here. Call it.
28508 (innetgr): Conditionalize nscd bits on [USE_NSCD].
28509 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28510 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28511 * nscd/Makefile (routines, aux): Move definitions after include of
28512 Makeconfig. Conditionalize on [$(use-nscd) != no].
28513 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28514 Conditionalize on [USE_NSCD].
28515 (is_nscd, nscd_init_cb): Likewise.
28516 (nss_load_library): Conditionalize init callback on [USE_NSCD].
28517 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28518 * nss/nss_db/db-init.c: Likewise.
28519 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28520 [USE_NSCD].
28521 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28522 (make_request): Use it.
28523 (cache_valid_p): New function.
28524 (__check_pf): Use it.
28525 * NEWS: Add item for --disable-nscd.
28526
07e51550
DL
285272012-08-22 Dmitry V. Levin <ldv@altlinux.org>
28528
28529 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28530 to support sed >= 4.2.1-20-ga9bf076.
28531 * configure: Regenerated.
28532
35a5b08b
RM
285332012-08-22 Roland McGrath <roland@hack.frob.com>
28534
28535 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28536 Conditionalize whole body on [IREL].
28537
8479f23a
JL
285382012-08-22 Jeff Law <law@redhat.com>
28539
28540 [BZ #14505]
28541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28542 if the family is PF_UNSPEC.
28543
48da0b21
MF
285442012-08-22 Mike Frysinger <vapier@gentoo.org>
28545
28546 * Makerules (lib-version): Rename from V.
28547 (install-lib-nosubdir): Change V to lib-version.
28548
15d0da8c
WS
285492012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
28550
28551 [BZ #14252]
28552 * powerpc32/power6/wcschr.c: New file.
28553 * powerpc32/power6/wcscpy.c: New file.
28554 * powerpc32/power6/wcsrchr.c: New file.
28555 * powerpc64/power6/wcschr.c: New file.
28556 * powerpc64/power6/wcscpy.c: New file.
28557 * powerpc64/power6/wcsrchr.c: New file.
28558
bcca0895
MK
285592012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28560
28561 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28562 (two_way_short_needle): Use it.
5a4aaa33
RM
28563 * string/strstr.c (AVAILABLE1_USES_J): Define.
28564 * string/strcasestr.c: Likewise.
99677e57
MK
28565
28566 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28567 array references.
28568 * string/strcasestr.c (TOLOWER): Make side-effect safe.
28569
400726de
MK
28570 [BZ #11607]
28571 * NEWS: Add an entry.
28572 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28573 define their defaults.
28574 (two_way_short_needle): Detect end-of-string on-the-fly.
28575 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28576 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28577 * string/bug-strcasestr1.c: New test.
28578 * string/Makefile: Run it.
28579
20a71f2c
MK
285802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
28581
28582 [BZ #11607]
28583 * string/str-two-way.h (two_way_short_needle): Optimize matching of
28584 the first character.
28585
21ad0558
RM
285862012-08-21 Roland McGrath <roland@hack.frob.com>
28587
28588 * csu/elf-init.c (__libc_csu_irel): Function removed.
28589 * csu/libc-start.c (apply_irel): New function.
28590 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28591
0e1d9911
JM
285922012-08-21 Joseph Myers <joseph@codesourcery.com>
28593
28594 * sysdeps/unix/sysv/linux/kernel-features.h
28595 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28596 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28597 <kernel-features.h>.
28598 [__NR_fadvise64_64]: Make code unconditional.
28599 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28600 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28601 !__NR_fadvise64_64)]: Likewise.
28602 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28603 !__NR_fadvise64_64))]: Likewise.
28604 [__NR_fadvise64]: Make code unconditional.
28605 [!__NR_fadvise64]: Remove conditional code.
28606 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28607 <kernel-features.h>.
28608 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28609 unconditional.
28610 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28611 conditional code.
28612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28613 not include <kernel-features.h>.
28614 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28615 unconditional.
28616 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28617 conditional code.
28618 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28619 include <kernel-features.h>.
28620 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28621 unconditional.
28622 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28623 conditional code.
28624
14a50c9d
WS
286252012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28626
28627 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28628 slight instruction rearrangements per scrollpipe analysis.
28629 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28630
c0f4faf0
RM
286312012-08-20 Roland McGrath <roland@hack.frob.com>
28632
696da859
RM
28633 * manual/syslog.texi (syslog; vsyslog, closelog):
28634 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28635 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28636
c0f4faf0
RM
28637 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28638 DSOCAPS to match condition on defining it.
28639
348363b2
JM
286402012-08-20 Joseph Myers <joseph@codesourcery.com>
28641
a35cbf28
JM
28642 * sysdeps/unix/sysv/linux/kernel-features.h
28643 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28645 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28646 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28648 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28649 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28651 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28652 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28653
445f7ecd
JM
28654 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28655 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28656
348363b2
JM
28657 * sysdeps/unix/sysv/linux/kernel-features.h
28658 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28659 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28660 unconditional.
28661 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28662 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28663 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28664 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28665 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28666 Make code unconditional.
28667 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28668 (__mmap64) [!__NR_mmap2]: Likewise.
28669 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28670 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28671 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28672 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28673 [__NR_mmap2]: Make code unconditional.
28674 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28675 (__mmap64) [!__NR_mmap2]: Likewise.
28676
bc5bc0e5
AK
286772012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28678
28679 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28680
88d506de
AJ
286812012-08-18 Andreas Jaeger <aj@suse.de>
28682
28683 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28684
493387d2
MF
286852012-08-18 Mike Frysinger <vapier@gentoo.org>
28686
28687 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28688 * include/unistd.h (__have_sock_cloexec): Likewise.
28689 (__have_pipe2): Likewise.
28690 (__have_dup3): Likewise.
28691
a277af22
MF
286922012-08-18 Mike Frysinger <vapier@gentoo.org>
28693
28694 [BZ #9685]
28695 * include/unistd.h (__have_pipe2): Change define into an extern int.
28696 (__have_dup3): Likewise.
28697 * socket/have_sock_cloexec.c: Include fcntl.h.
28698 (__have_pipe2): New variable.
28699 (__have_dup3): Likewise.
28700
fdab8fd3
MF
287012012-08-17 Mike Frysinger <vapier@gentoo.org>
28702
28703 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28704
31035e80
MP
287052012-08-17 Marek Polacek <polacek@redhat.com>
28706
28707 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28708 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28709
3bd9e993
RM
287102012-08-17 Roland McGrath <roland@hack.frob.com>
28711
c91c505f
RM
28712 * configure.in: Add AC_SUBST for sysheaders.
28713 * configure: Regenerated.
28714 * config.make.in (sysheaders): New substituted variable.
28715
7c6f9d53
RM
28716 * sysdeps/unix/mkfifo.c: Moved ...
28717 * sysdeps/posix/mkfifo.c: ... here.
28718 * sysdeps/unix/mkfifoat.c: Moved ...
28719 * sysdeps/posix/mkfifoat.c: ... here.
28720
28721 * sysdeps/unix/utime.c: Moved ...
28722 * sysdeps/posix/utime.c: ... here.
28723
28724 * sysdeps/unix/time.c: Moved ...
28725 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
28726 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28727 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
28728
28729 * sysdeps/unix/nice.c: Moved ...
28730 * sysdeps/posix/nice.c: ... here.
28731
28732 * sysdeps/unix/alarm.c: Moved ...
28733 * sysdeps/posix/alarm.c: ... here.
28734
3bd9e993
RM
28735 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28736
d1f09384
JL
287372012-08-17 Jeff Law <law@redhat.com>
28738
28739 * intl/Makefile (codeset_mo): New variable.
28740 ($(codeset_mo)): New target.
28741 (tst-codeset.out): Depend on that. Remove explicit rule.
28742 (tst-gettext3.out, tst-gettext5.out): Likewise.
28743 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28744 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28745 * intl/tst-codeset.sh: Remove.
28746 * intl/tst-gettext3.sh: Likewise.
28747 * intl/tst-gettext5.sh: Likewise.
28748
2ae1ae5c
RM
287492012-08-17 Roland McGrath <roland@hack.frob.com>
28750
c31fdb83
RM
28751 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28752 * sysdeps/unix/syscalls.list: ... here.
28753
a0844057
RM
28754 * sysdeps/posix/getaddrinfo.c
28755 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28756 (gaiconf_init, gaiconf_reload): Use them.
28757 [!_STATBUF_ST_NSEC]
28758 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28759 Define using time_t rather than struct timespec.
28760
750c1f2a
RM
28761 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28762 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28763 Macros removed.
28764 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28765 [!NO_THREADS].
28766 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28767 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28768 Likewise.
28769
2ae1ae5c
RM
28770 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28771 __libc_cleanup_push argument.
28772
e66a42f5
RM
28773 * bits/param.h: New file.
28774 * misc/sys/param.h: New file.
28775 * include/sys/param.h: New file.
28776 * misc/Makefile (headers): Add bits/param.h.
28777 * sysdeps/generic/sys/param.h: File removed.
28778 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28779 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28780 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 28781 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 28782
b7c08a66
RM
28783 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28784 last change.
28785
b2e1c562
RM
28786 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28787 [_IO_MTSAFE_IO].
28788 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28789 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28790 New macros.
28791
c75ccd4c
RM
28792 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28793 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28794 rather than -D_IO_MTSAFE_IO conditionally.
28795 * stdio-common/Makefile (CPPFLAGS): Likewise.
28796 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28797 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28798 Use $(libio-mtsafe).
28799 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28800 of -D_IO_MTSAFE_IO.
28801 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28802 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28803 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28804 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28805 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28806 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28807 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28808 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28809 (CFLAGS-fread_u_chk.c): Likewise.
28810 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28811 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28812 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28813 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28814 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28815 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28816 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28817 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28818 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28819
28820 * libio/Makefile: Test [$(libc-reentrant) = yes]
28821 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28822
28823 * Makeconfig
28824 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28825 * sysdeps/pthread/configure: File removed.
28826 * sysdeps/pthread/Makeconfig: New file.
28827 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28828 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28829
d9195db8
GB
288302012-08-16 Gary Benson <gbenson@redhat.com>
28831
28832 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28833 unmapping the first object in a namespace.
28834
86466cd9
RM
288352012-08-16 Roland McGrath <roland@hack.frob.com>
28836
28837 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28838 (__internal_setnetgrent): ... this. Add internal_function to
28839 definition. Add libc_hidden_def.
28840 (setnetgrent): Update caller.
28841 (internal_endnetgrent): Renamed to ...
28842 (__internal_endnetgrent): ... this. Add internal_function to
28843 definition. Add libc_hidden_def.
28844 (endnetgrent): Update caller.
28845 (internal_getnetgrent_r): Renamed to ...
28846 (__internal_getnetgrent_r): ... this. Add internal_function to
28847 definition. Add libc_hidden_def.
28848 (__getnetgrent_r): Update caller.
28849 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28850
c3c8283c
JM
288512012-08-16 Joseph Myers <joseph@codesourcery.com>
28852
28853 * stdlib/longlong.h: Update from GCC.
28854
db1ee0a8
RM
288552012-08-16 Roland McGrath <roland@hack.frob.com>
28856
28857 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28858 on _QL, which is set by umul_ppmm but never used.
28859 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28860 variables, which are set by GMP macros but never used.
28861 * stdio-common/_itowa.c (_itowa): Likewise.
28862 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28863 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28864
30f69637
CD
288652012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28866
28867 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28868 struct La_sh_regs is not constant.
28869 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28870 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28871 and struct La_sparc64_regs are not constant.
28872
93a78ac4
JM
288732012-08-16 Joseph Myers <joseph@codesourcery.com>
28874
28875 * sysdeps/unix/sysv/linux/kernel-features.h
28876 (__ASSUME_POSIX_TIMERS): Remove.
28877 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28878 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28879 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28880 Make code unconditional.
28881 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28882 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28883 Make code unconditional.
28884 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28885 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28886 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28887 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28888 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28889 Make code unconditional.
28890 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28891 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28892 (__libc_missing_posix_timers): Remove.
28893
dd924cd7
RM
288942012-08-15 Roland McGrath <roland@hack.frob.com>
28895
4b4f2771
RM
28896 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28897 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28898
601c888b
RM
28899 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28900
176790a7
RM
28901 * elf/dl-sym.c: Include <stdlib.h>.
28902
329bc018
RM
28903 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28904 constants, which avoids warnings in 32-bit builds.
28905
e04e272d
RM
28906 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28907 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28908
952bf94a
RM
28909 * misc/lseek.c: File moved to ...
28910 * io/lseek.c: ... here.
28911
7c99b50a
RM
28912 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28913
dd924cd7
RM
28914 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28915 shifting LEN more than 31 bits at once.
28916
b3f479a8
LD
289172012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28918
28919 [BZ #14195]
8c4ae0d4
RM
28920 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28921 segmentation fault for a case of two empty input strings.
b3f479a8
LD
28922 * string/test-strncasecmp.c (check1): Renamed to...
28923 (bz12205): ...this.
28924 (bz14195): Add new testcase for two empty input strings and N > 0.
28925 (test_main): Call new testcase, adapt for renamed function.
28926
9c55864e
AJ
289272012-08-15 Andreas Jaeger <aj@suse.de>
28928
28929 [BZ #14090]
28930 * crypt/md5test2.c: New test, based on test supplied by Serge
28931 Belyshev <belyshev@depni.sinp.msu.ru>.
28932 * crypt/Makefile (xtests): Add md5test-giant..
28933 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28934
02dcb6c5
PE
289352012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28936
28937 [BZ #14090]
28938 * crypt/md5.c (md5_process_block): Don't assume the buffer
28939 length is less than 2**32.
28940 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28941 length is less than 2**64.
28942
a3f95dcc
RM
289432012-08-15 Roland McGrath <roland@hack.frob.com>
28944
be75d758
RM
28945 * string/str-two-way.h: Include <sys/param.h>.
28946 (MAX): Macro removed.
28947
7312ca90
RM
28948 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28949 Move #define and #undef of memmove to just before and after
28950 including <string.h>.
28951
9a0a5486
RM
28952 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28953 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28954 and after including <string.h>. Move declarations of
28955 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28956 to before #include "string/memmove.c".
28957
67cc348d
RM
28958 * include/dirent.h: Declare __getdirentries.
28959
a3f95dcc
RM
28960 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28961 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28962
ca98e171
MF
289632012-08-14 Mike Frysinger <vapier@gentoo.org>
28964
28965 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28966 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28967 * sysdeps/i386/configure: Regenerated.
28968 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28969 STABS_CURRENT_FILE, and STABS_FUN.
28970 (END): Remove call to STABS_FUN_END.
28971 (STABS_CURRENT_FILE1): Delete.
28972 (STABS_CURRENT_FILE): Likewise.
28973 (STABS_FUN): Likewise.
28974 (STABS_FUN_END): Likewise.
28975 (STABS_FUN2): Likewise.
28976 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28977 * sysdeps/x86_64/configure: Regenerated.
28978
5908bf46
RM
289792012-08-14 Roland McGrath <roland@hack.frob.com>
28980
28981 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 28982 * elf/dl-lookup.c: Likewise.
5908bf46 28983
f2c05b9e
JM
289842012-08-14 Joseph Myers <joseph@codesourcery.com>
28985
28986 * sysdeps/unix/sysv/linux/kernel-features.h
28987 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28988 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28989 unconditionally.
28990 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28991 unconditionally.
28992 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28993 condition on __ASSUME_CLONE_THREAD_FLAGS.
28994
e11f5155
AJ
289952012-08-14 Andreas Jaeger <aj@suse.de>
28996
28997 * sysdeps/i386/fpu/libm-test-ulps: Update.
28998
51a9ba86
MK
289992012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
29000
2fdd4f78
AJ
29001 * include/atomic.h (atomic_exchange_and_add): Split into ...
29002 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29003 New atomic macros.
51a9ba86 29004
ba6cba9e
MT
290052012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
29006
29007 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29008
42443a47
JL
290092012-08-13 Jeff Law <law@redhat.com>
29010
29011 * manual/stdio.texi (snprintf): Clarify handling of the trailing
29012 null byte in the output string.
29013
121dce05
JM
290142012-08-10 Joseph Myers <joseph@codesourcery.com>
29015
29016 * sysdeps/unix/sysv/linux/kernel-features.h
29017 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29018 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29019 (__ASSUME_ARG_MAX_STACK_BASED): Define.
29020 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29021 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29022 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
29023 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29024
bf51f568
JL
290252012-08-09 Jeff Law <law@redhat.com>
29026
29027 [BZ #13939]
29028 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29029 When avoid_arena is set, don't retry in the that arena. Pick the
29030 next one, whatever it might be.
29031 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29032 (arena_lock): Pass in new parameter to arena_get2.
29033 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29034 arena_get2.
29035 (__libc_malloc): Unify retrying after main arena failure with
29036 __libc_memalign version.
29037 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29038
f85fa270
L
290392012-08-09 H.J. Lu <hongjiu.lu@intel.com>
29040
29041 [BZ #14166]
29042 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29043 to __redirect_strstr.
29044 (__strstr_sse42): Use typeof __redirect_strstr.
29045 (__strstr_ia32): Likewise.
29046 (__libc_strstr): New prototype.
29047 (strstr): Renamed to ...
29048 (__libc_strstr): This.
29049 (strstr): New strong alias of __libc_strstr.
29050 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29051 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29052 __redirect_time.
29053 Include <time.h>.
29054 (__libc_time): New prototype.
29055 (time_ifunc): Replace time with __libc_time.
29056 (time): New strong alias and hidden definition of __libc_time.
29057 (__GI_time): Remove strong alias.
29058 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29059 Include <stddef.h>.
29060 (memmove): Redefined to __redirect_memmove.
29061 (__memmove_sse2): Use typeof __redirect_memmove.
29062 (__memmove_ssse3): Likewise.
29063 (__memmove_ssse3_back): Likewise.
29064 (__libc_memmove): New prototype.
29065 (memmove): Renamed to ...
29066 (__libc_memmove): This.
29067 (memmove): New strong alias of __libc_memmove.
29068
33b4a91e
MS
290692012-08-08 Mark Salter <msalter@redhat.com>
29070
29071 * elf/elf.h
29072 (R_MN10300_TLS_GD): Define.
29073 (R_MN10300_TLS_LD): Likewise.
29074 (R_MN10300_TLS_LDO): Likewise.
29075 (R_MN10300_TLS_GOTIE): Likewise.
29076 (R_MN10300_TLS_IE): Likewise.
29077 (R_MN10300_TLS_LE): Likewise.
29078 (R_MN10300_TLS_DTPMOD): Likewise.
29079 (R_MN10300_TLS_DTPOFF): Likewise.
29080 (R_MN10300_TLS_TPOFF): Likewise.
29081 (R_MN10300_SYM_DIFF): Likewise.
29082 (R_MN10300_ALIGN): Likewise.
29083 (R_MN10300_NUM): Update.
29084
b36137f1
JM
290852012-08-08 Joseph Myers <joseph@codesourcery.com>
29086
29087 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29088 Remove.
29089
cdd915fd
RM
290902012-08-08 Roland McGrath <roland@hack.frob.com>
29091
a2433aac
RM
29092 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29093
cdd915fd
RM
29094 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29095 sysdeps/unix -> sysdeps/posix move.
29096 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29097
bf9b740a
AM
290982012-08-07 Allan McRae <allan@archlinux.org>
29099
29100 [BZ #14303]
29101 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29102 (SUNOS_CPP): Likewise.
29103 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29104 not found.
29105 (open_input): Call CPP using execvp.
29106
93df14ee
JM
291072012-08-07 Joseph Myers <joseph@codesourcery.com>
29108
29109 * sysdeps/unix/sysv/linux/kernel-features.h
29110 (__ASSUME_PROT_GROWSUPDOWN): Remove.
29111 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29112 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29113 (__ASSUME_WAITID_SYSCALL): Likewise.
29114 * sysdeps/unix/sysv/linux/dl-execstack.c
29115 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29116 code unconditional.
29117 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29118 conditional code.
29119 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29120 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29121 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29122 code.
29123 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29124 unconditional.
29125 [__ASSUME_WAITID_SYSCALL]: Likewise.
29126 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29127
d34689de
RM
291282012-08-07 Roland McGrath <roland@hack.frob.com>
29129
a281decc
RM
29130 * sysdeps/unix/closedir.c: Renamed to ...
29131 * sysdeps/posix/closedir.c: ... here.
29132 * sysdeps/unix/dirfd.c: Renamed to ...
29133 * sysdeps/posix/dirfd.c: ... here.
29134 * sysdeps/unix/dirstream.h: Renamed to ...
29135 * sysdeps/posix/dirstream.h: ... here.
29136 * sysdeps/unix/fdopendir.c: Renamed to ...
29137 * sysdeps/posix/fdopendir.c: ... here.
29138 * sysdeps/unix/opendir.c: Renamed to ...
29139 * sysdeps/posix/opendir.c: ... here.
29140 * sysdeps/unix/readdir.c: Renamed to ...
29141 * sysdeps/posix/readdir.c: ... here.
29142 * sysdeps/unix/readdir_r.c: Renamed to ...
29143 * sysdeps/posix/readdir_r.c: ... here.
29144 * sysdeps/unix/rewinddir.c: Renamed to ...
29145 * sysdeps/posix/rewinddir.c: ... here.
29146 * sysdeps/unix/seekdir.c: Renamed to ...
29147 * sysdeps/posix/seekdir.c: ... here.
29148 * sysdeps/unix/telldir.c: Renamed to ...
29149 * sysdeps/posix/telldir.c: ... here.
29150 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29151 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29152 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29153 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29154
22895b47
RM
29155 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29156 * bits/fcntl.h: ... here.
29157
707a53b6
RM
29158 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29159 not 0.
29160 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29161 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29162 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29163 (struct flock): Move l_start, l_len to the beginning.
29164 Use __pid_t for l_pid.
29165 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29166 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29167 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29168 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29169 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29170 [__USE_LARGEFILE64] (struct flock64): New type.
29171 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29172
f0bd3e25
RM
29173 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29174 * bits/dirent.h: ... here.
29175
d34689de
RM
29176 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29177 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29178
6dad2c06
JM
291792012-08-07 Joseph Myers <joseph@codesourcery.com>
29180
29181 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29182 Change from 2.6.0 to 2.6.16.
29183 * sysdeps/unix/sysv/linux/configure: Regenerated.
29184 * sysdeps/unix/sysv/linux/kernel-features.h
29185 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29186 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29187 version.
29188 (__ASSUME_UTIMES): Likewise.
29189 (__ASSUME_CLONE_STOPPED): Remove.
29190 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29191 architectures, not kernel version.
29192 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29193 (__ASSUME_NO_CLONE_DETACHED): Likewise.
29194 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29195 (__ASSUME_WAITID_SYSCALL): Likewise.
29196 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29197 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29198 * README: State 2.6.16 as minimum Linux kernel version. Do not
29199 refer to older versions.
29200
03af9520
RM
292012012-08-06 Roland McGrath <roland@hack.frob.com>
29202
8e49df1d
RM
29203 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29204 Define alphasort64 as an alias.
29205 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29206 Define versionsort64 as an alias.
29207 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29208 Define scandir64 as an alias.
29209 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29210 Define scandirat64 as an alias.
29211 * dirent/alphasort64.c (alphasort64):
29212 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29213 * dirent/versionsort64.c: Likewise.
29214 * dirent/scandir64.c: Likewise.
29215 * dirent/scandirat64.c: Likewise.
29216 * sysdeps/wordsize-64/alphasort.c: File removed.
29217 * sysdeps/wordsize-64/alphasort64.c: File removed.
29218 * sysdeps/wordsize-64/scandir.c: File removed.
29219 * sysdeps/wordsize-64/scandir64.c: File removed.
29220 * sysdeps/wordsize-64/scandirat.c: File removed.
29221 * sysdeps/wordsize-64/scandirat64.c: File removed.
29222 * sysdeps/wordsize-64/versionsort.c: File removed.
29223 * sysdeps/wordsize-64/versionsort64.c: File removed.
29224 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29225 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29226 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29227 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29228 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29229 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29230 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29231 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29232
29233 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29235 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29237 [defined __arch64__ || defined __sparcv9]
29238 (__INO_T_MATCHES_INO64_T): New macro.
29239 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29240 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29241 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29242 * sysdeps/unix/sysv/linux/bits/dirent.h
29243 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29244 (_DIRENT_MATCHES_DIRENT64): New macro.
29245
03af9520
RM
29246 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29247 Define lockf64 as an alias.
29248 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29249 Define fseeko64 as an alias.
29250 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29251 Define ftello64 as an alias.
29252 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29253 Define _IO_fgetpos64 and fgetpos64 as aliases.
29254 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29255 Define _IO_fsetpos64 and fsetpos64 as aliases.
29256 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29257 Conditionalize body on this.
29258 * libio/fseeko64.c: Likewise.
29259 * libio/ftello64.c: Likewise.
29260 * libio/iofgetpos64.c: Likewise.
29261 * libio/iofsetpos64.c: Likewise.
29262 * sysdeps/wordsize-64/lockf.c: File removed.
29263 * sysdeps/wordsize-64/lockf64.c: File removed.
29264 * sysdeps/wordsize-64/fseeko.c: File removed.
29265 * sysdeps/wordsize-64/fseeko64.c: File removed.
29266 * sysdeps/wordsize-64/ftello.c: File removed.
29267 * sysdeps/wordsize-64/ftello64.c: File removed.
29268 * sysdeps/wordsize-64/iofgetpos.c: File removed.
29269 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
29270 * sysdeps/wordsize-64/iofsetpos.c: File removed.
29271 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
29272 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
29273 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
29274 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
29275 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
29276 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
29277 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
29278 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
29279 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
29280 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
29281 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
29282
29283 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29285 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
29286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29287 [defined __arch64__ || defined __sparcv9]
29288 (__OFF_T_MATCHES_OFF64_T): New macro.
29289 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29290 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
29291 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29292 (__OFF_T_MATCHES_OFF64_T): New macro.
29293
c5757acd
L
292942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29295
29296 * stdlib/secure-getenv.c (__secure_getenv): Replace
29297 GLIBC_2_16 with GLIBC_2_17.
29298
3a31811e
L
292992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
29300
29301 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
29302 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29303
faa2bccb
DM
293042012-08-03 David S. Miller <davem@davemloft.net>
29305
29306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29307
85fe1997
JM
293082012-08-03 Joseph Myers <joseph@codesourcery.com>
29309
29310 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
29311 Remove.
29312 (__ASSUME_CORRECT_SI_PID): Likewise.
29313 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
29314 (__ASSUME_TMPFS_NAME): Likewise.
29315 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
29316 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
29317 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
29318 (HAVE_AUX_SECURE): Make definition unconditional.
29319 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
29320 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
29321
4f75b7a0
RM
293222012-08-03 Roland McGrath <roland@hack.frob.com>
29323
29324 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
29325 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
29326 * sysdeps/mach/hurd/eloop-threshold.h: New file.
29327 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29328 __eloop_threshold instead of SYMLOOP_MAX.
29329
29330 * sysdeps/generic/eloop-threshold.h: New file.
29331 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
29332 of MAXSYMLINKS.
29333 * elf/chroot_canon.c (chroot_canon): Likewise.
29334
7aab07e4
JM
293352012-08-03 Joseph Myers <joseph@codesourcery.com>
29336
29337 [BZ #13717]
29338 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29339 Change to 2.6.0 everywhere.
29340 * sysdeps/unix/sysv/linux/configure: Regenerated.
29341 * sysdeps/unix/sysv/linux/kernel-features.h
29342 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
29343 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
29344 kernel versions.
29345 (__ASSUME_POSIX_TIMERS): Define unconditionally.
29346 (__ASSUME_FUTEX_REQUEUE): Remove.
29347 (__ASSUME_STATFS64): Define unconditionally.
29348 (__ASSUME_AT_SECURE): Likewise.
29349 (__ASSUME_CORRECT_SI_PID): Likewise.
29350 (__ASSUME_TGKILL): Define without depending on kernel version for
29351 i386.
29352 (__ASSUME_UTIMES): Likewise.
29353 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
29354 kernel version.
29355 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
29356 (__ASSUME_TMPFS_NAME): Likewise.
29357 * README: Update reference to Linux kernel versions.
29358
b67e9372
MP
293592012-08-02 Marek Polacek <polacek@redhat.com>
29360
1f529f7d 29361 [BZ# 14150]
b67e9372
MP
29362 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
29363 libc_cv_asm_type_prefix with %.
29364 * configure: Regenerated.
d2441631
RM
29365 * include/libc-symbols.h: Remove comment about
29366 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
29367 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
29368 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
29369 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
29370 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
29371 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
29372 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
29373 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
29374 * elf/tst-unique2mod1.c: Likewise.
29375 * elf/tst-unique1mod2.c: Likewise.
29376 * elf/tst-unique1mod1.c: Likewise.
29377 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
29378 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
29379 Replace ASM_TYPE_DIRECTIVE with .type.
29380 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29381 * sysdeps/i386/sysdep.h: Likewise.
29382 * sysdeps/x86_64/sysdep.h: Likewise.
29383 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
29384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29385 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 29386 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
29387 * sysdeps/powerpc/powerpc32/sysdep.h:
29388 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
29389 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29390 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29391 * sysdeps/i386/fpu/e_powf.S: Likewise.
29392 * sysdeps/i386/fpu/e_expl.S: Likewise.
29393 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29394 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29395 * sysdeps/i386/fpu/e_pow.S: Likewise.
29396 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29397 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29398 * sysdeps/i386/fpu/s_expm1.S: Likewise.
29399 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29400 * sysdeps/i386/fpu/e_log2.S: Likewise.
29401 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29402 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29403 * sysdeps/i386/fpu/e_powl.S: Likewise.
29404 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29405 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29406 * sysdeps/i386/fpu/e_logl.S: Likewise.
29407 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29408 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29409 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29410 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29411 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29412 * sysdeps/i386/fpu/e_log.S: Likewise.
29413 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29414 * sysdeps/i386/fpu/e_logf.S: Likewise.
29415 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29416 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29417 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29418 * sysdeps/i386/fpu/e_log10.S: Likewise.
29419 * sysdeps/i386/fpu/s_frexp.S: Likewise.
29420 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29421 * sysdeps/i386/fpu/s_asinh.S: Likewise.
29422 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29423 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29424 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29425 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29426 * sysdeps/i386/i686/strtok.S: Likewise.
29427 * sysdeps/i386/i386-mcount.S: Likewise.
29428 * sysdeps/i386/strtok.S: Likewise.
29429 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29430 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29431 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29432 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29433 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29434 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29435 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29436 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29437 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29438 * sysdeps/x86_64/_mcount.S: Likewise.
29439 * sysdeps/x86_64/strtok.S: Likewise.
29440 * sysdeps/sh/_mcount.S: Likewise.
29441
2747bf9a
RM
294422012-08-01 Roland McGrath <roland@hack.frob.com>
29443
29444 * libio/iofopen.c: Include <fcntl.h>.
29445 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29446 (_IO_fopen64, fopen64): Define as aliases.
29447 * libio/iofopen64.c: Include <fcntl.h>.
29448 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29449 Conditionalize body on this.
29450 * sysdeps/wordsize-64/iofopen.c: File removed.
29451 * sysdeps/wordsize-64/iofopen64.c: File removed.
29452
3fb791b8
MP
294532012-08-01 Marek Polacek <polacek@redhat.com>
29454
29455 * libc/Makeconfig: Use elf in place of binfmt-subdir.
29456 Use dlfcn directly instead of a variable.
29457 (binfmt-subdir): Do not define.
29458 (dlfcn): Likewise.
29459
a9f1039f
JM
294602012-08-01 Joseph Myers <joseph@codesourcery.com>
29461
23bddc06
JM
29462 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29463 Remove all definitions.
29464 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29465 <kernel-features.h>.
29466 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29467 (miss_F_GETOWN_EX): Remove all definitions.
29468 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29469 macro definition.
29470 [!__ASSUME_FCNTL64]: Remove conditional code.
29471 [__ASSUME_FCNTL64]: Make code unconditional.
29472 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29473 <kernel-features.h>.
29474 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29475 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29476 (lockf64) [__NR_fcntl64]: Make code unconditional.
29477 (lockf64) [__ASSUME_FCNTL64]: Likewise.
29478
a9f1039f
JM
29479 * sysdeps/unix/sysv/linux/kernel-features.h
29480 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29481 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29482 Make code unconditional.
29483 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29484 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29486 [__NR_vfork]: Make code unconditional.
29487 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29488 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29490 [__NR_vfork]: Make code unconditional.
29491 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29492 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29493
09c0ee5f
RM
294942012-08-01 Roland McGrath <roland@hack.frob.com>
29495
48aec5b9
RM
29496 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29497 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29498
cd97c966
RM
29499 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29500 Define mkstemp64 as an alias.
3f55550c
RM
29501 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29502 Define mkstemps64 as an alias.
cd97c966
RM
29503 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29504 Define mkostemp64 as an alias.
b8625cfc
RM
29505 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29506 Define mkostemps64 as an alias.
cd97c966
RM
29507 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29508 Conditionalize body on this.
29509 * misc/mkostemp64.c: Likewise.
b8625cfc 29510 * misc/mkostemps64.c: Likewise.
3f55550c 29511 * misc/mkstemps64.c: Likewise.
cd97c966
RM
29512 * sysdeps/wordsize-64/mkstemp64.c: File removed.
29513 * sysdeps/wordsize-64/mkostemp64.c: File removed.
29514 * sysdeps/wordsize-64/mkostemp.c: File removed.
29515 * sysdeps/wordsize-64/mkstemp.c: File removed.
29516 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29517 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29518 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29519 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29520
09c0ee5f
RM
29521 [BZ #14138]
29522 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29523 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29524 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29525 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29526
29527 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29528 compat_symbol macros from <shlib-compat.h> rather than the underlying
29529 default_symbol_version and symbol_version macros, so that DEFAULT
29530 lines in shlib-versions are respected.
29531 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29532
7e66ee51
FW
295332012-08-01 Florian Weimer <fweimer@redhat.com>
29534
29535 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29536 Declare with warn_unused_result.
29537 (setgid, setregid, setegid, setresgid): Likewise.
29538 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29539 Likewise.
29540 * WUR-REPORT: Remove set*id functions.
29541
d2a54255
PT
295422012-07-31 Pino Toscano <toscano.pino@tiscali.it>
29543
29544 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29545
7ecdb005
RM
295462012-07-31 Roland McGrath <roland@hack.frob.com>
29547
b4180a5e 29548 [BZ #10191]
789bd351
RM
29549 * include/sys/socket.h (__libc_accept, __libc_accept4):
29550 Add attribute_hidden.
29551 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29552
40ce302d
RM
29553 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29554 use of PTR_MANGLE.
29555 * inet/getnetgrent_r.c (setup): Likewise.
29556
7ecdb005
RM
29557 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29558
e2eabb2c
DM
295592012-07-31 David S. Miller <davem@davemloft.net>
29560
29561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29562
d0419dbf
JM
295632012-07-31 Joseph Myers <joseph@codesourcery.com>
29564
29565 [BZ #13629]
29566 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29567 value between 1.0 and 2.0 and smaller part has absolute value less
29568 than 1.0.
29569 * math/s_clog10.c (__clog10): Likewise.
29570 * math/s_clog10f.c (__clog10f): Likewise.
29571 * math/s_clog10l.c (__clog10l): Likewise.
29572 * math/s_clogf.c (__clogf): Likewise.
29573 * math/s_clogl.c (__clogl): Likewise.
29574 * math/libm-test.inc (clog_test): Add more tests.
29575 (clog10_test): Likewise.
29576 * sysdeps/i386/fpu/libm-test-ulps: Update.
29577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29578
2bc13872
FW
295792012-07-31 Florian Weimer <fweimer@redhat.com>
29580
29581 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29582 Exit with zero in case no suitable GID is found, and write a
29583 message to standard error.
29584
bea9b193
RM
295852012-07-30 Roland McGrath <roland@hack.frob.com>
29586
29587 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29588 rather than to 1.
29589 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29590 (MAXPATHLEN): Removed.
29591 (NOGROUP, NODEV): New macros.
29592 (setbit, clrbit, isset, isclr): New macros.
29593 (howmany, roundup, powerof2): New macros.
29594 (DEV_BSIZE): New macro.
29595
29596 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29597 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29598
29599 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29600 definition on [!__NO_LONG_DOUBLE_MATH].
29601
29602 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29603 PTR_MANGLE and PTR_DEMANGLE.
29604
29605 * socket/accept4.c (accept4): Rename to __libc_accept4.
29606 Define accept4 as a weak alias.
29607
29608 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29609 on [_DIRENT_HAVE_D_TYPE].
29610 * io/ftw.c (ftw_dir): Likewise.
29611
29612 * io/xmknod.c (__xmknod): Don't check PATH for being null.
29613
29614 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29615
29616 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29617 Use the BSD numbers rather than the arbitrary ones we had.
29618 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29619 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29620 (SIGXCPU, SIGXFSZ): New macros.
29621 (_NSIG): Now 32.
29622
29623 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29624 initializer on [_LIBC_REENTRANT].
29625
29626 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29627 definitions inside [_POSIX_MAPPED_FILES].
29628
29629 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29630
29631 * dirent/opendir.c: Include <fcntl.h>.
29632
29633 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29634 (__libc_getspecific): Likewise.
29635 (__libc_key_create): Likewise.
29636
29637 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29638 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29639 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29640 (tmpfile64): Define as alias.
29641 * sysdeps/wordsize-64/tmpfile.c: File removed.
29642 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29643 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29644 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29645
29646 * stdio-common/vfscanf.c: Include <stdbool.h>.
29647 * nss/makedb.c: Likewise.
29648 * stdio-common/_i18n_number.h: Likewise.
29649 * argp/argp-help.c: Likewise.
29650 * posix/wordexp.c: Likewise.
29651 * sysdeps/posix/spawni.c: Likewise.
29652 * nss/nss_files/files-initgroups.c: Likewise.
29653 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29654 * nss/nss_files/files-initgroups.c: Likewise.
29655 * nss/nss_db/db-netgrp.c: Likewise.
29656 * nss/nss_db/db-initgroups.c: Likewise.
29657 * io/fchmodat.c: Include <sys/stat.h>.
29658
29659 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29660 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29661
29662 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29663 [HAVE_MMAP].
29664
29665 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29666 Add multiple inclusion protection.
29667
e5abc686
DM
296682012-07-27 David S. Miller <davem@davemloft.net>
29669
29670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29671
815e6fa3
GB
296722012-07-27 Gary Benson <gbenson@redhat.com>
29673
29674 [BZ #14298]
29675 * elf/rtld.c: Include <stap-probe.h>.
29676 (dl_main): Added static probes "init_start" and "init_complete".
29677 * elf/dl-load.c: Include <stap-probe.h>.
29678 (lose): Take new parameter "nsid".
29679 Added static probe "map_failed".
29680 (_dl_map_object_from_fd): Pass namespace id to lose.
29681 Added static probe "map_start".
29682 (open_verify): Pass namespace id to lose.
29683 * elf/dl-open.c: Include <stap-probe.h>.
29684 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29685 and "reloc_complete".
29686 * elf/dl-close.c: Include <stap-probe.h>.
29687 (_dl_close_worker): Added static probes "unmap_start" and
29688 "unmap_complete".
29689 * elf/rtld-debugger-interface.txt: New file documenting the above.
29690
9f98c16c
RM
296912012-07-26 Roland McGrath <roland@hack.frob.com>
29692
29693 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29694 rather than a string variable.
29695 * sunrpc/rpc_main.c (h_output): Likewise.
29696 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29697
f3c22df3
PT
296982012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29699
29700 * inet/check_native.c: New file.
29701
3129cfc6
JM
297022012-07-26 Joseph Myers <joseph@codesourcery.com>
29703
da865e95
JM
29704 [BZ #13629]
29705 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29706 if larger part has absolute value 1.0.
29707 * math/s_clog10.c (__clog10): Likewise.
29708 * math/s_clog10f.c (__clog10f): Likewise.
29709 * math/s_clog10l.c (__clog10l): Likewise.
29710 * math/s_clogf.c (__clogf): Likewise.
29711 * math/s_clogl.c (__clogl): Likewise.
29712 * math/libm-test.inc (clog_test): Add more tests.
29713 (clog10_test): Likewise.
29714 * sysdeps/i386/fpu/libm-test-ulps: Update.
29715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29716
3129cfc6
JM
29717 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29718 (pltexit): Likewise.
29719 (La_regs): Likewise.
29720 (La_retval): Likewise.
29721 (int_retval): Likewise.
29722 Update #error for removed macros to refer only to definitions in
29723 tst-audit.h.
29724 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29725 macro.
29726 (pltexit): Likewise.
29727 (La_regs): Likewise.
29728 (La_retval): Likewise.
29729 (int_retval): Likewise.
29730 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29731 macro.
29732 (pltexit): Likewise.
29733 (La_regs): Likewise.
29734 (La_retval): Likewise.
29735 (int_retval): Likewise.
29736 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29737 macro.
29738 (pltexit): Likewise.
29739 (La_regs): Likewise.
29740 (La_retval): Likewise.
29741 (int_retval): Likewise.
29742 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29743 macro.
29744 (pltexit): Likewise.
29745 (La_regs): Likewise.
29746 (La_retval): Likewise.
29747 (int_retval): Likewise.
29748 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29749 macro.
29750 (pltexit): Likewise.
29751 (La_regs): Likewise.
29752 (La_retval): Likewise.
29753 (int_retval): Likewise.
29754 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29755 macro.
29756 (pltexit): Likewise.
29757 (La_regs): Likewise.
29758 (La_retval): Likewise.
29759 (int_retval): Likewise.
29760 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29761 macro definitions in tst-audit.h.
29762 * sysdeps/i386/tst-audit.h: New file.
29763 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29764 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29765 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29766 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29767 * sysdeps/sh/tst-audit.h: Likewise.
29768 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29769 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29770 * sysdeps/x86_64/tst-audit.h: Likewise.
29771
bfc07087
AJ
297722012-07-26 Andreas Jaeger <aj@suse.de>
29773
b1b2aaf8
AJ
29774 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29775 ptrace.
29776
29777 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29778 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29779 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29780 PTRACE_O_MASK.
29781 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29782 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29783 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29784
bfc07087
AJ
29785 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29786 value.
29787
29788 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29789 _sigsys.
29790 (si_call_addr, si_syscall, si_arch): Define new macro.
29791 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29792 _sigsys.
29793 (si_call_addr, si_syscall, si_arch): Define new marcro.
29794 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29795 _sigsys.
29796 (si_call_addr, si_syscall, si_arch): Define new macro.
29797 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29798 _sigsys.
29799 (si_call_addr, si_syscall, si_arch): Define new macro.
29800
89b4b02f
JM
298012012-07-25 Joseph Myers <joseph@codesourcery.com>
29802
29803 [BZ #13717]
29804 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29805 Change to 2.4.21 where previously 2.4.1.
29806 * sysdeps/unix/sysv/linux/configure: Regenerated.
29807 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29808 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29809 Linux kernel version.
29810 (__ASSUME_STD_AUXV): Remove.
29811 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29812 kernel version.
29813 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29814 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29815 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29816 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29817 (__ASSUME_NETLINK_SUPPORT): Likewise.
29818 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29819 (__no_netlink_support): Remove conditional definition.
29820 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29821 Remove.
29822 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29823 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29824 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29825 (if_nameindex_ioctl): Remove.
29826 (if_nameindex_netlink): Do not handle __no_netlink_support.
29827 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29828 code.
29829 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29830 Remove conditional code.
29831 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29832 code.
29833 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29834 unconditional.
29835 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29836 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29837 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29838 Remove.
29839 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29840 [!__ASSUME_STD_AUXV]: Remove conditional code.
29841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29842 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29843 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29845 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29846 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29847 code.
29848 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29850 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29851 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29852 conditional code.
29853 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29855 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29856 code.
29857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29858 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29859 conditional code.
29860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29861 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29862 code unconditional.
29863 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29864 conditional code.
29865 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29866 unconditional.
29867 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29868 conditional code.
29869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29870 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29871 unconditional.
29872 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29873 conditional code.
29874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29875 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29876 code unconditional.
29877 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29878 conditional code.
29879 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29880 unconditional.
29881 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29882 conditional code.
29883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29884 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29885 code unconditional.
29886 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29887 conditional code.
29888 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29889 unconditional.
29890 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29891 conditional code.
29892
842a39cd
AS
298932012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29894
29895 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29896 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29897 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29898 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29899 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29900 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29901 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29902 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29903 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29904 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29905 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29906 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29907 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29908 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29909 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29910 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29911 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29912 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29913 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29915 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29916 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29917 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29918
84b3fd84
FW
299192012-07-25 Florian Weimer <fweimer@redhat.com>
29920
29921 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
29922 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29923 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29924 Introduce __libc_secure_getenv.
0c7936d5
FW
29925 * stdlib/Versions (2.17): Add secure_getenv
29926 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29927 * stdlib/secure-getenv.c: Rename __secure_getenv to
29928 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29929 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
29930 * stdlib/tst-secure-getenv.c: New.
29931 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
29932 * manual/startup.texi (Environment Access): Document
29933 secure_getenv.
84b3fd84
FW
29934 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29935 __libc_secure_getenv.
29936 * inet/ruserpass.c (ruserpass): Likewise.
29937 * malloc/mtrace.c (mtrace): Likewise.
29938 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 29939 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
29940 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29941 * sysdeps/posix/tempname.c: Likewise. Evaluate
29942 HAVE_SECURE_GETENV.
29943 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 29944 __secure_getenv to __libc_secure_getenv.
84b3fd84 29945 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
29946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29947 Likewise.
29948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29949 Likewise.
29950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29952 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29955 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 29957
56e49b71
JM
299582012-07-25 Joseph Myers <joseph@codesourcery.com>
29959
29960 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29961 (struct La_i86_retval): Likewise.
29962 (struct La_x86_64_regs): Likewise.
29963 (struct La_x86_64_retval): Likewise.
29964 (struct La_x32_regs): Likewise.
29965 (struct La_x32_retval): Likewise.
29966 (struct La_ppc32_regs): Likewise.
29967 (struct La_ppc32_retval): Likewise.
29968 (struct La_ppc64_regs): Likewise.
29969 (struct La_ppc64_retval): Likewise.
29970 (struct La_sh_regs): Likewise.
29971 (struct La_sh_retval): Likewise.
29972 (struct La_s390_32_regs): Likewise.
29973 (struct La_s390_32_retval): Likewise.
29974 (struct La_s390_64_regs): Likewise.
29975 (struct La_s390_64_retval): Likewise.
29976 (struct La_sparc32_regs): Likewise.
29977 (struct La_sparc32_retval): Likewise.
29978 (struct La_sparc64_regs): Likewise.
29979 (struct La_sparc64_retval): Likewise.
29980 (struct audit_ifaces): Remove architecture-specific pltenter and
29981 pltexit members.
29982 * sysdeps/i386/ldsodefs.h: New file.
29983 * sysdeps/powerpc/ldsodefs.h: Likewise.
29984 * sysdeps/s390/ldsodefs.h: Likewise.
29985 * sysdeps/sh/ldsodefs.h: Likewise.
29986 * sysdeps/sparc/ldsodefs.h: Likewise.
29987 * sysdeps/x86_64/ldsodefs.h: Likewise.
29988
354691b7
MP
299892012-07-25 Marek Polacek <polacek@redhat.com>
29990
29991 [BZ #6808]
29992 * math/libm-test.inc (yn_test): Add another test.
29993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29994 to ERANGE when the result is +-Inf.
29995 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29996 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29997 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29998 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29999
bf9e2071
JM
300002012-07-24 Joseph Myers <joseph@codesourcery.com>
30001
30002 * conform/data/time.h-data (NULL): Use macro-constant. Require
30003 equal to 0.
30004 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
30005 clock_t.
30006 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
30007
57633811
TS
300082012-07-23 Thomas Schwinge <thomas@codesourcery.com>
30009
30010 * configure.in <sysdeps resolving>: Correct printing
30011 Implies_before.
30012 * configure: Regenerate.
30013
c23c33b0
TS
300142012-07-22 Thomas Schwinge <thomas@codesourcery.com>
30015
30016 * math/w_ilogb.c: Include <limits.h>.
30017 * math/w_ilogbl.c: Likewise.
30018
b5982523
JM
300192012-07-20 Joseph Myers <joseph@codesourcery.com>
30020
30021 * manual/lang.texi (__va_copy): Document primarily as ISO C99
30022 va_copy. Document allowing for unavailable va_copy only as
30023 pre-C99 compatibility.
30024 * manual/string.texi (Copying and Concatenation): Use va_copy
30025 instead of __va_copy in concat example.
30026
ac4ea442
PT
300272012-07-20 Pino Toscano <toscano.pino@tiscali.it>
30028
30029 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30030 (__sendto): Use create_address_port. Initialize APORT and deallocate
30031 it if not null.
30032
f98eafbd
PT
30033 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30034 with O_NOLINK passed to __file_name_lookup.
30035
898c7aab
PT
30036 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30037 with O_NOLINK passed to __file_name_lookup.
30038
0ced335a
PT
30039 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30040 negative N or less than NGIDS.
30041
b3404dbd
PT
30042 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30043 type to string_t. Set ERANGE as errno and return it if NAME is not big
30044 enough. Use memcpy instead of strncpy.
30045
0f48659e
JM
300462012-07-20 Joseph Myers <joseph@codesourcery.com>
30047
30048 * elf/Makefile (check-data): Remove.
30049 (localplt.data): New vpath directive.
30050 ($(objpfx)check-localplt.out): Use localplt.data from vpath
30051 instead of $(check-data).
30052 * scripts/data/localplt-generic.data: Move to ...
30053 * sysdeps/generic/localplt.data: ... here.
30054 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30055 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30056 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30058 ... here.
30059 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30061 ... here.
30062 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30064 ... here.
30065 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30067 ... here.
30068 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30070 ... here.
30071 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30073 ... here.
30074
d37cbdaa
AZ
300752012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30076
30077 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30078 PPC32 and PPC64 files.
30079 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30080 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30081
46f85fc2
AK
300822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30083
30084 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30085 __makecontext_ret to ...
30086 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30087 ... here and call exit if uc_link is NULL. New file.
30088 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30089 __makecontext_ret.S.
30090 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30091 __makecontext_ret to ...
30092 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30093 ... here and call exit if uc_link is NULL. New file.
30094 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30095 __makecontext_ret.S.
30096
08f43f9b
AK
300972012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30098
30099 * elf/elf.h (R_390_IRELATIVE): New definition.
30100 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30101 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
30102 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30103 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30104 (elf_machine_lazy_rel): Likewise.
30105 * sysdeps/s390/dl-irel.h: New file.
30106 * sysdeps/s390/s390-64/memcpy.S: New asm code.
30107 * sysdeps/s390/s390-64/memset.S: New asm code.
30108 * sysdeps/s390/s390-64/memcmp.S: New asm code.
30109 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30110 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30111 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30112 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30113 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30114 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30115 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30116 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30117 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30118 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30119 * sysdeps/s390/s390-32/memcpy.S: New asm code.
30120 * sysdeps/s390/s390-32/memset.S: New asm code.
30121 * sysdeps/s390/s390-32/memcmp.S: New asm code.
30122
3b05db33
MP
301232012-07-17 Marek Polacek <polacek@redhat.com>
30124
30125 [BZ #14349]
30126 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30127 * sysdeps/s390/s390-64/configure.in: Likewise.
30128 * sysdeps/sparc/configure.in: Likewise.
30129 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30130 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30131 * sysdeps/i386/configure.in: Likewise.
30132 * sysdeps/x86_64/configure.in: Likewise.
30133 * sysdeps/sh/configure.in: Likewise.
30134 * sysdeps/s390/s390-32/configure: Regenerated.
30135 * sysdeps/s390/s390-64/configure: Likewise.
30136 * sysdeps/x86_64/configure: Likewise.
30137 * sysdeps/sh/configure: Likewise.
30138 * sysdeps/powerpc/powerpc64/configure: Likewise.
30139 * sysdeps/powerpc/powerpc32/configure: Likewise.
30140 * sysdeps/sparc/configure: Likwise.
30141 * sysdeps/i386/configure: Likewise.
30142
a66877c6
MP
30143 * elf/dl-open.c: Comment fixes.
30144
cfc82fd8
JM
301452012-07-17 Joseph Myers <joseph@codesourcery.com>
30146
bd29910a
JM
30147 * Makefile [CXX] (check-data): Remove.
30148 [CXX] (c++-types.data): New vpath directive.
30149 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30150 vpath. Do not allow for C++ type data being missing.
30151 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30152 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30153 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30154 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30155 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30156 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30157 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30159 ... here.
30160 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30162 ... here.
30163 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30165 ... here.
30166 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30168 ... here.
30169 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30171 ... here.
30172 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30174 ... here.
30175 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30177 ... here.
30178 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30180
cfc82fd8
JM
30181 * elf/tls-macros.h (TLS_LE): Move architecture-specific
30182 definitions to architecture-specific files.
30183 (TLS_IE): Likewise.
30184 (TLS_LD): Likewise.
30185 (TLS_GD): Likewise.
30186 * sysdeps/i386/tls-macros.h: New file.
30187 * sysdeps/powerpc/tls-macros.h: Likewise.
30188 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30189 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30190 * sysdeps/sh/tls-macros.h: Likewise.
30191 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30192 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30193 * sysdeps/x86_64/tls-macros.h: Likewise.
30194
f7db3170
TS
301952012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30196
07cbfc23
TS
30197 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30198 zero value for regular exit case.
30199
f7db3170
TS
30200 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30201 (__start_context): Preserve zero value for regular exit case.
30202
dc97c227
TS
302032012-07-17 Thomas Schwinge <thomas@codesourcery.com>
30204 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30205
30206 * manual/setjmp.texi (setcontext): Clarify normal process
30207 termination when uc_link is the null pointer.
30208 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30209 exit call.
30210
d0cd7d02
AS
302112012-07-16 Andreas Schwab <schwab@linux-m68k.org>
30212
30213 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30214 preprocessor. Test for each exception mask separately.
30215
dd318934
AJ
302162012-07-16 Andreas Jaeger <aj@suse.de>
30217
30218 * po/ru.po: Update from translation team.
30219
8048311a
JM
302202012-07-15 Joseph Myers <joseph@codesourcery.com>
30221
30222 * conform/data/string.h-data (NULL): Use macro-constant. Require
30223 equal to 0.
30224 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30225 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30226 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30227 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30229
b637d46e
AJ
302302012-07-13 Andreas Jaeger <aj@suse.de>
30231
30232 * po/fr.po: Update from translation team.
30233
541428fe
MP
302342012-07-12 Marek Polacek <polacek@redhat.com>
30235
30236 [BZ #14173]
30237 * math/libm-test.inc (yn_test): Add test for BZ #14173.
30238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30239 loop condition.
30240
ec332e94
JM
302412012-07-12 Joseph Myers <joseph@codesourcery.com>
30242
30243 [BZ #13717]
30244 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30245 Change to 2.4.1 where previously 2.4.0.
30246 * sysdeps/unix/sysv/linux/configure: Regenerated.
30247 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30248 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30249 version.
30250 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30251 (__ASSUME_AT_CLKTCK): Remove.
30252 (__ASSUME_AT_PAGESIZE): Likewise.
30253 (__ASSUME_AT_XID): Likewise.
30254 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30255 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30256 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30257 unconditionally.
30258 (HAVE_AUX_PAGESIZE): Likewise.
30259 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
30260 [__ASSUME_AT_CLKTCK]: Make code unconditional.
30261 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
30262
7b6e99be
JB
302632012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
30264
30265 [BZ #14307]
30266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
30267 the temporary buffer used to invoke __gethostbyname2_r,
30268 __gethostbyaddr_r and gethostbyname4_r to make room for struct
30269 host_data / struct gaih_addrtuple.
30270 * resolv/nss_dns/dns-host.c (global scope): Move definition of
30271 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
30272 header file nss/nsswitch.h.
30273 * nss/nsswitch.h (global scope): Add definition of implementation
30274 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
30275 resolv/nss_dns/dns-host.c).
30276
608404eb
AJ
302772012-07-11 Andreas Jaeger <aj@suse.de>
30278
30279 * po/fr.po: Update from translation team.
30280
71220aca
AJ
30281 * po/sv.po: Update from translation team
30282 * po/fr.po: Another update from translation team.
30283
28cfe843
AZ
302842012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30285
30286 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
30287 for subnormals or multiply small sinh result by itself.
30288 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30290
6b90f981
DM
302912012-07-11 David S. Miller <davem@davemloft.net>
30292
30293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30294
c6825772
AS
302952012-07-10 Andreas Schwab <schwab@linux-m68k.org>
30296
30297 [BZ #14347]
30298 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
30299 (INTERNAL_MARK): Shift it here.
30300
7b8e0d49
MP
303012012-07-10 Marek Polacek <polacek@redhat.com>
30302
30303 [BZ #14151]
30304 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
30305 libc_cv_asm_global_directive with .globl.
30306 * configure: Regenerated.
30307 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
30308 with .globl.
30309 * sysdeps/i386/configure: Regenerated.
30310 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
30311 with .globl.
30312 * sysdeps/x86_64/configure: Regenerated.
30313 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
30314 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
30315 * elf/tst-unique2mod2.c: Likewise.
30316 * elf/tst-unique2mod1.c: Likewise.
30317 * elf/tst-unique1mod2.c: Likewise.
30318 * elf/tst-unique1mod1.c: Likewise.
30319 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30320 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30321 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30322 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30323 * sysdeps/mach/sysdep.h: Likewise.
30324 * sysdeps/i386/sysdep.h: Likewise.
30325 * sysdeps/i386/i386-mcount.S: Likewise.
30326 * sysdeps/x86_64/_mcount.S: Likewise.
30327 * sysdeps/x86_64/sysdep.h: Likewise.
30328 * sysdeps/sh/_mcount.S: Likewise.
30329 * sysdeps/sh/sysdep.h: Likewise.
30330 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
30331 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
30332 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
30333 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30334 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
30335 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
30336 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
30337 * locale/localeinfo.h: Likewise.
30338 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
30339 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
30340
6c55cda3
RM
303412012-07-09 Roland McGrath <roland@hack.frob.com>
30342
30343 [BZ #14336]
30344 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
30345 system".
30346 * manual/message.texi (The Uniforum approach): Likewise.
30347 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
30348 (glibc iconv Implementation): Likewise.
30349
638a572e
JM
303502012-07-09 Joseph Myers <joseph@codesourcery.com>
30351
30352 [BZ #14337]
30353 * math/s_clog.c (__clog): Avoid scaling a value down where that
30354 could result in underflow.
30355 * math/s_clog10.c (__clog10): Likewise.
30356 * math/s_clog10f.c (__clog10f): Likewise.
30357 * math/s_clog10l.c (__clog10l): Likewise.
30358 * math/s_clogf.c (__clogf): Likewise.
30359 * math/s_clogl.c (__clogl): Likewise.
30360 * math/libm-test.inc (clog_test): Add more tests.
30361 (clog10_test): Likewise.
30362 * sysdeps/i386/fpu/libm-test-ulps: Update.
30363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30364
261f4859
AS
303652012-07-06 Andreas Schwab <schwab@linux-m68k.org>
30366
0abaf3e4
AS
30367 [BZ #14283]
30368 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
30369 by 7 not 8 to examine high bit of fractional part.
30370
261f4859
AS
30371 [BZ #14042]
30372 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
30373 for call to __mcount_internal.
30374 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
30375 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
30376 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
30377
f17ac40d
JM
303782012-07-06 Joseph Myers <joseph@codesourcery.com>
30379
9ad63c23
JM
30380 [BZ #14154]
30381 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
30382 approximation for values within 0x1p-13f of an odd multiple of
30383 pi/4.
30384 * math/libm-test.inc (tan_test): Do not allow spurious underflow
30385 exception. Add more tests.
30386 * sysdeps/i386/fpu/libm-test-ulps: Update.
30387
f17ac40d
JM
30388 [BZ #6778]
30389 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
30390 inputs and return -1 for them. Do not check for +Inf in case not
30391 reachable for +Inf.
30392 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
30393 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
30394 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30395 and return -1 for them. Do not check for +Inf in case not
30396 reachable for +Inf.
30397 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
30398 define.
30399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30400 and return -1 for them. Do not check for +Inf in case not
30401 reachable for +Inf.
30402 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
30403 spurious underflow.
30404 * sysdeps/i386/fpu/libm-test-ulps: Update.
30405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30406
fb21f89b
MF
304072012-07-06 Mike Frysinger <vapier@gentoo.org>
30408
30409 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30410
cdfe2c5e
JM
304112012-07-05 Joseph Myers <joseph@codesourcery.com>
30412
30413 [BZ #14157]
30414 [BZ #14331]
30415 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30416 could result in spurious underflow. Scale down values above
30417 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30418 * math/s_csqrtf.c (__csqrtf): Likewise.
30419 * math/s_csqrtl.c (__csqrtl): Likewise.
30420 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
30421 spurious underflow.
30422 * sysdeps/i386/fpu/libm-test-ulps: Update.
30423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30424
70d35b67
AS
304252012-07-04 Andreas Schwab <schwab@linux-m68k.org>
30426
704bc459
AS
30427 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30428 xopen-msg.sed.
30429 * catgets/xopen-msg.awk: New file.
30430 * catgets/xopen-msg.sed: Removed.
30431
70d35b67
AS
30432 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30433 po2text.sed.
30434 * intl/po2test.awk: New file.
30435 * intl/po2test.sed: Removed.
30436
ca61cf32
JM
304372012-07-04 Joseph Myers <joseph@codesourcery.com>
30438
30439 [BZ #14328]
30440 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30441 or multiply small sinh result by itself.
30442 * math/s_ctanf.c (__ctanf): Likewise.
30443 * math/s_ctanh.c (__ctanh): Likewise.
30444 * math/s_ctanhf.c (__ctanhf): Likewise.
30445 * math/s_ctanhl.c (__ctanhl): Likewise.
30446 * math/s_ctanl.c (__ctanl): Likewise.
30447 * math/libm-test.inc (ctan_test_tonearest): New function.
30448 (ctan_test_towardzero): Likewise.
30449 (ctan_test_downward): Likewise.
30450 (ctan_test_upward): Likewise.
30451 (ctanh_test_tonearest): Likewise.
30452 (ctanh_test_towardzero): Likewise.
30453 (ctanh_test_downward): Likewise.
30454 (ctanh_test_upward): Likewise.
30455 (main): Call these new functions.
30456 * sysdeps/i386/fpu/libm-test-ulps: Update.
30457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30458
ca48a46a
MF
304592012-07-03 Mike Frysinger <vapier@gentoo.org>
30460
30461 * .gitignore: Delete /ports entry.
30462
9d63d37d
AJ
304632012-07-03 Andreas Jaeger <aj@suse.de>
30464
30465 * po/bg.po: Update from translation team.
30466 * po/cs.po: Likewise.
30467 * po/de.po: Likewise.
30468 * po/hr.po: Likewise.
30469 * po/nl.pl: Likewise.
30470 * po/pl.po: Likewise.
30471 * po/vi.po: Likewise.
30472
370ca3d2
JM
304732012-07-03 Joseph Myers <joseph@codesourcery.com>
30474
95f5a9a8
JM
30475 * Makeconfig [!+link] (+link-before-libc): New variable.
30476 [!+link] (+link-after-libc): Likewise.
30477 [!+link] (+link-tests): Likewise.
30478 [!+link] (+link): Define in terms of $(+link-before-libc) and
30479 $(+link-after-libc).
30480 [!+link-static] (+link-static-before-libc): New variable.
30481 [!+link-static] (+link-static-after-libc): Likewise.
30482 [!+link-static] (+link-static-tests): Likewise.
30483 [!+link-static] (+link-static): Define in terms of
30484 $(+link-static-before-libc) and $(+link-static-after-libc).
30485 [build-shared] (link-libc-before-gnulib): New variable.
30486 [build-shared] (link-libc-tests): Likewise.
30487 [build-shared] (link-libc): Define in terms of
30488 $(link-libc-before-gnulib).
30489 [!build-shared] (link-libc-tests): New variable.
30490 (link-libc-static-tests): New variable.
30491 [!gnulib] (gnulib-arch): New variable.
30492 [!gnulib] (gnulib-tests): Likewise.
30493 [!gnulib] (static-gnulib-arch): Likewise.
30494 [!gnulib] (static-gnulib-tests): Likewise.
30495 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
30496 Define with "=" instead of ":=".
30497 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
30498 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
30499 * Rules (binaries-all-notests): New variable.
30500 (binaries-all-tests): Likewise.
30501 (binaries-static-notests): Likewise.
30502 (binaries-static-tests): Likewise.
30503 (binaries-all): Define using $(binaries-all-notests) and
30504 $(binaries-all-tests).
30505 (binaries-static): Define using $(binaries-static-notests) and
30506 $(binaries-static-tests).
30507 (binaries-shared-tests): New variable.
30508 (binaries-shared-notests): Likewise.
30509 (binaries-shared): Remove variable.
30510 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30511 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30512 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30513 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30514 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30515 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30516 * elf/Makefile (sln-modules): New variable.
30517 (extra-objs): Add $(sln-modules:=.o).
30518 (ldconfig-modules): Add static-stubs.
30519 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30520 * elf/static-stubs.c: New file.
30521
7a845b2c
JM
30522 [BZ #14283]
30523 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30524 by 7 not 8 to examine high bit of fractional part. Use volatile
30525 variables when splitting into final array of floats if
30526 __FLT_EVAL_METHOD__ != 0.
30527 * math/libm-test.inc (cos_test): Add another test.
30528 (sin_test): Likewise.
30529 * sysdeps/i386/fpu/libm-test-ulps: Update.
30530
e2283f38
JM
30531 [BZ #14273]
30532 * math/libm-test.inc (cosh_test): Add more tests.
30533
370ca3d2
JM
30534 * version.h (RELEASE): Set to "development".
30535 (VERSION): Set to "2.16.90".
30536
ee9247c3
CD
305372012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
30538
30539 * NEWS: Update copyright. Remove last-updated date.
30540 Mention math library bug fixes and timezone data changes.
30541 * README: Mention GNU/Hurd, x32, and HPPA support status.
30542
4648c381
TS
305432012-06-28 Thomas Schwinge <thomas@codesourcery.com>
30544
30545 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30546
aac78a43
AJ
305472012-06-27 Andreas Jaeger <aj@suse.de>
30548
30549 * manual/contrib.texi (Contributors): Add Samuel Thibault.
30550
ed3dbfad
AJ
305512012-06-25 Andreas Jaeger <aj@suse.de>
30552
30553 * sysdeps/s390/fpu/libm-test-ulps: Update.
30554
4d0ee855
AS
305552012-06-23 Andreas Schwab <schwab@linux-m68k.org>
30556 Thomas Schwinge <thomas@codesourcery.com>
30557
30558 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30559 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30560 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30561 fanotify_mark.
30562
af1bce34
TS
305632012-06-23 Thomas Schwinge <thomas@codesourcery.com>
30564
a9fa33ba
TS
30565 * sysdeps/mach/start.c: Remove file.
30566 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30567 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30568 * sysdeps/sh/init-first.c: Likewise.
30569
58f902b8
TS
30570 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30571 registers for frame unwinding purposes, add CFI directives.
30572 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30573 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30574 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30575 Likewise.
30576
1518f58b
TS
30577 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30578 __fortify_fail returning.
30579 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30580
db9b5059
TS
30581 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30582 sysdeps/sh/____longjmp_chk.S.
30583 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30584 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30585 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30586 (gen-as-const-headers): Append sigaltstack-offsets.sym.
30587
967705fe
TS
30588 * sysdeps/sh/abort-instr.h: New file.
30589 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30590 process in case exit returns.
30591
a9def8c4
TS
30592 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30593 initialize the GOT register before use.
30594
2a649725
TS
30595 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30596 calculation of ARGC > 4.
30597
af1bce34
TS
30598 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30599 meaningful names to some local labels.
30600
d230f50a
KK
306012012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30602 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30603
30604 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30605 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30606 (__arch_compare_and_exchange_val_16_acq): Likewise.
30607 (__arch_compare_and_exchange_val_32_acq): Likewise.
30608 (atomic_exchange_and_add): Fix gUSA sequence.
30609 (atomic_add): Likewise.
30610 (atomic_add_negative): Likewise.
30611 (atomic_add_zero): Likewise.
30612 (atomic_bit_test_set): Likewise.
30613
0479b305
AS
306142012-06-22 Andreas Schwab <schwab@redhat.com>
30615
30616 [BZ #13579]
30617 * include/link.h (struct link_map): Add l_free_initfini.
30618 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30619 l_initfini.
30620 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30621 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30622 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30623 set.
30624
0e3933b9
CD
306252012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30626
30627 * configure.in: Use AC_LANG_SOURCE.
30628 * configure: Regenerate.
30629
4248b1b1
RM
306302012-06-22 Roland McGrath <roland@hack.frob.com>
30631
30632 * configure.in (libc_cv_localstatedir): New substituted variable.
30633 * configure: Regenerated.
30634 * config.make.in (localstatedir): New variable, substituted from
30635 libc_cv_localstatedir.
30636 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30637 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30638 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30639 * sysdeps/gnu/configure: Regenerated.
30640
006dd861
JL
306412012-06-21 Jeff Law <law@redhat.com>
30642
30643 [BZ #14277]
30644 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30645 free. Simplify list management for _LIBC case.
30646
79662d42
JM
306472012-06-21 Joseph Myers <joseph@codesourcery.com>
30648
b7abb4bf
JM
30649 [BZ #14273]
30650 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30651 Clear sign bit of 64-bit integer value before comparing against
30652 overflow value.
30653
79662d42
JM
30654 * sysdeps/mach/configure: Regenerated.
30655
1f150908
L
306562012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30657
30658 [BZ #14278]
30659 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30660
28363bbf
JL
306612012-06-21 Jeff Law <law@redhat.com>
30662
30663 [BZ #13882]
30664 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30665 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 30666 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
30667 * elf/dl-open.c (dl_open_worker): Likewise.
30668
09615db4
CD
306692012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30670
30671 * scripts/list-sources.sh: Scan PORTS for translations.
30672 * po/libc.pot: Regenerated.
30673
2174c6dd
AJ
306742012-06-21 Andreas Jaeger <aj@suse.de>
30675
30676 [BZ #12194]
30677 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30678 warning.
30679 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30680 * bits/byteswap-16.h (__bswap_16): Likewise.
30681 * bits/byteswap.h (__bswap_constant_16): Likewise.
30682
3ee947b1
L
306832012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30684
30685 [BZ #14117]
a2f34833
L
30686 * sysdeps/i386/fpu_control.h: Removed.
30687 * sysdeps/x86_64/fpu_control.h: Moved to ...
30688 * sysdeps/x86/fpu_control.h: Here.
30689
3ee947b1
L
30690 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30691 (_FPU_SETCW): Likewise.
30692
ed1825f8
L
306932012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30694
25f1282a
L
30695 [BZ #14117]
30696 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30697 * sysdeps/x86/fpu/bits/mathinline.h: This.
30698 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30699
ed1825f8
L
30700 [BZ #14050]
30701 [BZ #14117]
30702 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30703 functions if __x86_64__ is defined.
30704
36d54b74
CLT
307052012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30706
30707 * string/endian.h: Add !__ASSEMBLER__ condition for including
30708 conversion interfaces.
30709
10285c21
JM
307102012-06-15 Joseph Myers <joseph@codesourcery.com>
30711
30712 [BZ #14241]
30713 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30714 of ABS(x) in calculating zero to negative powers other than odd
30715 integers.
30716 * math/libm-test.inc (pow_test): Add more tests.
30717
06c5abbd
AJ
307182012-06-15 Andreas Jaeger <aj@suse.de>
30719
30720 * manual/contrib.texi (Contributors): Update entry of Liubov
30721 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30722 Machado Filho.
30723
a3aeac40
CH
307242012-06-15 Cyril Hrubis <metan@ucw.cz>
30725
30726 * string/string.h: Add __wur to GNU version of strerror_r.
30727
49bdf4c1
L
307282012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30729
30730 [BZ #14229]
30731 * string/Makefile (tests): Add tst-strtok_r.
30732 * string/tst-strtok_r.c: New file.
30733 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30734 RAX_LP/RDX_LP on SAVE_PTR.
30735
834f9b8d
RM
307362012-06-14 Roland McGrath <roland@hack.frob.com>
30737
30738 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30739
75fa1921
JM
307402012-06-14 Joseph Myers <joseph@codesourcery.com>
30741
30742 * libm_test.inc (csqrt_test): Allow more spurious underflow
30743 exceptions.
30744 (j0_test): Likewise.
30745 (j1_test): Likewise.
30746 (y0_test): Likewise.
30747 (y1_test): Likewise.
30748
771766df
CD
307492012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30750
30751 * po/Makefile (libc.pot): Use UTF-8 charset.
30752
ceb9e56b
PP
307532012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30754
30755 [BZ #14210]
30756 Suppress sign-conversion warning from FD_SET.
30757 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30758 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30759 not unsigned long int.
30760 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30761
ddb28975
L
307622012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30763
30764 [BZ #14050]
30765 [BZ #14117]
30766 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30767 __extern_always_inline instead of __extern_inline.
30768 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30769 (__signbit): Likewise.
30770 (__signbitl): Support C++ namespace.
30771 (lrintf): New inline function.
30772 (lrint): Likewise.
30773 (llrintf): Likewise.
30774 (llrint): Likewise.
30775 (fmaxf): Likewise.
30776 (fmax): Likewise.
30777 (fminf): Likewise.
30778 (fmin): Likewise.
30779 (rint): Likewise.
30780 (rintf): Likewise.
30781 (ceil): Likewise.
30782 (ceilf): Likewise.
30783 (floor): Likewise.
30784 (floorf): Likewise.
30785 (nearbyint): Likewise.
30786 (nearbyintf): Likewise.
30787
d7b4fb26
TS
307882012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30789
30790 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30791 non-default versions.
30792
eb55f5c2
RM
307932012-06-11 Roland McGrath <roland@hack.frob.com>
30794
30795 [BZ #14218]
30796 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30797
366af02c
TS
307982012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30799
99ff6e5c
TS
30800 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30801 (FE_UPWARD, FE_DOWNWARD): Don't define.
30802 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30803 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30804
366af02c
TS
30805 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30806 reading it.
30807 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30808 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30809
793ea851
KK
308102012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30811
30812 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30814 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30815 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30816
a728a38f
L
308172012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30818
30819 [BZ #14117]
c08010c7
L
30820 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30821 * sysdeps/i386/fpu/Implies: New file.
30822 * sysdeps/x86_64/fpu/Implies: Likewise.
30823 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30824 * sysdeps/x86/fpu/bits/fenv.h: This.
30825
a728a38f
L
30826 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30827 __SSE_MATH__.
30828
6e230d11
SP
308292012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30830
30831 [BZ #14134]
30832 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30833 character 0xffff that matches the last element of the
30834 conversion table.
30835
1b671feb
AZ
308362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30837
30838 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30839 fmodl commit.
30840
6043738b
AZ
308412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30842
30843 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30844 values higher than 25.6283.
30845
34ae0b32
AZ
308462012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30847
30848 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30849 subnormal exponent extraction and add some __builtin_expect.
30850 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30851 Fix for subnormal mantissa calculation.
30852
1214ec8f
MF
308532012-06-04 Mike Frysinger <vapier@gentoo.org>
30854
30855 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30856 cpu2 is -1 and errno is not ENOSYS.
30857
f3d1f93c
L
308582012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30859
30860 [BZ #14117]
0e4a3cd7
L
30861 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30862 * sysdeps/x86/bits/string.h: This.
30863 * sysdeps/x86_64/bits/string.h: Removed.
30864
6704c645
L
30865 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30866 if not compiling for x86-64, but compiling for >= i486.
30867
48495318
L
30868 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30869 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30870
14adcbfc
L
30871 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30872 New macro from Linux kernel 3.4.0.
30873 (FP_XSTATE_MAGIC2): Likewise.
30874 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30875 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30876 (struct _fpx_sw_bytes): New struct.
30877 (struct _xsave_hdr): Likewise.
30878 (struct _ymmh_state): Likewise.
30879 (struct _xstate): Likewise.
30880
68e408ab
L
30881 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30882 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30883 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30884 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30885 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30886 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30887
f3d1f93c
L
30888 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30889 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30890 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30891 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30892 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30893 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30894
d9dc34cd
TMQMF
308952012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30896
30897 [BZ #13743]
30898 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30899 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30900 (sysdep_headers): Include sys/platform/ppc.h.
30901 * sysdeps/powerpc/test-gettimebase.c: Test for
30902 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30903 * manual/Makefile (appendices): Include platform.texi.
30904 * manual/contrib.texi (Contributors): Update @node pointers.
30905 * manual/maint.texi (Maintenance): Likewise.
30906 (Platform): New node.
30907 * manual/platform.texi: New file. Document the new features.
30908
4af3879c
SP
309092012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30910 Jakub Jelinek <jakub@redhat.com>
30911
30912 [BZ #14188]
30913 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30914 where __builtin_expect is unavailable.
30915
2fd6ff13
DM
309162012-06-03 David S. Miller <davem@davemloft.net>
30917
30918 * stdlib/longlong.h: Updated from GCC.
30919
173f7220
AS
309202012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30921
30922 [BZ #14042]
30923 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30924 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30925 __mcount_internal.
30926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30927 (GLIBC_2.16): Likewise.
30928
f34a1c6f
L
309292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30930
30931 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30932
88a4576f
JM
309332012-06-01 Joseph Myers <joseph@codesourcery.com>
30934
ea32bcdd
JM
30935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30936 (default-abi): New variable.
30937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30938 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30939 variable.
30940 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30941 Likewise.
30942 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30943 Likewise.
30944 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30945 Likewise.
30946
88a4576f
JM
30947 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30948 definition. Document in comment.
30949
402fe938
DM
309502012-06-01 David S. Miller <davem@davemloft.net>
30951
30952 * stdlib/longlong.h: Updated from GCC.
30953
3553723f
L
309542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30955
30956 [BZ #14117]
3bd872c4
L
30957 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30958 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30959 sys/debugreg.h sys/io.h here.
30960 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30961 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30962 sys/io.h.
30963 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30964 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30965 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30966 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30967 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30968 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30969
3553723f
L
30970 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30971 Define only if __x86_64__ is defined.
30972
4842e4fe
JM
309732012-06-01 Joseph Myers <joseph@codesourcery.com>
30974
c5bfe3d5
JM
30975 [BZ #14048]
30976 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30977 Use int64_t for variable i.
30978 * math/libm-test.inc (fmod_test): Add more tests.
30979
4842e4fe
JM
30980 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30981 z computation is not scheduled after fetestexcept.
30982 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30983 Use math_force_eval instead of asm to ensure calculation scheduled
30984 before exception test.
30985 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30986 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30987
efb73488
AJ
309882012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30989
30990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30991 computation is not scheduled after fetestexcept.
30992
29bcce7c
L
309932012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30994
30995 [BZ #14117]
30996 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30997 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30998
73a68f94
AZ
309992012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31000
31001 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31002 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31003
67b6df78
L
310042012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31005
edf2933a 31006 [BZ #14117]
ebc64a18
L
31007 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31008 <bits/wordsize.h>.
31009 (__WCHAR_MIN): Support __WORDSIZE == 64.
31010 (__WCHAR_MAX): Likewise.
31011
edf2933a
L
31012 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31013 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31014
57c6cf40
L
31015 [BZ #14183]
31016 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31017 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31018
67b6df78 31019 [BZ #14117]
8eb6281e
L
31020 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31021 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31022
aac639f4
L
31023 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31024 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31025
67b6df78
L
31026 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31027 Defined to 1 if __x86_64__ isn't defined.
31028 (_STAT_VER_LINUX_OLD): New.
31029 (st_atime): Remove duplicate.
31030 (st_mtime): Likewise.
31031 (st_ctime): Likewise.
31032
1c2cfe81
DM
310332012-05-31 David S. Miller <davem@davemloft.net>
31034
31035 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31036 entries.
31037
5be8418c
AS
310382012-06-01 Andreas Schwab <schwab@linux-m68k.org>
31039
e7725326
AS
31040 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31041 gen-libm-test.pl.
31042
5be8418c
AS
31043 [BZ #14132]
31044 * elf/dl-reloc.c: Include <_itoa.h>.
31045 (_dl_reloc_bad_type): Remove use of INTUSE.
31046 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31047 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31048 * stdio-common/psiginfo.c (psiginfo): Likewise.
31049 * stdio-common/psignal.c (psignal): Likewise.
31050 * string/strsignal.c (strsignal): Likewise.
31051 * include/signal.h (_sys_siglist): Declare hidden proto.
31052 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
31053 INTVARDEF with libc_hidden_data_def.
31054 * stdio-common/itoa-udigits.c: Likewise.
31055 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31056 (_itoa_lower_digits_internal): Remove declaration.
31057 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31058 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31059 (_sys_sigabbrev_internal): Remove aliases.
31060 (_sys_siglist): Define hidden alias.
31061
507352f1
MT
310622012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
31063
31064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31065 bits/sysctl.h.
31066
42bbb1c3
L
310672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
31068
31069 [BZ #14117]
6bd784b6
L
31070 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31071 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31072
8bca20f0
L
31073 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31074 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31075 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31076 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31077 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31078 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31079
f9e890a9
L
31080 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31081 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31082 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31083
471101a1
L
31084 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31085 with __addr.
31086 (insw): Likewise.
31087 (insl): Likewise.
31088 (outsb): Likewise.
31089 (outsw): Likewise.
31090 (outsl): Likewise.
31091
6451c862
L
31092 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31094 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31095
a254b8c9
L
31096 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31097 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31098 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31099 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31100 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31101 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31102
b8dfdd92
L
31103 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31104 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31105
578cd270
L
31106 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31107 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31108
de662f5f
L
31109 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31111 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31112
25653439
L
31113 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31114 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31115 to ...
31116 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31117
6bad24a0
L
31118 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31119 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31120 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31121
42bbb1c3
L
31122 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31123 for x86-64.
31124 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31125
2d10d547
JM
311262012-05-31 Joseph Myers <joseph@codesourcery.com>
31127
31128 * math/math.h (M_El): Use two more decimal places.
31129 (M_LOG2El): Likewise.
31130 (M_LOG10El): Likewise.
31131 (M_LN2l): Likewise.
31132 (M_LN10l): Likewise.
31133 (M_PIl): Likewise.
31134 (M_PI_2l): Likewise.
31135 (M_PI_4l): Likewise.
31136 (M_1_PIl): Likewise.
31137 (M_2_PIl): Likewise.
31138 (M_2_SQRTPIl): Likewise.
31139 (M_SQRT2l): Likewise.
31140 (M_SQRT1_2l): Likewise.
31141
f230c29b
DM
311422012-05-31 David S. Miller <davem@davemloft.net>
31143
31144 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31145 values between float registers.
31146 * sysdeps/sparc/sparc64/memset.S: Likewise.
31147 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31148
fed806c3
MF
311492012-05-31 Mike Frysinger <vapier@gentoo.org>
31150
31151 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31152 -D_FORTIFY_SOURCE=1.
31153 (CPPFLAGS-tst-longjmp_chk.c): Define.
31154 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31155 (CPPFLAGS-tst-longjmp_chk2.c): Define.
31156 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31157 CFLAGS-tst-wchar-h.c.
31158
30917259
MP
311592012-05-31 Marek Polacek <polacek@redhat.com>
31160
31161 [BZ #14132]
31162 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31163 __endmntent_internal): Remove declaration.
31164 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31165 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31166 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31167
1c58d5dc
DM
311682012-05-30 David S. Miller <davem@davemloft.net>
31169
31170 * sysdeps/sparc/sparc32/soft-fp/q_util.c
31171 (___Q_simulate_exceptions): Use real FP ops rather than writing
31172 into the %fsr.
31173 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31174 Likewise.
31175
7dc00e0d
L
311762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31177
31178 [BZ #14117]
0bd53985
L
31179 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31180 * sysdeps/x86/bits/xtitypes.h: This.
31181
3a257e66
L
31182 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31183 * sysdeps/x86/bits/wordsize.h: This.
31184
62f62904
L
31185 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31186 * sysdeps/x86/bits/huge_vall.h: This.
31187
404fe9d9
L
31188 * sysdeps/i386/bits/select.h: Removed.
31189 * sysdeps/x86_64/bits/select.h: Renamed to ...
31190 * sysdeps/x86/bits/select.h: This.
31191
d48d0446
L
31192 * sysdeps/i386/bits/setjmp.h: Removed.
31193 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31194 * sysdeps/x86/bits/setjmp.h: This.
31195
7dc00e0d
L
31196 * sysdeps/i386/bits/mathdef.h: Removed.
31197 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31198 * sysdeps/x86/bits/mathdef.h: This.
31199
03277f8f
AS
312002012-05-30 Andreas Schwab <schwab@linux-m68k.org>
31201
31202 [BZ #14132]
31203 * include/sys/socket.h (__connect_internal)
31204 (__libc_sa_len_internal): Remove declaration.
31205 (__connect, __libc_sa_len): Declare hidden_proto.
31206 (SA_LEN): Remove use of INTUSE.
31207 * socket/connect.c: Add libc_hidden_def.
31208 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31209 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31210 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31211 alias.
31212 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31213 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31214 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31215 of adding _internal alias.
31216
13764867
L
312172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31218
31219 [BZ #14117]
6bd97696
L
31220 * sysdeps/i386/bits/link.h: Removed.
31221 * sysdeps/i386/bits/linkmap.h: Likewise.
31222 * sysdeps/x86_64/bits/link.h: Renamed to ...
31223 * sysdeps/x86/bits/link.h: This.
31224 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31225 * sysdeps/x86/bits/linkmap.h: This.
31226
f726f0bb
L
31227 * sysdeps/i386/bits/endian.h: Removed.
31228 * sysdeps/x86_64/bits/endian.h: Renamed to ...
31229 * sysdeps/x86/bits/endian.h: This.
31230
13764867
L
31231 * sysdeps/i386/bits/byteswap.h: Removed.
31232 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31233 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31234 * sysdeps/x86/bits/byteswap.h: This.
31235 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31236 * sysdeps/x86/bits/byteswap-16.h: This.
31237 * sysdeps/i386/Implies: Add x86.
31238 * sysdeps/x86_64/Implies: Likewise.
31239
ae251b0b
DM
312402012-05-30 David S. Miller <davem@davemloft.net>
31241
31242 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31243 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31244 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31245 (FP_TRAPPING_EXCEPTIONS): Define.
31246 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31247 (FP_TRAPPING_EXCEPTIONS): Define.
31248 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31249 subnormals only when inexact has been signalled or underflow
31250 exceptions are enabled.
31251 (_FP_PACK_CANONICAL): Likewise.
31252
d5c90867
L
312532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31254
31255 [BZ #14183]
31256 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31257 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
31258
63f1549e
RH
312592012-05-30 Richard Henderson <rth@twiddle.net>
31260
8d8f2279
RH
31261 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
31262 with #ifndef NOT_IN_libc.
31263
63f1549e
RH
31264 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
31265 marked to avoid plt entry.
31266
0ab0291b
L
312672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31268
31269 [BZ #14112]
31270 * Makeconfig (default-abi): New macro.
31271 (abi-includes): Likewise.
31272 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
31273 $(abi-$(default-abi)-lib-soname) for soname if defined.
31274 ($(common-objpfx)gnu/lib-names.stmp): Generate from
31275 abi-variants.
31276 * Makefile (installed-stubs): Likewise.
31277 * include/stubs-biarch.h: Removed.
31278 * scripts/lib-names.awk: Only handle one library at a time.
31279 * scripts/soversions.awk: Remove WORDSIZE support.
31280 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
31281 entries.
31282 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
31283 Removed.
31284 (syscall-list-default-condition): Likewise.
31285 (syscall-list-default-condition): Likewise.
31286 (syscall-list-includes): Likewise.
31287 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
31288 syscall-list-* with abi-*. Handle undefined abi-variants.
31289 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
31290 * sysdeps/unix/sysv/linux/i386/Implies: New file.
31291 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
31292 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
31293 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
31294 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
31295 Removed.
31296 (syscall-list-32-options): Likewise.
31297 (syscall-list-32-condition): Likewise.
31298 (syscall-list-64-options): Likewise.
31299 (syscall-list-64-condition): Likewise.
31300 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
31301 macro.
31302 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
31303 Renamed to ...
31304 (abi-*): This.
31305 (abi-64-ld-soname): New macro.
31306 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
31307 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
31308 Renamed to ...
31309 (abi-*): This.
31310 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
31311 * sysdeps/x86_64/x32/shlib-versions: Likewise.
31312
4da0431d
JM
313132012-05-30 Joseph Myers <joseph@codesourcery.com>
31314
3a85279c
JM
31315 * sysdeps/unix/sysv/linux/kernel-features.h
31316 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
31317 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
31318 include <kernel-features.h>.
31319 [!__NR_ftruncate64]: Remove conditional code.
31320 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31321 [__NR_ftruncate64]: Make code unconditional.
31322 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31323 * sysdeps/unix/sysv/linux/truncate64.c: Do not
31324 include <kernel-features.h>.
31325 [!__NR_ftruncate64]: Remove conditional code.
31326 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31327 [__NR_ftruncate64]: Make code unconditional.
31328 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
31330 include <kernel-features.h>.
31331 [!__NR_ftruncate64]: Remove conditional code.
31332 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31333 [__NR_ftruncate64]: Make code unconditional.
31334 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31336 include <kernel-features.h>.
31337 [!__NR_ftruncate64]: Remove conditional code.
31338 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31339 [__NR_ftruncate64]: Make code unconditional.
31340 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
31341
4da0431d
JM
31342 * configure.in (libc_cv_fpie): Weaken to a compile test using
31343 LIBC_TRY_CC_OPTION.
31344 * configure: Regenerated.
31345
11ef492c
AK
313462012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31347
31348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
31349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
31350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
31351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31352 Refreshed.
31353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
31354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
31355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
31356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
31357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
31358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31359 Refreshed.
31360
d66ef399
DM
313612012-05-27 David S. Miller <davem@davemloft.net>
31362
31363 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
31364 (___Q_zero): New.
31365 (__Q_simulate_exceptions): Return void. Change to simulate
31366 exceptions by writing into the %fsr.
31367 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
31368 (__Qp_handle_exceptions): Likewise.
31369 (numbers): Delete.
31370 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
31371 __Qp_handle_exceptions.
31372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
31373 __Qp_handle_exceptions.
31374 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31375 as unused and give dummy FP_RND_NEAREST initializer.
31376 (FP_INHIBIT_RESULTS): Define.
31377 (___Q_simulate_exceptions): Update declaration.
31378 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
31379 formatting.
31380 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
31381 as unused and give dummy FP_RND_NEAREST initializer.
31382 (__Qp_handle_exceptions): Update declaration.
31383 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
31384 formatting.
31385
04fb54b5
TS
313862012-05-27 Thomas Schwinge <thomas@codesourcery.com>
31387
31388 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
31389 the temporary FPU control word.
31390 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31391 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
31392 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31393 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31394 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31395 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31396 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31397 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31398 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31399 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31400 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31401
3f99608f
KK
314022012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31403
31404 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31405 fields.
31406
65a4de4e
CLT
314072012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
31408
31409 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31410 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31411 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31412 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31413 Likewise.
31414 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31415 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31416 Likewise.
31417
15749d40
UD
314182012-05-27 Ulrich Drepper <drepper@gmail.com>
31419
31420 * po/h.po: Update from translation team.
31421
25dbcb27
AS
314222012-05-26 Andreas Schwab <schwab@linux-m68k.org>
31423
3d3f8e55
AS
31424 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31425
25dbcb27
AS
31426 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31427 handling of denormals.
31428 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31429 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31430 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31431 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31432 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31434 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31435 Likewise.
31436
7ad47a80 314372012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
31438
31439 [BZ #14152]
31440 * math/libm-test.inc (fma_test): Don't always expect underflow
31441 exception.
31442
9c6ea9fa
SP
314432012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31444
31445 [BZ #12416]
31446 * elf/tst-execstack.c: Include stackinfo.h.
31447 (do_test): Adjust test case to ensure that pthread_getattr_np
31448 behaviour remains the same after marking stack executable.
31449
a8239222
JM
314502012-05-25 Joseph Myers <joseph@codesourcery.com>
31451
31452 * sysdeps/unix/sysv/linux/kernel-features.h
31453 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31454 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31455 kernel-features.h.
31456 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31457 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31458 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31459 kernel-features.h.
31460 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31461 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31462
918b5606
L
314632012-05-25 H.J. Lu <hongjiu.lu@intel.com>
31464
31465 * configure.in: Define the default includes to being none.
31466 * configure: Regenerated.
31467
3a097cc7
RM
314682012-05-25 Roland McGrath <roland@hack.frob.com>
31469
8422c9a5
RM
31470 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31471 * sysdeps/x86_64/setjmp.S: Likewise.
31472 * sysdeps/i386/bsd-setjmp.S: Likewise.
31473 * sysdeps/i386/bsd-_setjmp.S: Likewise.
31474 * sysdeps/i386/setjmp.S: Likewise.
31475 * sysdeps/i386/__longjmp.S: Likewise.
31476 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31477 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31478
3a097cc7
RM
31479 * include/stap-probe.h: New file.
31480 * configure.in: Handle --enable-systemtap.
31481 * configure: Regenerated.
31482 * config.h.in (USE_STAP_PROBE): New #undef.
31483 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31484 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31485 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31486
21708942
JM
314872012-05-25 Joseph Myers <joseph@codesourcery.com>
31488
31489 [BZ #13717]
31490 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31491 to 2.4.0 where earlier.
31492 * sysdeps/unix/sysv/linux/configure: Regenerated.
31493 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31494 <kernel-features.h>.
31495 [__ASSUME_32BITUIDS]: Make code unconditional.
31496 [!__ASSUME_32BITUIDS]: Remove conditional code.
31497 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31498 <kernel-features.h>.
31499 [__ASSUME_32BITUIDS]: Make code unconditional.
31500 [!__ASSUME_32BITUIDS]: Remove conditional code.
31501 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31502 [__ASSUME_32BITUIDS]: Make code unconditional.
31503 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31504 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31505 <kernel-features.h>.
31506 [__ASSUME_32BITUIDS]: Make code unconditional.
31507 [!__ASSUME_32BITUIDS]: Remove conditional code.
31508 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31509 <kernel-features.h>.
31510 [__ASSUME_32BITUIDS]: Make code unconditional.
31511 [!__ASSUME_32BITUIDS]: Remove conditional code.
31512 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31513 <kernel-features.h>.
31514 [__ASSUME_32BITUIDS]: Make code unconditional.
31515 [!__ASSUME_32BITUIDS]: Remove conditional code.
31516 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31517 <kernel-features.h>.
31518 [__ASSUME_32BITUIDS]: Make code unconditional.
31519 [!__ASSUME_32BITUIDS]: Remove conditional code.
31520 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31521 <kernel-features.h>.
31522 [__ASSUME_32BITUIDS]: Make code unconditional.
31523 [!__ASSUME_32BITUIDS]: Remove conditional code.
31524 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31525 <kernel-features.h>.
31526 [__ASSUME_32BITUIDS]: Make code unconditional.
31527 [!__ASSUME_32BITUIDS]: Remove conditional code.
31528 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31529 <kernel-features.h>.
31530 [__ASSUME_32BITUIDS]: Make code unconditional.
31531 [!__ASSUME_32BITUIDS]: Remove conditional code.
31532 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31533 <kernel-features.h>.
31534 [__ASSUME_32BITUIDS]: Make code unconditional.
31535 [!__ASSUME_32BITUIDS]: Remove conditional code.
31536 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31537 <kernel-features.h>.
31538 [__ASSUME_32BITUIDS]: Make code unconditional.
31539 [!__ASSUME_32BITUIDS]: Remove conditional code.
31540 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31541 <kernel-features.h>.
31542 [__ASSUME_32BITUIDS]: Make code unconditional.
31543 [!__ASSUME_32BITUIDS]: Remove conditional code.
31544 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31545 <kernel-features.h>.
31546 [__NR_setresgid] (__setresgid): Do not declare.
31547 [__ASSUME_32BITUIDS]: Make code unconditional.
31548 [!__ASSUME_32BITUIDS]: Remove conditional code.
31549 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31550 <kernel-features.h>.
31551 [__NR_setresuid] (__setresuid): Do not declare.
31552 [__ASSUME_32BITUIDS]: Make code unconditional.
31553 [!__ASSUME_32BITUIDS]: Remove conditional code.
31554 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31555 <kernel-features.h>.
31556 [__ASSUME_32BITUIDS]: Make code unconditional.
31557 [!__ASSUME_32BITUIDS]: Remove conditional code.
31558 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31559 <kernel-features.h>.
31560 [__ASSUME_32BITUIDS]: Make code unconditional.
31561 [!__ASSUME_32BITUIDS]: Remove conditional code.
31562 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31563 <kernel-features.h>.
31564 [__ASSUME_32BITUIDS]: Make code unconditional.
31565 [!__ASSUME_32BITUIDS]: Remove conditional code.
31566 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31567 <kernel-features.h>.
31568 [__ASSUME_32BITUIDS]: Make code unconditional.
31569 [!__ASSUME_32BITUIDS]: Remove conditional code.
31570 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31571 <kernel-features.h>.
31572 [__ASSUME_32BITUIDS]: Make code unconditional.
31573 [!__ASSUME_32BITUIDS]: Remove conditional code.
31574 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31575 <kernel-features.h>.
31576 [__ASSUME_32BITUIDS]: Make code unconditional.
31577 [!__ASSUME_32BITUIDS]: Remove conditional code.
31578 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31579 <kernel-features.h>.
31580 [__ASSUME_32BITUIDS]: Make code unconditional.
31581 [!__ASSUME_32BITUIDS]: Remove conditional code.
31582 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31583 <kernel-features.h>.
31584 [__ASSUME_32BITUIDS]: Make code unconditional.
31585 [!__ASSUME_32BITUIDS]: Remove conditional code.
31586 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31587 <kernel-features.h>.
31588 [__ASSUME_32BITUIDS]: Make code unconditional.
31589 [!__ASSUME_32BITUIDS]: Remove conditional code.
31590 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31591 <kernel-features.h>.
31592 [__ASSUME_32BITUIDS]: Make code unconditional.
31593 [!__ASSUME_32BITUIDS]: Remove conditional code.
31594 * sysdeps/unix/sysv/linux/kernel-features.h
31595 (__ASSUME_SETRESUID_SYSCALL): Remove.
31596 (__ASSUME_SETRESGID_SYSCALL): Likewise.
31597 (__ASSUME_32BITUIDS): Likewise.
31598 (__ASSUME_LDT_WORKS): Likewise.
31599 (__ASSUME_O_DIRECTORY): Likewise.
31600 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31601 architecture but not kernel version.
31602 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31603 (__ASSUME_MMAP2_SYSCALL): Likewise.
31604 (__ASSUME_STAT64_SYSCALL): Likewise.
31605 (__ASSUME_IPC64): Likewise.
31606 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31607 <kernel-features.h>.
31608 [__ASSUME_32BITUIDS]: Make code unconditional.
31609 [!__ASSUME_32BITUIDS]: Remove conditional code.
31610 * sysdeps/unix/sysv/linux/opendir.c: Do not include
31611 <kernel-features.h>.
31612 [__ASSUME_O_DIRECTORY]: Make code unconditional.
31613 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31614 132096]: Remove conditional code.
31615 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31616 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31617 <kernel-features.h>.
31618 [__ASSUME_32BITUIDS]: Make code unconditional.
31619 [!__ASSUME_32BITUIDS]: Remove conditional code.
31620 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31621 <kernel-features.h>.
31622 [__ASSUME_32BITUIDS]: Make code unconditional.
31623 [!__ASSUME_32BITUIDS]: Remove conditional code.
31624 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31625 <kernel-features.h>.
31626 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31627 unconditional.
31628 (__setresgid): Do not declare.
31629 [__ASSUME_32BITUIDS]: Make code unconditional.
31630 [!__ASSUME_32BITUIDS]: Remove conditional code.
31631 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31632 <kernel-features.h>.
31633 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31634 unconditional.
31635 (__setresuid): Do not declare.
31636 [__ASSUME_32BITUIDS]: Make code unconditional.
31637 [!__ASSUME_32BITUIDS]: Remove conditional code.
31638 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31639 <kernel-features.h>.
31640 [__ASSUME_32BITUIDS]: Make code unconditional.
31641 [!__ASSUME_32BITUIDS]: Remove conditional code.
31642 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31643 <kernel-features.h>.
31644 [__ASSUME_32BITUIDS]: Make code unconditional.
31645 [!__ASSUME_32BITUIDS]: Remove conditional code.
31646
a386f1cc
RH
316472012-05-25 Richard Henderson <rth@twiddle.net>
31648
31649 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31650 dl_hwcap to ifunc resolver.
31651 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31652 elf_ifunc_invoke.
31653 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31654 dl_hwcap to ifunc resolver.
31655 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31656
b6550497
JM
316572012-05-24 Joseph Myers <joseph@codesourcery.com>
31658
31659 [BZ #14153]
31660 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31661 for |x| <= 2**-26, not 2**-57.
31662 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31663 exception.
31664
b0bc23a1
JL
316652012-05-24 Jeff Law <law@redhat.com>
31666
31667 * stdio-common/Makefile (tests): Add bug25.
31668 * stdio-common/bug25.c: New test.
31669
347c92e9
L
316702012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31671
31672 [BZ #13576]
31673 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31674 multiple of MALLOC_ALIGNMENT in size.
31675 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31676
6bcc8b3f
JM
316772012-05-24 Joseph Myers <joseph@codesourcery.com>
31678
31679 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31680 Require >= 256.
31681 (FILENAME_MAX): Use macro-int-constant.
31682 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31683 (_IOFBF): Use macro-int-constant.
31684 (_IOLBF): Likewise.
31685 (_IONBF): Likewise.
31686 (SEEK_CUR): Likewise.
31687 (SEEK_END): Likewise.
31688 (SEEK_SET): Likewise.
31689 (TMP_MAX): Likewise.
31690 (EOF): Use macro-int-constant. Require < 0.
31691 (NULL): Use macro-constant. Require == 0.
31692 (stdin): Require type to be FILE *.
31693 (stdout): Likewise.
31694 (stderr): Likewise.
31695 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31696 macro-int-constant.
31697 (EXIT_SUCCESS): Likewise.
31698 (NULL): Use macro-constant. Require == 0.
31699 (RAND_MAX): Use macro-int-constant.
31700 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31701 [C99-based standards] (strtof): Require function.
31702 [C99-based standards] (strtold): Likewise.
31703 [C99-based standards] (strtoll): Likewise.
31704 [C99-based standards] (strtoull): Likewise.
31705 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31706 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31707 [ISO || ISO99 || ISO11] (math.h): Likewise.
31708 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31709 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31710 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31711
d18ea0c5
AS
317122012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31713
31714 [BZ #14132]
56d25bb8
AS
31715 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31716 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31717 * intl/dgettext.c (DCGETTEXT): Likewise.
31718 * intl/gettext.c (DCGETTEXT): Likewise.
31719 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31720 * posix/regex_internal.h (gettext): Likewise.
31721 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31722 Remove declaration.
31723 * include/argz.h (__argz_count_internal)
31724 (__argz_stringify_internal): Remove declaration.
31725 (__argz_count, __argz_stringify): Declare hidden proto.
31726 * intl/dcgettext.c: Remove use of INTDEF.
31727 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31728 * string/argz-stringify.c: Likewise.
31729 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31730 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31731 Declare hidden proto.
d18ea0c5
AS
31732 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31733 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31734 Declare hidden proto.
31735 * include/stdio.h (__asprintf_internal): Don't declare.
31736 (__asprintf): Don't define as macro. Declare hidden proto.
31737 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31738 (__fsetlocking): Declare hidden proto.
31739 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31740 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31741 hidden proto.
31742 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31743 (_IO_setlinebuf): Remove use of INTUSE.
31744 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31745 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31746 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31747 Remove declaration.
31748 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31749 (_IO_do_flush): Remove use of INTUSE.
31750 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31751 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31752 (_IO_adjust_column, _IO_least_wmarker)
31753 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31754 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31755 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31756 (_IO_default_doallocate, _IO_wdefault_doallocate)
31757 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31758 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31759 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31760 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31761 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31762 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31763 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31764 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31765 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31766 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31767 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31768 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31769 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31770 proto.
31771 (_IO_flush_all_internal, _IO_adjust_column_internal)
31772 (_IO_default_uflow_internal, _IO_default_finish_internal)
31773 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31774 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31775 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31776 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31777 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31778 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31779 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31780 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31781 (_IO_file_close_internal, _IO_file_close_it_internal)
31782 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31783 (_IO_file_init_internal, _IO_file_attach_internal)
31784 (_IO_file_fopen_internal, _IO_file_read_internal)
31785 (_IO_file_sync_internal, _IO_file_seek_internal)
31786 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31787 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31788 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31789 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31790 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31791 (_IO_list_all_internal, _IO_link_in_internal)
31792 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31793 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31794 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31795 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31796 (_IO_do_write_internal, _IO_padn_internal)
31797 (_IO_getline_info_internal, _IO_getline_internal)
31798 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31799 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31800 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31801 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31802 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31803 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31804 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31805 with libc_hidden_ver, remove use of INTUSE.
31806 * libio/genops.c: Likewise.
31807 * libio/freopen.c: Likewise.
31808 * libio/freopen64.c: Likewise.
31809 * libio/iofclose.c: Likewise.
31810 * libio/iofdopen.c: Likewise.
31811 * libio/iofflush.c: Likewise.
31812 * libio/iofflush_u.c: Likewise.
31813 * libio/iofgets.c: Likewise.
31814 * libio/iofgets_u.c: Likewise.
31815 * libio/iofopen.c: Likewise.
31816 * libio/iofopncook.c: Likewise.
31817 * libio/iofread.c: Likewise.
31818 * libio/iofread_u.c: Likewise.
31819 * libio/ioftell.c: Likewise.
31820 * libio/iofwrite.c: Likewise.
31821 * libio/iogetline.c: Likewise.
31822 * libio/iogets.c: Likewise.
31823 * libio/iogetwline.c: Likewise.
31824 * libio/iopadn.c: Likewise.
31825 * libio/iopopen.c: Likewise.
31826 * libio/ioseekoff.c: Likewise.
31827 * libio/ioseekpos.c: Likewise.
31828 * libio/iosetbuffer.c: Likewise.
31829 * libio/iosetvbuf.c: Likewise.
31830 * libio/ioungetc.c: Likewise.
31831 * libio/ioungetwc.c: Likewise.
31832 * libio/iovdprintf.c: Likewise.
31833 * libio/iovsprintf.c: Likewise.
31834 * libio/iovsscanf.c: Likewise.
31835 * libio/memstream.c: Likewise.
31836 * libio/obprintf.c: Likewise.
31837 * libio/oldfileops.c: Likewise.
31838 * libio/oldiofclose.c: Likewise.
31839 * libio/oldiofdopen.c: Likewise.
31840 * libio/oldiofopen.c: Likewise.
31841 * libio/oldiopopen.c: Likewise.
31842 * libio/oldstdfiles.c: Likewise.
31843 * libio/putc.c: Likewise.
31844 * libio/setbuf.c: Likewise.
31845 * libio/setlinebuf.c: Likewise.
31846 * libio/stdfiles.c: Likewise.
31847 * libio/strops.c: Likewise.
31848 * libio/vasprintf.c: Likewise.
31849 * libio/vscanf.c: Likewise.
31850 * libio/vsnprintf.c: Likewise.
31851 * libio/vswprintf.c: Likewise.
31852 * libio/wfiledoalloc.c: Likewise.
31853 * libio/wfileops.c: Likewise.
31854 * libio/wgenops.c: Likewise.
31855 * libio/wmemstream.c: Likewise.
31856 * libio/wstrops.c: Likewise.
31857 * libio/__fpurge.c: Likewise.
31858 * libio/__fsetlocking.c: Likewise.
31859 * assert/assert.c: Likewise.
31860 * debug/fgets_chk.c: Likewise.
31861 * debug/fgets_u_chk.c: Likewise.
31862 * debug/fread_chk.c: Likewise.
31863 * debug/fread_u_chk.c: Likewise.
31864 * debug/gets_chk.c: Likewise.
31865 * debug/obprintf_chk.c: Likewise.
31866 * debug/vasprintf_chk.c: Likewise.
31867 * debug/vdprintf_chk.c: Likewise.
31868 * debug/vsnprintf_chk.c: Likewise.
31869 * debug/vsprintf_chk.c: Likewise.
31870 * malloc/mtrace.c: Likewise.
31871 * misc/error.c: Likewise.
31872 * misc/syslog.c: Likewise.
31873 * stdio-common/asprintf.c: Likewise.
31874 * stdio-common/fxprintf.c: Likewise.
31875 * stdio-common/getw.c: Likewise.
31876 * stdio-common/isoc99_fscanf.c: Likewise.
31877 * stdio-common/isoc99_scanf.c: Likewise.
31878 * stdio-common/isoc99_vfscanf.c: Likewise.
31879 * stdio-common/isoc99_vscanf.c: Likewise.
31880 * stdio-common/isoc99_vsscanf.c: Likewise.
31881 * stdio-common/printf-prs.c: Likewise.
31882 * stdio-common/printf_fp.c: Likewise.
31883 * stdio-common/printf_fphex.c: Likewise.
31884 * stdio-common/printf_size.c: Likewise.
31885 * stdio-common/putw.c: Likewise.
31886 * stdio-common/scanf.c: Likewise.
31887 * stdio-common/sprintf.c: Likewise.
31888 * stdio-common/tmpfile.c: Likewise.
31889 * stdio-common/vfprintf.c: Likewise.
31890 * stdio-common/vfscanf.c: Likewise.
31891 * stdlib/strfmon_l.c: Likewise.
31892 * sunrpc/openchild.c: Likewise.
31893 * sunrpc/xdr_stdio.c: Likewise.
31894 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31895 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31896
d6c33fda
RM
318972012-05-24 Roland McGrath <roland@hack.frob.com>
31898
c1487492
RM
31899 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31900
31901 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31902 in the third column, to generate for the shared library an IFUNC
31903 that uses _dl_vdso_vsym.
31904 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31905 * Makeconfig (object-suffixes-noshared): New variable.
31906
31907 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31908 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31909 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31910 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31911
d6c33fda
RM
31912 [BZ #14132]
31913 * include/sys/time.h (__gettimeofday): Remove macro.
31914 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31915 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31916 Remove INTDEF.
31917 (__gettimeofday): Add libc_hidden_def.
31918 (gettimeofday): Add libc_hidden_weak.
31919 * sysdeps/mach/gettimeofday.c: Likewise.
31920 * sysdeps/posix/gettimeofday.c: Likewise.
31921 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31922 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31924 (__gettimeofday_internal): Remove strong_alias.
31925 (__gettimeofday): Add libc_hidden_def.
31926 (gettimeofday): Add libc_hidden_weak.
31927 * sysdeps/unix/syscalls.list (gettimeofday):
31928 Remove __gettimeofday_internal alias.
31929
b5a2bbe6
L
319302012-05-24 Daniel Jacobowitz <drow@false.org>
31931 H.J. Lu <hongjiu.lu@intel.com>
31932
31933 [BZ #12495]
31934 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31935 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31936 (largebin_index_32_big): New.
31937 (largebin_index): Use it for 16-byte alignment.
31938 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31939 correction with front_misalign.
31940
cfba4fda
L
319412012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31942
7f907421
L
31943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31945 Likewise.
31946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31947 Likewise.
31948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31949 Likewise.
31950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31951 Likewise.
31952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31953 Likewise.
31954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31955 Likewise.
31956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31957 Likewise.
31958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31959 Likewise.
31960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31961 Likewise.
31962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31963 Likewise.
31964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31965 Likewise.
31966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31967 Likewise.
31968
cfba4fda
L
31969 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31970 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31971
80bad0cc
JM
319722012-05-24 Joseph Myers <joseph@codesourcery.com>
31973
7a25eb06
JM
31974 [BZ #10846]
31975 [BZ #14036]
31976 * math/libm-test.inc (exp_test): Add test from bug 14036.
31977 (pow_test): Add test from bug 10846.
31978
795405f9
JM
31979 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31980 and other flags.
31981 (special_function): Do not include flags in test name.
31982 (parse_args): Likewise.
31983 * sysdeps/i386/fpu/libm-test-ulps: Update.
31984 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31985 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31986 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31988
80bad0cc
JM
31989 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31990 exceptions.
31991 * math/libm-test.inc ("Philosophy"): Update comment about
31992 exception testing.
31993 (UNDERFLOW_EXCEPTION): New macro.
31994 (UNDERFLOW_EXCEPTION_OK): Likewise.
31995 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31996 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31997 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31998 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31999 (INVALID_EXCEPTION_OK): Update value.
32000 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32001 (OVERFLOW_EXCEPTION_OK): Likewise.
32002 (IGNORE_ZERO_INF_SIGN): Likewise.
32003 (test_exceptions): Handle underflow exceptions.
32004 (acos_test): Update for underflow exception expectations.
32005 (cexp_test): Likewise.
32006 (clog_test): Likewise.
32007 (clog10_test): Likewise.
32008 (csqrt_test): Likewise.
32009 (ctan_test): Likewise.
32010 (ctanh_test): Likewise.
32011 (exp_test): Likewise.
32012 (exp10_test): Likewise.
32013 (exp2_test): Likewise.
32014 (expm1_test): Likewise.
32015 (fma_test): Likewise.
32016 (j0_test): Likewise.
32017 (jn_test): Likewise.
32018 (nexttoward_test): Likewise.
32019 (pow_test): Likewise.
32020 (scalbn_test): Likewise.
32021 (scalbln_test): Likewise.
32022 (tan_test): Likewise.
32023 (y1_test): Likewise.
32024 * sysdeps/i386/fpu/libm-test-ulps: Update.
32025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32026
9e0e3d0b
DM
320272012-05-23 David S. Miller <davem@davemloft.net>
32028
32029 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32030 (__libc_sigaction): Remove unused local variables.
32031
ccd0a08f
L
320322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32033
32034 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32035
62bdf9a6
PE
320362012-05-23 Paul Eggert <eggert@cs.ucla.edu>
32037
f8591f80
PE
32038 mktime: avoid signed integer overflow
32039 * time/mktime.c (__mktime_internal): Do not mishandle the case
32040 where diff == INT_MIN.
32041
94c7d826
PE
32042 mktime: simplify computation of average
32043 * time/mktime.c (ranged_convert): Use new time_t_avg function
32044 instead of rolling our own (probably-slower) code.
32045
ce73d683
PE
32046 mktime: do not assume signed right shift propagates sign bit
32047 * time/mktime.c (isdst_differ): New static function.
32048 (__mktime_internal): No need to normalize tm_isdst now.
32049 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32050 tm_isdst values.
32051
72a22e59
PE
32052 mktime: merge another wrapv change from gnulib
32053 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32054 from some compilers.
32055
68605433
PE
32056 mktime: remove incorrect attempt at unusual arithmetics
32057 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32058 The code didn't really work on such machines anyway.
32059 (TYPE_MINIMUM): Assume two's complement.
32060 (twos_complement_arithmetic): Verify that long_int and time_t
32061 are two's complement (or unsigned, in the latter case).
32062
03cf7fe3
PE
32063 mktime: check signed shifts on long_int and time_t, too
32064 * time/mktime.c (SHR): Check that shifts work as desired
32065 on the types long_int and time_t too, as SHR is used on
32066 such types.
32067
f04dfbc2
PE
32068 mktime: do not assume 'long' is wide enough
32069 * time/mktime.c (verify): Move decl up.
32070 (long_int): New type.
32071 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32072 to remove assumption in the code that 'long' is wide enough to
32073 store year values. This assumption is not true on x32 and on
32074 some non-glibc platforms.
32075
62bdf9a6
PE
32076 mktime: merge wrapv change from gnulib
32077 * time/mktime.c (WRAPV): New macro.
32078 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32079 (guess_time_tm, __mktime_internal): Do not assume that signed
32080 integer overflow wraps around; modern compilers generate code
32081 where this assumption is no longer valid.
32082
5e292e4f
L
320832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32084
32085 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32086 Replace "jmp L(pseudo_end)" with "ret".
32087 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32088 Likewise.
32089
8caf8c87
AJ
320902012-05-23 Andreas Jaeger <aj@suse.de>
32091
32092 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32093 * sysdeps/unix/sysv/linux/poll.c: Remove file.
32094
1a09dc56
AJ
320952012-05-23 Andreas Jaeger <aj@suse.de>
32096 Maximilian Attems <max@stro.at>
32097
32098 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32099 New macros.
32100
1c87aba0
L
321012012-05-23 H.J. Lu <hongjiu.lu@intel.com>
32102
32103 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32104 code so that pseudo_end is just ret and the stack pointer is
32105 correct also for static library in error case.
32106
40e45bd5
JM
321072012-05-23 Joseph Myers <joseph@codesourcery.com>
32108
c2670533
JM
32109 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32110 move to syscalls.list.
32111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32115
40e45bd5
JM
32116 * manual/install.texi (Running make install): Do not mention Linux
32117 kernel version for which pt_chown is not needed.
32118 (Linux): Do not mention problems with nscd with 2.0 kernels.
32119 * INSTALL: Regenerated.
32120
be08eda5
AJ
321212012-05-23 Andreas Jaeger <aj@suse.de>
32122
32123 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32124 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32125 macro.
32126 * sysdeps/unix/sysv/linux/s390/bits/mman.h
32127 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32128 * sysdeps/unix/sysv/linux/sh/bits/mman.h
32129 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32130 * sysdeps/unix/sysv/linux/i386/bits/mman.h
32131 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32132 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32133 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32134 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32135 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32136 * sysdeps/unix/sysv/linux/bits/in.h
32137 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32138
a6a056bb
RM
321392012-05-22 Roland McGrath <roland@hack.frob.com>
32140
32141 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32142 (PREPARE_VERSION): Just use assert instead, it will be elided
32143 under [NDEBUG] anyway.
32144
c9009328
L
321452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32146
32147 * sysdeps/unix/sysv/linux/Makefile: Include
32148 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 32149 (sysdep_routines): Remove sysctl.
c9009328
L
32150 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32151 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32152 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32153 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32154 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32155
73338355
AJ
321562012-05-22 Andreas Jaeger <aj@suse.de>
32157
32158 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32159 that pseudo_end is just ret and the stack pointer is correct also
32160 for static library in error case.
32161
d44638b0
PP
321622012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
32163
32164 [BZ #14122]
32165 * nss/nsswitch.c (defconfig_entries): New variable.
32166 (__nss_database_lookup): Don't leak defconfig entries.
32167 (nss_parse_service_list): Don't leak on error paths.
32168 (free_database_entries): New function.
32169 (free_defconfig): New function.
32170 (free_mem): Move common code to free_database_entries.
32171
31a39bd8
L
321722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32173
da0331a8
L
32174 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32175 Add arch_prctl.
32176 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32177
31a39bd8
L
32178 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32179 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32180 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32181 New macro.
32182 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32183 (INTERNAL_SYSCALL_TYPES): Likewise.
32184 (LOAD_ARGS_TYPES_[1-6]): Likewise.
32185 (LOAD_REGS_TYPES_[1-6]): Likewise.
32186 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32187 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32188
45470df3
AZ
321892012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32190
32191 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32192 copysignl for GLIBC_2_0.
32193 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32194 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32196 logbl for GLIBC_2_0.
32197 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32198 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32199
98a61bcb
L
322002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32201
a4f6e481
L
32202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32203 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32204
f63d5db6
L
32205 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32206 Use "neg %eax".
32207
98a61bcb
L
32208 * time/mktime.c: Update copyright years.
32209
95770f14
PE
322102012-05-22 Paul Eggert <eggert@cs.ucla.edu>
32211
6226efbd
PE
32212 mktime: merge comment-quoting-style change from gnulib
32213 * time/mktime.c: Quote 'like this' in comments.
32214 The GNU coding standards suggest that we no longer quote `like this',
32215 as "`" and "'" are typically rendered asymmetrically nowadays.
32216 The typical gnulib style is to quote 'like this' when quoting
32217 code, and "like this" when quoting English.
32218
b99e4f78
PE
32219 * time/mktime.c (compile-command): Add "-I.".
32220
643e01e6
PE
32221 mktime: merge mktime-internal.h change from gnulib
32222 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32223
2554247d
PE
32224 mktime: merge time_r change from gnulib
32225 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32226
826dd0ab
PE
32227 mktime: merge DEBUG change from gnulib
32228 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32229 case system <time.h> has a #define.
32230
bd83aabe
PE
32231 mktime: merge <sys/types.h> change from gnulib
32232 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32233 since <time.t> is now guaranteed to define time_t.
32234
95770f14
PE
32235 mktime: merge HAVE_CONFIG_H change from gnulib
32236 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32237
5e1a27a9
L
322382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
32239
0e44a77e
L
32240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32241 Use "neg %eax".
32242
5e1a27a9
L
32243 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32244 __rlim_t cast.
32245 (struct rusage): Use anonymous union to pad each field to
32246 __syscall_slong_t.
32247
46259bec
DM
322482012-05-21 David S. Miller <davem@davemloft.net>
32249
32250 * Makefules (o-iterator): Remove .s cases.
32251 (compile-command.s): Delete.
32252 (COMPILE.s): Delete.
32253 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32254
59f0c22e
JM
322552012-05-21 Joseph Myers <joseph@codesourcery.com>
32256
32257 * configure.in (libc_cv_predef_stack_protector): Only consider
32258 "foobar" and "__stack_chk_fail" lines in libc_undefs.
32259 * configure: Regenerated.
32260
20c07380
L
322612012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32262
bbb3154b
L
32263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32264 New macro. Use R*LP on int and pointer.
32265 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
32266 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
32267 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
32268 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
32269
20c07380
L
32270 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
32271 [__WORDSIZE_TIME64_COMPAT32] instead of
32272 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
32273 (struct utmp): Likewise.
32274 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
32275 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
32276 Renamed to ...
32277 (__WORDSIZE_TIME64_COMPAT32): This.
32278 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
32279 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
32280 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
32281 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
32282 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
32283 (__WORDSIZE_TIME64_COMPAT32): New macro.
32284
d8d1017e
AJ
322852012-05-21 Andreas Jaeger <aj@suse.de>
32286
32287 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
32288 only if [SHARED]. Add prototype for __wcschr_ia32.
32289
6c7fb145
RM
322902012-05-21 Roland McGrath <roland@hack.frob.com>
32291
32292 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
32293 of %rbp unmolested in the jmp_buf while mangling the low bits.
32294 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
32295 unmolested high bits of %rbp while demangling the low bits.
32296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32297
66274218
AJ
322982012-05-21 Andreas Jaeger <aj@suse.de>
32299
07c58f8f
AJ
32300 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
32301 * sunrpc/svc_simple.c: Use it for registerrpc.
32302 * sunrpc/xcrypt.c: Use it for passwd2des.
32303
66274218
AJ
32304 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
32305
61f65140
L
323062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32307
32308 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
32309 Don't define if [__SYSCALL_WORDSIZE != 32].
32310 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
32311 New macro.
32312
5fefb436
AJ
323132012-05-21 Bruno Haible <bruno@clisp.org>
32314 Andreas Jaeger <aj@suse.de>
32315
32316 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
32317 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
32318 inptr and inend for must_buffer_ch.
32319 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
32320 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
32321 * stdio-common/Makefile (tests): Remove bug15.
32322 (bug15-ENV): Remove macro.
32323 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
32324 anymore.
32325
d8e272ab
AJ
323262012-05-19 Andreas Jaeger <aj@suse.de>
32327 Roland McGrath <roland@hack.frob.com>
32328
32329 * manual/contrib.texi: Completely rewritten. It contains now an
32330 alphabetical list of contributors and their contributions.
32331
4a56a162
RH
323322012-05-21 Richard Henderson <rth@twiddle.net>
32333
32334 * misc/getauxval.c (__getauxval): Use unsigned long int.
32335 * misc/sys/auxv.h: Include <sys/cdefs.h>.
32336 (getauxval): Use unsigned long int.
32337
d024d23c
L
323382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
32339
32340 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32341
cbc00a03
RM
323422012-05-21 Roland McGrath <roland@hack.frob.com>
32343
32344 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
32345 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
32346 __alignof__ (long double).
32347
478143fa
AZ
323482012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32349
32350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32351
c7683a6d
RH
323522012-05-20 Richard Henderson <rth@twiddle.net>
32353
32354 * misc/getauxval.c: New file.
32355 * misc/sys/auxv.h: New file.
32356 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
32357 (routines): Add getauxval.
32358 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
32359 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
32360 * elf/dl-sysdep.c (_dl_auxv): Remove.
32361 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
32362 * elf/dl-support.c (_dl_auxv): New variable.
32363 (_dl_aux_init): Initialize it.
32364 * manual/startup.texi (Auxiliary Vector): New node.
32365 * sysdeps/generic/bits/hwcap.h: New file.
32366 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
32367 * sysdeps/powerpc/sysdep.h: ... here. Include it.
32368 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
32369 * sysdeps/sparc/sysdep.h: ... here. Include it.
32370 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
32371 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
32372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32373 Update.
c7683a6d
RH
32374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
32375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
32376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
32377 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
32378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
32380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
32381 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
32382
a6f1845d
AZ
323832012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32384
32385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32386
cbcbe830
DM
323872012-05-19 David S. Miller <davem@davemloft.net>
32388
32389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32390
e0b16cc2
JM
323912012-05-19 Joseph Myers <joseph@codesourcery.com>
32392
32393 [BZ #14123]
32394 * math/s_ccosh.c: Include <float.h>
32395 (__ccosh): Avoid internal overflow calculating sinh and cosh
32396 values before multiplying by sin and cos values.
32397 * math/s_ccoshf.c: Likewise.
32398 * math/s_ccoshl.c: Likewise.
32399 * math/s_csin.c: Likewise.
32400 * math/s_csinf.c: Likewise.
32401 * math/s_csinl.c: Likewise.
32402 * math/s_csinh.c: Likewise.
32403 * math/s_csinhf.c: Likewise.
32404 * math/s_csinhl.c: Likewise.
32405 * math/libm-test.inc (ccos_test): Add more tests.
32406 (ccosh_test): Likewise.
32407 (csin_test): Likewise.
32408 (csinh_test): Likewise.
32409 * sysdeps/i386/fpu/libm-test-ulps: Update.
32410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32411
6ad13e08
L
324122012-05-19 H.J. Lu <hongjiu.lu@intel.com>
32413
f66f0ce8
L
32414 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32415 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32416
6ad13e08
L
32417 * sysdeps/x86_64/x32/_itoa.h: Add comment.
32418
b1d072a7
JM
324192012-05-19 Joseph Myers <joseph@codesourcery.com>
32420
32421 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32422 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32423 * sysdeps/powerpc/soft-fp/Versions: Likewise.
32424 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32425 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32426 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32427 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32428 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32429 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32430 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32431 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32432 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32433 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32434 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32435 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32436 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32437 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32438 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32439 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32440 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32441 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32442 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32443 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32444 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32445 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32446 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32447 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32448 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32449 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32450 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32451 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32452
9eae47cb
AJ
324532012-05-18 Andreas Jaeger <aj@suse.de>
32454
32455 * csu/.gitignore: Delete.
32456
bb07f69f
L
324572012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32458
32459 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32460 (timex): Use __syscall_slong_t.
32461
e6bdb741
AJ
324622012-05-18 Andreas Jaeger <aj@suse.de>
32463 Carlos O'Donell <carlos_odonell@mentor.com>
32464
32465 * manual/install.texi (Configuring and compiling): Update
32466 description about files modified in the source directory.
d6c33fda 32467 * INSTALL: Regenerated.
e6bdb741 32468
1b74487e
L
324692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32470
32471 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32472 value. Use "or" to set return value to -1.
32473 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32474 negate return value.
32475
a88b64b9
TMQMF
324762012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32477
57f41c40
AS
32478 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32479 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
32480 failure if the compiler has Graphite support disabled.
32481 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32482 Likewise.
57f41c40
AS
32483 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32484 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
32485 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32486 Likewise.
32487
3707636e
L
324882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
32489
610b8622
L
32490 * sysdeps/x86_64/x32/_itoa.h: New file.
32491
7cd195df
L
32492 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32493 getdents system call only if kernel and user dirents have the
32494 same d_ino and d_off.
32495
94b07d20
L
32496 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32497 LLONG_MAX != LONG_MAX.
32498 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32499 (_fitoa_word): Likewise.
32500
18298070
L
32501 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32502 years.
32503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32504 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32505 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32506
553c7ea4
L
32507 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32508 include <bits/wordsize.h>. Check __x86_64__ instead of
32509 __WORDSIZE.
32510 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32511 if __x86_64__ is defined. Use anonymous union on fpstate.
32512
3707636e
L
32513 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32514 anonymous union.
32515
b53ef01a
AS
325162012-05-18 Andreas Schwab <schwab@linux-m68k.org>
32517
37fb1dc0
AS
32518 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32519 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32520 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32521 Refer to _rtld_local_ro instead of _rtld_global_ro.
32522 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32523 Likewise.
32524 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32525 Likewise.
32526 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32527 Likewise.
32528 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32529 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32530 of _rtld_global, and rtld_progname instead of _dl_argv[0].
32531
b53ef01a
AS
32532 * sysdeps/powerpc/powerpc32/dl-machine.c
32533 (__elf_machine_runtime_setup) [PROF]: Don't reference
32534 _dl_prof_resolve.
32535
7a185db2
AJ
325362012-05-18 Andreas Jaeger <aj@suse.de>
32537
32538 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32539 function only available for GCCs before 3.4 since GCC 3.4
32540 introduced a builtin.
32541 (lrint): Likewise.
32542 (llrintf): Likewise.
32543 (llrint): Likewise.
32544 (fmaxf): Likewise.
32545 (fmax): Likewise.
32546 (fminf): Likewise.
32547 (fmin): Likewise.
32548 (rint): Likewise.
32549 (rintf): Likewise.
32550 (nearbyint): Likewise.
32551 (nearbyintf): Likewise.
32552 (ceil): Likewise.
32553 (ceilf): Likewise.
32554 (floor): Likewise.
32555 (floorf): Likewise.
32556
3e5aef87
L
325572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32558
428bd707
L
32559 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32560 on both fields and cast pointer to __syscall_ulong_t.
32561
3e5aef87
L
32562 * bits/types.h (__fsword_t): New type.
32563 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32564 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32565 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32566 (__FSWORD_T_TYPE): Likewise.
32567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32568 (__FSWORD_T_TYPE): Likewise.
32569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32570 (__FSWORD_T_TYPE): Likewise.
32571 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32572 (__FSWORD_T_TYPE): Likewise.
32573 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32574 __SWORD_TYPE with __fsword_t.
32575 (statfs64): Likewise.
32576
1ba7c3dc
DM
325772012-05-17 David S. Miller <davem@davemloft.net>
32578
32579 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32580
59910343
AJ
325812012-05-17 Andreas Jaeger <aj@suse.de>
32582
32583 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32584 warning.
32585
2e4c1e9e
L
325862012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32587
32588 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32589
de7f5ce7
AJ
325902012-05-17 Andreas Jaeger <aj@suse.de>
32591
32592 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32593 when it is used.
32594
286abc3d
CM
325952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32596
32597 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32598
477cc68e
L
325992012-05-17 H.J. Lu <hongjiu.lu@intel.com>
32600
32601 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32602 * sysdeps/x86_64/tst-mallocalign1.c: New file.
32603
1a0994f5
CD
326042012-05-17 Andreas Jaeger <aj@suse.de>
32605 Carlos O'Donell <carlos_odonell@mentor.com>
32606
32607 [BZ #14059]
32608 * sysdeps/x86_64/multiarch/init-arch.h
32609 (bit_YMM_Usable): Rename to...
32610 (bit_AVX_Usable): ... this.
32611 (bit_FMA4_Usable): New macro.
32612 (bit_XMM_state): New macro.
32613 (bit_YMM_state): New macro.
32614 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32615 [__ASSEMBLER__] (index_AVX_Usable): ... this.
32616 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32617 (CPUID_OSXSAVE): New macro.
32618 (CPUID_AVX): New macro.
32619 (CPUID_FMA4): New macro.
32620 (index_YMM_Usable): Rename to...
32621 (index_AVX_Usable): ... this.
32622 (HAS_AVX): Use HAS_ARCH_FEATURE.
32623 (HAS_FMA4): Likewise.
32624 (HAS_YMM_USABLE): Remove.
32625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32626 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32627 are present.
32628 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32629 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32630 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32631 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32632 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32633
0af797de
CM
326342012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32635
32636 * math/libm-test.c: Support platforms without multiple rounding modes.
32637 * math/bug-nextafter.c: Support platforms without FP exceptions.
32638 * math/bug-nexttoward.c: Likewise.
32639 * math/test-fenv.c: Likewise.
32640 * math/test-misc.c: Likewise.
32641 * stdlib/bug-getcontext.c: Likewise.
32642
e39745ff
AJ
326432012-05-17 Andreas Jaeger <aj@suse.de>
32644
32645 * manual/examples/search.c (critter_cmp): Change signature to
32646 avoid warnings.
32647 * manual/string.texi (Collation Functions): Likewise.
32648
48970aba
L
326492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32650
32651 * bits/types.h: Fold copyright years.
32652 * bits/typesizes.h: Likewise.
32653 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32655 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32657 * time/time.h: Likewise.
32658
bedee953
PP
326592012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32660
32661 [BZ #208]
32662 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32663 in instead of returning them. Return void.
32664 (__libc_mallinfo): Accumulate over all arenas.
32665 (__malloc_stats): Adjust for change in int_mallinfo interface.
32666
61653dfb
RM
326672012-05-16 Roland McGrath <roland@hack.frob.com>
32668
30b99d79
RM
32669 [BZ #10375]
32670 * configure.in (NM): Add AC_CHECK_TOOL for it.
32671 (libc_extra_cflags): New substituted variable.
32672 Check for -fstack-protector being used implicitly.
32673 * configure: Regenerated.
32674 * config.make.in (config-extra-cflags): New variable,
32675 gets @libc_extra_cflags@.
32676 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32677
61653dfb
RM
32678 [BZ #10375]
32679 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32680 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32681 * configure: Regenerated.
32682 * config.make.in (CPPUNDEFS): New substituted variable.
32683 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32684 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32685 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32686
661768bb
L
326872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32688
32689 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32690 (mq_attr): Use __syscall_slong_t.
32691
d4261567
L
326922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32693
32694 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32695 Check __x86_64__ instead of __WORDSIZE.
32696 (_STAT_VER_LINUX): Likewise.
32697 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32698 __syscall_ulong_t and __syscall_slong_t.
32699 (stat64): Likewise.
32700
cf3ff365
L
327012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32702
32703 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32704
76cf3e4d
L
327052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32706
32707 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32708
a637753a
L
327092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32710
32711 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32712 __syscall_ulong_t.
32713
d5e05119
L
32714 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32715 include <bits/wordsize.h>. Check __x86_64__ instead of
32716 __WORDSIZE.
32717 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32718 defined.
32719 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32720
f62ee380
L
32721 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32722 include <bits/wordsize.h>. Check __x86_64__ instead of
32723 __WORDSIZE.
32724 (user_regs_struct): Use "__extension__ unsigned long long"
32725 instead of "unsigned long" if __x86_64__ is defined.
32726 (user): Likewise. Pad after pointer field if __ILP32__ is
32727 defined.
32728
4e124ced
JM
327292012-05-16 Joseph Myers <joseph@codesourcery.com>
32730
6a3951a0
JM
32731 * configure.in (makeinfo): Require version 4.5 or later. Allow
32732 versions 5 to 9.
32733 * configure: Regenerated.
32734 * manual/install.texi (texinfo): Increase version requirement to
32735 4.5 or later.
32736 * INSTALL: Regenerated.
32737
4e124ced
JM
32738 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32739
953ca31a
L
327402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32741
32742 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32743
617aca05
L
32744 * sysdeps/x86_64/x32/ffs.c: New file.
32745
5762f7ae
L
32746 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32747 __syscall_ulong_t.
32748 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32749 defined. Use __syscall_ulong_t.
32750 (shminfo): Use __syscall_ulong_t.
32751 (shm_info): Likewise.
32752
a26b6856
L
32753 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32754 __syscall_ulong_t.
32755
cb2b9ef7
L
32756 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32757 <bits/wordsize.h>.
32758 (msgqnum_t): Use __syscall_ulong_t.
32759 (msglen_t): Likewise.
32760 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32761 __syscall_ulong_t.
32762
34683bb0
L
32763 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32764 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32765
84a68786
L
32766 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32767
48baa5f1
L
32768 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32769 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32770
180be88b
L
32771 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32772 __syscall_slong_t.
32773
5e90c8ad
L
32774 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32775 include <bits/wordsize.h>. Check __x86_64__ instead of
32776 __WORDSIZE.
32777
23dfb58b
L
32778 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32779 "unsigned long long int" if __x86_64__ is defined.
32780 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32781
ce5d54b0
L
32782 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32783 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32784 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32785
13dc9eac
L
32786 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32787 <stdint.h>.
32788 (GET_PC): Cast to uintptr_t first.
32789 (GET_FRAME): Likewise.
32790 (GET_STACK): Likewise.
32791
a7895d15
L
32792 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32794 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32795 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32796 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32797 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32798 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32799 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32800 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32801 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32802 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32803 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32805 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32806 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32807 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32808 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32809 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32811 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32812 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32813 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32814 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32815 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32816 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32817 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32818 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32819 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32820 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32821
656416c9
AS
328222012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32823
5bd66283
AS
32824 * Makerules (+depfiles): Also collect depfiles from .oS in
32825 $(extra-objs).
32826 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32827 .oS, $(libnldbl-routines)).
32828
656416c9
AS
32829 * Makerules (native-compile-mkdep-flags): Define.
32830 * sunrpc/Makefile (extra-objs): Add $(addprefix
32831 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32832 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32833 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32834 calling $(make-target-directory).
32835
a46f2169
L
328362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32837
32838 * bits/types.h (__snseconds_t): Removed.
32839 * time/time.h (struct timespec): Replace __snseconds_t with
32840 __syscall_slong_t.
32841 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32842 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32843 Likewise.
32844 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32845 (__SNSECONDS_T_TYPE): Likewise.
32846 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32847 (__SNSECONDS_T_TYPE): Likewise.
32848 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32849 (__SNSECONDS_T_TYPE): Likewise.
32850
6af6528b
L
328512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32852
32853 * sysdeps/mach/hurd/bits/typesizes.h
32854 (__SYSCALL_SLONG_TYPE): New macro.
32855 (__SYSCALL_ULONG_TYPE): Likewise.
32856
de986b56
L
328572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32858
32859 * bits/types.h (__syscall_slong_t): New type.
32860 (__syscall_ulong_t): Likewise.
32861
32862 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32863 (__SYSCALL_ULONG_TYPE): Likewise.
32864 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32865 (__SYSCALL_SLONG_TYPE): Likewise.
32866 (__SYSCALL_ULONG_TYPE): Likewise.
32867 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32868 (__SYSCALL_SLONG_TYPE): Likewise.
32869 (__SYSCALL_ULONG_TYPE): Likewise.
32870 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32871 (__SYSCALL_SLONG_TYPE): Likewise.
32872 (__SYSCALL_ULONG_TYPE): Likewise.
32873
85736dc7
L
328742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32875
32876 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32877 Add sigaltstack-offsets.sym.
32878 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32879 <sigaltstack-offsets.h>.
32880 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32881 longjmp_msg pointer.
32882 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32883 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32884 signal stack.
32885 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32886
cc03b296
JM
328872012-05-15 Joseph Myers <joseph@codesourcery.com>
32888
a9538892
JM
32889 * elf/stackguard-macros.h: Remove file.
32890 * sysdeps/generic/stackguard-macros.h: New file.
32891 * sysdeps/i386/stackguard-macros.h: Likewise.
32892 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32893 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32894 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32895 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32896 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32897 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32898 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32899 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32900 <elf/stackguard-macros.h>.
32901
cc03b296
JM
32902 [BZ #14109]
32903 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32904 __aligned__ in attribute.
32905 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32906 (gregset_t): Likewise.
32907
93171016
L
329082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32909
32910 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32911 * sysdeps/x86_64/64/Implies-after: Here. New file.
32912 * sysdeps/x86_64/x32/Implies-after: New file.
32913
d86813a0
L
329142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32915
32916 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32917 and access return value for _dl_profile_fixup. Use R10_LP to
32918 load frame size.
32919
2953ec75
L
329202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32921
32922 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32923
3b550e9e
L
329242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32925
32926 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32927 * sysdeps/x86_64/x32/sysdep.h: New file.
32928
eda41706
L
329292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32930
32931 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32932 * sysdeps/x86_64/setjmp.S: Likewise.
32933
9ea01d93
AZ
329342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32935
32936 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32937 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32938 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32939 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32940 remove unused global constant.
32941
02a91938
CM
329422012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32943
32944 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32945 include of <not-cancel.h>.
32946
6540185f
RM
329472012-05-15 Roland McGrath <roland@hack.frob.com>
32948
32949 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32950
509072a0
AJ
329512012-05-15 Jeff Law <law@redhat.com>
32952 Andreas Jaeger <aj@suse.de>
32953
32954 [BZ #13594]
32955 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32956 out from...
32957 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32958 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32959 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32960 code changing __hst_map_handle.map.
32961
ba75122d
RM
329622012-05-15 Roland McGrath <roland@hack.frob.com>
32963
32964 * configure.in (sysnames): Look for Implies-before and Implies-after
32965 files.
32966 * configure: Regenerated.
32967
890d8bd8
L
329682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32969
32970 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32971 8-byte data alignment with LP_SIZE alignment.
32972
f6ee6623
L
329732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32974
32975 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32976 into R10_LP.
32977
ea2626f6
L
329782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32979
32980 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32981
085f715e
L
329822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32983
32984 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32985 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32986 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32987 Likewise.
32988 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32989
be8498fc
L
329902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32991
32992 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32993 (stackinfo_sub_sp): Likewise.
32994
70bc83b9
L
329952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32996
32997 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32998 RAX_LP.
32999
9bc0b730
L
330002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33001
33002 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33003 into R*_LP.
33004
6d2850e7
L
330052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33006
33007 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33008 sizes into R*_LP.
33009
3cb84561
L
330102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33011
33012 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33013
54e2ed81
L
330142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33015
33016 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33017 into R11_LP and load __x86_64_shared_cache_size_half into
33018 R8_LP.
33019
8a17f349
L
330202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
33021
33022 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33023 R8_LP.
33024
777b1eea
AZ
330252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33026
33027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33028 logb for POWER7.
33029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33030 logbf for POWER7.
33031 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33032 logbl for POWER7.
33033 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33034 powerpc32/power7/fpu/s_logb.c via #include.
33035 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33036 powerpc32/power7/fpu/s_logbf.c via #include.
33037 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33038 powerpc32/power7/fpu/s_logbl.c via #include.
33039
d20d4ac2
JM
330402012-05-15 Joseph Myers <joseph@codesourcery.com>
33041
33042 * README.libm: Remove file.
33043
6cdef1ab
L
330442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33045
33046 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33047 count for x32. Use R*_LP and omit operand-size suffix.
33048
0b254d8f
L
330492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33050
33051 * shlib-versions: Move x86_64-.*-linux.* entries to ...
33052 * sysdeps/x86_64/64/shlib-versions: Here. New file.
33053 * sysdeps/x86_64/x32/shlib-versions: New file.
33054
ceb809dc
RM
330552012-05-14 Roland McGrath <roland@hack.frob.com>
33056
33057 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33058 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33059 Use _dl_fatal_printf instead.
33060
37f1abd4
JM
330612012-05-14 Joseph Myers <joseph@codesourcery.com>
33062
33063 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33064 set if not set by the user. Do not allow for being unset.
33065 * sysdeps/unix/sysv/linux/configure: Regenerated.
33066
11de3a33
L
330672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33068
33069 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33070 the `q' suffix from lea and replace .quad with ASM_ADDR.
33071
e02f153a
L
330722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33073
33074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33075 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
33076 instead of $17.
33077 (PTR_DEMANGLE): Likewise.
33078
520ae0fd
L
330792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33080
33081 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33082 (LP_OP): Likewise.
33083 (ASM_ADDR): Likewise.
33084 (RAX_LP): Likewise.
33085 (RBP_LP): Likewise.
33086 (RBX_LP): Likewise.
33087 (RCX_LP): Likewise.
33088 (RDI_LP): Likewise.
33089 (RSI_LP): Likewise.
33090 (RSP_LP): Likewise.
33091 (R8_LP): Likewise.
33092 (R9_LP): Likewise.
33093 (R10_LP): Likewise.
33094 (R10_LP): Likewise.
33095 (R11_LP): Likewise.
33096 (R12_LP): Likewise.
33097 (R13_LP): Likewise.
33098 (R14_LP): Likewise.
33099 (R15_LP): Likewise.
33100
b985be81
L
331012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33102
33103 * sysdeps/x86_64/x32/dl-machine.h: New file.
33104
6a4888ff
AJ
331052012-05-14 Andreas Jaeger <aj@suse.de>
33106
33107 * manual/Makefile (subdir): Remove export of subdir.
33108 (all): Remove target.
33109 (.PHONY): Remove all from list.
33110 (mkinstalldirs): Remove.
33111 (.PHONY): Remove installdirs from list.
33112 ($(inst_infodir)/libc.info): Use make-target-directory.
33113 (installdirs): Remove.
33114 (subdir_%): Remove.
33115 (glibc-targets): Remove.
33116 (lib): Remove.
33117 (stubs): Remove.
33118 ($(objpfx)stubs ../po/manual.pot): Remove.
33119 ($(objpfx)stamp%): Remove.
33120 (make-target-directory): Remove.
33121 (subdir_install): Remove.
33122 (routines): Remove.
33123 (aux): Remove.
33124 (sources): Remove.
33125 (objects): Remove.
33126 (headers): Remove.
33127
33128 [BZ #13750]
33129 * manual/.gitignore: Remove, it's not needed anymore.
33130 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33131 all files in it.
33132 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33133 directory.
33134 (texis): Renamed to $(objpfx)texis.
33135 (texis-path): New, contains path to generated files.
33136 (chapters.%): Use texis-path for complete path, add extra argument
33137 libc-texinfo.sh.
33138 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33139 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33140 (summary,texi, stamp-summary): Use complete path of
33141 files. Generate files in build dir.
33142 (dir-add.texi): Build in build dir.
33143 (libm-err.texi,stamp-libm-err): Likewise.
33144 (version.texi, stamp-version): Likewise.
33145 (.%c.texi): Likewise.
33146 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33147 (mostlyclean): Remove target.
33148 (realclean): Remove target.
33149 (generated): Add new variable with contents from mostlyclean and
33150 realclean, remove entries duplicated in common-mostlyclean, add
33151 stamp-libm-err and stamp-version.
33152 (generated-dirs): Add libc directory.
33153 ($(inst_infodir)/libc.info): Install files from build dir.
33154
33155 * manual/install.texi (Configuring and compiling): Adjust since
33156 the info files are not part of the tar ball anymore.
33157
7ac77294
AJ
331582012-05-14 Andreas Jaeger <aj@suse.de>
33159
33160 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33161 variable.
33162
ffb7875d
JM
331632012-05-14 Joseph Myers <joseph@codesourcery.com>
33164
33165 [BZ #13717]
33166 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33167 to 2.2.0 where earlier.
33168 * sysdeps/unix/sysv/linux/configure: Regenerated.
33169 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33170 Remove conditional code.
33171 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33172 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33173 Remove conditional code.
33174 [!__NR_lchown]: Likewise.
33175 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33176 [__NR_lchown]: Likewise.
33177 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33178 comment referencing __ASSUME_LCHOWN_SYSCALL.
33179 * sysdeps/unix/sysv/linux/i386/sigaction.c
33180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33182 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33183 Remove conditional code.
33184 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33185 (__protocol_available): Remove #if 0 code.
33186 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33187 conditional code.
33188 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33189 * sysdeps/unix/sysv/linux/kernel-features.h
33190 (__ASSUME_GETCWD_SYSCALL): Don't define.
33191 (__ASSUME_REALTIME_SIGNALS): Likewise.
33192 (__ASSUME_PREAD_SYSCALL): Likewise.
33193 (__ASSUME_PWRITE_SYSCALL): Likewise.
33194 (__ASSUME_POLL_SYSCALL): Likewise.
33195 (__ASSUME_LCHOWN_SYSCALL): Likewise.
33196 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33197 non-SPARC.
33198 (__ASSUME_SIOCGIFNAME): Don't define.
33199 (__ASSUME_MSG_NOSIGNAL): Likewise.
33200 (__ASSUME_SENDFILE): Define unconditionally.
33201 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33202 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33203 conditional code.
33204 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33205 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33206 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33207 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33208 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33209 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33210 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33215 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33221 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33227 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33233 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33235 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33236 Remove conditional code.
33237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33238 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33239 Remove conditional code.
33240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33241 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33242 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33243 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33244 Remove conditional code.
33245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33246 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33247 Remove conditional code.
33248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33249 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33250 Remove conditional code.
33251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33252 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33253 Remove conditional code.
33254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33255 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33256 Remove conditional code.
33257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33258 * sysdeps/unix/sysv/linux/sh/pwrite64.c
33259 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33260 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33261 * sysdeps/unix/sysv/linux/sigaction.c
33262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33264 * sysdeps/unix/sysv/linux/sigpending.c
33265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33267 * sysdeps/unix/sysv/linux/sigprocmask.c
33268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33270 * sysdeps/unix/sysv/linux/sigsuspend.c
33271 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33272 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33273 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
33274 (__libc_missing_rt_sigs): Remove.
33275 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
33276 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
33277 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
33278 Remove conditional code.
33279 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
33280 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
33281 return 1.
33282 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
33283 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
33284 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
33285 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
33286
1bfb7291
AJ
332872012-05-14 Andreas Jaeger <aj@suse.de>
33288
caae5a81
AJ
33289 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
33290 it's not used in glibc.
33291 (__coshm1): Likewise.
33292 (__acosh1p): Likewise.
33293 (__sgn): Likewise.
33294
1bfb7291
AJ
33295 * manual/string.texi (Copying and Concatenation): Add missing
33296 variable in concat example.
33297 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
33298
c044d724
L
332992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33300
144c5467 33301 [BZ #14103]
c044d724
L
33302 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
33303 __builtin_clzl with __builtin_clzll.
33304
2523c62b
L
333052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
33306
33307 [BZ #14104]
33308 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
33309 libc_freeres_ptr.
33310
d7bb4c42
LD
333112012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33312
33313 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
33314 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
33315 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
33316 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
33317
9dc4e1fb
MF
333182012-05-14 Mike Frysinger <vapier@gentoo.org>
33319
33320 * NEWS: Update ia64 info.
33321
c7df0112
AS
333222012-05-12 Andreas Schwab <schwab@linux-m68k.org>
33323
33324 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
33325 used as bcopy.
33326
dc70356c
TS
333272012-05-12 Thomas Schwinge <thomas@codesourcery.com>
33328
33329 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
33330 * sysdeps/unix/syscalls.list (dup3): Likewise.
33331 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
33332 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
33333
9fb1a21f
L
333342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33335
33336 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
33337 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
33338
4822a2a5
L
333392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
33340
33341 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
33342 thread pointer.
33343 (TLS_IE): Use mov/add instead of movq/addq to load thread
33344 pointer.
33345 (TLS_GD_PREFIX): New.
33346 (TLS_GD): Use it.
33347
842b81d6
DM
333482012-05-11 David S. Miller <davem@davemloft.net>
33349
33350 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
33351 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
33352 (_FPU_SETCW): Likewise.
33353
1cf463cd
L
333542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33355
33356 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
33357 is 32-byte aligned.
33358
60cc4a18
AS
333592012-05-11 Andreas Schwab <schwab@linux-m68k.org>
33360
33361 [BZ #11837]
33362 * iconvdata/gb18030.c: Update tables.
33363 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
33364 characters specially.
33365 (BODY for TO_LOOP): Add encoding of missing ranges.
33366
febb44a4
TS
333672012-05-11 Thomas Schwinge <thomas@codesourcery.com>
33368
33369 [BZ #13673]
33370 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
33371 * sysdeps/mach/hurd/dup3.c: Likewise.
33372 * sysdeps/mach/hurd/readlinkat.c: Likewise.
33373 * sysdeps/powerpc/memmove.c:: Likewise.
33374
0a10fb9e
L
333752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33376
33377 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
33378 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
33379
df8a552f
L
333802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33381
33382 * elf/elf.h (R_X86_64_RELATIVE64): New.
33383 (R_X86_64_NUM): Updated.
33384 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33385 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
33386 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
33387 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
33388 tst-quad1pie tst-quad2pie
33389 (modules-names): Add tst-quadmod1 tst-quadmod2.
33390 ($(objpfx)tst-quad1): New dependency.
33391 ($(objpfx)tst-quad2): Likewise.
33392 ($(objpfx)tst-quad1pie): Likewise.
33393 ($(objpfx)tst-quad2pie): Likewise.
33394 * sysdeps/x86_64/tst-quad1.c: New file.
33395 * sysdeps/x86_64/tst-quad1pie.c: New file.
33396 * sysdeps/x86_64/tst-quad2.c: Likewise.
33397 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
33398 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33399 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33400 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33401 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33402
f34d6f84
ST
334032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33404
f42d41d1
ST
33405 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33406 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33407 * streams/stropts.h (t_scalar_t): Define type.
33408
3c3571fc
ST
33409 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33410 (_PATH_PRESERVE): Set to "/var/lib".
33411 (_PATH_RWHODIR): Set to "/var/spool/rwho".
33412
61f06bd3
ST
33413 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33414 instead of int.
33415
918d4d71
ST
33416 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33417 if __dir_mkfile succeeded.
33418
f34d6f84
ST
33419 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33420 checking for _hurd_dtablesize. Unlock it right after having
33421 finished _hurd_dtable allocation.
33422
10589b4a
TS
334232012-05-10 Thomas Schwinge <thomas@schwinge.name>
33424
674cdbc7
TS
33425 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33426 * sysdeps/mach/hurd/configure: Regenerated.
33427 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33428 special-casing to...
33429 * sysdeps/gnu/configure.in: ... this new file.
33430 * sysdeps/unix/sysv/linux/configure: Regenerated.
33431 * sysdeps/gnu/configure: New generated file.
33432
8e41b99f
TS
33433 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33434 for Linux: use nsec instead of usec, as well as:
33435 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33436 members of type struct timespec.
33437 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33438 New macros.
33439 (struct stat64): Likewise.
33440 (_STATBUF_ST_NSEC): New macro.
33441 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33442
10589b4a
TS
33443 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33444 __strtoul_internal rather than strtoul.
33445
63643c85
PT
334462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33447
33448 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33449 and reject them.
33450
3faebe6a
ST
334512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33452
33453 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33454 which preserves existing values.
33455 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33456
c6474b07
PT
334572012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33458
33459 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33460 TIMEOUT values. Return EINVAL for NFDS values either negative or
33461 greater than FD_SETSIZE.
33462
1043890b
ST
334632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33464
33465 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33466 allocated, call __vm_protect to finish enabling the existing space, and
33467 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33468 allocate the remainder.
33469
37ed8b9b
PT
334702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33471
33472 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33473 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
33474
db653660
ST
334752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33476
37ed8b9b
PT
33477 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33478 sysdeps/mach/hurd/readlink.c.
b29d4053 33479
db653660
ST
33480 * posix/tst-sysconf.c (posix_options): Only use
33481 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33482 _POSIX_SYNCHRONIZED_IO when they are defined
33483 * sysdeps/mach/hurd/bits/posix_opt.h:
33484 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33485 (_XOPEN_REALTIME): Undefine macro.
33486 (_XOPEN_REALTIME_THREADS): Undefine macro.
33487 (_XOPEN_SHM): Undefine macro.
33488 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33489 macro to -1.
33490 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33491 macro to -1.
33492 (_POSIX_ASYNC_IO): Undefine macro.
33493 (_POSIX_PRIORITIZED_IO): Undefine macro.
33494 (_POSIX_SPIN_LOCKS): Define macro to -1.
33495
ee16e894
ST
33496 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33497 SA_NODEFER, SA_RESETHAND.
33498 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33499 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33500 F_DUPFD_CLOEXEC.
33501
6103ae3b
TS
335022012-05-10 Thomas Schwinge <thomas@schwinge.name>
33503
33504 * elf/Makefile (pldd-modules): Define unconditionally.
33505
80b4e5f3
TS
335062012-05-10 Thomas Schwinge <thomas@schwinge.name>
33507
33508 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33509
edadcbd6
ST
335102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33511
33512 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33513 Return ENOENT when name is empty.
33514 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33515
80694780
TS
335162012-05-10 Thomas Schwinge <thomas@schwinge.name>
33517
1792c087
TS
33518 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33519
80694780
TS
33520 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33521
6b645f0d
ST
335222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33523
80694780
TS
33524 Fix mlock in all cases except non-readable pages.
33525 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33526 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 33527
6b645f0d
ST
33528 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33529 (__mkdir): When path is `/', just fail with EEXIST.
33530 * sysdeps/mach/hurd/mkdirat.c: Likewise.
33531
e468f8a3
TS
335322012-05-10 Thomas Schwinge <thomas@schwinge.name>
33533
33534 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33535 <sys/uio.h> (for writev).
33536 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33537 and <sys/param.h> (for MIN).
33538
a4186cff
PT
335392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
33540
33541 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33542 REQUESTED_TIME. Properly set the remaining time and return EINTR
33543 if interrupted.
33544
510bbf14
TS
335452012-05-10 Thomas Schwinge <thomas@schwinge.name>
33546
33547 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33548 Depend on against $(link-rpcuserlibs).
33549
5d5722e8
ST
335502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33551
a4186cff
PT
33552 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33553 (__libc_stack_end): Do not use attribute_relro.
33554 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33555 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 33556 to libthread-provided value.
a4186cff
PT
33557 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33558 attribute_relro.
5d5722e8 33559
37233df9
TS
335602012-05-10 Thomas Schwinge <thomas@schwinge.name>
33561
be971a2b
TS
33562 [BZ #3748]
33563 * bits/libc-lock.h (__libc_once_get): New macro.
33564 * sysdeps/mach/bits/libc-lock.h: Likewise.
33565 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33566 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33567 instead of using implementation details.
33568
37233df9
TS
33569 * libio/fileops.c: Unconditionally include <kernel-features.h>.
33570 * libio/freopen.c: Likewise.
33571 * libio/freopen64.c: Likewise.
33572 * misc/syslog.c: Likewise.
33573 * nscd/connections.c: Likewise.
33574 * nscd/netgroupcache.c: Likewise.
33575 * sysdeps/posix/getcwd.c: Likewise.
33576
38de94a5
RM
335772012-05-10 Roland McGrath <roland@hack.frob.com>
33578
33579 * math/w_ilogbf.c: Add #include <limits.h>.
33580
67530489
ST
335812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33582
a4186cff 33583 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
33584 path instead of returning without unlocking.
33585
67530489
ST
33586 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33587 immediate-write ioctls.
33588 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33589
5aa3a74a
TS
335902012-05-10 Thomas Schwinge <thomas@schwinge.name>
33591
18bad2ae
TS
33592 * sysdeps/mach/hurd/i386/init-first.c (init): Use
33593 __builtin_frame_address instead of making assumptions about the
33594 location of the return address relative to DATA. Force early load of
33595 the return address.
33596 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33597 __builtin_frame_address.
33598
5aa3a74a
TS
33599 dup3 for GNU Hurd.
33600 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33601 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
33602 implement dup3 and do some further code clean-ups.
33603 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33604 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33605
ecd0de9a
ST
336062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33607
cd9fa985
ST
33608 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33609
a4186cff
PT
33610 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33611 HURD_CRITICAL_END around holding _hurd_dtable_lock.
33612 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33613 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33614 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33615 d->port.lock.
802ca5a5 33616
a4186cff
PT
33617 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33618 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
33619 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 33620
bcf55240
TS
336212012-05-10 Thomas Schwinge <thomas@schwinge.name>
33622
6960eb42
TS
33623 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33624 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33625 definitions.
33626
eb43375f
TS
33627 accept4 for GNU Hurd.
33628 * include/sys/socket.h (__libc_accept4): New prototype.
33629 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33630 to implement __libc_accept4.
33631 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33632 __libc_accept4.
33633 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33634
bcf55240
TS
33635 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33636 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33637 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33638 signal-defines.sym.
33639
6178c55b
ST
336402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33641
a4186cff 33642 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 33643
6f080c2f
TS
336442012-05-10 Thomas Schwinge <thomas@schwinge.name>
33645
33646 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33647 assertion on O_CLOEXEC flag.
33648 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33649 * hurd/intern-fd.c: Likewise.
33650 * hurd/port2fd.c: Likewise.
33651
bcfe3a54
ST
336522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33653
33654 [BZ #3906]
33655 * bits/in.h (IPV6_PKTINFO): Define new macro.
33656 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33657
89c9aa49
AZ
336582012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33659
33660 [BZ #13954]
33661 [BZ #13955]
33662 [BZ #13956]
33663 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33664 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33665 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33666 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33667 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33668 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33669 * math/libm-test.inc (logb_test) : Additional logb tests.
33670
021db4be
AJ
336712012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33672 Andreas Jaeger <aj@suse.de>
33673
33674 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33675 * configure: Regenerated.
33676 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33677 * config.make.in (link-obsolete-rpc): New substituted variable.
33678 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33679 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33680 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33681 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33682 so that libc.a contains the symbols.
33683 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33684 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33685 * sunrpc/auth_none.c: Likewise.
33686 * sunrpc/auth_unix.c: Likewise.
33687 * sunrpc/authdes_prot.c: Likewise.
33688 * sunrpc/authuxprot.c: Likewise.
33689 * sunrpc/clnt_gen.c: Likewise.
33690 * sunrpc/clnt_perr.c: Likewise.
33691 * sunrpc/clnt_raw.c: Likewise.
33692 * sunrpc/clnt_simp.c: Likewise.
33693 * sunrpc/clnt_tcp.c: Likewise.
33694 * sunrpc/clnt_udp.c: Likewise.
33695 * sunrpc/clnt_unix.c: Likewise.
33696 * sunrpc/des_crypt.c: Likewise.
33697 * sunrpc/des_soft.c: Likewise.
33698 * sunrpc/get_myaddr.c: Likewise.
33699 * sunrpc/key_call.c: Likewise.
33700 * sunrpc/key_prot.c: Likewise.
33701 * sunrpc/netname.c: Likewise.
33702 * sunrpc/pm_getmaps.c: Likewise.
33703 * sunrpc/pm_getport.c: Likewise.
33704 * sunrpc/pmap_clnt.c: Likewise.
33705 * sunrpc/pmap_prot.c: Likewise.
33706 * sunrpc/pmap_prot2.c: Likewise.
33707 * sunrpc/pmap_rmt.c: Likewise.
33708 * sunrpc/publickey.c: Likewise.
33709 * sunrpc/rpc_cmsg.c: Likewise.
33710 * sunrpc/rpc_common.c: Likewise.
33711 * sunrpc/rpc_dtable.c: Likewise.
33712 * sunrpc/rpc_prot.c: Likewise.
33713 * sunrpc/rpc_thread.c: Likewise.
33714 * sunrpc/rtime.c: Likewise.
33715 * sunrpc/svc.c: Likewise.
33716 * sunrpc/svc_auth.c: Likewise.
33717 * sunrpc/svc_raw.c: Likewise.
33718 * sunrpc/svc_run.c: Likewise.
33719 * sunrpc/svc_tcp.c: Likewise.
33720 * sunrpc/svc_udp.c: Likewise.
33721 * sunrpc/svc_unix.c: Likewise.
33722 * sunrpc/svcauth_des.c: Likewise.
33723 * sunrpc/xcrypt.c: Likewise.
33724 * sunrpc/xdr.c: Likewise.
33725 * sunrpc/xdr_array.c: Likewise.
33726 * sunrpc/xdr_float.c: Likewise.
33727 * sunrpc/xdr_intXX_t.c: Likewise.
33728 * sunrpc/xdr_mem.c: Likewise.
33729 * sunrpc/xdr_rec.c: Likewise.
33730 * sunrpc/xdr_ref.c: Likewise.
33731 * sunrpc/xdr_sizeof.c: Likewise.
33732 * sunrpc/xdr_stdio.c: Likewise.
33733
b5c086a2
RM
337342012-05-10 Roland McGrath <roland@hack.frob.com>
33735
33736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33737 change. Update copyright years.
33738
6d74dd09
JM
337392012-05-10 Joseph Myers <joseph@codesourcery.com>
33740
33741 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33742
28e72501
MK
337432012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33744 Joseph Myers <joseph@codesourcery.com>
33745 Paul Pluzhnikov <ppluzhnikov@google.com>
33746
33747 [BZ #14012]
33748 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33749 requiring rpcgen.
33750 [cross-compiling] (extra-libs): Likewise.
33751 [cross-compiling] (extra-libs-others): Likewise.
33752 [cross-compiling] (librpcsvc-routines): Likewise.
33753 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33754 [cross-compiling] (omit-deps): Likewise.
33755 (sunrpc-CPPFLAGS): New variable.
33756 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33757 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33758 (cross-rpcgen-objs): New variable.
33759 (extra-objs): Append $(cross-rpcgen-objs).
33760 ($(cross-rpcgen-objs)): New rule.
33761 ($(objpfx)cross-rpcgen): Likewise.
33762 (rpcgen-cmd): Define to use $(built-program-file). Expand
33763 comment.
33764 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33765 ($(objpfx)x%.stmp): Likewise.
33766 * sunrpc/proto.h [IS_IN_build] (_): Define.
33767 [IS_IN_build] (_libc_intl_domainname): Likewise.
33768
c8c59454
L
337692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33770
33771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33772 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33773 and R_X86_64_TPOFF64.
33774
6f27cd16
JM
337752012-05-10 Joseph Myers <joseph@codesourcery.com>
33776
33777 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33778 sysdeps/unix/sysv/syscalls.list.
33779 (stime): Likewise.
33780 (utime): Likewise.
33781 * sysdeps/unix/sysv/syscalls.list: Remove file.
33782
02467e1c
PE
337832012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33784
33785 [BZ #3440]
33786 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33787 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33788 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33789 (__LC_IDENTIFICATION): Make these macros useful in #if
33790 expressions, as required by C99.
33791
da392631
AS
337922012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33793
33794 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33795 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33796 after this.
33797
8115f29b
L
337982012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33799
33800 * stdlib/longlong.h: Updated from GCC.
33801
bdd74070
AJ
338022012-05-09 Andreas Jaeger <aj@suse.de>
33803
edfe0dbe
AJ
33804 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33805 default is first entry.
33806 (run_mode): Set type.
33807 (main): Remove informal message about syslog.
33808 (options): Fix typo.
33809
bcfe3a54
ST
33810 [BZ #14053]
33811 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 33812 to asm.
bcfe3a54
ST
33813 (lrint): Likewise.
33814 (llrintf): Likewise.
33815 (llrint): Likewise.
33816 (rint): Likewise.
33817 (rintf): Likewise.
33818 (nearbyint): Likewise.
33819 (nearbyintf): Likewise.
bdd74070 33820
91d8d69e
AJ
338212012-05-09 Andreas Jaeger <aj@suse.de>
33822 Pedro Alves <palves@redhat.com>
33823
33824 * nscd/nscd.c (run_mode): Use enum.
33825 (main): Cleanup coding style issue.
33826
bb90b80b
AJ
338272012-05-09 Alexandre Oliva <aoliva@redhat.com>
33828 Andreas Jaeger <aj@suse.de>
33829
bcfe3a54
ST
33830 * nscd/nscd.c (go_background): Replaced with...
33831 (run_mode): ... this.
bb90b80b 33832 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
33833 (options): Add -F --foreground.
33834 (main): Implement it.
33835 (parse_opt): Parse it.
bb90b80b 33836
1a4b75a1
AJ
338372012-05-09 Andreas Jaeger <aj@suse.de>
33838
33839 [BZ #14083]
33840 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33841 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33842 -Wconversion warning.
33843 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33844 Likewise.
33845
b1cc2472
JM
338462012-05-09 Joseph Myers <joseph@codesourcery.com>
33847
33848 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33849 == 0.
33850 (LC_ALL): Use macro-int-constant.
33851 (LC_COLLATE): Likewise.
33852 (LC_CTYPE): Likewise.
33853 (LC_MESSAGES): Likewise.
33854 (LC_MONETARY): Likewise.
33855 (LC_NUMERIC): Likewise.
33856 (LC_TIME): Likewise.
33857 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33858 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33859 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33860 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33861 Specify type.
33862 [C99-based standards] (float_t): Expect type.
33863 [C99-based standards] (double_t): Expect type.
33864 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33865 type.
33866 [C99-based standards] (HUGE_VALL): Likewise.
33867 [C99-based standards] (INFINITY): Likewise.
33868 [C99-based standards] (NAN): Likewise.
33869 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33870 [C99-based standards] (FP_NAN): Likewise.
33871 [C99-based standards] (FP_NORMAL): Likewise.
33872 [C99-based standards] (FP_SUBNORMAL): Likewise.
33873 [C99-based standards] (FP_ZERO): Likewise.
33874 [C99-based standards] (FP_FAST_FMA): Use
33875 optional-macro-int-constant. Specify type. Require == 1.
33876 [C99-based standards] (FP_FAST_FMAF): Likewise.
33877 [C99-based standards] (FP_FAST_FMAL): Likewise.
33878 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33879 [C99-based standards] (FP_ILOGBNAN): Likewise.
33880 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33881 Specify type.
33882 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33883 [C99-based standards] (math_errhandling): Specify type.
33884 [ISO99 || ISO11] (signgam): Do not allow.
33885 [non-C99-based standards] (copysignf): Do not allow.
33886 [non-C99-based standards] (exp2f): Likewise.
33887 [non-C99-based standards] (log2f): Likewise.
33888 [non-C99-based standards] (modff): Allow.
33889 [non-C99-based standards] (erff): Do not allow.
33890 [non-C99-based standards] (erfcf): Likewise.
33891 [non-C99-based standards] (gammaf): Likewise.
33892 [non-C99-based standards] (hypotf): Likewise.
33893 [non-C99-based standards] (j0f): Likewise.
33894 [non-C99-based standards] (j1f): Likewise.
33895 [non-C99-based standards] (jnf): Likewise.
33896 [non-C99-based standards] (lgammaf): Likewise.
33897 [non-C99-based standards] (tgammaf): Likewise.
33898 [non-C99-based standards] (y0f): Likewise.
33899 [non-C99-based standards] (y1f): Likewise.
33900 [non-C99-based standards] (ynf): Likewise.
33901 [non-C99-based standards] (isnanf): Likewise.
33902 [non-C99-based standards] (acoshf): Likewise.
33903 [non-C99-based standards] (asinhf): Likewise.
33904 [non-C99-based standards] (atanhf): Likewise.
33905 [non-C99-based standards] (cbrtf): Likewise.
33906 [non-C99-based standards] (expm1f): Likewise.
33907 [non-C99-based standards] (ilogbf): Likewise.
33908 [non-C99-based standards] (log1pf): Likewise.
33909 [non-C99-based standards] (logbf): Likewise.
33910 [non-C99-based standards] (nextafterf): Likewise.
33911 [non-C99-based standards] (remainderf): Likewise.
33912 [non-C99-based standards] (rintf): Likewise.
33913 [non-C99-based standards] (scalbf): Likewise.
33914 [non-C99-based standards] (copysignl): Likewise.
33915 [non-C99-based standards] (exp2l): Likewise.
33916 [non-C99-based standards] (log2l): Likewise.
33917 [non-C99-based standards] (modfl): Allow.
33918 [non-C99-based standards] (erfl): Do not allow.
33919 [non-C99-based standards] (erfcl): Likewise.
33920 [non-C99-based standards] (gammal): Likewise.
33921 [non-C99-based standards] (hypotl): Likewise.
33922 [non-C99-based standards] (j0l): Likewise.
33923 [non-C99-based standards] (j1l): Likewise.
33924 [non-C99-based standards] (jnl): Likewise.
33925 [non-C99-based standards] (lgammal): Likewise.
33926 [non-C99-based standards] (tgammal): Likewise.
33927 [non-C99-based standards] (y0l): Likewise.
33928 [non-C99-based standards] (y1l): Likewise.
33929 [non-C99-based standards] (ynl): Likewise.
33930 [non-C99-based standards] (isnanl): Likewise.
33931 [non-C99-based standards] (acoshl): Likewise.
33932 [non-C99-based standards] (asinhl): Likewise.
33933 [non-C99-based standards] (atanhl): Likewise.
33934 [non-C99-based standards] (cbrtl): Likewise.
33935 [non-C99-based standards] (expm1l): Likewise.
33936 [non-C99-based standards] (ilogbl): Likewise.
33937 [non-C99-based standards] (log1pl): Likewise.
33938 [non-C99-based standards] (logbl): Likewise.
33939 [non-C99-based standards] (nextafterl): Likewise.
33940 [non-C99-based standards] (remainderl): Likewise.
33941 [non-C99-based standards] (rintl): Likewise.
33942 [non-C99-based standards] (scalbl): Likewise.
33943 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33944 [non-C99-based standards] (FP_*): Do not allow.
33945 [C99-based standards] (FP_*): Change to
33946 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33947 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33948 allow.
33949 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33950 (SIG_ERR): Likewise.
33951 [X/Open-based standards] (SIG_HOLD): Likewise.
33952 (SIG_IGN): Likewise.
33953 (SIGABRT): Use macro-int-constant. Specify type. Require
33954 positive value.
33955 (SIGFPE): Likewise.
33956 (SIGILL): Likewise.
33957 (SIGINT): Likewise.
33958 (SIGSEGV): Likewise.
33959 (SIGTER): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33961 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33963 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33964 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33965 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33966 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33967 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33968 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33969 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33970 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33971 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33972 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33973 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33974 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33975 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33978 [X/Open-based standards] (SIGTRAP): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33983 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33984 allow.
33985
b9f1922d
IW
339862012-05-08 Ian Wienand <ianw@vmware.com>
33987
33988 [BZ #14080]
33989 * time/tzset.c (__tzset_parse_tz): Update default rules for
33990 daylight time changes in the Energy Policy Act of 2005.
33991
1db86e88
AJ
339922012-05-09 Andreas Jaeger <aj@suse.de>
33993
33994 [BZ #13983]
33995 * elf/ldconfig.c (parse_conf): Change string to make clear that
33996 ldconfig only issued a warning if ld.so.conf does not exist.
33997
dee4a4e3
DM
339982012-05-08 David S. Miller <davem@davemloft.net>
33999
ee0db190
DM
34000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34001 movxtod instead of popping the value on the stack.
34002
dee4a4e3
DM
34003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34004
6a43ec98
CD
340052012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
34006
34007 * config.h.in: Add HAVE_ARM_PCS_VFP.
34008
05c2c961
RMG
340092012-05-08 Roland Mc Grath <roland@hack.frob.com>
34010
bcfe3a54
ST
34011 [BZ #13979]
34012 * include/features.h: Warn if user requests __FORTIFY_SOURCE
34013 checking but the checks are disabled for any reason.
05c2c961 34014
4b30f61a
L
340152012-05-08 H.J. Lu <hongjiu.lu@intel.com>
34016
34017 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34018 and ELF64_R_TYPE with ELFW(R_TYPE).
34019
eee2bc67
JM
340202012-05-08 Joseph Myers <joseph@codesourcery.com>
34021
7ea5391a
JM
34022 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34023 (ulimit): Likewise.
34024
eee2bc67
JM
34025 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34026 (settimeofday): Likewise.
34027
abb66a67
MF
340282012-05-08 Mike Frysinger <vapier@gentoo.org>
34029
34030 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
34031 a struct th_u2 inside the union, and move tu_block/tu_code into
34032 a new th_u3 union of tu_block/tu_code inside of that. Move
34033 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
34034 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
34035 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34036 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34037 (th_stuff): Change to th_u1.tu_stuff.
34038 (th_data): Define.
34039 (th_msg): Change to th_u1.th_u2.tu_data.
34040
7f18b530
DM
340412012-05-07 David S. Miller <davem@davemloft.net>
34042
05760585
DM
34043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34044
7f18b530
DM
34045 [BZ #14074]
34046 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34047 (SETUP_PIC_REG): Use it.
34048 (SETUP_PIC_REG_LEAF): Use it.
34049
495fd99f
JM
340502012-05-07 Joseph Myers <joseph@codesourcery.com>
34051
34052 [BZ #13885]
34053 [BZ #13923]
34054 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34055 USE_AS_EXPM1L.
34056 (EXPL_FINITE): Likewise.
34057 (FLDLOG): Likewise.
34058 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34059 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34060 e_expl.S.
34061 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34062 USE_AS_EXPM1L.
34063 (EXPL_FINITE): Likewise.
34064 (FLDLOG): Likewise.
34065 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34066 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34067 e_expl.S.
34068 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
34069 test of -max_value argument for long double.
34070 * sysdeps/i386/fpu/libm-test-ulps: Update.
34071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34072
6693d694
DM
340732012-05-06 David S. Miller <davem@davemloft.net>
34074
34075 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34076 quad soft-float symbols whose references which are compiler
34077 generated.
34078 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34079
6c23e11c
JM
340802012-05-06 Joseph Myers <joseph@codesourcery.com>
34081
d8b82cad
JM
34082 [BZ #13884]
34083 [BZ #13914]
34084 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34085 USE_AS_EXP10L.
34086 (EXPL_FINITE): Likewise.
34087 (FLDLOG): Likewise.
34088 (c0): Likewise.
34089 (c1): Likewise.
34090 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34091 Adjust comments for base varying.
34092 (__expl_finite): Change alias to EXPL_FINITE.
34093 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34094 e_expl.S.
34095 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34096 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34097 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34098 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34099 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34100 USE_AS_EXP10L.
34101 (EXPL_FINITE): Likewise.
34102 (FLDLOG): Likewise.
34103 (c0): Likewise.
34104 (c1): Likewise.
34105 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
34106 Adjust comments for base varying.
34107 (__expl_finite): Change alias to EXPL_FINITE.
34108 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
34109 tests for bugs.
34110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34111
6c23e11c
JM
34112 [BZ #14064]
34113 * math/libm-test.inc (check_float_internal): Correct ulp
34114 calculation for subnormal expected results.
34115
29ba805c
AJ
341162012-05-06 Andreas Jaeger <aj@suse.de>
34117
34118 * Makeconfig (+math-flags): New, set to -frounding-math.
34119 (+cflags): Add +math-flags so that all of glibc gets compiled with
34120 it.
34121
34122 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34123
7b17aeda
JM
341242012-05-05 Joseph Myers <joseph@codesourcery.com>
34125
5779f134
JM
34126 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34127 Disable one test.
34128
41498f4d
JM
34129 [BZ #13787]
34130 [BZ #13922]
34131 [BZ #14036]
34132 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34133 (__ieee754_expl): Allow for and saturate large arguments.
34134 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34135 (u_threshold): Likewise.
34136 (__exp): Call __ieee754_exp before checking for overflow and
34137 underflow.
34138 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34139 (u_threshold): Likewise.
34140 (__expf): Call __ieee754_expf before checking for overflow and
34141 underflow.
34142 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34143 (u_threshold): Likewise.
34144 (__expl): Call __ieee754_expl before checking for overflow and
34145 underflow.
34146 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34147 (__ieee754_expl): Allow for and saturate large arguments.
34148 * math/libm-test.inc (exp_test): Add another test. Do not allow
34149 missing overflow exception on overflow.
34150 (expm1_test): Do not allow missing overflow exception on overflow.
34151
6698b8bf
JM
34152 * sysdeps/i386/fpu/e_expl.c: Move to ...
34153 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
34154 rather than using inline asm.
34155 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34156 * sysdeps/x86_64/fpu/e_expl.S: Copy from
34157 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34158
7b17aeda
JM
34159 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34160 (nice): Likewise.
34161 (poll): Likewise.
34162 (signal): Likewise.
34163 (time): Likewise.
34164 (times): Likewise.
34165
f7c85819
JM
341662012-05-04 Joseph Myers <joseph@codesourcery.com>
34167
34168 * sysdeps/unix/syscalls.list (adjtime): Add entry from
34169 sysdeps/unix/common/syscalls.list.
34170 (fchmod): Likewise.
34171 (fchown): Likewise.
34172 (ftruncate): Likewise.
34173 (getrusage): Likewise.
34174 (gettimeofday): Likewise.
34175 (setpgid): Likewise.
34176 (setregid): Likewise.
34177 (setreuid): Likewise.
34178 (sigaction): Likewise.
34179 (truncate): Likewise.
34180 (vhangup): Likewise.
34181 * sysdeps/unix/common/syscalls.list: Remove file.
34182 * sysdeps/unix/bsd/Implies: Don't include unix/common.
34183 * sysdeps/unix/sysv/linux/Implies: Likewise.
34184
336270d0
L
341852012-05-04 H.J. Lu <hongjiu.lu@intel.com>
34186
34187 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34189 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34190 Moved to ...
34191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34192 Here.
34193 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34194 to ...
34195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34196 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34197 to ...
34198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34199 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34200 to ...
34201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34202 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34203 to ...
34204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34205 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34206 to ...
34207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34208 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34209 to ...
34210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34211 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34212 to ...
34213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34214 Here.
34215 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34216 to ...
34217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34218 Here.
34219 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34220 to ...
34221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34222 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34223 Moved to ...
34224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34225 Here.
34226 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34227 to ...
34228 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34229
d128e450
JM
342302012-05-04 Joseph Myers <joseph@codesourcery.com>
34231
fa8ee516
JM
34232 * sysdeps/unix/common/bits/dirent.h: Remove file.
34233 * sysdeps/unix/common/bits/fcntl.h: Likewise.
34234
d128e450
JM
34235 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34236 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34237 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34238 * sysdeps/unix/bsd/isatty.c: Likewise.
34239 * sysdeps/unix/bsd/tcdrain.c: Likewise.
34240 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34241 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34242
ff8faaf0 342432012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 34244
62881be4 34245 [BZ #13563]
31dc8730
AZ
34246 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34247 long double comparison inaccuracies.
34248 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34250
6fef930c
AS
342512012-05-04 Andreas Schwab <schwab@linux-m68k.org>
34252
34253 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34255
8f203e6c
JM
342562012-05-04 Joseph Myers <joseph@codesourcery.com>
34257
34258 [BZ #14049]
34259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
34260 nonzero digits before rounding a hex value.
34261 * stdlib/tst-strtod.c (tests): Add another test.
34262
5197d9c2
AK
342632012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34264
34265 * sysdeps/s390/fpu/libm-test-ulps: Update.
34266
f0c1dedf
AJ
342672012-05-03 Andreas Jaeger <aj@suse.de>
34268
34269 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
34270 does not get optimized out.
34271 (malloc_opt_barrier): New.
34272
a65ef2ae 342732012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 34274 Roland McGrath <roland@hack.frob.com>
a65ef2ae 34275
2b942cb7 34276 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 34277 intermediate file deletion.
2b942cb7 34278 (generated): Add .symlist files.
a65ef2ae 34279
54b71e02
JM
342802012-05-03 Joseph Myers <joseph@codesourcery.com>
34281
34282 [BZ #13775]
34283 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
34284 Redirect under this condition.
34285 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34286 [__USE_GNU] (__dprintf_chk): Not under this condition.
34287 [__USE_GNU] (__vdprintf_chk): Likewise.
34288 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
34289 under this condition.
34290 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
34291 [__USE_XOPEN2K8] (dprintf): Define under this condition.
34292 [__USE_XOPEN2K8] (vdprintf): Likewise.
34293 [__USE_GNU] (__dprintf_chk): Not under this condition.
34294 [__USE_GNU] (__vdprintf_chk): Likewise.
34295 [__USE_GNU] (dprintf): Likewise.
34296 [__USE_GNU] (vdprintf): Likewise.
34297
d3dfcc41
RM
342982012-05-03 Roland McGrath <roland@hack.frob.com>
34299
34300 * elf/Makefile (common-generated): Set this instead of generated for
34301 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
34302 $(all-built-dso)-derived lists.
34303
7ac30cc5
AJ
343042012-05-03 Andreas Jaeger <aj@suse.de>
34305
0c51e550
AJ
34306 * sysdeps/i386/fpu/libm-test-ulps: Update.
34307
7ac30cc5
AJ
34308 * FAQ: Removed.
34309 * FAQ.in: Likewise.
34310 * scripts/gen-FAQ.pl: Likewise.
34311 * manual/install.texi (Installation): Point to online location of
34312 FAQ.
34313 * Makefile (files-for-dist): Remove FAQ.
34314 (FAQ): Remove.
34315
d4c2917f
AM
343162012-05-02 Allan McRae <allan@archlinux.org>
34317
34318 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
34319 (LDFLAGS-reldepmod5.so): Likewise.
34320 (LDFLAGS-reldep6mod1.so): Likewise.
34321 (LDFLAGS-reldep6mod4.so): Likewise.
34322 (LDFLAGS-reldep8mod3.so): Likewise.
34323 (LDFLAGS-unload4mod1.so): Likewise.
34324 (LDFLAGS-unload4mod2.so): Likewise.
34325 (LDFLAGS-tst-initorder): Likewise.
34326 (LDFLAGS-tst-initordera2.so): Likewise.
34327 (LDFLAGS-tst-initordera3.so): Likewise.
34328 (LDFLAGS-tst-initordera4.so): Likewise.
34329 (LDFLAGS-tst-initorderb2.so): Likewise.
34330 (LDFLAGS-noload): Likewise.
34331 (LDFLAGS-next): Likewise.
34332 (LDFLAGS-order2mod1.so): Likewise.
34333 (LDFLAGS-order2mod2.so): Likewise.
34334 (LDFLAGS-tst-initorder2): Likewise.
34335 (LDFLAGS-tst-initorder2a.so): Likewise.
34336 (LDFLAGS-tst-initorder2b.so): Likewise.
34337 (LDFLAGS-tst-initorder2c.so): Likewise.
34338 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
34339
d77f993f
DM
343402012-05-02 David S. Miller <davem@davemloft.net>
34341
34342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34343
171a70b4
PP
343442012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
34345
34346 [BZ #14055]
34347 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
34348
0be196ad
AJ
343492012-05-02 Andreas Jaeger <aj@suse.de>
34350
34351 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
34352 since we manipulate rounding mode.
34353 (CPPFLAGS-test-idouble.c): Likewise.
34354 (CPPFLAGS-test-ifloat.c): Likewise.
34355 (CFLAGS-test-ldouble.c): Likewise.
34356 (CFLAGS-test-double.c): Likewise.
34357 (CFLAGS-test-float.c): Likewise.
34358 (CFLAGS-test-misc.c): Likewise.
34359 (CFLAGS-test-test-fenv.c): Likewise.
34360
4f9d04aa
AZ
343612012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34362
2b942cb7
RM
34363 [BZ #2550]
34364 [BZ #2570]
34365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
34366 comparisons to determine direction to adjust input.
4f9d04aa 34367
82a79e7d
RM
343682012-05-01 Roland McGrath <roland@hack.frob.com>
34369
f5a01ca9
RM
34370 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
34371 output to the target.
34372
90fe4186
RM
34373 * scripts/localplt.awk: New file.
34374 * elf/Makefile ($(objpfx)check-localplt): Target removed.
34375 (check-localplt-CFLAGS): Variable removed.
34376 ($(all-built-dso:=.jmprel)): New static pattern rule.
34377 (generated): Add those targets.
34378 (localplt-built-dso): New variable.
34379 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
34380
34381 * elf/check-localplt.c: File removed.
34382
82397ed6
RM
34383 * scripts/check-execstack.awk: New file.
34384 * elf/Makefile ($(objpfx)check-execstack): Target removed.
34385 (check-execstack-CFLAGS): Variable removed.
34386 ($(objpfx)check-execstack.h): Target removed.
34387 ($(objpfx)execstack-default): New target.
34388 (generated): Add that instead of check-execstack.h.
34389 ($(all-built-dso:=.phdr)): New static pattern rule.
34390 (generated): Add those targets.
34391 * elf/check-execstack.c: File removed.
34392
82a79e7d
RM
34393 * scripts/check-textrel.awk: New file.
34394 * elf/Makefile ($(objpfx)check-textrel): Target removed.
34395 (check-textrel-CFLAGS): Variable removed.
34396 (all-built-dso): Use := to define.o
34397 ($(all-built-dso:=.dyn)): New static pattern rule.
34398 (generated): Add those targets.
34399 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34400 * config.make.in (READELF): New substituted variable.
34401 * elf/check-textrel.c: File removed.
34402
62fde54f 344032012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 34404
615605c9
JM
34405 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34406 allow.
34407 * conform/data/ctype.h-data [C99-based standards] (isblank):
34408 Expect function.
34409 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34410 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34411 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34412 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34413 Specify type. Require positive value.
34414 (EILSEQ): Likewise.
34415 (ERANGE): Likewise.
34416 [ISO || POSIX] (EILSEQ): Do not expect.
34417 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34418 Specify type. Require positive value.
34419 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34420 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34421 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34422 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34423 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34424 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34425 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34426 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34427 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34428 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34429 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34430 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34431 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34432 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34433 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34434 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34435 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34436 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34437 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34438 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34439 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34440 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34441 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34442 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34443 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34444 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34445 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34446 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34447 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34448 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34449 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34450 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34451 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34452 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34453 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34454 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34455 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34456 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34457 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34458 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34459 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34460 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34461 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34462 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34463 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34464 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34465 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34466 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34467 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34468 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34469 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34470 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34471 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34472 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34473 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34474 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34475 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34476 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34477 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34478 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34479 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34480 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34481 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34482 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34483 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34484 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34485 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34486 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34487 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34488 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34489 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34490 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34491 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34492 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34493 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34494 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34495 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34496 Require >= 2.
34497 (FLT_ROUNDS): Expect as macro, not constant.
34498 (FLT_MANT_DIG): Use macro-int-constant.
34499 (DBL_MANT_DIG): Likewise.
34500 (LDBL_MANT_DIG): Likewise.
34501 (FLT_DIG): Likewise.
34502 (DBL_DIG): Likewise.
34503 (LDBL_DIG): Likewise.
34504 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
34505 (DBL_MIN_EXP): Likewise.
34506 (LDBL_MIN_EXP): Likewise.
34507 (FLT_MAX_EXP): Use macro-int-constant.
34508 (DBL_MAX_EXP): Likewise.
34509 (LDBL_MAX_EXP): Likewise.
34510 (FLT_MAX_10_EXP): Likewise.
34511 (DBL_MAX_10_EXP): Likewise.
34512 (LDBL_MAX_10_EXP): Likewise.
34513 (FLT_MAX): Use macro-constant.
34514 (DBL_MAX): Likewise.
34515 (LDBL_MAX): Likewise.
34516 (FLT_EPSILON): Use macro-constant. Give upper bound.
34517 (DBL_EPSILON): Likewise.
34518 (LDBL_EPSILON): Likewise.
34519 (FLT_MIN): Likewise.
34520 (DBL_MIN): Likewise.
34521 (LDBL_MIN): Likewise.
34522 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34523 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34524 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34525 [ISO11] (FLT_HAS_SUBNORM): Likewise.
34526 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34527 [ISO11] (DBL_DECIMAL_DIG): Likewise.
34528 [ISO11] (FLT_DECIMAL_DIG): Likewise.
34529 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34530 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34531 [ISO11] (FLT_TRUE_MIN): Likewise.
34532 [ISO11] (LDBL_TRUE_MIN): Likewise.
34533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34534 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34535 (SCHAR_MIN): Use macro-int-constant. Specify type.
34536 (SCHAR_MAX): Likewise.
34537 (UCHAR_MAX): Likewise.
34538 (CHAR_MIN): Likewise.
34539 (CHAR_MAX): Likewise.
34540 (MB_LEN_MAX): Use macro-int-constant.
34541 (SHRT_MIN): Use macro-int-constant. Specify type.
34542 (SHRT_MAX): Likewise.
34543 (USHRT_MAX): Likewise.
34544 (INT_MAX): Likewise.
34545 (INT_MIN): Use macro-int-constant. Specify type. Make upper
34546 bound negative.
34547 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
34548 bound with "U".
34549 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34550 bound with "L".
34551 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
34552 bound negative. Suffix upper bound with "L".
34553 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
34554 bound with "UL".
34555 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34556 Specify type.
34557 [C99-based standards] (LLONG_MAX): Likewise.
34558 [C99-based standards] (ULLONG_MAX): Likewise.
34559 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
34560 == 0.
34561 [ISO11] (max_align_t): Require type.
34562 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34563
c9140a62
JM
34564 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34565 from $CFLAGS, without defining away __attribute__ calls.
34566 (checknamespace): Use $CFLAGS_namespace.
34567
9af0bf29
JM
34568 * conform/conformtest.pl (@keywords): Only include C99 keywords
34569 for standards based on C99 or C11.
34570
343222a2
JM
34571 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34572 Disable tests.
34573 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34574 UNIX98]: Likewise.
34575
661f8cf0
JM
34576 * conform/conformtest.pl: Handle "macro-int-constant" and test for
34577 usability of symbols in #if.
34578
ee74b9cb
JM
34579 * conform/conformtest.pl: If macro or constant types start
34580 "promoted:", expect the symbol to be of the following type
34581 promoted by the integer promotions.
62fde54f 34582
aafc49b3
JM
34583 * conform/conformtest.pl: Parse all "constant" and "macro" lines
34584 in one place. Also handle "macro-constant".
34585
fefdf574
JM
34586 * conform/conformtest.pl: Only accept expected macro values with
34587 "==". Parse all "macro" lines in one place.
34588 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34589
f2d922fe
JM
34590 * conform/conformtest.pl: Handle braced types on "constant" lines
34591 instead of handling "typed-constant".
34592 * conform/data/signal.h-data: Use "constant" instead of
34593 "typed-constant".
34594
d22956c9
JM
34595 * conform/conformtest.pl: Handle "optional-" at start of lines in
34596 one place rather than duplicating several cases. Handle each
34597 format of "macro" line with initial "optional-".
34598
028e2e38
JM
34599 * conform/conformtest.pl: Only accept expected constant or
34600 optional-constant values with "==". Parse all "constant" lines in
34601 one place. Parse all "optional-constant" lines in one place.
34602 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34603 * conform/data/fmtmsg.h-data: Likewise.
34604 * conform/data/netinet/in.h-data: Likewise.
34605 * conform/data/tar.h-data: Likewise.
34606 * conform/data/limits.h-data: Use "==" form on "constant" and
34607 "optional-constant" lines.
34608
1b8f2850
JM
34609 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34610 Use -std=c99 for XOPEN2K.
34611 (@knownproblems): Remove.
34612 (newtoken): Don't check %isknown.
34613
a05a144b
JM
34614 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34615 Do not expect macro.
34616 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34617 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34618 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34619 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34620 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34621 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34622 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34623 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34624 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34625 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34626 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34627 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34628 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34629 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34630 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34631 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34632 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34633 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34634 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34635 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34636 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34637 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34638 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34639 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34640 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34641 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34642 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34643 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34644 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34645 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34646 [XPG3] (acosh): Likewise.
34647 [XPG3] (asinh): Likewise.
34648 [XPG3] (atanh): Likewise.
34649 [XPG3] (cbrt): Likewise.
34650 [XPG3] (expm1): Likewise.
34651 [XPG3] (ilogb): Likewise.
34652 [XPG3] (log1p): Likewise.
34653 [XPG3] (logb): Likewise.
34654 [XPG3] (nextafter): Likewise.
34655 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34656 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34657 [XPG3] (remainder): Likewise.
34658 [XPG3] (rint): Likewise.
34659 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34660 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34661 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34662 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34663 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34664 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34665 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34666 [UNIX98 || XOPEN2K] (scalb): Expect.
34667 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34668 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34669 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34670 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34671 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34672 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34673 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34674 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34675 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34676 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34677 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34678 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34679 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34680 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34681 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34682 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34683 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34684 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34685 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34686 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34687 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34688 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34689 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34690 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34691 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34692 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34693 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34694 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34695 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34696 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34697 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34698 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34699 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34700 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34701 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34702 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34703 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34704 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34705 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34706 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34707 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34708 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34709 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34710 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34711 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34712 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34713 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34714 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34715 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34716 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34717 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34718 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34719 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34720 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34721 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34722 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34723 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34724 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34725 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34726 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34727 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34728 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34729 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34730 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34731 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34732 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34733 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34734 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34735 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34736 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34737 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34738 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34739 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34740 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34741 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34742 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34743 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34744 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34745 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34746 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34747 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34748 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34749 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34750 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34751 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34752 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34753 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34754 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34755 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34756 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34757 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34758 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34759 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34760 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34761 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34762 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34763 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34764 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34765 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34766 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34767 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34768 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34769 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34770 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34771 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34772 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34773 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34774 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34775 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34776 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34777 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34778 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34779 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34780 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34781 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34782 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34783 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34784 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34785 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34786 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34787 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34788 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34789 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34790 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34791 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34792 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34793 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34794 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34795 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34796 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34797 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34798 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34799 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34800 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34801 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34802 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34803 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34804
73c5ebe3
JM
34805 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34806 _XOPEN_SOURCE_EXTENDED for XPG4.
34807
39c33b6c
JM
34808 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34809
62fde54f
JM
34810 * Makeconfig (localtime): Remove variable.
34811 (inst_localtime-file): Likewise.
34812
0741d64c
AS
348132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34814
34815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34816 Update.
34817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34818 Update.
34819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34820 Update.
34821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34822 Update.
34823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34824 Update.
34825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34826 Update.
34827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34828 Update.
34829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34830 Update.
34831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34832 Update.
34833
7cb029ee
JM
348342012-05-01 Joseph Myers <joseph@codesourcery.com>
34835
34836 [BZ #2550]
34837 [BZ #2570]
34838 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34839 comparisons to determine direction to adjust input.
34840 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34841 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34842 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34843 Likewise.
34844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34845 Likewise.
34846 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34847 Likewise.
34848 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34849 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34850 Likewise.
34851 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34852 Likewise.
34853 * math/libm-test.inc (nexttoward_test): Add more tests.
34854
412bd966
AS
348552012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34856
34857 [BZ #14040]
34858 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34859 in version GLIBC_2.1, not GLIBC_2.0.
34860 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34861 Likewise.
34862
9568c0c2
JM
348632012-04-30 Joseph Myers <joseph@codesourcery.com>
34864
adfbc8ac
JM
34865 [BZ #13942]
34866 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34867 (1 - x) * (1 + x).
34868 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34869 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34870 * math/libm-test.inc (acos_test): Add more tests.
34871 (asin_test): Likewise.
34872 * sysdeps/i386/fpu/libm-test-ulps: Update.
34873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34874
5ba3cc69
JM
34875 [BZ #14034]
34876 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34877 of square root.
34878 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34879 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34880 * math/libm-test.inc (acos_test_tonearest): New function.
34881 (acos_test_towardzero): Likewise.
34882 (acos_test_downward): Likewise.
34883 (acos_test_upward): Likewise.
34884 (asin_test_tonearest): Likewise.
34885 (asin_test_towardzero): Likewise.
34886 (asin_test_downward): Likewise.
34887 (asin_test_upward): Likewise.
34888 (main): Call the new functions.
34889 * sysdeps/i386/fpu/libm-test-ulps: Update.
34890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34891
9568c0c2
JM
34892 [BZ #13884]
34893 [BZ #13924]
34894 * math/e_exp10.c: Include <float.h>.
34895 (__ieee754_exp10): Handle underflow here rather than multiplying
34896 large negative argument by M_LN10.
34897 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34898 of __ieee754_expf.
34899 * math/e_exp10l.c: Include <float.h>.
34900 (__ieee754_exp10l): Handle underflow here rather than multiplying
34901 large negative argument by M_LN10l.
34902 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34903 spurious overflow exception on underflow.
34904
5ac3ea17
MP
349052012-04-29 Marek Polacek <polacek@redhat.com>
34906
34907 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34908 (__fortify_function): New macro.
34909 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34910 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34911 __extern_always_inline.
34912 * libio/bits/stdio2.h: Likewise.
34913 * libio/bits/stdio.h: Likewise.
34914 * string/string.h: Likewise.
34915 * string/bits/string3.h: Likewise.
34916 * include/stdio.h: Likewise.
34917 * stdlib/bits/stdlib.h: Likewise.
34918 * stdlib/stdlib.h: Likewise.
34919 * rt/bits/mqueue2.h: Likewise.
34920 * rt/mqueue.h: Likewise.
34921 * posix/bits/unistd.h: Likewise.
34922 * posix/unistd.h: Likewise.
34923 * io/bits/poll2.h: Likewise.
34924 * io/bits/fcntl2.h: Likewise.
34925 * io/fcntl.h: Likewise.
34926 * io/sys/poll.h: Likewise.
34927 * misc/bits/syslog.h: Likewise.
34928 * misc/bits/syslog-ldbl.h: Likewise.
34929 * misc/sys/syslog.h: Likewise.
34930 * socket/bits/socket2.h: Likewise.
34931 * socket/sys/socket.h: Likewise.
34932 * debug/tst-chk1.c: Likewise.
34933 * wcsmbs/bits/wchar2.h: Likewise.
34934 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34935 * wcsmbs/wchar.h: Likewise.
34936
ecf0ebfb
AJ
349372012-04-29 Andreas Jaeger <aj@suse.de>
34938
34939 * Makerules (tests): Remove enable-check-abi protection.
34940 (check-abi-warn): Remove.
34941 (check-abi-%): Remove check-abi-warn usage.
34942
34943 * configure.in: Remove check-abi configure option.
34944 * configure: Regenerated.
34945 * config.make.in (enable-check-abi): Remove.
34946
6d5c57fa
AS
349472012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34948
24c5d07e 34949 [BZ #14033]
ded5180a
AS
34950 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34951 double functions to double *_finite functions.
34952
7e0d315d
AS
34953 [BZ #13941]
34954 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34955 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34956 LDBL_MIN_EXP.
34957 * stdio-common/Makefile (tests): Add tst-sprintf3.
34958 * stdio-common/tst-sprintf3.c: New file.
34959
6d5c57fa
AS
34960 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34961 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34962
0749ff8b
JM
349632012-04-28 Joseph Myers <joseph@codesourcery.com>
34964
34965 * conform/conformtest.pl: Remove duplicate typed-constant
34966 handling.
34967
8dbd5d7b
DM
349682012-04-28 David S. Miller <davem@davemloft.net>
34969
34970 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34971 (check-abi-%): Remove AWK script prerequisite and explicit
34972 abilist directory.
34973 (check-abi): Rewrite to just diff the symlist with the abilist.
34974 (config-tls, config-abi-config): Delete, no longer used.
34975 (update-abi-%): Remove AWK script and explicit abilist directory.
34976 (update-abi): Rewrite to simply compare and conditionally copy the
34977 symlist and the sysdep abilist file. Remove update-abi-config
34978 checks.
34979 * abilist/ld.abilist: Remove.
34980 * abilist/libBrokenLocale.abilist: Remove.
34981 * abilist/libanl.abilist: Remove.
34982 * abilist/libcrypt.abilist: Remove.
34983 * abilist/libdl.abilist: Remove.
34984 * abilist/librt.abilist: Remove.
34985 * abilist/libthread_db.abilist: Remove.
34986 * abilist/libutil.abilist: Remove.
34987 * scripts/extract-abilist.awk: Remove.
34988 * scripts/merge-abilist.awk: Remove.
34989 * sysdeps/generic/libcidn.abilist: New file.
34990 * sysdeps/generic/libnss_compat.abilist: New file.
34991 * sysdeps/generic/libnss_db.abilist: New file.
34992 * sysdeps/generic/libnss_dns.abilist: New file.
34993 * sysdeps/generic/libnss_files.abilist: New file.
34994 * sysdeps/generic/libnss_hesiod.abilist: New file.
34995 * sysdeps/generic/libnss_nis.abilist: New file.
34996 * sysdeps/generic/libnss_nisplus.abilist: New file.
34997 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34998 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34999 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35000 file.
35001 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35002 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35003 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35004 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35005 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35006 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35007 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35008 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35009 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35010 file.
35011 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35012 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35013 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35014 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35015 file.
35016 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35017 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35018 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35019 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35020 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35021 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35022 file.
35023 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35024 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35025 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35026 file.
35027 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35029 New file.
35030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35031 New file.
35032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35033 New file.
35034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35035 New file.
35036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35037 New file.
35038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35039 New file.
35040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35041 New file.
35042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35043 New file.
35044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35045 New file.
35046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35047 New file.
35048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35049 New file.
35050 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35051 New file.
35052 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35053 New file.
35054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35055 file.
35056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35057 New file.
35058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35059 New file.
35060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35061 file.
35062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35063 New file.
35064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35065 New file.
35066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35067 file.
35068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35069 New file.
35070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35071 New file.
35072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35073 New file.
35074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35075 New file.
35076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35077 New file.
35078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35079 New file.
35080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35082 file.
35083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35084 New file.
35085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35086 file.
35087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35088 file.
35089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35090 file.
35091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35092 file.
35093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35094 file.
35095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35096 New file.
35097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35098 file.
35099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35100 file.
35101 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35102 New file.
35103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35104 file.
35105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35107 file.
35108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35109 New file.
35110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35111 file.
35112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35113 file.
35114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35115 file.
35116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35117 file.
35118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35119 file.
35120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35121 New file.
35122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35123 file.
35124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35125 file.
35126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35127 New file.
35128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35129 file.
35130 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35131 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35132 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35133 file.
35134 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35135 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35136 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35137 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35138 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35139 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35140 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35141 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35142 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35143 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35146 file.
35147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35148 New file.
35149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35150 file.
35151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35152 file.
35153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35154 file.
35155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35156 file.
35157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35158 file.
35159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35160 New file.
35161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35162 New file.
35163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35164 file.
35165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35166 New file.
35167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35168 file.
35169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35171 file.
35172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35173 New file.
35174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35175 file.
35176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35177 file.
35178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35179 file.
35180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35181 file.
35182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35183 file.
35184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35185 New file.
35186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35187 New file.
35188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35189 file.
35190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35191 New file.
35192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35193 file.
35194
41d73a1b
JM
351952012-04-28 Joseph Myers <joseph@codesourcery.com>
35196
35197 * conform/conformtest.pl: Fix typo in handling typed-constant from
35198 allow-header.
35199
28aeeda4
JM
352002012-04-27 Joseph Myers <joseph@codesourcery.com>
35201
adae8f5e
JM
35202 * README: Cut down references to pre-2.6 Linux kernels and
35203 Linuxthreads. Update lists of configurations in libc and ports
35204 and sort alphabetically. Say "or newer" with Linux kernel version
35205 requirements.
35206
28aeeda4
JM
35207 * config.h.in [IS_IN_build]: Allow compiling without optimization.
35208
a462cb63
RA
352092012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35210
35211 [BZ #887]
35212 * math/libm-test.inc (logb_test_downward): New test to expose
35213 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35214 rounding mode.
35215
6ad3493e
JM
352162012-04-27 Joseph Myers <joseph@codesourcery.com>
35217
35218 [BZ #14027]
35219 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35220 to be done.
35221 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35222 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35223
2ce4f015
JM
352242012-04-26 Joseph Myers <joseph@codesourcery.com>
35225
5aeb141a
JM
35226 * sysdeps/unix/i386/brk.S: Remove file.
35227 * sysdeps/unix/i386/dl-brk.S: Likewise.
35228 * sysdeps/unix/i386/pipe.S: Likewise.
35229 * sysdeps/unix/i386/sigreturn.S: Likewise.
35230 * sysdeps/unix/i386/syscall.S: Likewise.
35231 * sysdeps/unix/i386/vfork.S: Likewise.
35232 * sysdeps/unix/i386/wait.S: Likewise.
35233
7143acae
JM
35234 * sysdeps/unix/common/tcsendbrk.c: Move to ...
35235 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35236
2ce4f015
JM
35237 * configure.in (arm*-none*): Do not allow without
35238 --enable-hacker-mode.
35239 (netbsd*): Remove case setting base_os.
35240 (386bsd*): Likewise.
35241 (freebsd*): Likewise.
35242 (bsdi*): Likewise.
35243 (osf*): Likewise.
35244 (sunos*): Likewise.
35245 (ultrix*): Likewise.
35246 (newsos*): Likewise.
35247 (dynix*): Likewise.
35248 (*bsd*): Likewise.
35249 (sysv*): Likewise.
35250 (isc*): Likewise.
35251 (esix*): Likewise.
35252 (sco*): Likewise.
35253 (minix*): Likewise.
35254 (irix4*): Likewise.
35255 (irix6*): Likewise.
35256 (solaris[2-9]*): Likewise.
35257 (none): Likewise.
35258 * configure: Regenerated.
35259
0ac229c8
AZ
352602012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35261
35262 [BZ #11521]
35263 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
35264 overflow or cancellation in calculating denominator.
35265 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
35266 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
35267 down expression to avoid unexpected rounding in newer GCCs.
35268 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35269
33f244f4
DM
352702012-04-26 David S. Miller <davem@davemloft.net>
35271
35272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
35273 long-double compat symbols.
35274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
35278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
35280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
35281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
35282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
35283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
35284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
35285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
35286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35287
cfa1f3e8
DM
352882012-04-25 David S. Miller <davem@davemloft.net>
35289
35290 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
35291 HWCAP_* values only after the memory barriers have been defined.
35292 (atomic_full_barrier): Define.
35293 (atomic_read_barrier): Define.
35294 (atomic_write_barrier): Define.
35295
6e236b92
SP
352962012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
35297
35298 * shlib-versions: Add libgcc_s version information.
35299 * sysdeps/generic/libgcc_s.h: Remove.
35300 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
35301 libgcc_s.h.
35302 * sysdeps/gnu/unwind-resume.c: Likewise.
35303 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
35304
aab39a09
DM
353052012-04-25 David S. Miller <davem@davemloft.net>
35306
35307 * sysdeps/unix/sparc/brk.S: Delete.
35308 * sysdeps/unix/sparc/dl-brk.S: Delete.
35309 * sysdeps/unix/sparc/pipe.S: Delete.
35310 * sysdeps/unix/sparc/sysdep.S: Delete.
35311 * sysdeps/unix/sparc/sysdep.h: Delete.
35312 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
35313 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
35314 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
35315 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
35316 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
35317 (JUMPTARGET): Remove.
35318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
35319 sysdeps/unix/sparc/sysdep.h
35320 (ENTRY, END): Remove.
35321 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35322
a3cc4f48
JM
353232012-04-25 Joseph Myers <joseph@codesourcery.com>
35324
2ed8cda2
JM
35325 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
35326 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
35327 -DIS_IN_build.
35328
35d76d59
JM
35329 * timezone/README: Update upstream location and email address for
35330 tzcode and tzdata.
35331 * timezone/zdump.c: Update from tzcode 2012b.
35332 * timezone/zic.c: Likewise.
35333
a3cc4f48
JM
35334 * configure.in (libc_cv_as_needed): Remove test.
35335 * configure: Regenerated.
35336 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
35337 conditional definition.
35338 [$(have-as-needed) != yes] (no-as-needed): Likewise.
35339 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
35340 * config.make.in (have-as-needed): Remove variable.
35341
ceab42c3
SP
353422012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35343 Paul Pluzhnikov <ppluzhnikov@google.com>
35344
35345 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
35346 strings correctly.
35347
3ce2865f
CLT
353482012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
35349
35350 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
35351 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
35352 * sysdeps/sh/strlen.S: Likewise.
35353
f37e0d68
JM
353542012-04-24 Joseph Myers <joseph@codesourcery.com>
35355
ae186e9a
JM
35356 * sysdeps/unix/fork.S: Remove file.
35357 * sysdeps/unix/i386/fork.S: Likewise.
35358 * sysdeps/unix/sparc/fork.S: Likewise.
35359
b96914af
JM
35360 * sysdeps/unix/system.c: Remove file.
35361 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
35362
f37e0d68
JM
35363 * sysdeps/unix/getegid.S: Remove file.
35364 * sysdeps/unix/geteuid.S: Likewise.
35365
87ef29ca
RM
353662012-04-24 Roland McGrath <roland@hack.frob.com>
35367
83bcd236
RM
35368 * scripts/check-localplt.awk: New file.
35369 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
35370 of diff.
35371 * scripts/data/localplt-generic.data: Add a comment.
35372
87ef29ca
RM
35373 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
35374 NODE when __dir_mkfile failed.
35375 * sysdeps/mach/hurd/symlinkat.c: Likewise.
35376 Reported by Ludovic Courtès <ludo@gnu.org>.
35377
e5a6e567
AJ
353782012-04-24 Andreas Jaeger <aj@suse.de>
35379
35380 * Makerules (common-clean): Also remove gen-as-const-headers
35381 files.
35382
c1820385
JM
353832012-04-24 Joseph Myers <joseph@codesourcery.com>
35384
35385 * Makerules (native-compile): Do not change working directory for
35386 build. Use $(OUTPUT_OPTION) in command.
35387 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
35388
94e02fc4
AZ
353892012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35390
35391 [BZ #13886]
35392 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
35393 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
35394 * math/libm-test.inc (floor_test): Add more tests.
35395 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
35396
3a533ca3
JM
353972012-04-24 Joseph Myers <joseph@codesourcery.com>
35398
940ab4b3
JM
35399 * sysdeps/unix/getdents.c: Remove file.
35400 * sysdeps/unix/sysv/getdents.c: Likewise.
35401 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35402
90e037bd
JM
35403 * sysdeps/unix/syscalls.list (madvise): Add syscall from
35404 sysdeps/unix/mman/syscalls.list.
35405 (mmap): Likewise.
35406 (mprotect): Likewise.
35407 (msync): Likewise.
35408 (munmap): Likewise.
35409 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35410 * sysdeps/unix/mman/syscalls.list: Remove.
35411 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35412
3a533ca3
JM
35413 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35414 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35415 * configure: Regenerated.
35416 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35417 $(libgcc_s_suffix).
35418 * config.make.in (libgcc_s_suffix): Remove variable.
35419
1ad743de
JM
354202012-04-23 Joseph Myers <joseph@codesourcery.com>
35421
4ad451e2
JM
35422 * sysdeps/unix/sysv/gethostname.c: Move to ...
35423 * sysdeps/posix/gethostname.c: ... here.
35424
5e37ce39
JM
35425 * sysdeps/unix/execve.S: Remove file.
35426
1ad743de
JM
35427 * sysdeps/unix/_exit.S: Remove file.
35428
4e681b5b
AJ
354292012-04-23 Andreas Jaeger <aj@suse.de>
35430
35431 [BZ #13739]
35432 * manual/Makefile: Remove make dist support, there's no
35433 need for a stand-alone documentation tar ball.
35434 (TEXI2DVI): Define always, it's not in Makeconfig.
35435 (dist): Removed.
35436 (tar-it): Removed.
35437 (edition): Removed.
35438 (glibc-doc-$(edition).tar): Removed
35439 (%.Z): Removed.
35440 (%.gz): Removed.
35441 (%.uu): Removed.
35442 (ETAGS): Remove, it's in Makeconfig.
35443 (move-if-change): Remove, it's in Makeconfig.
35444
38686a03 354452012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
35446
35447 [BZ #13970]
35448 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35449 (strtod, strtof, strtold, strtol, strtoul, strtoq)
35450 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35451 (strtod_l, strtof_l, strtold_l): Remove __wur.
35452 It is not necessarily an error to ignore strtol's return value.
35453 One can reliably look at the stored endptr to decide whether
35454 the number had valid syntax.
35455
7c0616fa
AJ
354562012-04-21 Andreas Jaeger <aj@suse.de>
35457
803cb6b7 35458 [BZ #13739]
7c0616fa
AJ
35459 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35460
b0fe253f
JM
354612012-04-21 Joseph Myers <joseph@codesourcery.com>
35462
35463 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35464 * sysdeps/unix/sysv/Versions: Remove file.
35465
8280f22d
MT
354662012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
35467
35468 [BZ #13927]
35469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35470
75ce411f 354712012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
35472
35473 [BZ #7064]
35474 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35475 version from __vm86.
35476
097d59fa
JM
354772012-04-20 Joseph Myers <joseph@codesourcery.com>
35478
a90f3bcb
JM
35479 * sysdeps/unix/common/lxstat.c: Remove file.
35480 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35481
edc7ea78
JM
35482 * sysdeps/unix/sysv/Makefile: Remove file.
35483
cb78c221
JM
35484 * sysdeps/unix/sysv/direct.h: Remove file.
35485
efa6a45f
JM
35486 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35487 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35488 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35489 * sysdeps/unix/sysv/bits/signum.h: Likewise.
35490 * sysdeps/unix/sysv/bits/stat.h: Likewise.
35491 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35492 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35493
9c9f2d0c
JM
35494 * sysdeps/unix/sysv/setrlimit.c: Remove file.
35495
4541c83b
JM
35496 * sysdeps/unix/xmknod.c: Remove file.
35497 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35498
f5d153a0
JM
35499 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35500
aa746595
JM
35501 * sysdeps/unix/sysv/i386/time.S: Remove file.
35502
cce5905e
JM
35503 * sysdeps/unix/fxstat.c: Remove file.
35504 * sysdeps/unix/xstat.c: Likewise.
35505 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35506
37fa3841
JM
35507 * sysdeps/unix/sysv/sigaction.c: Remove file.
35508
ff1962a3
JM
35509 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35510 (sysdep_headers): Remove variable.
35511 [termio.h not in sysdep_headers] (generated): Likewise.
35512 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35513 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35514 * sysdeps/unix/sysv/tcdrain.c: Likewise.
35515 * sysdeps/unix/sysv/tcflow.c: Likewise.
35516 * sysdeps/unix/sysv/tcflush.c: Likewise.
35517 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35518 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35519 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35520 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35521 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35522
e7740d31
JM
35523 * sysdeps/unix/siglist.c: Remove file.
35524
ee06f18b
JM
35525 * sysdeps/unix/getppid.S: Remove file.
35526
097d59fa
JM
35527 * sysdeps/unix/mkdir.c: Remove file.
35528 * sysdeps/unix/rmdir.c: Likewise.
35529
ff3d51ec
AS
355302012-04-19 Andreas Schwab <schwab@linux-m68k.org>
35531
35532 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35533 ERR_MAX value.
35534 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35535 errlist-compat value.
35536
50f81fd7
DM
355372012-04-18 David S. Miller <davem@davemloft.net>
35538
35539 * sysdeps/generic/memcopy.h (reg_char): Delete.
35540 * debug/strcat_chk.c: Use char, not reg_char.
35541 * debug/strcpy_chk.c: Likewise.
35542 * debug/strncat_chk.c: Likewise.
35543 * debug/strncpy_chk.c: Likewise.
35544 * string/memchr.c: Likewise.
35545 * string/memrchr.c: Likewise.
35546 * string/rawmemchr.c: Likewise.
35547 * string/strcat.c: Likewise.
35548 * string/strchr.c: Likewise.
35549 * string/strchrnul.c: Likewise.
35550 * string/strcmp.c: Likewise.
35551 * string/strcpy.c: Likewise.
35552 * string/strncat.c: Likewise.
35553 * string/strncmp.c: Likewise.
35554 * string/strncpy.c: Likewise.
35555
8ff41c46
WS
355562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35557
35558 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35559 __builtin_memcopy is called when src and dest ranges are known to not
35560 overlap.
35561
6b652f46
WS
355622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35563
35564 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35565 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35566 fwd_align_merge macro call.
35567 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35568 bwd_align_merge macro call.
35569 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35570
b282631e
WS
355712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
35572
35573 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35574 bwd_align_merge macros.
35575 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35576 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35577 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35578
95aa737c
DM
355792012-04-18 David S. Miller <davem@davemloft.net>
35580
35581 * sysdeps/sparc/sparc64/memcopy.h: Delete.
35582
7a99a614
AJ
355832012-04-18 Andreas Jaeger <aj@suse.de>
35584
35585 [BZ# 6794]
35586 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35587 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35588 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35589
35590 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35591 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35592 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35593
35594 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35595 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35596 Adjust for changed ldbl-128 files.
35597
35598 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35599 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35600 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35601
e5270c23
DM
356022012-04-17 David S. Miller <davem@davemloft.net>
35603
35604 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35605
fb5e92c9
AS
356062012-04-17 Andreas Schwab <schwab@linux-m68k.org>
35607
35608 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35609 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35610 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35611 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35612 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35613 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35614
76da7265
AZ
356152012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35616
35617 [BZ #6794]
35618 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35619 * math/libm-test.inc: Add ilogb errno and exception tests.
35620 * math/w_ilogb.c: New file: ilogb wrapper.
35621 * math/w_ilogbf.c: New file: ilogbf wrapper.
35622 * math/w_ilogbl.c: New file: ilogbl wrapper.
35623 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35624 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35625 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35626 exception being thrown with 0.0 as argument.
35627 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35628 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35629 exception being thrown with 0.0 as argument.
35630 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35631 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35632 exception being thrown with 0.0 as argument.
35633 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35634 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35635 exception being thrown with 0.0 as argument.
35636 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35637 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 35638 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
35639 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35640 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35641 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35642 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35643 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35644 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35645
0396e69d
PB
356462012-04-17 Petr Baudis <pasky@ucw.cz>
35647
35648 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35649 with altivec.
35650
750b5926
MP
356512012-04-16 Marek Polacek <polacek@redhat.com>
35652
35653 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35654
751728a1
MP
356552012-04-16 Marek Polacek <polacek@redhat.com>
35656
35657 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35658 operands of fdivp instruction.
35659
34a27407
L
356602012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35661
35662 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35663 * elf/tst-auditmod3b.c: Likewise.
35664 * elf/tst-auditmod4b.c: Likewise.
35665 * elf/tst-auditmod5b.c: Likewise.
35666 * elf/tst-auditmod6b.c: Likewise.
35667 * elf/tst-auditmod6c.c: Likewise.
35668 * elf/tst-auditmod7b.c: Likewise.
35669 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35670 * sysdeps/x86_64/preconfigure.in: Likewise.
35671 * sysdeps/x86_64/preconfigure: Regenerated.
35672
7e73e17d
L
356732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35674
35675 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35676 __ILP32__.
35677
c7a6ab72
AB
356782012-04-13 Antoine Balestrat <merkil33@gmail.com>
35679
35680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35681 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35682
a9e8e0e0
CL
356832012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35684
35685 [BZ #13973]
35686 * locale/iso-639.def: Fix gl language name. Spotted by
35687 Yaron Shahrabani.
35688
ec98af7d
RM
356892012-04-12 Roland McGrath <roland@hack.frob.com>
35690
35691 [BZ #2074]
35692 * libio/libio.h (__io_write_fn): Update comment.
35693
247c3ede
PB
356942012-04-12 Petr Baudis <pasky@ucw.cz>
35695
35696 [BZ #2074]
35697 * stdio.texi (Hook Functions): The user provided writer function
35698 is not allowed to return -1.
35699
55939d6d
DM
357002012-04-11 David S. Miller <davem@davemloft.net>
35701
35702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35703
90020f5a
MF
357042012-04-11 Mike Frysinger <vapier@gentoo.org>
35705
35706 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35707 Add a leading slash to rtkaio.
35708
288f9098
JM
357092012-04-11 Jim Meyering <meyering@redhat.com>
35710
90020f5a
MF
35711 [BZ #11959]
35712 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35713 It is not necessarily an error to ignore fwrite's return
35714 value. One can reliably use ferror to test for errors after
35715 the fact.
288f9098 35716
4be2b570
L
357172012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35718
35719 * bits/types.h (__snseconds_t): New type.
35720 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35721
35722 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35724 (__SNSECONDS_T_TYPE): Likewise.
35725 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35726 (__SNSECONDS_T_TYPE): Likewise.
35727 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35728 (__SNSECONDS_T_TYPE): Likewise.
35729
288f9098 357302012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
35731
35732 [BZ #2636]
35733 * manual/time.texi (Processor Time): Return type of times is
35734 elapsed real time since an arbitrary point in the past.
35735 (CPU Time): Move CLK_TCK from here...
35736 (Processor Time): ...to here. Correct description.
35737 * manual/conf.texi (Constants for Sysconf): Correct description of
35738 _SC_CLK_TCK.
35739
d7dd4413
DM
357402012-04-10 David S. Miller <davem@davemloft.net>
35741
35742 [BZ #13967]
35743 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35744 where the is a gap between DT_REL(A) and DT_JMPREL.
35745
b46068fc
L
357462012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35747
35748 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35749 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35750 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35751
73d65cc3
SP
357522012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35753
35754 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35755 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35756 (dl_main): Handle --inhibit-cache.
35757 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35758 _dl_inhibit_cache.
35759 * elf/dl-load.c (_dl_map_object): Use it.
35760 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35761
bcc8d661
JM
357622012-04-09 Joseph Myers <joseph@codesourcery.com>
35763
8f9a2fae
JM
35764 [BZ #13872]
35765 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35766 (__ieee754_powl): Saturate large exponents rather than testing for
35767 overflow of y*log2(x).
35768 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35769 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35770 exceptions.
35771
bcc8d661
JM
35772 [BZ #11521]
35773 * math/s_ctan.c: Include <float.h>.
35774 (__ctan): Avoid internal overflow or cancellation in calculating
35775 denominator.
35776 * math/s_ctanf.c: Likewise.
35777 * math/s_ctanl.c: Likewise.
35778 * math/s_ctanh.c: Likewise.
35779 * math/s_ctanhf.c: Likewise.
35780 * math/s_ctanhl.c: Likewise.
35781 * math/libm-test.inc (ctan_test): Add more tests.
35782 (ctanh_test): Likewise.
35783 * sysdeps/i386/fpu/libm-test-ulps: Update.
35784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35785
823fbbb4
AJ
357862012-04-09 Andreas Jaeger <aj@suse.de>
35787
03879793
AJ
35788 [BZ #6894]
35789 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35790 is an optional BSD extension.
35791
823fbbb4
AJ
35792 [BZ #10254]
35793 * manual/stdio.texi (Opening Streams): Document additional fopen
35794 parameters.
35795
8de131cb
RM
357962012-04-09 Roland McGrath <roland@hack.frob.com>
35797
35798 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35799 %eax without telling the compiler.
35800
c0ed9d7d
CD
358012012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35802
35803 [BZ # 13963]
35804 * manual/install.texi: Use sourceware.org.
35805
c483f6b4
JM
358062012-04-09 Joseph Myers <joseph@codesourcery.com>
35807
d7dd9453
JM
35808 [BZ #13873]
35809 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35810 (__ieee754_pow): Generate overflow and underflow using huge*huge
35811 and tiny*tiny rather than just returning constant infinity or zero
35812 for large exponents.
35813 * math/libm-test.inc (pow_test): Require overflow exceptions for
35814 applicable cases of large exponents.
35815
c483f6b4
JM
35816 [BZ #706]
35817 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35818 (__ieee754_pow): Use iterative multiplication algorithm only for
35819 integer exponents with absolute value below 1024. Check for odd
35820 integer exponents when using algorithm for real exponents.
35821 * math/libm-test.inc (pow_test): Add more tests.
35822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35823
d2de7579
JM
358242012-04-08 Joseph Myers <joseph@codesourcery.com>
35825
35826 [BZ #13705]
35827 * math/libm-test.inc (exp_test): Do not allow overflow exception
35828 on underflow test.
35829
f77f1232
AJ
358302012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35831
35832 [BZ #13705]
35833 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35834 instead of __kernel_standard_f.
35835
3884932b
MF
358362012-04-08 Mike Frysinger <vapier@gentoo.org>
35837
35838 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35839 * sysdeps/x86_64/memset_chk.S: Likewise.
35840
54472e9c
AJ
358412012-04-08 Andreas Jaeger <aj@suse.de>
35842
6ab0fbfc
AJ
35843 [BZ #10153]
35844 * manual/startup.texi (Environment Access): Describe return value
35845 for putenv and setenv.
35846
61efba8c
AJ
35847 [BZ #6895]
35848 * manual/filesys.texi (Directory Entries): Add description for
35849 DT_LNK.
35850
95c3f29a
AJ
35851 [BZ #6890]
35852 * manual/filesys.texi (Directory Entries): Clarify that it's file
35853 system not operating system in the description of DT_UNKNOWN.
35854
54472e9c
AJ
35855 [BZ #6578]
35856 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35857
624254b1
SC
358582012-04-08 Stephen Compall <s11@member.fsf.org>
35859
35860 [BZ #6649]
35861 * manual/llio.texi (Opening and Closing Files): Add cross
35862 reference to explain mode argument.
35863
1e4920e0
MF
358642012-04-07 Mike Frysinger <vapier@gentoo.org>
35865
35866 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35867 * sysdeps/x86_64/memset_chk.S: Likewise.
35868
5ed848f3
DM
358692012-04-07 David S. Miller <davem@davemloft.net>
35870
35871 * elf/elf.h (R_SPARC_WDISP10): Define.
35872 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35873 R_SPARC_SIZE32.
35874 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35875 R_SPARC_SIZE64 and R_SPARC_H34.
35876
96154cd8
CD
358772012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35878
35879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35880 conditions and remove no longer applicable assertion.
35881
9904dc47
L
358822012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35883
35884 * bits/byteswap.h: Include <features.h>.
35885 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35886 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35887
f8887d0a
L
358882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35889
35890 * bits/byteswap.h (__bswap_16): Removed.
35891 Include <bits/byteswap-16.h> to get __bswap_16.
35892 * sysdeps/i386/bits/byteswap.h: Likewise.
35893 * sysdeps/s390/bits/byteswap.h: Likewise.
35894 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35895 * bits/byteswap-16.h: New file.
35896 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35897 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35898 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35899 * string/Makefile (headers): Add bits/byteswap-16.h.
35900
62470f60
PP
359012012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35902
35903 [BZ #13895]
35904 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35905 extra indirection.
35906 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35907 * nss/tst-nss-static.c: New.
35908
4dad7bab
RM
359092012-04-06 Robert Millan <rmh@gnu.org>
35910
35911 [BZ #6486]
35912 * manual/llio.texi (File Position Primitive): lseek
35913 refers to WHENCE when it really means OFFSET.
35914
e9142a17
AJ
359152012-04-06 Andreas Jaeger <aj@suse.de>
35916
2c040eff
AJ
35917 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35918 strncmp declarations.
35919
e9142a17
AJ
35920 * abilist/libc.abilist: Add __poll and __ppoll.
35921
ff9f1c5f
DM
359222012-04-05 David S. Miller <davem@davemloft.net>
35923
dcd2ae90
DM
35924 * scripts/check-local-headers.sh: Accept a host triplet in the
35925 path matched by the exclude regexp.
35926
993eb054
DM
35927 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35928 definition.
35929 * sysdeps/powerpc/powerpc32/dl-machine.h
35930 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35931 * sysdeps/s390/s390-32/dl-machine.h
35932 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35933 * sysdeps/sparc/sparc32/dl-machine.h
35934 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35935 * sysdeps/sparc/sparc64/dl-machine.h
35936 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35937
ff9f1c5f
DM
35938 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35939 lazy binding.
48e2e132 35940 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
35941 undefined symbol errors.
35942
48e2e132 35943 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
35944 DT_NEEDED entries.
35945
e80d6f94
MM
359462012-04-05 Michael Matz <matz@suse.de>
35947
35948 [BZ #13592]
35949 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35950
349fa79f
AJ
359512012-04-05 Andreas Jaeger <aj@suse.de>
35952
35953 [BZ #13908]
35954 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35955 comment.
35956
f402708f
KK
359572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35958
35959 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35960 which ROUND is no valid rounding mode.
35961
2ecccfc9
KK
359622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35963
35964 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35965 read again.
35966 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35967
8a53f50f
KK
359682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35969
35970 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35971 an exception using FPU order intentionally.
35972
359732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35974
35975 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35976 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35977 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35978 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35979
d653abb7
SJ
359802012-04-05 Simon Josefsson <simon@josefsson.org>
35981
35982 [BZ #12340]
35983 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35984 EINVAL when BUFLEN is too smal.
35985
c3b1bf7d
TS
359862012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35987
35988 [BZ #13553]
35989 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35990 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35991
b1aa60f3
AJ
359922012-04-03 Andreas Jaeger <aj@suse.de>
35993
c3b1bf7d 35994 [BZ #13938]
67f60a26
AJ
35995 * manual/setjmp.texi (System V contexts): Fix sentence.
35996
b1aa60f3
AJ
35997 [BZ #13926]
35998 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35999 New macro for this case.
36000 [!__GNUC__] (__bswap_64): New inline function for this case.
36001 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36002 * bits/byteswap.h: Likewise.
36003 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36004 ull, guard with __GLIBC_HAVE_LONG_LONG.
36005
36006 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36007 __GLIBC_HAVE_LONG_LONG.
36008
36009 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36010 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36011
39c59c35
TMQMF
360122012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36013
36014 [BZ #13691]
36015 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36016 inptr and inend, rather than using last_ch.
36017
135ffda8
DM
360182012-04-02 David S. Miller <davem@davemloft.net>
36019
36020 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36021 * stdio-common/printf-parse.h (read_int): Change return type to
36022 'int', return -1 on INT_MAX overflow.
36023 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36024 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
36025 overflows INT_MAX. Check for overflow of in-format-string precision
36026 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
36027 SIZE_MAX not INT_MAX for integer overflow test.
36028 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36029 skip the construct in the format string but do not record anything.
36030 * stdio-common/bug22.c: Adjust to test both width/prevision
36031 INT_MAX overflow as well as total length INT_MAX overflow. Check
36032 explicitly for proper errno values.
36033
228c019e
TS
360342012-04-02 Thomas Schwinge <thomas@codesourcery.com>
36035
302cadd3
TS
36036 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36037 CHAR_MAX.
36038 * string/test-strcmp.c [! WIDE]: Likewise.
36039 * time/tst-mktime2.c: Likewise for INT_MAX.
36040 * string/test-string.h: #include <sys/param.h> for MIN.
36041
228c019e
TS
36042 * csu/init-first.c (__libc_init_first): Call __ctype_init.
36043 * sysdeps/i386/init-first.c (init): Likewise.
36044 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36045 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36046 * sysdeps/sh/init-first.c (init): Likewise.
36047
cfa633f5
UD
360482012-04-01 Ulrich Drepper <drepper@gmail.com>
36049
36050 * po/ru.po: Update from translation team.
d1635ef8 36051 * po/vi.po: Likewise.
cfa633f5 36052
6cd0a5ea
SP
360532012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36054
36055 * resolv/nss_dns/dns-host.c: Merge copyright years.
36056
4b43400f
LD
360572012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36058
36059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36060 Optimize memcpy with prefetch if
36061 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
36062 src, dst pointers have unequal 16 byte alignments.
36063
48c41d04
SP
360642012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
36065
36066 [BZ #13928]
36067 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36068 from a CNAME entry and return the minimum ttl for the query.
36069 (gaih_getanswer_slice): Likewise.
36070
b8dc394d
JL
360712012-03-30 Jeff Law <law@redhat.com>
36072
36073 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36074 due to long keys.
36075 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36076 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36077
2f5a5ed0
JL
36078 * resolv/nss_dns/dns-host.c: Update copyright year.
36079
1d39e359
UD
360802012-03-30 Ulrich Drepper <drepper@gmail.com>
36081
c030f70c 36082 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 36083 requests to save a system call. Fix check that all bytes are sent.
c030f70c 36084
1d39e359
UD
36085 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36086 comments for sendmmsg.
36087
360882012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
36089
36090 [BZ #13691]
36091 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36092 with only 1 character between 0x0041 and 0x01b0.
36093 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36094 * wcsmbs/tst-mbsnrtowcs.c: New file.
36095
20fde227
DM
360962012-03-29 David S. Miller <davem@davemloft.net>
36097
36098 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36099 small copies by hand.
36100
984a4237
JL
361012012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36102
36103 [BZ #13761]
57f41c40
AS
36104 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36105 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36106 group memberships.
984a4237 36107
18c9d62b
DM
361082012-03-28 David S. Miller <davem@davemloft.net>
36109
88d85d4f
DM
36110 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36111 that branches into memcpy.
36112 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36113 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36115 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36116 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36117 bits.
36118 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36119 implementation too.
36120 * sysdeps/sparc/mempcpy.S: New file.
36121
e5aa83e1
DM
36122 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36123 the IFUNC routine in the libc case.
36124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36125
88570753
DM
36126 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36127 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36128 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36129 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36130 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36131 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36132 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36133 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36134
249d7567
DM
36135 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36136 loop to 256 bytes instead of 64 bytes and fix test signedness.
36137
18c9d62b
DM
36138 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36139 * sysdeps/sparc/sparc32/Makefile: rather than here...
36140 * sysdeps/sparc/sparc64/Makefile: and here.
36141
05f3d1f6
UD
361422012-03-28 Ulrich Drepper <drepper@gmail.com>
36143
36144 * malloc/mallocbug.c: Avoid warnings about unused variables.
36145
86ae07a8
JL
361462012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
36147
36148 [BZ #13760]
36149 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36150 in the right place. Discard and retry query if response is
36151 larger than input buffer size.
36152
41bf21a1
JM
361532012-03-28 Joseph Myers <joseph@codesourcery.com>
36154
d6270972
JM
36155 [BZ #369]
36156 [BZ #2678]
36157 [BZ #3866]
36158 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36159 x for large integer exponent.
36160 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36161 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
36162 sign of result as needed afterwards.
36163 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36164 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36165 result for underflowing pow the same as for overflow.
36166 (__kernel_standard_l): Handle powl overflow and underflow here
36167 rather than calling __kernel_standard.
36168 * math/libm-test.inc (pow_test): Add more tests.
36169
414fca03 36170 [BZ #3868]
41bf21a1
JM
36171 [BZ #13879]
36172 [BZ #13910]
36173 [BZ #13911]
36174 [BZ #13912]
36175 [BZ #13913]
36176 [BZ #13915]
36177 [BZ #13916]
36178 [BZ #13917]
36179 [BZ #13918]
36180 [BZ #13919]
36181 [BZ #13920]
36182 [BZ #13921]
36183 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36184 * sysdeps/ieee754/k_standard.c: Include <float.h>.
36185 (__kernel_standard_l): New function.
36186 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36187 __kernel_standard.
36188 * math/w_acosl.c (__acosl): Likewise.
36189 * math/w_asinl.c (__asinl): Likewise.
36190 * math/w_atan2l.c (__atan2l): Likewise.
36191 * math/w_atanhl.c (__atanhl): Likewise.
36192 * math/w_coshl.c (__coshl): Likewise.
36193 * math/w_exp10l.c (__exp10l): Likewise.
36194 * math/w_exp2l.c (__exp2l): Likewise.
36195 * math/w_fmodl.c (__fmodl): Likewise.
36196 * math/w_hypotl.c (__hypotl): Likewise.
36197 * math/w_j0l.c (__j0l, __y0l): Likewise.
36198 * math/w_j1l.c (__j1l, __y1l): Likewise.
36199 * math/w_jnl.c (__jnl, __ynl): Likewise.
36200 * math/w_lgammal.c (__lgammal): Likewise.
36201 * math/w_log10l.c (__log10l): Likewise.
36202 * math/w_log2l.c (__log2l): Likewise.
36203 * math/w_logl.c (__logl): Likewise.
36204 * math/w_powl.c (__powl): Likewise.
36205 * math/w_remainderl.c (__remainderl): Likewise.
36206 * math/w_scalbl.c (sysv_scalbl): Likewise.
36207 * math/w_sinhl.c (__sinhl): Likewise.
36208 * math/w_sqrtl.c (__sqrtl): Likewise.
36209 * math/w_tgammal.c (__tgammal): Likewise.
36210 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36211 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36212 * math/libm-test.inc (acos_test): Add more tests.
36213 (acosh_test): Likewise.
36214 (asin_test): Likewise.
36215 (atanh_test): Likewise.
36216 (exp_test): Likewise.
36217 (exp10_test): Likewise.
36218 (exp2_test): Likewise.
36219 (expm1_test): Likewise.
36220 (lgamma_test): Likewise.
36221 (log_test): Likewise.
36222 (log10_test): Likewise.
36223 (log1p_test): Likewise.
36224 (log2_test): Likewise.
36225 (pow_test): Do not allow some spurious overflow exceptions.
36226 (sqrt_test): Add more tests.
36227 (tgamma_test): Likewise.
36228 (y0_test): Likewise.
36229 (y1_test): Likewise.
36230 (yn_test): Likewise.
36231
dd62fda6
AB
362322012-03-27 Anton Blanchard <anton@samba.org>
36233
36234 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36235 MAP_HUGETLB.
36236 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36237 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36238 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36239
1e3cdfda
AJ
362402012-03-27 David S. Miller <davem@davemloft.net>
36241
b855ab85
DM
36242 * conform/Makefile: Run run-conformtest.sh using $(BASH).
36243
1e3cdfda
AJ
36244 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36245 have-as-vis3 check.
36246
362472012-03-27 Andreas Jaeger <aj@suse.de>
36248
36249 * sysdeps/x86_64/elf/configure.in: Moved to ...
36250 * sysdeps/x86_64/configure.in: ... here.
36251 * sysdeps/x86_64/elf/start.S: Moved to ...
36252 * sysdeps/x86_64/start.S: ... here.
36253 * sysdeps/x86_64/elf/configure: Delete.
36254
36255 * sysdeps/x86_64/configure.in: Merge contents from
36256 sysdeps/i386/configure.in (without i686 check).
36257
36258 * sysdeps/i386/elf/Versions: Merge into ...
36259 * sysdeps/i386/Versions: ... this.
36260 * sysdeps/i386/elf/Versions: Delete file.
36261 * sysdeps/i386/elf/start.S: Moved to ...
36262 * sysdeps/i386/start.S: ...here.
36263 * sysdeps/i386/elf/configure.in: Merge into...
36264 * sysdeps/i386/configure.in: ...here.
36265 * sysdeps/i386/elf/configure.in: Delete file.
36266 * sysdeps/i386/elf/configure: Delete file.
36267
36268 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
36269 * debug/backtracesyms.c: ... here.
36270 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
36271 * debug/backtracesymsfd.c: ... here.
36272 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
36273 * sysdeps/generic/ifunc-sel.h: ... here.
36274
36275 * sysdeps/unix/i386/start.c: Delete file.
36276 * sysdeps/unix/sparc/start.c: Delete file.
36277 * sysdeps/unix/start.c: Delete file.
36278
36279 * sysdeps/sh/elf/configure.in: Moved to ...
36280 * sysdeps/sh/configure.in: ... here.
36281 * sysdeps/sh/elf/start.S: Moved to ...
36282 * sysdeps/sh/start.S: ... here.
36283 * sysdeps/sh/elf/configure: Delete file.
36284
36285 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
36286 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
36287 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
36288 * sysdeps/powerpc/powerpc64/entry.h: ... here.
36289 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
36290 * sysdeps/powerpc/powerpc64/start.S: here.
36291 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
36292 * sysdeps/powerpc/powerpc64/Makefile: ... this.
36293 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
36294 * sysdeps/powerpc/powerpc64/configure.in: ... this.
36295 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
36296
36297 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
36298 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
36299 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
36300 * sysdeps/powerpc/powerpc32/start.S: ... here.
36301 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
36302 * sysdeps/powerpc/powerpc32/configure.in: ... this.
36303 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
36304
36305 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
36306 * sysdeps/powerpc/ifunc-sel.h: ... here.
36307 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
36308 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
36309
36310 * sysdeps/sparc/elf/configure.in: Moved to ...
36311 * sysdeps/sparc/configure.in: ... here.
36312 * sysdeps/sparc/elf/configure: Delete file.
36313 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
36314 * sysdeps/sparc/sparc32/start.S: ... here.
36315 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
36316 * sysdeps/sparc/sparc64/start.S: ... here.
36317 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
36318 * sysdeps/sparc/sparc32/Makefile: ... this.
36319 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
36320 * sysdeps/sparc/sparc64/Makefile: ... this.
36321
36322 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
36323 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
36324 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
36325 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
36326 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
36327 * sysdeps/s390/s390-32/setjmp.S: ... here.
36328 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
36329 * sysdeps/s390/s390-32/configure.in: ... here.
36330 * sysdeps/s390/s390-32/elf/configure: Delete file.
36331 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
36332 * sysdeps/s390/s390-32/start.S: ... here.
36333
36334 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
36335 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
36336 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
36337 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
36338 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
36339 * sysdeps/s390/s390-64/setjmp.S: ... here.
36340 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
36341 * sysdeps/s390/s390-64/configure.in: ... here
36342 * sysdeps/s390/s390-64/elf/configure: Delete file.
36343 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
36344 * sysdeps/s390/s390-64/start.S: ... here.
36345 * sysdeps/s390/s390-64/elf/configure: Delete.
36346
36347 * configure.in: Remove support for elf directories in sysdeps.
36348
36349 * configure: Regenerated.
36350 * sysdeps/i386/configure: Regenerated.
36351 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36352 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36353 * sysdeps/s390/s390-32/configure: Regenerated.
36354 * sysdeps/s390/s390-64/configure: Regenerated.
36355 * sysdeps/sh/configure: Regenerated.
36356 * sysdeps/sparc/configure: Regenerated.
36357 * sysdeps/x86_64/configure: Regenerated.
36358
a3f61311
AS
363592012-03-26 Andreas Schwab <schwab@linux-m68k.org>
36360
c876e002
AS
36361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36362
a3f61311
AS
36363 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
36364 denormal result into account.
36365
ac4c54f0
RM
363662012-03-25 Roland McGrath <roland@hack.frob.com>
36367
36368 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
36369 Reported by Allan McRae <allan@archlinux.org>.
36370
6a9b9c02
JL
363712012-03-23 Jeff Law <law@redhat.com>
36372
36373 * nss/getnssent.c (__nss_getent): Fix typo.
36374
4c42a0c1
DM
363752012-03-23 David S. Miller <davem@davemloft.net>
36376
36377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36378
1532c7ac
L
363792012-03-23 H.J. Lu <hongjiu.lu@intel.com>
36380
36381 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
36382 to pad to uint64_t for each field.
36383 (dl_tls_index): Replace unsigned long with uint64_t.
36384
3ff42526
PP
363852012-03-23 Daniel Jacobowitz <dmj@google.com>
36386 Paul Pluzhnikov <ppluzhnikov@google.com>
36387
36388 [BZ #6528]
36389 * grp/Makefile (otherlibs): Don't set it.
36390 * inet/Makefile (otherlibs): Likewise.
36391 * login/Makefile (otherlibs): Likewise.
36392 * nscd/Makefile (otherlibs): Likewise.
36393 * posix/Makefile (otherlibs): Likewise.
36394 * pwd/Makefile (otherlibs): Likewise.
36395 * rt/Makefile (otherlibs): Likewise.
36396 * sunrpc/Makefile (otherlibs): Likewise.
36397 * nss/Makefile (otherlibs): Likewise.
36398 Add libnss_files to routines and static-only-routines.
36399 ($(objpfx)getent): Remove rule.
36400 * resolv/Makefile: Add libnss_dns and libresolv to routines and
36401 static-only-routines.
36402
7c69cd14
JM
364032012-03-22 Joseph Myers <joseph@codesourcery.com>
36404
36405 [BZ #13892]
36406 * math/s_cexp.c: Include <float.h>.
36407 (__cexp): Handle exp result overflowing not necessarily
36408 overflowing both real and imaginary parts of result.
36409 * math/s_cexpf.c: Likewise.
36410 * math/s_cexpl.c: Likewise.
36411 * math/libm-test.inc (cexp_test): Add more tests.
36412 * sysdeps/i386/fpu/libm-test-ulps: Update.
36413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36414
81b035fe
L
364152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36416
36417 * include/link.h (ELFW): New macro.
36418 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36419 Replace ELF64_R_TYPE with ELFW(R_TYPE).
36420
1da7940c
L
364212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36422
36423 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36424 with uint64_t.
36425
b749dbb9
L
364262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36427
36428 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36429 declaration.
36430 (struct La_x32_retval): Likewise.
36431
2ff87f3f
L
364322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
36433
36434 * sysdeps/x86_64/preconfigure.in: New file.
36435 * sysdeps/x86_64/preconfigure: New generated file.
36436
c0df8e69
JM
364372012-03-22 Joseph Myers <joseph@codesourcery.com>
36438
48e44791
JM
36439 [BZ #13824]
36440 * math/e_exp2l.c: Include <float.h>.
36441 (__ieee754_exp2l): Handle overflow and underflow cases
36442 separately. Only pass fractional part of argument to
36443 __ieee754_expl.
36444 * math/libm-test.inc (exp2_test): Add more tests.
36445
c0df8e69
JM
36446 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36447 negating x to take absolute value.
36448 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36449 Likewise.
36450 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36451 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36452 Likewise.
36453 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36454 computing low part if x was negated.
36455 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36456
c8e43ba7
L
364572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36458
36459 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36460 la_x32_gnu_pltexit.
36461 (pltexit): Cast int_retval to ptrdiff_t.
36462 * elf/tst-auditmod3b.c: Likewise.
36463 * elf/tst-auditmod4b.c: Likewise.
36464 * elf/tst-auditmod5b.c: Likewise.
36465 * elf/tst-auditmod6b.c: Likewise.
36466 * elf/tst-auditmod6c.c: Likewise.
36467 * elf/tst-auditmod7b.c: Likewise.
36468
36469 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36470 and x32_gnu_pltexit.
36471
36472 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36473 __ELF_NATIVE_CLASS.
36474 (La_x32_regs): New macro.
36475 (La_x32_retval): Likewise.
36476 (la_x32_gnu_pltenter): New function prototype.
36477 (la_x32_gnu_pltexit): Likewise.
36478
7998fa78
AS
364792012-03-21 Andreas Schwab <schwab@linux-m68k.org>
36480
dcb33988
AS
36481 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36482 exponent.
36483
233fc563
AS
36484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36485
7998fa78
AS
36486 * configure.in (libc_cv_cc_nofma): Check for option to disable
36487 generation of FMA instructions.
36488 * configure: Regenerate.
36489 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36490 * sysdeps/ieee754/dbl-64/Makefile: New file.
36491 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36492 Remove brandred-fma4.
36493 (CFLAGS-brandred-fma4.c): Remove.
36494 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36495 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36496 define.
36497 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36498 define.
36499
8e95c99a
L
365002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36501
36502 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36503 LLONG_MAX != LONG_MAX.
36504 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36505 (_fitoa_word): Likewise.
36506 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36507 LLONG_MAX != LONG_MAX.
36508 * stdio-common/_itowa.h: Include <_itoa.h>.
36509 (_itowa_word): Use _ITOA_WORD_TYPE on value.
36510 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
36511 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
36512 only if not defined.
36513 (_ITOA_WORD_TYPE): Likewise.
36514 (_itoa_word): Use _ITOA_WORD_TYPE on value.
36515 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36516
6f4db457
DM
365172012-03-21 David S. Miller <davem@davemloft.net>
36518
36519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36520
7785fe5a
L
365212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
36522
36523 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36524 of x86_64 when setting libc_cv_slibdir, libdir and
36525 libc_cv_localedir.
36526 * sysdeps/unix/sysv/linux/configure: Regenerated.
36527
4535cd55
JM
365282012-03-21 Joseph Myers <joseph@codesourcery.com>
36529
36530 * manual/lang.texi (Old Varargs): Remove section.
36531 (How Variadic): Update menu.
36532 (va_start): Do not mention varargs.h.
36533
17228132
TS
365342012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36535 Joseph Myers <joseph@codesourcery.com>
36536
36537 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36538 link test.
36539 * configure: Regenerated.
36540
8149f976
TS
365412012-03-21 Thomas Schwinge <thomas@codesourcery.com>
36542
05f3d1f6
UD
36543 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36544 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36545 conformtest.pl
8149f976 36546
1a4ac776
JM
365472012-03-21 Joseph Myers <joseph@codesourcery.com>
36548
be22ce65
JM
36549 * NOTES: Remove.
36550 * Makefile (files-for-dist): Remove NOTES.
36551 (NOTES): Remove rule.
36552 * README: Don't refer to NOTES.
36553 * manual/creature.texi: Don't include macros.texi.
36554 * manual/intro.texi (creature.texi): Remove comment referring to
36555 NOTES.
36556
40b601fb
JM
36557 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36558 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36559 * configure: Regenerated.
36560 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36561 LIBC_TRY_CC_OPTION.
36562 (libc_cv_as_i686): Likewise.
36563 (libc_cv_cc_avx): Likewise.
36564 (libc_cv_cc_sse2avx): Likewise.
36565 (libc_cv_cc_fma4): Likewise.
36566 (libc_cv_cc_novzeroupper): Likewise.
36567 * sysdeps/i386/configure: Regenerated.
36568
1a4ac776
JM
36569 [BZ #13883]
36570 * sysdeps/i386/fpu/s_cexp.S: Remove.
36571 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36572 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36573 * math/libm-test.inc (cexp_test): Add more tests.
36574 * sysdeps/i386/fpu/libm-test-ulps: Update.
36575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36576
a458e7fe
AM
365772012-03-21 Allan McRae <allan@archlinux.org>
36578
36579 * timezone/Makefile: Do not install iso3166.tab and zone.tab
36580
0cb7efc5
JM
365812012-03-21 Joseph Myers <joseph@codesourcery.com>
36582
36583 [BZ #13871]
36584 * math/w_exp2.c: Do not include <float.h>.
36585 (o_threshold, u_threshold): Remove.
36586 (__exp2): Calculate result before checking finiteness and calling
36587 __kernel_standard.
36588 * math/w_exp2f.c: Likewise.
36589 * math/w_exp2l.c: Likewise.
36590 * math/libm-test.inc (exp2_test): Require overflow exception for
36591 1e6 input.
2460d3aa
JM
36592
36593 [BZ #3866]
36594 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36595 range of signed 64-bit integers before using fistpll. Remove
36596 checks for whether integers fit in mantissa bits.
36597 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36598 the range of signed 32-bit integers before using fistpl. Remove
36599 checks for whether integers fit in mantissa bits.
36600 * sysdeps/i386/fpu/e_powl.S (p64): New object.
36601 (__ieee754_powl): Test for y outside the range of signed 64-bit
36602 integers before using fistpll. Reduce 64-bit values to 63-bit
36603 ones as needed.
36604 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36605 divide-by-zero is raised for zero to large negative powers.
36606 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36607 (__ieee754_powl): Test for y outside the range of signed 64-bit
36608 integers before using fistpll. Reduce 64-bit values to 63-bit
36609 ones as needed.
36610 * math/libm-test.inc (pow_test): Add more tests.
36611
eb96ffb0
L
366122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36613
36614 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36615 <stdio-common/_itoa.h>.
36616 * debug/segfault.c: Likewise.
36617 * elf/dl-cache.c: Likewise.
36618 * elf/dl-minimal.c: Likewise.
36619 * elf/dl-misc.c: Likewise.
36620 * elf/dl-sysdep.c: Likewise.
36621 * elf/dl-version.c: Likewise.
36622 * elf/rtld.c: Likewise.
36623 * hurd/hurdsock.c: Likewise.
36624 * hurd/lookup-retry.c: Likewise.
36625 * malloc/malloc.c: Likewise.
36626 * malloc/mtrace.c: Likewise.
36627 * nscd/nscd_getgr_r.c: Likewise.
36628 * nscd/nscd_getpw_r.c: Likewise.
36629 * nscd/nscd_getserv_r.c: Likewise.
36630 * posix/getopt_init.c: Likewise.
36631 * posix/wordexp.c: Likewise.
36632 * stdio-common/_itoa.c: Likewise.
36633 * stdio-common/printf_fphex.c: Likewise.
36634 * stdio-common/vfprintf.c: Likewise.
36635 * string/_strerror.c: Likewise.
36636 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36637 * sysdeps/i386/i686/hp-timing.h: Likewise.
36638 * sysdeps/mach/_strerror.c: Likewise.
36639 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36640 * sysdeps/mach/hurd/sethostid.c: Likewise.
36641 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36642 * sysdeps/mach/xpg-strerror.c: Likewise.
36643 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36644 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36645 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36646 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36647 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36648 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36649 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36650 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36651 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36652 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36653 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36654 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36655 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36656 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36657 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36658 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36659 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36660 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36661 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36662 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36663 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36664
36665 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36666
36667 * stdio-common/_itoa.h: Moved to ...
36668 * sysdeps/generic/_itoa.h: Here.
36669
36670 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36671
36672 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36673 instead of "_itoa.h" and "_itowa.h".
36674 * stdio-common/vfprintf.: Likewise.
36675
d1af992d
L
366762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36677
36678 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36679 <bits/wordsize.h>.
36680 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36681 (__signbit): Likwise.
36682 (llrintf): Likwise.
36683 (llrint): Likwise.
36684
114883e0
L
366852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36686
36687 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36688 __WORDSIZE != 64.
36689
c135cc1b
JM
366902012-03-20 Joseph Myers <joseph@codesourcery.com>
36691
36692 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36693 OVERFLOW_EXCEPTION_OK.
36694 * math/libm-test.inc ("Philosophy"): Update comment about
36695 exception testing.
36696 (OVERFLOW_EXCEPTION): Define.
36697 (OVERFLOW_EXCEPTION_OK): Likewise.
36698 (INVALID_EXCEPTION_OK): Renumber.
36699 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36700 (IGNORE_ZERO_INF_SIGN): Likewise.
36701 (test_exceptions): Handle FE_OVERFLOW.
36702 (exp10_test): Expect overflow exceptions.
36703 (exp2_test): Likewise.
36704 (expm1_test): Likewise.
36705 (nextafter_test): Likewise.
36706 (pow_test): Likewise.
36707 (scalbn_test): Likewise.
36708 (scalbln_test): Likewise.
36709
95443d88
L
367102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36711
36712 * sysdeps/x86_64/bits/atomic.h
36713 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36714 64bit integer.
36715 (atomic_exchange_acq): Likewise.
36716 (__arch_exchange_and_add_body): Likewise.
36717 (__arch_add_body): Likewise.
36718 (atomic_add_negative): Likewise.
36719 (atomic_add_zero): Likewise.
36720
490df6c4
L
367212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36722
c2722551 36723 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
36724 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36725
5e52b189
L
367262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36727
36728 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36729 Check __x86_64__ instead of __WORDSIZE.
36730
a9879d4c
L
367312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36732
36733 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36734
5df98260
DM
367352012-03-19 David S. Miller <davem@davemloft.net>
36736
e1497744
DM
36737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36738
5df98260
DM
36739 * sysdeps/sparc/fpu/fenv_private.h: New file.
36740 * sysdeps/sparc/fpu/math_private.h: Use it.
36741 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36742 Remove.
57f41c40 36743 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
36744 (libc_feholdexcept_setroundl): Remove.
36745 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36746 Remove.
36747 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36748 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36749
b4c35121
L
367502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36751
36752 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36753 int64_t instead of long int.
36754 (INSERT_WORDS64): Likwise.
36755
56965fd7
L
367562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36757
36758 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36759 _Unwind_GetCFA return to _Unwind_Ptr first.
36760
83d1aec8
JM
367612012-03-19 Joseph Myers <joseph@codesourcery.com>
36762
1897ad44
JM
36763 [BZ #13629]
36764 * math/s_clog.c: Include <float.h>.
36765 (__clog): Scale large or subnormal inputs.
36766 * math/s_clogf.c: Likewise.
36767 * math/s_clogl.c: Likewise.
36768 * math/s_clog10.c: Include <float.h>.
36769 (M_LOG10_2): Define.
36770 (__clog10): Scale large or subnormal inputs.
36771 * math/s_clog10f.c: Likewise.
36772 * math/s_clog10l.c: Likewise.
36773 * math/libm-test.inc (clog_test): Add more tests.
36774 (clog10_test): Likewise.
36775 * sysdeps/i386/fpu/libm-test-ulps: Update.
36776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36777
7726d6a9
JM
36778 [BZ #11451]
36779 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36780 x and y.
36781 * math/libm-test.inc (atan2_test): Add another test.
36782
83d1aec8
JM
36783 * Makerules (common-objdir-compile): Remove.
36784 * sysdeps/unix/Makefile (config-generated): Do not add
36785 $(unix-generated) to variable.
36786 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36787 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36788 Remove rule.
36789 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36790 Likewise.
36791 [generic bits/local_lim.h] (before-compile): Do not append to
36792 variable.
36793 [generic bits/local_lim.h] (common-generated): Likewise.
36794 [generic sys/param.h] (before-compile): Do not append to variable.
36795 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36796 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36797 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36798 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36799 include.
36800 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36801 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36802 [generic sys/param.h] ($(addprefix
36803 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36804 [generic sys/param.h] (common-generated): Do not append to
36805 variable.
36806 [generic sys/param.h] (sysdep_headers): Likewise.
36807 [generic bits/errno.h] (before-compile): Do not append to
36808 variable.
36809 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36810 rule.
36811 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36812 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36813 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36814 [generic bits/errno.h] (common-generated): Do not append to
36815 variable.
36816 [generic bits/ioctls.h] (before-compile): Do not append to
36817 variable.
36818 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36819 rule.
36820 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36821 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36822 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36823 rule.
36824 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36825 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36826 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36827 [generic bits/ioctls.h] (common-generated): Do not append to
36828 variable.
36829 [generic sys/syscall.h] (syscall.h): Remove variable.
36830 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36831 rule.
36832 [generic sys/syscall.h] (before-compile): Do not append to
36833 variable.
36834 [generic sys/syscall.h] (common-generated): Likewise.
36835 * sysdeps/unix/errnos-tmpl.c: Remove file.
36836 * sysdeps/unix/errnos.awk: Likewise.
36837 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36838 * sysdeps/unix/ioctls.awk: Likewise.
36839 * sysdeps/unix/mk-local_lim.c: Likewise.
36840 * sysdeps/unix/snarf-ioctls: Likewise.
36841
4851a949
RH
368422012-03-19 Richard Henderson <rth@twiddle.net>
36843
bd37f2ee
RH
36844 * sysdeps/i386/fpu/fenv_private.h: New file.
36845 * sysdeps/i386/fpu/math_private.h: Use it.
36846 (math_opt_barrier, math_force_eval): Remove.
36847 (libc_feholdexcept_setround_53bit): Remove.
36848 (libc_feupdateenv_53bit): Remove.
36849 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36850 (math_opt_barrier, math_force_eval): Remove.
36851 (libc_feholdexcept): Remove.
36852 (libc_feholdexcept_setround): Remove.
36853 (libc_fetestexcept, libc_fesetenv): Remove.
36854 (libc_feupdateenv_test): Remove.
36855 (libc_feupdateenv, libc_feholdsetround): Remove.
36856 (libc_feresetround): Remove.
36857
d0adc922
RH
36858 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36859 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36860
0fe0f1f8
RH
36861 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36862 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36863 (libc_feupdateenv_testl): New.
36864 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36865 (libc_feupdateenv_testf): New.
36866 (libc_feupdateenv): Use libc_feupdateenv_test.
36867 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36868 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36869
eb92c487
RH
36870 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36871 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36872 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36873 (libc_feresetround_noex): New.
36874 (libc_feresetround_noexf): New.
36875 (libc_feresetround_noexl): New.
36876 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36877 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36878 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36879 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36880 SET_RESTORE_ROUND.
36881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36883 (__cos): Likewise.
36884 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36885 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36886 SET_RESTORE_ROUND_NOEX.
36887 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36888 SET_RESTORE_ROUND_NOEXF.
36889 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36890 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36891 (libc_feholdsetroundf): New.
36892 (libc_feresetround, libc_feresetroundf): New.
36893
7d2e8012
RH
36894 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36895 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36896 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36897
b4dabbb4
RH
36898 * sysdeps/generic/math_private.h: Include <fenv.h>.
36899 (default_libc_feholdexcept): New.
36900 (default_libc_feholdexcept_setround): New.
36901 (default_libc_fesetenv, default_libc_feupdateenv): New.
36902 (libc_feholdexcept): Only define if undefined.
36903 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36904 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36905 (libc_feholdexcept_setroundl): Likewise.
36906 (libc_feholdexcept_setround_53bit): Likewise.
36907 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36908 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36909 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36910 (libc_feupdateenv_53bit): Likewise.
36911 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36912 (libc_feholdexcept): Convert from macro to inline function.
36913 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36914 (libc_fesetenv, libc_feupdateenv): Likewise.
36915
4851a949
RH
36916 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36917 not previously defined.
36918 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36919 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36920 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36921 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36922 * sysdeps/ieee754/flt-32/math_private.h: New file.
36923 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36924 math_private.h below SET_FLOAT_WORD.
36925 (__isnan, __isinf_ns, __finite): Remove.
36926 (__isnanf, __isinf_nsf, __finitef): Remove.
36927
e79d442e
AS
369282012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36929
36930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36931
90b80344
DM
369322012-03-17 David S. Miller <davem@davemloft.net>
36933
36934 [BZ #6471]
36935 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36936 for 2.16.
36937
edc21804
DM
369382012-03-16 David S. Miller <davem@davemloft.net>
36939
77e927af
DM
36940 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36941 warnings.
36942
374976dd
DM
36943 [BZ #6471]
36944 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36945 properly.
36946 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36947 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36948 sysdep_routines when subdir is sysvipc.
36949 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36950 __getshmlba helper.
36951
edc21804
DM
36952 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36953
473c3ef3
L
369542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36955
36956 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36957 [__LP64__].
36958
eb0f39b6
L
369592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36960
36961 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36962 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36963 (__lround): Renamed to ...
36964 (__llround): This. Replace long int with long long int.
36965 Define lround functions as aliases of llround functions.
36966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36967
6b6cd74b
L
369682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36969
36970 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36971 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36972 adresses to uintptr_t. Replace "long int" and "unsigned long
36973 int" with "greg_t" on va_arg.
36974
f1a77b01
L
369752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36976
36977 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36978 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36979
36980 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36981 Move e_machine check before EI_CLASS check. Handle x32
36982 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36983 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36984 SKIP_EM_IA_64 and include
36985 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36986
36987 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36988 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36989 (add_system_dir): New macro.
36990
36991 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36992 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36993
11b90b9f
JM
369942012-03-16 Joseph Myers <joseph@codesourcery.com>
36995
c36e1d23
JM
36996 [BZ #2551]
36997 [BZ #2552]
36998 [BZ #2553]
36999 [BZ #2554]
37000 [BZ #2562]
37001 [BZ #2563]
37002 [BZ #2565]
37003 [BZ #2566]
37004 [BZ #2576]
37005 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37006 (y0): Likewise.
37007 * math/w_j0f.c (j0f): Likewise.
37008 (y0f): Likewise.
37009 * math/w_j0l.c (__j0l): Likewise.
37010 (__y0l): Likewise.
37011 * math/w_j1.c (j1): Likewise.
37012 (y1): Likewise.
37013 * math/w_j1f.c (j1f): Likewise.
37014 (y1f): Likewise.
37015 * math/w_j1l.c (__j1l): Likewise.
37016 (__y1l): Likewise.
37017 * math/w_jn.c (jn): Likewise.
37018 (yn): Likewise.
37019 * math/w_jnf.c (jnf): Likewise.
37020 (ynf): Likewise.
37021 * math/w_jnl.c (__jnl): Likewise.
37022 (__ynl): Likewise.
37023 * math/libm-test.inc (j0_test): Add more tests.
37024 (j1_test): Likewise.
37025 (jn_test): Likewise. Add trailing semicolon to existing test.
37026 (y0_test): Likewise.
37027 (y1_test): Likewise.
37028 * sysdeps/i386/fpu/libm-test-ulps: Update.
37029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37030
11b90b9f
JM
37031 [BZ #13851]
37032 [BZ #13854]
37033 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37034 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37035 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37036 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37037 (__tanl): Set errno for infinite argument.
37038 * sysdeps/i386/fpu/mptan.c: Remove.
37039 * sysdeps/i386/fpu/s_tan.S: Likewise.
37040 * sysdeps/i386/fpu/s_tanl.S: Likewise.
37041 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37042 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37043 * math/libm-test.inc (tan_test): Add more tests and enable more
37044 tests for double and long double.
37045 * sysdeps/i386/fpu/libm-test-ulps: Update.
37046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37047
6a1bd2a1
JK
370482012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
37049
37050 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37051 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37052
10a803e0
RM
370532012-03-16 Roland McGrath <roland@hack.frob.com>
37054
37055 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37056 * configure.in: Use it for both main tree and add-ons.
37057 * configure: Regenerated.
37058
f196c7f7
L
370592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
37060
37061 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37062
8848d99d
JM
370632012-03-16 Joseph Myers <joseph@codesourcery.com>
37064
96cbe7f4
JM
37065 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37066 in comment.
37067
8848d99d
JM
37068 [BZ #13851]
37069 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37070 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37071 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37072 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37073 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37074 infinite argument.
37075 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37077 != 0 for prec == 2.
37078 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37079 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37080 * sysdeps/i386/fpu/s_cosl.S: Likewise.
37081 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37082 * sysdeps/i386/fpu/s_sinl.S: Likewise.
37083 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37084 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37085 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37086 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37087 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37088 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37089 * math/libm-test.inc (cos_test): Add more tests and enable more
37090 tests for long double.
37091 (sin_test): Likewise.
37092 (sincos_test): Likewise.
37093 * sysdeps/i386/fpu/libm-test-ulps: Update.
37094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37095
dd7f4703
DM
370962012-03-16 David S. Miller <davem@davemloft.net>
37097
37098 * sysdeps/sparc/fpu/math_private.h: New file.
37099
006f1daa
DM
371002012-03-15 David S. Miller <davem@davemloft.net>
37101
c0c83bc8
DM
37102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37103 file.
e6a62e18 37104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
37105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37106 file.
e6a62e18
DM
37107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37112 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37113 sysdep routines.
37114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37115
88cb87d9
DM
37116 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37117 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37118
006f1daa 37119 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
37120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37121 sparc-ifunc.h
006f1daa 37122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
37123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37124 Likewise.
37125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37126 Likewise.
006f1daa
DM
37127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
37130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37131 Likewise.
006f1daa
DM
37132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
37136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37137 Likewise.
37138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37139 Likewise.
006f1daa
DM
37140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37144 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37145 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37146 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37147 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37148 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37149 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37155 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37156 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37157 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37158 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37159 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37162 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37163 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37164
11e0098e
AS
371652012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37166
37167 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37168 scaling.
37169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37170
e85b09d0
AJ
371712012-03-15 Andreas Jaeger <aj@suse.de>
37172
37173 [BZ #13852]
37174 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37175 ieee754/flt-32 implementation for sin, cos and sincos.
37176 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37177 * sysdeps/i386/fpu/s_cosf.S: Likewise.
37178 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37179 * sysdeps/i386/fpu/s_sinf.S: Likewise.
37180 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37181 ieee754/flt-32 implementation for tan.
37182
37183 * math/libm-test.inc (cos_test): Enable some large input tests for
37184 float as well
37185 (sin_test): Likewise.
37186 (sincos_test): Likewise.
37187 (tan_test): Add tests for large input.
37188
37189 * sysdeps/i386/fpu/libm-test-ulps: Update.
37190
81c64153
AJ
371912012-03-15 Andreas Jaeger <aj@suse.de>
37192
37193 [BZ #13658]
37194 * math/libm-test.inc (cos_test): Add more test cases.
37195 (sin_test): Likewise.
37196 (sincos_test): Likewise.
37197
7bbfa5c6
AJ
371982012-03-15 Andreas Jaeger <aj@suse.de>
37199
37200 [BZ #13837]
37201 * math/libm-test.inc (cos_test): Add a test case for large input
37202 value.
37203 (sin_test): Likewise.
37204 (sincos_test): Likewise.
37205
57f41c40
AS
372062012-03-15 Andreas Jaeger <aj@suse.de>
37207 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
37208
37209 [BZ #13658]
0671f479 37210 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
37211 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37212 * sysdeps/i386/fpu/branred.c: Likewise.
37213 * sysdeps/i386/fpu/dosincos.c: Likewise.
37214 * sysdeps/i386/fpu/mpa.c: Likewise.
37215 * sysdeps/i386/fpu/s_cos.S: Likewise.
37216 * sysdeps/i386/fpu/s_sin.S: Likewise.
37217 * sysdeps/i386/fpu/s_sincos.S: Likewise.
37218 * sysdeps/i386/fpu/sincos32.c: Likewise.
37219
37220 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37221 Define.
37222 (libc_feupdateenv_53bit): Define.
37223 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37224 Define.
37225 (libc_feupdateenv_53bit): Define.
37226
37227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37228 53 bit (without extend i386 double precision).
37229
37230 * math/libm-test.inc (sincos_test): Add tests for large input.
37231 (sin): Likewise.
37232 (cos): Likewise.
37233
37234 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37235
9cad04ea
AS
372362012-03-15 Andreas Schwab <schwab@linux-m68k.org>
37237
37238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37239
f7062b9a
DM
372402012-03-15 David S. Miller <davem@davemloft.net>
37241
37242 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37243 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37244 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37245 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37254 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
37257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
37258 file.
f7062b9a 37259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
37260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
37261 file.
f7062b9a 37262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
37263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
37264 file.
f7062b9a 37265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
37266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
37267 file.
f7062b9a
DM
37268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
37269 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
37270 fmin/fmax sysdep routines.
37271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37272
7bd951ff
DM
372732012-03-14 David S. Miller <davem@davemloft.net>
37274
559398ab
DM
37275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
37276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
37277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
37278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
37279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
37280 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
37281 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
37282 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
37283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
37284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
37285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
37286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
37287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
37288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
37289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
37290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
37291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
37292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
37293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
37294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
37295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
37296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
37297 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
37298 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
37299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
37300 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
37301 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
37302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
37303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
37304 routines.
37305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
37306 file.
559398ab 37307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
37308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
37309 file.
559398ab 37310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
37311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
37312 file.
559398ab 37313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
37314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
37315 file.
559398ab 37316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
37317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
37318 file.
559398ab 37319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
37320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
37321 file.
37322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
37323 file.
37324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
37325 file.
37326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
37327 file.
37328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
37329 New file.
37330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
37331 file.
37332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
37333 file.
559398ab 37334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
37335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
37336 file.
559398ab 37337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
37338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
37339 file.
559398ab 37340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
37341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
37342 file.
559398ab 37343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
37344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
37345 VIS3 routines.
559398ab
DM
37346
37347 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37348 New file.
37349
5a1c1e32
DM
37350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37351
eae47a36
DM
37352 * sysdeps/sparc/configure.in: New file.
37353 * sysdeps/sparc/configure: Generate.
37354 * configure.in (libc_cv_sparc_as_vis3): Substitute.
37355 * configure: Regenerate.
37356 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
37357 * config.make.in (have-as-vis3): New.
37358 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
37359 available use -Av9d instead of -Av9a.
37360 * sysdeps/sparc/sparc64/Makefile: Likewise.
37361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
37362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
37363 New file.
37364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
37365 file.
37366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
37367 New file.
37368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
37369 file.
eae47a36
DM
37370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
37371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
37372 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
37373 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
37374 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
37375
c0c83bc8
DM
37376 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
37377 fzeros/fnegs to load 0x80000000 into a float register instead of
37378 using the stack.
7bd951ff
DM
37379 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
37380
bd951ccb
JM
373812012-03-14 Joseph Myers <joseph@codesourcery.com>
37382
37383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37384 bits/syscall.h.
37385 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
37386 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
37387 ($(inst_includedir)/bits/syscall.h): Remove rule.
37388 ($(objpfx)bits/syscall.d): Include instead of
37389 $(objpfx)syscall-list.d.
37390 (generated): Change syscall-list.h and syscall-list.d to
37391 bits/syscall.h and bits/syscall.d.
37392
bb4e6db2
RM
373932012-03-14 Roland McGrath <roland@hack.frob.com>
37394
37395 [BZ #13846]
37396 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
37397
aa4a2ae1
JM
373982012-03-14 Joseph Myers <joseph@codesourcery.com>
37399
e456826d
JM
37400 [BZ #13841]
37401 * math/s_csqrt.c: Include <float.h>.
37402 (__csqrt): Scale large or subnormal inputs.
37403 * math/s_csqrtf.c: Likewise.
37404 * math/s_csqrtl.c: Likewise.
37405 * math/libm-test.inc (csqrt_test): Add more tests.
37406 * sysdeps/i386/fpu/libm-test-ulps: Update.
37407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37408
aa4a2ae1
JM
37409 [BZ #13840]
37410 * math/libm-test.inc (hypot_test): Add more tests.
37411
7c10fd35
DM
374122012-03-13 David S. Miller <davem@davemloft.net>
37413
37414 [BZ #13840]
37415 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37416 double-precision for the calculation instead of scaling.
37417
f453b98b
JM
374182012-03-13 Joseph Myers <joseph@codesourcery.com>
37419
37420 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37421 manipulate bits before adding and subtracting TWO52[sx].
37422 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37423 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37424 Likewise.
37425 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37426
09a3453f
DM
374272012-03-13 David S. Miller <davem@davemloft.net>
37428
8e59da90
DM
37429 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37430 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37431 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37432 rtld-global-offsets.h
37433 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37434
2a8ab7f2
DM
37435 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37436 large parameters.
37437
10f62770
DM
37438 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37439
5f0bdb18
DM
37440 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37441 'err' in the ifdef scope in which it is actually used.
37442
09a3453f
DM
37443 * nss/nss_db/db-init.c: Include string.h
37444
b4b2eb5e
DM
374452012-03-12 David S. Miller <davem@davemloft.net>
37446
98bb2f1c
DM
37447 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37448 masking out of the most significant byte of random value used.
37449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37450 Fix coding style in previous change.
37451
b4b2eb5e
DM
37452 * sysdeps/unix/sysv/linux/kernel-features.h
37453 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37454 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37455 expression.
37456 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37457 later.
37458
6e226b09
DM
374592012-03-11 David S. Miller <davem@davemloft.net>
37460
a1bcbd40
DM
37461 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37462 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37463 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37464 for 'resultvar' otherwise things get truncated on 64-bit.
37465
cb9d6174
DM
37466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37467 Fix masking out of the most significant byte of random value used.
37468
6e226b09
DM
37469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37470
058c132d
AS
374712012-03-10 Andreas Schwab <schwab@linux-m68k.org>
37472
37473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37474
2d2cd515
DM
374752012-03-09 David S. Miller <davem@davemloft.net>
37476
37477 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37478 variables with appropriate CPP guards.
57f41c40
AS
37479 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37480 from the frame pointer, not the stack pointer. Correct layout
37481 comments. Fix test on resulting framesize and the management of
37482 the outregs buffer for pltexit. Preserve floating point return
37483 values across _dl_call_pltexit call.
2d2cd515
DM
37484 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37485 framesize and the management of the outregs buffer for pltexit.
37486 Preserve floating point return values across _dl_call_pltexit
37487 call.
57f41c40
AS
37488 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37489 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37490 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
37491 (print_exit): Fix format string for return register value.
37492
9a07f9d0
JM
374932012-03-10 Joseph Myers <joseph@codesourcery.com>
37494
37495 * sunrpc/Makefile (others): Add rpcgen.
37496 ($(objpfx)rpcgen): Remove special build rule and dependency on
37497 libc.
37498 * sunrpc/rpcgen.c: New file.
37499
547b5e30
PE
375002012-03-09 Paul Eggert <eggert@cs.ucla.edu>
37501
c524201a
PE
37502 [BZ #13673]
37503 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37504 * stdio-common/bug-vfprintf-nargs.c: Likewise.
37505 * sysdeps/i386/crti.S: Likewise.
37506 * sysdeps/i386/crtn.S: Likewise.
37507 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37508 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37509 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37510 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37511 * sysdeps/sh/crti.S: Likewise.
37512 * sysdeps/sh/crtn.S: Likewise.
37513 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37514
7b6235f2
PE
37515 [BZ #13673]
37516 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37517 with URL.
37518 * locale/programs/locfile-kw.gperf: Likewise.
37519 * locale/programs/charmap-kw.h: Regenerated.
37520 * locale/programs/locfile-kw.h: Likewise.
37521
547b5e30
PE
37522 [BZ #13673]
37523 * intl/plural.y: Replace FSF snail mail address with URL.
37524 * intl/plural.c: Regenerated.
37525
5f0a5dae
RH
375262012-03-09 Richard Henderson <rth@twiddle.net>
37527
37528 * include/math_private.h: Remove file.
37529 * math/math_private.h: Move file ...
37530 * sysdeps/generic/math_private.h: ... here.
37531
b8c03620
RH
37532 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37533 * sysdeps/powerpc/fpu/math_private.h: Likewise.
37534 * sysdeps/x86_64/fpu/math_private.h: Likewise.
37535
4e234f5d 37536 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
37537 and <math_private.h>.
37538 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37539 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37540 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37541 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37542 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37543 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37544 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37546 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37547 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37559 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37560 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37561 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37562 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37563 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37564 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37565 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37567 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37568 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37570 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37571 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37579 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37580 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37581 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37582 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37583 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37584 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37585 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37586 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37587 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37588 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37589 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37590 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37591 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37592 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37602 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37603 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37604 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37605 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37606 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37607 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37608 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37609 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37611 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37612 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37617 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37618 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37619 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37620 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37621 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37622 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37624 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37625 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37626 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37627 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37628 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37629 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37630 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37631 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37632 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37633 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37635 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37636 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37637 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37638 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37639 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37640 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37641 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37642 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37643 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37644 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37645 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37646 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37647 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37648 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37649 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37650 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37651 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37652 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37653 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37654 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37655 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37656 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37657 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37658 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37659 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37660 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37661 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37662 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37663 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37664 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37665 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37666 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37667 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37668 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37669 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37670 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37671 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37672 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37673 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37674 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37675 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37676 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37677 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37678 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37679 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37680 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37681 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37682 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37683 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37684 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37685 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37686 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37687 * sysdeps/ieee754/k_standard.c: Likewise.
37688 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37689 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37690 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37691 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37692 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37693 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37694 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37695 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37696 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37697 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37698 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37699 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37700 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37701 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37702 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37703 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37704 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37705 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37706 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37707 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37708 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37709 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37710 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37711 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37712 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37713 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37714 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37715 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37716 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37717 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37718 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37719 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37720 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37721 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37722 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37723 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37724 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37725 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37726 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37727 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37728 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37729 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37730 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37731 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37732 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37733 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37734 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37735 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37736 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37737 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37738 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37739 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37740 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37741 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37742 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37743 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37744 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37745 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37746 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37747 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37748 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37749 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37750 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37751 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37752 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37753 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37755 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37756 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37757 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37758 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37759 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37760 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37761 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37762 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37763 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37764 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37765 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37767 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37768 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37769 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37770 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37771 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37772 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37773 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37774 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37775 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37776 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37778 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37779 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37780 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37781 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37782 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37783 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37784 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37787 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37788 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37789 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37790 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37791 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37792 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37795 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37796 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37797 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37798 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37799 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37800 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37801 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37802 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37803 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37804 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37805 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37806 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37807 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37808 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37809 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37810 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37811 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37812 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37813 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37814 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37815 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37816 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37817 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37818 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37819 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37820 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37821 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37822 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37823 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37824 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37825 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37826 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37827 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37828 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37829 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37830 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37831 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37832 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37833 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37834 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37835 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37836 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37837 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37838 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37839 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37840 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37841 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37842 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37843 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37844 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37845 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37846 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37847 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37848 * sysdeps/ieee754/s_lib_version.c: Likewise.
37849 * sysdeps/ieee754/s_matherr.c: Likewise.
37850 * sysdeps/ieee754/s_signgam.c: Likewise.
37851 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37852 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37853 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37854 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37855 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37856 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37857 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37858 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37859 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37860 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37861 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37862 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37863 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37864 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37865 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37866 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37867 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37868 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37869 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 37872
1991fa03
JM
378732012-03-09 Joseph Myers <joseph@codesourcery.com>
37874
37875 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37876 * sunrpc/rpc_main.c: Likewise.
37877 * sunrpc/rpc_svcout.c: Likewise.
37878
60d6f5a6
DM
378792012-03-09 David S. Miller <davem@davemloft.net>
37880
37881 * include/math_private.h: New file.
37882
4962050e
JM
378832012-03-09 Joseph Myers <joseph@codesourcery.com>
37884
02a6f887
JM
37885 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37886 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37887 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37888 from <bits/socket_type.h>.
37889 (enum __socket_type): Don't define here.
37890 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37891 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37892 bits/socket_type.h.
37893
c6e013c1
JM
37894 [BZ #13566]
37895 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37896 checking __USE_GNU.
37897
4962050e
JM
37898 * Makerules ($(inst_includedir)/%.h): New rule.
37899 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37900 (install-others): Remove variable setting.
37901 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37902
38842f45
RH
379032012-03-08 Richard Henderson <rth@twiddle.net>
37904
67bb6da6
RH
37905 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37906 from macro to inline function; merge with the
37907 !__LIBC_INTERNAL_MATH_INLINES version.
37908 (__ieee754_sqrtf): Likewise.
37909
15194b4b
RH
37910 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37911 to inline function.
37912 (__rintf, __floor, __floorf): Likewise.
37913
64e21ede
RH
37914 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37915 macro to inline function.
37916 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37917
38842f45
RH
37918 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37919 not <math/math_private.h>.
37920
c64bf5fe
DM
379212012-03-08 David S. Miller <davem@davemloft.net>
37922
37923 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37924 copyright year.
37925 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37926
82d86f28
TS
379272012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37928
37929 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37930 normalization.
37931 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37932 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37933
aea5d727
UD
379342012-03-08 Ulrich Drepper <drepper@gmail.com>
37935
37936 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37937 be defined individually, they must be defined as a block. Define
37938 S for printing a string instead of hidint the different by using a
37939 macro for adding the 'l'.
37940 * stdio-common/tst-fphex-wide.c: Adjust.
37941
70bca0a3
MP
379422012-03-07 Marek Polacek <polacek@redhat.com>
37943
37944 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37945
65b81130
MP
379462012-03-08 Marek Polacek <polacek@redhat.com>
37947
37948 [BZ #13806]
37949 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37950 * stdio-common/tst-fphex.c: Define a few macros to make the
37951 test reusable. Use them.
37952 * stdio-common/tst-fphex-wide.c: New file.
37953
07037eeb
JM
379542012-03-08 Joseph Myers <joseph@codesourcery.com>
37955
a7a93d50
JM
37956 [BZ #6911]
37957 * manual/macros.texi (gnusystems): New macro.
37958 (nongnusystems): Likewise.
37959 (gnulinuxhurdsystems): Likewise.
37960 (gnuhurdsystems): Likewise..
37961 (gnulinuxsystems): Likewise.
37962 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37963 variants of the GNU system, not "GNU system".
37964 * manual/conf.texi: Likewise.
37965 * manual/errno.texi: Likewise. Update example of errno macro
37966 expansion.
37967 * manual/filesys.texi: Likewise.
37968 (getumask): Document as specific to GNU/Hurd.
37969 * manual/install.texi: Likewise. Reword some references to
37970 GNU/Linux.
37971 * manual/intro.texi: Likewise.
37972 * manual/io.texi: Likewise.
37973 (File Name Portability): Detail which constraints are inapplicable
37974 to all GNU systems and which are only inapplicable to GNU/Hurd.
37975 * manual/job.texi: Likewise.
37976 * manual/llio.texi: Likewise.
37977 (O_NOCTTY): Document as present on GNU/Linux.
37978 * manual/maint.texi: Likewise.
37979 * manual/memory.texi: Likewise.
37980 * manual/pattern.texi: Likewise.
37981 * manual/pipe.texi: Likewise.
37982 * manual/process.texi: Likewise.
37983 * manual/resource.texi: Likewise.
37984 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37985 child on GNU/Hurd.
37986 * manual/setjmp.texi: Likewise.
37987 * manual/signal.texi: Likewise.
37988 * manual/startup.texi: Likewise.
37989 * manual/stdio.texi: Likewise.
37990 * manual/terminal.texi: Likewise.
37991 (ONLCR): Document as POSIX.
37992 (OXTABS): Document availability on GNU/Linux as XTABS.
37993 (ONOEOT): Document availability separately from other bits.
37994 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37995 * manual/time.texi: Likewise.
37996 * manual/users.texi: Likewise.
37997 * INSTALL: Regenerated.
37998 * sysdeps/gnu/errlist.c: Regenerated.
37999
07037eeb
JM
38000 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38001 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38002 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
38003 puts.
38004 * configure: Regenerated.
38005
d1d3431a
JM
380062012-03-07 Joseph Myers <joseph@codesourcery.com>
38007
af6a1e37
JM
38008 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38009 default includes instead of AC_HEADER_CHECK.
38010 * sysdeps/i386/configure: Regenerated.
38011
d1d3431a
JM
38012 [BZ #10716]
38013 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38014 * math/s_cacoshf.c (__cacoshf): Likewise.
38015 * math/s_cacoshl.c (__cacoshl): Likewise.
38016 * math/s_casinh.c (__casinh): Set signs of result from argument.
38017 * math/s_casinhf.c (__casinhf): Likewise.
38018 * math/s_casinhl.c (__casinhl): Likewise.
38019 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38020 (casinh_test): Add more tests.
38021 * sysdeps/i386/fpu/libm-test-ulps: Update.
38022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38023
482ff4da
UD
380242012-03-07 Ulrich Drepper <drepper@gmail.com>
38025
872fda05
UD
38026 * po/zh_TW.po: Update from translation team.
38027
a4300c7a
UD
38028 * login/Makefile (distribute): Remove variable.
38029 * catgets/Makefile: Likewise.
38030 * mach/Makefile: Likewise.
38031 * malloc/Makefile: Likewise.
38032 * misc/Makefile: Likewise.
38033 * iconv/Makefile: Likewise.
38034 * nscd/Makefile: Likewise.
38035 * hurd/Makefile: Likewise.
38036 * manual/Makefile: Likewise.
38037 * locale/Makefile: Likewise.
38038 * intl/Makefile: Likewise.
38039 * conform/Makefile: Likewise.
38040 * nss/Makefile: Likewise.
38041 * time/Makefile: Likewise.
38042 * soft-fp/Makefile: Likewise.
38043 * dirent/Makefile: Likewise.
38044 * gmon/Makefile: Likewise.
38045 * po/Makefile: Likewise.
38046 * rt/Makefile: Likewise.
38047 * socket/Makefile: Likewise.
38048 * math/Makefile: Likewise.
38049 * signal/Makefile: Likewise.
38050 * debug/Makefile: Likewise.
38051 * elf/Makefile: Likewise.
38052 * timezone/Makefile: Likewise.
38053 * stdlib/Makefile: Likewise.
38054 * iconvdata/Makefile: Likewise.
38055 * sunrpc/Makefile: Likewise.
38056 * io/Makefile: Likewise.
38057 * argp/Makefile: Likewise.
38058 * inet/Makefile: Likewise.
38059 * hesiod/Makefile: Likewise.
38060 * grp/Makefile: Likewise.
38061 * csu/Makefile: Likewise.
38062 * wctype/Makefile: Likewise.
38063 * crypt/Makefile: Likewise.
38064 * libio/Makefile: Likewise.
38065 * string/Makefile: Likewise.
38066 * nis/Makefile: Likewise.
38067 * resolv/Makefile: Likewise.
38068 * stdio-common/Makefile: Likewise.
38069 * wcsmbs/Makefile: Likewise.
38070 * dlfcn/Makefile: Likewise.
38071 * posix/Makefile: Likewise.
38072
3b7c4e74 38073 [BZ #6959]
482ff4da
UD
38074 * timezone/Makefile: Don't install timezone files, just the programs
38075 and scripts.
38076
f72ed77d
UD
380772012-03-06 Ulrich Drepper <drepper@gmail.com>
38078
a000466f
UD
38079 * nss/databases.def: Add missing gshadow entry.
38080
f72ed77d
UD
38081 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
38082
a53b7a4e
MP
380832012-03-06 Marek Polacek <polacek@redhat.com>
38084
38085 [BZ #13726]
38086 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38087 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38088 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38089 * stdio-common/tst-long-dbl-fphex.c: New file.
38090
e9258400
DM
380912012-03-06 David S. Miller <davem@davemloft.net>
38092
38093 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38094 (set_obp_int): New function.
38095 (get_obp_int): New function.
38096 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
38097 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38098 Avoid unused variable warnings on 'val' and use builtin_expect.
38099 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38100 __builtin_expect.
e9258400
DM
38101 (INLINE_CLONE_SYSCALL): Likewise.
38102
3bd2c723
DM
381032012-03-05 David S. Miller <davem@davemloft.net>
38104
38105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38106
bbb78d03
AS
381072012-03-05 Andreas Schwab <schwab@linux-m68k.org>
38108
884c5db4
AS
38109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38110
bbb78d03
AS
38111 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38112 only for |x| >= 40.
38113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38114
1c9f702a 381152012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
38116
38117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38118 Replace gettimeofday with __vdso_gettimeofday.
38119
7be16f82
RM
38120 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38121 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38122 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
38123
38124 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38125 time with __vdso_time.
38126
ed58a00f
JM
381272012-03-05 Joseph Myers <joseph@codesourcery.com>
38128
38129 * manual/lang.texi (size_t): Note types to which size_t may be
38130 equivalent with the GNU C Library, but do not describe when
38131 differences between them are significant.
38132
30ee4ced
AJ
381332012-03-05 Andreas Jaeger <aj@suse.de>
38134
38135 * sysdeps/i386/fpu/libm-test-ulps: Update.
38136
b7cd39e8
JM
381372012-03-05 Joseph Myers <joseph@codesourcery.com>
38138
38139 [BZ #3976]
38140 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38141 (__ieee754_pow): Save and restore rounding mode and use
38142 round-to-nearest for main computations.
38143 * math/libm-test.inc (pow_test_tonearest): New function.
38144 (pow_test_towardzero): Likewise.
38145 (pow_test_downward): Likewise.
38146 (pow_test_upward): Likewise.
38147 (main): Call the new functions.
38148 * sysdeps/i386/fpu/libm-test-ulps: Update.
38149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
38150
38151 [BZ #3976]
38152 * math/libm-test.inc (cosh_test_tonearest): New function.
38153 (cosh_test_towardzero): Likewise.
38154 (cosh_test_downward): Likewise.
38155 (cosh_test_upward): Likewise.
38156 (sinh_test_tonearest): Likewise.
38157 (sinh_test_towardzero): Likewise.
38158 (sinh_test_downward): Likewise.
38159 (sinh_test_upward): Likewise.
38160 (main): Call the new functions.
38161 * sysdeps/i386/fpu/libm-test-ulps: Update.
38162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38163
6c6a98c9
TV
381642012-03-05 Tom de Vries <tom@codesourcery.com>
38165
38166 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38167 default stack guard is set in last bytes.
38168 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38169
21bb2d2e 381702012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 38171
21bb2d2e 38172 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 38173
21bb2d2e
AJ
38174 [BZ #13656]
38175 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38176 possibly allocate from heap instead of stack.
38177 * stdio-common/bug-vfprintf-nargs.c: New file.
38178 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 38179
c6922934
AS
381802012-03-03 Andreas Schwab <schwab@linux-m68k.org>
38181
38182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38183
bc957d53
MP
381842012-03-03 Marek Polacek <polacek@redhat.com>
38185
38186 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38187 * math/math_private.h: Likewise.
38188 * stdlib/tst-strtod.c: Likewise.
38189 * sysdeps/i386/i486/bits/atomic.h: Likewise.
38190 * sysdeps/x86_64/bits/atomic.h: Likewise.
38191
6358490d
DM
381922012-03-02 David S. Miller <davem@davemloft.net>
38193
38194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38198 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38199 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38200 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38201 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38202
01ae168d
RM
382032012-03-02 Roland McGrath <roland@hack.frob.com>
38204
d9a17c07
RM
38205 [BZ #13792]
38206 * manual/examples/README: New file, says the example source files
38207 can be used under GPL>=2.
38208 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38209 line containing just "*/".
38210 * manual/examples/add.c: Add copyright header (GPL>=2).
38211 * manual/examples/argp-ex1.c: Likewise.
38212 * manual/examples/argp-ex2.c: Likewise.
38213 * manual/examples/argp-ex3.c: Likewise.
38214 * manual/examples/argp-ex4.c: Likewise.
38215 * manual/examples/atexit.c: Likewise.
38216 * manual/examples/db.c: Likewise.
38217 * manual/examples/dir.c: Likewise.
38218 * manual/examples/dir2.c: Likewise.
38219 * manual/examples/execinfo.c: Likewise.
38220 * manual/examples/filecli.c: Likewise.
38221 * manual/examples/filesrv.c: Likewise.
38222 * manual/examples/fmtmsgexpl.c: Likewise.
38223 * manual/examples/genpass.c: Likewise.
38224 * manual/examples/inetcli.c: Likewise.
38225 * manual/examples/inetsrv.c: Likewise.
38226 * manual/examples/isockad.c: Likewise.
38227 * manual/examples/longopt.c: Likewise.
38228 * manual/examples/memopen.c: Likewise.
38229 * manual/examples/memstrm.c: Likewise.
38230 * manual/examples/mkfsock.c: Likewise.
38231 * manual/examples/mkisock.c: Likewise.
38232 * manual/examples/mygetpass.c: Likewise.
38233 * manual/examples/pipe.c: Likewise.
38234 * manual/examples/popen.c: Likewise.
38235 * manual/examples/rprintf.c: Likewise.
38236 * manual/examples/search.c: Likewise.
38237 * manual/examples/select.c: Likewise.
38238 * manual/examples/setjmp.c: Likewise.
38239 * manual/examples/sigh1.c: Likewise.
38240 * manual/examples/sigusr.c: Likewise.
38241 * manual/examples/stpcpy.c: Likewise.
38242 * manual/examples/strdupa.c: Likewise.
38243 * manual/examples/strftim.c: Likewise.
38244 * manual/examples/strncat.c: Likewise.
38245 * manual/examples/subopt.c: Likewise.
38246 * manual/examples/swapcontext.c: Likewise.
38247 * manual/examples/termios.c: Likewise.
38248 * manual/examples/testopt.c: Likewise.
38249 * manual/examples/testpass.c: Likewise.
38250 * manual/examples/timeval_subtract.c: Likewise.
38251
01ae168d
RM
38252 [BZ #13792]
38253 * manual/time.texi (Elapsed Time): Move timeval_subtract example
38254 function to ...
38255 * manual/timeval_subtract.c.texi: ... here, new file.
38256
49efa33d
DM
382572012-03-02 David S. Miller <davem@davemloft.net>
38258
38259 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
38260
28afd92d
JM
382612012-03-02 Joseph Myers <joseph@codesourcery.com>
38262
804360ed
JM
38263 [BZ #3976]
38264 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
38265 (__sin): Save and restore rounding mode and use round-to-nearest
38266 for all computations.
38267 (__cos): Save and restore rounding mode and use round-to-nearest
38268 for all computations.
38269 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
38270 <fenv.h>.
38271 (tan): Save and restore rounding mode and use round-to-nearest for
38272 all computations.
38273 * math/libm-test.inc (cos_test_tonearest): New function.
38274 (cos_test_towardzero): Likewise.
38275 (cos_test_downward): Likewise.
38276 (cos_test_upward): Likewise.
38277 (sin_test_tonearest): Likewise.
38278 (sin_test_towardzero): Likewise.
38279 (sin_test_downward): Likewise.
38280 (sin_test_upward): Likewise.
38281 (tan_test_tonearest): Likewise.
38282 (tan_test_towardzero): Likewise.
38283 (tan_test_downward): Likewise.
38284 (tan_test_upward): Likewise.
38285 (main): Call the new functions.
38286 * sysdeps/i386/fpu/libm-test-ulps: Update.
38287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38288
a6d06d7b
JM
38289 [BZ #10135]
38290 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
38291 small n, then large n, before computing and testing k+n.
38292 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
38293 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
38294 Likewise.
38295 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
38296 Likewise.
38297 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
38298 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
38299 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
38300 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
38301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38303 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
38304 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
38305 * math/libm-test.inc (scalbn_test): Add more tests.
38306 (scalbln_test): Likewise.
38307
07e12bb3
JM
38308 * manual/filesys.texi (mode_t): Describe constraints on size and
38309 signedness, not exact equivalence to a particular type.
38310 (ino_t): Likewise.
38311 (ino64_t): Likewise.
38312 (dev_t): Likewise.
38313 (nlink_t): Likewise.
38314 (blkcnt_t): Likewise.
38315 (blkcnt64_t): Likewise.
38316 * manual/llio.texi (off_t): Likewise.
38317
28afd92d
JM
38318 [BZ #3976]
38319 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
38320 (__ieee754_exp): Save and restore rounding mode and use
38321 round-to-nearest for all computations.
38322 * math/libm-test.inc (exp_test_tonearest): New function.
38323 (exp_test_towardzero): Likewise.
38324 (exp_test_downward): Likewise.
38325 (exp_test_upward): Likewise.
38326 (main): Call the new functions.
38327 * sysdeps/i386/fpu/libm-test-ulps: Update.
38328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38329
b1eeb65d
CD
383302012-03-01 Chris Demetriou <cgd@google.com>
38331
38332 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
38333 have predictable order.
38334
53362a4b
DM
383352012-03-01 David S. Miller <davem@davemloft.net>
38336
3c969083
DM
38337 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
38338
759707de
DM
38339 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
38340 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
38341 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
38342 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
38343
dfdb8ff2
DM
38344 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
38345 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
38346 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
38347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
38348 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
38349 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
38350 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
38351 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
38352 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
38353
ead89f96
DM
38354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38355
7f66bd07
DM
38356 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
38357 * sysdeps/sparc/fpu/libm-test-ulps: to here.
38358 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
38359
53362a4b
DM
38360 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
38361 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38362 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38363 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
38364 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
38365 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
38366 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
38367 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38368 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38369 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
38370 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
38371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38373 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38374 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38376 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
38377 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
38378 * sysdeps/sparc/elf/configure: Regenerated.
38379
7b1902cb
JM
383802012-03-01 Joseph Myers <joseph@codesourcery.com>
38381
bec039bc
JM
38382 * configure.in (AS, LD): Require binutils 2.20 or later.
38383 * configure: Regenerated.
38384 * manual/install.texi (Tools for Compilation): Give binutils 2.20
38385 as required minimum version.
38386 * INSTALL: Regenerated.
38387
7b1902cb
JM
38388 [BZ #2541]
38389 [BZ #4108]
38390 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
38391 before squaring exponent.
38392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
38393 bottom long double and 27 bits of top long double before squaring
38394 exponent.
38395 * math/libm-test.inc (erfc_test): Add more tests.
38396 * sysdeps/i386/fpu/libm-test-ulps: Update.
38397 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38399
f775c276
KT
384002012-03-01 Kai Tietz <ktietz@redhat.com>
38401
38402 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38403 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38404 containing bit-fields.
38405 * soft-fp/extended.h (_FP_UNION_E): Likewise.
38406 * soft-fp/single.h (_FP_UNION_S): Likewise.
38407 * soft-fp/double.h (_FP_UNION_D): Likewise.
38408
5b8a4d4a
JM
384092012-02-29 Joseph Myers <joseph@codesourcery.com>
38410
0bab47b6
JM
38411 [BZ #13786]
38412 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38413 not include ../strcmp.S.
38414 [USE_AS_STRNCASECMP_L]: Likewise.
38415 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38416 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38417 * sysdeps/i386/i686/multiarch/strncase_l-c.c
38418 (__strncasecmp_l_ia32): Define as alias to
38419 __strncasecmp_l_nonascii.
38420
0fcad3e2
JM
38421 [BZ #5794]
38422 * math/libm-test.inc (expm1_test): Add test for bug 5794.
38423 * sysdeps/i386/fpu/libm-test-ulps: Update.
38424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38425
5b8a4d4a
JM
38426 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38428
8fdceb2e
JL
384292012-02-29 Jeff Law <law@redhat.com>
38430
38431 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38432 out of bounds read.
38433
1f393a11
MP
384342012-02-29 Marek Polacek <polacek@redhat.com>
38435
38436 [BZ #13706]
38437 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38438 * elf/Makefile: Add rules to run tst-unused-dep.out.
38439
8847f037
DM
384402012-02-28 David S. Miller <davem@davemloft.net>
38441
38442 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38443 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38444 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38445 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38446 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38447 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38448
169d7f11
JM
384492012-02-29 Joseph Myers <joseph@codesourcery.com>
38450
38451 * math/libm-test.inc (llround_test): Move one test from
38452 lround_test. Use TEST_f_L in moved test.
38453 (lround_test): Move misplaced test to llround_test. Add testcase
38454 from bug 2561.
38455
39adf059
UD
384562012-02-28 Ulrich Drepper <drepper@gmail.com>
38457
38458 * sysdeps/x86_64/fpu/e_expf.S: New file.
38459 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38460
71b5d1c5
SB
384612012-02-28 Stanislav Brabec <sbrabec@suse.cz>
38462
38463 [BZ #13637]
38464 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38465 of remain_len that may cause incomplete multi-byte character and
38466 false match.
38467 * posix/bug-regex33.c: New file.
38468 * posix/Makefile (tests): Add bug-regex33.
38469
1f77f049
JM
384702012-02-28 Joseph Myers <joseph@codesourcery.com>
38471
38472 * manual/macros.texi: New file.
38473 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38474 * manual/libc.texinfo: Include macros.texi.
38475 * manual/creatute.texi: Likewise.
38476 * manual/install.texi: Likewise.
38477 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38478 @glibcadj{} in references to the GNU C Library.
38479 * manual/charset.texi: Likewise.
38480 * manual/conf.texi: Likewise.
38481 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
38482 when not using those macros.
38483 * manual/creature.texi: Likewise.
38484 * manual/crypt.texi: Likewise.
38485 * manual/errno.texi: Likewise.
38486 * manual/filesys.texi: Likewise.
38487 * manual/header.texi: Likewise.
38488 * manual/install.texi: Likewise.
38489 * manual/intro.texi: Likewise.
38490 * manual/io.texi: Likewise.
38491 * manual/job.texi: Likewise.
38492 * manual/lang.texi: Likewise.
38493 * manual/libc.texiinfo: Likewise.
38494 * manual/llio.texi: Likewise.
38495 * manual/locale.texi: Likewise.
38496 * manual/maint.texi: Likewise.
38497 * manual/math.texi: Likewise.
38498 * manual/memory.texi: Likewise.
38499 * manual/message.texi: Likewise.
38500 * manual/nss.texi: Likewise.
38501 * manual/pattern.texi: Likewise.
38502 * manual/process.texi: Likewise.
38503 * manual/resource.texi: Likewise.
38504 * manual/search.texi: Likewise.
38505 * manual/setjmp.texi: Likewise.
38506 * manual/signal.texi: Likewise.
38507 * manual/socket.texi: Likewise.
38508 * manual/startup.texi: Likewise.
38509 * manual/stdio.texi: Likewise.
38510 * manual/string.texi: Likewise.
38511 * manual/sysinfo.texi: Likewise.
38512 * manual/syslog.texi: Likewise.
38513 * manual/terminal.texi: Likewise.
38514 * manual/time.texi: Likewise.
38515 * manual/users.texi: Likewise.
38516 * INSTALL: Regenerated.
38517 * NOTES: Regenerated.
d40c5d54 38518 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 38519
450bf206
AS
385202012-02-28 Andreas Schwab <schwab@linux-m68k.org>
38521
38522 * include/dirent.h: Include <dirstream.h> before
38523 <dirent/dirent.h>.
38524
741a235b
DM
385252012-02-28 David S. Miller <davem@davemloft.net>
38526
38527 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38528 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38529 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38530 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38531
d6b5aa58
DM
385322012-02-27 David S. Miller <davem@davemloft.net>
38533
1aff59a3
DM
38534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38536 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38537 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38538
d6b5aa58
DM
38539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38540 frame pointer instead of stack pointer relative arg slot.
38541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38542 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38543 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38544
433f48bf
CD
385452012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
38546
38547 [BZ #3992]
38548 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38549
d674b76d
DM
385502012-02-27 David S. Miller <davem@davemloft.net>
38551
38552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38556 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38557 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38558 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38559 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38560
0e7727f7
JM
385612012-02-27 Joseph Myers <joseph@codesourcery.com>
38562
38563 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38564 later. Allow versions 5-9.
43be4ca2 38565 * configure: Regenerated.
0e7727f7
JM
38566 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38567 required minimum version and 4.6 as recommended version. Do not
38568 mention bugs in GCC 2.7 and 2.8.
43be4ca2 38569 * INSTALL: Regenerated.
0e7727f7 38570
a78bc654
DM
385712012-02-27 David S. Miller <davem@davemloft.net>
38572
428d5830
DM
38573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38577 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38578 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38579 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38580 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38581
a78bc654
DM
38582 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38583 manipulate bits before adding and subtracting TWO112[sx].
38584 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38585
4579f81c
RM
385862012-02-27 Roland McGrath <roland@hack.frob.com>
38587
36c8acb4
RM
38588 [BZ #13775]
38589 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38590 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38591 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38592 being in POSIX, because they are in 1003.1-2008.
38593
84ad622b
RM
38594 * rt/tst-aio.c: Include <fcntl.h>.
38595 * rt/tst-aio7.c: Likewise.
38596 * rt/tst-aio64.c: Likewise.
38597
4579f81c
RM
38598 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38599
abd923db
JM
386002012-02-27 Joseph Myers <joseph@codesourcery.com>
38601
38602 * manual/install.texi (--with-headers): Describe headers as
38603 interface headers, not private headers.
38604 (Specific advice for GNU/Linux systems): Describe use of headers
38605 from "make headers_install", not private headers from older
38606 kernels.
43be4ca2 38607 * INSTALL: Regenerated.
abd923db
JM
38608 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38609 Change to 2.6.19.
38610 * sysdeps/unix/sysv/linux/configure: Regenerated.
38611
6664049b
JM
38612 * manual/llio.texi (fclean): Remove documentation.
38613
bb8b6697
JM
38614 * manual/Makefile (libc-texi-generated): New variable. Include
38615 version.texi.
38616 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38617 $(libc-texi-generated), not duplicated list of files.
38618 (version.texi, stamp-version): New rules.
38619 (realclean): Remove $(libc-texi-generated), not individual files
38620 from that list. Do not remove dir-add.texinfo.
38621 * manual/libc.texinfo: Comment out uses of edition numbers and
38622 references to printed manual. Remove last-updated dates.
38623 (EDITION): Comment out.
38624 (ISBN): Likewise.
38625 (VERSION, UPDATED): Remove.
38626 (version.texi): Include.
38627
12e5c3b9
AS
386282012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38629
38630 * sysdeps/posix/spawni.c: Include <signal.h>.
38631 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38632 * sysdeps/pthread/aio_fsync.c: Likewise.
38633
4efeffc1 386342012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 38635
ba63ba08
UD
38636 * conform/Makefile (tests): Run only when not cross-compiling and
38637 when fast-check is not defined.
38638
d94a4670
UD
38639 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38640 * conform/data/limits.h-data: Fixes for POSIX2008.
38641 * conform/run-conformtest.sh: Run all tests.
38642 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38643 headers.
38644 * include/bits/dlfcn.h: Likewise.
38645 * include/langinfo.h: Likewise.
38646 * include/monetary.h: Likewise.
38647 * include/sys/poll.h: Likewise.
38648
38649 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38650 for __USE_GNU.
38651 * posix/spawn.h: Define __need_sigset_t.
38652 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38653 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38654 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38655 to get sigevent_t only.
38656 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38657 only for __USE_GNU.
38658 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38659 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38660 process_vm_writev only for __USE_GNU.
38661 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
38662
38663 * conform/Makefile: For now ignore errors from run-conformtest.
38664 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38665 POSIX to avoid namespace pollution. Don't prepend headers.
38666 * conform/data/aio.h-data: Fixes for POSIX testing.
38667 * conform/data/fcntl.h-data: Likewise.
38668 * conform/data/glob.h-data: Likewise.
38669 * conform/data/grp.h-data: Likewise.
38670 * conform/data/pthread.h-data: Likewise.
38671 * conform/data/pwd.h-data: Likewise.
38672 * conform/data/signal.h-data: Likewise.
38673 * conform/data/spawn.h-data: Likewise.
38674 * conform/data/stdio.h-data: Likewise.
38675 * conform/data/stdlib.h-data: Likewise.
38676 * conform/data/stropts.h-data: Likewise.
38677 * conform/data/sys/mman.h-data: Likewise.
38678 * conform/data/sys/stat.h-data: Likewise.
38679 * conform/data/sys/types.h-data: Likewise.
38680 * conform/data/sys/wait.h-data: Likewise.
38681 * conform/data/time.h-data: Likewise.
38682 * conform/data/unistd.h-data: Likewise.
38683 * conform/data/utime.h-data: Likewise.
38684
38685 * io/sys/stat.h: fchmod was always in POSIX.
38686 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38687 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38688 * rt/aio.h: Define __need_timespec before including <time.h>.
38689 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38690 struct. Add forward declaration of pthread_attr_t and use it in
38691 sigevent.
38692 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38693 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38694 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38695 always remove CLK_TCK definition.
38696
c20105c3
AS
386972012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38698
38699 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38700
7a270350
UD
387012012-02-25 Ulrich Drepper <drepper@gmail.com>
38702
31341567
UD
38703 * conform/run-conformtest.sh: New file.
38704 * conform/Makefile: Run run-conformtest for tests.
38705 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38706 support.
38707
38708 * conform/data/uchar.h-data: New file.
38709 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38710 * conform/data/arpa/inet.h-data: Likewise.
38711 * conform/data/assert.h-data: Likewise.
38712 * conform/data/complex.h-data: Likewise.
38713 * conform/data/cpio.h-data: Likewise.
38714 * conform/data/ctype.h-data: Likewise.
38715 * conform/data/dirent.h-data: Likewise.
38716 * conform/data/dlfcn.h-data: Likewise.
38717 * conform/data/errno.h-data: Likewise.
38718 * conform/data/fcntl.h-data: Likewise.
38719 * conform/data/float.h-data: Likewise.
38720 * conform/data/fmtmsg.h-data: Likewise.
38721 * conform/data/fnmatch.h-data: Likewise.
38722 * conform/data/ftw.h-data: Likewise.
38723 * conform/data/glob.h-data: Likewise.
38724 * conform/data/grp.h-data: Likewise.
38725 * conform/data/iconv.h-data: Likewise.
38726 * conform/data/inttypes.h-data: Likewise.
38727 * conform/data/langinfo.h-data: Likewise.
38728 * conform/data/libgen.h-data: Likewise.
38729 * conform/data/limits.h-data: Likewise.
38730 * conform/data/locale.h-data: Likewise.
38731 * conform/data/math.h-data: Likewise.
38732 * conform/data/monetary.h-data: Likewise.
38733 * conform/data/mqueue.h-data: Likewise.
38734 * conform/data/ndbm.h-data: Likewise.
38735 * conform/data/net/if.h-data: Likewise.
38736 * conform/data/netdb.h-data: Likewise.
38737 * conform/data/netinet/in.h-data: Likewise.
38738 * conform/data/nl_types.h-data: Likewise.
38739 * conform/data/poll.h-data: Likewise.
38740 * conform/data/pthread.h-data: Likewise.
38741 * conform/data/pwd.h-data: Likewise.
38742 * conform/data/regex.h-data: Likewise.
38743 * conform/data/sched.h-data: Likewise.
38744 * conform/data/search.h-data: Likewise.
38745 * conform/data/semaphore.h-data: Likewise.
38746 * conform/data/setjmp.h-data: Likewise.
38747 * conform/data/signal.h-data: Likewise.
38748 * conform/data/spawn.h-data: Likewise.
38749 * conform/data/stdarg.h-data: Likewise.
38750 * conform/data/stdio.h-data: Likewise.
38751 * conform/data/stdlib.h-data: Likewise.
38752 * conform/data/string.h-data: Likewise.
38753 * conform/data/strings.h-data: Likewise.
38754 * conform/data/stropts.h-data: Likewise.
38755 * conform/data/sys/ipc.h-data: Likewise.
38756 * conform/data/sys/mman.h-data: Likewise.
38757 * conform/data/sys/msg.h-data: Likewise.
38758 * conform/data/sys/resource.h-data: Likewise.
38759 * conform/data/sys/select.h-data: Likewise.
38760 * conform/data/sys/sem.h-data: Likewise.
38761 * conform/data/sys/shm.h-data: Likewise.
38762 * conform/data/sys/socket.h-data: Likewise.
38763 * conform/data/sys/stat.h-data: Likewise.
38764 * conform/data/sys/statvfs.h-data: Likewise.
38765 * conform/data/sys/time.h-data: Likewise.
38766 * conform/data/sys/timeb.h-data: Likewise.
38767 * conform/data/sys/times.h-data: Likewise.
38768 * conform/data/sys/types.h-data: Likewise.
38769 * conform/data/sys/uio.h-data: Likewise.
38770 * conform/data/sys/un.h-data: Likewise.
38771 * conform/data/sys/utsname.h-data: Likewise.
38772 * conform/data/sys/wait.h-data: Likewise.
38773 * conform/data/syslog.h-data: Likewise.
38774 * conform/data/tar.h-data: Likewise.
38775 * conform/data/termios.h-data: Likewise.
38776 * conform/data/utime.h-data: Likewise.
38777 * conform/data/utmpx.h-data: Likewise.
38778 * conform/data/varargs.h-data: Likewise.
38779 * conform/data/wchar.h-data: Likewise.
38780 * conform/data/wctype.h-data: Likewise.
38781 * conform/data/wordexp.h-data: Likewise.
38782
38783 * include/stropts.h: New file.
38784 * include/uchar.h: New file.
38785 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38786 * include/assert.h: Likewise.
38787 * include/ctype.h: Likewise.
38788 * include/dirent.h: Likewise.
38789 * include/dlfcn.h: Likewise.
38790 * include/fcntl.h: Likewise.
38791 * include/fnmatch.h: Likewise.
38792 * include/glob.h: Likewise.
38793 * include/grp.h: Likewise.
38794 * include/libio.h: Likewise.
38795 * include/locale.h: Likewise.
38796 * include/math.h: Likewise.
38797 * include/net/if.h: Likewise.
38798 * include/netdb.h: Likewise.
38799 * include/netinet/in.h: Likewise.
38800 * include/pthread.h: Likewise.
38801 * include/pwd.h: Likewise.
38802 * include/regex.h: Likewise.
38803 * include/sched.h: Likewise.
38804 * include/search.h: Likewise.
38805 * include/setjmp.h: Likewise.
38806 * include/signal.h: Likewise.
38807 * include/stdio.h: Likewise.
38808 * include/stdlib.h: Likewise.
38809 * include/string.h: Likewise.
38810 * include/sys/cdefs.h: Likewise.
38811 * include/sys/mman.h: Likewise.
38812 * include/sys/msg.h: Likewise.
38813 * include/sys/resource.h: Likewise.
38814 * include/sys/select.h: Likewise.
38815 * include/sys/socket.h: Likewise.
38816 * include/sys/stat.h: Likewise.
38817 * include/sys/statvfs.h: Likewise.
38818 * include/sys/time.h: Likewise.
38819 * include/sys/times.h: Likewise.
38820 * include/sys/uio.h: Likewise.
38821 * include/sys/utsname.h: Likewise.
38822 * include/sys/wait.h: Likewise.
38823 * include/termios.h: Likewise.
38824 * include/time.h: Likewise.
38825 * include/ulimit.h: Likewise.
38826 * include/unistd.h: Likewise.
38827 * include/utime.h: Likewise.
38828 * include/wchar.h: Likewise.
38829 * include/wctype.h: Likewise.
38830 * include/wordexp.h: Likewise.
38831
38832 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38833
7a270350
UD
38834 * time/time.h: TIME_UTC must be a macro.
38835 Make timespec_get available for ISO C11 only as well.
38836
7724defc
UD
388372012-02-24 Ulrich Drepper <drepper@gmail.com>
38838
38839 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38840 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38841
6b1d1d46
JM
388422012-02-24 Joseph Myers <joseph@codesourcery.com>
38843
38844 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 38845
0f8bbd69
JM
388462012-02-24 Joseph Myers <joseph@codesourcery.com>
38847
38848 * manual/texinfo.tex: Update to version 2012-01-19.16.
38849
66ab80bc
JM
388502012-02-24 Joseph Myers <joseph@codesourcery.com>
38851
38852 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38853
74981cc5
RM
388542012-02-24 Roland McGrath <roland@hack.frob.com>
38855
ee968201
RM
38856 [BZ #13738]
38857 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38858 * manual/fdl-1.3.texi: New file.
38859 * manual/fdl-1.1.texi: File removed.
38860
74981cc5
RM
38861 [BZ #13738]
38862 * manual/libc.texinfo (FDL_VERSION): New @set.
38863 Use it for mention of FDL in cover text.
38864 (Documentation License): Use it in @include file name.
38865
7bb764bc
JM
388662012-02-22 Joseph Myers <joseph@codesourcery.com>
38867 Roland McGrath <roland@hack.frob.com>
38868
38869 [BZ #5461]
57f41c40
AS
38870 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38871 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
38872 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38873 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38874 name.
38875 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38876
6cbeae47
JM
388772012-02-22 Joseph Myers <joseph@codesourcery.com>
38878
38879 [BZ #2547]
38880 [BZ #11365]
38881 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38882 manipulate bits before adding and subtracting TWO23[sx].
38883 * math/libm-test.inc (nearbyint_test): Add more tests.
38884
fe45ce09
JM
388852012-02-22 Joseph Myers <joseph@codesourcery.com>
38886
38887 [BZ #2548]
38888 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38889 bits before adding and subtracting TWO23[sx].
38890 * math/libm-test.inc (rint_test): Add more tests.
38891 (rint_test_tonearest): Likewise.
38892 (rint_test_towardzero): Likewise.
38893 (rint_test_downward): Likewise.
38894 (rint_test_upward: Likewise.
38895
ff3b3d82
JM
388962012-02-22 Joseph Myers <joseph@codesourcery.com>
38897
38898 [BZ #10110]
38899 * include/stdc-predef.h: New file. Extracted from features.h.
38900 * include/features.h: Include stdc-predef.h.
38901 * Makefile (headers): Add stdc-predef.h.
38902 * CONFORMANCE (Compiler limitations): Update.
38903
ef0aab35
JM
389042012-02-22 Joseph Myers <joseph@codesourcery.com>
38905
38906 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38907
58639409
DM
389082012-02-21 David S. Miller <davem@davemloft.net>
38909
38910 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38911 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38912
c0e70b25
DM
389132012-02-20 David S. Miller <davem@davemloft.net>
38914
38915 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38916 using a normal save/restore sequence, rather than allocating a
38917 dummy stack frame just to store a frame pointer and restore.
38918 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38919
fb06851d
JM
389202012-02-21 Joseph Myers <joseph@codesourcery.com>
38921
38922 * manual/install.texi: Fix stray word in line-wrapped comment.
38923
7a8b71c3
DM
389242012-02-20 David S. Miller <davem@davemloft.net>
38925
d510c123
DM
38926 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38927 both binutils and gcc support GOTDATA.
38928
0722d7c2
DM
38929 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38930 "rd %pc" in the PIC register setup sequences.
38931
3d2b3019
DM
38932 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38933 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38934 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38935 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38936 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38937 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38938 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38939 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38941 (SYSCALL_ERROR_HANDLER): Likewise.
38942 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38943 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38945 (SYSCALL_ERROR_HANDLER): Likewise.
38946
c80098a9
DM
38947 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38948 (HAVE_GCC_GOTDATA): New.
38949 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38950 relocation support in both binutils and gcc.
38951 * sysdeps/sparc/elf/configure: Regenerate.
38952
3a2545a0
DM
38953 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38954 * sysdeps/sparc/sparc32/elf/configure: Delete.
38955 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38956 * sysdeps/sparc/sparc64/elf/configure: Delete.
38957 * sysdeps/sparc/elf/configure.in: New file.
38958 * sysdeps/sparc/elf/configure: Generate.
38959
7a8b71c3
DM
38960 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38961 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38962 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38963 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38964 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38965
f1e86fca
JM
389662012-02-21 Joseph Myers <joseph@codesourcery.com>
38967
38968 * manual/install.texi: Do not mention specific glibc version
38969 numbers.
38970 * manual/libc.texinfo (VERSION, UPDATED): Update.
38971 (@copying): Use @copyright{} and range of years.
38972
0e7dfaef
JM
389732012-02-21 Joseph Myers <joseph@codesourcery.com>
38974
38975 [BZ #13695]
38976 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38977 [crti.S not in sysdirs] (generated): Do not append.
38978 [crti.S not in sysdirs] (omit-deps): Likewise.
38979 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38980 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38981 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38982 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38983 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38984 Likewise.
38985 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38986 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38987 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38988 * csu/defs.awk: Remove file.
38989 * sysdeps/generic/initfini.c: Likewise.
38990 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38991 variable.
38992 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38993 Likewise.
38994
599af3ca
JM
389952012-02-20 Joseph Myers <joseph@codesourcery.com>
38996
38997 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38998 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38999 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39000 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39001 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39002 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39003 <bits/epoll.h>.
39004 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39005 (__EPOLL_PACKED): Define to empty if not defined by
39006 <bits/epoll.h>.
39007 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39009 bits/epoll.h.
39010
0e499750
JM
390112012-02-20 Joseph Myers <joseph@codesourcery.com>
39012
39013 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39014 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39015 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39016 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39017 <bits/timerfd.h>.
39018 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39020 bits/timerfd.h.
39021
5ad91f6e
JM
390222012-02-20 Joseph Myers <joseph@codesourcery.com>
39023
39024 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39025 in C locale.
39026 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39027 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39028 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39030
06b99b02
AJ
390312012-02-20 Aurelien Jarno <aurelien@aurel32.net>
39032
39033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39034 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39035
7638c0fd
AS
390362012-02-19 Andreas Schwab <schwab@linux-m68k.org>
39037
39038 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39039 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39040 defined.
39041 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39042 Likewise.
39043 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39044 entry for 2.16.
39045
92221550
AJ
390462012-02-19 Aurelien Jarno <aurelien@aurel32.net>
39047
39048 * math/w_acos.c: Use non-signaling floating-point comparisons.
39049 * math/w_acosf.c: Likewise.
39050 * math/w_acosh.c: Likewise.
39051 * math/w_acoshf.c: Likewise.
39052 * math/w_acoshl.c: Likewise.
39053 * math/w_acosl.c: Likewise.
39054 * math/w_asin.c: Likewise.
39055 * math/w_asinf.c: Likewise.
39056 * math/w_asinl.c: Likewise.
39057 * math/w_atanh.c: Likewise.
39058 * math/w_atanhf.c: Likewise.
39059 * math/w_atanhl.c: Likewise.
39060 * math/w_exp2.c: Likewise.
39061 * math/w_exp2f.c: Likewise.
39062 * math/w_exp2l.c: Likewise.
39063 * math/w_j0.c: Likewise.
39064 * math/w_j0f.c: Likewise.
39065 * math/w_j0l.c: Likewise.
39066 * math/w_j1.c: Likewise.
39067 * math/w_j1f.c: Likewise.
39068 * math/w_j1l.c: Likewise.
39069 * math/w_jn.c: Likewise.
39070 * math/w_jnf.c: Likewise.
39071 * math/w_log.c: Likewise.
39072 * math/w_log10.c: Likewise.
39073 * math/w_log10f.c: Likewise.
39074 * math/w_log10l.c: Likewise.
39075 * math/w_log2.c: Likewise.
39076 * math/w_log2f.c: Likewise.
39077 * math/w_log2l.c: Likewise.
39078 * math/w_logf.c: Likewise.
39079 * math/w_logl.c: Likewise.
39080 * math/w_sqrt.c: Likewise.
39081 * math/w_sqrtf.c: Likewise.
39082 * math/w_sqrtl.c: Likewise.
39083 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39084 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39086 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39087 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39088
ebaf36eb
JM
390892012-02-19 Joseph Myers <joseph@codesourcery.com>
39090
39091 [BZ #9739]
39092 * manual/string.texi (strnlen): Use correct parameter name in
39093 equivalent expression.
39094
71c254a6
JM
390952012-02-19 Joseph Myers <joseph@codesourcery.com>
39096
39097 [BZ #11174]
39098 * manual/users.texi (seteuid): Consistently use neweuid for
39099 argument name.
39100
16d2c631
JM
391012012-02-19 Joseph Myers <joseph@codesourcery.com>
39102
39103 [BZ #13704]
39104 * manual/nss.texi (Services in the NSS configuration): Correct
39105 list of services in example configuration file.
39106
cd837b09
NB
391072012-02-19 Nick Bowler <nbowler@draconx.ca>
39108
39109 [BZ #11322]
39110 * manual/arith.texi: Remove statements about negative zero
39111 behaving identically to zero.
39112
02c4bbad
JM
391132012-02-18 Joseph Myers <joseph@codesourcery.com>
39114
39115 [BZ #5993]
39116 * manual/install.texi: Do not document upgrading from libc5.
39117
366842e7
JM
391182012-02-18 Joseph Myers <joseph@codesourcery.com>
39119
39120 [BZ #4596]
39121 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39122
dd54084d
DM
391232012-02-18 David S. Miller <davem@davemloft.net>
39124
39125 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39126 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39127 %o7 across the call.
39128 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39129 instead.
39130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39131 SETUP_PIC_REG_LEAF.
39132 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39133 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39134 * sysdeps/sparc/crtn.S: Likewise.
39135
2bcc53a3
UD
391362012-02-17 Ulrich Drepper <drepper@gmail.com>
39137
39138 * aout/Makefile: Remove.
39139
09c093b5
RK
391402012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
39141
39142 [BZ #13058]
39143 * manual/examples/argp-ex1.c (main): Format definition in GNU
39144 style.
39145 * manual/examples/argp-ex2.c (main): Likewise.
39146 * manual/examples/argp-ex3.c (main): Likewise.
39147 * manual/examples/argp-ex4.c (main): Likewise.
39148 * manual/examples/longopt.c (main): Use new-style prototype
39149 definition.
39150 * manual/examples/strncat.c (main): Specify return type and use
39151 (void) for arguments.
39152 * manual/examples/subopt.c (main): Use char **argv argument.
39153
2ee633a2
JM
391542012-02-17 Joseph Myers <joseph@codesourcery.com>
39155
39156 [BZ #5077]
39157 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39158 rounding modes.
39159
0520adde
FB
391602012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
39161
39162 [BZ #6907]
39163 * manual/string.texi (strchr): Change when strchrnul is
39164 recommended.
39165
3f4081cd
DGM
391662012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
39167
39168 [BZ #174]
39169 * manual/locale.texi (setlocale): Document LOCPATH.
39170
d1b10e78
JM
391712012-02-17 Joseph Myers <joseph@codesourcery.com>
39172
39173 [BZ #10210]
39174 * manual/process.texi (execle): Move @dots{} before last argument.
39175
79c6869c
PB
391762012-02-17 Paul Bolle <pebolle@tiscali.nl>
39177
39178 [BZ #12047]
39179 * manual/charset.texi (Generic Charset Conversion): Fix typo
39180 (LC_TYPE -> LC_CTYPE).
39181
cc6e48bc
NB
391822012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
39183
39184 [BZ #5805]
39185 * manual/arith.texi (scalbn): Use @var{} on parameter names.
39186 (scalbnf): Likewise.
39187 (scalbnl): Likewise.
39188 (scalbln): Likewise.
39189 (scalblnf): Likewise.
39190 (scalblnl): Likewise.
39191 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39192 (vwarnx): Likewise.
39193 (verr): Likewise.
39194 (verrx): Likewise.
39195 * manual/filesys.texi (telldir): Use braces around return type.
39196 * manual/llio.texi (mmap): Add space after comma.
39197 (mmap64): Likewise.
39198 * manual/math.texi (jn): Use @var{} on parameter names.
39199 (jnf): Likewise.
39200 (jnl): Likewise.
39201 (yn): Likewise.
39202 (ynf): Likewise.
39203 (ynl): Likewise.
39204 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39205 line.
39206 * manual/resource.texi (ulimit): Use @dots{} instead of literal
39207 "...".
39208 (sched_get_priority_min): Remove semicolon on @deftypefun line.
39209 (sched_get_priority_max): Likewise.
39210 * manual/signal.texi (sigvec): Add space after comma.
39211 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39212 names.
39213 (if_indextoname): Likewise.
39214 (if_freenameindex): Likewise.
39215 (sendto): Use ',' instead of '.' in prototype.
39216 * manual/startup.texi (syscall): Use @dots{} instead of literal
39217 "...".
39218 * manual/stdio.texi (__fpending): Separate initial words of
39219 paragraph from @deftypefun line.
39220 * manual/syslog.texi (syslog): Use @dots{} instead of literal
39221 "...".
39222 (vsyslog): Use @var{} on parameter names.
39223 * manual/terminal.texi (stty): Use @var{} on parameter names.
39224 * manual/users.texi (getutmp): Use @var{} on parameter names.
39225 (getutmpx): Likewise.
39226
5b23062f
JM
392272012-02-17 Joseph Myers <joseph@codesourcery.com>
39228
39229 [BZ #6884]
39230 * manual/stdio.texi (fopen): Fix typos in description of
39231 ",ccs=STRING".
39232
8dee4833
AJ
392332012-02-17 Aurelien Jarno <aurelien@aurel32.net>
39234
39235 [BZ #4026]
39236 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39237 get clock_id definition.
39238
9078ce93
TS
392392012-02-17 Thomas Schwinge <thomas@schwinge.name>
39240
39241 [BZ #4822]
39242 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39243 (madvise): Cast every argument to void on its own.
39244
3835c55f
JM
392452012-02-17 Joseph Myers <joseph@codesourcery.com>
39246
39247 [BZ #9902]
39248 * manual/startup.texi (Exit Status): Fix typo.
39249
35c47e37
JM
392502012-02-17 Joseph Myers <joseph@codesourcery.com>
39251
39252 [BZ #10140]
39253 * manual/examples/argp-ex1.c: Include <stdlib.h>.
39254 * manual/examples/argp-ex2.c: Likewise.
39255 * manual/examples/argp-ex3.c: Likewise.
39256
e3b69ca7
RH
392572012-02-16 Richard Henderson <rth@redhat.com>
39258
39259 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
39260 * sysdeps/s390/s390-32/initfini.c: Remove.
39261 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
39262 * sysdeps/s390/s390-64/initfini.c: Remove.
39263
df83af67
KK
392642012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39265
39266 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
39267 compiler output for sysdeps/generic/initfini.c.
39268 * sysdeps/sh/elf/initfini.c: Remove file.
39269
f63f3380
DM
392702012-02-16 David S. Miller <davem@davemloft.net>
39271
fb59b3a4
DM
39272 [BZ #11494]
39273 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
39274
f63f3380
DM
39275 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
39276 * sysdeps/sparc/crti.S: New file.
39277 * sysdeps/sparc/crtn.S: New file.
39278 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
39279 * sysdeps/sparc/sparc64/Makefile: Likewise.
39280
df6a4a4a
MF
392812012-02-15 Mike Frysinger <vapier@gentoo.org>
39282
6dd8f3dc 39283 [BZ #3335]
df6a4a4a
MF
39284 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
39285
1cac7236
RM
392862012-02-15 Roland McGrath <roland@hack.frob.com>
39287
d2c736f8
RM
39288 [BZ #4822]
39289 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
39290
1cac7236
RM
39291 * mach/devstream.c (cookie_io_functions_t): Macro removed.
39292 (write, read, close): Likewise.
39293 Patch by Aurelien Jarno <aurelien@aurel32.net>.
39294
8e475601
JM
392952012-02-15 Joseph Myers <joseph@codesourcery.com>
39296
39297 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
39298 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
39299 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
39300 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
39301 <bits/signalfd.h>.
39302 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
39303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39304 bits/signalfd.h.
39305
ed656b40
MP
393062012-02-14 Marek Polacek <polacek@redhat.com>
39307
39308 * sysdeps/x86_64/crti.S: New file.
39309 * sysdeps/x86_64/crtn.S: New file.
39310 * sysdeps/x86_64/elf/initfini.c: Remove file.
39311
2a979d3a
JM
393122012-02-13 Joseph Myers <joseph@codesourcery.com>
39313
39314 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
39315 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
39316 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
39317 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
39318 <bits/inotify.h>.
39319 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
39320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39321 bits/inotify.h.
39322
2a418ac3
JM
393232012-02-13 Joseph Myers <joseph@codesourcery.com>
39324
39325 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
39326 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
39327 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
39328 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
39329 <bits/eventfd.h>.
39330 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
39331 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39332 bits/eventfd.h.
39333
fb779be7
TS
393342012-02-10 Thomas Schwinge <thomas@codesourcery.com>
39335
e19e83c5
RM
39336 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
39337 __feraiseexcept instead of feraiseexcept.
7c35ffed 39338
fb779be7
TS
39339 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
39340 nanosleep invocations.
39341 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
39342 strings, and add error checking for a nanosleep invocations.
39343
59ba27a6
PE
393442012-02-09 Paul Eggert <eggert@cs.ucla.edu>
39345
39346 Replace FSF snail mail address with URLs, as per GNU coding standards.
39347 Most of the snail mail addresses were wrong anyway, and omitting
39348 them makes the source code easier to maintain. Almost all of the
39349 changes are to license notices and to locale LC_IDENTIFICATION
39350 addresses, except for this one:
39351 * manual/libc.texinfo: In "Published by", give the FSF's URL,
39352 not its snail mail address.
39353
57b957eb
RH
393542012-02-09 Richard Henderson <rth@twiddle.net>
39355
af850b1c
RH
39356 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
39357 of kernel-features.h.
39358
57b957eb
RH
39359 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
39360
6b73181a
MP
393612012-02-08 Marek Polacek <polacek@redhat.com>
39362
39363 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
39364 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
39365 * sysdeps/gnu/_G_config.h: Likewise.
39366 * sysdeps/generic/_G_config.h: Likewise.
39367
26ecc33a
AS
393682012-02-08 Andreas Schwab <schwab@linux-m68k.org>
39369
6c6dbc63
AS
39370 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
39371 tests.
39372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39373
e216c012
AS
39374 * sysdeps/powerpc/powerpc32/crti.S: New file.
39375 * sysdeps/powerpc/powerpc32/crtn.S: New file.
39376 * sysdeps/powerpc/powerpc64/crti.S: New file.
39377 * sysdeps/powerpc/powerpc64/crtn.S: New file.
39378
26ecc33a
AS
39379 * Makeconfig (have-initfini): Don't set.
39380 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
39381 * configure.in (nopic_initfini): Don't substitute.
39382 * config.h.in (HAVE_INITFINI): Don't #undef.
39383 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
39384 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
39385
3add8e13
JM
393862012-02-08 Joseph Myers <joseph@codesourcery.com>
39387
39388 Support crti.S and crtn.S provided directly by architectures.
39389 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
39390 [crti.S in sysdirs] (omit-deps): Likewise.
39391 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
39392 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
39393 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
39394 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
39395 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
39396 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
39397 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
39398 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39399 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39400 compiler output for sysdeps/generic/initfini.c.
39401 * sysdeps/i386/elf/Makefile: Remove file.
39402 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39403
a22f12b4
MP
394042012-02-07 Marek Polacek <polacek@redhat.com>
39405
39406 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39407 * sysdeps/gnu/_G_config.h: Likewise.
39408 * sysdeps/mach/hurd/_G_config.h: Likewise.
39409
148cf100
MP
394102012-02-07 Marek Polacek <polacek@redhat.com>
39411
39412 * math/Makefile (tests): Add tst-CMPLX2.
39413 * math/tst-CMPLX2.c: New file.
39414
cfdc0dd7
AS
394152012-02-07 Andreas Schwab <schwab@linux-m68k.org>
39416
84ba42c4
AS
39417 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39418
cfdc0dd7
AS
39419 * math/libm-test.inc (jn_test): Add missing L suffix.
39420
622c86f4
MP
394212012-02-06 Marek Polacek <polacek@redhat.com>
39422
39423 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39424 * sysdeps/i386/fpu/e_powf.S: Likewise.
39425 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39426 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39427 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39428 * sysdeps/i386/fpu/e_pow.S: Likewise.
39429 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39430 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39431 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39432 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39433 * sysdeps/i386/fpu/e_log2.S: Likewise.
39434 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39435 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39436 * sysdeps/i386/fpu/e_powl.S: Likewise.
39437 * sysdeps/i386/fpu/s_log1p.S: Likewise.
39438 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39439 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39440 * sysdeps/i386/fpu/e_logl.S: Likewise.
39441 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39442 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39443 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39444 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39445 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39446 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39447 * sysdeps/i386/fpu/e_log.S: Likewise.
39448 * sysdeps/i386/fpu/s_cexp.S: Likewise.
39449 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39450 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39451 * sysdeps/i386/fpu/e_logf.S: Likewise.
39452 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39453 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39454 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39455 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39456 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39457 * sysdeps/i386/fpu/e_log10.S: Likewise.
39458 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39459 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39460 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39461 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39462 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39463 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39464 * sysdeps/i386/asm-syntax.h: Likewise.
39465 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39466 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39467 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39468 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39469 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39470 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39471 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39472 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39473 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39474 * sysdeps/powerpc/sysdep.h: Likewise.
39475 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39476 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39477
d4a54ac6
JM
394782012-02-06 Joseph Myers <joseph@codesourcery.com>
39479
39480 [BZ #411]
39481 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39482
314054ea
JM
394832012-02-06 Joseph Myers <joseph@codesourcery.com>
39484
39485 * sysdeps/i386/sysdep.h: Include <features.h>.
39486 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39487 version.
39488
d8e0ca50
JM
394892012-02-05 Joseph Myers <joseph@codesourcery.com>
39490
39491 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39492 Define.
39493 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39494 LOAD_PIC_REG_STR.
39495
b1da7dd9
JM
394962012-02-03 Joseph Myers <joseph@codesourcery.com>
39497
39498 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39499 (SETUP_PIC_REG): Use GET_PC_THUNK.
39500 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39501 macro.
39502
9a1d9254
JM
395032012-02-03 Joseph Myers <joseph@codesourcery.com>
39504
39505 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39506 for non-PIC compilation.
39507 (SETUP_PIC_REG): Add .p2align directive.
39508 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39509 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39510 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39511 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39512 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39513 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39514 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39515 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39516 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39517 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39518 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39519 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39520 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39521 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39522 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39523 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39524 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39525 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39526 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39527 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39528 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39530 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39531 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39532 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39534 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39535 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39536 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39537 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39538 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39539 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39540 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39541 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39542 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39543 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39544 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39545 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39546 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39547 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39548 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39549
65dc3b75
JM
395502012-02-03 Joseph Myers <joseph@codesourcery.com>
39551
39552 * math/tst-CMPLX.c: Include <stdio.h>.
39553
d55bf177
JM
395542012-01-31 Joseph Myers <joseph@codesourcery.com>
39555
39556 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39557 float.
39558 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39559 * sysdeps/sparc/bits/mathdef.h: Likewise.
39560
69db4f8f
MP
395612012-01-31 Marek Polacek <polacek@redhat.com>
39562
39563 * libio/libio.h: Don't define _PARAMS.
39564 * locale/programs/config.h: Don't define PARAMS.
39565 * stdlib/strtol_l.c: Likewise.
39566 (__strtol_l): Remove PARAMS from the prototype.
39567
41b81892
UD
395682012-01-31 Ulrich Drepper <drepper@gmail.com>
39569
3b49edc0
UD
39570 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
39571 names. Just use the correct names. Remove unnecessary wrapper
39572 functions.
39573 * malloc/arena.c: Likewise.
39574 * malloc/hooks.c: Likewise.
39575
41b81892
UD
39576 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39577 ARENA_TEST says not to. Simplify test for creation of a new arena.
39578 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39579
27a25b6e
UD
395802012-01-30 Ulrich Drepper <drepper@gmail.com>
39581
39582 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39583 into tail calls.
39584 (update_get_addr): New function.
39585 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39586 GET_ADDR_MODULE parameter.
39587
c8a89e7d
JM
395882012-01-30 Joseph Myers <joseph@codesourcery.com>
39589
39590 * crypt/cert.c: Remove __STDC__ conditionals.
39591 * crypt/crypt-entry.c: Likewise.
39592 * crypt/crypt_util.c: Likewise.
39593 * libio/filedoalloc.c: Likewise.
39594 * libio/fileops.c: Likewise.
39595 * libio/genops.c: Likewise.
39596 * libio/iofclose.c: Likewise.
39597 * libio/iofdopen.c: Likewise.
39598 * libio/iofopen.c: Likewise.
39599 * libio/iofopen64.c: Likewise.
39600 * libio/iogetdelim.c: Likewise.
39601 * libio/iopopen.c: Likewise.
39602 * libio/obprintf.c: Likewise.
39603 * libio/oldfileops.c: Likewise.
39604 * libio/oldiofclose.c: Likewise.
39605 * libio/oldiofdopen.c: Likewise.
39606 * libio/oldiofopen.c: Likewise.
39607 * libio/oldiopopen.c: Likewise.
39608 * libio/wfiledoalloc.c: Likewise.
39609 * libio/wgenops.c: Likewise.
39610 * locale/programs/xmalloc.c: Likewise.
39611 * misc/syslog.c: Likewise.
39612 * stdio-common/xbug.c: Likewise.
39613 * string/memchr.c: Likewise.
39614 * string/memcmp.c: Likewise.
39615 * string/memrchr.c: Likewise.
39616 * string/rawmemchr.c: Likewise.
39617 * sysdeps/posix/getcwd.c: Likewise.
39618 * time/strftime_l.c: Likewise.
39619
3b100462
JM
396202012-01-30 Joseph Myers <joseph@codesourcery.com>
39621
39622 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
39623 * config.make.in (config-cflags-sse2avx): Define.
39624 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39625 Fix typo.
39626
607998af
CM
396272012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39628
39629 * scripts/config.guess: Update from upstream config git repository.
39630 * scripts/config.sub: Likewise.
39631
3601428f
CM
396322012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39633
3ac8b282
CM
39634 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39635 (EM_NUM): Update.
39636 (R_TILEPRO_*, R_TILEGX_*): New macros.
39637
e034841e
CM
39638 * scripts/firstversions.awk: Fix bug in version range handling.
39639
540d7568
CM
39640 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39641
3601428f
CM
39642 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39643
463de862
CM
39644 * include/sys/epoll.h: New file.
39645 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39646 libc_hidden_def.
39647
73139a76
UD
396482012-01-28 Ulrich Drepper <drepper@gmail.com>
39649
96bc5b45
UD
39650 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39651 Avoid unnecessary __WORDSIZE == 64 test.
39652 (fmaxf): Use VEX format if possible.
39653 (fmax): Likewise.
39654 (fminf): Likewise.
39655 (fmin): Likewise.
39656
56f6f6a2
UD
39657 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39658 * math/math_private.h: Remove libc_fegetround* and
39659 libc_fesetround*.
39660 * sysdeps/i386/configure.in: Check for -msse2avx.
39661 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39662 also if SSE2AVX is defined.
39663 Remove libc_fegetround* and libc_fesetround*.
39664 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39665 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39666 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39667 of HAS_YMM_USABLE.
39668 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39669 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39670 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39672 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39673
73139a76
UD
39674 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39675
d73f93a4
AZ
396762012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39677
39678 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39679 size is not set.
39680 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39681
6ee65ed6
UD
396822012-01-27 Ulrich Drepper <drepper@gmail.com>
39683
39684 [BZ #13618]
39685 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39686 relocation.
39687 * Makeconfig (libm): Define.
39688 * elf/Makefile: Add rules to build and run tst-relsort1.
39689 * elf/tst-relsort1.c: New file.
39690 * elf/tst-relsort1mod1.c: New file.
39691 * elf/tst-relsort1mod2.c: New file.
39692
8db21882
JM
396932012-01-27 Joseph Myers <joseph@codesourcery.com>
39694
39695 * math/s_ldexp.c: Remove __STDC__ conditionals.
39696 * math/s_ldexpf.c: Likewise.
39697 * math/s_ldexpl.c: Likewise.
39698 * math/s_nextafter.c: Likewise.
39699 * math/s_nexttowardf.c: Likewise.
39700 * math/s_significand.c: Likewise.
39701 * math/s_significandf.c: Likewise.
39702 * math/s_significandl.c: Likewise.
39703 * math/w_jnl.c: Likewise.
39704 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39705 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39706 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39707 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39708 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39709 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39710 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39711 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39712 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39713 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39714 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39715 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39716 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39717 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39718 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39719 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39720 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39721 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39723 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39724 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39725 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39726 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39727 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39728 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39729 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39730 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39731 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39732 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39733 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39734 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39735 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39736 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39737 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39738 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39739 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39740 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39741 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39742 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39743 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39744 * sysdeps/ieee754/k_standard.c: Likewise.
39745 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39746 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39747 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39748 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39749 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39750 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39751 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39752 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39753 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39754 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39755 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39756 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39757 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39758 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39759 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39760 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39761 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39762 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39763 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39764 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39765 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39766 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39767 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39768 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39769 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39770 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39771 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39772 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39774 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39775 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39776 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39777 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39778 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39779 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39780 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39781 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39782 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39783 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39784 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39785 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39786 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39787 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39788 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39789 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39790 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39791 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39792 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39793 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39794 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39795 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39796 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39797 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39798 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39799 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39800 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39801 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39802 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39803 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39804 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39805 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39806 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39807 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39808 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39809 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39810 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39811 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39812 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39813 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39814 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39815 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39816 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39817 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39818 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39819 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39820 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39821 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39822 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39823 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39824 * sysdeps/ieee754/s_matherr.c: Likewise.
39825 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39826 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39828 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39829
965a54a4
JM
398302012-01-26 Joseph Myers <joseph@codesourcery.com>
39831
39832 * crypt/md5.h: Remove __STDC__ conditionals.
39833 * libio/libioP.h: Likewise.
39834 * locale/programs/config.h: Likewise.
39835 * sysdeps/generic/sysdep.h: Likewise.
39836 * sysdeps/i386/asm-syntax.h: Likewise.
39837 * sysdeps/s390/asm-syntax.h: Likewise.
39838 * sysdeps/unix/sysdep.h: Likewise.
39839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39841
7071ad79
JM
398422012-01-26 Joseph Myers <joseph@codesourcery.com>
39843
39844 * libio/libio.h: Remove __STDC__ conditionals.
39845 * malloc/obstack.h: Likewise.
39846 * math/complex.h: Likewise.
39847 * math/math.h: Likewise.
39848 * sysdeps/generic/_G_config.h: Likewise.
39849 * sysdeps/gnu/_G_config.h: Likewise.
39850 * sysdeps/mach/hurd/_G_config.h: Likewise.
39851 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39852 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39853 * sysdeps/sparc/bits/mathdef.h: Likewise.
39854
afc5ed09
UD
398552012-01-26 Ulrich Drepper <drepper@gmail.com>
39856
39857 [BZ #13583]
39858 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 39859 Clean up HAS_* macros.
afc5ed09 39860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
39861 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39862 possible.
39863 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39864 HAS_AVX.
39865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39866 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 39870
bdb6de1d
JM
398712012-01-25 Joseph Myers <joseph@codesourcery.com>
39872
39873 * elf/tst-unique3.cc (gets): Remove declaration.
39874 * elf/tst-unique3lib.cc (gets): Likewise.
39875 * elf/tst-unique3lib2.cc (gets): Likewise.
39876 * elf/tst-unique4.cc (gets): Likewise.
39877
b15549e6
UD
398782012-01-24 Ulrich Drepper <drepper@gmail.com>
39879
39880 * include/stdio.h: Add C++ protection. Add gets declarations and
39881 definitions.
39882 * debug/tst-chk1.c: Don't declare gets here.
39883 * stdio-common/tst-gets.c: Likewise.
39884
a037381f
JM
398852012-01-24 Joseph Myers <joseph@codesourcery.com>
39886
39887 * posix/glob: Remove directory.
39888
f1d4aa75
JM
398892012-01-24 Joseph Myers <joseph@codesourcery.com>
39890
39891 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39892
81c0c964
PT
398932012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39894
39895 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39896 of the non-standard EPFNOSUPPORT.
39897
0ea698ae
ST
398982011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39899
39900 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39901 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39902 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39903
d220b117
UD
399042012-01-21 Ulrich Drepper <drepper@gmail.com>
39905
39906 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39907
3e1aa84e
UD
399082012-01-20 Ulrich Drepper <drepper@gmail.com>
39909
39910 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39911 transient errors.
39912 * nscd/grpcache.c (cache_addgr): Likewise.
39913 * nscd/hstcache.c (cache_addhst): Likewise.
39914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39915 * nscd/pwdcache.c (cache_addpw): Likewise.
39916 * nscd/servicescache.c (cache_addserv): Likewise.
39917
400aa020
UD
399182012-01-16 Ulrich Drepper <drepper@gmail.com>
39919
d77e7869
UD
39920 * malloc/malloc.c: Various cleanups.
39921 * malloc/hooks.c: Likewise.
39922
400aa020
UD
39923 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39924 * stdlib/bug-fmtmsg1.c: New file.
39925
39926 * stdlib/fmtmsg.c (init): Add missing unlock.
39927 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39928
e0a309cf
MP
399292012-01-12 Marek Polacek <polacek@redhat.com>
39930
39931 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39932 and _GNU_SOURCE.
39933
929d11c7
WS
399342012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39935
39936 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39937 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39938 macro to ensure uniqueness of label name.
39939 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39940 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39941
41d0e869
UD
399422012-01-11 Ulrich Drepper <drepper@gmail.com>
39943
0cc5ed3b
UD
39944 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39945
41d0e869
UD
39946 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39947 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39948 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39949 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39950
a47a831a
UD
399512012-01-10 Ulrich Drepper <drepper@gmail.com>
39952
daa891c0
UD
39953 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39954
39955 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39956 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39957 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39958
e58ef0f2
UD
39959 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39960
a47a831a 39961 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
39962 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39963 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 39964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
39965
39966 * math/bits/math-finite.h: Add ldexp support.
39967
a0bfc9c7
MP
399682012-01-10 Marek Polacek <polacek@redhat.com>
39969
39970 * locale/programs/localedef.h (show_archive_content): Add noreturn
39971 attribute.
39972
d6e97a1d
UD
399732012-01-09 Ulrich Drepper <drepper@gmail.com>
39974
39975 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39976
d5835c26
UD
399772012-01-08 Ulrich Drepper <drepper@gmail.com>
39978
e5f484c6
UD
39979 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39980
d5835c26
UD
39981 * io/Makefile (headers): Add bits/poll2.h.
39982
d1f741e9
WS
399832011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39984
39985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39986 typo #include statement.
39987
ec09c1c4
UD
399882012-01-08 Ulrich Drepper <drepper@gmail.com>
39989
39990 * include/sys/cdefs.h: Define __attribute_alloc_size.
39991 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39992 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39993 * elf/pldd.c: Likewise.
39994 * iconv/iconv_charmap.c: Likewise.
39995 * iconv/iconvconfig.c: Likewise.
39996 * iconv/strtab.c: Likewise.
39997 * locale/programs/locale.c: Likewise.
39998 * locale/programs/localedef.h: Likewise.
39999 * locale/programs/simple-hash.c: Likewise.
40000 * nscd/nscd.h: Likewise.
40001 * nss/makedb.c: Likewise.
40002 * sysdeps/generic/ldconfig.h: Likewise.
40003 * locale/programs/localedef.c: Remove xmalloc prototype.
40004 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40005
20b38e03
PP
400062012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40007
40008 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40009 appropriate.
40010
a0da5fe1
UD
400112012-01-08 Ulrich Drepper <drepper@gmail.com>
40012
1d5a644a 40013 * math/Makefile (tests): Add tst-CMPLX.
669704fd 40014 * math/tst-CMPLX.c: New file.
1d5a644a 40015
8784a6db
UD
40016 * math/complex.h (CMPLXL): Fix typo.
40017
d9a216c0
UD
40018 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40019 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40020 GLIBC_2.16.
40021 * debug/tst-chk1.c: Add poll and ppoll tests.
40022 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40023 * include/sys/poll.h: Add hidden proto for ppoll.
40024 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40025 * sysdeps/mach/hurd/ppoll.c: Likewise.
40026 * io/ppoll.c: Likewise.
40027 * debug/poll_chk.c: New file.
40028 * debug/ppoll_chk.c: New file.
40029 * include/bits/poll2.h: New file.
40030 * io/bits/poll2.h: New file.
40031
ac097f5c
UD
40032 [BZ #1350]
40033 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40034
2119dcfa
UD
40035 * configure.in: static is always set to yes. Remove.
40036 * config.make.in: Don't set build-static.
40037 * Makeconfig: Remove use of build-static.
40038 * dlfcn/Makefile: Likewise.
40039 * elf/Makefile: Likewise.
40040 * math/Makefile: Likewise.
40041 * misc/Makefile: Likewise.
40042 * nptl/Makefile: Likewise.
40043 * sysdeps/mach/hurd/Makefile: Likewise.
40044
121766a9
UD
40045 * configure.in: PWD_P is not used anymore.
40046 * config.make.in: Remove PWD_P entry.
40047
51a1d39c 40048 * configure.in: Remove last remnants of RANLIB.
8720d066 40049 No need to check for signed size_t anymore.
215f4bdc
UD
40050 Don't set libc_commonpagesize and libc_relro_required here for Alpha
40051 and IA-64.
3857022a 40052 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
40053 * aclocal.m4: Likewise.
40054
d3ed7225
UD
40055 * wcsmbs/mbrtoc16.c: Implement using towc function.
40056 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40057 * wcsmbs/wcsmbsload.c: Likewise.
40058 * iconv/gconv_simple.c: Likewise.
40059 * iconv/gconv_int.h: Likewise.
40060 * iconv/gconv_builtin.h: Likewise.
40061 * iconv/iconv_prog.c: Remove CHAR16 handling.
40062
40063 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40064
40065 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40066
a0da5fe1
UD
40067 * configure.in: Remove --with-elf and --enable-bounded options.
40068 Dont set base_machine for ia64. More non-ELF conditions removed.
40069 Remove testing and setting of leading underscore information.
40070 * config.make.in (build-bounded): Set to no.
40071 * config.h.in: Remove NO_UNDERSCORES entry.
40072 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
40073 them.
40074 * csu/start.c: Remove !NO_UNDERSCORE code.
40075 * locale/localeinfo.h: Likewise.
40076 * sysdeps/generic/machine-gmon.h: Likewise.
40077 * sysdeps/generic/sysdep.h: Likewise.
40078 * sysdeps/i386/sysdep.h: Likewise.
40079 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40080 * sysdeps/mach/sysdep.h: Likewise.
40081 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40082 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40083 * sysdeps/sh/sysdep.h: Likewise.
40084 * sysdeps/sparc/sparc32/alloca.S: Likewise.
40085 * sysdeps/unix/i386/sysdep.S: Likewise.
40086 * sysdeps/unix/sparc/start.c: Likewise.
40087 * sysdeps/unix/sparc/sysdep.S: Likewise.
40088 * sysdeps/unix/sparc/sysdep.h: Likewise.
40089 * sysdeps/unix/start.c: Likewise.
40090 * sysdeps/unix/x86_64/sysdep.S: Likewise.
40091 * sysdeps/x86_64/sysdep.h: Likewise.
40092
df78418a
UD
400932012-01-07 Ulrich Drepper <drepper@gmail.com>
40094
a784e502
UD
40095 [BZ #13553]
40096 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40097 for non-gcc.
40098 * argp/argp-fmtstream.h: Use const instead __const.
40099 * argp/argp.h: Likewise.
40100 * assert/assert.h: Likewise.
40101 * bits/fenv.h: Likewise.
40102 * bits/sched.h: Likewise.
40103 * bits/sigset.h: Likewise.
40104 * bits/sigthread.h: Likewise.
40105 * catgets/nl_types.h: Likewise.
40106 * conform/data/pthread.h-data: Likewise.
40107 * crypt/crypt-private.h: Likewise.
40108 * crypt/crypt.h: Likewise.
40109 * crypt/crypt_util.c: Likewise.
40110 * ctype/ctype.h: Likewise.
40111 * debug/execinfo.h: Likewise.
40112 * debug/mbsnrtowcs_chk.c: Likewise.
40113 * debug/mbsrtowcs_chk.c: Likewise.
40114 * debug/wcsnrtombs_chk.c: Likewise.
40115 * debug/wcsrtombs_chk.c: Likewise.
40116 * debug/wcstombs_chk.c: Likewise.
40117 * dirent/dirent.h: Likewise.
40118 * dlfcn/dlfcn.h: Likewise.
40119 * elf/neededtest4.c: Likewise.
40120 * grp/grp.h: Likewise.
40121 * gshadow/gshadow.h: Likewise.
40122 * iconv/gconv.h: Likewise.
40123 * iconv/gconv_int.h: Likewise.
40124 * iconv/gconv_simple.c: Likewise.
40125 * iconv/iconv.h: Likewise.
40126 * iconv/loop.c: Likewise.
40127 * iconv/skeleton.c: Likewise.
40128 * include/aio.h: Likewise.
40129 * include/aliases.h: Likewise.
40130 * include/argz.h: Likewise.
40131 * include/arpa/inet.h: Likewise.
40132 * include/assert.h: Likewise.
40133 * include/dirent.h: Likewise.
40134 * include/dlfcn.h: Likewise.
40135 * include/execinfo.h: Likewise.
40136 * include/fcntl.h: Likewise.
40137 * include/fenv.h: Likewise.
40138 * include/glob.h: Likewise.
40139 * include/grp.h: Likewise.
40140 * include/libintl.h: Likewise.
40141 * include/mntent.h: Likewise.
40142 * include/netdb.h: Likewise.
40143 * include/pwd.h: Likewise.
40144 * include/rpc/netdb.h: Likewise.
40145 * include/sched.h: Likewise.
40146 * include/search.h: Likewise.
40147 * include/shadow.h: Likewise.
40148 * include/signal.h: Likewise.
40149 * include/stdio.h: Likewise.
40150 * include/stdlib.h: Likewise.
40151 * include/string.h: Likewise.
40152 * include/sys/socket.h: Likewise.
40153 * include/sys/stat.h: Likewise.
40154 * include/sys/statfs.h: Likewise.
40155 * include/sys/statvfs.h: Likewise.
40156 * include/sys/syslog.h: Likewise.
40157 * include/sys/time.h: Likewise.
40158 * include/sys/uio.h: Likewise.
40159 * include/time.h: Likewise.
40160 * include/unistd.h: Likewise.
40161 * include/utmp.h: Likewise.
40162 * include/wchar.h: Likewise.
40163 * include/wctype.h: Likewise.
40164 * inet/aliases.h: Likewise.
40165 * inet/arpa/inet.h: Likewise.
40166 * inet/netinet/ether.h: Likewise.
40167 * inet/netinet/in.h: Likewise.
40168 * intl/libintl.h: Likewise.
40169 * io/bits/fcntl2.h: Likewise.
40170 * io/fcntl.h: Likewise.
40171 * io/ftw.h: Likewise.
40172 * io/sys/poll.h: Likewise.
40173 * io/sys/stat.h: Likewise.
40174 * io/sys/statfs.h: Likewise.
40175 * io/sys/statvfs.h: Likewise.
40176 * io/utime.h: Likewise.
40177 * libio/bits/stdio.h: Likewise.
40178 * libio/bits/stdio2.h: Likewise.
40179 * libio/libio.h: Likewise.
40180 * libio/libioP.h: Likewise.
40181 * libio/stdio.h: Likewise.
40182 * locale/lc-ctype.c: Likewise.
40183 * locale/locale.h: Likewise.
40184 * login/utmp.h: Likewise.
40185 * malloc/arena.c: Likewise.
40186 * malloc/malloc.c: Likewise.
40187 * malloc/malloc.h: Likewise.
40188 * malloc/mcheck.c: Likewise.
40189 * malloc/mtrace.c: Likewise.
40190 * math/bits/mathcalls.h: Likewise.
40191 * math/fenv.h: Likewise.
40192 * math/math_private.h: Likewise.
40193 * misc/bits/error.h: Likewise.
40194 * misc/bits/syslog.h: Likewise.
40195 * misc/err.h: Likewise.
40196 * misc/error.h: Likewise.
40197 * misc/fstab.h: Likewise.
40198 * misc/mntent.h: Likewise.
40199 * misc/regexp.h: Likewise.
40200 * misc/search.h: Likewise.
40201 * misc/sgtty.h: Likewise.
40202 * misc/sys/mman.h: Likewise.
40203 * misc/sys/syslog.h: Likewise.
40204 * misc/sys/uio.h: Likewise.
40205 * misc/sys/xattr.h: Likewise.
40206 * misc/ttyent.h: Likewise.
40207 * nis/rpcsvc/ypclnt.h: Likewise.
40208 * nss/nss.h: Likewise.
40209 * posix/bits/unistd.h: Likewise.
40210 * posix/fnmatch.h: Likewise.
40211 * posix/glob.h: Likewise.
40212 * posix/sched.h: Likewise.
40213 * posix/spawn.h: Likewise.
40214 * posix/sys/wait.h: Likewise.
40215 * posix/unistd.h: Likewise.
40216 * posix/wordexp.h: Likewise.
40217 * pwd/pwd.h: Likewise.
40218 * resolv/netdb.h: Likewise.
40219 * resource/sys/resource.h: Likewise.
40220 * rt/aio.h: Likewise.
40221 * rt/bits/mqueue2.h: Likewise.
40222 * rt/mqueue.h: Likewise.
40223 * shadow/shadow.h: Likewise.
40224 * signal/signal.h: Likewise.
40225 * socket/send.c: Likewise.
40226 * socket/sendto.c: Likewise.
40227 * socket/sys/socket.h: Likewise.
40228 * stdio-common/printf.h: Likewise.
40229 * stdlib/bits/stdlib.h: Likewise.
40230 * stdlib/fmtmsg.h: Likewise.
40231 * stdlib/monetary.h: Likewise.
40232 * stdlib/stdlib.h: Likewise.
40233 * stdlib/ucontext.h: Likewise.
40234 * streams/stropts.h: Likewise.
40235 * string/argz.h: Likewise.
40236 * string/bits/string2.h: Likewise.
40237 * string/string.h: Likewise.
40238 * string/strings.h: Likewise.
40239 * sunrpc/rpc/auth.h: Likewise.
40240 * sunrpc/rpc/auth_des.h: Likewise.
40241 * sunrpc/rpc/clnt.h: Likewise.
40242 * sunrpc/rpc/netdb.h: Likewise.
40243 * sunrpc/rpc/pmap_clnt.h: Likewise.
40244 * sunrpc/rpc/xdr.h: Likewise.
40245 * sysdeps/generic/inttypes.h: Likewise.
40246 * sysdeps/generic/net/if.h: Likewise.
40247 * sysdeps/generic/sys/swap.h: Likewise.
40248 * sysdeps/gnu/net/if.h: Likewise.
40249 * sysdeps/gnu/utmpx.h: Likewise.
40250 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40251 * sysdeps/i386/i486/bits/string.h: Likewise.
40252 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40253 * sysdeps/s390/bits/string.h: Likewise.
40254 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40255 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40256 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40257 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
40258 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
40259 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
40260 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
40261 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
40262 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
40263 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
40264 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
40265 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
40266 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
40267 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
40268 * sysdeps/unix/sysv/linux/readv.c: Likewise.
40269 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
40270 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40272 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40273 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40274 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40275 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
40276 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
40277 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
40278 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
40279 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
40280 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
40281 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40282 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
40283 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
40284 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
40285 * sysvipc/sys/ipc.h: Likewise.
40286 * sysvipc/sys/msg.h: Likewise.
40287 * sysvipc/sys/sem.h: Likewise.
40288 * sysvipc/sys/shm.h: Likewise.
40289 * termios/termios.h: Likewise.
40290 * time/sys/time.h: Likewise.
40291 * time/time.h: Likewise.
40292 * wcsmbs/bits/wchar2.h: Likewise.
40293 * wcsmbs/uchar.h: Likewise.
40294 * wcsmbs/wchar.h: Likewise.
40295 * wctype/wctype.h: Likewise.
40296
0269750c
UD
40297 [BZ #13551]
40298 * Makeconfig: Remove all but ELF support including AIX support.
40299 * Makerules: Likewise.
40300 * config.h.in: Likewise.
40301 * config.make.in: Likewise.
40302 * configure: Likewise.
40303 * configure.in: Likewise.
40304 * csu/Makefile: Likewise.
40305 * csu/version.c: Likewise.
40306 * debug/Makefile: Likewise.
40307 * dlfcn/Makefile: Likewise.
40308 * elf/Makefile: Likewise.
40309 * extra-lib.mk: Likewise.
40310 * iconv/Makefile: Likewise.
40311 * include/libc-symbols.h: Likewise.
40312 * include/shlib-compat.h: Likewise.
40313 * resolv/Makefile: Likewise.
40314 * resolv/res_libc.c: Likewise.
40315 * rt/Makefile: Likewise.
40316 * sysdeps/i386/asm-syntax.h: Likewise.
40317 * sysdeps/i386/sysdep.h: Likewise.
40318 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40319 * sysdeps/mach/sysdep.h: Likewise.
40320 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
40321 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
40322 * sysdeps/s390/asm-syntax.h: Likewise.
40323 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40324 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40325 * sysdeps/sh/sysdep.h: Likewise.
40326 * sysdeps/unix/sparc/sysdep.h: Likewise.
40327 * sysdeps/wordsize-32/divdi3.c: Likewise.
40328 * sysdeps/x86_64/sysdep.h: Likewise.
40329
00bbd29b
UD
40330 * argp/Versions: Remove _argp_unlock_xxx.
40331
40332 [BZ #13559]
40333 * abilist/ld.abilist: Update. Adjust for removal of tls option.
40334 * abilist/libBrokenLocale.abilist: Likewise.
40335 * abilist/libanl.abilist: Likewise.
40336 * abilist/libc.abilist: Likewise.
40337 * abilist/libcrypt.abilist: Likewise.
40338 * abilist/libdl.abilist: Likewise.
40339 * abilist/libm.abilist: Likewise.
40340 * abilist/libnsl.abilist: Likewise.
40341 * abilist/libpthread.abilist: Likewise.
40342 * abilist/libresolv.abilist: Likewise.
40343 * abilist/librt.abilist: Likewise.
40344 * abilist/libthread_db.abilist: Likewise.
40345 * abilist/libutil.abilist: Likewise.
40346 * abilist/libnss_db.abilist: New file.
40347
40348 * scripts/abilist.awk: Add support for indirect functions.
40349
a2693a0e
UD
40350 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
40351
3f05895f
UD
40352 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
40353
ecb6fb48
UD
40354 * shlib-versions: Remove entries for ports architectures.
40355
664f8cb9
UD
40356 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
40357 files in ports.
40358 * elf/stackguard-macros.h: Remove support for IA-64.
40359 * elf/tst-auditmod1.c: Likewise.
40360 * sysdeps/generic/ldsodefs.h: Likewise.
40361
7ae81d88
UD
40362 * sysdeps/unix/sysv/linux/configure.in: Ports should define
40363 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
40364 configure files.
40365
bdeba135
UD
40366 [BZ #13552]
40367 * configure.in: Remove --enable-omitfp support.
40368 * FAQ.in: Adjust.
40369 * config.make.in: Likewise.
40370 * Makeconfig: Likewise.
40371 * manual/install.texi: Likewise.
40372
d75a0a62
UD
40373 In case anyone cares, the IA-64 architecture could move to ports.
40374 * sysdeps/ia64/*: Removed.
40375 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 40376 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 40377
dcc9756b
UD
40378 [BZ #13555]
40379 * configure.in: Remove entries for unsupported architectures.
40380
d3761ebc 40381 [BZ #13533]
9954432e
UD
40382 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
40383 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
40384 routines.
40385 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
40386 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
40387 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
40388 fall back to using wcrtomb.
40389 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
40390 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
40391 renaming.
40392 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
40393 * wcsmbs/tst-c16c32-1.c: New file.
40394
40395 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
40396 local variable.
40397
c3a87236
UD
40398 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40399
28926a1b
UD
40400 * elf/tst-unique3.cc: Add explicit declaration of gets.
40401 * elf/tst-unique3lib.cc: Likewise.
40402 * elf/tst-unique3lib2.cc: Likewise.
40403 * elf/tst-unique4.cc: Likewise.
40404
df78418a
UD
40405 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40406
8ecd6b2a
JM
404072012-01-06 Joseph Myers <joseph@codesourcery.com>
40408
40409 [BZ #13566]
40410 * assert/assert.h (static_assert): Don't define for C++.
40411 * libio/stdio.h (gets): Do declare for C++ <= C++11.
40412 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40413
9f115170
UD
404142012-01-03 Ulrich Drepper <drepper@gmail.com>
40415
5e0d0300
UD
40416 * iconv/loop.c (single loop): Fix assertion in storing of
40417 remaining bytes.
40418
9f115170
UD
40419 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40420
81fb02b0
UD
404212012-01-01 Ulrich Drepper <drepper@gmail.com>
40422
40423 * posix/getconf.c: Update copyright year.
40424 * nss/getent.c: Likewise.
a316c1f6 40425 * nss/makedb.c: Likewise.
81fb02b0
UD
40426 * iconv/iconvconfig.c: Likewise.
40427 * iconv/iconv_prog.c: Likewise.
40428 * elf/ldconfig.c: Likewise.
a316c1f6
UD
40429 * elf/pldd.c: Likewise.
40430 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
40431 * catgets/gencat.c: Likewise.
40432 * csu/version.c: Likewise.
40433 * elf/ldd.bash.in: Likewise.
40434 * elf/sprof.c (print_version): Likewise.
40435 * locale/programs/locale.c: Likewise.
40436 * locale/programs/localedef.c: Likewise.
a316c1f6 40437 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
40438 * nscd/nscd.c (print_version): Likewise.
40439 * debug/xtrace.sh: Likewise.
40440 * malloc/memusage.sh: Likewise.
40441 * malloc/mtrace.pl: Likewise.
40442 * debug/catchsegv.sh: Likewise.
40443
2ba92745
JJ
404442011-12-30 Jakub Jelinek <jakub@redhat.com>
40445
40446 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40447 pure attribute.
40448
dadebdae
UD
404492011-12-24 Ulrich Drepper <drepper@gmail.com>
40450
d3761ebc 40451 [BZ #13533]
db6af3eb
UD
40452 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40453 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40454 transformations.
40455 * iconv/gconv_int.h: Likewise.
40456 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40457 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40458 from libc for GLIBC_2.16.
40459 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40460 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40461 * wcsmbs/uchar.h: Really define mbstate_t.
40462 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40463 * wcsmbs/c16rtomb.c: New file.
40464 * wcsmbs/mbrtoc16.c: New file.
40465 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40466 for C/POSIX locale.
40467 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40468 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40469
dadebdae
UD
40470 * wcsmbs/wchar.h: Add missing __restrict.
40471
67371b56
UD
404722011-12-23 Ulrich Drepper <drepper@gmail.com>
40473
74033a25
UD
40474 [BZ #13532]
40475 * time/Makefile (routines): Add timespec_get.
40476 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40477 * time/time.h: Define TIME_UTC and declare timespec_get. Define
40478 timespec for ISO C11.
40479 * time/timespec_get.c: New file.
40480 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40481 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40482
380d7e87
UD
40483 [BZ #13531]
40484 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40485 * stdlib/stdlib.h: Declare aligned_alloc.
40486 * Versions.def: Add GLIBC_2.16 for libc.
40487 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40488
4e9e7a35
UD
40489 [BZ 13527]
40490 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40491 ISO C11.
40492
380d7e87 40493 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
40494 code.
40495
03a71829
UD
40496 [BZ #13528]
40497 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40498
839e283e
UD
40499 [BZ #13529]
40500 * assert/assert.h (static_assert): Define.
40501
ce5294e2 40502 * version.h: Update for 2.16 development version.
90fa7312 40503
8d44e150 40504 [BZ #13526]
d7809905
UD
40505 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40506 _ISOC11_SOURCE.
40507
c0da14cd
UD
40508 * version.h (RELEASE): Bump for 2.15 release.
40509 * include/features.h (__GLIBC_MINOR__): Bump to 15.
40510
530a3249
MP
40511 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40512 Patch by Marek Polacek <mpolacek@redhat.com>.
40513
67371b56
UD
40514 * bits/byteswap.h: Protect long long constants with __extension__.
40515 * sysdeps/i386/bits/byteswap.h: Likewise.
40516 * sysdeps/ia64/bits/byteswap.h: Likewise.
40517 * sysdeps/s390/bits/byteswap.h: Likewise.
40518 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40519
15db4de1
LD
405202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40521
40522 [BZ #13540]
bbe315ea
LD
40523 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40524 destination buffer.
15db4de1
LD
40525 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40526
2b2596b1
MP
405272011-12-23 Marek Polacek <polacek@redhat.com>
40528
40529 * elf/dl-addr.c (determine_info): Add inline keyword.
40530 * elf/tst-auditmod4b.c (check_avx): Likewise.
40531 * elf/tst-auditmod6b.c (check_avx): Likewise.
40532 * elf/tst-auditmod6c.c (check_avx): Likewise.
40533 * elf/tst-auditmod7b.c (check_avx): Likewise.
40534
70c6c246
UD
405352011-12-23 Ulrich Drepper <drepper@gmail.com>
40536
40537 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40538 !__SSE_MATH__.
40539
c044cf14
LD
405402011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40541
15db4de1 40542 [BZ #13540]
c044cf14
LD
40543 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40544 processing for last bytes.
40545
6b13d9d9
BH
405462011-08-06 Bruno Haible <bruno@clisp.org>
40547
d455f537
BH
40548 [BZ #13061]
40549 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40550 U+0385, not to U+1FEE.
40551
6b13d9d9
BH
40552 [BZ #13062]
40553 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40554 entry for U+00A5 U+0301.
40555
db910efd
UD
405562011-12-22 Ulrich Drepper <drepper@gmail.com>
40557
27deeafc
UD
40558 [BZ #13166]
40559 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40560 buffer for the output is too small.
40561
aed9d171
UD
40562 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40563 optimization.
40564
db910efd
UD
40565 [BZ #13185]
40566 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40567 SSE flags if possible.
40568
2bd779ae
LD
405692011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40570
e7f9dac3 40571 [BZ #13540]
2bd779ae
LD
40572 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40573 processing for last bytes.
40574
154bfc16
JM
405752011-12-22 Joseph Myers <joseph@codesourcery.com>
40576
40577 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40578 (syscall-list-default-options, syscall-list-default-condition)
40579 (syscall-list-includes): Define.
40580 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40581 list of ABIs and options and #if conditions for each ABI. Do not
40582 handle common syscalls between ABIs specially.
40583 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40584 Remove.
40585 (syscall-list-variants, syscall-list-32bit-options)
40586 (syscall-list-32bit-condition, syscall-list-64bit-options)
40587 (syscall-list-64bit-condition): Define.
40588 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40589 (syscall-list-variants, syscall-list-32bit-options)
40590 (syscall-list-32bit-condition, syscall-list-64bit-options)
40591 (syscall-list-64bit-condition): Define.
40592 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40593 Remove.
40594 (syscall-list-variants, syscall-list-32bit-options)
40595 (syscall-list-32bit-condition, syscall-list-64bit-options)
40596 (syscall-list-64bit-condition): Define.
40597 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40598 Remove.
40599 (syscall-list-variants, syscall-list-32bit-options)
40600 (syscall-list-32bit-condition, syscall-list-64bit-options)
40601 (syscall-list-64bit-condition): Define.
40602
21eaf3a5
UD
406032011-12-22 Ulrich Drepper <drepper@gmail.com>
40604
16c6f992
UD
40605 * locale/iso-639.def: Add brx entry.
40606
41043168
UD
40607 [BZ #13328]
40608 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40609 Proposed by Mariusz_Cukr <marcukr@op.pl>.
40610
21eaf3a5
UD
40611 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40612 __feraiseexcept_renamed.
40613
e3a851a2
UD
406142011-12-21 Ulrich Drepper <drepper@gmail.com>
40615
4920765e
UD
40616 [BZ #13538]
40617 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40618 EPOLLET with unsigned values.
40619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40620 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40621
e3a851a2
UD
40622 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40623 to large cancellation.
40624 * math/s_cacoshf.c: Likewise.
40625 * math/s_cacoshl.c: Likewise.
40626
b27e24b8
RK
406272011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40628
40629 [BZ #13305]
aebefeee 40630 [BZ #12786]
b27e24b8
RK
40631 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40632 * math/s_cacoshf.c: Likewise.
40633 * math/s_cacoshl.c: Likewise.
40634
ee190f67
UD
406352011-12-21 Ulrich Drepper <drepper@gmail.com>
40636
40637 [BZ #13439]
40638 * iconv/gconv.h: Define __GCONV_SWAP.
40639 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40640 * iconvdata/utf-16.c: Likewise.
40641 * iconvdata/utf-32.c: Likewise.
40642
707f25df
AS
406432011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40644
40645 [BZ #13524]
40646 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40647 numerator after shifting it by one limb.
40648
d2daaa1e
RÁE
406492011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40650
40651 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40652 under [__USE_EXTERN_INLINES].
40653
a4647e72
UD
406542011-12-17 Ulrich Drepper <drepper@gmail.com>
40655
40656 [BZ #13446]
40657 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40658
f0b264f1
AZ
406592011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40660
40661 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40662 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40663 optimized code.
40664 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40665 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40666 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40667 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40668 for strncasecmp/strncasecmp_l compilation.
40669 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40670 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40671
8ef4f244
MP
406722011-12-08 Marek Polacek <mpolacek@redhat.com>
40673
40674 [BZ #13484]
40675 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40676 of __asm__.
40677
97ac2654
UD
406782011-12-17 Ulrich Drepper <drepper@gmail.com>
40679
40680 [BZ #13506]
40681 * time/tzfile.c (__tzfile_read): Check values from file header.
40682
91d2a845
WS
406832011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40684
40685 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40686 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40687 * powerpc/powerpc32/dl-start.S: Likewise.
40688 * powerpc/powerpc32/elf/start.S: Likewise.
40689 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40690 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40691 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40692 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40693 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40694 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40695 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40696 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40697 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40698 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40699 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40700 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40701 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40702 * powerpc/powerpc32/memset.S: Likewise.
40703 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40704 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40705 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40706 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40707 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40708 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40709 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40710 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40711 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40712 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40713 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40714 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40715 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40716
a1267ba1
AZ
407172011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40718
40719 * math/libm-test.inc: Added more nearbyint tests.
40720 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40721 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40722 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40723 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40724
ad8ac1bd
RL
407252011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40726
40727 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40728 FD_CLOEXEC.
40729
1d3e4b61
UD
407302011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40731
40732 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40733 Add wcscpy-ssse3 wcscpy-c.
40734 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40735 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40736 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40737 * sysdeps/x86_64/wcschr.S: New file.
40738 * sysdeps/x86_64/wcsrchr.S: New file.
40739 * string/test-strcmp.c: Remove checking of wcscmp function for
40740 wrong alignments.
40741 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40742 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40743 wcsrchr-sse2 wcsrchr-c.
40744 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40745 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40746 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40747 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40748 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40749 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40750 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40751 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40752 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40753 * wcsmbc/wcschr.c (WCSCHR): New macro.
40754
5b330a2d
UD
407552011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40756
40757 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40758 * wcsmbs/test-wcsrchr.c: New file.
40759 * string/test-strrchr.c: Add wcsrchr support.
40760 (WIDE): New macro.
40761 * wcsmbs/test-wcscpy.c: New file.
40762 * string/test-strcpy.c: Add wcscpy support.
40763 (WIDE): New macro.
26428b7c 40764
f039c043
UD
407652011-12-10 Ulrich Drepper <drepper@gmail.com>
40766
40767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40768 the inner loop.
40769
850fb039
AS
407702011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40771
40772 [BZ #13472]
40773 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40774
4efbd5cb
UD
407752011-12-04 Ulrich Drepper <drepper@gmail.com>
40776
52ff5dd0 40777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 40778 Minor optimizations.
52ff5dd0 40779
4efbd5cb
UD
40780 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40781 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40782 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40783
8a426e12
UD
407842011-12-03 Ulrich Drepper <drepper@gmail.com>
40785
aff2453d
UD
40786 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40787 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40788 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40789 for gcc to avoid warnings.
40790 * inet/Makefile (tests): Add tst-checks.
40791 * inet/tst-checks.c: New file.
40792
40793 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40794 warning.
40795
40796 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40797 __wmemcmp_sse2.
40798
40799 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40800 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40801
8a426e12
UD
40802 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40803
9bea3473
UD
408042011-12-02 Ulrich Drepper <drepper@gmail.com>
40805
3a965496
UD
40806 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40807 problem.
40808
9bea3473
UD
40809 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40810
f101631b
UD
408112011-11-29 Joseph Myers <joseph@codesourcery.com>
40812
40813 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40814 conditional on GCC version.
40815 (__arch_compare_and_exchange_val_8_acq)
40816 (__arch_compare_and_exchange_val_16_acq)
40817 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40818 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40819 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40820
a98275aa
UD
408212011-12-02 Joseph Myers <joseph@codesourcery.com>
40822
40823 * sysdeps/sh/backtrace.c: New file.
40824
d4cc29a2
AS
408252011-12-02 Andreas Schwab <schwab@redhat.com>
40826
40827 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40828 parenthesis.
40829
6257af2d
AS
408302011-12-01 Andreas Schwab <schwab@redhat.com>
40831
40832 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40833 falling back to utime.
40834
b5f44c1a
AS
408352011-11-30 Andreas Schwab <schwab@redhat.com>
40836
40837 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40838 expectations for float.
40839
f3a6cc0a
AS
408402011-11-29 Andreas Schwab <schwab@redhat.com>
40841
40842 * locale/weight.h (findidx): Add parameter len.
40843 * locale/weightwc.h (findidx): Likewise.
40844 * posix/fnmatch_loop.c (FCT): Adjust caller.
40845 * posix/regcomp.c (build_equiv_class): Likewise.
40846 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40847 * posix/regexec.c (check_node_accept_bytes): Likewise.
40848 * string/strcoll_l.c (STRCOLL): Likewise.
40849 * string/strxfrm_l.c (STRXFRM): Likewise.
40850
9d65ea3a
UD
408512011-11-17 Ulrich Drepper <drepper@gmail.com>
40852
40853 * Makefile.in: Remove CVSOPT handling.
40854 * configure.in: Remove use of AC_REVISION.
40855 * iconvdata/Makefile (distribute): No need to filter out CVS.
40856 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40857 handling.
40858
5583a086
AS
408592011-11-16 Andreas Schwab <schwab@redhat.com>
40860
40861 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40862 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40863 [USE_AS_STRNCASECMP_L]: Likewise.
40864 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40865 NO_TLS_DIRECT_SEG_REFS.
40866 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40867 Fix argument offsets for non-PIC.
40868 [USE_AS_STRNCASECMP_L]: Likewise.
40869 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40870 NO_TLS_DIRECT_SEG_REFS.
40871
d62a8200
UD
408722011-11-15 Ulrich Drepper <drepper@gmail.com>
40873
9d65ea3a 40874 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
40875 O_CLOEXEC.
40876 * locale/loadlocale.c (_nl_load_locale): Likewise.
40877
09f93bd3
AS
408782011-11-15 Andreas Schwab <schwab@redhat.com>
40879
446514f9
AS
40880 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40881 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40882 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40883 (SYSCALL_GETTIME): Set errno on error.
40884
09f93bd3
AS
40885 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40886 count references to noai6ai_cached.
40887
312be3f9
UD
408882011-11-15 Ulrich Drepper <drepper@gmail.com>
40889
40890 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40891
40892 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40893 FD_CLOEXEC for /proc/self/maps.
40894
40895 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40896 FD_CLOEXEC for /proc/meminfo.
40897
40898 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40899 gai.conf.
40900
40901 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40902 FD_CLOEXEC for given file.
40903
40904 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40905
40906 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40907 FD_CLOEXEC for /etc/hosts.
40908 (_gethtent): Likewise.
40909
40910 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40911
40912 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40913 cancellation and set FD_CLOEXEC for /etc/netgroup.
40914
40915 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40916 reading /etc/publickey.
40917
40918 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40919 allow cancellation when reading /etc/group.
40920
40921 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40922 cancellation.
40923 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40924
40925 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40926 when using data file.
40927
40928 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40929
40930 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40931 (write_nis_obj): Use "c" and "e" in fopen.
40932
40933 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40934
40935 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40936
40937 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40938
40939 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40940
40941 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40942 locale.alias.
40943
40944 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40945
40946 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40947
40948 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40949
40950 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40951 file parsing and set FD_CLOEXEC.
40952
82af0fa8
UD
409532011-11-14 Ulrich Drepper <drepper@gmail.com>
40954
40955 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40956
a5fb313c
AS
409572011-11-14 Andreas Schwab <schwab@redhat.com>
40958
40959 * malloc/arena.c (arena_get2): Don't call reused_arena when
40960 _int_new_arena failed.
40961
6abf3465
UD
409622011-11-14 Ulrich Drepper <drepper@gmail.com>
40963
40964 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40965 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40966 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40967 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40968 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40970 to compile strcasecmp and strncasecmp.
40971 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40972 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40973
40974 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40975
76e3966e
UD
409762011-11-13 Ulrich Drepper <drepper@gmail.com>
40977
40978 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40979 locale-defines.sym to gen-as-const-headers.
40980 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40981 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40982 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40983 to compile strcasecmp and strncasecmp.
40984 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40985 strcasecmp_l and strncasecmp_l.
40986 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40987 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40988 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40989 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40990 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40991 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40992 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40993 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40994 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40995 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40996 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40997
ab26144e
UD
409982011-11-12 Ulrich Drepper <drepper@gmail.com>
40999
7edb22ef
UD
41000 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41001 result of SYSDEP_GETTIME_CPU to retval.
41002 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41003 parameter list to macro. Remove trailing semicolon. Adjust users.
41004
9694fc44
UD
41005 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41006 variable.
41007
8ad89ef8
UD
41008 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41009 mantissa words.
41010 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41011
0c822ef9
UD
41012 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41013 from unused variable.
41014
874e0564
UD
41015 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41016 DWARF definitions.
41017 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41018 for assembling.
41019
3a2edc79
UD
41020 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41021 over namespaces.
41022
f3c2577f
UD
41023 * sunrpc/rpc_prot.c (rejected): Fix case value.
41024
294ce126
UD
41025 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41026 unsigned long long int to avoid warnings in shift.
41027
5e2b63c6
UD
41028 * posix/regex_internal.c (re_string_reconstruct): Actually use result
41029 of use of trans.
41030 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41031 variable tmp.
41032
e7f4b08e
UD
41033 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41034 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41035 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41036
ab26144e
UD
41037 * nis/nis_table.c (nis_list): Use variable of correct type for
41038 result of __follow_path call.
41039
8a6d5255
AZ
410402011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41041
41042 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41043 of math functions ceil, trunc, floor, round, and sqrt, when
41044 avaliable on the platform.
41045 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41046 name clash.
41047 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41048 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41049 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41050
aaddc98c
MP
410512011-10-30 Marek Polacek <mpolacek@redhat.com>
41052
41053 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41054 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41055
95b7042b
RM
410562011-11-11 Roland McGrath <roland@hack.frob.com>
41057
41058 * include/unistd.h: Fix __readlink return type.
41059 Reported by Chris Metcalf <cmetcalf@tilera.com>.
41060
57769839
UD
410612011-11-11 Ulrich Drepper <drepper@gmail.com>
41062
41063 * stdlib/ucontext.h: Undo last change for makecontext.
41064
edc5984d
AS
410652011-11-11 Andreas Schwab <schwab@redhat.com>
41066
98591e58
AS
41067 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41068
edc5984d
AS
41069 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41070 * setjmp/setjmp.h: Mark functions as non-leaf.
41071 * setjmp/bits/setjmp2.h: Likewise.
41072 * stdlib/ucontext.h: Likewise.
41073
77cdc054
AS
410742011-11-10 Andreas Schwab <schwab@redhat.com>
41075
41076 * malloc/arena.c (_int_new_arena): Don't increment narenas.
41077 (reused_arena): Don't check arena limit.
41078 (arena_get2): Atomically check arena limit.
41079
fe72eebd
UD
410802011-11-08 Ulrich Drepper <drepper@gmail.com>
41081
5f078c32
UD
41082 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41083 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41084
fe72eebd
UD
41085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41086 instructions.
41087
ae1bc2fa
AS
410882011-11-07 Andreas Schwab <schwab@redhat.com>
41089
7583a88d
AS
41090 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41091 handler when locking.
41092
ae1bc2fa
AS
41093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41094 Fix size of allocated buffer.
41095
10fb0bfa
AS
410962011-11-04 Andreas Schwab <schwab@redhat.com>
41097
998832a4
AS
41098 [BZ #10103]
41099 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41100 declarations for long double functions.
41101 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41102
10fb0bfa
AS
41103 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41104
3d7ba52b
AS
411052011-11-03 Andreas Schwab <schwab@redhat.com>
41106
a9ae54a1
AS
41107 * nscd/nscd.c (main): Don't start AVC thread until credentials are
41108 installed.
41109
3d7ba52b
AS
41110 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41111 is disabled.
41112
bc8db248
ST
411132011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
41114
41115 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41116
45b96dd6
AS
411172011-11-01 Andreas Schwab <schwab@linux-m68k.org>
41118
647776f6
AS
41119 * include/alloca.h (stackinfo_alloca_round): Define.
41120 (extend_alloca): Use it.
41121 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41122 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41123 here.
41124
d91a8b93
AS
41125 * scripts/check-local-headers.sh: Ignore libaudit.h.
41126
45b96dd6
AS
41127 * nscd/Makefile (extra-objs): Make recursively expanded.
41128
432d41ce
UD
411292011-11-01 Ulrich Drepper <drepper@gmail.com>
41130
34372fc6
UD
41131 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41132 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41133
fadb59f8
UD
41134 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41135 * posix/tst-rfc3484-2.c: Likewise.
41136 * posix/tst-rfc3484-3.c: Likewise.
41137
78239589
UD
41138 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41139 process_vm_writev.
41140 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41141 process_vm_writev.
41142 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41143 process_vm_writev from libc using GLIBC_2.15 version.
41144
432d41ce
UD
41145 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41146
02f9c6cf
PP
411472011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
41148
41149 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41150 stack usage.
41151
3a2c0242
UD
411522011-10-31 Ulrich Drepper <drepper@gmail.com>
41153
f4ec4833
UD
41154 [BZ #13367]
41155 * nss/getent.c (initgroups_keys): Show error message in case no group
41156 names are given.
41157
3a2c0242
UD
41158 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41159 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41160 __bump_nl_timestamp.
41161 * nscd/connections (nscd_init): When host database is served open
41162 netlink socket and request notification about configuration changes.
41163 (main_loop_poll): Track netlink file descriptor and bump timestamp
41164 in case data becomes available.
41165 (main_loop_epoll): Likewise.
41166 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41167 (database_pers_head): Add extra_data fileds.
41168 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41169 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41170 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41171 Adjust caller.
41172 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41173 in6ai data, call __free_in6ai.
41174 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41175 Add -DHAVE_NETLINK.
41176 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
41177 interface information. Reuse previous data if netlink timestamp
41178 is not changed.
41179 (__bump_nl_timestamp): New function.
41180 (__free_in6ai): New function.
41181
636064eb
UD
411822011-10-30 Ulrich Drepper <drepper@gmail.com>
41183
41184 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41185 close_not_cancel_no_status here.
41186 (__check_pf): Reorganize code a bit to not call close twice if OOM.
41187
9beb2334
UD
411882011-10-29 Ulrich Drepper <drepper@gmail.com>
41189
6ef76f3b
UD
41190 [BZ #13276]
41191 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41192 return value.
41193
0ffc4f3e 41194 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
41195 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41196 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41197
cb95113e
UD
411982011-07-03 Andreas Jaeger <aj@suse.de>
41199
41200 [BZ #10709]
41201 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41202 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41203 * math/libm-test.inc (sin_test): Add test case.
41204
a1b560ff
UD
412052011-10-29 Ulrich Drepper <drepper@gmail.com>
41206
c9aaface
UD
41207 [BZ #13337]
41208 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41209 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41210
d272e7f1
UD
41211 * elf/chroot_canon.c (chroot_canon): Cleanups.
41212
1bc33071
UD
41213 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41214
1760874d
TJ
41215 [BZ #13335]
41216 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41217 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41218
51d91b18
UD
41219 * string/test-strchr.c: Make usable for strchrnul testing.
41220 * string/test-strchrnul.c: New file.
41221 * string/Makefile (strop-tests): Add strchrnul.
41222
a1b560ff 41223 * po/it.po: Update from translation team.
b611fb81 41224 * po/es.po: Likewise.
a1b560ff 41225
a5b81e1f
UD
412262011-10-28 Ulrich Drepper <drepper@gmail.com>
41227
fd52bc6d
UD
41228 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41229 the three constants needed as parameters. Drop the others.
41230 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41231 __m128i_strloadu_tolower.
52e4b9eb
UD
41232 Create and initialize variable zero and use it in all the places
41233 where _mm_setzero_si128 was used.
fd52bc6d 41234
a5b81e1f
UD
41235 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41236 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41237 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41238 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41239 anymore.
41240 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41241 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41242 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41243 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41244 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41245 __mpranred, __mptan.
41246 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41247 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41248 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41249 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41250 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41251 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41252 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41253 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41254 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41255
b4343346
AS
412562011-10-28 Andreas Schwab <schwab@redhat.com>
41257
0c92d8a8
AS
41258 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
41259 redefine if SHARED.
41260 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
41261
b4343346
AS
41262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
41263 wide char related routines to wcsmbs subdir.
41264
3871f58f
AS
412652011-10-27 Andreas Schwab <schwab@redhat.com>
41266
41267 [BZ #13344]
41268 * misc/sys/cdefs.h (__THROWNL): Define.
41269 * posix/unistd.h: Use __THREADNL instead of __THREAD
41270 for memory synchronization functions.
41271
94d44d9f
RM
412722011-10-26 Roland McGrath <roland@hack.frob.com>
41273
21b64b15 41274 [BZ #13349]
94d44d9f
RM
41275 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
41276 doesn't exist.
41277 * manual/stdio.texi (Obstack Streams): Node removed.
41278
f6ce9294
AS
412792011-10-26 Andreas Schwab <schwab@redhat.com>
41280
80479147
AS
41281 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
41282 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41283 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41284
f6ce9294
AS
41285 * math/math_private.h (math_force_eval): Allow non-addressable
41286 arguments.
41287 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
41288
618280a1
UD
412892011-10-25 Ulrich Drepper <drepper@gmail.com>
41290
e0016b11
UD
41291 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
41292 file is not needed.
41293
41294 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
41295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
41296 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
41297 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
41298 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
41299 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
41300 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
41301 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
41302 Add AVX variants.
41303 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
41304 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
41305 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
41306 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
41307 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
41308 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
41309 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
41310 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
41311 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
41312 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
41313 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
41314 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
41315 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
41316 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
41317 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
41318 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
41319 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
41320 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
41321 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
41322
41323 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
41324 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
41325
618280a1
UD
41326 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
41327 place. Use VEX encoding when compiling for AVX.
41328
37822576
AS
413292011-10-25 Andreas Schwab <schwab@redhat.com>
41330
1f1e1947
AS
41331 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
41332 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
41333
37822576
AS
41334 * string/test-strchr.c (do_test): Don't generate NUL bytes.
41335
31ea014d
UD
413362011-10-25 Ulrich Drepper <drepper@gmail.com>
41337
d7826aa1 41338 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 41339 useless if() expression.
d7826aa1
UD
41340 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41341 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41342 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41343 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41344 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41345 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
41346 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41347 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41348 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
41349 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41350 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41351 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41352 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
41353 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41354 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
41355 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
41356 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41357 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41358 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
41359
31ea014d
UD
41360 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
41361
16437fec
AS
413622011-10-25 Andreas Schwab <schwab@redhat.com>
41363
41364 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
41365 condition.
41366 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41367
31d3cc00
UD
413682011-10-25 Ulrich Drepper <drepper@gmail.com>
41369
41370 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
41371 .text section. Avoid duplicate constants.
41372 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41374 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41375 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41376 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41377 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41378 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41379 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41380 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41381 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
41382 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41383 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41384 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41385 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41386 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41387 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41388 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41389 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41390 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41392 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41393 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41394 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41395 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
41396 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
41397 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41398 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41399 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41400 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41401 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41402 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41403 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41404 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41405 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41406 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41407 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41408 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41409 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41410 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41411 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41412 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41413 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41414 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41415 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41416 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41417
58985aa9
UD
414182011-10-24 Ulrich Drepper <drepper@gmail.com>
41419
202c9deb
UD
41420 * sysdeps/x86_64/dla.h: Move to ...
41421 * sysdeps/x86_64/fpu/dla.h: ...here.
41422 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41423 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 41424
af968f62
UD
41425 * config.make.in: Add have-mfma4 entry.
41426 * configure.in: Substitute libc_cv_cc_fma4.
41427 * math/Makefile (dbl-only-routines): Add sincostab.
41428 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41429 Use __sincostab not sincos.
41430 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41431 name is a macro.
41432 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
41436 using __copysign.
41437 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
41438 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
41439 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41440 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41441 and __inv.
41442 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41443 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41444 __copysign.
41445 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
41446 define aliases when function name is a macro.
41447 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41448 sysdeps/ieee754/dbl-64/sincos.tbl.
41449 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41450 fma4-enabled routines.
41451 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41452 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41453 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41454 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41455 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41456 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41457 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41458 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41459 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41460 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41461 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41462 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41463 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41464 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41465 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41466 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41467 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41468 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41469 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41470 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41471 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41472 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41473 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41474 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41475 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41476 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41477 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41478 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41479 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41480 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41481
58985aa9
UD
41482 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41483 rename.
41484 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41485 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41486 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41489 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41490 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41491 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41492
a201fbcf
AS
414932011-10-24 Andreas Schwab <schwab@redhat.com>
41494
41495 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41496
fc2ee42a
LD
414972011-10-23 Ulrich Drepper <drepper@gmail.com>
41498
bb3129bd
UD
41499 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41500
0275fff8
UD
41501 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41502 prediction.
41503 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41504
2fa2ae85
UD
41505 * string/strnlen.c: Don't define STRNLEN, reverse logic.
41506 Remove unused variable magic_bits.
41507 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41508
fc2ee42a
LD
41509 * string/strnlen.c: Define and use STRNLEN macro.
41510 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41511 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41513 * wcsmbs/wcslen.c: Define and use WCSLEN.
41514 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41515 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41516 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41517 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41518 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41519 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41520 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41521
ce7dd29f
LD
415222011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41523
41524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41525 strnlen-sse2-no-bsf.
41526 Rename strlen-no-bsf to strlen-sse2-no-bsf.
41527 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41528 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41529 Add strnlen support.
41530 (USE_AS_STRNLEN): New macro.
41531 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41532 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41533 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41534 * sysdeps/x86_64/wcslen.S: New file.
41535
979c70a3
MZ
415362011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
41537
41538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41539 XMM-moves are used for copying on small sizes.
41540
2d09f82f
LD
415412011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41542
41543 * wcsmbs/Makefile (strop-tests): Add wcschr.
41544 * wcsmbs/test-wcschr.c: New file.
41545 * string/test-strchr.c: Update.
41546 Add wcschr support.
41547 (WIDE): New macro.
41548
619fccca
LD
415492011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41550
2d09f82f 41551 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
41552 * wcsmbs/test-wcslen.c: New file.
41553 * string/test-strlen.c: Update.
41554 Add wcslen support.
41555 (WIDE): New macro.
41556
09f699ea
UD
415572011-10-23 Ulrich Drepper <drepper@gmail.com>
41558
41559 * po/it.po: Update from translation team.
41560
95584d3b
LD
415612011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41562
41563 * sysdeps/x86_64/wcscmp.S: Update.
41564 Fix wrong comparison semantics.
41565 wcscmp shall use signed comparison not unsigned.
41566 Don't use substraction to avoid overflow bug.
41567 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41568 * wcsmbc/wcscmp.c: Likewise.
41569 * string/test-strcmp.c: Likewise.
41570 Add new tests to check cases with negative values.
41571
c8b3296b
UD
415722011-10-23 Ulrich Drepper <drepper@gmail.com>
41573
41574 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41575 * sysdeps/x86_64/dla.h: ...here. New file.
41576 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41578 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41579 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41580 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41581 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41583 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41585
246ad57a
AS
415862011-10-23 Andreas Schwab <schwab@linux-m68k.org>
41587
41588 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41589 __ynl_finite aliases.
41590
a1a87169
UD
415912011-10-22 Ulrich Drepper <drepper@gmail.com>
41592
0d355eb7
UD
41593 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41594
a1a87169
UD
41595 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41596 define DLA_FMA.
41597 [DLA_FMA] (EMULV): Use DLA_FMA.
41598 [DLA_FMA] (MUL12): Use EMULV.
41599 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41600 that are not needed.
41601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41604 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41605 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41607 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41608
ee2aafe0
AS
416092011-10-22 Andreas Schwab <schwab@linux-m68k.org>
41610
41611 * math/s_nan.c: Undef __nan.
41612 * math/s_nanf.c: Undef __nanf.
41613 * math/s_nanl.c: Undef __nanl.
41614 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41615 "math_private.h".
41616
bc62c2fb
UD
416172011-10-22 Ulrich Drepper <drepper@gmail.com>
41618
77425c63
UD
41619 * math/s_catan.c: Add branch predictions.
41620 * math/s_catanf.c: Likewise.
41621 * math/s_catanh.c: Likewise.
41622 * math/s_catanhf.c: Likewise.
41623 * math/s_catanhl.c: Likewise.
41624 * math/s_catanl.c: Likewise.
41625 * math/s_cexp.c: Likewise.
41626 * math/s_cexpf.c: Likewise.
41627 * math/s_cexpl.c: Likewise.
41628 * math/s_clog.c: Likewise.
41629 * math/s_clog10.c: Likewise.
41630 * math/s_clog10f.c: Likewise.
41631 * math/s_clog10l.c: Likewise.
41632 * math/s_clogf.c: Likewise.
41633 * math/s_clogl.c: Likewise.
41634 * math/s_csqrt.c: Likewise.
41635 * math/s_csqrtf.c: Likewise.
41636 * math/s_csqrtl.c: Likewise.
41637 * math/s_ctanf.c: Likewise.
41638 * math/s_ctanh.c: Likewise.
41639 * math/s_ctanhf.c: Likewise.
41640 * math/s_ctanhl.c: Likewise.
41641 * math/s_ctanl.c: Likewise.
41642
bc62c2fb
UD
41643 * math/math_private.h: Define __nan, __nanf, __nanl.
41644 * math/s_cacosh.c: Include <math_private.h>.
41645 * math/s_cacoshl.c: Likewise.
41646 * math/s_casinh.c: Likewise.
41647 * math/s_casinhf.c: Likewise.
41648 * math/s_casinhl.c: Likewise.
41649 * math/s_ccos.c: Rely entire on ccosh.
41650 * math/s_ccosf.c: Rely entire on ccoshf.
41651 * math/s_ccosl.c: Rely entirely on ccoshl.
41652 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41653 Remove tests for FE_INVALID.
41654 * math/s_ccoshf.c: Likewise.
41655 * math/s_ccoshl.c: Likewise.
41656 * math/s_csin.c: Likewise.
41657 * math/s_csinf.c: Likewise.
41658 * math/s_csinh.c Likewise.
41659 * math/s_csinhf.c: Likewise.
41660 * math/s_csinhl.c: Likewise.
41661 * math/s_csinl.c: Likewise.
41662 * math/s_ctan.c: Likewise.
41663 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41664 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41665 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41666
8ec250a4
UD
416672011-10-21 Ulrich Drepper <drepper@gmail.com>
41668
c196fed8
UD
41669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41670 compilation problems.
41671
8ec250a4
UD
41672 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41673 __builtin_expect.
41674
8d4f46c6
UD
416752011-10-20 Ulrich Drepper <drepper@gmail.com>
41676
ed72b654
UD
41677 * sysdeps/i386/configure.in: Test for -mfma4 option.
41678 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41679 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41680 COMMON_CPUID_INDEX_80000001.
41681 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41682 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41683 use it if FMA3 is not supported.
41684 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41685
8d4f46c6
UD
41686 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41687 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41688
d45c60c2
AS
416892011-10-20 Andreas Schwab <schwab@redhat.com>
41690
41691 [BZ #12892]
41692 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41693 it would create a cycle with a link time dependency.
41694
d9a4d2ab
UD
416952011-10-19 Ulrich Drepper <drepper@gmail.com>
41696
855d1560
UD
41697 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41698 instruction.
41699 * string/Makefile (strop-tests): Add rawmemchr.
41700 * string/test-rawmemchr.c: New file.
41701
d9a4d2ab
UD
41702 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41703 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41704 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41705 when compiling str{,n}casecmp and when AVX is available. Hook up
41706 new optimized code in initializers.
41707
8f3b1ffe
AS
417082011-10-19 Andreas Schwab <schwab@redhat.com>
41709
41710 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41711 __feraiseexcept instead of feraiseexcept.
41712
d38f1dba
UD
417132011-10-18 Ulrich Drepper <drepper@gmail.com>
41714
d9a8d0ab
UD
41715 * math/math_private.h: Define defaults for libc_fetestexcept and
41716 libc_feupdateenv.
41717 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41718 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41719 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41720 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41721 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41722 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41723 libc_fetestexcept and libc_feupdateenv.
41724
4855e3dd
UD
41725 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41726 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41727 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41728 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41729 libc_feholdexcept_setround.
41730
581d30e3
UD
41731 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41732 Add s_nearbyint-c and s_nearbyintf-c.
41733 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41734 nearbyintf inlines.
41735 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41736 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41737 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41738 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41739
d38f1dba
UD
41740 * math/math_private.h: Define defaults for libc_fegetround,
41741 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41742 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41743 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41744 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41745 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41746 standard functions.
41747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41748 Remove comments and hacks for old compiler versions.
41749 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41750 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41751 libc_feholdexceptl.
41752
caa6c9d8
AS
417532011-10-18 Andreas Schwab <schwab@redhat.com>
41754
41755 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
41756 (__feraiseexcept_renamed): Add __NTH.
41757 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
41758 namespace violations.
41759
97c066e6
UD
417602011-10-17 Ulrich Drepper <drepper@gmail.com>
41761
99ce7b04
UD
41762 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41763
1004d182
UD
41764 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41765
228a984d
UD
41766 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41767 recently added interfaces.
41768 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41769
c8553a6a
UD
41770 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41771 about macro parameter expansion.
41772
ed22dcf6
UD
41773 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41774 __NO_MATH_INLINES is defined. Cleanups.
41775
41776 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41777 and __floorf is target has SSE4.1.
41778 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41779 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41780 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41781 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41782
b171c137
UD
41783 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41784 name.
41785 (floorf): Likewise.
41786
97c066e6
UD
41787 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41788
629f62ef
AS
417892011-10-17 Andreas Schwab <schwab@redhat.com>
41790
49a43d80
AS
41791 * misc/sys/cdefs.h: Fix last change.
41792
629f62ef
AS
41793 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41794 database lookup.
41795
e453f6cd
UD
417962011-10-16 Ulrich Drepper <drepper@gmail.com>
41797
aa78043a
UD
41798 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41799
ad0f5cad
UD
41800 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41801 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41802 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41803 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41804 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41805 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41806 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41807 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41808 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41809 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41810 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41811 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41812 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41813 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41814 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41815 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41816 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41817 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41818 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41819 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41820 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41821 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41822
41823 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41824 ceil, ceilf, floor, floorf.
41825
41826 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41827 Perform IRELATIVE relocations last.
41828
e453f6cd
UD
41829 * elf/do-rel.h: Add another parameter nrelative, replacing the
41830 local variable with the same name. Change name of the function
41831 to end in Rel or Rela (uppercase).
41832 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41833 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41834 elf_dynamic_do_##reloc function.
41835
fd5bdc09
UD
418362011-10-15 Ulrich Drepper <drepper@gmail.com>
41837
79b195b5
UD
41838 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41839 is sufficient, at least on modern CPUs.
41840
d4a28569
UD
41841 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41842
b61099b5
UD
41843 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41844 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41845
bcf01e6d
UD
41846 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41847 __expl_finite.
41848 * math/bits/math-finite.h: Add entries for exp.
41849 * math/e_expl.c: Add __*_finite alias.
41850 * sysdeps/i386/fpu/e_exp.S: Likewise.
41851 * sysdeps/i386/fpu/e_expf.S: Likewise.
41852 * sysdeps/i386/fpu/e_expl.c: Likewise.
41853 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41854 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41855 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41857 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41858 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41859 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41860
ba1a0d59
UD
41861 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41862 is sufficient, at least on modern CPUs.
41863
fd5bdc09
UD
41864 * ctype/ctype-info.c (__ctype_init): Define.
41865 * include/ctype.h (__ctype_init): Declare.
41866 (__ctype_b_loc): The variable is always initialized.
41867 (__ctype_toupper_loc): Likewise.
41868 (__ctype_tolower_loc): Likewise.
41869 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41870 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41871
7872cfb0
AS
418722011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41873
b468825a
AS
41874 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41875
7872cfb0
AS
41876 * configure.in: Also look in $cxxmachine/include for C++ system
41877 headers.
41878
be13f7bf
LD
418792011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41880
41881 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41882 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41883 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41884 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41885 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41886 (USE_AS_WMEMCMP): New macro.
41887 Fixing indents.
41888 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41889 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41890 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41891 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41892 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41893 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41894 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41895 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41896 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41897 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41898 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41899 (USE_AS_WMEMCMP): New macro.
41900 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41901 * sysdeps/string/test-memcmp.c: Update.
41902 Fix simple_wmemcmp.
41903 Add new tests.
41904 * wcsmbs/wmemcmp.c: Update.
41905 (WMEMCMP): New macro.
41906 Fix overflow bug.
41907
556a2007
AJ
419082011-10-12 Andreas Jaeger <aj@suse.de>
41909
41910 [BZ #13268]
41911 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41912
538faaa7
UD
419132011-10-15 Ulrich Drepper <drepper@gmail.com>
41914
ab6737ff
UD
41915 * libio/iofwide.c (do_length): Avoid warning.
41916
538faaa7
UD
41917 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41918
396a21b1
UD
419192011-10-14 Ulrich Drepper <drepper@gmail.com>
41920
cdf2901f
UD
41921 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41922
38ad40ce
UD
41923 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41924 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41925 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41926 * sysdeps/i386/i686/fpu/e_log.S: New file.
41927 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41928 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41929
396a21b1
UD
41930 * ctype/ctype.h: Add support for inlined isXXX functions when
41931 compiling C++ code.
41932
6b1f68c9
AS
419332011-10-14 Andreas Schwab <schwab@redhat.com>
41934
349290c0
AS
41935 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41936
6b1f68c9
AS
41937 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41938
f2282d42
RM
419392011-10-13 Roland McGrath <roland@hack.frob.com>
41940
41941 [BZ #13291]
41942 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41943
5298ffa8
AS
419442011-10-13 Andreas Schwab <schwab@redhat.com>
41945
714fad23
AS
41946 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41947 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41948 feraiseexcept.
41949
81dcc7fb
AS
41950 * sysdeps/x86_64/memrchr.S: Check for zero size.
41951
5298ffa8
AS
41952 * string/stratcliff.c: Add memrchr tests.
41953
951fbcec
LD
419542011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41955
41956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41957 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41958 rawmemchr-sse2 rawmemchr-sse2-bsf.
41959 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41960 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41961 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41962 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41963 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41964 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41965 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41966 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41967 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41968 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41969 * string/memrchr.c (MEMRCHR): New macro.
41970
0ac5ae23
UD
419712011-10-12 Ulrich Drepper <drepper@gmail.com>
41972
41973 Add integration with gcc's -ffinite-math-only and optimize wrapper
41974 functions in libm.
41975 * Versions.def: Define GLIBC_2.15 version for libm.
41976 * math/Makefile (headers): Add bits/math-finite.h.
41977 * math/bits/math-finite.h: New file.
41978 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41979 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41980 * math/e_acoshl.c: Add __*_finite alias.
41981 * math/e_acosl.c: Likewise.
41982 * math/e_asinl.c: Likewise.
41983 * math/e_atan2l.c: Likewise.
41984 * math/e_atanhl.c: Likewise.
41985 * math/e_coshl.c: Likewise.
41986 * math/e_exp10.c: Likewise.
41987 * math/e_exp10f.c: Likewise.
41988 * math/e_exp10l.c: Likewise.
41989 * math/e_exp2l.c: Likewise.
41990 * math/e_fmodl.c: Likewise.
41991 * math/e_gammal_r.c: Likewise.
41992 * math/e_hypotl.c: Likewise.
41993 * math/e_j0l.c: Likewise.
41994 * math/e_j1l.c: Likewise.
41995 * math/e_jnl.c: Likewise.
41996 * math/e_lgammal_r.c: Likewise.
41997 * math/e_log10l.c: Likewise.
41998 * math/e_log2l.c: Likewise.
41999 * math/e_logl.c: Likewise.
42000 * math/e_powl.c: Likewise.
42001 * math/e_sinhl.c: Likewise.
42002 * math/e_sqrtl.c: Likewise.
42003 * math/e_scalb.c: Completely rewritten and optimized.
42004 * math/e_scalbf.c: Likewise.
42005 * math/e_scalbl.c: Likewise.
42006 * math/w_acos.c: Likewise.
42007 * math/w_acosf.c: Likewise.
42008 * math/w_acosl.c: Likewise.
42009 * math/w_acosh.c: Likewise.
42010 * math/w_acoshf.c: Likewise.
42011 * math/w_acoshl.c: Likewise.
42012 * math/w_asin.c: Likewise.
42013 * math/w_asinf.c: Likewise.
42014 * math/w_asinl.c: Likewise.
42015 * math/w_atan2.c: Likewise.
42016 * math/w_atan2f.c: Likewise.
42017 * math/w_atan2l.c: Likewise.
42018 * math/w_atanh.c: Likewise.
42019 * math/w_atanhf.c: Likewise.
42020 * math/w_atanhl.c: Likewise.
42021 * math/w_exp10.c: Likewise.
42022 * math/w_exp10f.c: Likewise.
42023 * math/w_exp10l.c: Likewise.
42024 * math/w_fmod.c: Likewise.
42025 * math/w_fmodf.c: Likewise.
42026 * math/w_fmodl.c: Likewise.
42027 * math/w_j0.c: Likewise.
42028 * math/w_j0f.c: Likewise.
42029 * math/w_j0l.c: Likewise.
42030 * math/w_j1.c: Likewise.
42031 * math/w_j1f.c: Likewise.
42032 * math/w_j1l.c: Likewise.
42033 * math/w_jn.c: Likewise.
42034 * math/w_jnf.c: Likewise.
42035 * math/w_log.c: Likewise.
42036 * math/w_logf.c: Likewise.
42037 * math/w_logl.c: Likewise.
42038 * math/w_log10.c: Likewise.
42039 * math/w_log10f.c: Likewise.
42040 * math/w_log10l.c: Likewise.
42041 * math/w_log2.c: Likewise.
42042 * math/w_log2f.c: Likewise.
42043 * math/w_log2l.c: Likewise.
42044 * math/w_pow.c: Likewise.
42045 * math/w_powf.c: Likewise.
42046 * math/w_powl.c: Likewise.
42047 * math/w_remainder.c: Likewise.
42048 * math/w_remainderf.c: Likewise.
42049 * math/w_remainderl.c: Likewise.
42050 * math/w_scalb.c: Likewise.
42051 * math/w_scalbf.c: Likewise.
42052 * math/w_scalbl.c: Likewise.
42053 * math/w_sqrt.c: Likewise.
42054 * math/w_sqrtf.c: Likewise.
42055 * math/w_sqrtl.c: Likewise.
42056 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42057 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
42058 used.
42059 * math/math_private.h: Declare __kernel_standard_f.
42060 * math/w_cosh.c: Remove cruft and optimize a bit.
42061 * math/w_coshf.c: Likewise.
42062 * math/w_coshl.c: Likewise.
42063 * math/w_exp2.c: Likewise.
42064 * math/w_exp2f.c: Likewise.
42065 * math/w_exp2l.c: Likewise.
42066 * math/w_hypot.c: Likewise.
42067 * math/w_hypotf.c: Likewise.
42068 * math/w_hypotl.c: Likewise.
42069 * math/w_lgamma.c: Likewise.
42070 * math/w_lgamma_r.c: Likewise.
42071 * math/w_lgammaf.c: Likewise.
42072 * math/w_lgammaf_r.c: Likewise.
42073 * math/w_lgammal.c: Likewise.
42074 * math/w_lgammal_r.c: Likewise.
42075 * math/w_sinh.c: Likewise.
42076 * math/w_sinhf.c: Likewise.
42077 * math/w_sinhl.c: Likewise.
42078 * math/w_tgamma.c: Likewise.
42079 * math/w_tgammaf.c: Likewise.
42080 * math/w_tgammal.c: Likewise.
42081 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42082 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42083 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42084 Minor optimizations. Pretty printing. Remove cruft.
42085 * sysdeps/i386/fpu/e_acosf.S: Likewise.
42086 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42087 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42088 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42089 * sysdeps/i386/fpu/e_acosl.c: Likewise.
42090 * sysdeps/i386/fpu/e_asin.S: Likewise.
42091 * sysdeps/i386/fpu/e_asinf.S: Likewise.
42092 * sysdeps/i386/fpu/e_atan2.S: Likewise.
42093 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42094 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42095 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42096 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42097 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42098 * sysdeps/i386/fpu/e_exp10.S: Likewise.
42099 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42100 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42101 * sysdeps/i386/fpu/e_exp2.S: Likewise.
42102 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42103 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42104 * sysdeps/i386/fpu/e_fmod.S: Likewise.
42105 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42106 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42107 * sysdeps/i386/fpu/e_hypot.S: Likewise.
42108 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42109 * sysdeps/i386/fpu/e_log.S: Likewise.
42110 * sysdeps/i386/fpu/e_log10.S: Likewise.
42111 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42112 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42113 * sysdeps/i386/fpu/e_log2.S: Likewise.
42114 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42115 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42116 * sysdeps/i386/fpu/e_logf.S: Likewise.
42117 * sysdeps/i386/fpu/e_logl.S: Likewise.
42118 * sysdeps/i386/fpu/e_pow.S: Likewise.
42119 * sysdeps/i386/fpu/e_powf.S: Likewise.
42120 * sysdeps/i386/fpu/e_powl.S: Likewise.
42121 * sysdeps/i386/fpu/e_remainder.S: Likewise.
42122 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42123 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42124 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42125 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42126 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42127 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42128 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42129 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42130 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42131 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42133 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42134 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42135 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42143 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42144 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42146 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42147 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42148 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42150 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42151 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42152 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42153 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42154 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42155 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42156 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42157 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42158 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42159 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42160 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42161 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42162 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42163 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42164 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42165 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42166 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42167 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42168 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42169 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42170 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42171 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42172 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42173 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42174 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42175 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42176 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42177 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42178 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42179 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42180 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42181 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42182 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42183 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42184 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42185 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42186 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42187 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42188 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42189 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42190 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42191 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42192 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42193 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42194 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42195 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42196 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42197 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42198 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42199 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42200 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42201 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42202 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42203 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42204 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42206 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42207 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42208 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42209 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42210 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42211 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42212 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42213 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42214 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42215 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42216 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42217 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42218 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42219 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42220 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42221 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42222 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42223 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42224 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42225 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42226 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42227 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42228 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42229 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42230 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42231 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42232 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42233 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42234 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42235 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42236 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42238 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42239 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42240 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
42241 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42242 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42243 (__isnanf): Likewise.
42244 (__isinf_ns): Likewise.
42245 (__isinf_nsf): Likewise.
42246 (__finite): Likewise.
42247 (__finitef): Likewise.
42248 (__ieee754_sqrt): Define as macro.
42249 (__ieee754_sqrtf): Define as macro.
42250 (__ieee754_sqrtl): Define as macro.
42251 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42252 inlined copy.
42253 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42254 __FINITE_MATH_ONLY__ consistent.
42255 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42256
12cc2fcd
AS
422572011-10-10 Andreas Schwab <schwab@linux-m68k.org>
42258
a843a204
AS
42259 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
42260 of rawmemchr.
42261
12cc2fcd
AS
42262 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
42263
c853acd5
UD
422642011-10-09 Ulrich Drepper <drepper@gmail.com>
42265
42266 * po/ja.po: Update from translation team.
42267
c658d255
RM
422682011-10-08 Roland McGrath <roland@hack.frob.com>
42269
110946e4
RM
42270 * locale/programs/locarchive.c (prepare_address_space): New function.
42271 (create_archive, enlarge_archive, open_archive): Use it.
42272
50604220
RM
42273 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
42274 inside [SHARED], where it is used.
42275
c658d255
RM
42276 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
42277
42278 * nss/getent.c (netgroup_keys): Remove unused variable.
42279 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42280
6a621eb7
UD
422812011-10-08 Ulrich Drepper <drepper@gmail.com>
42282
7edb55ce
UD
42283 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
42284 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
42285 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
42286 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
42287 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
42288 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
42289 * math/Makefile (libm-calls): Add s_isinf_ns.
42290 * math/divtc3.c: Use __isinf_nsl instead of isinf.
42291 * math/multc3.c: Likewise.
42292 * math/s_casin.c: Likewise.
42293 * math/s_casinf.c: Likewise.
42294 * math/s_casinl.c: Likewise.
42295 * math/s_ccos.c: Likewise.
42296 * math/s_ccosf.c: Likewise.
42297 * math/s_ccosl.c: Likewise.
42298 * math/s_ctan.c: Likewise.
42299 * math/s_ctanf.c: Likewise.
42300 * math/s_ctanh.c: Likewise.
42301 * math/s_ctanhf.c: Likewise.
42302 * math/s_ctanhl.c: Likewise.
42303 * math/s_ctanl.c: Likewise.
42304 * math/w_fmod.c: Likewise.
42305 * math/w_fmodf.c: Likewise.
42306 * math/w_fmodl.c: Likewise.
42307 * math/w_remainder.c: Likewise.
42308 * math/w_remainderf.c: Likewise.
42309 * math/w_remainderl.c: Likewise.
42310 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
42311 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
42312 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
42313 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
42314 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
42315 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
42316 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
42317 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
42318
187da0ae
UD
42319 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
42320 of the number.
42321 * stdio-common/printf_fphex.c: Likewise.
42322 * stdio-common/printf_size.c: Likewise.
42323
9277c064
UD
42324 * math/e_exp10.c: Include math_private.h using <...> not "...".
42325 * math/e_exp10f.c: Likewise.
42326 * math/e_exp10l.c: Likewise.
42327 * math/e_exp2l.c: Likewise.
42328 * math/e_j0l.c: Likewise.
42329 * math/e_j1l.c: Likewise.
42330 * math/e_jnl.c: Likewise.
42331 * math/e_lgammal_r.c: Likewise.
42332 * math/e_rem_pio2l.c: Likewise.
42333 * math/e_scalb.c: Likewise.
42334 * math/e_scalbf.c: Likewise.
42335 * math/e_scalbl.c: Likewise.
42336 * math/k_cosl.c: Likewise.
42337 * math/k_sinl.c: Likewise.
42338 * math/k_tanl.c: Likewise.
42339 * math/s_cacoshf.c: Likewise.
42340 * math/s_catan.c: Likewise.
42341 * math/s_catanf.c: Likewise.
42342 * math/s_catanh.c: Likewise.
42343 * math/s_catanhf.c: Likewise.
42344 * math/s_catanhl.c: Likewise.
42345 * math/s_catanl.c: Likewise.
42346 * math/s_ccosh.c: Likewise.
42347 * math/s_ccoshf.c: Likewise.
42348 * math/s_ccoshl.c: Likewise.
42349 * math/s_cexp.c: Likewise.
42350 * math/s_cexpf.c: Likewise.
42351 * math/s_cexpl.c: Likewise.
42352 * math/s_clog.c: Likewise.
42353 * math/s_clog10.c: Likewise.
42354 * math/s_clog10f.c: Likewise.
42355 * math/s_clog10l.c: Likewise.
42356 * math/s_clogf.c: Likewise.
42357 * math/s_clogl.c: Likewise.
42358 * math/s_csin.c: Likewise.
42359 * math/s_csinf.c: Likewise.
42360 * math/s_csinh.c: Likewise.
42361 * math/s_csinhf.c: Likewise.
42362 * math/s_csinhl.c: Likewise.
42363 * math/s_csinl.c: Likewise.
42364 * math/s_csqrt.c: Likewise.
42365 * math/s_csqrtf.c: Likewise.
42366 * math/s_csqrtl.c: Likewise.
42367 * math/s_ctan.c: Likewise.
42368 * math/s_ctanf.c: Likewise.
42369 * math/s_ctanh.c: Likewise.
42370 * math/s_ctanhf.c: Likewise.
42371 * math/s_ctanhl.c: Likewise.
42372 * math/s_ctanl.c: Likewise.
42373 * math/s_ldexp.c: Likewise.
42374 * math/s_ldexpf.c: Likewise.
42375 * math/s_ldexpl.c: Likewise.
42376 * math/s_significand.c: Likewise.
42377 * math/s_significandf.c: Likewise.
42378 * math/s_significandl.c: Likewise.
42379 * math/w_acos.c: Likewise.
42380 * math/w_acosf.c: Likewise.
42381 * math/w_acosh.c: Likewise.
42382 * math/w_acoshf.c: Likewise.
42383 * math/w_acoshl.c: Likewise.
42384 * math/w_acosl.c: Likewise.
42385 * math/w_asin.c: Likewise.
42386 * math/w_asinf.c: Likewise.
42387 * math/w_asinl.c: Likewise.
42388 * math/w_atan2.c: Likewise.
42389 * math/w_atan2f.c: Likewise.
42390 * math/w_atan2l.c: Likewise.
42391 * math/w_atanh.c: Likewise.
42392 * math/w_atanhf.c: Likewise.
42393 * math/w_atanhl.c: Likewise.
42394 * math/w_cosh.c: Likewise.
42395 * math/w_coshf.c: Likewise.
42396 * math/w_coshl.c: Likewise.
42397 * math/w_dremf.c: Likewise.
42398 * math/w_exp10.c: Likewise.
42399 * math/w_exp10f.c: Likewise.
42400 * math/w_exp10l.c: Likewise.
42401 * math/w_exp2.c: Likewise.
42402 * math/w_exp2f.c: Likewise.
42403 * math/w_fmod.c: Likewise.
42404 * math/w_fmodf.c: Likewise.
42405 * math/w_fmodl.c: Likewise.
42406 * math/w_hypot.c: Likewise.
42407 * math/w_hypotf.c: Likewise.
42408 * math/w_hypotl.c: Likewise.
42409 * math/w_j0.c: Likewise.
42410 * math/w_j0f.c: Likewise.
42411 * math/w_j0l.c: Likewise.
42412 * math/w_j1.c: Likewise.
42413 * math/w_j1f.c: Likewise.
42414 * math/w_j1l.c: Likewise.
42415 * math/w_jn.c: Likewise.
42416 * math/w_jnf.c: Likewise.
42417 * math/w_jnl.c: Likewise.
42418 * math/w_lgamma.c: Likewise.
42419 * math/w_lgamma_r.c: Likewise.
42420 * math/w_lgammaf.c: Likewise.
42421 * math/w_lgammaf_r.c: Likewise.
42422 * math/w_lgammal.c: Likewise.
42423 * math/w_lgammal_r.c: Likewise.
42424 * math/w_log.c: Likewise.
42425 * math/w_log10.c: Likewise.
42426 * math/w_log10f.c: Likewise.
42427 * math/w_log10l.c: Likewise.
42428 * math/w_log2.c: Likewise.
42429 * math/w_log2f.c: Likewise.
42430 * math/w_log2l.c: Likewise.
42431 * math/w_logf.c: Likewise.
42432 * math/w_logl.c: Likewise.
42433 * math/w_pow.c: Likewise.
42434 * math/w_powf.c: Likewise.
42435 * math/w_powl.c: Likewise.
42436 * math/w_remainder.c: Likewise.
42437 * math/w_remainderf.c: Likewise.
42438 * math/w_remainderl.c: Likewise.
42439 * math/w_scalb.c: Likewise.
42440 * math/w_scalbf.c: Likewise.
42441 * math/w_scalbl.c: Likewise.
42442 * math/w_sinh.c: Likewise.
42443 * math/w_sinhf.c: Likewise.
42444 * math/w_sinhl.c: Likewise.
42445 * math/w_sqrt.c: Likewise.
42446 * math/w_sqrtf.c: Likewise.
42447 * math/w_sqrtl.c: Likewise.
42448 * math/w_tgamma.c: Likewise.
42449 * math/w_tgammaf.c: Likewise.
42450 * math/w_tgammal.c: Likewise.
42451
6a621eb7
UD
42452 * po/ja.po: Update from translation team.
42453
bf582445
AJ
424542011-09-29 Andreas Jaeger <aj@suse.de>
42455
f9efbf3a
AJ
42456 [BZ #13179]
42457 * sunrpc/netname.c (netname2host): Fix logic.
42458
bf582445
AJ
42459 [BZ #6779]
42460 [BZ #6783]
42461 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42462 correctly.
42463 * math/w_remainder.c (__remainder): Likewise.
42464 * math/w_remainderf.c (__remainderf): Likewise.
42465 * math/libm-test.inc (remainder_test): Add test cases.
42466
48693bea
AK
424672011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42468
42469 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
42470 sdiv_qrnnd.
42471
42622229
LD
424722011-10-07 Ulrich Drepper <drepper@gmail.com>
42473
42474 * string/test-memcmp.c: Avoid unncessary #defines.
42475 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42476
093ecf92
LD
424772011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42478
42479 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42480 Use new sse2 version for core i3 - i7 as it's faster
42481 than sse42 version.
42482 (bit_Prefer_PMINUB_for_stringop): New.
42483 * sysdeps/x86_64/rawmemchr.S: Update.
42484 Replace with faster SSE2 version.
42485 * sysdeps/x86_64/memrchr.S: New file.
42486 * sysdeps/x86_64/memchr.S: Update.
42487 Replace with faster SSE2 version.
42488
fde56e5c
MP
424892011-09-12 Marek Polacek <mpolacek@redhat.com>
42490
42491 * elf/dl-load.c (lose): Add cast to avoid warning.
42492
21fd49a9
UD
424932011-10-07 Ulrich Drepper <drepper@gmail.com>
42494
5a06e643
UD
42495 * po/ca.po: Update from translation team.
42496
684ae515
UD
42497 * inet/getnetgrent_r.c: Hook up nscd.
42498 * nscd/Makefile (routines): Add nscd_netgroup.
42499 (nscd-modules): Add netgroupcache.
42500 (CFLAGS-netgroupcache.c): Define.
42501 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42502 (cache_search): Add const to second parameter.
42503 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42504 INNETGR.
42505 (dbs): Add netgrdb entry.
42506 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42507 (verify_persistent_db): Handle netgrdb.
42508 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42509 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42510 GETFDNETGR.
42511 (netgroup_response_header): Define.
42512 (innetgroup_response_header): Define.
42513 (datahead): Add netgroup_response_header and innetgroup_response_header
42514 elements.
42515 * nscd/nscd.conf: Add entries for netgroup cache.
42516 * nscd/nscd.h (dbtype): Add netgrdb.
42517 (_PATH_NSCD_NETGROUP_DB): Define.
42518 (netgroup_iov_disabled): Declare.
42519 (xmalloc, xcalloc, xrealloc): Move declarations here.
42520 (cache_search): Adjust prototype.
42521 Add netgroup-related prototypes.
42522 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42523 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42524 (__nscd_innetgr): Declare.
42525 * nscd/selinux.c (perms): Use access_vector_t as element type and
42526 add netgroup-related initializers.
42527 * nscd/netgroupcache.c: New file.
42528 * nscd/nscd_netgroup.c: New file.
42529 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42530 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42531 For four parameters use innetgr.
42532 * nss/nss_files/files-init.c: Add definition and callback for netgr.
42533 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42534 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42535 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42536
21fd49a9
UD
42537 * nscd/connections.c (register_traced_file): Don't register file
42538 for disabled databases.
42539
054c0457
UD
425402011-10-06 Ulrich Drepper <drepper@gmail.com>
42541
32b63198
UD
42542 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42543
054c0457
UD
42544 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42545 from tree and freeing node.
42546
64031225
JO
425472011-09-25 Jiri Olsa <jolsa@redhat.com>
42548
42549 * nss/nsswitch.c (__nss_database_lookup): Handle
42550 nss_parse_service_list out of memory case.
42551
0490345c
JO
425522011-09-15 Jiri Olsa <jolsa@redhat.com>
42553
42554 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42555 out of memory case.
42556
3a62d00d
AS
425572011-10-04 Andreas Schwab <schwab@redhat.com>
42558
42559 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42560 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42561 pass it down.
42562 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42563 elf_machine_rela, elf_machine_lazy_rel.
42564 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42565 (ELF_DYNAMIC_DO_REL): Likewise.
42566 (ELF_DYNAMIC_DO_RELA): Likewise.
42567 (ELF_DYNAMIC_RELOCATE): Likewise.
42568 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42569 to ELF_DYNAMIC_DO_REL.
42570 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42571 (dl_main): In trace mode always set __RTLD_NOIFUNC.
42572 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42573 elf_machine_rela.
42574 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42575 skip_ifunc, don't call ifunc function if non-zero.
42576 (elf_machine_rela): Likewise.
42577 (elf_machine_lazy_rel): Likewise.
42578 (elf_machine_lazy_rela): Likewise.
42579 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42580 (elf_machine_lazy_rel): Likewise.
42581 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42582 Likewise.
42583 (elf_machine_lazy_rel): Likewise.
42584 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42585 Likewise.
42586 (elf_machine_lazy_rel): Likewise.
42587 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42588 (elf_machine_lazy_rel): Likewise.
42589 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42590 (elf_machine_lazy_rel): Likewise.
42591 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42592 (elf_machine_lazy_rel): Likewise.
42593 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42594 (elf_machine_lazy_rel): Likewise.
42595 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42596 (elf_machine_lazy_rel): Likewise.
42597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42598 (elf_machine_lazy_rel): Likewise.
42599
68577918
UD
426002011-09-28 Ulrich Drepper <drepper@gmail.com>
42601
42602 * nss/nss_files/files-init.c (_nss_files_init): Use static
42603 initialization for all the *_traced_file variables.
42604
68822d74
AS
426052011-09-28 Andreas Schwab <schwab@redhat.com>
42606
42607 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42608
2056100b
RM
426092011-09-27 Roland McGrath <roland@hack.frob.com>
42610
42611 [BZ #13226]
42612 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42613
32c76b63
AS
426142011-09-27 Andreas Schwab <schwab@redhat.com>
42615
42616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42617 Reread the line before reparsing it.
42618
bf972c9d
AS
426192011-09-26 Andreas Schwab <schwab@redhat.com>
42620
42621 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42622
e057a1b5
JM
426232011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
42624 Maxim Kuvyrkov <maxim@codesourcery.com>
42625 Joseph Myers <joseph@codesourcery.com>
42626
42627 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42628 if needed for __stack_chk_guard.
42629
bc7e1c36
RM
426302011-09-19 Roland McGrath <roland@hack.frob.com>
42631
ecb1482f
RM
42632 * sysdeps/posix/spawni.c (script_execute): Always define it.
42633 It will be optimized away if unused.
42634 (maybe_script_execute): New function.
42635 (__spawni): Call it.
42636
bc7e1c36
RM
42637 * Makerules: Don't include tls.make.
42638 (config-tls): Always set to thread.
42639 * tls.make.c: File removed.
42640
1c3b002b
MF
426412011-09-19 Mike Frysinger <vapier@gentoo.org>
42642
42643 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42644 * config.make.in (CPPFLAGS-config): New substituted variable.
42645
2840865d
UD
426462011-09-15 Ulrich Drepper <drepper@gmail.com>
42647
88738eb6
UD
42648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42649
cbf645a6 42650 [BZ #13192]
2840865d
UD
42651 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42652 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42653
b402e91a
RM
426542011-09-15 Roland McGrath <roland@hack.frob.com>
42655
42656 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42657 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42658 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42659 (CALL_FAIL): Likewise.
42660 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42661 (CALL_FAIL): Macro removed.
42662 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42663
4c1a1f71
UD
426642011-09-15 Ulrich Drepper <drepper@gmail.com>
42665
42666 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42667 for __FINITE_MATH_ONLY__ == 1.
42668
edc121be
AS
426692011-09-15 Andreas Schwab <schwab@redhat.com>
42670
42671 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42672 __ieee754_sqrt instead of sqrt.
42673 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42674 __ieee754_sqrtf instead of sqrtf.
42675 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42676 __floorf instead of floorf.
42677 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42678 __floorf, __truncf instead of floorf, truncf.
42679
cd205654
UD
426802011-09-14 Ulrich Drepper <drepper@gmail.com>
42681
ee4d0315
UD
42682 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42683
cd205654
UD
42684 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42685 __extern_always_inline.
42686 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42687 32-bit.
42688
48b67d71
AS
426892011-09-14 Andreas Schwab <schwab@redhat.com>
42690
42691 * elf/rtld.c (dl_main): Also relocate in dependency order when
42692 doing symbol dependency testing.
42693
1ae12c75
AS
426942011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42695
42696 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42697 Always define `refsym'.
42698
995a80df
AS
426992011-09-13 Andreas Schwab <schwab@redhat.com>
42700
e529793b
AS
42701 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42702 (__FD_ELT): Renamed from __FDELT.
42703 * misc/bits/select2.h (__FD_ELT): Likewise.
42704 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42705 __FD_MASK instead of __FDELT, __FDMASK.
42706 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42707 Likewise.
42708 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42709 Likewise.
42710
52d4fef8
AS
42711 * elf/Makefile (gen-ldd): Fix pattern.
42712
995a80df
AS
42713 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42714 (init_tls): Likewise.
42715
8682f8b0
UD
427162011-09-12 Ulrich Drepper <drepper@gmail.com>
42717
42718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42719
de82006d
AS
427202011-09-12 Andreas Schwab <schwab@redhat.com>
42721
a7c8e6a1
AS
42722 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42723 `struct cmsghdr *' instead of `void *'.
42724 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42725 Likewise.
42726
0f31fe77
AS
427272011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42728
42729 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42730 if non-absolute.
42731 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42732 ldd_rewrite_script.
0f31fe77 42733
32b4c839
UD
427342011-09-11 Ulrich Drepper <drepper@gmail.com>
42735
83cd1420
UD
42736 * configure.in: Remove --with-tls option.
42737 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42738 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42739 out in case it is missing.
42740 * sysdeps/ia64/elf/configure.in: Likewise.
42741 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42742 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42743 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42744 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42745 * sysdeps/sh/elf/configure.in: Likewise.
42746 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42747 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42748 * sysdeps/x86_64/elf/configure.in: Likewise.
42749 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42750 * sysdeps/mach/hurd/tls.h: Likewise.
42751
633f745d
UD
42752 [BZ #13067]
42753 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42754
f318beb8
UD
42755 [BZ #13090]
42756 * configure.in: Fix use of AC_INIT.
42757
32b4c839
UD
42758 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42759
3ce1f295
UD
427602011-09-10 Ulrich Drepper <drepper@gmail.com>
42761
bb016596
UD
42762 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42763 __set_errno.
8e58439c
UD
42764 * malloc/hooks.c: Likewise.
42765
aebae053 42766 [BZ #11929]
02d46fc4
UD
42767 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42768 variables statically.
42769 (narenas): Initialize.
42770 (list_lock): Initialize.
bb016596
UD
42771 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42772 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
42773 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42774 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42775 Add initializers to main_arena and mp_.
42776 (malloc_state): Remove pagesize member. Change all users to use
42777 GLRO(dl_pagesize).
42778
42779 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42780 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42781 is always initialized.
42782
22a89187
UD
42783 * malloc/malloc.c: Removed unused configurations and dead code.
42784 * malloc/arena.c: Likewise.
42785 * malloc/hooks.c: Likewise.
02d46fc4 42786 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 42787
d063d164
UD
42788 * include/tls.h: Removed. USE___THREAD must always be defined.
42789 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42790 * elf/dl-libc.c: Likewise.
42791 * elf/dl-tsd.c: Likewise.
42792 * include/errno.h: Likewise.
42793 * include/netdb.h: Likewise.
42794 * include/resolv.h: Likewise.
42795 * inet/herrno-loc.c: Likewise.
42796 * inet/herrno.c: Likewise.
42797 * malloc/arena.c: Likewise.
42798 * malloc/hooks.c: Likewise.
42799 * malloc/malloc.c: Likewise.
42800 * resolv/res-state.c: Likewise.
42801 * resolv/res_libc.c: Likewise.
42802 * sysdeps/i386/dl-machine.h: Likewise.
42803 * sysdeps/ia64/dl-machine.h: Likewise.
42804 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42805 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42806 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42807 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42808 * sysdeps/sh/dl-machine.h: Likewise.
42809 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42810 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42811 * sysdeps/unix/i386/sysdep.S: Likewise.
42812 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42813 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42814 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42815 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42816 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42817 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42818 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42819 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42822 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42823 * sysdeps/x86_64/dl-machine.h: Likewise.
42824 * tls.make.c: Likewise.
42825
3ce1f295
UD
42826 * configure.in: Remove --with-__thread option. Make tests for
42827 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42828 tls_model attribute fail if no support is available. Remove
42829 USE_IN_LIBIO.
42830 * Makeconfig: Adjust for dropped configure option. All features are
42831 now mandatory.
42832 * Makerules: Likewise.
42833 * Versions.def: Likewise.
42834 * argp/argp-fmtstream.c: Likewise.
42835 * argp/argp-fmtstream.h: Likewise.
42836 * argp/argp-help.c: Likewise.
42837 * assert/assert.c: Likewise.
42838 * config.h.in: Likewise.
42839 * config.make.in: Likewise.
42840 * configure: Likewise.
42841 * configure.in: Likewise.
42842 * csu/Versions: Likewise.
42843 * csu/init.c: Likewise.
42844 * elf/tst-audit2.c: Likewise.
42845 * elf/tst-tls10.c: Likewise.
42846 * elf/tst-tls10.h: Likewise.
42847 * elf/tst-tls11.c: Likewise.
42848 * elf/tst-tls12.c: Likewise.
42849 * elf/tst-tls14.c: Likewise.
42850 * elf/tst-tlsmod11.c: Likewise.
42851 * elf/tst-tlsmod12.c: Likewise.
42852 * elf/tst-tlsmod13.c: Likewise.
42853 * elf/tst-tlsmod13a.c: Likewise.
42854 * elf/tst-tlsmod14a.c: Likewise.
42855 * elf/tst-tlsmod15b.c: Likewise.
42856 * elf/tst-tlsmod16a.c: Likewise.
42857 * elf/tst-tlsmod16b.c: Likewise.
42858 * elf/tst-tlsmod7.c: Likewise.
42859 * elf/tst-tlsmod8.c: Likewise.
42860 * elf/tst-tlsmod9.c: Likewise.
42861 * gmon/gmon.c: Likewise.
42862 * grp/fgetgrent_r.c: Likewise.
42863 * grp/putgrent.c: Likewise.
42864 * hurd/fopenport.c: Likewise.
42865 * include/libc-symbols.h: Likewise.
42866 * include/tls.h: Likewise.
42867 * intl/gettextP.h: Likewise.
42868 * intl/loadinfo.h: Likewise.
42869 * locale/global-locale.c: Likewise.
42870 * locale/localeinfo.h: Likewise.
42871 * mach/devstream.c: Likewise.
42872 * malloc/arena.c: Likewise.
42873 * malloc/set-freeres.c: Likewise.
42874 * misc/err.c: Likewise.
42875 * misc/getttyent.c: Likewise.
42876 * misc/mntent_r.c: Likewise.
42877 * posix/getopt.c: Likewise.
42878 * posix/wordexp.c: Likewise.
42879 * pwd/fgetpwent_r.c: Likewise.
42880 * resolv/Versions: Likewise.
42881 * resolv/res_hconf.c: Likewise.
42882 * shadow/fgetspent_r.c: Likewise.
42883 * shadow/putspent.c: Likewise.
42884 * stdio-common/printf_fphex.c: Likewise.
42885 * stdio-common/tmpfile.c: Likewise.
42886 * stdlib/abort.c: Likewise.
42887 * stdlib/fmtmsg.c: Likewise.
42888 * sunrpc/auth_unix.c: Likewise.
42889 * sunrpc/clnt_perr.c: Likewise.
42890 * sunrpc/clnt_tcp.c: Likewise.
42891 * sunrpc/clnt_udp.c: Likewise.
42892 * sunrpc/clnt_unix.c: Likewise.
42893 * sunrpc/openchild.c: Likewise.
42894 * sunrpc/svc_simple.c: Likewise.
42895 * sunrpc/svc_tcp.c: Likewise.
42896 * sunrpc/svc_udp.c: Likewise.
42897 * sunrpc/svc_unix.c: Likewise.
42898 * sunrpc/xdr.c: Likewise.
42899 * sunrpc/xdr_array.c: Likewise.
42900 * sunrpc/xdr_rec.c: Likewise.
42901 * sunrpc/xdr_ref.c: Likewise.
42902 * sunrpc/xdr_stdio.c: Likewise.
42903
1248c1c4
PB
429042011-09-09 Ulrich Drepper <drepper@gmail.com>
42905
42906 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42907
429082011-07-03 Andreas Jaeger <aj@suse.de>
42909
42910 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42911 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42912 regenerate with gen-libm-tests.pl.
42913
429142010-05-12 Petr Baudis <pasky@suse.cz>
42915
42916 [BZ #11589]
42917 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42918 around j0() zero points by switching to j1().
42919 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42920 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42921 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42922 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42923
f22e1074
UD
429242011-09-09 Ulrich Drepper <drepper@gmail.com>
42925
f19009c1
UD
42926 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42927 instead of 0.
42928 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 42929 instead of 0.
f19009c1
UD
42930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42931 Patch in part by Pavel Roskin <proski@gnu.org>.
42932
3f8cc204
UD
42933 [BZ #13138]
42934 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42935 realloc.
42936 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42937 Free memory block if necessary.
42938
f22e1074
UD
42939 [BZ #12847]
42940 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42941 be NULL. Don't lock in this case.
42942
0a2349f9
RM
429432011-09-09 Roland McGrath <roland@hack.frob.com>
42944
42945 * elf/elf.h (ELFOSABI_GNU): New macro.
42946 (ELFOSABI_LINUX): Define to that.
42947
f3cdd467
DZ
429482011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42949
42950 * string/strncat.c (strncat): Undef the symbol in case it has been
42951 defined in bits/string.h.
42952
74718d13
UD
429532011-09-09 Ulrich Drepper <drepper@gmail.com>
42954
633e9e0f
UD
42955 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42956
0a2349f9 42957 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
42958 link map.
42959
f9924780
AJ
429602011-08-17 Andreas Jaeger <aj@suse.de>
42961
42962 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42963
7f5517aa
PP
429642011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42965 Ian Lance Taylor <iant@google.com>
42966
42967 * math/libm-test.inc (lround_test): New testcase.
42968 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42969
762011fe
UD
429702011-09-08 Ulrich Drepper <drepper@gmail.com>
42971
92963737
UD
42972 * Makefile: Remove support for automatic cvs check-ins.
42973 * Makerules: Likewise.
42974 * config.make.in: Likewise.
42975 * configure.in: Likewise.
42976 * intl/Makefile: Likewise.
42977 * locale/Makefile: Likewise.
42978 * po/Makefile: Likewise.
42979 * posix/Makefile: Likewise.
42980 * sysdeps/gnu/Makefile: Likewise.
42981 * sysdeps/mach/hurd/Makefile: Likewise.
42982 * sysdeps/sparc/sparc32/Makefile: Likewise.
42983
b0727fd8
JS
42984 [BZ #13118]
42985 * posix/Makefile (bug-regex32-ENV): Define.
42986 Patch by John Stanley <jpsinthemix@verizon.net>.
42987
a0f33f99
UD
42988 * misc/Makefile (headers): Add bits/select2.h.
42989 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42990 * misc/bits/select2.h: New file.
42991 * include/bits/select2.h: New file.
42992 * debug/Makefile (routines): Add fdelt_chk.
42993 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42994 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42995 FD_ISSET.
42996 * debug/fdelt_chk.c: New file.
42997
762011fe
UD
42998 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42999 * wcsmbs/test-wmemcmp.c: Likewise.
43000 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 43001 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
43002
430032011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43004
43005 * string/Makefile (strop-tests): Add memcmp.
43006 * string/test-wmemcmp.c: New file.
43007 * string/test-memcmp.c: Add wmemcmp support.
43008
7f513ec8
RM
430092011-09-08 Roland McGrath <roland@hack.frob.com>
43010
0442afb4
RM
43011 [BZ #13153]
43012 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43013 2011-07-19 change.
43014
7f513ec8
RM
43015 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43016 garbage value in a __mach_port_mod_refs call in the cases of the
43017 task-self and thread-self ports.
43018
a12b2239
ST
430192011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43020
43021 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43022
610f9ab4
AS
430232011-09-08 Andreas Schwab <schwab@redhat.com>
43024
7f513ec8 43025 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 43026
48882a1a
LD
430272011-09-07 Ulrich Drepper <drepper@gmail.com>
43028
b49865be
UD
43029 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43030
fdc86bc9
UD
43031 * elf/dl-libc.c (dlerror_run): Pass back error code from
43032 dl_catch_error.
43033
c966526a
UD
43034 [BZ #13123]
43035 * elf/dl-load.c (lose): Free l_origin if it is valid.
43036
48882a1a
LD
43037 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43038 names.
43039 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43040 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43041 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43042 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43043 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43044 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43045
77a2a8b4
AZ
430462011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43047
43048 * sysdeps/powerpc/fpu/e_hypot.c: New file.
43049 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43050 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43051 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43052 * sysdeps/powerpc/fpu/k_cosf.c: New file.
43053 * sysdeps/powerpc/fpu/k_sinf.c: New file.
43054 * sysdeps/powerpc/fpu/s_cosf.c: New file.
43055 * sysdeps/powerpc/fpu/s_sinf.c: New file.
43056 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43057 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43058
24f579d8
AM
430592011-08-15 Alan Modra <amodra@gmail.com>
43060
43061 [BZ #13092]
43062 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43063 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43064 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
43065 ppc_mcount to static-only-routines.
43066 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43067 __mcount_internal.
43068 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43069 __mcount_internal with usual JUMPTARGET. Remove useless nop.
43070
3d4837df
UD
430712011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
43072
43073 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43074 for finite and infinity parameters.
43075
22700377
WS
430762011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
43077
43078 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43079 and add nop instructions for throughput optimization.
43080 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43081
5025581e
WS
430822011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
43083
43084 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43085 aligned copy for power7 with vector-scalar instructions.
43086 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43087
08a300c9
L
430882011-07-24 H.J. Lu <hongjiu.lu@intel.com>
43089
43090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43091 AVX check.
43092
59178ef9
AS
430932011-09-07 Andreas Schwab <schwab@redhat.com>
43094
43095 [BZ #13144]
43096 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43097 last change.
43098
e38ba7ab
UD
430992011-09-07 Ulrich Drepper <drepper@gmail.com>
43100
43101 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43102 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43103 syscall wrapper around clock_gettime in __vdso_clock_gettime.
43104 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43105 clock_gettime.
43106
d53a73ac
UD
431072011-09-06 Ulrich Drepper <drepper@gmail.com>
43108
fc8bffcc
UD
43109 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43110 Forgot to demangle the pointer.
43111
ceaa0c5d
UD
43112 * sysdeps/i386/sysdep.h: Define atom_text_section.
43113 * sysdeps/x86_64/sysdep.h: Likewise.
43114 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43115 section with atom_text_section.
43116 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43117 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43118 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43119 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43120 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43121
a77d3c17
UD
43122 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43123 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43124 already be defined. Change to take two parameters and don't assign
43125 result to variable. Adjust all users.
43126 Define INTERNAL_GETTIME if not already defined.
43127 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43128 call.
43129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43130 HAVE_CLOCK_GETTIME_VSYSCALL.
43131 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43132
d53a73ac
UD
43133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43134 gettimeofday vsyscall, just use time.
43135
a8f84144
AS
431362011-09-06 Andreas Schwab <schwab@redhat.com>
43137
43138 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43139 <errno.h>.
43140
ef606249
UD
431412011-09-06 Ulrich Drepper <drepper@gmail.com>
43142
43143 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43144 syscall on x86-64.
43145 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43146 syscall.
43147 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43148 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43149 syscall if possible.
43150
6585cb60
UD
431512011-09-05 Ulrich Drepper <drepper@gmail.com>
43152
43153 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43154 e_ident. Don't pass to find_mapsXX.
43155 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43156
a5f524e4
LD
431572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43158
43159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43160 strchr-sse2-no-bsf strrchr-sse2-no-bsf
43161 * sysdeps/x86_64/multiarch/strchr.S: Update.
43162 Check bit_slow_BSF bit.
43163 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43164 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43165 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43166
554881ef
UD
431672011-09-05 Ulrich Drepper <drepper@gmail.com>
43168
d96de963
UD
43169 [BZ #13134]
43170 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43171 before glibc 2.15.
43172 (tryshell): Define.
43173 (__spawni): Change last parameter to be flag. Test
43174 SPAWN_XFLAGS_USE_PATH flag to use path or not.
43175 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43176 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43177 * posix/spawni.c: Likewise.
43178 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43179 * posix/spawnp.c: Likewise. Change normal version to use
43180 SPAWN_XFLAGS_USE_PATH.
43181 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43182 SPAWN_XFLAGS_TRY_SHELL.
43183
d48e5868
UD
43184 [BZ #13150]
43185 * posix/glob.h: Remove gcc 1.x support.
43186
554881ef
UD
43187 [BZ #13068]
43188 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43189
693fb948
LD
431902011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43191
43192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43193 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43194 strrchr-sse2-bsf
43195 * sysdeps/i386/i686/multiarch/strchr.S: New file.
43196 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43197 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43198 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43199 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43200 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43201
1b48c537
UD
432022011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43203
49d42c37
UD
43204 * sysdeps/x86_64/wcscmp.S: New file.
43205
1b48c537
UD
43206 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43207 wcscmp-c wcscmp-sse2
43208 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43209 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43210 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43211 * wcsmbs/wcscmp.c: Allow renaming.
43212
15c95c5d
DM
432132011-09-05 David S. Miller <davem@davemloft.net>
43214
43215 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43216 stack slot, rather than the struct return pointer slot.
43217 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43218 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43220 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43221
2f0ad8f3
UD
432222011-09-05 Ulrich Drepper <drepper@gmail.com>
43223
d88ae418
UD
43224 * po/ja.po: Update from translation team.
43225
2f0ad8f3
UD
43226 [BZ #13144]
43227 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43228 kernel in 64-bit binaries.
43229
5f4318d1
DM
432302011-09-01 David S. Miller <davem@davemloft.net>
43231
43232 * elf/elf.h (HWCAP_SPARC_*): Move to..
43233 * sysdeps/sparc/sysdep.h: this new file and add new values.
43234 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43235 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43236 _DL_HWCAP_COUNT to 24.
43237 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43238 entries.
43239 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43240 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43241 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43243 instead of magic constants.
43244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43245
3ba57516
DM
432462011-08-31 David S. Miller <davem@davemloft.net>
43247
43248 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43249 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43250 Reimplement to do errno handling inline.
43251 (SYSCALL_ERROR_HANDLER): New macro.
43252 (__SYSCALL_STRING): Do not do errno handling in asm.
43253 (__CLONE_SYSCALL_STRING): Delete.
43254 (__INTERNAL_SYSCALL_STRING): Delete.
43255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43256 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43257 (PSEUDO): Reimplement to do errno handling inline.
43258 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
43259 (SYSCALL_ERROR_HANDLER): New macro.
43260 (__SYSCALL_STRING): Do not do errno handling in asm.
43261 (__CLONE_SYSCALL_STRING): Delete.
43262 (__INTERNAL_SYSCALL_STRING): Delete.
43263 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
43264 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
43265 i386.
43266 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
43267 (inline_syscall*): Add 'err' argument.
43268 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
43269 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
43270 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
43271 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
43272
43273 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
43274 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43275
2bc17433
AS
432762011-08-30 Andreas Schwab <schwab@redhat.com>
43277
43278 * elf/rtld.c (dl_main): Relocate objects in dependency order.
43279
fbeb5f4d
JO
432802011-08-29 Jiri Olsa <jolsa@redhat.com>
43281
43282 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
43283 directive.
43284
ad69cc26
DM
432852011-08-24 David S. Miller <davem@davemloft.net>
43286
43287 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
43288
39dd69df
AS
432892011-08-24 Andreas Schwab <schwab@redhat.com>
43290
43291 * elf/Makefile: Add rules to build and run unload8 test.
43292 * elf/unload8.c: New file.
43293 * elf/unload8mod1.c: New file.
43294 * elf/unload8mod1x.c: New file.
43295 * elf/unload8mod2.c: New file.
43296 * elf/unload8mod3.c: New file.
43297
43298 * elf/dl-close.c (_dl_close_worker): Reset private search list if
43299 it wasn't used.
43300
2c0b250a
DM
433012011-08-23 David S. Miller <davem@davemloft.net>
43302
43303 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
43304 subtract stack bias.
43305 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
43306 %sp not %fp in calculations.
43307 (_JMPBUF_UNWINDS_ADJ): Likewise.
43308
22044b48
DM
43309 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
43310 (aio_suspend): Call it to force an exception region around the
43311 AIO_MISC_WAIT() invocation.
43312
2cae4995
AS
433132011-08-23 Andreas Schwab <schwab@redhat.com>
43314
43315 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
43316 backslash.
43317
873a772e
AJ
433182011-07-04 Aurelien Jarno <aurelien@aurel32.net>
43319
43320 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
43321 protection macro.
43322 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
43323 and <dl-machine.h>.
43324 (Elf64_FuncDesc): Remove.
43325
25ad0df1
DM
433262011-08-22 David S. Miller <davem@davemloft.net>
43327
43328 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
43329 sigaltstack check, add missing cfi directives.
43330 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
43331 missing cfi directives, and sigaltstack handling.
43332
e888bcbe
AS
433332011-08-16 Andreas Schwab <schwab@redhat.com>
43334
43335 [BZ #11724]
43336 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
43337 object is seen twice.
43338 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43339
43340 * elf/Makefile (distribute): Add tst-initorder2.c.
43341 (tests): Add tst-initorder2.
43342 (modules-names): Add tst-initorder2a tst-initorder2b
43343 tst-initorder2c tst-initorder2d. Add rules to build them.
43344 ($(objpfx)tst-initorder2.out): New rule.
43345 * elf/tst-initorder2.c: New file.
43346 * elf/tst-initorder2.exp: New file.
43347
87162f46
AS
433482011-08-22 Andreas Schwab <schwab@redhat.com>
43349
70538b7f
AS
43350 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
43351
f55ffe58
AS
43352 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
43353 dependencies back to end of function.
43354
87162f46
AS
43355 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43356 $(elfobjdir)/ld.so.
43357
91b392a4
UD
433582011-08-21 Ulrich Drepper <drepper@gmail.com>
43359
43360 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
43361 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
43362 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
43363 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
43364 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
43365 of __vdso_gettimeofday.
43366 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
43367 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
43368 attribute_hidden.
43369 (_libc_vdso_platform_setup): Remove initialization of
43370 __vdso_gettimeofday and __vdso_time.
43371
5c43483f
UD
433722011-08-20 Ulrich Drepper <drepper@gmail.com>
43373
775a77e7
UD
43374 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
43375 and fgetc_unlocked.
43376 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
43377 getc_unlocked.
89f447ed 43378
49c74ba9
UD
43379 * elf/dl-open.c (add_to_global): Report additions to the global scope
43380 for LD_DEBUG=scopes.
43381 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 43382 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 43383
5c43483f
UD
43384 [BZ #13114]
43385 * stdio-common/Makefile (tests): Add bug24.
43386 * stdio-common/bug24.c: New file.
43387
a101b025
AJ
433882011-08-19 Andreas Jaeger <aj@suse.de>
43389
43390 [BZ #13114]
43391 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
43392 non-existant file when using close-on-exec mode.
43393
c88f1766
UD
433942011-08-20 Ulrich Drepper <drepper@gmail.com>
43395
0276a718
UD
43396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
43397 the very first instruction.
43398
c88f1766
UD
43399 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43400 the CFI state in the end.
43401 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43402 inclusion of dl-trampoline.h.
43403 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43404
51ccffa0
AS
434052011-08-19 Andreas Schwab <schwab@redhat.com>
43406
94d7165f
AS
43407 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43408 expectations for long double.
43409
51ccffa0
AS
43410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43411 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43412
fd708658 434132011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
43414
43415 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43416 artificual limit depends upon the system page size.
43417
44f0a71e
UD
434182011-08-17 Ulrich Drepper <drepper@gmail.com>
43419
43420 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43421 * resolv/Makefile: Define CFLAGS-libresolv.
43422
8de79a24
AS
434232011-08-17 Andreas Schwab <schwab@redhat.com>
43424
43425 * nss/makedb.c (compute_tables): Make variables used in nested
43426 function static.
43427
27724598
UD
434282011-08-17 Ulrich Drepper <drepper@gmail.com>
43429
c5305d88
UD
43430 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43431 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43432 if buffer was too small.
43433
27724598
UD
43434 * elf/pldd.c (main): Attach to all threads in the process.
43435 Rewrite /proc handling to use *at functions.
43436
076fe015
UD
434372011-08-16 Ulrich Drepper <drepper@gmail.com>
43438
174baab3
UD
43439 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43440 specifies first scope to show.
43441 (dl_open_worker): Update callers. Move printing scope of new
43442 object to before the relocation.
44f0a71e 43443 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
43444 * sysdeps/generic/ldsodefs.h: Update declaration.
43445
076fe015
UD
43446 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43447 string for the scope number.
43448
a60df2c3
UD
434492011-08-14 Ulrich Drepper <drepper@gmail.com>
43450
43451 * nscd/servicescache.c (cache_addserv): Make sure written is always
43452 initialized.
43453
5e4287d1
RM
434542011-08-14 Roland McGrath <roland@hack.frob.com>
43455
85ae0589
RM
43456 * sysdeps/i386/i486/bits/atomic.h
43457 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43458 statement expression, so as to suppress "set but not used" warning.
43459 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43460
69f63097
RM
43461 * string/strncat.c (STRNCAT): Use prototype definition.
43462
675456ef
RM
43463 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43464 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43465 -Iprograms here.
43466 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43467 (localedef-modules): Add localedef.
43468 (locale-modules): Add locale.
43469
5e4287d1
RM
43470 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43471 * elf/rtld.c (dl_main): Invert order of assignment in last change,
43472 to avoid a warning.
43473
9c96ff23
DM
434742011-08-14 David S. Miller <davem@davemloft.net>
43475
43476 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43477 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43478
f9ddf089
UD
434792011-08-13 Ulrich Drepper <drepper@gmail.com>
43480
44f0a71e 43481 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
43482 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43483 * elf/rtld.c (dl_main): Set l_name of vDSO.
43484 Call _dl_show_scope when DL_DEBUG_SCOPES.
43485 (process_dl_debug): Recognize scopes flag and also set it for all.
43486 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43487 Declare _dl_show_scope.
43488
1dc27704
UD
43489 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43490 (do_dlopen): Pass caller_dlopen to dl_open.
43491 (__libc_dlopen_mode): Initialize caller_dlopen.
43492
f9ddf089
UD
43493 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43494 of libc. Make tolower call locale-independent. Optimize a bit by
43495 using isdigit instead of isalnum.
43496 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43497
9ac533d3
UD
434982011-08-12 Ulrich Drepper <drepper@gmail.com>
43499
43500 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43501 was a dependency or dynamically loaded.
43502
89edf2e9
UD
435032011-08-11 Ulrich Drepper <drepper@gmail.com>
43504
8e999d29
UD
43505 * intl/l10nflist.c: Allow architecture-specific pop function.
43506 * sysdeps/x86_64/l10nflist.c: New file.
43507
89edf2e9
UD
43508 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43509 classification.
43510
14d96785
AS
435112011-08-10 Andreas Schwab <schwab@redhat.com>
43512
43513 * include/dirent.h: Add libc_hidden_proto for scandirat and
43514 scandirat64. Don't declare __scandirat64.
43515 * dirent/scandirat.c: Add libc_hidden_def.
43516 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43517 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43518
6761ac04
DM
435192011-08-10 David S. Miller <davem@davemloft.net>
43520
43521 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43522 enum.
43523 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43524 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43525 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43526
c55fbd1e
UD
435272011-08-09 Ulrich Drepper <drepper@gmail.com>
43528
43529 * Versions.def [libc]: Add GLIBC_2.15.
43530 * dirent/Makefile (routines): Add scandirat and scandirat64.
43531 * dirent/Versions [libc]: Export scandirat and scandirat64 for
43532 GLIBC_2.15.
43533 * dirent/dirent.h: Declare scandirat and scandirat64.
43534 * dirent/scandirat.c: New file.
43535 * dirent/scandirat64.c: New file.
43536 * sysdeps/wordsize-64/scandirat.c: New file.
43537 * sysdeps/wordsize-64/scandirat64.c: New file.
43538 * dirent/opendir.c: Define opendirat.
43539 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
43540 using scandirat.
43541 * dirent/scandir64.c: Adjust for scandir.c change.
43542 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
43543 __scandirat64, and __scandir_cancel_handler.
43544 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
43545 additional parameter and use openat instead of open (outside of ld.so).
43546 Add new __opendir as wrapper around __opendirat.
43547 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43548 here without requiring old scandirat implementation.
43549
879165f2
UD
435502011-08-08 Ulrich Drepper <drepper@gmail.com>
43551
43552 * dirent/scandir.c (cancel_handler): Renamed to
43553 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
43554 defined. Adjust users.
43555 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43556 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43557
cb7e923b
UD
435582011-08-04 Ulrich Drepper <drepper@gmail.com>
43559
16292edd
UD
43560 * string/test-string.h (IMPL): Use __STRING to expand name and then
43561 stringify it.
43562
cb7e923b
UD
43563 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
43564 of cleanups.
43565
cff82933
LD
435662011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43567
43568 * string/Makefile: Update.
43569 (strop-tests): Append strncat.
43570 * string/test-wcscmp.c: New file.
43571 New comprehensive test for wcscmp.
43572 * string/test-strcmp.c: Update.
43573 (WIDE): New define.
43574
9be9bfcc
AS
435752011-07-22 Andreas Schwab <schwab@redhat.com>
43576
43577 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43578 line.
43579
2e96f1c7
AS
435802011-07-26 Andreas Schwab <schwab@redhat.com>
43581
43582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43583 encoding to ACE if AI_IDN.
43584
85188888
JJ
435852011-08-01 Jakub Jelinek <jakub@redhat.com>
43586
43587 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43588 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43589
5fa16e9b
LD
435902011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43591
43592 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43593 Fix overflow bug in strncat.
43594 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43595
43596 * string/test-strncat.c: Update.
43597 Add new tests for checking overflow bugs.
43598
435992011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43600
43601 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43602 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43603 * sysdeps/i386/i686/multiarch/strcat.S: New file.
43604 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43605 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43606 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43607 * sysdeps/i386/i686/multiarch/strncat.S: New file.
43608 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43609 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43610
43611 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43612 (USE_AS_STRCAT): Define.
43613 Add strcat and strncat support.
43614 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43615
8c1a459f
AS
436162011-07-25 Andreas Schwab <schwab@redhat.com>
43617
43618 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43619 __n bigger than INT_MAX+1.
43620 (__strncmp_g): Likewise.
43621
bba33c28
UD
436222011-07-23 Ulrich Drepper <drepper@gmail.com>
43623
798be72d
UD
43624 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43625 * libio/stido.h: Likewise.
43626
8accd4dc
UD
43627 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43628 (AF_NFC): Define.
43629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43630 (AF_NFC): Define.
43631
cbff0d96
UD
43632 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43633 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43634 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43635 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43636 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43637
9191c04a
UD
43638 [BZ #13021]
43639 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43640 installed.
43641
bba33c28
UD
43642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43643 typo.
43644 (_dl_x86_64_save_sse): Likewise.
43645
90f139dd
UD
436462011-07-22 Ulrich Drepper <drepper@gmail.com>
43647
1aae088a
UD
43648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43649 OSXSAVE.
43650 (_dl_x86_64_save_sse): Likewise.
43651
8e2045f5
UD
43652 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43653
90f139dd
UD
43654 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43655
1d002f25
AS
436562011-07-21 Andreas Schwab <schwab@redhat.com>
43657
43658 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43659 change.
43660 (_dl_x86_64_save_sse): Use correct AVX check.
43661
21137f89
UD
436622011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43663
43664 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43665 bug in strncpy/strncat.
43666 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43667
a65c0b7a
UD
436682011-07-21 Ulrich Drepper <drepper@gmail.com>
43669
43670 * string/tester.c (test_strcat): Add tests for different alignments
43671 of source and destination.
43672 (test_strncat): Likewise.
43673
6986b98a
UD
436742011-07-20 Ulrich Drepper <drepper@gmail.com>
43675
90bb2039
UD
43676 [BZ #12852]
43677 * posix/glob.c (glob): Check passed in values before using them in
43678 expressions to avoid some overflows.
43679 (glob_in_dir): Likewise.
43680
5644ef54
UD
43681 [BZ #13007]
43682 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43683 check for AVX enablement so that we don't crash with old kernels and
43684 new hardware.
43685 * elf/tst-audit4.c: Add same checks here.
43686 * elf/tst-audit6.c: Likewise.
43687
43688 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 43689
bfc9dc9b
AS
436902011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43691
43692 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43693
702e64bb
UD
436942011-07-20 Ulrich Drepper <drepper@gmail.com>
43695
43696 * po/cs.po: Update from translation team.
43697 * po/bg.po: Likewise.
43698
295e904f
MP
436992011-07-12 Marek Polacek <mpolacek@redhat.com>
43700
43701 * misc/sys/cdefs.h: Add support for const attribute.
43702 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43703 to gnu_dev_{major,minor,makedev} functions.
43704
3ff94596
MP
437052011-07-20 Marek Polacek <mpolacek@redhat.com>
43706
43707 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43708
28b59fca
AS
437092011-07-20 Andreas Schwab <schwab@redhat.com>
43710
43711 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43712 strlen results.
43713
19df733e
AK
437142011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43715
43716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43717 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43718 register in order to avoid conflicts with the soft frame pointer
43719 being held in r11 when necessary.
43720 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43721 (INTERNAL_VSYSCALL_NCS): Likewise.
43722
c8835729
MP
437232011-07-14 Marek Polacek <mpolacek@redhat.com>
43724
43725 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43726 * elf/dl-fini.c (_dl_fini): Adjust caller.
43727 * elf/dl-close.c (_dl_close_worker): Likewise.
43728 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43729
b902330c
MP
437302011-07-15 Marek Polacek <mpolacek@redhat.com>
43731
8991e135
MP
43732 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43733 "aux_cache->nlibs < 0".
43734
b902330c
MP
43735 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43736 in the reload-count case.
43737
99710781
LD
437382011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43739
43740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43741 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43742 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43743 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43744 * sysdeps/x86_64/multiarch/strcat.S: New file.
43745 * sysdeps/x86_64/multiarch/strncat.S: New file.
43746 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43747 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43748 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43749 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43750 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43751 (USE_AS_STRCAT): Define.
43752 Add strcat and strncat support.
43753 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43754 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43755 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43756 * string/strncat.c: Update.
43757 (USE_AS_STRNCAT): Define.
43758 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43759 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43760 and i7.
43761 * sysdeps/x86_64/multiarch/init-arch.h
43762 (bit_Prefer_PMINUB_for_stringop): New.
43763 (index_Prefer_PMINUB_for_stringop): Likewise.
43764 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43765 bit_Prefer_PMINUB_for_stringop.
43766
7dc6bd90
UD
437672011-07-19 Ulrich Drepper <drepper@gmail.com>
43768
43769 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43770 buffer64.
43771 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43772 of casting of buffer.
43773 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43774 buffer32 and buffer64.
43775 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43776 writes instead of casting of buffer.
43777 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43778 buffer32.
43779 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43780 casting of buffer.
43781
e0e72284
AS
437822011-07-19 Andreas Schwab <schwab@redhat.com>
43783
43784 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43785
feb1eb0b
UD
437862011-07-19 Ulrich Drepper <drepper@gmail.com>
43787
43788 * nscd/nscd.c (termination_handler): Don't do anything for a database
43789 if it has not yet been initialized.
43790
298711ff
UD
437912011-07-18 Ulrich Drepper <drepper@gmail.com>
43792
43793 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43794
437952011-07-15 Marek Polacek <mpolacek@redhat.com>
43796
43797 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43798
f9d68389
UD
437992011-07-18 Ulrich Drepper <drepper@gmail.com>
43800
43801 * po/nl.po: Update from translation team.
43802 * po/sv.po: Likewise.
43803
db290cf5
RM
438042011-07-16 Roland McGrath <roland@hack.frob.com>
43805
43806 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43807 now disallowed by GCC.
5c550700 43808
fd5e21c7
RM
43809 * configure.in (use-default-link): Default to yes if a test -shared
43810 link meets our qualifications.
43811 * configure: Regenerated.
43812
5c550700
RM
43813 * config.make.in (output-format): New variable.
43814 * configure.in: Check for ld --print-output-format support.
43815 * configure: Regenerated.
43816 * Makerules ($(common-objpfx)format.lds)
43817 [$(output-format) != unknown]: Just use $(output-format),
43818 instead of the linker-script munging.
43819
9fa2c032
RM
438202011-07-14 Roland McGrath <roland@hack.frob.com>
43821
a6928d51
RM
43822 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43823 of $(common-objpfx)shlib.lds.
43824 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43825
661607b3
RM
43826 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43827 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43828
9fa2c032
RM
43829 * configure.in (-z relro check): Adjust test code to add a large
43830 writable data section after it.
43831 * configure: Regenerated.
43832
defe9061
RM
438332011-07-11 Roland McGrath <roland@hack.frob.com>
43834
43835 * configure.in (-z relro check): Fix test code to make the variable
43836 truly const.
43837 * configure: Regenerated.
43838
319b9ad4
UD
438392011-07-11 Ulrich Drepper <drepper@gmail.com>
43840
43841 * nscd/nscd.h (struct traced_file): Define.
43842 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43843 elements. Add traced_files.
43844 (inotify_fd): Declare.
43845 (register_traced_file): Declare.
43846 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43847 (inotify_fd): Export.
43848 (resolv_conf_descr): Remove.
43849 (nscd_init): Move inotify descriptor creation to main.
43850 Don't register files for notification here.
43851 (register_traced_file): New function.
43852 (invalidate_cache): Don't use reset_res to determine whether to call
43853 res_init, go through the list of registered files.
43854 (main_loop_poll): The inotify descriptors are now stored in the
43855 structures for the traced files.
43856 (main_loop_epoll): Likewise
43857 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43858 to __nss_disable_nscd.
43859 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43860 for a database anymore. Check the records for all the registered
43861 files instead.
43862 * nss/Makefile (libnss_files-routines): Add files-init.
43863 (libnss_db-routines): Add db-init.
43864 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43865 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43866 * nss/nss_db/db-init.c: New file.
43867 * nss/nss_files/files-init.c: New file.
43868 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43869 __nss_lookup_function.
43870 (__nss_lookup_function): Call nss_load_library.
43871 (nss_load_all_libraries): New function.
43872 (__nss_disable_nscd): Take parameter with callback function for files
43873 to register. Set is_nscd. Load all the DSOs for the NSS modules
43874 used for the cached services.
43875 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43876 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43877 options for features to all the files in nscd.
43878
43879 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43880
23bee3e8
RM
438812011-07-10 Roland McGrath <roland@hack.frob.com>
43882
43883 * csu/elf-init.c (__libc_csu_init): Comment typo.
43884
46a5b7f0
UD
438852011-07-09 Ulrich Drepper <drepper@gmail.com>
43886
43887 * po/pl.po: Update from translation team.
43888 * po/ja.po: Likewise.
43889 * po/ru.po: Likewise.
43890 * po/ko.po: Likewise.
43891 * po/fr.po: Likewise.
43892
d30cf5bb
RM
438932011-07-09 Roland McGrath <roland@hack.frob.com>
43894
113ddea4
RM
43895 * configure.in (.ctors/.dtors header and trailer check):
43896 Use an empirical test on a built program.
43897 * configure: Regenerated.
43898
574920b4
RM
43899 * configure.in (-z relro check): Use an empirical test on a built DSO.
43900 Detect, but do not require, on ia64.
43901 * configure: Regenerated.
43902
d30cf5bb
RM
43903 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43904 Update tests that use readelf to use $READELF instead.
43905 * configure: Regenerated.
43906
8538fdb3
UD
439072011-07-08 Ulrich Drepper <drepper@gmail.com>
43908
43909 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43910 if the result is not used.
43911
04d08991
AJ
439122011-07-05 Andreas Jaeger <aj@suse.de>
43913
43914 [BZ#9696]
43915 * stdlib/tst-strtod.c: Add testcase.
43916
de283087
AD
439172011-07-07 Ulrich Drepper <drepper@gmail.com>
43918
4e5f31c8 43919 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 43920 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
43921 The latter has a higher limit. Take additional parameter to pass to
43922 the new function.
43923 (__pathconf): Pass file to __statfs_link_max.
43924 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43925 __statfs_link_max.
43926 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43927 __statfs_link_max.
43928
de283087
AD
43929 [BZ #12868]
43930 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43931 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43932 Handle Lustre.
43933 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43934 (__statfs_filesize_max): Likewise.
43935 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43936
c75fa153
AJ
439372011-07-05 Andreas Jaeger <aj@suse.de>
43938
43939 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43940
1a544854
UD
439412011-07-06 Marek Polacek <mpolacek@redhat.com>
43942
43943 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43944 `status' variable.
43945 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43946 Likewise.
43947
6f0eec67
UD
439482011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43949
43950 * Makefile (strop-tests): Add strncat.
43951 * string/test-strncat.c: New file.
43952
aae30307
UD
439532011-06-30 Marek Polacek <mpolacek@redhat.com>
43954
43955 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43956
c0cfb5eb
UD
439572011-06-21 Andreas Jaeger <aj@suse.de>
43958
43959 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43960 Copy rule from iconvdata/Makefile.
43961
01636b21
UD
439622011-07-06 Ulrich Drepper <drepper@gmail.com>
43963
43964 [BZ #12922]
43965 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43966 but no long options are defined, just return 'W'.
43967
9895c8bc
UD
439682011-06-22 Marek Polacek <mpolacek@redhat.com>
43969
43970 [BZ #9696]
43971 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43972
5d4cf042
UD
439732011-07-06 Ulrich Drepper <drepper@gmail.com>
43974
43975 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43976 netgroups to read.
960e5535 43977 (innetgr): Likewise.
5d4cf042 43978
751eb97e
RM
439792011-07-05 Roland McGrath <roland@hack.frob.com>
43980
43981 * config.make.in (install_root): Default to $(DESTDIR).
43982
f15f1e45
UD
439832011-07-05 Ulrich Drepper <drepper@gmail.com>
43984
43985 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43986
4e34ac6a
RM
439872011-07-02 Roland McGrath <roland@hack.frob.com>
43988
5e9b6af4
RM
43989 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43990
84f9ea0f
RM
43991 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43992 containing directory rather than embedding absolute directory names.
43993
ea5ee9f7
RM
43994 * scripts/check-local-headers.sh: Rewritten using awk.
43995 Match by word, not by line. Print error messages for matches.
43996 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43997
1b74661a
RM
43998 * Makerules [shlib-lds-flags empty]:
43999 ($(common-objpfx)libc_pic.opts): New target.
44000 ($(common-objpfx)libc_pic.os.clean): New target.
44001 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44002
44003 * config.make.in (OBJCOPY): New variable.
44004 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44005 * configure: Regenerated.
44006
f781ef40
RM
44007 * config.make.in (use-default-link): New variable.
44008 * configure.in (use_default_link): Grok --with-default-link to set it.
44009 * configure: Regenerated.
44010 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44011 (shlib-lds, shlib-lds-flags): Define to empty.
44012
2d4fa81e
RM
44013 * Makerules (shlib-lds): New variable.
44014 (shlib-lds-flags): New variable.
44015 (build-shlib, build-moduile, build-module-asneeded): Use it.
44016 ($(common-objpfx)libc.so): Use $(shlib-lds).
44017 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44018 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44019
31fffa6b
RM
44020 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44021 DT_FLAGS/DT_FLAGS_1 with zero flags.
44022
4e34ac6a
RM
44023 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44024 linker script munging.
44025
fcfc776b
UD
440262011-07-02 Ulrich Drepper <drepper@gmail.com>
44027
44028 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44029 as 128-bit value.
44030 * crypt/sha512.c (sha512_process_block): Perform total addition using
44031 128-bit if possible.
44032 (__sha512_finish_ctx): Likewise.
44033 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44034 as 64-bit value.
44035 * crypt/sha256.c (SWAP64): Define.
44036 (sha256_process_block): Perform total addition using 64-bit if
44037 possible.
44038 (__sha256_finish_ctx): Likewise.
44039
99231d9a
UD
440402011-07-01 Ulrich Drepper <drepper@gmail.com>
44041
44042 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
44043 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44044 * nscd/hstcache.c (cache_addhst): Likewise.
44045 * nscd/grpcache.c (cache_addgr): Likewise.
44046 * nscd/aicache.c (addhstaiX): Likewise
44047 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44048
445b4a53
TK
440492011-07-01 Thorsten Kukuk <kukuk@suse.de>
44050
44051 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44052 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44053 * nscd/hstcache.c (cache_addhst): Likewise.
44054 * nscd/grpcache.c (cache_addgr): Likewise.
44055 * nscd/aicache.c (addhstaiX): Likewise
44056
6d4d8e8e
AS
440572011-07-01 Andreas Schwab <schwab@redhat.com>
44058
44059 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44060 domain only when needed.
44061
89f654c5
AS
440622011-06-30 Andreas Schwab <schwab@redhat.com>
44063
44064 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44065 is always restored.
44066
cf3b23ff
UD
440672011-06-29 Ulrich Drepper <drepper@gmail.com>
44068
44069 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44070 are re-adding the entry.
44071 * nscd/servicescache.c (cache_addserv): Likewise.
44072
751626f9
AJ
440732011-06-30 Aurelien Jarno <aurelien@aurel32.net>
44074
44075 * sysdeps/generic/dl-irel.h: fix protection against multiple
44076 inclusions.
44077 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44078
9113ea1f
UD
440792011-06-28 Ulrich Drepper <drepper@gmail.com>
44080
5c0b8d90
UD
44081 [BZ #12935]
44082 * malloc/memusage.sh: Fix quoting in message.
44083 * debug/xtrace.sh: Likewise.
44084
9113ea1f
UD
44085 * configure.in: Remove support for --experimental-malloc option, make
44086 it the default.
44087 * config.make.in: Likewise.
44088 * malloc/Makefile: Likewise.
44089
a4172181
AS
440902011-06-27 Andreas Schwab <schwab@redhat.com>
44091
44092 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44093 two-byte characters.
44094
78a7eee7
RM
440952011-06-27 Roland McGrath <roland@hack.frob.com>
44096
62bede13
RM
44097 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44098 AC_CACHE_CHECK invocation.
44099 * configure: Regenerated.
44100
78a7eee7
RM
44101 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44102
5ce33a62
UD
441032011-06-27 Ulrich Drepper <drepper@gmail.com>
44104
034807a9
UD
44105 [BZ #12350]
44106 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
44107 bit from old_res_options.
44108
4902da17
UD
44109 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44110
5ce33a62
UD
44111 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44112 value type for setfct.
44113
c2344f56
L
441142011-06-23 H.J. Lu <hongjiu.lu@intel.com>
44115
44116 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44117 __gettimeofday instead of gettimeofday.
44118
68468076
UD
441192011-06-26 Ulrich Drepper <drepper@gmail.com>
44120
44121 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44122
acb0d739
L
441232011-06-24 H.J. Lu <hongjiu.lu@intel.com>
44124
44125 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44126
44127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44128 info.
44129
8912479f
L
441302011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44131
44132 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44133 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44134 strcpy-sse2-unaligned strncpy-sse2-unaligned
44135 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44136 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44137 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44138 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44139 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44140 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44141 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44142 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44143 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44144 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44145 (STRCPY): Support SSE2 and SSSE3 versions.
44146
d5495a11
UD
441472011-06-24 Ulrich Drepper <drepper@gmail.com>
44148
44149 [BZ #12874]
44150 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44151 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44152 kernels which artificially limit size of requests.
44153
0b1cbaae
L
441542011-06-22 H.J. Lu <hongjiu.lu@intel.com>
44155
44156 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44157 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44158 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44159 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44160 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44161 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44162 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44163 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44164 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44165 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44166 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44167 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44168 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44169 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44170 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44172 Enable unaligned load optimization for Intel Core i3, i5 and i7
44173 processors.
44174 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44175 Define.
44176 (index_Fast_Unaligned_Load): Define.
44177 (HAS_FAST_UNALIGNED_LOAD): Define.
44178
07f494a0
MP
441792011-06-23 Marek Polacek <mpolacek@redhat.com>
44180
44181 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44182
fa3fc0fe
UD
441832011-06-22 Ulrich Drepper <drepper@gmail.com>
44184
44185 [BZ #12907]
44186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44187 until it is clear that the information is realy needed.
44188 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44189
e12df166
AS
441902011-06-22 Andreas Schwab <schwab@redhat.com>
44191
44192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44193
852eb34d
UD
441942011-06-22 Ulrich Drepper <drepper@gmail.com>
44195
84e2a551
UD
44196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44197 /sys/devices/system/cpu/online if it is usable.
44198
852eb34d
UD
44199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44200 reading the information from the /proc filesystem to once a second.
44201
6e502e19
UD
442022011-06-21 Andreas Jaeger <aj@suse.de>
44203
44204 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44205 NULL after inclusion of kernel headers.
44206
75d39ff2
UD
442072011-06-21 Ulrich Drepper <drepper@gmail.com>
44208
51f9aa6a
UD
44209 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44210 calls to internal_setent.
44211
c0244a9d
UD
44212 [BZ #12885]
44213 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44214 addresses using gethostbyname4_r ignore IPv4 addresses.
44215
c5e3c2ae
UD
44216 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44217 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
44218
75d39ff2
UD
44219 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44220
42675c6f
DM
442212011-06-20 David S. Miller <davem@davemloft.net>
44222
44223 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44224 inclusions.
44225 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44226
44227 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44228 (elf_irel): Use it.
44229 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44230 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44231 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44232 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44233 * sysdeps/x86_64/dl-irel.h: Likewise.
44234
44235 * elf/dl-runtime.c: Use elf_ifunc_invoke.
44236 * elf/dl-sym.c: Likewise.
44237
57912a71
UD
442382011-06-15 Ulrich Drepper <drepper@gmail.com>
44239
44240 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
44241 need to dereference resplen2.
44242
ee22793d
AS
442432011-06-14 Andreas Schwab <schwab@redhat.com>
44244
44245 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44246
a9e836b0
UD
442472011-06-15 Ulrich Drepper <drepper@gmail.com>
44248
77fb9117
UD
44249 * Makeconfig: Define vardbdir and inst_vardbdir.
44250 * nss/Makefile: Add rules to install db-Makefile.
44251
40c1b22c
UD
44252 * nss/nss_db/db-XXX.c: Cleanup.
44253
9f2da732
UD
44254 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44255 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44256 GLIBC_PRIVATE.
44257 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
44258 * nss/makedb.c: Implement -g option to specify that value strings
44259 are generated and should not be added to table iterated over for
44260 get*ent calls.
44261 * nss/nss_db/db-initgroups.c: New file.
44262
82e9a1f7
UD
44263 * nss/getent.c: Add support for initgroups lookups through getgrouplist
44264 interface.
44265
c41af17e
UD
44266 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
44267 (internal_getgrouplist): Adjust to name change.
44268 Update use_initgroups_entry if this is not the first call.
44269 * nss/databases.def: Add initgroups entry.
44270
a9e836b0
UD
44271 * nss/makedb.c (compute_tables): Check result of multiple hash table
44272 sizes to minimize maximum chain length.
44273
2666d441
UD
442742011-06-14 Ulrich Drepper <drepper@gmail.com>
44275
44276 * Versions.def: Add entry for libnss_db.
44277 * shlib-versions: Likewise.
44278 * nss/Makefile: Add rules to build libnss_db.
44279 * nss/Versions: Add libnss_db information. Organize libnss_files
44280 entries better.
44281 * nss/db-Makefile: Add gshadow support. Change rules for the new
44282 makedb progra. Some minor improvements to generate smaller files.
44283 * nss/nss_db/nss_db.h: Move NSS database header data structures to
44284 here from...
44285 * nss/makedb.c: ...here.
44286 Improve database format to be smaller and require less memory at
44287 runtime.
44288 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
44289 db anymore.
44290 * nss/nss_db/db-netgrp.c: Likewise.
44291 * nss/nss_db/db-open.c: Likewise.
44292 * nss/nss_files/flies-XXX.x: Adjust comments.
44293 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
44294 * nss/nss_files/files-grp.c: Likewise.
44295 * nss/nss_files/files-hosts.c: Likewise.
44296 * nss/nss_files/files-network.c: Likewise.
44297 * nss/nss_files/files-proto.c: Likewise.
44298 * nss/nss_files/files-pwd.c: Likewise.
44299 * nss/nss_files/files-rpc.c: Likewise.
44300 * nss/nss_files/files-service.c: Likewise.
44301 * nss/nss_files/files-sgrp.c: Likewise.
44302 * nss/nss_files/files-spwd.c: Likewise.
44303 * nss/nss_db/db-alias.c: Removed.
44304 * nss/nss_db/dummy-db.h: Removed.
44305
9ee76b5a
UD
443062011-06-02 Ulrich Drepper <drepper@gmail.com>
44307
44308 * nss/makedb.c: Rewritten to not use database library.
44309 * nss/Makefile: Update to build new makedb program.
44310
c71ca1f8
AJ
443112011-06-14 Andreas Jaeger <aj@suse.de>
44312
44313 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
44314 memset declaration.
44315
3154bfb8
UD
443162011-06-10 Andreas Schwab <schwab@redhat.com>
44317
44318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
44319 tmpbuf.
44320
b350afab
RM
443212011-06-10 Roland McGrath <roland@hack.frob.com>
44322
decd4e50
RM
44323 * Makerules (shlib.lds): Fail if the linker script comes out empty.
44324 * elf/Makefile ($(objpfx)ld.so): Likewise.
44325
5615eaf2
RM
44326 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
44327 Don't list ld.so twice in dependencies.
44328
44329 * posix/bug-regex31.c: Include <stdlib.h>.
44330
44331 * nscd/hstcache.c (cache_addhst): Remove unused variable.
44332
44333 * nis/nss_compat/compat-spwd.c
44334 (getspent_next_nss_netgr): Remove unused variable.
44335 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
44336
44337 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
44338 nonmembers" output to use the right array.
44339
44340 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
44341
44342 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
44343
44344 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
44345 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
44346 * catgets/gencat.c (read_input_file): Likewise.
44347 * locale/programs/locarchive.c (enlarge_archive): Likewise.
44348
44349 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
44350 variable definition inside #if's controlling its use.
44351
44352 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
44353
44354 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
44355
44356 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
44357
44358 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
44359 unreachable code.
44360
44361 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
44362
b68e08db
RM
44363 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
44364 * configure: Regenerated.
44365
b350afab
RM
44366 * Makerules: Revert last change.
44367 * elf/Makefile: Likewise.
44368
28368601
RM
443692011-06-09 Roland McGrath <roland@hack.frob.com>
44370
44371 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
44372 * elf/Makefile ($(objpfx)librtld.os): Likewise.
44373 (reloc-link): Likewise.
44374
11988f8f
UD
443752011-06-09 Ulrich Drepper <drepper@gmail.com>
44376
44377 * elf/Makefile: Add rules to build pldd.
44378 * elf/pldd.c: New file.
44379 * elf/pldd-xx.c: New file.
44380
e80fab37
UD
443812011-06-07 Ulrich Drepper <drepper@gmail.com>
44382
44383 * version.h: Update for 2.15 development version.
44384
9b849836
DM
443852011-06-07 David S. Miller <davem@davemloft.net>
44386
44387 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
44388 ifuncs.
44389 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
44390 elf_machine_lazy_rel): Likewise.
44391 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44392 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
44393 elf_machine_lazy_rel): Likewise.
44394 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
44395 dl_hwcap via passed in argument.
44396 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
44397 Likewise.
44398
5a31b283
AK
443992011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44400
44401 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
44402
069e52f8
RM
444032011-06-06 Roland McGrath <roland@hack.frob.com>
44404
44405 [BZ #12849]
44406 * manual/fdl-1.1.texi: New file, verbatim from:
44407 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44408 * manual/lgpl-2.1.texi: New file, verbatim from:
44409 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44410 * manual/Makefile (licenses): New variable, list those new file names.
44411 (texis): Use it.
44412 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44413
44414 * manual/fdl.texi: File removed.
44415 * manual/lesser.texi: File removed.
44416 * manual/libc.texinfo (Copying, Documentation License):
44417 Use new @include file names, put @appendix directive before @include.
44418
f16846a5
JJ
444192011-06-04 Jakub Jelinek <jakub@redhat.com>
44420
44421 [BZ #12841]
44422 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44423 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44424 (mq_open): Add __NTH.
44425
3d29045b
L
444262011-06-02 H.J. Lu <hongjiu.lu@intel.com>
44427
44428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44429 Assume Intel Core i3/i5/i7 processor if AVX is available.
44430
8c297311
UD
444312011-05-31 Ulrich Drepper <drepper@gmail.com>
44432
44433 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44434 typo.
44435
c8fc0c91
UD
444362011-05-31 Andreas Schwab <schwab@redhat.com>
44437
44438 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44439 memory. Use alloca_account. Fix memory leak when retrying.
44440
5b27a807
UD
444412011-05-31 Ulrich Drepper <drepper@gmail.com>
44442
356f8bc6
UD
44443 * version.h (RELEASE): Bump for 2.14 release.
44444 * include/features.h (__GLIBC_MINOR__): Bump to 14.
44445
5b27a807
UD
44446 * config.make.in (RANLIB): Remove entry.
44447
01f16ab0
UD
444482011-05-30 Ulrich Drepper <drepper@gmail.com>
44449
41fce8bd
UD
44450 * po/Makefile (po-sed-cmd): Add ksh to extensions.
44451 (libc.pot): Work around missing support for .ksh extension in xgettext.
44452
4769ae77
UD
44453 [BZ #12684]
44454 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44455 if both request failed.
44456 (send_dg): In case of server errors clear resplen or *resplen2.
44457
6b1e7d19
UD
44458 [BZ #12454]
44459 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44460 when there are multiple maps.
44461 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44462 (_dl_fini): Remove test here.
44463
01f16ab0
UD
44464 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44465
b1ebd700
UD
444662011-05-29 Ulrich Drepper <drepper@gmail.com>
44467
7ae22829
UD
44468 [BZ #12350]
44469 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44470 bit from old_res_options.
44471 (gaih_inet): Likewise.
44472
553149f6 44473 [BZ #11099]
18a84741 44474 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
44475 as signed.
44476
652ffab1
UD
44477 * resolv/res_init.c (res_setoptions): Make the code more compact.
44478
16985fd0
UD
44479 [BZ #11558]
44480 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44481 set RES_USEVC.
44482
0464f746
UD
44483 [BZ #11634]
44484 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44485
7d17596c
UD
44486 * malloc/malloc.h: Mark malloc hook variables as deprecated.
44487
cf6bbbd7
UD
44488 [BZ #11781]
44489 * malloc/malloc.h: Declare malloc hook variables as volatile.
44490
13f1ab36
UD
44491 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44492 in last patch.
44493
b1ebd700
UD
44494 [BZ #11799]
44495 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 44496 raise in the comment.
80e2212d
UD
44497 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44498 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44499 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 44500
ce67228d
UD
445012011-05-28 Ulrich Drepper <drepper@gmail.com>
44502
8887a920
UD
44503 [BZ #12811]
44504 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44505 grow the buffers more if it already has to be sufficient.
44506 (build_wcs_upper_buffer): Likewise.
44507 * posix/regexec.c (check_matching): Likewise.
44508 (clean_state_log_if_needed): Likewise.
44509 (extend_buffers): Don't enlarge buffers beyond size of the input
44510 buffer.
44511 Patches mostly by Emil Wojak <emil@wojak.eu>.
44512 * posix/bug-regex32.c: New file.
44513 * posix/Makefile (tests): Add bug-regex32.
44514
4f031072
UD
44515 * locale/findlocale.c (_nl_find_locale): Return right away if
44516 _nl_explode_name failed.
44517 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44518
d0478f0c
UD
44519 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44520
de81b246
UD
44521 * debug/xtrace.sh: Unify messages.
44522 * malloc/memusage.sh: Likewise.
44523
c738465a
UD
44524 [BZ #12813]
44525 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44526 time symbol from vDSO. Substitute with vsyscall if not available.
44527 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44528 __vdso_time.
44529
f1f929d7
UD
44530 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44531 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44532 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44533 Add sendmmsg and internal_sendmmsg.
44534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44535 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44536 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44537
ce67228d
UD
44538 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44539 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44540 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44541
e57420c6
UD
445422011-05-27 Ulrich Drepper <drepper@gmail.com>
44543
a8509ca5
UD
44544 [BZ #12813]
44545 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44546 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
44547 available.
44548 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44549 __vdso_getcpu.
44550
e57420c6
UD
44551 [BZ #12814]
44552 * iconvdata/Makefile (tests): Add bug-iconv9.
44553 * iconvdata/bug-iconv9.c: New file.
44554
4d07db15
AS
445552011-05-27 Andreas Schwab <schwab@redhat.com>
44556
44557 [BZ #12814]
44558 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44559
ea486f69
JJ
445602011-05-25 Jakub Jelinek <jakub@redhat.com>
44561
44562 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44563 (struct user_regs_struct): Change intcs field back to cs.
44564
6f038433
UD
445652011-05-25 Ulrich Drepper <drepper@gmail.com>
44566
44567 * po/ja.po: Update from translation team.
44568
67f86a25
UD
445692011-05-23 Ulrich Drepper <drepper@gmail.com>
44570
44571 [BZ #12795]
44572 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44573 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44574
def7fbd6
AS
445752011-05-20 Andreas Schwab <schwab@redhat.com>
44576
44577 * stdlib/longlong.h: Update from GCC.
44578
f50ef8f1
AS
445792011-05-23 Andreas Schwab <schwab@redhat.com>
44580
44581 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44582 parameter name.
44583 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44584 Add parameter name.
44585 (__sysconf): Pass it down.
44586
de7ce8f1
UD
445872011-05-22 Ulrich Drepper <drepper@gmail.com>
44588
f2962a71
UD
44589 [BZ #12671]
44590 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44591 some situations.
44592 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44593 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44594 add in in __libc_use_alloca calls. Adjust callers.
44595 (glob): Use malloc in some situations.
44596
de7ce8f1
UD
44597 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44598 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44599 pltexit.
44600
aec84f53
UD
446012011-05-21 Ulrich Drepper <drepper@gmail.com>
44602
05bb4a68
UD
44603 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44604 and CLOCK_BOOTTIME_ALARM.
44605
7ea72f99
UD
44606 [BZ #12782]
44607 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44608 is returned.
44609
7e4afad5
UD
44610 * string/_strerror.c (__strerror_r): Print negative errors as signed
44611 numbers.
44612
8e211fec
UD
44613 [BZ #12777]
44614 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44615 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44616 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44617
f7d82dc9
UD
44618 * configure.in: Fix typo in redirection and correct removal of test
44619 files in two cases.
44620
cc9e536d
UD
44621 [BZ #12788]
44622 * locale/setlocale.c (new_composite_name): Fix test to check for
44623 identical name of all categories.
44624
aec84f53
UD
44625 [BZ #12792]
44626 * libio/filedoalloc.c (local_isatty): New function.
44627 (_IO_file_doallocate): Use local_isatty.
44628 * stdio-common/perror.c (perror): In case a new stream is used
44629 forward the stream error.
44630 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44631 error flag.
44632
78e64fdc
RT
446332011-05-20 Ulrich Drepper <drepper@gmail.com>
44634
34a9094f
UD
44635 [BZ #11869]
44636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44637 alloca.
44638 * include/alloca.h (extend_alloca_account): Define.
44639
78e64fdc
RT
44640 [BZ #11857]
44641 * posix/regex.h: Fix comments with documentation of user-accessible
44642 fields after compilation and describe correct free'ing of pattern
44643 after re_compile_pattern.
44644 Patch by Reuben Thomas <rrt@sc3d.org>.
44645
457bddfc
RA
446462011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44647
44648 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44649 and -mno-altivec to prevent the compiler from using Altivec and/or
44650 VSX instructions when the corresponding registers are not available.
44651
a4527b51
AS
446522011-05-19 Andreas Schwab <schwab@redhat.com>
44653
44654 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44655
ed690b2f
UD
446562011-05-19 Ulrich Drepper <drepper@gmail.com>
44657
44658 * libio/freopen.c (freopen): Use __dup2, not dup2.
44659 * libio/freopen64.c (freopen64): Likewise.
44660
8db73634
L
446612011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44662
44663 [BZ #12775]
44664 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44665 * math/Makefile (tests): Add test-powl.
44666 (CFLAGS-test-powl.c): Define.
44667 * math/test-powl.c: New file.
44668
0a197a9d
L
446692011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44670
44671 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44672
ee30c380
UD
446732011-05-17 Ulrich Drepper <drepper@gmail.com>
44674
44675 [BZ #11837]
44676 * iconvdata/gb18030.c: Update to GB18020-2005.
44677
6ce75379
UD
446782011-05-16 Ulrich Drepper <drepper@gmail.com>
44679
a4b89fd8
AR
44680 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44681 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44682 Patch by Aharon Robbins <arnold@skeeve.com>.
44683
ea389b12
UD
44684 [BZ #11892]
44685 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44686 on the stack.
44687
68a3f91f
UD
44688 [BZ #11895]
44689 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44690 through underflows.
44691
15cc7dd1
UD
44692 [BZ #12766]
44693 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44694 point to strings before performing equality test for error_one_per_line
44695 mode.
44696
f3799213
UD
44697 [BZ #11697]
44698 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44699
d79a9c94
UD
44700 [BZ #11820]
44701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44702 (struct user_fpregs_struct): Avoid __uint*_t types.
44703
56e5eb46
UD
44704 [BZ #6420]
44705 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44706 symbol info. Use it instead of calling _dl_addr locally.
44707 (lock_and_info): New function.
44708 (tr_freehook): Call lock_and_info and pass symbol info as additional
44709 parameter to tr_where.
44710 (tr_mallochook): Likewise.
44711 (tr_reallochook): Likewise.
44712 (tr_memalignhook): Likewise.
44713
6ce75379
UD
44714 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44715 used and couldn't be at all thread-safe.
44716
f8a3b5bf
UD
447172011-05-15 Ulrich Drepper <drepper@gmail.com>
44718
94b7cc37
UD
44719 * libio/freopen.c (freopen): Don't close old file descriptor
44720 before the new one is opened. Instead dup the new file descriptor
44721 to the old one after the new stream is created.
44722 * libio/freopen64.c (freopen64): Likewise.
44723 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44724 * libio/fileops.c (_IO_new_file_close_it): Handle new
44725 _IO_FLAGS2_NOCLOSE flag.
44726 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44727 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44728 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44729 _IO_FLAGS2_NOCLOSE flag.
44730 * include/unistd.h: Add hidden_proto for dup3.
44731 Define __have_dup3.
44732 * io/dup3.c: Define hidden symbol.
44733 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44734
bd25564e
UD
44735 [BZ #7101]
44736 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44737 when an incomplete long option is used.
44738 * posix/tst-getopt_long1.c: New file.
44739 * posix/Makefile (tests): Add tst-getopt_long1.
44740
c84cfef4
UD
44741 [BZ #10138]
44742 * scripts/config.guess: Update from autoconf-2.68.
44743 * scripts/config.sub: Likewise.
44744
3b85df27
UD
44745 [BZ #10157]
44746 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44747 tests into ...
44748 (has_cpuclock): ...this. New function.
44749 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44750 macro here based on has_cpuclock code.
44751
15a856b1
UD
44752 [BZ #10149]
44753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44754 First byte (not low byte) is now always NUL.
44755 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44756
05f399e6
UD
44757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44758 Use non-cancelable interfaces.
44759
10a52685 44760 [BZ #9809]
94ecc67d
UD
44761 * locale/iso-639.def: Add entry for Sorani.
44762
f8a3b5bf
UD
44763 [BZ #11901]
44764 * include/stdlib.h: Move include protection to the right place.
44765 Define abort_msg_s. Declare __abort_msg with it.
44766 * stdlib/abort.c (__abort_msg): Adjust type.
44767 * assert/assert.c (__assert_fail_base): New function. Majority
44768 of code from __assert_fail. Allocate memory for __abort_msg with
44769 mmap.
44770 (__assert_fail): Now call __assert_fail_base.
44771 * assert/assert-perr.c: Remove bulk of implementation. Use
44772 __assert_fail_base.
44773 * include/assert.hL Declare __assert_fail_base.
44774 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44775 mmap.
44776 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44777
1af4e298
UD
447782011-05-14 Ulrich Drepper <drepper@gmail.com>
44779
f8a3b5bf 44780 [BZ #11952]
d26dfc60
MG
44781 [BZ #12453]
44782 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44783 until all modules are registered in the DTV.
44784 * elf/Makefile: Add rules to build and run tst-tls19.
44785 * elf/tst-tls19.c: New file.
44786 * elf/tst-tls19mod1.c: New file.
44787 * elf/tst-tls19mod2.c: New file.
44788 * elf/tst-tls19mod3.c: New file.
44789 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44790
2fc54d6f
UD
44791 [BZ #12083]
44792 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44793 correctly.
44794
98d76b46
UD
44795 [BZ #12601]
44796 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44797 two-byte sequence errors.
44798 * iconvdata/Makefile (tests): Add bug-iconv8.
44799 * iconvdata/bug-iconv8.c: New file.
44800
da3c19ef
UD
44801 [BZ #12626]
44802 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44803 buf2 definition.
44804
ca408c15
UD
44805 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44806
d6f67f7d
UD
44807 [BZ #12432]
44808 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44809 (dummy_getcfa): New function.
44810 (init): Get _Unwind_GetCFA address, use dummy if not found.
44811 (backtrace_helper): In recursion check, also check whether CFA changes.
44812 (__backtrace): Completely initialize arg.
44813
1af4e298 44814 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
44815 storing incomplete byte sequence in state object. Avoid testing for
44816 guaranteed too small input if we know there is enough data available.
1af4e298 44817
da62f81b
AS
448182011-05-11 Andreas Schwab <schwab@redhat.com>
44819
44820 * Makeconfig (+link-pie): Indent.
44821 * Rules (binaries-pie): Define if $(have-fpie) and
44822 $(build-shared).
44823 (binaries-shared): Also filter out $(binaries-pie).
44824 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44825 * nscd/Makefile (others-pie): Add nscd.
44826 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44827 ($(objpfx)nscd): Remove command override.
44828 * login/Makefile (others-pie): Add pt_chown.
44829 ($(objpfx)pt_chown): Remove command override.
44830 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44831 remove command overrides.
44832
fcabc0f8
UD
448332011-05-13 Ulrich Drepper <drepper@gmail.com>
44834
20030ae6
UD
44835 * libio/tst_putwc.c: Fix error messages.
44836
fcabc0f8
UD
44837 [BZ #12724]
44838 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44839 currently writing and seek to current position when not.
44840 * libio/Makefile (tests): Add bug-fclose1.
44841 * libio/bug-fclose1.c: New file.
44842
320a5dc0
PB
448432011-05-12 Ulrich Drepper <drepper@gmail.com>
44844
44845 [BZ #12511]
44846 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44847 don't set DF_1_NODELETE here.
44848 (do_lookup_x): When entering new entry test for copy relocation
44849 and if necessary set DF_1_NODELETE flag.
44850 * elf/tst-unique4.cc: New file.
44851 * elf/tst-unique4.h: New file.
44852 * elf/tst-unique4lib.cc: New file.
44853 * elf/Makefile: Add rules to build and run tst-unique4.
44854 Patch by Piotr Bury <pbury@goahead.com>.
44855
22836f52
UD
448562011-05-11 Ulrich Drepper <drepper@gmail.com>
44857
f574184a
UD
44858 [BZ #12052]
44859 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44860
e1fb097f
UD
44861 [BZ #12625]
44862 * misc/mntent_r.c (addmntent): Flush the stream after the output
44863
22836f52
UD
44864 [BZ #12393]
44865 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44866 (is_trusted_path_normalize): Skip initial colon. Append slash
44867 to empty buffer. Duplicate is_trusted_path code but allow
44868 constructed patch to be prefix.
44869 (is_dst): Allow $ORIGIN followed by /.
44870 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44871 Correct testing of result of is_trusted_path_normalize
44872 (decompose_rpath): Fix warning.
44873
7b3b0b2a
UD
448742011-05-10 Ulrich Drepper <drepper@gmail.com>
44875
44876 [BZ #11257]
44877 * grp/initgroups.c (internal_getgrouplist): When we found the service
44878 list through the initgroups entry in nsswitch.conf do not always
44879 continue on a successful lookup. Don't always use the
eac80ce2 44880 __nss_group_database value if it is set.
7b3b0b2a
UD
44881 * nss/nsswitch.conf (initgroups): Change action for successful db
44882 lookup to continue for compatibility.
44883
2a81eaa5
UD
448842011-05-09 Ulrich Drepper <drepper@gmail.com>
44885
be97a69e
UD
44886 [BZ #11532]
44887 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44888 and CP774 modules.
44889 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44890 and CP774 modules.
44891 * iconvdata/tst-tables.sh: Likewise.
44892 * iconvdata/cp770.c: New file.
44893 * iconvdata/cp771.c: New file.
44894 * iconvdata/cp772.c: New file.
44895 * iconvdata/cp773.c: New file.
44896 * iconvdata/cp774.c: New file.
44897 * iconvdata/testdata/CP770: New file.
44898 * iconvdata/testdata/CP770..UTF8: New file.
44899 * iconvdata/testdata/CP771: New file.
44900 * iconvdata/testdata/CP771..UTF8: New file.
44901 * iconvdata/testdata/CP772: New file.
44902 * iconvdata/testdata/CP772..UTF8: New file.
44903 * iconvdata/testdata/CP773: New file.
44904 * iconvdata/testdata/CP773..UTF8: New file.
44905 * iconvdata/testdata/CP774: New file.
44906 * iconvdata/testdata/CP774..UTF8: New file.
44907
44908 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44909 END CHARMAP line.
44910 * iconvdata/gen-8bit-gap.sh: Likewise.
44911 * iconvdata/gen-8bit.sh: Likewise.
44912
c1e9e399
UD
44913 * locale/iso-639.def: Add ary entry.
44914
24c55fb3 44915 [BZ #11258]
96b4b1b0
UD
44916 * locale/C-translit.h.in: Add U20A1 transliteration.
44917
bdc2f971
KB
44918 [BZ #12178]
44919 * locale/iso-639.def: Add wae entry.
44920 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44921
2952b117
UD
44922 [BZ #12545]
44923 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44924 for n.
44925
2a81eaa5
UD
44926 [BZ #12711]
44927 * locale/C-translit.h.in: Add entry for U20B9.
44928 Patch by pravin.d.s@gmail.com.
44929
28377d1b
UD
449302011-05-08 Ulrich Drepper <drepper@gmail.com>
44931
7fb90fb8
UD
44932 [BZ #12713]
44933 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44934 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
44935 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44936 in rtld. Use *stat64.
7fb90fb8 44937 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 44938 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 44939 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
44940 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44941 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44942 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44943 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44944 __fstatat64 macros.
7fb90fb8
UD
44945 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44946 * dirent/rewinddir.c: Add libc_hidden_def.
44947 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 44948 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 44949
28377d1b
UD
44950 * include/dirent.h (__alloc_dir): Add flags parameter.
44951 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44952 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44953 __alloc_dir.
44954 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44955 from fdopendir if O_CLOEXEC is already set.
44956
66bdbaa4
AM
449572011-03-15 Alan Modra <amodra@gmail.com>
44958
44959 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44960 l_tls_firstbyte_offset non-zero. Save padding offset in
44961 l_tls_firstbyte_offset for later use.
44962 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44963 freeing static tls block.
44964
95721191
JN
449652011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44966
44967 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44968 where #ifdef was intended. The intent is to prevent ARG_MAX from
44969 being defined by the kernel headers.
44970
f87dfb1f
UD
449712011-05-07 Ulrich Drepper <drepper@gmail.com>
44972
44973 [BZ #12734]
44974 * resolv/resolv.h: Define RES_NOTLDQUERY.
44975 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44976 no-tld-query and set RES_NOTLDQUERY.
44977 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44978 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44979 modern BIND to search name as TLD unless forbidden.
44980
47c3cd7a
UD
449812011-05-07 Petr Baudis <pasky@suse.cz>
44982 Ulrich Drepper <drepper@gmail.com>
44983
44984 [BZ #12393]
44985 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44986 (is_trusted_path): ...to here.
c1e9ea35 44987 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 44988 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 44989 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 44990
8a35c912
PP
449912011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44992
44993 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44994 __BEGIN/__END_DECLS.
44995
acd41f47
UD
449962011-05-06 Ulrich Drepper <drepper@gmail.com>
44997
44998 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44999 NSS_STATUS_NOTFOUND if no record was found.
45000
597df647
AS
450012011-05-05 Andreas Schwab <schwab@redhat.com>
45002
45003 * sunrpc/Makefile (headers): Add rpc/netdb.h.
45004 (headers-not-in-tirpc): Remove rpc/netdb.h
45005 * resolv/netdb.h: Revert last change.
45006
b9af1301
PP
450072011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45008
45009 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45010 circular dependency between libgcc.a and libc.a.
45011
4e34d5f5
AS
450122011-05-05 Andreas Schwab <schwab@redhat.com>
45013
45014 * resolv/netdb.h: Don't include <rpc/netdb.h>.
45015 * nis/Makefile: Don't install rpcsvc/*.
45016 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45017 instead of <rpc/types.h>.
45018 (MAXHOSTNAMELEN): Define.
45019
00ee369c
AS
450202011-05-03 Andreas Schwab <schwab@redhat.com>
45021
45022 * elf/ldconfig.c (add_dir): Don't crash on empty path.
45023
0b592a30
MB
450242011-04-28 Maciej Babinski <mbabinski@google.com>
45025
45026 [BZ #12714]
45027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45028 gethostbyname4_r when IPv6 results are possible.
45029
6e04cbbe
UD
450302011-05-02 Ulrich Drepper <drepper@gmail.com>
45031
45032 [BZ #12723]
45033 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45034 _PC_PIPE_BUF handling.
45035
e4ecafe0
BH
450362011-04-30 Bruno Haible <bruno@clisp.org>
45037
45038 [BZ #12717]
45039 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45040 * resolv/netdb.h (getnameinfo): Change type of flags parameter
45041 to 'int'.
45042 * inet/getnameinfo.c (getnameinfo): Likewise.
45043
125ee683
UD
450442011-04-29 Ulrich Drepper <drepper@gmail.com>
45045
45046 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45047 to groups setting in database lookup.
45048 * nss/nsswitch.conf: Add initgroups entry.
45049
b722481a
EB
450502011-04-22 Ulrich Drepper <drepper@gmail.com>
45051
45052 [BZ #12685]
45053 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45054 mode string.
45055 Patch by Eric Blake <eblake@redhat.com>.
45056
4df46dbd
L
450572011-04-20 H.J. Lu <hongjiu.lu@intel.com>
45058
45059 * sunrpc/Makefile (need-export-routines): Add svc_run.
45060 (routines): Remove svc_run.
45061 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45062 * sunrpc/clnt_perr.c (clnt_perrno): Export.
45063 * sunrpc/svc_run.c (svc_run): Likewise.
45064 * sunrpc/svc_udp.c (svcudp_create): Likewise.
45065
e84142d2
UD
450662011-04-21 Ulrich Drepper <drepper@gmail.com>
45067
45068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45069 problem in reallocation in last patch.
45070
877175d8
UD
450712011-04-20 Ulrich Drepper <drepper@gmail.com>
45072
45073 * sunrpc/Makefile: Move inclusion of Rules.
45074
ab8eed78
UD
450752011-04-19 Ulrich Drepper <drepper@gmail.com>
45076
45077 * nss/nss_files/files-initgroups.c: New file.
45078 * nss/Makefile (libnss_files-routines): Add files-initgroups.
45079 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45080 _nss_files_initgroups_dyn.
45081
e3d8f584
RS
450822011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
45083
45084 * elf/elf.h (R_ARM_IRELATIVE): Define.
45085
af190f45
UD
450862011-04-19 Ulrich Drepper <drepper@gmail.com>
45087
45088 * po/ru.po: Update from translation team.
45089
53cf59ef
UD
450902011-04-17 Ulrich Drepper <drepper@gmail.com>
45091
45092 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45093 dependencies.
45094
4c559bcd
MF
450952011-02-06 Mike Frysinger <vapier@gentoo.org>
45096
45097 [BZ #12653]
45098 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45099 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45100 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45101 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45102 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45103
4420675c
AS
451042011-03-28 Andreas Schwab <schwab@linux-m68k.org>
45105
45106 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45107 differing bytes.
45108 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45109 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45110 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45111
75ea32ab
UD
451122011-04-17 Ulrich Drepper <drepper@gmail.com>
45113
45114 [BZ #12420]
45115 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45116 storing it.
45117 * stdlib/bug-getcontext.c: New file.
45118 * stdlib/Makefile: Add rules to build and run bug-getcontext.
45119
27390476
AK
451202011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45121
45122 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45123 instructions into .machine "z9-109".
45124 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45125 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45126
10442705
AK
451272011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45128
45129 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45130 between environment variables and auxiliary vector.
45131
7b57bfe5
UD
451322011-04-16 Ulrich Drepper <drepper@gmail.com>
45133
45134 * Makefile: Add rules to build linkobj/libc.so.
45135 * include/libc-symbols.h: Define libc_hidden_nolink.
45136 * include/rpc/auth.h: Mark functions which are to be hidden.
45137 * include/rpc/auth_des.h: Likewise.
45138 * include/rpc/auth_unix.h: Likewise.
45139 * include/rpc/clnt.h: Likewise.
45140 * include/rpc/des_crypt.h: Likewise.
45141 * include/rpc/key_prot.h: Likewise.
45142 * include/rpc/pmap_clnt.h: Likewise.
45143 * include/rpc/pmap_prot.h: Likewise.
45144 * include/rpc/pmap_rmt.h: Likewise.
45145 * include/rpc/rpc_msg.h: Likewise.
45146 * include/rpc/svc.h: Likewise.
45147 * include/rpc/svc_auth.h: Likewise.
45148 * include/rpc/xdr.h: Likewise.
45149 * nis/Makefile: Link all DSOs against linkobj/libc.so.
45150 * nss/Makefile: Likewise.
45151 * sunrpc/Makefile: Don't install headers. Build library with normal
45152 entry points. Don't build rpcinfo. Link RPC tests appropriately.
45153 * sunrpc/auth_des.c: Hide exported symbols by default, export some
45154 for the compat linking library. Remove use of INTDEF/INTUSE.
45155 * sunrpc/auth_none.c: Likewise.
45156 * sunrpc/auth_unix.c: Likewise.
45157 * sunrpc/authdes_prot.c: Likewise.
45158 * sunrpc/authuxprot.c: Likewise.
45159 * sunrpc/clnt_gen.c: Likewise.
45160 * sunrpc/clnt_perr.c: Likewise.
45161 * sunrpc/clnt_raw.c: Likewise.
45162 * sunrpc/clnt_simp.c: Likewise.
45163 * sunrpc/clnt_tcp.c: Likewise.
45164 * sunrpc/clnt_udp.c: Likewise.
45165 * sunrpc/clnt_unix.c: Likewise.
45166 * sunrpc/des_crypt.c: Likewise.
45167 * sunrpc/des_soft.c: Likewise.
45168 * sunrpc/get_myaddr.c: Likewise.
45169 * sunrpc/key_call.c: Likewise.
45170 * sunrpc/key_prot.c: Likewise.
45171 * sunrpc/netname.c: Likewise.
45172 * sunrpc/pm_getmaps.c: Likewise.
45173 * sunrpc/pm_getport.c: Likewise.
45174 * sunrpc/pmap_clnt.c: Likewise.
45175 * sunrpc/pmap_prot.c: Likewise.
45176 * sunrpc/pmap_prot2.c: Likewise.
45177 * sunrpc/pmap_rmt.c: Likewise.
45178 * sunrpc/publickey.c: Likewise.
45179 * sunrpc/rpc_cmsg.c: Likewise.
45180 * sunrpc/rpc_common.c: Likewise.
45181 * sunrpc/rpc_dtable.c: Likewise.
45182 * sunrpc/rpc_prot.c: Likewise.
45183 * sunrpc/rpc_thread.c: Likewise.
45184 * sunrpc/rtime.c: Likewise.
45185 * sunrpc/svc.c: Likewise.
45186 * sunrpc/svc_auth.c: Likewise.
45187 * sunrpc/svc_authux.c: Likewise.
45188 * sunrpc/svc_raw.c: Likewise.
45189 * sunrpc/svc_run.c: Likewise.
45190 * sunrpc/svc_simple.c: Likewise.
45191 * sunrpc/svc_tcp.c: Likewise.
45192 * sunrpc/svc_udp.c: Likewise.
45193 * sunrpc/svc_unix.c: Likewise.
45194 * sunrpc/svcauth_des.c: Likewise.
45195 * sunrpc/xcrypt.c: Likewise.
45196 * sunrpc/xdr.c: Likewise.
45197 * sunrpc/xdr_array.c: Likewise.
45198 * sunrpc/xdr_float.c: Likewise.
45199 * sunrpc/xdr_intXX_t.c: Likewise.
45200 * sunrpc/xdr_mem.c: Likewise.
45201 * sunrpc/xdr_rec.c: Likewise.
45202 * sunrpc/xdr_ref.c: Likewise.
45203 * sunrpc/xdr_sizeof.c: Likewise.
45204 * sunrpc/xdr_stdio.c: Likewise.
45205
e6c61494
UD
452062011-04-10 Ulrich Drepper <drepper@gmail.com>
45207
45208 [BZ #12650]
45209 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45210 * sysdeps/ia64/dl-tls.h: Likewise.
45211 * sysdeps/powerpc/dl-tls.h: Likewise.
45212 * sysdeps/s390/dl-tls.h: Likewise.
45213 * sysdeps/sh/dl-tls.h: Likewise.
45214 * sysdeps/sparc/dl-tls.h: Likewise.
45215 * sysdeps/x86_64/dl-tls.h: Likewise.
45216 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45217
34fe483e
AS
452182011-03-14 Andreas Schwab <schwab@redhat.com>
45219
45220 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45221 rpath element also skip the following colon.
45222 (expand_dynamic_string_token): Add is_path parameter and pass
45223 down to DL_DST_REQUIRED and _dl_dst_substitute.
45224 (decompose_rpath): Call expand_dynamic_string_token with
45225 non-zero is_path. Ignore empty rpaths.
45226 (_dl_map_object_from_fd): Call expand_dynamic_string_token
45227 with zero is_path.
45228
f12a32e6
AS
452292011-04-08 Andreas Schwab <schwab@linux-m68k.org>
45230
45231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45232 Make cancelable.
45233
38a7d692
UD
452342011-04-09 Ulrich Drepper <drepper@gmail.com>
45235
45236 [BZ #12655]
45237 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45238 Patch by Filipe David Manana <fdmanana@apache.org>.
45239
e451d22b
AS
452402011-04-07 Andreas Schwab <schwab@redhat.com>
45241
45242 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45243 Maintain aligned stack.
45244 (CHECK_RSP): Remove unused macro.
45245
dedc7c7b
UD
452462011-04-03 Ulrich Drepper <drepper@gmail.com>
45247
45248 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45249 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45250
94521213
UD
452512011-04-02 Ulrich Drepper <drepper@gmail.com>
45252
45253 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45254
8cb700c0 45255 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 45256
0354e355
L
452572011-03-26 H.J. Lu <hongjiu.lu@intel.com>
45258
45259 [BZ #12518]
45260 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
45261 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
45262 * sysdeps/x86_64/memmove.c: New file.
45263 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
45264 (memcpy): Renamed to ...
45265 (__new_memcpy): This.
45266 (memcpy): Provide GLIBC_2_14 memcpy.
45267 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
45268 (memcpy): Provide GLIBC_2_2_5 memcpy.
45269
8593482f
UD
452702011-04-01 Ulrich Drepper <drepper@gmail.com>
45271
45272 [BZ #12631]
45273 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
45274
81a5726b
AS
452752011-03-30 Andreas Schwab <schwab@redhat.com>
45276
45277 * misc/syncfs.c: New file.
45278 * misc/Makefile (routines): Add syncfs.
45279 * posix/unistd.h: Declare syncfs.
45280 * sysdeps/unix/syscalls.list: Add syncfs.
45281
00e5419f
AS
452822011-04-01 Andreas Schwab <schwab@redhat.com>
45283
45284 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
45285 open_by_handle_at.
45286 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
45287 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45289 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45291 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
45292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45293
748876bf
UD
452942011-04-01 Ulrich Drepper <drepper@gmail.com>
45295
658e451d
UD
45296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
45297 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45298 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
45299 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45300 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45301 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45302 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45303
748876bf
UD
45304 * io/Makefile: Compile fallocate.c, fallocate64.c, and
45305 sync_file_range.c with -fexceptions.
45306 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
45307 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
45308 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
45309 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
45310 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
45311 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45312 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
45313 sync_file_range as cancellation point
45314 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
45315 now a wrapper around __call_sync_file_range with cancellation handling.
45316 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
45317 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
45318 function name to __call_sync_file_range.
45319 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
45320 Add call_sync_file_range.
748876bf 45321
6e63d5e1
AS
453222011-04-01 Andreas Schwab <schwab@redhat.com>
45323
45324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 45325 bits/timex.h.
6e63d5e1 45326
46998f74
UD
453272011-04-01 Ulrich Drepper <drepper@gmail.com>
45328
4c1423ed
UD
45329 * iconv/iconv.h: Fix typo in comment.
45330 * io/fcntl.h: Likewise.
45331 * libio/stdio.h: Likewise.
45332 * posix/spawn.h: Likewise.
45333 * posix/unistd.h: Likewise.
45334 * stdlib/stdlib.h: Likewise.
45335 * time/time.h: Likewise.
45336 * wcsmbs/wchar.h: Likewise.
45337
158648c0
UD
45338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
45339 open_by_handle): Add.
45340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
45341 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
45342 Augment a few comments.
45343 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
45344 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45345 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
45346 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45347 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
45348 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
45349 open_by_handle.
45350
46998f74
UD
45351 * io/fcntl.h (AT_EMPTY_PATH): Define.
45352
83fe108b
UD
453532011-03-30 Ulrich Drepper <drepper@gmail.com>
45354
45355 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
45356 * sysdeps/unix/sysv/linux/bits/time.h: New file.
45357 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
45358 to...
45359 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
45360 * Versions.def: Add GLIBC_2.14.
45361 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
45362 Export.
83fe108b 45363
bb242059
UD
453642011-03-22 Ulrich Drepper <drepper@gmail.com>
45365
45366 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
45367 round counter.
45368 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45369
c97a1282
L
453702011-03-20 H.J. Lu <hongjiu.lu@intel.com>
45371
45372 [BZ #12597]
45373 * string/test-strncmp.c (do_page_test): New function.
45374 (check2): Likewise.
45375 (test_main): Call check2.
45376 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
45377
2a115601
UD
453782011-03-20 Ulrich Drepper <drepper@gmail.com>
45379
45380 [BZ #12587]
45381 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
45382 Handle cache information in CPU leaf 4.
45383 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
45384
8126d904
UD
453852011-03-18 Ulrich Drepper <drepper@gmail.com>
45386
042c49c6 45387 [BZ #12583]
8126d904
UD
45388 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
45389 character representation.
45390 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
45391
ccfe366e
RA
453922011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
45393
45394 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
45395 END(__isnan) to END(__isnanf) to match function entry point/label
45396 EALIGN(__isnanf,...).
45397
c6e13027
JJ
453982011-03-10 Jakub Jelinek <jakub@redhat.com>
45399
45400 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45401
33f85a3f
UD
454022011-03-10 Ulrich Drepper <drepper@gmail.com>
45403
028478fa
UD
45404 [BZ #12510]
45405 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45406 copy from the symbol referenced in the relocation to initialize the
45407 used variable.
45408 Patch by Piotr Bury <pbury@goahead.com>.
45409 * elf/Makefile: Add rules to build and tst-unique3.
45410 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45411 * elf/tst-unique3.cc: New file.
45412 * elf/tst-unique3.h: New file.
45413 * elf/tst-unique3lib.cc: New file.
45414 * elf/tst-unique3lib2.cc: New file.
45415
33f85a3f
UD
45416 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45417
03592fc7
MF
454182011-03-10 Mike Frysinger <vapier@gentoo.org>
45419
45420 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45421 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
45422 to _start.
03592fc7 45423
6a5ee102
UD
454242011-03-06 Ulrich Drepper <drepper@gmail.com>
45425
45426 * elf/dl-load.c (_dl_map_object): If we are looking for the first
45427 to-be-loaded object along a path to loader is ld.so.
45428
7e4ba49c
HJ
454292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45430 Ulrich Drepper <drepper@gmail.com>
45431
45432 * sysdeps/x86_64/memset.S: After aligning destination, code
45433 branches to different locations depending on the value of
45434 misalignment, when multiarch is enabled. Fix this.
45435
454362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
45437
45438 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45439 Set _x86_64_preferred_memory_instruction for AMD processsors.
45440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45441 Set bit_Prefer_SSE_for_memop for AMD processors.
45442
13a804de
UD
454432011-03-04 Ulrich Drepper <drepper@gmail.com>
45444
45445 * libio/fmemopen.c (fmemopen): Optimize a bit.
45446
9d25c392
AS
454472011-03-03 Andreas Schwab <schwab@redhat.com>
45448
45449 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45450
a5543c6a
RM
454512011-03-03 Roland McGrath <roland@redhat.com>
45452
45453 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45454
012d35f7
DM
454552011-02-28 Aurelien Jarno <aurelien@aurel32.net>
45456
7e4ba49c 45457 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
45458 __bzero_ultra1 instead of __memset_ultra1.
45459
4bff6e01
AS
454602011-02-23 Andreas Schwab <schwab@redhat.com>
45461 Ulrich Drepper <drepper@gmail.com>
45462
45463 [BZ #12509]
45464 * include/link.h (struct link_map): Add l_orig_initfini.
45465 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45466 returning unsuccessfully.
45467 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45468 close of a file loaded at startup, restore the original l_initfini
45469 list.
45470 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45471 list, store the pointer.
45472 * elf/Makefile ($(objpfx)noload-mem): New rule.
45473 (noload-ENV): Define.
45474 (tests): Add $(objpfx)noload-mem.
45475 * elf/noload.c: Include <memcheck.h>.
45476 (main): Call mtrace. Close all opened handles.
45477
f2092faf
AS
454782011-02-17 Andreas Schwab <schwab@redhat.com>
45479
45480 [BZ #12454]
45481 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45482 dependencies are missing.
45483
6c8a2e88
ST
454842011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
45485
f2092faf 45486 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
45487 Hurd needs munmap.
45488 * sysdeps/mach/hurd/ifreq.h: New file.
45489
84a42118
PB
454902011-01-27 Petr Baudis <pasky@suse.cz>
45491 Ulrich Drepper <drepper@gmail.com>
45492
071f805e 45493 [BZ 12445]#
84a42118
PB
45494 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45495 to extend_alloca().
45496 * stdio-common/bug23.c: New file.
45497 * stdio-common/Makefile (tests): Add bug23.
45498
e23fe25b
AS
454992010-09-28 Andreas Schwab <schwab@redhat.com>
45500 Ulrich Drepper <drepper@gmail.com>
45501
45502 [BZ #12489]
45503 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45504 before performing relro protection. At old place add assertion
45505 to make sure nothing changed.
45506
d3f02e10
NS
455072011-02-17 Nathan Sidwell <nathan@codesourcery.com>
45508 Glauber de Oliveira Costa <glommer@gmail.com>
45509
45510 * elf/elf.h: Add new ARM TLS relocs.
45511
d55fd7a5
RA
455122011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
45513
45514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45515 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45516 cast from r3.
45517 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
45518 'tests' variable.
45519 * sysdeps/wordsize-64/tst-writev.c: New file.
45520
2206397e
RA
455212011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
45522
45523 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45524 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45525 insns in _dl_start to prevent a TOC reference before relocs are
45526 resolved.
45527
e9433893
UD
455282011-02-15 Ulrich Drepper <drepper@gmail.com>
45529
45530 [BZ #12469]
45531 * Makeconfig: Remove RANLIB definition.
45532 * Makerules: Don't use RANLIB.
45533 * aclocal.m4: Remove ranlib test.
45534 * configure.in: No need to check for ranlib.
45535 * elf/rtld-Rules: Don't use RANLIB.
45536
f75286c6
ST
455372011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
45538
8e31c82d
ST
45539 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45540 protection macro.
45541 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45542 inclusion protection macro.
45543
f75286c6
ST
45544 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45545 SIGRTMIN and SIGRTMAX and print information in that case only when
45546 SIGRTMIN is defined.
45547
c1d0e639
JJ
455482011-02-11 Jakub Jelinek <jakub@redhat.com>
45549
45550 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45551 arginfo fn returning -1.
45552
45553 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45554 and thousands string is zero terminated.
45555
edf9294e
AS
455562011-02-03 Andreas Schwab <schwab@redhat.com>
45557
45558 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45559 sysdeps/unix/sysv/linux/bits/socket.h.
45560
2b7e92df
ST
455612011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
45562
edf9294e
AS
45563 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45564 (__CPU_COUNT): Remove old macros.
45565 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45566 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45567 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
45568 (__sched_cpualloc, __sched_cpufree): Add declarations.
45569
a4c7ea7b
UD
455702011-02-05 Ulrich Drepper <drepper@gmail.com>
45571
45572 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45573 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45574 * nscd/aicache.c (addhstaiX): Return timeout of added value.
45575 (readdhstai): Return value of addhstaiX call.
45576 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45577 (addgrbyX): Return value returned by cache_addgr.
45578 (readdgrbyname): Return value returned by addgrbyX.
45579 (readdgrbygid): Likewise.
45580 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45581 (addpwbyX): Return value returned by cache_addpw.
45582 (readdpwbyname): Return value returned by addhstbyX.
45583 (readdpwbyuid): Likewise.
45584 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45585 (addservbyX): Return value returned by cache_addserv.
45586 (readdservbyname): Return value returned by addservbyX:
45587 (readdservbyport): Likewise.
45588 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45589 (addhstbyX): Return value returned by cache_addhst.
45590 (readdhstbyname): Return value returned by addhstbyX.
45591 (readdhstbyaddr): Likewise.
45592 (readdhstbynamev6): Likewise.
45593 (readdhstbyaddrv6): Likewise.
45594 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45595 (readdinitgroups): Return value returned by addinitgroupsX.
45596 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45597 (prune_cache): Keep track of timeout value of re-added entries.
45598 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45599 * nscd/nscd.h: Adjust prototypes of readd* functions.
45600
a0bf67cc
RM
456012011-02-04 Roland McGrath <roland@redhat.com>
45602
45603 * nis/nis_server.c (nis_servstate): Use the right name for 0.
45604 (nis_stats): Likewise.
45605 * nis/nis_modify.c (nis_modify): Likewise.
45606 * nis/nis_remove.c (nis_remove): Likewise.
45607 * nis/nis_add.c (nis_add): Likewise.
45608
45609 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45610
45611 * posix/fnmatch_loop.c: Add some consts.
45612
45613 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45614
435b95eb
L
456152011-02-02 H.J. Lu <hongjiu.lu@intel.com>
45616
45617 [BZ #12460]
45618 * config.make.in (config-cflags-novzeroupper): Define.
45619 * configure.in: Substitute libc_cv_cc_novzeroupper.
45620 * elf/Makefile (AVX-CFLAGS): Define.
45621 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45622 (CFLAGS-tst-auditmod4a.c): Likewise.
45623 (CFLAGS-tst-auditmod4b.c): Likewise.
45624 (CFLAGS-tst-auditmod6b.c): Likewise.
45625 (CFLAGS-tst-auditmod6c.c): Likewise.
45626 (CFLAGS-tst-auditmod7b.c): Likewise.
45627 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45628
8517b15e
UD
456292011-02-02 Ulrich Drepper <drepper@gmail.com>
45630
45631 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45632 function to the callback.
45633 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45634
10a656fe
AS
456352011-02-02 Andreas Schwab <schwab@redhat.com>
45636
45637 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45638 of errno.
45639
968dad0a
UD
456402011-01-19 Ulrich Drepper <drepper@gmail.com>
45641
9f94d2ea 45642 [BZ #11724]
968dad0a
UD
45643 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45644 of constructors.
45645 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45646 of destructors.
45647 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45648
45649 [BZ #11724]
45650 * elf/Makefile: Add rules to build and run new test.
45651 * elf/tst-initorder.c: New file.
45652 * elf/tst-initorder.exp: New file.
45653 * elf/tst-initordera1.c: New file.
45654 * elf/tst-initordera2.c: New file.
45655 * elf/tst-initordera3.c: New file.
45656 * elf/tst-initordera4.c: New file.
45657 * elf/tst-initorderb1.c: New file.
45658 * elf/tst-initorderb2.c: New file.
45659 * elf/tst-order-a1.c: New file.
45660 * elf/tst-order-a2.c: New file.
45661 * elf/tst-order-a3.c: New file.
45662 * elf/tst-order-a4.c: New file.
45663 * elf/tst-order-b1.c: New file.
45664 * elf/tst-order-b2.c: New file.
45665 * elf/tst-order-main.c: New file.
45666 New test case by George Gensure <werkt0@gmail.com>.
45667
86e92359
UD
456682010-10-01 Andreas Schwab <schwab@redhat.com>
45669
45670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45671 decoding ACE if AI_CANONIDN.
45672
5d5732b0
UD
456732011-01-18 Ulrich Drepper <drepper@gmail.com>
45674
45675 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45676
a77e8cbc
UD
456772011-01-17 Ulrich Drepper <drepper@gmail.com>
45678
6392473f
UD
45679 * version.h (RELEASE): Bump for 2.13 release.
45680 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45681
620a0529
UD
45682 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45683
18ba70a5
UD
45684 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45685 MADV_NOHUGEPAGE.
32465c3e
UD
45686 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45687 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45688 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45689 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45691 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45692
c0dafcf1
UD
45693 * posix/getconf.c: Update copyright year.
45694 * catgets/gencat.c: Likewise.
45695 * csu/version.c: Likewise.
45696 * debug/catchsegv.sh: Likewise.
45697 * debug/xtrace.sh: Likewise.
45698 * elf/ldconfig.c: Likewise.
45699 * elf/ldd.bash.in: Likewise.
45700 * elf/sprof.c (print_version): Likewise.
45701 * iconv/iconv_prog.c: Likewise.
45702 * iconv/iconvconfig.c: Likewise.
45703 * locale/programs/locale.c: Likewise.
45704 * locale/programs/localedef.c: Likewise.
45705 * malloc/memusage.sh: Likewise.
45706 * malloc/mtrace.pl: Likewise.
45707 * nscd/nscd.c (print_version): Likewise.
45708 * nss/getent.c: Likewise.
45709
a77e8cbc
UD
45710 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45711 PF_CAIF, and PF_ALG.
45712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45713
77e8bddf
AS
457142011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45715
1f20b93a
AS
45716 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45717 (modules-names): Use them.
45718 (ifunc-test-modules, ifunc-pie-tests): Define.
45719 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45720 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45721 (test-extras): Likewise.
45722 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45723 $(compile-command.c).
45724 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45725 (all-built-dso): Define.
45726 (check-textrel.out, check-execstack.out): Depend on it.
45727
77e8bddf
AS
45728 * configure.in: Don't override --enable-multi-arch.
45729
bc425b33
UD
457302011-01-15 Ulrich Drepper <drepper@gmail.com>
45731
45732 [BZ #6812]
45733 * nscd/hstcache.c (tryagain): Define.
45734 (cache_addhst): Return tryagain not notfound for temporary errors.
45735 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45736 failed.
45737
794c3ad3
UD
457382011-01-14 Ulrich Drepper <drepper@gmail.com>
45739
70181fdd
UD
45740 [BZ #10563]
45741 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45742 to make the syscall.
45743 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45744
794c3ad3
UD
45745 [BZ #12378]
45746 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45747 and fall back to matching as normal character if the string ends before
45748 the matching ']' is found. This is what POSIX requires.
45749 * posix/testfnm.c: Adjust test result.
45750 * posix/globtest.sh: Adjust test result. Add new test.
45751 * posix/tst-fnmatch.input: Likewise.
45752 * posix/tst-fnmatch2.c: Add new test.
45753
68dc9497
AS
457542010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45755
45756 * elf/Makefile (check-execstack): Revert last change. Depend on
45757 check-execstack.h.
45758 (check-execstack.h): New target.
45759 (generated): Add check-execstack.h.
45760 * elf/check-execstack.c: Include "check-execstack.h".
45761 (main): Revert last change.
45762 (handle_file): Return zero if GNU_STACK is absent and
45763 DEFAULT_STACK_PERMS doesn't include PF_X.
45764
451f001b
UD
457652011-01-13 Ulrich Drepper <drepper@gmail.com>
45766
cfa28e56
UD
45767 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45768 in child fails because the descriptor is already closed.
8cf8ce17
UD
45769 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45770 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45771 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 45772
1086d70d
UD
45773 [BZ #12397]
45774 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45775 syscall.
45776
451f001b
UD
45777 [BZ #10484]
45778 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45779 temporary buffer used to handle multi lookups locally.
a85b5cb4 45780 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 45781
08769175
UD
457822011-01-12 Ulrich Drepper <drepper@gmail.com>
45783
45784 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45785 loader is ld.so.
45786
5e49c52e
UD
457872011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45788
45789 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45790 alignment for SSE2.
45791
60522a5f
UD
457922011-01-12 Ulrich Drepper <drepper@gmail.com>
45793
45794 [BZ #12394]
45795 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45796 characters. When rounding increased number of integer digits recompute
45797 number of groups.
45798 * stdio-common/tst-grouping.c: New file.
45799 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45800
f257bbd7
UD
458012011-01-09 Ulrich Drepper <drepper@gmail.com>
45802
45803 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45804 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45805
45806 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45807 void.
45808 * bits/select.h: Likewise.
45809
fa9c15cb
UD
458102011-01-08 Ulrich Drepper <drepper@gmail.com>
45811
45812 * po/ja.po: Update from translation team.
45813
16c2895f
DM
458142011-01-04 David S. Miller <davem@sunset.davemloft.net>
45815
45816 [BZ #11155]
45817 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45818 implementation just like for lxstat, fxstatat, et al.
45819
2543fef2
JM
458202010-12-27 Jim Meyering <meyering@redhat.com>
45821
45822 [BZ #12348]
45823 * posix/regexec.c (build_trtable): Return failure indication upon
45824 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45825
98727dbe
UD
458262010-12-25 Ulrich Drepper <drepper@gmail.com>
45827
5bd6dc5c
UD
45828 [BZ #12201]
45829 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45830 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45831 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45832 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45833
97983464
UD
45834 [BZ #12207]
45835 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45836
98727dbe
UD
45837 [BZ #12204]
45838 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45839 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45840
4a531bb0
L
458412010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45842
45843 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45844 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45845 script has SORT_BY_INIT_PRIORITY.
45846 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45847 NO_CTORS_DTORS_SECTIONS is defined.
45848 * elf/soinit.c: Likewise.
45849 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45850 NO_CTORS_DTORS_SECTIONS is defined.
45851 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45852 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45853 * sysdeps/sh/init-first.c: Likewise.
45854 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45855
07eb4b71
UD
458562010-12-24 Ulrich Drepper <drepper@gmail.com>
45857
45858 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45859 always use the slow path.
45860
30950a5f
RA
458612010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45862
45863 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45864 similar rule which adds the sysdep directories to the header search in
45865 order to pick up the correct platform stackinfo.h.
45866 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45867 perform test if it is, otherwise return successfully without testing.
45868 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45869 DEFAULT_STACK_PERMS define in stackinfo.h.
45870 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45871 defined in stackinfo.h.
45872 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45873 DEFAULT_STACK_PERMS defined in stackinfo.h.
45874 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45875 * sysdeps/ia64/stackinfo.h: Likewise.
45876 * sysdeps/s390/stackinfo.h: Likewise.
45877 * sysdeps/sh/stackinfo.h: Likewise.
45878 * sysdeps/sparc/stackinfo.h: Likewise.
45879 * sysdeps/x86_64/stackinfo.h: Likewise.
45880 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45881 PF_X for powerpc64. Retain PF_X for powerpc32.
45882
db753e2c
UD
458832010-12-19 Ulrich Drepper <drepper@gmail.com>
45884
14b697f7
UD
45885 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45886 accurately.
db753e2c
UD
45887 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45888 GETDENTS_64BIT_ALIGNED.
45889
28300719
UD
458902010-12-14 Ulrich Drepper <dreper@gmail.com>
45891
14b697f7 45892 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 45893
4f197237
AS
458942010-12-10 Andreas Schwab <schwab@redhat.com>
45895
dbb0472f
AS
45896 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45897 _GNU_SOURCE.
45898
4f197237
AS
45899 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45900 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45901 Remove __restrict.
45902 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45903 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45904
fb88ac72
UD
459052010-12-09 Ulrich Drepper <drepper@gmail.com>
45906
45907 [BZ #11655]
45908 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45909 are initialized.
45910
42acbb92
JJ
459112010-12-09 Jakub Jelinek <jakub@redhat.com>
45912
45913 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45914
c038d98d
UD
459152010-12-03 Ulrich Drepper <drepper@gmail.com>
45916
45917 * po/it.po: Update from translation team.
45918
3a4a2499
L
459192010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45920
45921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45922 unused codes.
45923
1e24cf6e
UD
459242010-11-30 Ulrich Drepper <drepper@gmail.com>
45925
45926 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45927
a7690819
AS
459282010-11-24 Andreas Schwab <schwab@redhat.com>
45929
45930 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45931 specially.
45932 (gaih_getanswer_slice): Likewise.
45933
3bf8d1b1
JJ
459342010-10-20 Jakub Jelinek <jakub@redhat.com>
45935
45936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45937
6db52fbb
PB
459382010-05-31 Petr Baudis <pasky@suse.cz>
45939
45940 [BZ #11149]
45941 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45942 silently even in the chroot mode.
45943
eaca7569
UD
459442010-11-22 Ulrich Drepper <drepper@gmail.com>
45945
45946 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45947 last patch a bit. Pretty printing
45948
3056dcdb
UD
459492010-05-31 Petr Baudis <pasky@suse.cz>
45950
45951 [BZ #10085]
45952 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45953 initialization of skip_initgroups_dyn.
45954
cf7c9078
UD
459552010-11-19 Ulrich Drepper <drepper@gmail.com>
45956
45957 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45958 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45959
a1fb5e3e
UD
459602010-11-16 Ulrich Drepper <drepper@gmail.com>
45961
45962 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45963
3540d66b
AS
459642010-11-11 Andreas Schwab <schwab@redhat.com>
45965
45966 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45967 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45968 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45969 ($(objpfx)tst-fnmatch-mem): New rule.
45970 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45971 * posix/tst-fnmatch.c (main): Call mtrace.
45972
13b69574
L
459732010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45974
45975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45976 Support Intel processor model 6 and model 0x2c.
45977
da93d214
LM
459782010-11-10 Luis Machado <luisgpm@br.ibm.com>
45979
45980 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45981 signed comparison.
45982
8ca52c6e
L
459832010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45984
45985 [BZ #12205]
45986 * string/test-strncasecmp.c (check_result): New function.
45987 (do_one_test): Use it.
45988 (check1): New function.
45989 (test_main): Use it.
45990 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45991 Support strcasecmp and strncasecmp.
45992
69da074d
UD
459932010-11-08 Ulrich Drepper <drepper@gmail.com>
45994
45995 [BZ #12194]
45996 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45998
ff02d528
L
459992010-11-07 H.J. Lu <hongjiu.lu@intel.com>
46000
46001 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46002 IFUNC support.
46003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46004 memset-x86-64.
46005 * sysdeps/x86_64/multiarch/bzero.S: New file.
46006 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46007 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46008 * sysdeps/x86_64/multiarch/memset.S: New file.
46009 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46011 Set bit_Prefer_SSE_for_memop for Intel processors.
46012 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46013 Define.
46014 (index_Prefer_SSE_for_memop): Define.
46015 (HAS_PREFER_SSE_FOR_MEMOP): Define.
46016
344d0b54
LM
460172010-11-04 Luis Machado <luisgpm@br.ibm.com>
46018
46019 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46020 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46021
c0dde15b
UD
460222010-11-03 H.J. Lu <hongjiu.lu@intel.com>
46023
46024 [BZ #12191]
46025 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46026 (__x86_64_raw_data_cache_size_half): Likewise.
46027 (__x86_64_raw_shared_cache_size): Likewise.
46028 (__x86_64_raw_shared_cache_size_half): Likewise.
46029
46030 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46031 (__x86_64_raw_data_cache_size_half): Likewise.
46032 (__x86_64_raw_shared_cache_size): Likewise.
46033 (__x86_64_raw_shared_cache_size_half): Likewise.
46034 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46035 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46036 and __x86_64_raw_shared_cache_size_half. Round
46037 __x86_64_data_cache_size_half, __x86_64_data_cache_size
46038 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46039 to multiple of 256 bytes.
46040
0e516e0e
MS
460412010-11-03 Ulrich Drepper <drepper@gmail.com>
46042
46043 [BZ #12167]
46044 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46045 of inacessible symlinks. Verify result of symlink before returning it.
46046 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46047 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46048
0e012e87
ER
460492010-10-28 Erich Ritz <erichritz@gmail.com>
46050
46051 * math/math.h (isinf): Fix typo in comment.
46052
de0ff7bc
UD
460532010-11-01 Ulrich Drepper <drepper@gmail.com>
46054
46055 * po/da.po: Update from translation team.
46056
fa41c84d
UD
460572010-10-26 Ulrich Drepper <drepper@gmail.com>
46058
46059 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46060 is added to the list.
46061
f0967738
AK
460622010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46063 Ulrich Drepper <drepper@gmail.com>
46064
46065 * elf/dl-object.c (_dl_new_object): Don't append the new object to
46066 the global list here. Move code to...
46067 (_dl_add_to_namespace_list): ...here. New function.
46068 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46069 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46070 * elf/dl-load.c (lose): Don't remove the element from the list.
46071 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46072 (_dl_map_object): Likewise.
46073
460742010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
46075
46076 [BZ #12159]
46077 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46078 into all bytes of SSE register.
46079 Patch by Richard Li <richardpku@gmail.com>.
46080
f0967738 460812010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
46082
46083 [BZ #12140]
46084 * malloc/malloc.c (_int_free): Fill correct number of bytes when
46085 perturbing.
46086
d0b9e94f
MB
460872010-10-20 Michael B. Brutman <brutman@us.ibm.com>
46088
46089 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46090 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46091 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46092 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46094 submachine.
46095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46096
8e9f92e9
AS
460972010-10-22 Andreas Schwab <schwab@redhat.com>
46098
46099 * include/dlfcn.h (__RTLD_SECURE): Define.
46100 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
46101 mode & __RTLD_SECURE instead.
46102 (open_path): Rename preloaded parameter to secure.
46103 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46104 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46105 * elf/dl-deps.c (openaux): Likewise.
46106 * elf/rtld.c (struct map_args): Remove is_preloaded.
46107 (map_doit): Don't use it.
46108 (dl_main): Likewise.
46109 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46110 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46111
bc96fbda
AS
461122010-09-09 Andreas Schwab <schwab@redhat.com>
46113
46114 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46115 (sysd-rules-targets): Remove duplicates.
46116 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46117 rtld-%.$o dependency.
46118
22cd1c9b
AS
461192010-10-18 Andreas Schwab <schwab@redhat.com>
46120
46121 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46122 _dl_map_object do it.
46123
18edac48
UD
461242010-10-19 Ulrich Drepper <drepper@gmail.com>
46125
46126 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46127 fast fma builtins, define the macros in the C99 standard.
46128 (FP_FAST_FMAF): Likewise.
46129 (FP_FAST_FMAL): Likewise.
46130 * sysdeps/x86_64/bits/mathdef.h: Likewise.
46131
46132 * bits/mathdef.h: Update copyright year.
46133 * sysdeps/powerpc/bits/mathdef.h: Likewise.
46134
d2050124
MM
461352010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
46136
46137 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46138 builtins, define the macros in the C99 standard.
46139 (FP_FAST_FMAF): Likewise.
46140 (FP_FAST_FMAL): Likewise.
46141 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46142 multiply/add.
46143 (FP_FAST_FMAF): Likewise.
46144
475facd1
JJ
461452010-10-15 Jakub Jelinek <jakub@redhat.com>
46146
46147 [BZ #3268]
46148 * math/libm-test.inc (fma_test): Some new testcases.
46149 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46150 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46151 y and infinite z. Do multiplication by C already in long double.
46152 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46154 y and infinite z. Do bitwise or of inexact bit into u.d.
46155 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46156 * sysdeps/i386/fpu/s_fmaf.S: Removed.
46157 * sysdeps/i386/fpu/s_fma.S: Removed.
46158 * sysdeps/i386/fpu/s_fmal.S: Removed.
46159
7c08a05c
JJ
461602010-10-16 Jakub Jelinek <jakub@redhat.com>
46161
46162 [BZ #3268]
46163 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46165 computation is not scheduled after fetestexcept. Fix value
46166 of minimum denormal long double.
46167
f3f7372d
JJ
461682010-10-14 Jakub Jelinek <jakub@redhat.com>
46169
46170 [BZ #3268]
46171 * math/libm-test.inc (fma_test): Add some more tests.
46172 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46173 correctly.
46174
14d43591
AS
461752010-10-15 Andreas Schwab <schwab@redhat.com>
46176
46177 * scripts/data/localplt-s390-linux-gnu.data: New file.
46178 * scripts/data/localplt-s390x-linux-gnu.data: New file.
46179
5e908464
JJ
461802010-10-13 Jakub Jelinek <jakub@redhat.com>
46181
46182 [BZ #3268]
46183 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46184 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46185 instead of dbl-64.
46186 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46187 inlines.
46188 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46190 if one of x and y is very large and the other is subnormal.
46191 * sysdeps/s390/fpu/s_fmaf.c: New file.
46192 * sysdeps/s390/fpu/s_fma.c: New file.
46193 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46194 * sysdeps/powerpc/fpu/s_fma.S: New file.
46195 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46196 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46197 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46198
461992010-10-12 Jakub Jelinek <jakub@redhat.com>
46200
46201 [BZ #3268]
46202 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46203 fma tests.
46204 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46205 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46206 * sysdeps/i386/i686/multiarch/s_fma.c: Include
46207 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46208 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46209 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46210 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46211
b833d51f
UD
462122010-10-12 Ulrich Drepper <drepper@redhat.com>
46213
46214 [BZ #12078]
46215 * posix/regcomp.c (parse_branch): One more memory leak plugged.
46216 * posix/bug-regex31.input: Add test case.
46217
1751705d
UD
462182010-10-11 Ulrich Drepper <drepper@gmail.com>
46219
e9b9cbf5
UD
46220 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46221 * posix/bug-regex31.input: New file.
46222
46223 [BZ #12078]
46224 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46225 (parse_sub_exp): Fix last change, use postorder.
46226
ef06edbe
UD
46227 * posix/bug-regex31.c: New file.
46228 * posix/Makefile: Add rules to build and run bug-regex31.
46229
a129c80d
UD
46230 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46231
46232 [BZ #12078]
46233 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46234
b76b818e
UD
46235 [BZ #12108]
46236 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46237 to have entries in sys_siglist.
46238
1751705d
UD
46239 [BZ #12093]
46240 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46241 be NULL.
46242
9ff8d36f
JJ
462432010-10-07 Jakub Jelinek <jakub@redhat.com>
46244
46245 [BZ #3268]
46246 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46247 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46248 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46249 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46250 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46251 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46252 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46253 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46254 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46255 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46256 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46257 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
46258 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
46259 * math/ftestexcept.c (fetestexcept): Likewise.
46260 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
46261 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
46262 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
46263 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
46264 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
46265 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
46266 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46267
af325969
UD
462682010-10-11 Ulrich Drepper <drepper@gmail.com>
46269
c579b202 46270 [BZ #12107]
af325969
UD
46271 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
46272 newline.
46273
67a67b95
UD
462742010-10-06 Ulrich Drepper <drepper@gmail.com>
46275
46276 * string/bug-strstr1.c: New file.
46277 * string/Makefile: Add rules to build and run bug-strstr1.
46278
5fb308bc
EB
462792010-10-05 Eric Blake <eblake@redhat.com>
46280
46281 [BZ #12092]
46282 * string/str-two-way.h (two_way_long_needle): Always clear memory
46283 when skipping input due to the shift table.
46284
45db99c7
UD
462852010-10-03 Ulrich Drepper <drepper@gmail.com>
46286
3b111893
UD
46287 [BZ #12005]
46288 * malloc/mcheck.c: Handle large requests.
46289
45db99c7
UD
46290 [BZ #12077]
46291 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
46292 for strncmp and strncasecmp.
46293 * string/stratcliff.c: Add tests for strcmp and strncmp.
46294 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
46295
cf7a1eb8
NI
462962010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46297
46298 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
46299 __set_fpscr.
46300
6484ba5e
AJ
463012010-09-30 Andreas Jaeger <aj@suse.de>
46302
46303 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
46304 (CGROUP_SUPER_MAGIC): Define.
46305 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46306 Handle btrfs and cgroup file systems.
46307 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46308 Likewise.
46309
91c42559
LM
463102010-09-27 Luis Machado <luisgpm@br.ibm.com>
46311
46312 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
46313 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
46314
87a97932
AK
463152010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46316
46317 [BZ #12067]
46318 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
46319 trying to locate the ELF header.
46320
c21cc9bc
AS
463212010-09-27 Andreas Schwab <schwab@redhat.com>
46322
46323 [BZ #11611]
46324 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
46325 Mask out sign-bit copies when constructing f_fsid.
46326
315970f6
PB
463272010-09-24 Petr Baudis <pasky@suse.cz>
46328
46329 * debug/stack_chk_fail_local.c: Add missing licence exception.
46330 * debug/warning-nop.c: Likewise.
46331
1ac7a2c7
JM
463322010-09-15 Joseph Myers <joseph@codesourcery.com>
46333
46334 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
46335 implementing getdents64 using getdents syscall, set d_type if
46336 __ASSUME_GETDENTS32_D_TYPE.
46337
56801c50
AS
463382010-09-16 Andreas Schwab <schwab@redhat.com>
46339
46340 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
46341 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
46342
dda51327
UD
463432010-09-21 Ulrich Drepper <drepper@redhat.com>
46344
46345 [BZ #12037]
46346 * posix/unistd.h: Undo change of feature selection for ftruncate from
46347 2010-01-11.
46348
8ffcee4a
UD
463492010-09-20 Ulrich Drepper <drepper@redhat.com>
46350
a545ecd9 46351 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
46352 detection.
46353
e24f0a8b
AS
463542010-09-20 Andreas Schwab <schwab@redhat.com>
46355
46356 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
46357 fanotify_mark.
46358 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46359
7291c56f
AS
463602010-09-14 Andreas Schwab <schwab@redhat.com>
46361
46362 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
46363 variables after CHECK_SP call.
46364 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
46365
bc5fb037
AS
463662010-09-13 Andreas Schwab <schwab@redhat.com>
46367 Ulrich Drepper <drepper@redhat.com>
46368
46369 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
46370 re-relocationg ld.so.
46371 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
46372 _dl_init_paths call.
46373 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
46374 here anymore.
46375
e66e7419
UD
463762010-09-14 Ulrich Drepper <drepper@redhat.com>
46377
46378 * resolv/res_init.c (__res_vinit): Count the default server we added.
46379
c044aa75
CLT
463802010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
46381 Ulrich Drepper <drepper@redhat.com>
46382
46383 [BZ #11968]
46384 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
46385 (____longjmp_chk): Use %ebx for saving value across system call.
46386 Add unwind info.
46387
32cf4069
AS
463882010-09-06 Andreas Schwab <schwab@redhat.com>
46389
46390 * manual/Makefile: Don't mix pattern rules with normal rules.
46391
817328ee
AS
463922010-09-05 Andreas Schwab <schwab@linux-m68k.org>
46393
46394 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
46395 operation.
46396 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
46397 * libio/iofopncook.c (_IO_cookie_init): Likewise.
46398 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46399 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46400 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46401 Likewise.
46402
29fddf61
UD
464032010-09-04 Ulrich Drepper <drepper@redhat.com>
46404
46405 [BZ #11979]
46406 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46407 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46408
0959ffc9
UD
464092010-09-02 Ulrich Drepper <drepper@redhat.com>
46410
46411 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46412 * sysdeps/x86_64/addmul_1.S: Likewise.
46413 * sysdeps/x86_64/lshift.S: Likewise.
46414 * sysdeps/x86_64/mul_1.S: Likewise.
46415 * sysdeps/x86_64/rshift.S: Likewise.
46416 * sysdeps/x86_64/sub_n.S: Likewise.
46417 * sysdeps/x86_64/submul_1.S: Likewise.
46418
ece29840
ST
464192010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
46420
0959ffc9
UD
46421 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46422 Define __sched_param instead of SCHED_* and sched_param when
ece29840 46423 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 46424 * bits/sched.h [__need_schedparam]
ece29840 46425 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
46426 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46427 (__defined_schedparam): Define to 1.
ece29840
ST
46428 (__sched_param): New structure, identical to sched_param.
46429 (__need_schedparam): Undefine.
46430
e53a31fe
MF
464312010-08-31 Mike Frysinger <vapier@gentoo.org>
46432
fdc0c10d
MF
46433 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46434 (epoll_create1): Declare.
46435
e53a31fe
MF
46436 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46437
a726d796
AS
464382010-08-31 Andreas Schwab <schwab@redhat.com>
46439
46440 [BZ #7066]
46441 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46442 shifting retval into place.
46443
2f3e3dc7
UD
464442010-09-01 Ulrich Drepper <drepper@redhat.com>
46445
f2933da9
UD
46446 * nis/rpcsvc/nis.h: Update copyright notice.
46447 * nis/rpcsvc/nis.x: Likewise.
46448 * nis/rpcsvc/nis_callback.h: Likewise.
46449 * nis/rpcsvc/nis_callback.x: Likewise.
46450 * nis/rpcsvc/nis_object.x: Likewise.
46451 * nis/rpcsvc/nis_tags.h: Likewise.
46452 * nis/rpcsvc/yp.h: Likewise.
46453 * nis/rpcsvc/yp.x: Likewise.
46454 * nis/rpcsvc/ypupd.h: Likewise.
46455 * nis/yp_xdr.c: Likewise.
46456 * nis/ypupdate_xdr.c: Likewise.
46457
2f3e3dc7
UD
46458 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
46459 mainly the body of pmap_getport. Add parameters to specify timeouts.
46460 (pmap_getport): Use __libc_rpc_getport.
46461 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46462 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46463 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46464
f3dcc2f9
AS
464652010-08-31 Andreas Schwab <schwab@linux-m68k.org>
46466
46467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46468 fanotify_mark.
46469
6d34eb5b
RM
464702010-08-27 Roland McGrath <roland@redhat.com>
46471
46472 * sysdeps/i386/i686/multiarch/Makefile
46473 (CFLAGS-varshift.c): New variable.
46474
9ea3de11
UD
464752010-08-27 Ulrich Drepper <drepper@redhat.com>
46476
c96d23fc
UD
46477 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46478 * sysdeps/i386/i686/multiarch/varshift.c: New file.
46479
9ea3de11
UD
46480 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46481
46482 * sysdeps/x86_64/strlen.S: Minimal code improvement.
46483
623aac7f
L
464842010-08-26 H.J. Lu <hongjiu.lu@intel.com>
46485
46486 * sysdeps/x86_64/strlen.S: Unroll the loop.
46487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46488 strlen-sse2 strlen-sse2-bsf.
46489 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46490 __strlen_no_bsf if bit_Slow_BSF is set.
46491 (__strlen_sse42): Removed.
46492 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46493 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46494
8b2b7715
RM
464952010-08-25 Roland McGrath <roland@redhat.com>
46496
46497 * sysdeps/x86_64/multiarch/varshift.S: File removed.
46498 * sysdeps/x86_64/multiarch/varshift.c: New file.
46499 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46500 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46501 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46502 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46503
e73015f2
L
465042010-08-25 H.J. Lu <hongjiu.lu@intel.com>
46505
46506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46507 strlen-sse2 strlen-sse2-bsf.
46508 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46509 __strlen_sse2_bsf if bit_Slow_BSF is unset.
46510 (__strlen_sse2): Removed.
46511 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46512 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46514 bit_Slow_BSF for Atom.
46515 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46516 (index_Slow_BSF): Define.
46517 (HAS_SLOW_BSF): Define.
46518
df24a73e
UD
465192010-08-25 Ulrich Drepper <drepper@redhat.com>
46520
46521 [BZ #10851]
46522 * resolv/res_init.c (__res_vinit): When no server address at all
46523 is given default to loopback.
46524
f2ac4868
RM
465252010-08-24 Roland McGrath <roland@redhat.com>
46526
09055553
RM
46527 * configure.in: Remove config-name.h generation.
46528 * configure: Regenerated.
46529 * config-name.in: File removed.
46530 * scripts/config-uname.sh: New file.
46531 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46532 ($(objdir)config-name.h): New target.
46533
f2ac4868
RM
46534 * sunrpc/rpc_parse.h: Avoid nested comment.
46535
73f27d5e
RH
465362010-08-24 Richard Henderson <rth@redhat.com>
46537 Ulrich Drepper <drepper@redhat.com>
46538 H.J. Lu <hongjiu.lu@intel.com>
46539
46540 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46542 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46543 Replace _mm_srli_si128 with __m128i_shift_right. Replace
46544 _mm_alignr_epi8 with _mm_loadu_si128.
46545 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46546 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46547 (__m128i_shift_right): Removed.
46548 * sysdeps/i386/i686/multiarch/varshift.h: New file.
46549 * sysdeps/i386/i686/multiarch/varshift.S: New file.
46550 * sysdeps/x86_64/multiarch/varshift.h: New file.
46551 * sysdeps/x86_64/multiarch/varshift.S: New file.
46552
84b9230c
MF
465532010-08-21 Mike Frysinger <vapier@gentoo.org>
46554
46555 * configure.in: Move assembler checks to before sysdep dir checking.
46556
9bbd0ddc
PB
465572010-08-20 Petr Baudis <pasky@suse.cz>
46558
46559 * LICENSES: Sync the sunrpc license.
46560
9da4bb31
UD
465612010-08-19 Ulrich Drepper <drepper@redhat.com>
46562
a7ab6ec8
UD
46563 * sunrpc/auth_des.c: Update copyright notice once again.
46564 * sunrpc/auth_none.c: Likewise.
46565 * sunrpc/auth_unix.c: Likewise.
46566 * sunrpc/authdes_prot.c: Likewise.
46567 * sunrpc/authuxprot.c: Likewise.
46568 * sunrpc/bindrsvprt.c: Likewise.
46569 * sunrpc/clnt_gen.c: Likewise.
46570 * sunrpc/clnt_perr.c: Likewise.
46571 * sunrpc/clnt_raw.c: Likewise.
46572 * sunrpc/clnt_simp.c: Likewise.
46573 * sunrpc/clnt_tcp.c: Likewise.
46574 * sunrpc/clnt_udp.c: Likewise.
46575 * sunrpc/clnt_unix.c: Likewise.
46576 * sunrpc/des_crypt.c: Likewise.
46577 * sunrpc/des_soft.c: Likewise.
46578 * sunrpc/get_myaddr.c: Likewise.
46579 * sunrpc/getrpcport.c: Likewise.
46580 * sunrpc/key_call.c: Likewise.
46581 * sunrpc/key_prot.c: Likewise.
46582 * sunrpc/openchild.c: Likewise.
46583 * sunrpc/pm_getmaps.c: Likewise.
46584 * sunrpc/pm_getport.c: Likewise.
46585 * sunrpc/pmap_clnt.c: Likewise.
46586 * sunrpc/pmap_prot.c: Likewise.
46587 * sunrpc/pmap_prot2.c: Likewise.
46588 * sunrpc/pmap_rmt.c: Likewise.
46589 * sunrpc/rpc/auth.h: Likewise.
46590 * sunrpc/rpc/auth_unix.h: Likewise.
46591 * sunrpc/rpc/clnt.h: Likewise.
46592 * sunrpc/rpc/des_crypt.h: Likewise.
46593 * sunrpc/rpc/key_prot.h: Likewise.
46594 * sunrpc/rpc/netdb.h: Likewise.
46595 * sunrpc/rpc/pmap_clnt.h: Likewise.
46596 * sunrpc/rpc/pmap_prot.h: Likewise.
46597 * sunrpc/rpc/pmap_rmt.h: Likewise.
46598 * sunrpc/rpc/rpc.h: Likewise.
46599 * sunrpc/rpc/rpc_des.h: Likewise.
46600 * sunrpc/rpc/rpc_msg.h: Likewise.
46601 * sunrpc/rpc/svc.h: Likewise.
46602 * sunrpc/rpc/svc_auth.h: Likewise.
46603 * sunrpc/rpc/types.h: Likewise.
46604 * sunrpc/rpc/xdr.h: Likewise.
46605 * sunrpc/rpc_clntout.c: Likewise.
46606 * sunrpc/rpc_cmsg.c: Likewise.
46607 * sunrpc/rpc_common.c: Likewise.
46608 * sunrpc/rpc_cout.c: Likewise.
46609 * sunrpc/rpc_dtable.c: Likewise.
46610 * sunrpc/rpc_hout.c: Likewise.
46611 * sunrpc/rpc_main.c: Likewise.
46612 * sunrpc/rpc_parse.c: Likewise.
46613 * sunrpc/rpc_parse.h: Likewise.
46614 * sunrpc/rpc_prot.c: Likewise.
46615 * sunrpc/rpc_sample.c: Likewise.
46616 * sunrpc/rpc_scan.c: Likewise.
46617 * sunrpc/rpc_scan.h: Likewise.
46618 * sunrpc/rpc_svcout.c: Likewise.
46619 * sunrpc/rpc_tblout.c: Likewise.
46620 * sunrpc/rpc_util.c: Likewise.
46621 * sunrpc/rpc_util.h: Likewise.
46622 * sunrpc/rpcinfo.c: Likewise.
46623 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46624 * sunrpc/rpcsvc/key_prot.x: Likewise.
46625 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46626 * sunrpc/rpcsvc/mount.x: Likewise.
46627 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46628 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46629 * sunrpc/rpcsvc/rex.x: Likewise.
46630 * sunrpc/rpcsvc/rstat.x: Likewise.
46631 * sunrpc/rpcsvc/rusers.x: Likewise.
46632 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46633 * sunrpc/rpcsvc/spray.x: Likewise.
46634 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46635 * sunrpc/rtime.c: Likewise.
46636 * sunrpc/svc.c: Likewise.
46637 * sunrpc/svc_auth.c: Likewise.
46638 * sunrpc/svc_authux.c: Likewise.
46639 * sunrpc/svc_raw.c: Likewise.
46640 * sunrpc/svc_run.c: Likewise.
46641 * sunrpc/svc_simple.c: Likewise.
46642 * sunrpc/svc_tcp.c: Likewise.
46643 * sunrpc/svc_udp.c: Likewise.
46644 * sunrpc/svc_unix.c: Likewise.
46645 * sunrpc/svcauth_des.c: Likewise.
46646 * sunrpc/xcrypt.c: Likewise.
46647 * sunrpc/xdr.c: Likewise.
46648 * sunrpc/xdr_array.c: Likewise.
46649 * sunrpc/xdr_float.c: Likewise.
46650 * sunrpc/xdr_mem.c: Likewise.
46651 * sunrpc/xdr_rec.c: Likewise.
46652 * sunrpc/xdr_ref.c: Likewise.
46653 * sunrpc/xdr_sizeof.c: Likewise.
46654 * sunrpc/xdr_stdio.c: Likewise.
46655
9da4bb31
UD
46656 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46657 handling.
46658
bdaa77bc
AS
466592010-08-19 Andreas Schwab <schwab@redhat.com>
46660
46661 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46662
fe2f79db
LM
466632010-08-19 Luis Machado <luisgpm@br.ibm.com>
46664
46665 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46666 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46667 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46668 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46669 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46670 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46671 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46672 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46673 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46674 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46675 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46676 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46677 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46678 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46679
b9b42ee0
AB
466802010-07-26 Anton Blanchard <anton@samba.org>
46681
46682 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46683 * malloc/arena.c (heap_trim): Likewise.
46684
1c06ba31
UD
466852010-08-16 Ulrich Drepper <drepper@redhat.com>
46686
46687 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46688 here. Not...
46689 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46690 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46691
f8392f40
L
466922010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46693
46694 * sysdeps/i386/elf/Makefile: New file.
46695
3162f12e
AS
466962010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46697
46698 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46699 from fanotify_init.
46700 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46701 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46702
28c90b2c
UD
467032010-08-15 Ulrich Drepper <drepper@redhat.com>
46704
46705 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46706 of strncasecmp_l.
1feccb6c 46707 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 46708
ca6bb004
UD
467092010-08-14 Ulrich Drepper <drepper@redhat.com>
46710
e9f82e0d
UD
46711 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46712 strncase_l-nonascii.
46713 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46714 Add strncase_l-ssse3.
46715 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46716 * sysdeps/x86_64/strcmp.S: Likewise.
46717 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46718 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46719 * sysdeps/x86_64/strncase.S: New file.
46720 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46721 * sysdeps/x86_64/strncase_l.S: New file.
46722 * string/Makefile (strop-tests): Add strncasecmp.
46723 * string/test-strncasecmp.c: New file.
46724
46725 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46726 warning.
46727
ca6bb004
UD
46728 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46729 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46730
052fa7b3
AS
467312010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46732
46733 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46734
962dba78
UD
467352010-08-12 Ulrich Drepper <drepper@redhat.com>
46736
46737 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46738 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46739 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46740
bebff237
AM
467412010-05-01 Alan Modra <amodra@gmail.com>
46742
46743 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46744 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46745 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46746 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46747 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46748 tidying. Don't tail-call __sigjmp_save for static lib.
46749 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46750 save location.
46751 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46752 (CALL_MCOUNT): Add eh info, and nop after bl.
46753 (TAIL_CALL_SYSCALL_ERROR): New macro.
46754 (PSEUDO_RET): Use it.
46755 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46756 Correct save location of integer regs and cr.
46757 (_dl_profile_resolve): Correct cr save location. Delete nops
46758 after bl when SHARED. Reduce cfi size a little by better
46759 placement of cfi directives.
46760 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46761 make a stack frame. Instead use parm save area as a temp.
46762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46763 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46765 Don't make a stack frame for parent, use parm save area.
46766 Increase child stack frame to 112 bytes. Don't save unused reg,
46767 and adjust reg usage. Set up cfi on error recovery and
46768 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46770 (__makecontext): Add dummy nop after jump to exit.
46771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46772 Use correct parm save area and cr save, reduce stack frame.
46773 Correct cfi for possible PSEUDO_RET frame setup.
46774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46775 Branch to local label emitted by PSEUDO_RET rather than
46776 __syscall_error.
46777
02637374
AS
467782010-08-12 Andreas Schwab <schwab@redhat.com>
46779
46780 [BZ #11904]
46781 * locale/programs/locale.c (print_assignment): New function.
46782 (show_locale_vars): Use it.
46783
c3e2f19b
UD
467842010-08-11 Ulrich Drepper <drepper@redhat.com>
46785
3cdaa6ad
UD
46786 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46787 field.
46788 (struct statfs64): Likewise.
46789 (_STATFS_F_FLAGS): Define.
46790 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46791 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46792 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46793 (ST_VALID): Define locally.
46794 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46795 __statvfs_getflags, use the provided value.
46796 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46797 __ASSUME_STATFS_F_FLAGS.
46798
754f7da3
UD
46799 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46800
10b3bedc
UD
46801 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46802 Add sys/fanotify.h.
46803 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46804 fanotify_mask for GLIBC_2.13.
46805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46806 fanotify_init and fanotify_mark.
46807 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46808 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46809
c08fb0d7
UD
46810 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46811 Add prlimit.
46812 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46813 prlimit64 for GLIBC_2.13.
46814 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46815 prlimit64.
46816 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46817 syscall.
46818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46819 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46820 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46821 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46822 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46823 add prlimit alias.
46824 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46825
15bac72b
UD
46826 [BZ #11903]
46827 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46828 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46829
c3e2f19b
UD
46830 * nss/Makefile: Add rules to build and run tst-nss-test1.
46831 * shlib-versions: Add entry for libnss_test1.
46832 * nss/nss_test1.c: New file.
46833 * nss/tst-nss-test1.c: New file.
46834
46835 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46836 (__nss_configure_lookup): Set appropriate entry in
46837 __nss_configure_lookup to true.
46838 * nss/nsswitch.h: Define enum with indeces of databases in
46839 databases and __nss_database_custom arrays. Declare
46840 __nss_database_custom.
46841 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46842 to avoid using nscd when custom rules are installed.
46843 * nss/getXXbyYY_r.c: Likewise.
46844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46845
46846 * nss/nss_files/files-parse.c: Whitespace fixes.
46847
f15ce4d8
UD
468482010-08-09 Ulrich Drepper <drepper@redhat.com>
46849
46850 [BZ #11883]
46851 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46852 * posix/fnmatch_loop.c: Likewise.
46853
d22e4cc9
AK
468542010-07-17 Andi Kleen <ak@linux.intel.com>
46855
46856 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46857 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46858 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46859 * Versions.def [GLIBC_2.13]: Add.
46860
805bc17d
UD
468612010-08-06 Ulrich Drepper <drepper@redhat.com>
46862
46863 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46864 Also fail if tpwd after pwuid call is NULL.
46865
5a42321d
ST
468662010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46867
46868 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46869 when converting to ms.
46870
fd3ebeda
ST
468712010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46872
46873 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46874 EOPNOTSUPP errors with ENOTTY.
46875 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46876 EOPNOTSUPP errors with ENOTTY.
46877
73507d3a
UD
468782010-07-31 Ulrich Drepper <drepper@redhat.com>
46879
46880 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46881 Add strcasecmp_l-ssse3.
46882 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46883 strcasecmp.
46884 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46885 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46886 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46887
fe36dd02
UD
468882010-07-30 Ulrich Drepper <drepper@redhat.com>
46889
66f6765a
UD
46890 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46891
42e08a54
UD
46892 * string/Makefile (strop-tests): Add strcasecmp.
46893 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46894 strcasecmp_l-nonascii.
46895 (gen-as-const-headers): Add locale-defines.sym.
46896 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46897 * sysdeps/x86_64/strcasecmp.S: New file.
46898 * sysdeps/x86_64/strcasecmp_l.S: New file.
46899 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46900 * sysdeps/x86_64/locale-defines.sym: New file.
46901 * string/test-strcasecmp.c: New file.
46902
fe36dd02
UD
46903 * string/test-strcasestr.c: Test both ends of the range of characters.
46904 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46905
48cbc0d6
RM
469062010-07-29 Roland McGrath <roland@redhat.com>
46907
76e6d6bc 46908 [BZ #11856]
48cbc0d6
RM
46909 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46910
880113d9
UD
469112010-07-27 Ulrich Drepper <drepper@redhat.com>
46912
46913 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46914 for ld.so.
46915
deb9cabb
AS
469162010-07-27 Andreas Schwab <schwab@redhat.com>
46917
46918 * manual/memory.texi (Malloc Tunable Parameters): Document
46919 M_PERTURB.
46920
1c7570ff
RM
469212010-07-26 Roland McGrath <roland@redhat.com>
46922
46923 [BZ #11840]
46924 * configure.in (-fgnu89-inline check): Set and substitute
46925 gnu89_inline, not libc_cv_gnu89_inline.
46926 * configure: Regenerated.
46927 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46928
24fb0f88
UD
469292010-07-26 Ulrich Drepper <drepper@redhat.com>
46930
46931 * string/test-strnlen.c: New file.
46932 * string/Makefile (strop-tests): Add strnlen.
46933 * string/tester.c (test_strnlen): Add a few more test cases.
46934 * string/tst-strlen.c: Better error reporting.
46935
46936 * sysdeps/x86_64/strnlen.S: New file.
46937
8e96b93a
UD
469382010-07-24 Ulrich Drepper <drepper@redhat.com>
46939
46940 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46941 lower-latency instructions.
46942
dbc676d4
UD
469432010-07-23 Ulrich Drepper <drepper@redhat.com>
46944
46945 * string/test-strcasestr.c: New file.
46946 * string/test-strstr.c: New file.
46947 * string/Makefile (strop-tests): Add strstr and strcasestr.
46948 * string/str-two-way.h: Don't undefine MAX.
46949 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46950
f6a31e0e
AS
469512010-07-21 Andreas Schwab <schwab@redhat.com>
46952
46953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46954 strcasestr-nonascii.
46955 (CFLAGS-strcasestr-nonascii.c): Define.
46956 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46957 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46958 Remove unused attribute.
46959
5dbc3b6c
RM
469602010-07-20 Roland McGrath <roland@redhat.com>
46961
46962 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46963 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46964 ld.so.cache was broken. With it, there is no way to disable dsocaps
46965 like LD_HWCAP_MASK can disable hwcaps.
46966
23d101d8
EPM
469672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46968
46969 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46970
cc9f2e47
UD
469712010-07-16 Ulrich Drepper <drepper@redhat.com>
46972
46973 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46974 call in strcasestr.
46975 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46976 __strcasestr_sse42_nonascii.
46977 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46978 strcasestr-nonascii.c.
46979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46980
77c1b069
LM
469812010-06-15 Luis Machado <luisgpm@br.ibm.com>
46982
46983 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46984 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46985 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46986 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46987
440566c3
UD
469882010-07-09 Ulrich Drepper <drepper@redhat.com>
46989
46990 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46991 fcntl.
46992
5be9d05d
AS
469932010-07-06 Andreas Schwab <schwab@redhat.com>
46994
c30b7ee2 46995 [BZ #11577]
5be9d05d
AS
46996 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46997 dl_signal_cerror.
46998
8a492a67
UD
469992010-07-06 Ulrich Drepper <drepper@redhat.com>
47000
47001 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47002 _PC_PIPE_BUF using F_GETPIPE_SZ.
47003
713df3d5
RM
470042010-07-05 Roland McGrath <roland@redhat.com>
47005
47006 * manual/arith.texi (Rounding Functions): Fix rint description
47007 implicit in round description.
47008
702e8f14
UD
470092010-07-02 Ulrich Drepper <drepper@redhat.com>
47010
47011 * elf/Makefile: Fix linking for a few tests to make recent linker
47012 happy.
47013
52ed8be9
AS
470142010-06-30 Andreas Schwab <schwab@redhat.com>
47015
47016 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47017 $(common-objpfx)libc_nonshared.a.
47018
f47c9a11
LM
470192010-06-21 Luis Machado <luisgpm@br.ibm.com>
47020
47021 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47022 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47023 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47024 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47025 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47026 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47027 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47028 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47043 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47044 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47045 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47046 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47047 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47048 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47049 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47050 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47051 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47052 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47053 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47054 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47069
6fb8cbcb
L
470702010-06-25 H.J. Lu <hongjiu.lu@intel.com>
47071
47072 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47073 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
47074 * string/memmove.c (memmove): Renamed to ...
47075 (MEMMOVE): ...this. Default to memmove.
47076 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47077 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47078 (END_CHK): Define.
47079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47080 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47081 mempcpy-ssse3-back memmove-ssse3-back.
47082 * sysdeps/x86_64/multiarch/bcopy.S: New file .
47083 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47084 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47085 * sysdeps/x86_64/multiarch/memcpy.S: New file.
47086 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47087 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47088 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47089 * sysdeps/x86_64/multiarch/memmove.c: New file.
47090 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47091 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47092 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47093 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47094 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47095 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47096 Define.
47097 (index_Fast_Copy_Backward): Define.
47098 (HAS_ARCH_FEATURE): Define.
47099 (HAS_FAST_REP_STRING): Define.
47100 (HAS_FAST_COPY_BACKWARD): Define.
47101
4e733bac 471022010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
47103
47104 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47105 Restore proper fallback handling.
47106
63c4ed22
UD
471072010-06-19 Ulrich Drepper <drepper@redhat.com>
47108
ac2b484c
UD
47109 [BZ #11701]
47110 * posix/group_member.c (__group_member): Correct checking loop.
47111
63c4ed22
UD
47112 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47113 OOM in getpwuid_r correctly. Return error number when the caller
47114 should return, otherwise -1.
47115 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47116 call returning > 0 value.
47117 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47118
765ade4b
AS
471192010-06-07 Andreas Schwab <schwab@redhat.com>
47120
47121 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47122 libc_nonshared.a from targets in modules-names.
47123
80da2e09
KS
471242010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
47125
47126 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47127 requires it.
47128
158db122
LM
471292010-06-10 Luis Machado <luisgpm@br.ibm.com>
47130
47131 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47132 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47133 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47135
caa78cf8
AS
471362010-06-02 Andreas Schwab <schwab@redhat.com>
47137
47138 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47139
b2ef2c01
UD
471402010-06-14 Ulrich Drepper <drepper@redhat.com>
47141
47142 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47143 and F_GETPIPE_SZ.
47144 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47145 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47146 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47148 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47149 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47150
fbd643b6
RM
471512010-06-14 Roland McGrath <roland@redhat.com>
47152
47153 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47154
f32f2869
JJ
471552010-06-07 Jakub Jelinek <jakub@redhat.com>
47156
47157 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47158 __REDIRECT followed by __THROW.
47159 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47160 * posix/getopt.h (getopt): Likewise.
47161
2a50c078
EPM
471622010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
47163
47164 * hurd/lookup-at.c (__file_name_lookup_at): Accept
47165 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
47166 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47167 in AT_FLAGS.
47168 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47169 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47170
eb5ad2eb
LM
471712010-05-28 Luis Machado <luisgpm@br.ibm.com>
47172
47173 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47174
3c88fe1e
L
471752010-05-26 H.J. Lu <hongjiu.lu@intel.com>
47176
47177 [BZ #11640]
47178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47179 Properly check family and model.
47180
d2f73151
TY
471812010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
47182
47183 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47184
ebd2e13d
LM
471852010-05-24 Luis Machado <luisgpm@br.ibm.com>
47186
47187 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47188
b32b8b45
UD
471892010-05-21 Ulrich Drepper <drepper@redhat.com>
47190
47191 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47192 symbol reference.
47193
9acbe24d
AS
471942010-05-19 Andreas Schwab <schwab@redhat.com>
47195
47196 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47197 symbol reference.
47198
f0ccf6ea
AS
471992010-05-21 Andreas Schwab <schwab@redhat.com>
47200
3d04ff3a
AS
47201 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47202 and internal_recvmmsg.
47203 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47204 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47205 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47206 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47207
f0ccf6ea
AS
47208 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47209 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47210 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47211
5b08ac57
AS
472122010-05-20 Andreas Schwab <schwab@redhat.com>
47213
47214 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47215
4828935d
LM
472162010-05-17 Luis Machado <luisgpm@br.ibm.com>
47217
47218 POWER7 optimizations.
47219 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47220 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47221
373d545e
UD
472222010-05-19 Ulrich Drepper <drepper@redhat.com>
47223
47224 * version.h: Update for 2.13 development version.
47225
21a2b1ae
AS
472262010-05-12 Andrew Stubbs <ams@codesourcery.com>
47227
47228 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47229 exceptions. Return 0.
47230
3f7dcb2b
RM
472312010-05-07 Roland McGrath <roland@redhat.com>
47232
47233 * elf/ldconfig.c (main): Add a const.
47234
5f24d53a 472352010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 47236
a160f8d8
UD
47237 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47238 (args_options): Add no-idn option.
47239 (ahosts_keys_int): Add idn_flags to ai_flags.
47240 (parse_option): Handle 'i' option to clear idn_flags.
47241
5f24d53a
UD
47242 * malloc/malloc.c (_int_free): Possible race in the most recently
47243 added check. Only act on the data if no current modification
47244 happened.
265bb1ce
UD
47245
47246See ChangeLog.17 for earlier changes.