]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
PowerPC LE memcpy
[thirdparty/glibc.git] / ChangeLog
1 2013-10-04 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
7 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12 use of regs. Use power7 mtocrf. Tidy function tails.
13
14 2013-10-04 Alan Modra <amodra@gmail.com>
15
16 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
17 Formatting. Consistently use rXXX register defines or rN defines.
18 Use early exit labels that avoid restoring unused non-volatile regs.
19 Make cr field use more consistent with rWORDn compares. Rename
20 regs used as shift registers for unaligned loop, using rN defines
21 for short lifetime/multiple use regs.
22 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24 addi 1,1,64 to pop stack frame. Simplify return value code.
25 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26
27 2013-10-04 Alan Modra <amodra@gmail.com>
28
29 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
30 support. Correct typos, formatting. Optimize tail. Use insrdi
31 rather than rlwimi.
32 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
33 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
34 little-endian support. Correct typos.
35 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
36 rather than rlwimi.
37 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
38 in loop and entry code to keep "and." results.
39 (strchr): Add little-endian support. Comment. Move cntlzd
40 earlier in tail.
41 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
42
43 2013-10-04 Alan Modra <amodra@gmail.com>
44
45 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
46 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49
50 2013-10-04 Alan Modra <amodra@gmail.com>
51
52 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
53 (rTMP): Define as r11.
54 (strcmp): Add little-endian support. Optimise tail.
55 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
60 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62
63 2013-10-04 Alan Modra <amodra@gmail.com>
64
65 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
66 little-endian support. Remove unnecessary "are we done" tests.
67 Handle "s" wrapping around zero and extremely large "size".
68 Correct main loop count. Handle single left-over word from main
69 loop inline rather than by using small_loop. Correct comments.
70 Delete "zero" tail, use "end_max" instead.
71 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
72
73 2013-10-04 Alan Modra <amodra@gmail.com>
74
75 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
76 support. Don't branch over align.
77 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
78 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
79 support. Rearrange tmp reg use to suit. Comment.
80 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
81
82 2013-10-04 Alan Modra <amodra@gmail.com>
83
84 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
85
86 2013-10-04 Alan Modra <amodra@gmail.com>
87
88 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
89 conditional form of branch and link when obtaining pc.
90 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
91
92 2013-10-04 Alan Modra <amodra@gmail.com>
93
94 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
95 HIWORD/LOWORD.
96 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
97 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
98
99 2013-10-04 Alan Modra <amodra@gmail.com>
100
101 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
102 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
103 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
104 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
105 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
106 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
107 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
108 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
109 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
110 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
111
112 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
113 Alistair Popple <alistair@ozlabs.au.ibm.com>
114 Alan Modra <amodra@gmail.com>
115
116 [BZ #15723]
117 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
118 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
119 _dl_hwcap access for little-endian.
120 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
121 destroy vmx regs when saving unaligned.
122 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
123 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
124 destroy vmx regs when saving unaligned.
125
126 2013-10-04 Alan Modra <amodra@gmail.com>
127
128 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
129 Don't use a union to pack hi/low value.
130
131 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
132
133 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
134 for little-endian.
135 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
136 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
137 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
138 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
139 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
140
141 2013-10-04 Alan Modra <amodra@gmail.com>
142
143 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
144 constants to usual value for .cst8 section, and remove redundant
145 high address load.
146 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
147 constant for 0x1p52. Load little-endian words of double from
148 correct stack offsets.
149
150 2013-10-04 Alan Modra <amodra@gmail.com>
151
152 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
153 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
154 words of double from correct stack offsets.
155 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
156 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
157 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
158 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
159 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
160 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
161 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
162 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
163 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
164 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
165 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
166 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
167 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
168 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
169 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
170 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
171 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
172
173 2013-10-04 Alan Modra <amodra@gmail.com>
174
175 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
176 64-bit int/double union.
177 (_FPU_SETCW): Likewise.
178 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
179 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
180
181 2013-10-04 Alan Modra <amodra@gmail.com>
182
183 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
184 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
185
186 2013-10-04 Alan Modra <amodra@gmail.com>
187
188 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
189 use vector int constants.
190 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
191
192 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
193
194 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
195 array with long long.
196 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
197 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
198 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
199 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
200 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
201 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
202 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
203 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
204 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
205 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
206 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
207 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
208 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
209
210 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
211
212 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
213 (__signbit): Likewise. Correct for little-endian.
214 (__signbitl): Call __signbit.
215 (lrint): Correct for little-endian.
216 (lrintf): Call lrint.
217
218 2013-10-04 Alan Modra <amodra@gmail.com>
219
220 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
221 union 32-bit int array member with 64-bit int array.
222 (t515, tm256): Double rather than long double.
223 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
224
225 2013-10-04 Alan Modra <amodra@gmail.com>
226
227 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
228 Delete.
229 (IEEE854_LONG_DOUBLE_BIAS): Delete.
230 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
231 version of math_ldbl.h.
232
233 2013-10-04 Alan Modra <amodra@gmail.com>
234
235 [BZ #15734], [BZ #15735]
236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
237 all uses of ieee875 long double macros and unions. Simplify test
238 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
239 ldbl_extract_mantissa value for ix,iy exponents. Properly
240 normalize after ldbl_extract_mantissa, and don't add hidden bit
241 already handled. Don't treat low word of ieee854 mantissa like
242 low word of IBM long double and mask off bit when testing for
243 zero.
244 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
245 all uses of ieee875 long double macros and unions. Simplify tests
246 for 0.0L and inf. Correct double adjustment of k. Delete dead code
247 adjusting ha,hb. Simplify code setting kld. Delete two600 and
248 two1022, instead use their values. Recognise that tests for large
249 "a" and small "b" are mutually exclusive. Rename vars. Comment.
250 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
251 Rewrite all uses of ieee875 long double macros and unions. Simplify
252 test for 0.0L and nan. Correct negation.
253 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
254 ieee875 long double macros and unions. Correct output for large
255 magnitude x. Correct absolute value calculation.
256 (__erfcl): Likewise.
257 * math/libm-test.inc: Add tests for errors discovered in IBM long
258 double versions of fmodl, remainderl, erfl and erfcl.
259
260 2013-10-04 Alan Modra <amodra@gmail.com>
261
262 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
263 all uses of ieee854 long double macros and unions. Simplify tests
264 for long doubles that are fully specified by the high double.
265 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
266 Likewise.
267 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
268 Remove dead code too.
269 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
270 (__ieee754_ynl): Likewise.
271 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
272 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
273 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
274 Remove dead code too.
275 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
276 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
278 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
279 Simplify.
280 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
281 Simplify.
282 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
283 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
285 Comment on variable precision.
286 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
287 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
288 Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
290 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
291 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
292 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
293 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
294
295 2013-10-04 Alan Modra <amodra@gmail.com>
296
297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
299 all uses of ieee854 long double macros and unions.
300 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
301 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
302 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
303 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
304 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
305 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
306 Likewise.
307 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
308 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
309 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
310 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
311 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
312 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
313 Simplify sign and nan test too.
314 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
315 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
316 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
317 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
318 Likewise.
319 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
320 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
321 Likewise.
322 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
323 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
324 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
325 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
326 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
327 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
328
329 2013-10-04 Alan Modra <amodra@gmail.com>
330
331 * stdio-common/printf_size.c (__printf_size): Don't use
332 union ieee854_long_double in fpnum union.
333 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
334 signbit macro to retrieve sign from long double.
335 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
336 retrieve sign from long double.
337 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
338 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
339 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
340 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
341 * math/test-misc.c (main): Don't use union ieee854_long_double.
342
343 2013-10-04 Alan Modra <amodra@gmail.com>
344
345 [BZ #15680]
346 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
347 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
348 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
349 calculation. Remove unnecessary test for denormal exponent.
350 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
351 Correct handling of denormals. Avoid undefined shift behaviour.
352 Correct normalisation of low mantissa when low double is denormal.
353 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
354 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
355 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
356 Correct normalisation of low mantissa. Test for overflow of high
357 mantissa and normalise.
358 (ldbl_nearbyint): Use more readable constant for two52.
359 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
360 (__mpn_construct_long_double): Fix test for overflow of high
361 mantissa and correct normalisation. Avoid undefined shift.
362
363 2013-10-04 Alan Modra <amodra@gmail.com>
364
365 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
366 (union ibm_extended_long_double): Define as an array of ieee754_double.
367 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
368 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
369 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
370 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
371 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
372 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
374 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
375 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
376 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
377 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
378
379 2013-10-03 Joseph Myers <joseph@codesourcery.com>
380
381 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
382 page size instead of calling getpagesize.
383
384 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
385 (LOCFILE_ALIGN_MASK): Likewise.
386 (LOCFILE_ALIGN_UP): Likewise.
387 (LOCFILE_ALIGNED_P): Likewise.
388 * locale/programs/ld-collate.c (collate_output): Use the new
389 macros instead of __alignof__ (int32_t).
390 * locale/weight.h (findidx): Likewise.
391
392 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
393
394 [BZ #431]
395 * manual/string.texi: Fix strncat and wcsncat.
396
397 2013-10-03 Brooks Moses <bmoses@google.com>
398
399 [BZ #15915]
400 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
401 * Makerules: ...here, and adjust associated comments.
402
403 2013-10-02 Will Newton <will.newton@linaro.org>
404
405 * malloc/Makefile: Add tst-pvalloc.
406 * malloc/tst-pvalloc.c: New file.
407
408 2013-10-02 Will Newton <will.newton@linaro.org>
409
410 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
411 improve test coverage.
412
413 2013-10-02 Will Newton <will.newton@linaro.org>
414
415 * malloc/Makefile: Add tst-posix_memalign.
416 * malloc/tst-posix_memalign.c: New file.
417
418 2013-10-01 Eric Blake <eblake@redhat.com>
419
420 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
421 Use __THROWNL rather than __THROW on static functions.
422
423 2013-09-30 Petr Machata <pmachata@redhat.com>
424
425 * elf/elf.h (R_AARCH64_ABS16): New macro.
426 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
427 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
428 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
429 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
430 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
431 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
432 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
433 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
434 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
435 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
436 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
437 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
438 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
439 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
440 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
441 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
442 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
443 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
444 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
445 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
446 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
447 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
448 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
449 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
450 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
451 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
452 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
453 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
454 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
455 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
456 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
457 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
458 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
459 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
460 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
461 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
462 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
463 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
464 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
465 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
466 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
467 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
468 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
469 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
470 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
471 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
472 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
473 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
474 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
475 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
476 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
477 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
478 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
479 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
480 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
481 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
482 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
483 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
484 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
485 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
486 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
487 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
488 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
489 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
490 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
491 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
492 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
493 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
494 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
495 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
496 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
497 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
498 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
499 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
500 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
501 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
502 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
503 (R_AARCH64_TLSDESC_LDR): Likewise.
504 (R_AARCH64_TLSDESC_ADD): Likewise.
505 (R_AARCH64_TLSDESC_CALL): Likewise.
506
507 2013-09-30 Andreas Schwab <schwab@suse.de>
508
509 [BZ #15048]
510 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
511 the nss database lookup.
512 * nscd/initgrcache.c (addinitgroupsX): Likewise.
513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
514
515 2013-09-28 Mike Frysinger <vapier@gentoo.org>
516
517 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
518
519 2013-09-28 P. J. McDermott <pj@pehjota.net>
520
521 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
522 ${Bash-specific parameter/pattern/string} parameter expansion.
523 * sysdeps/unix/make-syscalls.sh: Likewise.
524
525 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
526
527 * sysdeps/sh/stackguard-macros.h: New file.
528
529 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
530
531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
533 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
534 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
535 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
536 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
537
538 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
539
540 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
541 Fix thread ID register.
542
543 2013-09-25 Joseph Myers <joseph@codesourcery.com>
544
545 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
546 [POSIX || UNIX98]: Require rather than permitting all symbols from
547 <time.h>.
548 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
549 element of struct sched_param.
550 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
551 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
552 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
553 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
554 constant.
555
556 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
557
558 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
559 argument calculation.
560
561 2013-09-24 Joseph Myers <joseph@codesourcery.com>
562
563 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
564 Expect macro.
565 [POSIX] (pthread_attr_t): Do not require type.
566 [POSIX] (pthread_cond_t): Likewise.
567 [POSIX] (pthread_condattr_t): Likewise.
568 [POSIX] (pthread_key_t): Likewise.
569 [POSIX] (pthread_mutex_t): Likewise.
570 [POSIX] (pthread_mutexattr_t): Likewise.
571 [POSIX] (pthread_once_t): Likewise.
572 [POSIX] (pthread_t): Likewise.
573 [POSIX-based standards] (pthread_atfork): Expect function.
574
575 2013-09-24 Joseph Myers <joseph@codesourcery.com>
576 Richard Sandiford <richard@codesourcery.com>
577
578 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
579 (swap_endianness_p): New extern variable.
580 (set_big_endian): New inline function.
581 (maybe_swap_uint32): Likewise.
582 (maybe_swap_uint32_array): Likewise.
583 (maybe_swap_uint32_obstack): Likewise.
584 * locale/programs/locfile.c: Include <stdbool.h>.
585 (swap_endianness_p): New variable.
586 (add_locale_uint32): Call maybe_swap_uint32.
587 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
588 (write_locale_data): Call maybe_swap_uint32_array.
589 * locale/programs/ld-collate.c (obstack_int32_grow): Call
590 maybe_swap_uint32.
591 (obstack_int32_grow_fast): Likewise.
592 (output_weightwc): Call maybe_swap_uint32_obstack.
593 (collate_output): Likewise.
594 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
595 (OPT_LITTLE_ENDIAN): Likewise.
596 (options): Add --little-endian and --big-endian options.
597 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
598 * locale/programs/locarchive.c: Include "locfile.h".
599 (GET): New macro.
600 (SET): Likewise.
601 (INC): Likewise.
602 (create_archive): Use the new macros to access fields of
603 structures directly mapped from or written to locale archives.
604 (oldlocrecentcmp): Likewise.
605 (enlarge_archive): Likewise.
606 (insert_name): Likewise.
607 (add_alias): Likewise.
608 (add_locale): Likewise.
609 (delete_locales_from_archive): Likewise.
610 (show_archive_content): Likewise.
611 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
612 locale data.
613
614 2013-09-24 Roland McGrath <roland@hack.frob.com>
615
616 * manual/freemanuals.texi: Updated from (newly) canonical copy at
617 http://www.gnu.org/doc/freemanuals.texi.
618 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
619
620 2013-09-24 Will Newton <will.newton@linaro.org>
621
622 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
623 macro.
624
625 2013-09-23 Joseph Myers <joseph@codesourcery.com>
626
627 * locale/hashval.h (compute_hashval): Interpret bytes of key as
628 unsigned char.
629
630 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
631
632 * manual/threads.texi (POSIX Threads): Fix a typo.
633
634 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
635
636 [BZ #14547]
637 * string/tst-strcoll-overflow.c: New test case.
638 * string/Makefile (xtests): Add tst-strcoll-overflow.
639 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
640 cache if string sizes may cause integer overflow.
641
642 [BZ #14547]
643 * string/strcoll_l.c (coll_seq): New members rule, idx,
644 save_idx and back_us.
645 (get_next_seq_nocache): New function.
646 (do_compare_nocache): New function.
647 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
648 when malloc fails.
649
650 2013-09-23 Carlos O'Donell <carlos@redhat.com>
651
652 [BZ #15754]
653 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
654 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
655 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
656
657 [BZ #15754]
658 * elf/Makefile (tests): Add tst-ptrguard1.
659 (tests-static): Add tst-ptrguard1-static.
660 (tst-ptrguard1-ARGS): Define.
661 (tst-ptrguard1-static-ARGS): Define.
662 * elf/tst-ptrguard1.c: New file.
663 * elf/tst-ptrguard1-static.c: New file.
664 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
665 * sysdeps/i386/stackguard-macros.h: Likewise.
666 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
667 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
668 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
669 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
670 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
671 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
672
673 2013-09-23 Hector Marco <hecmargi@upv.es>
674 Ismael Ripoll <iripoll@disca.upv.es>
675 Carlos O'Donell <carlos@redhat.com>
676
677 [BZ #15754]
678 * sysdeps/generic/stackguard-macros.h: Define
679 __pointer_chk_guard_local and POINTER_CHK_GUARD.
680 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
681 Define __pointer_chk_guard_local.
682 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
683 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
684
685 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
686
687 [BZ #15859]
688 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
689
690 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
691
692 * include/string.h (__ffs): Declare as hidden.
693 * string/ffs.c (__ffs): Define as hidden.
694 * sysdeps/i386/ffs.c (__ffs): Likewise.
695 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
696 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
697 * sysdeps/s390/ffs.c (__ffs): Likewise.
698 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
699
700 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
701
702 * NEWS: Mention malloc probes.
703
704 * malloc/arena.c (new_heap): New memory_heap_new probe.
705 (grow_heap): New memory_heap_more probe.
706 (shrink_heap): New memory_heap_less probe.
707 (heap_trim): New memory_heap_free probe.
708 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
709 (systrim): New memory_sbrk_less probe.
710 * manual/probes.texi: Document them.
711
712 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
713 * manual/probes.texi: Document it.
714
715 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
716 (__libc_realloc): Add memory_realloc_retry probe.
717 (__libc_memalign): Add memory_memalign_retry probe.
718 (__libc_valloc): Add memory_valloc_retry probe.
719 (__libc_pvalloc): Add memory_pvalloc_retry probe.
720 (__libc_calloc): Add memory_calloc_retry probe.
721 * manual/probes.texi: Document them.
722
723 * malloc/arena.c (get_free_list): Add probe
724 memory_arena_reuse_free_list.
725 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
726 and memory_arena_reuse.
727 (arena_get2) [!PER_THREAD]: Likewise.
728 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
729 memory_arena_reuse_realloc.
730 * manual/probes.texi: Document them.
731
732 * malloc/malloc.c (__libc_free): Add
733 memory_mallopt_free_dyn_thresholds probe.
734 (__libc_mallopt): Add multiple memory_mallopt probes.
735 * manual/probes.texi: Document them.
736
737 * malloc/malloc.c: Include stap-probe.h.
738 (__libc_mallopt): Add memory_mallopt probe.
739 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
740 * manual/probes.texi: New.
741 * manual/Makefile (chapters): Add probes.
742 * manual/threads.texi: Set next node.
743
744 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
745
746 [BZ #15963, #13985]
747 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
748 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
749 Add `Chinese' to `nan' entry name.
750
751 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
752
753 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
754 (POLYNOMIAL): Likewise.
755 (TAYLOR_SINCOS): Likewise.
756 (TAYLOR_SLOW): Likewise.
757 (__sin): Use TAYLOR_SINCOS.
758 (__cos): Likewise.
759 (slow): Use TAYLOR_SLOW.
760 (sloww): Likewise.
761 (bsloww): Likewise.
762 (csloww): Likewise.
763
764 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
765
766 * stdlib/strtod_l.c: Fix buffer overrun.
767
768 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
769
770 * benchtests/Makefile (bench): Add sincos.
771 * benchtests/bench-sincos.c: New file.
772
773 * math/libm-test.inc (cos_test_data): New test inputs.
774 (sin_test_data): Likewise.
775
776 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
777 macro.
778 (__sin): Use it.
779 (__cos): Likewise.
780 (slow1): Likewise.
781 (slow2): Likewise.
782 (sloww1): Likewise.
783 (sloww2): Likewise.
784 (bsloww1): Likewise.
785 (bsloww2): Likewise.
786 (cslow2): Likewise.
787 (csloww1): Likewise.
788 (csloww2): Likewise.
789
790 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
791 function.
792 (__sin): Use it.
793 (__cos): Likewise.
794
795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
796 gotos.
797 (__cos): Likewise.
798
799 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
800
801 * config.h.in (HAVE_MIPS_NAN2008): New macro.
802 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
803 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
804 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
805 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
806 * elf/cache.c (print_entry): Handle the new cache flags.
807
808 2013-09-18 Joseph Myers <joseph@codesourcery.com>
809 Aldy Hernandez <aldyh@redhat.com>
810
811 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
812 Change condition to [_SOFT_FLOAT].
813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
814 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
825 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
828 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
829 declaration.
830
831 2013-09-18 Joseph Myers <joseph@codesourcery.com>
832
833 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
834 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
835 (__longjmp): Use LOAD_GP to load saved GPRs.
836 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
837 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
838 (__sigsetjmp): Use SAVE_GP to save GPRs.
839
840 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
841 Do not append -msoft-float.
842 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
843
844 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
845
846 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
847
848 2013-09-17 Joseph Myers <joseph@codesourcery.com>
849
850 [BZ #15966]
851 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
852 (_FPU_GETCW): Use initial "__" on variable and field names but not
853 on macro parameter name.
854 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
855 parentheses around reference to macro parameter.
856
857 2013-09-13 Richard Sandiford <richard@codesourcery.com>
858
859 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
860 prototype.
861 (ctype_startup): Use uint32_t in cast and sizeof for
862 ctype->charnames.
863
864 2013-09-11 Jia Liu <proljc@gmail.com>
865
866 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
867 __daddr_t_defined.
868 [__FreeBSD__]: Likewise.
869
870 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
871
872 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
873 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
874 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
875 (strchr): Remove __strchr_sse42 ifunc selection.
876 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
877 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
878
879 2013-09-11 Will Newton <will.newton@linaro.org>
880
881 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
882 parameter to RES. Remove hardcoded 1000 value.
883 * benchtests/bench-skeleton.c (main): Pass RES parameter
884 to TIMING_INIT and multiply result by 1000.
885
886 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887
888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
889
890 2013-09-11 Andreas Schwab <schwab@suse.de>
891
892 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
893 if not defined.
894 (O_TMPFILE) [__USE_GNU]: Define.
895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
896 Define.
897
898 2013-09-11 Will Newton <will.newton@linaro.org>
899
900 [BZ #15857]
901 * malloc/malloc.c (__libc_memalign): Check the value of bytes
902 does not overflow.
903
904 2013-09-11 Will Newton <will.newton@linaro.org>
905
906 [BZ #15856]
907 * malloc/malloc.c (__libc_valloc): Check the value of bytes
908 does not overflow.
909
910 2013-09-11 Will Newton <will.newton@linaro.org>
911
912 [BZ #15855]
913 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
914 does not overflow.
915
916 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
917
918 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
919 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
920 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
921 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
922 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
923
924 2013-09-10 Allan McRae <allan@archlinux.org>
925
926 [BZ #15748]
927 * manual/arith.texi (Parsing of Floats): Clarify
928 cross-reference.
929
930 [BZ #15849]
931 * manual/install.texi (Running make install): Mention
932 --enable-pt-chown.
933 * INSTALL: Regenerated.
934
935 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
936
937 * csu/init-first.c (_init): Remove the !SHARED condition around
938 FPU control word initialization.
939 * elf/dl-support.c (_dl_fpu_control): New variable.
940 (_dl_aux_init) <AT_FPUCW>: Initialize it.
941 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
942 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
943 * math/test-fpucw-static.c: New file.
944 * math/test-fpucw-ieee.c: New file.
945 * math/test-fpucw-ieee-static.c: New file.
946 * math/Makefile (tests): Add `test-fpucw-ieee' and
947 `$(tests-static)'.
948 (tests-static): New variable.
949 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
950 dependency to...
951 [($(build-shared),yes)]
952 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
953 ... this.
954 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
955 New dependency.
956
957 2013-09-09 Allan McRae <allan@archlinux.org>
958
959 [BZ #15939]
960 * manual/string.texi (Collation Functions): Fix typo in
961 strcoll example.
962 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
963
964 [BZ #15893]
965 * stdlib/isomac.c (get_null_defines): Fix memory leak.
966
967 [BZ #15892]
968 * libio/memstream.c (open_memstream): Fix memory leak.
969 * libio/wmemstream.c (open_wmemstream): Likewise.
970
971 [BZ #15895]
972 * nscd/netgroupcache.c: Fix nesting of ifdefs.
973
974 2013-09-09 Will Newton <will.newton@linaro.org>
975
976 * malloc/Makefile: Add tst-realloc to tests.
977 * malloc/tst-realloc.c: New file.
978
979 2013-09-09 Allan McRae <allan@archlinux.org>
980
981 [BZ #15844]
982 * COPYING: Update from GNU website to fix FSF address.
983 * COPYING.LIB: Likewise.
984
985 2013-09-06 David S. Miller <davem@davemloft.net>
986
987 * po/zh_TW.po: Update Chinese (traditional) translation from
988 translation project.
989
990 2013-09-06 Richard Sandiford <richard@codesourcery.com>
991 Joseph Myers <joseph@codesourcery.com>
992
993 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
994 "localeinfo.h".
995 (obstack_chunk_alloc): New macro.
996 (obstack_chunk_free): Likewise.
997 (record_offset): New function.
998 (init_locale_data): Likewise.
999 (align_locale_data): Likewise.
1000 (add_locale_empty): Likewise.
1001 (add_locale_raw_data): Likewise.
1002 (add_locale_raw_obstack): Likewise.
1003 (add_locale_string): Likewise.
1004 (add_locale_wstring): Likewise.
1005 (add_locale_uint32): Likewise.
1006 (add_locale_uint32_array): Likewise.
1007 (add_locale_char): Likewise.
1008 (start_locale_structure): Likewise.
1009 (end_locale_structure): Likewise.
1010 (start_locale_prelude): Likewise.
1011 (end_locale_prelude): Likewise.
1012 (write_locale_data): Take locale_file structure rather than an
1013 iovec.
1014 * locale/programs/locfile.h: Include "obstack.h".
1015 (struct locale_file): Change to store locale file contents instead
1016 of header.
1017 (init_locale_data): New prototype.
1018 (align_locale_data): Likewise.
1019 (add_locale_empty): Likewise.
1020 (add_locale_raw_data): Likewise.
1021 (add_locale_raw_obstack): Likewise.
1022 (add_locale_string): Likewise.
1023 (add_locale_wstring): Likewise.
1024 (add_locale_uint32): Likewise.
1025 (add_locale_uint32_array): Likewise.
1026 (add_locale_char): Likewise.
1027 (start_locale_structure): Likewise.
1028 (end_locale_structure): Likewise.
1029 (start_locale_prelude): Likewise.
1030 (end_locale_prelude): Likewise.
1031 (write_locale_data): Update prototype.
1032 * locale/programs/3level.h (struct TABLE): Remove result field.
1033 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1034 Use new locale_file interface.
1035 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1036 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1037 * locale/programs/ld-address.c (address_output): Use new
1038 locale_file interface.
1039 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1040 NO_ADD_LOCALE.
1041 (collate_finish): Don't call collseq_table_finalize.
1042 (collate_output): Use new locale_file interface.
1043 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1044 in file.
1045 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1046 (TABLE): Move defines earlier in file.
1047 (ELEMENT): Likewise.
1048 (DEFAULT): Likewise.
1049 (wctrans_table_add): Move macro and inline function earlier in
1050 file.
1051 (struct wctype_table): Move type earlier in file.
1052 (add_locale_wctype_table): New static prototype.
1053 (struct locale_ctype_t): Use logical types instead of struct iovec
1054 pointers for members.
1055 (ctype_output): Use new locale_file interface.
1056 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1057 new locale_file interface.
1058 (allocate_arrays): Update for use of new locale_file interface.
1059 * locale/programs/ld-identification.c (identification_output): Use
1060 new locale_file interface.
1061 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1062 * locale/programs/ld-messages.c (messages_output): Likewise.
1063 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1064 * locale/programs/ld-name.c (name_output): Likewise.
1065 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1066 * locale/programs/ld-paper.c (paper_output): Likewise.
1067 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1068 * locale/programs/ld-time.c (time_output): Likewise.
1069
1070 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1071
1072 * benchtests/Makefile: Add memrchr benchmark.
1073 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1074 benchmark as memrchr.
1075 * benchtests/bench-memrchr-ifunc.c: New file.
1076 * benchtests/bench-memrchr.c: New file.
1077
1078 2013-09-06 Will Newton <will.newton@linaro.org>
1079
1080 * benchtests/Makefile (string-bench): Add memcpy.
1081
1082 2013-09-05 Carlos O'Donell <carlos@redhat.com>
1083 Cong Wang <amwang@redhat.com>
1084
1085 * sysdeps/unix/sysv/linux/bits/in.h
1086 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1087 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1088 before __USE_KERNEL_IPV6_DEFS uses.
1089 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1090 IPPROTO_BEETPH.
1091 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1092 sockaddr_in6, or ipv6_mreq.
1093
1094 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1095
1096 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1097 memory access for final bytes in some large inputs.
1098 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1099
1100 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1101
1102 * string/test-memrchr.c: New file.
1103 * string/test-memrchr-ifunc.c: New file.
1104 * string/Makefile: Add new memrchr testcase.
1105
1106 2013-09-05 Mike Frysinger <vapier@gentoo.org>
1107
1108 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1109 fanotify_init returns EPERM.
1110
1111 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1112
1113 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1114 errors.
1115 (top level): Treat second token from macro or constant entries for
1116 allowed headers as allowed.
1117 * include/complex.h: Condition internal declarations on
1118 [!_ISOMAC].
1119 * include/fenv.h: Condition include of <stdbool.h> and internal
1120 declarations on [!_ISOMAC].
1121
1122 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1123
1124 [BZ #15923]
1125 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1126
1127 2013-09-04 Joseph Myers <joseph@codesourcery.com>
1128
1129 * configure.in (--enable-versioning): Remove configure option.
1130 (libc_cv_asm_symver_directive): Remove configure test.
1131 (libc_cv_ld_version_script_option): Likewise.
1132 (VERSIONING): Remove variable and AC_SUBST.
1133 (DO_VERSIONING): Remove AC_DEFINE.
1134 * configure: Regenerated.
1135 * config.h.in (DO_VERSIONING): Remove macro.
1136 * Makerules [$(versioning) = yes]: Change conditionals to
1137 [$(build-shared) = yes].
1138 * config.make.in (versioning): Remove variable.
1139 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1140 [$(build-shared) = yes].
1141 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1142 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1143 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1144 [$(build-shared) = yes].
1145 * extra-lib.mk [$(versioning) = yes]: Likewise.
1146 * hurd/Makefile [$(versioning) = yes]: Likewise.
1147 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1148 [SHARED].
1149 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1150 [SHARED].
1151 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1152 [SHARED && !NO_HIDDEN].
1153 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1154 [SHARED].
1155 [SHARED && DO_VERSIONING]: Likewise..
1156 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1157 [$(build-shared) = yes].
1158 * manual/install.texi (--disable-versioning): Remove
1159 documentation.
1160 * INSTALL: Regenerated.
1161 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1162 to [SHARED].
1163 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1164 [$(build-shared) = yes].
1165 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1166 * sysdeps/i386/i686/multiarch/strstr-c.c
1167 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1168 [SHARED && !NO_HIDDEN].
1169 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1170 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1171 * sysdeps/powerpc/powerpc32/dl-machine.c
1172 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1173 * sysdeps/powerpc/powerpc32/sysdep.h
1174 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1175 to [SHARED && PIC && !NO_HIDDEN].
1176 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1177 conditional to [SHARED].
1178
1179 2013-09-04 Will Newton <will.newton@linaro.org>
1180
1181 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1182 * benchtests/bench-string.h: Include bench-timing.h instead
1183 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1184 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1185 call to HP_TIMING_DIFF_INIT.
1186 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1187 instead of hp-timing.h macros.
1188 * benchtests/bench-memchr.c: Likewise.
1189 * benchtests/bench-memcmp.c: Likewise.
1190 * benchtests/bench-memcpy.c: Likewise.
1191 * benchtests/bench-memmem.c: Likewise.
1192 * benchtests/bench-memmove.c: Likewise.
1193 * benchtests/bench-memset.c: Likewise.
1194 * benchtests/bench-rawmemchr.c: Likewise.
1195 * benchtests/bench-strcasecmp.c: Likewise.
1196 * benchtests/bench-strcasestr.c: Likewise.
1197 * benchtests/bench-strcat.c: Likewise.
1198 * benchtests/bench-strchr.c: Likewise.
1199 * benchtests/bench-strcmp.c: Likewise.
1200 * benchtests/bench-strcpy.c: Likewise.
1201 * benchtests/bench-strcpy_chk.c: Likewise.
1202 * benchtests/bench-strlen.c: Likewise.
1203 * benchtests/bench-strncasecmp.c: Likewise.
1204 * benchtests/bench-strncat.c: Likewise.
1205 * benchtests/bench-strncmp.c: Likewise.
1206 * benchtests/bench-strncpy.c: Likewise.
1207 * benchtests/bench-strnlen.c: Likewise.
1208 * benchtests/bench-strpbrk.c: Likewise.
1209 * benchtests/bench-strrchr.c: Likewise.
1210 * benchtests/bench-strspn.c: Likewise.
1211 * benchtests/bench-strstr.c: Likewise.
1212
1213 2013-09-04 Will Newton <will.newton@linaro.org>
1214
1215 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1216
1217 2013-09-03 Joseph Myers <joseph@codesourcery.com>
1218
1219 [BZ #15427]
1220 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1221 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1222 * math/libm-test.inc (lgamma_test_data): Add more tests.
1223 * sysdeps/i386/fpu/libm-test-ulps: Update.
1224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1225
1226 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
1227
1228 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1229 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1230 Add ifunc.
1231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1232 Add strcmp-sse2-unaligned
1233 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1234
1235 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1236
1237 * Versions.def (libc): Add GLIBC_2.19.
1238
1239 2013-09-02 Mike Frysinger <vapier@gentoo.org>
1240
1241 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1242 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1243
1244 2013-09-02 Joseph Myers <joseph@codesourcery.com>
1245
1246 [BZ #14155]
1247 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1248 intermediate calculations in recurrence.
1249 (__ieee754_ynf): Likewise.
1250 * math/libm-test.inc (jn_test_data): Do not allow spurious
1251 underflow exception. Add more tests.
1252 (yn_test_data): Add more tests.
1253 * sysdeps/i386/fpu/libm-test-ulps: Update.
1254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1255
1256 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
1257
1258 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1259
1260 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1261
1262 * csu/init-first.c: Fix then/than typos.
1263 * locale/programs/ld-collate.c: Likewise.
1264 * locale/programs/linereader.h: Likewise.
1265 * manual/charset.texi: Likewise.
1266 * manual/filesys.texi: Likewise.
1267 * manual/stdio.texi: Likewise.
1268 * manual/string.texi: Likewise.
1269 * stdlib/fmtmsg.c: Likewise.
1270 * sysdeps/i386/stpncpy.S: Likewise.
1271 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1272 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1273 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1274 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1275
1276 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1277
1278 * elf/dl-open.c: Fix typos.
1279 * iconvdata/gbbig5.c: Likewise.
1280 * iconvdata/iso-2022-jp.c: Likewise.
1281 * iconv/gconv_int.h: Likewise.
1282 * iconv/loop.c: Likewise.
1283 * nis/rpcsvc/nis.h: Likewise.
1284 * resolv/ns_name.c: Likewise.
1285 * stdio-common/vfscanf.c: Likewise.
1286 * streams/stropts.h: Likewise.
1287 * sunrpc/rpc_thread.c: Likewise.
1288 * sysdeps/i386/strpbrk.S: Likewise.
1289 * sysdeps/ieee754/k_standard.c: Likewise.
1290 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1291 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1292 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1293 * sysdeps/mach/hurd/profil.c: Likewise.
1294 * sysdeps/s390/dl-procinfo.h: Likewise.
1295 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1296 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1297 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1298 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1299 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1300
1301 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
1302
1303 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1304 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1305
1306 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1307
1308 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1309 aix specific files.
1310 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1311 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1312 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1313 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1314 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1315 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1316 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1317 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1318
1319 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1320 Roland McGrath <roland@hack.frob.com>
1321
1322 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1323 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1324
1325 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1326
1327 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1328 __executable_start symbol instead of _start.
1329
1330 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1331
1332 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1333 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1334 Move macros to...
1335 * sysdeps/gnu/ldsodefs.h: ... this new file.
1336
1337 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1338 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1339 instead of ELFOSABI_LINUX.
1340
1341 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1342 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1343 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1344 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1345 Likewise.
1346 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1347 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1348 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1349 Likewise.
1350 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1351 (ibm_extended_long_double): Add ieee_nan member.
1352 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1353 (do_test): New function.
1354
1355 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1356 TEST_TRUNC.
1357 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1358 functions, renamed from truncdfsf_test, trunctfsf_test,
1359 trunctfdf_test.
1360 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1361 functions.
1362 (do_test): Run all these.
1363
1364 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
1365
1366 * argp/argp-help.c: Fix typos.
1367 * argp/argp-parse.c: Likewise.
1368 * debug/backtracesyms.c: Likewise.
1369 * elf/elf.h: Likewise.
1370 * malloc/malloc.c: Likewise.
1371 * nis/nis_print.c: Likewise.
1372 * resolv/res_comp.c: Likewise.
1373 * stdlib/stdlib.h: Likewise.
1374 * sunrpc/clnt_tcp.c: Likewise.
1375 * sunrpc/clnt_udp.c: Likewise.
1376 * sunrpc/clnt_unix.c: Likewise.
1377 * sysdeps/unix/bsd/ptsname.c: Likewise.
1378 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1379 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1381 Likewise.
1382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1383 Likewise.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1385 Likewise.
1386 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1387
1388 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1389
1390 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1391 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1392
1393 2013-08-27 Mike Frysinger <vapier@gentoo.org>
1394
1395 [BZ #15897]
1396 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1397 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1398 ($(objpfx)bug-dl-leaf): New rule.
1399 ($(objpfx)bug-dl-leaf.so): Likewise.
1400 ($(objpfx)bug-dl-leaf.out): Likewise.
1401 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1402 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1403 * dlfcn/bug-dl-leaf.c: New test.
1404 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1405 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1406 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1407 (dlclose): Likewise.
1408 (dlmopen): Likewise.
1409
1410 2013-08-27 Roland McGrath <roland@hack.frob.com>
1411
1412 * include/netdb.h [!_ISOMAC]:
1413 Don't include <tls.h>.
1414 (h_errno, __libc_h_errno): Move declaration and macros out of
1415 [_LIBC_REENTRANT].
1416
1417 * include/resolv.h [_RESOLV_H_]:
1418 Don't include <tls.h>.
1419 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1420 * resolv/res_libc.c: Don't include <tls.h>.
1421 (_res): Use __attribute__ ((nocommon)) in place of
1422 __attribute__ ((section (".bss"))).
1423
1424 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1425 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1426
1427 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1428
1429 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1430 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1431
1432 * resolv/res_mkquery.c: Include <sys/time.h>.
1433
1434 * inet/ifreq.c: Moved to ...
1435 * sysdeps/unix/ifreq.c: ... here.
1436 * inet/ifreq.c: New file, true stub version.
1437
1438 * socket/sa_len.c: New file.
1439 * socket/Makefile (aux): Add it.
1440 * sysdeps/unix/sysv/linux/Makefile
1441 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1442 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1443 and #include <socket/sa_len.c>.
1444 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1445 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1446
1447 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1448 * bits/socket.h: ... here.
1449
1450 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1451 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1452 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1453
1454 2013-08-27 Andreas Schwab <schwab@suse.de>
1455
1456 [BZ #15736]
1457 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1458 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1459 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1460 * string/test-strcasecmp.c (test_main): Run tests in several
1461 locales.
1462 * string/test-strncasecmp.c (test_main): Likewise.
1463
1464 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1465 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1466 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1467 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1468 (__strncasecmp_ssse3) [PIC]: Likewise.
1469
1470 2013-08-26 Roland McGrath <roland@hack.frob.com>
1471
1472 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1473
1474 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1475 instead of explicitly declaring xdecrypt.
1476 * nis/nss_nis/nis-publickey.c: Likewise.
1477
1478 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1479
1480 [BZ #15890]
1481 * nscd/aicache.c: Include res_hconf.h.
1482 (addhstaiX): Initialize res_hconf.
1483
1484 2013-08-26 Andreas Schwab <schwab@suse.de>
1485
1486 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1487 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1488
1489 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1490
1491 * nscd/aicache.c (addhstaiX): Fix indentation.
1492
1493 2013-08-25 Mike Frysinger <vapier@gentoo.org>
1494
1495 * configure.ac: Quote $build_pt_chown test.
1496 * configure: Regenerated.
1497
1498 2013-08-23 Joseph Myers <joseph@codesourcery.com>
1499
1500 [BZ #15532]
1501 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1502 * math/s_cexpf.c (__cexpf): Likewise.
1503 * math/s_cexpl.c (__cexpl): Likewise.
1504 * math/libm-test.inc (cexp_test_data): Correct expected return
1505 value for NaN + i0. Add another test.
1506
1507 2013-08-22 David S. Miller <davem@davemloft.net>
1508
1509 * po/ca.po: Update Catalan translation from translation project.
1510 * po/uk.po: Add Ukrainian translations from translation project.
1511
1512 2013-08-21 Joseph Myers <joseph@codesourcery.com>
1513
1514 [BZ #15797]
1515 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1516 is infinite, not alongside NaN test.
1517 * math/s_fdimf.c (__fdimf): Likewise.
1518 * math/s_fdiml.c (__fdiml): Likewise.
1519 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1520 errno is unchanged.
1521
1522 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
1523
1524 * argp/argp-help.c: Fix typos.
1525 * crypt/speeds.c: Likewise.
1526 * csu/check_fds.c: Likewise.
1527 * elf/dl-load.c: Likewise.
1528 * elf/dl-open.c: Likewise.
1529 * elf/reldep3.c: Likewise.
1530 * elf/reldep.c: Likewise.
1531 * elf/sprof.c: Likewise.
1532 * iconv/iconv_charmap.c: Likewise.
1533 * iconv/skeleton.c: Likewise.
1534 * iconv/strtab.c: Likewise.
1535 * io/lockf64.c: Likewise.
1536 * libio/libioP.h: Likewise.
1537 * resolv/gai_notify.c: Likewise.
1538 * resolv/ns_name.c: Likewise.
1539 * resolv/ns_samedomain.c: Likewise.
1540 * resolv/res_send.c: Likewise.
1541 * stdlib/random.c: Likewise.
1542 * sunrpc/rpc/xdr.h: Likewise.
1543 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1544 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1545 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1546 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1547 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1548 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1550 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1551 * sysdeps/mach/hurd/check_fds.c: Likewise.
1552 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1553 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1554 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1555 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1556 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1558 * sysdeps/pthread/aio_notify.c: Likewise.
1559 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1560 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1561 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1562 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1563 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1564
1565 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1566
1567 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1568 version if bit_Slow_SSE4_2 is set.
1569 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1570 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1571
1572 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1573
1574 [BZ #15867]
1575 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1576 trampoline stack frame information.
1577 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1578 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1579 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1580 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1581 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1582 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1583 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1584 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1585 sa_flags value.
1586 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1587 interrupting a syscall and set with option SA_SIGINFO.
1588
1589 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1590
1591 [BZ #15531]
1592 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1593 argument is infinite.
1594 * math/s_cprojf.c (__cprojf): Likewise.
1595 * math/s_cprojl.c (__cprojl): Likewise.
1596 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1597 * math/libm-test.inc (cproj_test_data): Add more tests.
1598
1599 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1600
1601 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1602 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1603 size. Use __ffs to determine corresponding shift.
1604
1605 2013-08-20 Joseph Myers <joseph@codesourcery.com>
1606 Roland McGrath <roland@hack.frob.com>
1607
1608 * Makefile (INSTALL): Remove trailing blank lines from output of
1609 makeinfo.
1610
1611 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1612
1613 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1614 Align 32 bit compat elf_greg to 8 bytes.
1615
1616 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1617
1618 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1619
1620 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1621
1622 * string/strcoll_l.c (coll_seq): New structure.
1623 (get_next_seq_cached): New function.
1624 (get_next_seq): New function.
1625 (do_compare): New function.
1626 (STRCOLL): Use GNU style definition. Simplify implementation
1627 by using get_next_seq, get_next_seq_cached and do_compare.
1628
1629 2013-08-16 Florian Weimer <fweimer@redhat.com>
1630
1631 [BZ #14699]
1632 CVE-2013-4237
1633 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1634 member.
1635 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1636 member.
1637 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1638 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1639 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1640 conditional.
1641 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1642 GETDENTS_64BIT_ALIGNED.
1643 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1644 * manual/filesys.texi (Reading/Closing Directory): Document
1645 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1646 strongly.
1647 * manual/conf.texi (Limits for Files): Add portability note to
1648 NAME_MAX, PATH_MAX.
1649 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1650
1651 2013-08-13 Andreas Schwab <schwab@suse.de>
1652
1653 [BZ #15749]
1654 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1655 of fabs.
1656 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1657 LDBL_MAX_EXP >= 16384]: Add tests for it.
1658
1659 2013-08-12 David S. Miller <davem@davemloft.net>
1660
1661 * version.h (RELEASE): Set to "development".
1662 (VERSION): Set to "2.18.90".
1663 * NEWS: Add 2.19 section.
1664
1665 2013-08-03 David S. Miller <davem@davemloft.net>
1666
1667 * po/ko.po: Update Korean translation from translation project.
1668
1669 2013-08-01 David S. Miller <davem@davemloft.net>
1670
1671 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1672 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1673 Bilka.
1674
1675 2013-07-30 David S. Miller <davem@davemloft.net>
1676
1677 * po/fr.po: Update French translation from translation project.
1678
1679 2013-07-28 David S. Miller <davem@davemloft.net>
1680
1681 * po/cs.po: Update Czech translation from translation project.
1682
1683 * po/sv.po: Update Swedish translation from translation project.
1684
1685 2013-07-27 David S. Miller <davem@davemloft.net>
1686
1687 * po/eo.po: Update Esperanto translation from translation project.
1688
1689 * po/vi.po: Update Vietnamese translation from translation project.
1690
1691 * po/de.po: Update German translation from translation project.
1692
1693 2013-07-26 David S. Miller <davem@davemloft.net>
1694
1695 * po/bg.po: Update Bulgarian translation from translation project.
1696
1697 * po/nl.po: Update Dutch translation from translation project.
1698 * po/pl.po: Update Polish translation from translation project.
1699 * po/ru.po: Update Russian translation from translation project.
1700
1701 2013-07-24 David S. Miller <davem@davemloft.net>
1702
1703 * po/libc.pot: Update.
1704
1705 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706
1707 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1708 variable page size.
1709 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1710 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1711 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1712
1713 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1714
1715 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1716
1717 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1718 Andreas Schwab <schwab@suse.de>
1719 Roland McGrath <roland@hack.frob.com>
1720 Joseph Myers <joseph@codesourcery.com>
1721 Carlos O'Donell <carlos@redhat.com>
1722
1723 [BZ #15755]
1724 * config.h.in: Define HAVE_PT_CHOWN.
1725 * config.make.in (build-pt-chown): New variable.
1726 * configure.in (--enable-pt_chown): New configure option.
1727 * configure: Regenerate.
1728 * login/Makefile: Include Makeconfig. Build pt_chown only if
1729 build-pt-chown is enabled.
1730 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1731 pt_chown to fix pty ownership.
1732 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1733 CLOSE_ALL_FDS.
1734 * manual/install.texi (Configuring and compiling): Mention
1735 --enable-pt_chown. Add @findex for grantpt.
1736 * INSTALL: Regenerate.
1737
1738 2013-07-20 David S. Miller <davem@davemloft.net>
1739
1740 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1741 difference between 32-bit and 64-bit.
1742
1743 2013-07-15 Carlos O'Donell <carlos@redhat.com>
1744
1745 [BZ #15711]
1746 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1747 Avoid system header dependency with -ffreestanding.
1748 ($(objpfx)bits/syscall%d): Likewise.
1749
1750 2013-07-13 David S. Miller <davem@davemloft.net>
1751
1752 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1753 underflows from atanl/atan2l due to bug 15319.
1754 (casinh_test_data): Likewise.
1755
1756 2013-07-07 David S. Miller <davem@davemloft.net>
1757
1758 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1759
1760 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1761
1762 * sysdeps/i386/fpu/libm-test-ulps: Update.
1763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1764
1765 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1766
1767 * configure.in (--enable-lock-elision): Fix message text.
1768 * INSTALL: Regenerate.
1769 * configure: Regenerate.
1770
1771 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1772
1773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1774
1775 2013-07-03 Andreas Jaeger <aj@suse.de>
1776
1777 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1778 define.
1779 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1780 (ptrace_peeksiginfo_args): Add.
1781 (__ptrace_peeksiginfo_flags): Add.
1782 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1783 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1784 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1785
1786 2013-07-03 Allan McRae <allan@archlinux.org>
1787
1788 * sysdeps/i386/fpu/libm-test-ulps: Update.
1789
1790 2013-07-02 David S. Miller <davem@davemloft.net>
1791
1792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1793
1794 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1795
1796 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1797
1798 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1799
1800 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1802
1803 2013-07-02 Andi Kleen <ak@linux.intel.com>
1804
1805 * config.h.in (ENABLE_LOCK_ELISION): Add.
1806 * configure.in (--enable-lock-elision): Add option.
1807 * manual/install.texi: Document --enable lock elision.
1808 * configure: Regenerate
1809 * INSTALL: Regenerate.
1810
1811 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1812
1813 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1814 SSE4.2 strcasecmp for libc.a.
1815 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1816
1817 2013-07-02 Joseph Myers <joseph@codesourcery.com>
1818
1819 [BZ #13304]
1820 * soft-fp/op-common.h (_FP_FMA): New macro.
1821 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1822 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1823 (_FP_MUL_MEAT_1_imm): ... here.
1824 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1825 (_FP_MUL_MEAT_1_wide): ... here.
1826 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1827 (_FP_MUL_MEAT_1_hard): ... here.
1828 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1829 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1830 (_FP_MUL_MEAT_2_wide): ... here.
1831 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1832 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1833 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1834 (_FP_MUL_MEAT_2_gmp): ... here.
1835 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1836 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1837 (_FP_MUL_MEAT_4_wide): ... here.
1838 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1839 (_FP_MUL_MEAT_4_gmp): ... here.
1840 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1841 (_FP_WFRACBITS_DW_S): Likewise.
1842 (_FP_WFRACXBITS_DW_S): Likewise.
1843 (_FP_HIGHBIT_DW_S): Likewise.
1844 (FP_FMA_S): Likewise.
1845 (_FP_FRAC_HIGH_DW_S): Likewise.
1846 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1847 (_FP_WFRACBITS_DW_D): Likewise.
1848 (_FP_WFRACXBITS_DW_D): Likewise.
1849 (_FP_HIGHBIT_DW_D): Likewise.
1850 (FP_FMA_D): Likewise.
1851 (_FP_FRAC_HIGH_DW_D): Likewise.
1852 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1853 (_FP_WFRACBITS_DW_E): Likewise.
1854 (_FP_WFRACXBITS_DW_E): Likewise.
1855 (_FP_HIGHBIT_DW_E): Likewise.
1856 (FP_FMA_E): Likewise.
1857 (_FP_FRAC_HIGH_DW_E): Likewise.
1858 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1859 (_FP_WFRACBITS_DW_Q): Likewise.
1860 (_FP_WFRACXBITS_DW_Q): Likewise.
1861 (_FP_HIGHBIT_DW_Q): Likewise.
1862 (FP_FMA_Q): Likewise.
1863 (_FP_FRAC_HIGH_DW_Q): Likewise.
1864 * soft-fp/fmasf4.c: New file.
1865 * soft-fp/fmadf4.c: Likewise.
1866 * soft-fp/fmatf4.c: Likewise.
1867
1868 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1869
1870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1871 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1872 Silvermont.
1873 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1874 macro.
1875 (index_Slow_SSE4_2): Likewise.
1876 (index_Prefer_PMINUB_for_stringop): Likewise.
1877 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1878 bit_Slow_SSE4_2 is set.
1879 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1880 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1881
1882 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1883
1884 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1885 rtld_global._dl_hwcap2.
1886 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1887 POWER8.
1888 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1889 POWER8 feature descriptions defined in _dl_hwcap2.
1890 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1891 string handling for POWER8 feature bits.
1892 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1893 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1894 _dl_powerpc_cap_flags.
1895 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1896 * sysdeps/powerpc/rtld-global-offsets.sym
1897 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1898 _dl_hwcap2 in the rtld_global_ro structure.
1899
1900 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1901
1902 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1903 hardware capabilities in support of AT_HWCAP2.
1904 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1905 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1906 GLRO(dl_hwcap2).
1907 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1908 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1909 explicitly the unknown a_type display mechanism is used.
1910 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1911 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1912 struct member.
1913 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1914 to macro prototype for AT_HWCAP2 support.
1915 * sysdeps/i386/dl-procinfo.h: Likewise.
1916 * sysdeps/s390/dl-procinfo.h: Likewise.
1917 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1918 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1919 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1920 return -1 for unknown a_type display fallback.
1921 * sysdeps/sparc/dl-procinfo.h: Likewise.
1922 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1923 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1924
1925 2013-06-28 Joseph Myers <joseph@codesourcery.com>
1926
1927 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1928 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1929
1930 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1931
1932 [BZ #12492]
1933 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1934 mprotect making __stack_prot writable.
1935
1936 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1937 Joseph Myers <joseph@codesourcery.com>
1938
1939 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1940 as being properly aligned.
1941
1942 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1943
1944 * dlfcn/modstatic5.c: New file.
1945 * dlfcn/tststatic5.c: New file.
1946 * dlfcn/Makefile (tests): Add tststatic5.
1947 (tests-static): Likewise.
1948 (modules-names): Add modstatic5.
1949 (tststatic5-ENV): New variable.
1950 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1951
1952 [BZ #15022]
1953 * elf/dl-support.c (_dl_main_map): New variable.
1954 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1955 (_dl_nns, _dl_load_adds): Set to 1.
1956 (_dl_initial_searchlist): Refer to _dl_main_map.
1957 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1958 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1959 call to _dl_get_origin.
1960 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1961 around call_map.
1962 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1963 * dlfcn/modstatic3.c: New file.
1964 * dlfcn/tststatic3.c: New file.
1965 * dlfcn/tststatic4.c: New file.
1966 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1967 (tests-static): Likewise.
1968 (modules-names): Add modstatic3.
1969 (tststatic3-ENV, tststatic4-ENV): New variables.
1970 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1971 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1972
1973 2013-06-26 Joseph Myers <joseph@codesourcery.com>
1974
1975 * configure.in (CC): Require GCC version 4.4 or later.
1976 * configure: Regenerated.
1977 * manual/install.texi (Tools for Compilation): Update GCC version
1978 requirement.
1979 * INSTALL: Regenerated.
1980
1981 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1982
1983 [BZ #15674]
1984 * string/test-memcmp.c (check2): New.
1985 (main): Call check2.
1986
1987 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1988
1989 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1990
1991 [BZ #15022]
1992 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1993 over to...
1994 (dl_open_worker) [!SHARED]: ... here.
1995
1996 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1997
1998 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1999
2000 2013-06-25 Richard Henderson <rth@redhat.com>
2001
2002 * locale/programs/locarchive.c: Include <libc-internal.h>
2003
2004 2013-06-25 Joseph Myers <joseph@codesourcery.com>
2005
2006 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2007 trailing whitespace removed.
2008
2009 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2010
2011 [BZ #10283]
2012 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2013 * locale/programs/locarchive.c: Include libc-mmap.h.
2014 (prepare_address_space): Take two new outputs (the mmap base and len).
2015 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2016 values.
2017 (create_archive): Declare new mmap base and len values for
2018 prepare_address_space, and store the result in ah.
2019 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2020 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2021 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2022 Declare new mmap base and len values for
2023 prepare_address_space, and store the result in new_ah.
2024 (open_archive): Declare new mmap base and len values for
2025 prepare_address_space, and store the result in ah.
2026 (close_archive): If ah->mmap_base is not NULL, use that and
2027 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2028 * sysdeps/generic/libc-mmap.h: New file.
2029
2030 2013-06-24 Mike Frysinger <vapier@gentoo.org>
2031
2032 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2033 (ALIGN_UP): Likewise.
2034 (PTR_ALIGN_DOWN): Likewise.
2035 (PTR_ALIGN_UP): Likewise.
2036
2037 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2038
2039 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2040 entry mapped to PPC_PLATFORM_POWER8.
2041 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2042 POWER8.
2043 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2044 (_dl_string_platform): Add case for exporting platform position for
2045 POWER8.
2046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2047 search path to sysdeps/powerpc/powerpc32/power8 directory.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2049 search path to sysdeps/powerpc/powerpc64/power8 directory.
2050 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2051 power7 directories.
2052 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2053 power7 directories.
2054
2055 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2056
2057 * INSTALL: Regenerate.
2058
2059 * nscd/connections.c (nscd_init): Fix comment.
2060
2061 2013-06-22 Joseph Myers <joseph@codesourcery.com>
2062
2063 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2064
2065 [BZ #15667]
2066 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2067 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2068
2069 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2070
2071 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2072 DL_DST_REQ_STATIC.
2073 (DL_DST_REQ_STATIC): Remove macro.
2074
2075 2013-06-21 Joseph Myers <joseph@codesourcery.com>
2076
2077 [BZ #7006]
2078 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2079 with a shift of 0 bits.
2080
2081 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2082
2083 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2084 $(tststatic-ENV).
2085
2086 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2087
2088 [BZ #15655]
2089 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2090
2091 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2092
2093 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2094 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2095 accepts -fno-tree-loop-distribute-patterns.
2096 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2097 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2098 recursive call.
2099 * string/memset.c (memset): Likewise.
2100 * string/test-memmove.c (simple_memmove): Disable loop transformation
2101 to library calls.
2102 * string/test-memset.c (simple_memset): Likewise.
2103 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2104 * benchtests/bench-memset.c (simple_memset): Likewise.
2105 * configure: Regenerated.
2106
2107 2013-06-20 Joseph Myers <joseph@codesourcery.com>
2108
2109 * math/test-misc.c (main): Ignore fesetround failure when failures
2110 of subsequent rounding tests would be ignored.
2111
2112 [BZ #15654]
2113 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2114 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2115 * math/fegetenv.c (__fegetenv): Return 0.
2116 * math/fegetexcept.c (fegetexcept): Return 0.
2117 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2118 FE_TONEAREST.
2119 * math/feholdexcpt.c (feholdexcept): Return 0.
2120 * math/fesetenv.c (__fesetenv): Return 0.
2121 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2122 argument FE_TONEAREST.
2123 * math/feupdateenv.c (__feupdateenv): Return 0.
2124 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2125
2126 2013-06-18 Roland McGrath <roland@hack.frob.com>
2127
2128 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2129 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2130 ($(objpfx)rtld-%.os rules): Use them.
2131
2132 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2133
2134 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2135 fields.
2136
2137 2013-06-17 Roland McGrath <roland@hack.frob.com>
2138
2139 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2140 length of target pattern, then descending length of dependency pattern.
2141 * configure.in (AWK): Require gawk 3.1.2 or newer.
2142 * manual/install.texi (Tools for Compilation): Say that we do.
2143 * configure: Regenerated.
2144
2145 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2146 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2147 * scripts/sysd-rules.awk: ... this new script.
2148 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2149 than a glob-style pattern.
2150
2151 2013-06-17 Joseph Myers <joseph@codesourcery.com>
2152
2153 * math/test-misc.c (main): Do not treat incorrectly rounded
2154 conversions as failure unless ROUNDING_TESTS passes.
2155
2156 2013-06-15 Joseph Myers <joseph@codesourcery.com>
2157
2158 [BZ #15631]
2159 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2160 restore exception state around main square root computation, then
2161 check for inexactness explicitly.
2162
2163 * math/libm-test.inc (fma_test_data): Add another test.
2164
2165 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2166
2167 * manual/threads.texi (Non-POSIX Extensions): New document
2168 node. Document pthread_getattr_default_np and
2169 pthread_setattr_default_np.
2170
2171 * Versions.def (libpthread): Add GLIBC_2.18.
2172 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2174 Likewise.
2175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2176 Likewise.
2177 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2178 Likewise.
2179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2180 Likewise.
2181 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2182 Likewise.
2183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2184 Likewise.
2185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2186 Likewise.
2187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2188 Likewise.
2189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2190 Likewise.
2191
2192 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2193
2194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2195 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2196
2197 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2198 H.J. Lu <hjl.tools@gmail.com>
2199
2200 [BZ #15627]
2201 * sysdeps/x86_64/rtld-memset.c: Remove file.
2202 * sysdeps/x86_64/rtld-memset.S: New file.
2203
2204 2013-06-14 Joseph Myers <joseph@codesourcery.com>
2205
2206 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2207 (test_in_one_mode): Take arguments for whether the rounding mode
2208 is supported for each floating-point type.
2209 (do_test): Pass new arguments to test_in_one_mode using
2210 ROUNDING_TESTS.
2211
2212 2013-06-13 Roland McGrath <roland@hack.frob.com>
2213
2214 * posix/tst-waitid.c (do_test): Distinguish different instances of
2215 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2216 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2217 before entering the kernel for waitpid.
2218
2219 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2220
2221 * NEWS: Fix note on clock function precision. Text by Roland
2222 McGrath.
2223
2224 2013-06-13 Roland McGrath <roland@hack.frob.com>
2225
2226 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2227 it into place only when and if the sanity check passes.
2228
2229 2013-06-13 Joseph Myers <joseph@codesourcery.com>
2230
2231 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2232 output for whether conversion result is exact. Take argument
2233 indicating whether type is IBM long double.
2234 (round_for_all): Change need_exact field to ibm_ld.
2235 * stdlib/tst-strtod-round.c (struct exactness): New type.
2236 (struct test): Change bool ld_ok field to struct exactness exact.
2237 (TEST): Update all definitions for change to field.
2238 (tests): Regenerate array contents.
2239 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2240 field value. Check for IBM long double here.
2241 (do_test): Update calls to test_in_one_mode.
2242
2243 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2244
2245 [BZ #12515]
2246 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2247 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2248
2249 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2250
2251 [BZ #15605]
2252 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2253 generated by the compiler on loop optimizations.
2254 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2255 general definitions.
2256
2257 2013-06-12 Joseph Myers <joseph@codesourcery.com>
2258
2259 * math/bug-nextafter.c: Include <math-tests.h>.
2260 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2261 the relevant type.
2262 * math/bug-nexttoward.c: Include <math-tests.h>.
2263 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2264 the relevant type.
2265 * math/test-misc.c: Include <math-tests.h>.
2266 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2267 the relevant type.
2268
2269 2013-06-12 Andreas Jaeger <aj@suse.de>
2270
2271 * po/ia.po: Update Interlingua translation from translation
2272 project.
2273
2274 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2275
2276 * include/fenv.h: Include stdbool.h.
2277 (struct rm_ctx): New structure.
2278 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2279 Define macro.
2280 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2281 (SET_RESTORE_ROUNDF): Likewise.
2282 (SET_RESTORE_ROUNDL): Likewise.
2283 (SET_RESTORE_ROUND_NOEX): Likewise.
2284 (SET_RESTORE_ROUND_NOEXF): Likewise.
2285 (SET_RESTORE_ROUND_NOEXL): Likewise.
2286 (SET_RESTORE_ROUND_53BIT): Likewise.
2287 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2288 (libc_feresetround_noexf_ctx): Likewise.
2289 (libc_feresetround_noexl_ctx): Likewise.
2290 (libc_feholdsetround_53bit_ctx): Likewise.
2291 (libc_feresetround_53bit_ctx): Likewise.
2292 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2293 (libc_feholdexcept_setround_sse_ctx): New function.
2294 (libc_fesetenv_sse_ctx): Likewise.
2295 (libc_feupdateenv_sse_ctx): Likewise.
2296 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2297 (libc_feholdexcept_setround_387_ctx): Likewise.
2298 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2299 (libc_feholdsetround_387_prec_ctx): Likewise.
2300 (libc_feholdsetround_387_ctx): Likewise.
2301 (libc_feholdsetround_387_53bit_ctx): Likewise.
2302 (libc_feholdsetround_sse_ctx): Likewise.
2303 (libc_feresetround_sse_ctx): Likewise.
2304 (libc_feresetround_387_ctx): Likewise.
2305 (libc_feupdateenv_387_ctx): Likewise.
2306 (libc_feholdexcept_setroundf_ctx): Define macro.
2307 (libc_fesetenvf_ctx): Likewise.
2308 (libc_feupdateenvf_ctx): Likewise.
2309 (libc_feholdsetroundf_ctx): Likewise.
2310 (libc_feresetroundf_ctx): Likewise.
2311 (libc_feholdexcept_setround_ctx): Likewise.
2312 (libc_fesetenv_ctx): Likewise.
2313 (libc_feupdateenv_ctx): Likewise.
2314 (libc_feholdsetround_ctx): Likewise.
2315 (libc_feresetround_ctx): Likewise.
2316 (libc_feholdexcept_setroundl_ctx): Likewise.
2317 (libc_feupdateenvl_ctx): Likewise.
2318 (libc_feholdsetroundl_ctx): Likewise.
2319 (libc_feresetroundl_ctx): Likewise.
2320 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2321 (libc_feresetround_53bit_ctx): Likewise.
2322
2323 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2324
2325 * locale/iso-639.def: Convert to UTF-8.
2326
2327 2013-06-11 Joseph Myers <joseph@codesourcery.com>
2328
2329 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2330 (EXCEPTION_TESTS_double): Likewise.
2331 (EXCEPTION_TESTS_long_double): Likewise.
2332 (EXCEPTION_TESTS): Likewise.
2333 * math/libm-test.inc (test_exceptions): Only test exceptions if
2334 EXCEPTION_TESTS (FLOAT).
2335
2336 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2337
2338 * benchtests/Makefile (string-bench): Add strcpy_chk and
2339 stpcpy_chk.
2340 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2341 * benchtests/bench-stpcpy_chk.c: New file.
2342 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2343 * benchtests/bench-strcpy_chk.c: New file.
2344 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2345 code.
2346 (do_test): Likewise.
2347
2348 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2349
2350 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2351 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2352 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2353 with tabs where appropriate.
2354 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2355 dl-procinfo.h.
2356 [PPC_PLATFORM_PPC440]: Likewise.
2357 [PPC_PLATFORM_PPC464]: Likewise.
2358 [PPC_PLATFORM_PPC476]: Likewise.
2359 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2360 ppc464, and ppc476 platform strings merging from ports/
2361 dl-procinfo.h.
2362
2363 2013-06-11 Andreas Schwab <schwab@suse.de>
2364
2365 [BZ #14991]
2366 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2367 (from_ucs4_idx): Regenerate.
2368 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2369 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2370 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2371 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2372 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2373 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2374 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2375 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2376 from FROM_LOOP and TO_LOOP specific macros.
2377 (BODY): Handle combining characters.
2378 * iconvdata/BIG5HKSCS.irreversible: Update.
2379 * iconvdata/BIG5HKSCS.precomposed: New file.
2380 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2381 characters.
2382 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2383
2384 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2385
2386 * include/sys/time.h: Fix indentation and add copyright header.
2387
2388 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2389 (do_test): Likewise.
2390 * string/test-memchr.c (do_one_test): Likewise.
2391 (do_test): Likewise.
2392 * string/test-memcmp.c (do_one_test): Likewise.
2393 (do_test): Likewise.
2394 * string/test-memcpy.c (do_one_test): Likewise.
2395 (do_test): Likewise.
2396 * string/test-memmem.c (do_one_test): Likewise.
2397 (do_test): Likewise.
2398 (do_random_tests): Likewise.
2399 * string/test-memmove.c (do_one_test): Likewise.
2400 (do_test): Likewise.
2401 * string/test-memset.c (do_one_test): Likewise.
2402 (do_test): Likewise.
2403 * string/test-rawmemchr.c (do_one_test): Likewise.
2404 (do_test): Likewise.
2405 * string/test-strcasecmp.c (do_one_test): Likewise.
2406 (do_test): Likewise.
2407 * string/test-strcasestr.c (do_one_test): Likewise.
2408 (do_test): Likewise.
2409 * string/test-strcat.c (do_one_test): Likewise.
2410 (do_test): Likewise.
2411 * string/test-strchr.c (do_one_test): Likewise.
2412 (do_test): Likewise.
2413 * string/test-strcmp.c (do_one_test): Likewise.
2414 (do_test): Likewise.
2415 * string/test-strcpy.c (do_one_test): Likewise.
2416 (do_test): Likewise.
2417 * string/test-string.h: Likewise.
2418 (test_init): Likewise.
2419 * string/test-strlen.c (do_one_test): Likewise.
2420 (do_test): Likewise.
2421 * string/test-strncasecmp.c (do_one_test): Likewise.
2422 (do_test): Likewise.
2423 * string/test-strncat.c (do_one_test): Likewise.
2424 (do_test): Likewise.
2425 * string/test-strncmp.c (do_one_test): Likewise.
2426 (do_test_limit): Likewise.
2427 (do_test): Likewise.
2428 * string/test-strncpy.c (do_one_test): Likewise.
2429 (do_test): Likewise.
2430 * string/test-strnlen.c (do_one_test): Likewise.
2431 (do_test): Likewise.
2432 * string/test-strpbrk.c (do_one_test): Likewise.
2433 (do_test): Likewise.
2434 * string/test-strrchr.c (do_one_test): Likewise.
2435 (do_test): Likewise.
2436 * string/test-strspn.c (do_one_test): Likewise.
2437 (do_test): Likewise.
2438 * string/test-strstr.c (do_one_test): Likewise.
2439 (do_test): Likewise.
2440
2441 * benchtests/Makefile (string-bench): Add string benchmarks.
2442 * benchtests/bench-bcopy-ifunc.c: New file.
2443 * benchtests/bench-bcopy.c: New file.
2444 * benchtests/bench-bzero-ifunc.c: New file.
2445 * benchtests/bench-bzero.c: New file.
2446 * benchtests/bench-memccpy-ifunc.c: New file.
2447 * benchtests/bench-memccpy.c: New file.
2448 * benchtests/bench-memchr-ifunc.c: New file.
2449 * benchtests/bench-memchr.c: New file.
2450 * benchtests/bench-memcmp-ifunc.c: New file.
2451 * benchtests/bench-memcmp.c: New file.
2452 * benchtests/bench-memmem-ifunc.c: New file.
2453 * benchtests/bench-memmem.c: New file.
2454 * benchtests/bench-memmove-ifunc.c: New file.
2455 * benchtests/bench-memmove.c: New file.
2456 * benchtests/bench-mempcpy-ifunc.c: New file.
2457 * benchtests/bench-mempcpy.c: New file.
2458 * benchtests/bench-memset-ifunc.c: New file.
2459 * benchtests/bench-memset.c: New file.
2460 * benchtests/bench-rawmemchr-ifunc.c: New file.
2461 * benchtests/bench-rawmemchr.c: New file.
2462 * benchtests/bench-stpcpy-ifunc.c: New file.
2463 * benchtests/bench-stpcpy.c: New file.
2464 * benchtests/bench-stpncpy-ifunc.c: New file.
2465 * benchtests/bench-stpncpy.c: New file.
2466 * benchtests/bench-strcasecmp-ifunc.c: New file.
2467 * benchtests/bench-strcasecmp.c: New file.
2468 * benchtests/bench-strcasestr-ifunc.c: New file.
2469 * benchtests/bench-strcasestr.c: New file.
2470 * benchtests/bench-strcat-ifunc.c: New file.
2471 * benchtests/bench-strcat.c: New file.
2472 * benchtests/bench-strchr-ifunc.c: New file.
2473 * benchtests/bench-strchr.c: New file.
2474 * benchtests/bench-strchrnul-ifunc.c: New file.
2475 * benchtests/bench-strchrnul.c: New file.
2476 * benchtests/bench-strcmp-ifunc.c: New file.
2477 * benchtests/bench-strcmp.c: New file.
2478 * benchtests/bench-strcpy-ifunc.c: New file.
2479 * benchtests/bench-strcpy.c: New file.
2480 * benchtests/bench-strcspn-ifunc.c: New file.
2481 * benchtests/bench-strcspn.c: New file.
2482 * benchtests/bench-strlen-ifunc.c: New file.
2483 * benchtests/bench-strlen.c: New file.
2484 * benchtests/bench-strncasecmp-ifunc.c: New file.
2485 * benchtests/bench-strncasecmp.c: New file.
2486 * benchtests/bench-strncat-ifunc.c: New file.
2487 * benchtests/bench-strncat.c: New file.
2488 * benchtests/bench-strncmp-ifunc.c: New file.
2489 * benchtests/bench-strncmp.c: New file.
2490 * benchtests/bench-strncpy-ifunc.c: New file.
2491 * benchtests/bench-strncpy.c: New file.
2492 * benchtests/bench-strnlen-ifunc.c: New file.
2493 * benchtests/bench-strnlen.c: New file.
2494 * benchtests/bench-strpbrk-ifunc.c: New file.
2495 * benchtests/bench-strpbrk.c: New file.
2496 * benchtests/bench-strrchr-ifunc.c: New file.
2497 * benchtests/bench-strrchr.c: New file.
2498 * benchtests/bench-strspn-ifunc.c: New file.
2499 * benchtests/bench-strspn.c: New file.
2500 * benchtests/bench-strstr-ifunc.c: New file.
2501 * benchtests/bench-strstr.c: New file.
2502
2503 * benchtests/Makefile: Disable parallel execution of targets.
2504 (string-bench): Add memcpy.
2505 (benchset): New variable to store a list of benchmark sets.
2506 (bench-func): Renamed from bench.
2507 (bench-set): New target.
2508 (bench): Depend on bench-func and bench-set.
2509 * benchtests/README: Add section on benchmark sets.
2510 * benchtests/bench-memcpy-ifunc.c: New file.
2511 * benchtests/bench-memcpy.c: New file.
2512 * benchtests/bench-string.h: New file.
2513
2514 2013-06-11 Andreas Schwab <schwab@suse.de>
2515
2516 [BZ #15577]
2517 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2518 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2519 values in the triple.
2520 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2521 terminator in the group key.
2522
2523 2013-06-11 Andreas Jaeger <aj@suse.de>
2524
2525 * po/zh_TW.po: Update Chinese (traditional) translation from
2526 translation project.
2527
2528 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2529
2530 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2531 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2532 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2533 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2534 (clock_getcpuclockid): Likewise.
2535 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2536 Add weak_alias and libc_hidden_def.
2537 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2538 * rt/clock_gettime.c (clock_gettime): Rename to
2539 __clock_gettime. Add weak_alias and libc_hidden_def.
2540 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2541 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2542 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2543 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2544 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2545 Likewise.
2546 * rt/clock_settime.c (clock_settime): Rename to
2547 __clock_settime. Add weak_alias and libc_hidden_def.
2548 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2549
2550 2013-06-10 Joseph Myers <joseph@codesourcery.com>
2551
2552 * mach/err_boot.sub: Remove trailing whitespace.
2553 * mach/err_ipc.sub: Likewise.
2554 * mach/err_mach.sub: Likewise.
2555
2556 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2557 (ROUNDING_TESTS_double): Likewise.
2558 (ROUNDING_TESTS_long_double): Likewise.
2559 (ROUNDING_TESTS): Likewise.
2560 * math/libm-test.inc: Include <math-tests.h>.
2561 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2562 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2563 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2564 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2565
2566 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2567
2568 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2569 of assigning.
2570
2571 2013-06-08 Joseph Myers <joseph@codesourcery.com>
2572
2573 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2574 otherwise empty TRANS lines.
2575 * sysdeps/gnu/errlist.c: Regenerated.
2576
2577 * catgets/gencat.c (error_print): Use (void) in function
2578 definition.
2579 * crypt/crypt_util.c (__init_des): Likewise.
2580 * crypt/speeds.c (Stop): Likewise.
2581 (main): Likewise.
2582 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2583 * inet/ruserpass.c (token): Likewise.
2584 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2585 * intl/localealias.c (extend_alias_table): Likewise.
2586 * intl/plural-exp.c (init_germanic_plural): Likewise.
2587 * libio/fcloseall.c (__fcloseall): Likewise.
2588 * libio/genops.c (_IO_flush_all): Likewise.
2589 (_IO_flush_all_linebuffered): Likewise.
2590 (_IO_cleanup): Likewise.
2591 (_IO_iter_begin): Likewise.
2592 (_IO_iter_end): Likewise.
2593 (_IO_list_lock): Likewise.
2594 (_IO_list_unlock): Likewise.
2595 (_IO_list_resetlock): Likewise.
2596 * libio/getchar.c (getchar): Likewise.
2597 * libio/getchar_u.c (getchar_unlocked): Likewise.
2598 * libio/getwchar.c (getwchar): Likewise.
2599 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2600 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2601 * login/getpt.c (__getpt): Likewise.
2602 * login/tst-utmp.c (main): Likewise.
2603 * malloc/hooks.c (__malloc_check_init): Likewise.
2604 * malloc/malloc.c (__malloc_stats): Likewise.
2605 * malloc/mtrace.c (tr_break): Likewise.
2606 (mtrace): Likewise.
2607 (muntrace): Likewise.
2608 * misc/fstab.c (endfsent): Likewise.
2609 * misc/getclktck.c (__getclktck): Likewise.
2610 * misc/getdtsz.c (__getdtablesize): Likewise.
2611 * misc/gethostid.c (gethostid): Likewise.
2612 * misc/getpagesize.c (__getpagesize): Likewise.
2613 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2614 (__get_nprocs): Likewise.
2615 (__get_phys_pages): Likewise.
2616 (__get_avphys_pages): Likewise.
2617 * misc/getttyent.c (getttyent): Likewise.
2618 (setttyent): Likewise.
2619 (endttyent): Likewise.
2620 * misc/getusershell.c (getusershell): Likewise.
2621 (endusershell): Likewise.
2622 (setusershell): Likewise.
2623 (initshells): Likewise.
2624 * misc/hsearch.c (__hdestroy): Likewise.
2625 * misc/sync.c (sync): Likewise.
2626 * misc/syslog.c (closelog_internal): Likewise.
2627 (closelog): Likewise.
2628 * misc/ttyslot.c (ttyslot): Likewise.
2629 * misc/vhangup.c (vhangup): Likewise.
2630 * posix/fork.c (__fork): Likewise.
2631 * posix/getegid.c (__getegid): Likewise.
2632 * posix/geteuid.c (__geteuid): Likewise.
2633 * posix/getgid.c (__getgid): Likewise.
2634 * posix/getpid.c (__getpid): Likewise.
2635 * posix/getppid.c (__getppid): Likewise.
2636 * posix/getuid.c (__getuid): Likewise.
2637 * posix/pause.c (pause): Likewise.
2638 * posix/setpgrp.c (setpgrp): Likewise.
2639 * posix/setsid.c (__setsid): Likewise.
2640 * posix/test-vfork.c (noop): Likewise.
2641 * resolv/gethnamaddr.c (_endhtent): Likewise.
2642 (_gethtent): Likewise.
2643 (ht_endhostent): Likewise.
2644 (gethostent): Likewise.
2645 (dns_service): Likewise.
2646 * stdlib/drand48.c (drand48): Likewise.
2647 * stdlib/lrand48.c (lrand48): Likewise.
2648 * stdlib/mrand48.c (mrand48): Likewise.
2649 * stdlib/rand.c (rand): Likewise.
2650 * stdlib/random.c (__random): Likewise.
2651 * stdlib/setenv.c (clearenv): Likewise.
2652 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2653 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2654 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2655 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2656 (__get_nprocs): Likewise.
2657 (__get_phys_pages): Likewise.
2658 (__get_avphys_pages): Likewise.
2659 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2660 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2661 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2662 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2663 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2664 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2665 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2666 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2667 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2668 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2669 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2670 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2671 * sysdeps/posix/clock.c (clock): Likewise.
2672 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2673 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2674 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2675 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2676 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2678 (__get_nprocs_conf): Likewise.
2679 (__get_phys_pages): Likewise.
2680 (__get_avphys_pages): Likewise.
2681 * time/clock.c (clock): Likewise.
2682 * time/tzset.c (__tzname_max): Likewise.
2683
2684 2013-06-07 Joseph Myers <joseph@codesourcery.com>
2685
2686 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2687 (__bswap_32): Do not use "register".
2688 * crypt/crypt.c (_ufc_doit_r): Likewise.
2689 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2690 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2691 * gmon/gmon.c (__monstartup): Likewise.
2692 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2693 * hurd/hurdmalloc.c (more_memory): Likewise.
2694 (malloc): Likewise.
2695 (free): Likewise.
2696 (realloc): Likewise.
2697 (malloc_fork_prepare): Likewise.
2698 (malloc_fork_parent): Likewise.
2699 (malloc_fork_child): Likewise.
2700 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2701 (_svcauth_des): Likewise.
2702 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2703 * inet/inet_net.c (inet_network): Likewise.
2704 * inet/inet_netof.c (inet_netof): Likewise.
2705 * inet/rcmd.c (__validuser2_sa): Likewise.
2706 * io/fts.c (fts_open): Likewise.
2707 (fts_load): Likewise.
2708 (fts_close): Likewise.
2709 (fts_read): Likewise.
2710 (fts_children): Likewise.
2711 (fts_build): Likewise.
2712 (fts_stat): Likewise.
2713 (fts_sort): Likewise.
2714 (fts_alloc): Likewise.
2715 (fts_lfree): Likewise.
2716 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2717 (_IO_file_xsgetn): Likewise.
2718 (_IO_file_xsgetn_mmap): Likewise.
2719 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2720 (_IO_cookie_write): Likewise.
2721 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2722 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2723 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2724 * malloc/obstack.c (_obstack_begin): Likewise.
2725 (_obstack_begin_1): Likewise.
2726 (_obstack_newchunk): Likewise.
2727 (_obstack_allocated_p): Likewise.
2728 (obstack_free): Likewise.
2729 (_obstack_memory_used): Likewise.
2730 * misc/getttyent.c (getttynam): Likewise.
2731 (getttyent): Likewise.
2732 (skip): Likewise.
2733 (value): Likewise.
2734 * misc/getusershell.c (initshells): Likewise.
2735 * misc/syslog.c (__vsyslog_chk): Likewise.
2736 * misc/ttyslot.c (ttyslot): Likewise.
2737 * nis/nis_hash.c (__nis_hash): Likewise.
2738 * posix/fnmatch_loop.c (FCT): Likewise.
2739 * posix/getconf.c (print_all): Likewise.
2740 (main): Likewise.
2741 * posix/getopt.c (exchange): Likewise.
2742 * posix/glob.c (globfree): Likewise.
2743 (prefix_array): Likewise.
2744 (__glob_pattern_type): Likewise.
2745 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2746 (NS_GET32): Likewise.
2747 (NS_PUT16): Likewise.
2748 (NS_PUT32): Likewise.
2749 * resolv/gethnamaddr.c (getanswer): Likewise.
2750 (gethostbyname2): Likewise.
2751 (gethostbyaddr): Likewise.
2752 (_gethtent): Likewise.
2753 (_gethtbyname2): Likewise.
2754 (_gethtbyaddr): Likewise.
2755 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2756 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2757 * resolv/res_init.c (__res_vinit): Likewise.
2758 (net_mask): Likewise.
2759 * resolv/res_mkquery.c (outchar): Likewise.
2760 (PRINT): Likewise.
2761 * stdio-common/printf_fp.c (outchar): Likewise.
2762 (PRINT): Likewise.
2763 * stdio-common/printf_fphex.c (outchar): Likewise.
2764 (PRINT): Likewise.
2765 * stdio-common/printf_size.c (outchar): Likewise.
2766 (PRINT): Likewise.
2767 * stdio-common/test_rdwr.c (main): Likewise.
2768 * stdio-common/tfformat.c (matches): Likewise.
2769 * stdio-common/vfprintf.c (outchar): Likewise.
2770 (printf_unknown): Likewise.
2771 (buffered_vfprintf): Likewise.
2772 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2773 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2774 (ReadFile): Likewise.
2775 * stdlib/qsort.c (SWAP): Likewise.
2776 (_quicksort): Likewise.
2777 * stdlib/setenv.c (__add_to_environ): Likewise.
2778 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2779 * stdlib/strtol_l.c (__strtol_l): Likewise.
2780 * stdlib/tst-strtod.c (main): Likewise.
2781 * stdlib/tst-strtol.c (main): Likewise.
2782 * stdlib/tst-strtoll.c (main): Likewise.
2783 * string/bits/string2.h (__strcmp_cc): Likewise.
2784 (__strcmp_cg): Likewise.
2785 (__strcspn_c1): Likewise.
2786 (__strcspn_c2): Likewise.
2787 (__strcspn_c3): Likewise.
2788 (__strspn_c1): Likewise.
2789 (__strspn_c2): Likewise.
2790 (__strspn_c3): Likewise.
2791 (__strsep_1c): Likewise.
2792 (__strsep_2c): Likewise.
2793 (__strsep_3c): Likewise.
2794 * string/memccpy.c (__memccpy): Likewise.
2795 * string/stpcpy.c (__stpcpy): Likewise.
2796 * string/strcmp.c (strcmp): Likewise.
2797 * string/strrchr.c (strrchr): Likewise.
2798 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2799 Likewise.
2800 * sysdeps/mach/hurd/getcwd.c
2801 (_hurd_canonicalize_directory_name_internal): Likewise.
2802 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2803 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2804 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2805 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2806 Likewise, in both definitions.
2807 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2808 definitions.
2809 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2810 64] (__bswap_64): Likewise.
2811 * time/test_time.c (main): Likewise.
2812 * time/tzfile.c (__tzfile_read): Likewise.
2813 (__tzfile_compute): Likewise.
2814 * time/tzset.c (__tzset_parse_tz): Likewise.
2815 (tzset_internal): Likewise.
2816 (compute_change): Likewise.
2817 * wcsmbs/wcscat.c (__wcscat): Likewise.
2818 * wcsmbs/wcschr.c (wcschr): Likewise.
2819 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2820 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2821 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2822 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2823 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2824 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2825 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2826 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2827 * wcsmbs/wmemset.c (wmemset): Likewise.
2828
2829 2013-06-06 Joseph Myers <joseph@codesourcery.com>
2830
2831 * scripts/config.guess: Update to version 2013-05-16.
2832 * scripts/config.sub: Update to version 2013-04-24.
2833 * scripts/install-sh: Update to version 2011-11-20.07.
2834 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2835 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2836
2837 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
2838
2839 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2840 * elf/sln.c: Likewise.
2841 * hurd/hurd/ioctl.h: Likewise.
2842 * hurd/hurdmalloc.c: Likewise.
2843 * hurd/xattr.c: Likewise.
2844 * include/shlib-compat.h: Likewise.
2845 * inet/ruserpass.c: Likewise.
2846 * libio/iofgets_u.c: Likewise.
2847 * libio/iofgetws_u.c: Likewise.
2848 * locale/programs/ld-identification.c: Likewise.
2849 * locale/programs/ld-time.c: Likewise.
2850 * mach/msg-destroy.c: Likewise.
2851 * nss/nss_files/files-netgrp.c: Likewise.
2852 * resolv/res_data.c: Likewise.
2853 * soft-fp/op-1.h: Likewise.
2854 * soft-fp/op-2.h: Likewise.
2855 * soft-fp/op-4.h: Likewise.
2856 * soft-fp/op-common.h: Likewise.
2857 * stdio-common/printf_fphex.c: Likewise.
2858 * stdlib/strtod_l.c: Likewise.
2859 * sunrpc/rpc/clnt.h: Likewise.
2860 * sysdeps/generic/framestate.c: Likewise.
2861 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2862 * sysdeps/i386/bsd-setjmp.S: Likewise.
2863 * sysdeps/i386/__longjmp.S: Likewise.
2864 * sysdeps/i386/setjmp.S: Likewise.
2865 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2866 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2867 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2870 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2872 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2874 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2876 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2879 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2880 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2881 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2882 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2883 * sysdeps/ieee754/support.c: Likewise.
2884 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2885 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2886 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2887 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2888 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2889 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2890 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2891 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2892 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2893 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2894 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2895 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2896 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2897 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2898 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2899 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2900 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2902
2903 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
2904
2905 * posix/transbug.c: Remove executable mode.
2906
2907 2013-06-05 Joseph Myers <joseph@codesourcery.com>
2908
2909 * crypt/speeds.c: Remove trailing whitespace.
2910 * dlfcn/default.c: Likewise.
2911 * elf/ifuncdep2.c: Likewise.
2912 * elf/ifuncmain1.c: Likewise.
2913 * elf/ifuncmain1vis.c: Likewise.
2914 * elf/testobj.h: Likewise.
2915 * elf/tst-stackguard1.c: Likewise.
2916 * gmon/sys/gmon.h: Likewise.
2917 * hurd/hurdmsg.c: Likewise.
2918 * hurd/new-fd.c: Likewise.
2919 * hurd/ports-get.c: Likewise.
2920 * iconvdata/ibm1008_420.c: Likewise.
2921 * inet/tst-getni1.c: Likewise.
2922 * inet/tst-getni2.c: Likewise.
2923 * libio/ioungetc.c: Likewise.
2924 * libio/wfiledoalloc.c: Likewise.
2925 * manual/libm-err-tab.pl: Likewise.
2926 * math/w_dremf.c: Likewise.
2927 * misc/ftruncate.c: Likewise.
2928 * posix/bug-glob2.c: Likewise.
2929 * posix/tst-pcre.c: Likewise.
2930 * posix/wait4.c: Likewise.
2931 * resolv/README: Likewise.
2932 * resolv/res_debug.h: Likewise.
2933 * resolv/tst-inet_ntop.c: Likewise.
2934 * setjmp/bug269-setjmp.c: Likewise.
2935 * soft-fp/extended.h: Likewise.
2936 * soft-fp/op-1.h: Likewise.
2937 * soft-fp/op-2.h: Likewise.
2938 * soft-fp/op-4.h: Likewise.
2939 * soft-fp/op-8.h: Likewise.
2940 * soft-fp/testit.c: Likewise.
2941 * stdio-common/bug16.c: Likewise.
2942 * stdlib/random.c: Likewise.
2943 * sunrpc/rpcsvc/rquota.x: Likewise.
2944 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2945 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2946 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2947 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2948 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2949 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2950 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2951 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2952 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2953 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2954 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2955 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2956 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2957 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2958 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2959 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2960 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2961 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2962 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2963 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2964 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2966 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2967 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2968 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2969 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2970 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2971 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2972 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2973 * sysdeps/ieee754/s_lib_version.c: Likewise.
2974 * sysdeps/mach/hurd/check_fds.c: Likewise.
2975 * sysdeps/mach/hurd/getsockname.c: Likewise.
2976 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2977 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2978 * sysdeps/powerpc/bits/link.h: Likewise.
2979 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2980 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2981 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2982 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2983 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2984 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2985 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2986 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2987 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2988 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2989 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2990 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2991 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2992 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2993 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2994 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2995 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2996 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2997 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2998 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2999 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3000 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3001 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3002 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3003 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3004 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3005 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3006 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3007 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3008 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3009 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3010 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3011 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3012 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3013 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3014 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3015 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3016 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3017 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3018 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3019 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3020 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3021 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3022 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3023 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3024 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3025 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3026 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3027 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3028 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3029 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3030 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3031 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3032 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3033 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3034 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3035 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3036 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3037 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3038 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3039 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3040 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3041 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3042 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3043 * sysdeps/powerpc/sysdep.h: Likewise.
3044 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3045 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3046 * sysdeps/sh/dl-trampoline.S: Likewise.
3047 * sysdeps/sh/memset.S: Likewise.
3048 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3049 * sysdeps/sh/strlen.S: Likewise.
3050 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3051 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3052 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3053 * sysdeps/sparc/sparc32/rem.S: Likewise.
3054 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3055 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3056 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3057 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3058 * sysdeps/sparc/sparc32/urem.S: Likewise.
3059 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3060 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3061 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3062 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3063 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3064 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3065 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3066 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3067 * sysdeps/unix/bsd/times.c: Likewise.
3068 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3069 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3073 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3074 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3075 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3076 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3077 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3078 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3079 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3080 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3081 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3082 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3083 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3084 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3085 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3086 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3087 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3088 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3089 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3090 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3091 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3092 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3093 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3094 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3095 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3096 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3097 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3098 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3099 * sysdeps/x86_64/strcspn.S: Likewise.
3100
3101 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3102
3103 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3104 generated file. Regenerate properly from gen-translit.pl.
3105 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3106 locale/C-translit.h.
3107
3108 2013-06-05 Andreas Schwab <schwab@suse.de>
3109
3110 [BZ #15100]
3111 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3112 week as 6 instead of -1.
3113 * time/tst-strptime.c (day_tests): Add test case.
3114
3115 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3116
3117 * sysdeps/generic/math_private.h
3118 (libc_feholdexcept_setround_53bit): Replace with
3119 libc_feholdsetround_53bit.
3120 (libc_feupdateenv_53bit): Replace with
3121 libc_feresetround_53bit.
3122 (SET_RESTORE_ROUND_53BIT): Adjust.
3123
3124 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3125
3126 * string/test-strchrnul.c: Add copyright header.
3127
3128 * posix/tst-getaddrinfo4.c: Increase test timeout.
3129
3130 2013-06-03 Carlos O'Donell <carlos@redhat.com>
3131
3132 [BZ #15536]
3133 * math/libm-test.inc (MAX_EXP): Remove
3134 (MIN_EXP): Define.
3135 (ulp): Use MIN_EXP - MANT_DIG.
3136 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3137
3138 2013-05-31 Carlos O'Donell <carlos@redhat.com>
3139
3140 * po/be.po: Revert last change.
3141 * po/zh_CN.po: Likewise.
3142 * po/header.pot: Likewise.
3143
3144 2013-05-31 Joseph Myers <joseph@codesourcery.com>
3145
3146 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3147 link-libc-deps to empty as target-specific variable.
3148 * Makerules (link-libc-args): New variable.
3149 (libc-for-link): Likewise.
3150 (link-libc-deps): Likewise.
3151 (lib%.so): Depend on $(link-libc-deps). Link with
3152 $(link-libc-args).
3153 (build-module): Link with $(link-libc-args).
3154 (build-module-asneeded): Likewise.
3155 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3156 list of objects.
3157 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3158 target-specific variable.
3159 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3160 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3161 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3162 libc.
3163 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3164 libc and ld.so.
3165 ($(objpfx)libpcprofile.so): Likewise.
3166 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3167 libc_nonshared.a.
3168 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3169 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3170 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3171 $(link-libc-deps).
3172 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3173 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3174 * login/Makefile ($(objpfx)libutil.so): Likewise.
3175 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3176 * math/Makefile ($(objpfx)libm.so): Likewise.
3177 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3178 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3179 variable instead of depending directly on libc.
3180 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3181 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3182 $(link-libc-deps).
3183 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3184 libc.
3185 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3186 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3187 ($(objpfx)libanl.so): Likewise.
3188 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3189 ld.so.
3190 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3191 $(link-libc-deps).
3192 * sysdeps/i386/fpu/Makefile: Remove file.
3193 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3194 ($(objpfx)libm.so): Remove dependency on ld.so.
3195
3196 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
3197
3198 [BZ # 15553]
3199 * nis/yp_xdr.c (XDRMAXNAME): Define.
3200 (XDRMAXRECORD): Define.
3201 (xdr_domainname): Use XDRMAXNAME.
3202 (xdr_mapname): Likewise.
3203 (xdr_peername): Likewise.
3204 (xdr_keydat): Use XDRMAXRECORD.
3205 (xdr_valdat): Likewise.
3206
3207 2013-05-30 Jeff Law <law@redhat.com>
3208
3209 [BZ #14256]
3210 * manual/errno.texi (ESTALE): Update to account for more than
3211 just NFS file systems.
3212 * sysdeps/gnu/errlist.c: Regenerated.
3213
3214 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3215
3216 [BZ #15465]
3217 * elf/Makefile (tests): Add tst-null-argv.
3218 (modules-names): Add tst-null-argv-lib.
3219 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3220 (tst-null-argv-ENV): Set environment for tst-null-argv.
3221 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3222 (RTLD_PROGNAME): New macro.
3223 * elf/tst-null-argv.c: New test case.
3224 * elf/tst-null-argv-lib.c: Library for test case.
3225 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3226 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3227 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3228 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3229 * elf/dl-init.c (call_init): Likewise.
3230 (_dl_init): Likewise.
3231 * elf/dl-load.c (print_search_path): Likewise.
3232 (_dl_map_object): Likewise.
3233 * elf/dl-lookup.c (do_lookup_x): Likewise.
3234 (add_dependency): Likewise.
3235 (_dl_lookup_symbol_x): Likewise.
3236 (_dl_debug_bindings): Likewise.
3237 * elf/dl-open.c (_dl_show_scope): Likewise.
3238 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3239 * elf/dl-version.c (match_symbol): Likewise.
3240 (_dl_check_map_versions): Likewise.
3241 * elf/rtld.c (dl_main): Likewise.
3242 (print_unresolved): Use RTLD_PROGNAME.
3243 (print_missing_version): Likewise.
3244 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3245 (elf_machine_rela): Likewise.
3246 * sysdeps/powerpc/powerpc32/dl-machine.c
3247 (__process_machine_rela): Likewise.
3248 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3249 Likewise.
3250 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3251 Likewise.
3252 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3253 Likewise.
3254 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3255 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3256 Likewise.
3257 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3258 Likewise.
3259 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3260
3261 2013-05-28 Carlos O'Donell <carlos@redhat.com>
3262
3263 * po/be.po: Add descriptive title.
3264 * po/zh_CN.po: Likewise.
3265 * po/header.pot: Likewise.
3266
3267 2013-05-28 Mike Frysinger <vapier@gentoo.org>
3268
3269 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3270 error message.
3271 (enlarge_archive): Likewise.
3272
3273 2013-05-28 Ben North <ben@redfrontdoor.org>
3274
3275 * manual/arith.texi (frexp): It is the magnitude of the return
3276 value which lies in [0.5, 1), not the return value itself.
3277
3278 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3279
3280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3281
3282 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3283
3284 * stdio-common/bug26.c (main): Correct fscanf template.
3285
3286 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3287 declare _dl_skip_args.
3288
3289 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3290 Don't declare.
3291
3292 * manual/platform.texi: Add missing @end deftypefun.
3293
3294 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3295
3296 [BZ #15529]
3297 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3298 bit of mantissa of 2^16382.
3299 * math/libm-test.inc (hypot_test_data): Add more tests.
3300
3301 * math/libm-test.inc: Add drem and pow10 to list of tested
3302 functions.
3303 (pow10_test): New function.
3304 (drem_test): Likewise.
3305 (drem_test_tonearest): Likewise.
3306 (drem_test_towardzero): Likewise.
3307 (drem_test_downward): Likewise.
3308 (drem_test_upward): Likewise.
3309 (main): Call the new functions.
3310
3311 * math/libm-test.inc (finite_test_data): Remove.
3312 (finite_test): Run tests from isfinite_test_data.
3313 (gamma_test_data): Remove.
3314 (gamma_test): Run tests from lgamma_test_data.
3315 * sysdeps/i386/fpu/libm-test-ulps: Update.
3316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3317
3318 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3319
3320 * manual/platform.texi: Add PowerPC PPR function set documentation.
3321 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3322 implementation.
3323
3324 2013-05-24 Carlos O'Donell <carlos@redhat.com>
3325
3326 * math/libm-test.inc (MAX_EXP): Define.
3327 (ULPDIFF): Define.
3328 (ulp): New function.
3329 (check_float_internal): Use ULPDIFF.
3330 (cpow_test): Disable failing test.
3331 (check_ulp): Test ulp() implemetnation.
3332 (main): Call check_ulp before starting tests.
3333
3334 2013-05-24 Joseph Myers <joseph@codesourcery.com>
3335
3336 * math/gen-libm-test.pl (generate_testfile): Do not handle
3337 START_DATA and END_DATA.
3338 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3339 END_DATA.
3340 (acos_tonearest_test_data): Likewise.
3341 (acos_towardzero_test_data): Likewise.
3342 (acos_downward_test_data): Likewise.
3343 (acos_upward_test_data): Likewise.
3344 (acosh_test_data): Likewise.
3345 (asin_test_data): Likewise.
3346 (asin_tonearest_test_data): Likewise.
3347 (asin_towardzero_test_data): Likewise.
3348 (asin_downward_test_data): Likewise.
3349 (asin_upward_test_data): Likewise.
3350 (asinh_test_data): Likewise.
3351 (atan_test_data): Likewise.
3352 (atanh_test_data): Likewise.
3353 (atan2_test_data): Likewise.
3354 (cabs_test_data): Likewise.
3355 (cacos_test_data): Likewise.
3356 (cacosh_test_data): Likewise.
3357 (carg_test_data): Likewise.
3358 (casin_test_data): Likewise.
3359 (casinh_test_data): Likewise.
3360 (catan_test_data): Likewise.
3361 (catanh_test_data): Likewise.
3362 (cbrt_test_data): Likewise.
3363 (ccos_test_data): Likewise.
3364 (ccosh_test_data): Likewise.
3365 (ceil_test_data): Likewise.
3366 (cexp_test_data): Likewise.
3367 (cimag_test_data): Likewise.
3368 (clog_test_data): Likewise.
3369 (clog10_test_data): Likewise.
3370 (conj_test_data): Likewise.
3371 (copysign_test_data): Likewise.
3372 (cos_test_data): Likewise.
3373 (cos_tonearest_test_data): Likewise.
3374 (cos_towardzero_test_data): Likewise.
3375 (cos_downward_test_data): Likewise.
3376 (cos_upward_test_data): Likewise.
3377 (cosh_test_data): Likewise.
3378 (cosh_tonearest_test_data): Likewise.
3379 (cosh_towardzero_test_data): Likewise.
3380 (cosh_downward_test_data): Likewise.
3381 (cosh_upward_test_data): Likewise.
3382 (cpow_test_data): Likewise.
3383 (cproj_test_data): Likewise.
3384 (creal_test_data): Likewise.
3385 (csin_test_data): Likewise.
3386 (csinh_test_data): Likewise.
3387 (csqrt_test_data): Likewise.
3388 (ctan_test_data): Likewise.
3389 (ctan_tonearest_test_data): Likewise.
3390 (ctan_towardzero_test_data): Likewise.
3391 (ctan_downward_test_data): Likewise.
3392 (ctan_upward_test_data): Likewise.
3393 (ctanh_test_data): Likewise.
3394 (ctanh_tonearest_test_data): Likewise.
3395 (ctanh_towardzero_test_data): Likewise.
3396 (ctanh_downward_test_data): Likewise.
3397 (ctanh_upward_test_data): Likewise.
3398 (erf_test_data): Likewise.
3399 (erfc_test_data): Likewise.
3400 (exp_test_data): Likewise.
3401 (exp_tonearest_test_data): Likewise.
3402 (exp_towardzero_test_data): Likewise.
3403 (exp_downward_test_data): Likewise.
3404 (exp_upward_test_data): Likewise.
3405 (exp10_test_data): Likewise.
3406 (exp2_test_data): Likewise.
3407 (expm1_test_data): Likewise.
3408 (fabs_test_data): Likewise.
3409 (fdim_test_data): Likewise.
3410 (finite_test_data): Likewise.
3411 (floor_test_data): Likewise.
3412 (fma_test_data): Likewise.
3413 (fma_towardzero_test_data): Likewise.
3414 (fma_downward_test_data): Likewise.
3415 (fma_upward_test_data): Likewise.
3416 (fmax_test_data): Likewise.
3417 (fmin_test_data): Likewise.
3418 (fmod_test_data): Likewise.
3419 (fpclassify_test_data): Likewise.
3420 (frexp_test_data): Likewise.
3421 (gamma_test_data): Likewise.
3422 (hypot_test_data): Likewise.
3423 (ilogb_test_data): Likewise.
3424 (isfinite_test_data): Likewise.
3425 (isgreater_test_data): Likewise.
3426 (isgreaterequal_test_data): Likewise.
3427 (isinf_test_data): Likewise.
3428 (isless_test_data): Likewise.
3429 (islessequal_test_data): Likewise.
3430 (islessgreater_test_data): Likewise.
3431 (isnan_test_data): Likewise.
3432 (isnormal_test_data): Likewise.
3433 (issignaling_test_data): Likewise.
3434 (isunordered_test_data): Likewise.
3435 (j0_test_data): Likewise.
3436 (j1_test_data): Likewise.
3437 (jn_test_data): Likewise.
3438 (ldexp_test_data): Likewise.
3439 (lgamma_test_data): Likewise.
3440 (lrint_test_data): Likewise.
3441 (lrint_tonearest_test_data): Likewise.
3442 (lrint_towardzero_test_data): Likewise.
3443 (lrint_downward_test_data): Likewise.
3444 (lrint_upward_test_data): Likewise.
3445 (llrint_test_data): Likewise.
3446 (llrint_tonearest_test_data): Likewise.
3447 (llrint_towardzero_test_data): Likewise.
3448 (llrint_downward_test_data): Likewise.
3449 (llrint_upward_test_data): Likewise.
3450 (log_test_data): Likewise.
3451 (log10_test_data): Likewise.
3452 (log1p_test_data): Likewise.
3453 (log2_test_data): Likewise.
3454 (logb_test_data): Likewise.
3455 (logb_downward_test_data): Likewise.
3456 (lround_test_data): Likewise.
3457 (llround_test_data): Likewise.
3458 (modf_test_data): Likewise.
3459 (nearbyint_test_data): Likewise.
3460 (nextafter_test_data): Likewise.
3461 (nexttoward_test_data): Likewise.
3462 (pow_test_data): Likewise.
3463 (pow_tonearest_test_data): Likewise.
3464 (pow_towardzero_test_data): Likewise.
3465 (pow_downward_test_data): Likewise.
3466 (pow_upward_test_data): Likewise.
3467 (remainder_test_data): Likewise.
3468 (remainder_tonearest_test_data): Likewise.
3469 (remainder_towardzero_test_data): Likewise.
3470 (remainder_downward_test_data): Likewise.
3471 (remainder_upward_test_data): Likewise.
3472 (remquo_test_data): Likewise.
3473 (rint_test_data): Likewise.
3474 (rint_tonearest_test_data): Likewise.
3475 (rint_towardzero_test_data): Likewise.
3476 (rint_downward_test_data): Likewise.
3477 (rint_upward_test_data): Likewise.
3478 (round_test_data): Likewise.
3479 (scalb_test_data): Likewise.
3480 (scalbn_test_data): Likewise.
3481 (scalbln_test_data): Likewise.
3482 (signbit_test_data): Likewise.
3483 (sin_test_data): Likewise.
3484 (sin_tonearest_test_data): Likewise.
3485 (sin_towardzero_test_data): Likewise.
3486 (sin_downward_test_data): Likewise.
3487 (sin_upward_test_data): Likewise.
3488 (sincos_test_data): Likewise.
3489 (sinh_test_data): Likewise.
3490 (sinh_tonearest_test_data): Likewise.
3491 (sinh_towardzero_test_data): Likewise.
3492 (sinh_downward_test_data): Likewise.
3493 (sinh_upward_test_data): Likewise.
3494 (sqrt_test_data): Likewise.
3495 (tan_test_data): Likewise.
3496 (tan_tonearest_test_data): Likewise.
3497 (tan_towardzero_test_data): Likewise.
3498 (tan_downward_test_data): Likewise.
3499 (tan_upward_test_data): Likewise.
3500 (tanh_test_data): Likewise.
3501 (tgamma_test_data): Likewise.
3502 (trunc_test_data): Likewise.
3503 (y0_test_data): Likewise.
3504 (y1_test_data): Likewise.
3505 (yn_test_data): Likewise.
3506 (significand_test_data): Likewise.
3507
3508 * math/gen-libm-test.pl (@functions): Remove variable.
3509 (generate_testfile): Don't handle START and END lines.
3510 * math/libm-test.inc (START): New macro.
3511 (END): Likewise.
3512 (END_COMPLEX): Likewise.
3513 (acos_test): Use END macro without arguments.
3514 (acos_test_tonearest): Likewise.
3515 (acos_test_towardzero): Likewise.
3516 (acos_test_downward): Likewise.
3517 (acos_test_upward): Likewise.
3518 (acosh_test): Likewise.
3519 (asin_test): Likewise.
3520 (asin_test_tonearest): Likewise.
3521 (asin_test_towardzero): Likewise.
3522 (asin_test_downward): Likewise.
3523 (asin_test_upward): Likewise.
3524 (asinh_test): Likewise.
3525 (atan_test): Likewise.
3526 (atanh_test): Likewise.
3527 (atan2_test): Likewise.
3528 (cabs_test): Likewise.
3529 (cacos_test): Use END_COMPLEX macro without arguments.
3530 (cacosh_test): Likewise.
3531 (carg_test): Use END macro without arguments.
3532 (casin_test): Use END_COMPLEX macro without arguments.
3533 (casinh_test): Likewise.
3534 (catan_test): Likewise.
3535 (catanh_test): Likewise.
3536 (cbrt_test): Use END macro without arguments.
3537 (ccos_test): Use END_COMPLEX macro without arguments.
3538 (ccosh_test): Likewise.
3539 (ceil_test): Use END macro without arguments.
3540 (cexp_test): Use END_COMPLEX macro without arguments.
3541 (cimag_test): Use END macro without arguments.
3542 (clog_test): Use END_COMPLEX macro without arguments.
3543 (clog10_test): Likewise.
3544 (conj_test): Likewise.
3545 (copysign_test): Use END macro without arguments.
3546 (cos_test): Likewise.
3547 (cos_test_tonearest): Likewise.
3548 (cos_test_towardzero): Likewise.
3549 (cos_test_downward): Likewise.
3550 (cos_test_upward): Likewise.
3551 (cosh_test): Likewise.
3552 (cosh_test_tonearest): Likewise.
3553 (cosh_test_towardzero): Likewise.
3554 (cosh_test_downward): Likewise.
3555 (cosh_test_upward): Likewise.
3556 (cpow_test): Use END_COMPLEX macro without arguments.
3557 (cproj_test): Likewise.
3558 (creal_test): Use END macro without arguments.
3559 (csin_test): Use END_COMPLEX macro without arguments.
3560 (csinh_test): Likewise.
3561 (csqrt_test): Likewise.
3562 (ctan_test): Likewise.
3563 (ctan_test_tonearest): Likewise.
3564 (ctan_test_towardzero): Likewise.
3565 (ctan_test_downward): Likewise.
3566 (ctan_test_upward): Likewise.
3567 (ctanh_test): Likewise.
3568 (ctanh_test_tonearest): Likewise.
3569 (ctanh_test_towardzero): Likewise.
3570 (ctanh_test_downward): Likewise.
3571 (ctanh_test_upward): Likewise.
3572 (erf_test): Use END macro without arguments.
3573 (erfc_test): Likewise.
3574 (exp_test): Likewise.
3575 (exp_test_tonearest): Likewise.
3576 (exp_test_towardzero): Likewise.
3577 (exp_test_downward): Likewise.
3578 (exp_test_upward): Likewise.
3579 (exp10_test): Likewise.
3580 (exp2_test): Likewise.
3581 (expm1_test): Likewise.
3582 (fabs_test): Likewise.
3583 (fdim_test): Likewise.
3584 (finite_test): Likewise.
3585 (floor_test): Likewise.
3586 (fma_test): Likewise.
3587 (fma_test_towardzero): Likewise.
3588 (fma_test_downward): Likewise.
3589 (fma_test_upward): Likewise.
3590 (fmax_test): Likewise.
3591 (fmin_test): Likewise.
3592 (fmod_test): Likewise.
3593 (fpclassify_test): Likewise.
3594 (frexp_test): Likewise.
3595 (gamma_test): Likewise.
3596 (hypot_test): Likewise.
3597 (ilogb_test): Likewise.
3598 (isfinite_test): Likewise.
3599 (isgreater_test): Likewise.
3600 (isgreaterequal_test): Likewise.
3601 (isinf_test): Likewise.
3602 (isless_test): Likewise.
3603 (islessequal_test): Likewise.
3604 (islessgreater_test): Likewise.
3605 (isnan_test): Likewise.
3606 (isnormal_test): Likewise.
3607 (issignaling_test): Likewise.
3608 (isunordered_test): Likewise.
3609 (j0_test): Likewise.
3610 (j1_test): Likewise.
3611 (jn_test): Likewise.
3612 (ldexp_test): Likewise.
3613 (lgamma_test): Likewise.
3614 (lrint_test): Likewise.
3615 (lrint_test_tonearest): Likewise.
3616 (lrint_test_towardzero): Likewise.
3617 (lrint_test_downward): Likewise.
3618 (lrint_test_upward): Likewise.
3619 (llrint_test): Likewise.
3620 (llrint_test_tonearest): Likewise.
3621 (llrint_test_towardzero): Likewise.
3622 (llrint_test_downward): Likewise.
3623 (llrint_test_upward): Likewise.
3624 (log_test): Likewise.
3625 (log10_test): Likewise.
3626 (log1p_test): Likewise.
3627 (log2_test): Likewise.
3628 (logb_test): Likewise.
3629 (logb_test_downward): Likewise.
3630 (lround_test): Likewise.
3631 (llround_test): Likewise.
3632 (modf_test): Likewise.
3633 (nearbyint_test): Likewise.
3634 (nextafter_test): Likewise.
3635 (nexttoward_test): Likewise.
3636 (pow_test): Likewise.
3637 (pow_test_tonearest): Likewise.
3638 (pow_test_towardzero): Likewise.
3639 (pow_test_downward): Likewise.
3640 (pow_test_upward): Likewise.
3641 (remainder_test): Likewise.
3642 (remainder_test_tonearest): Likewise.
3643 (remainder_test_towardzero): Likewise.
3644 (remainder_test_downward): Likewise.
3645 (remainder_test_upward): Likewise.
3646 (remquo_test): Likewise.
3647 (rint_test): Likewise.
3648 (rint_test_tonearest): Likewise.
3649 (rint_test_towardzero): Likewise.
3650 (rint_test_downward): Likewise.
3651 (rint_test_upward): Likewise.
3652 (round_test): Likewise.
3653 (scalb_test): Likewise.
3654 (scalbn_test): Likewise.
3655 (scalbln_test): Likewise.
3656 (signbit_test): Likewise.
3657 (sin_test): Likewise.
3658 (sin_test_tonearest): Likewise.
3659 (sin_test_towardzero): Likewise.
3660 (sin_test_downward): Likewise.
3661 (sin_test_upward): Likewise.
3662 (sincos_test): Likewise.
3663 (sinh_test): Likewise.
3664 (sinh_test_tonearest): Likewise.
3665 (sinh_test_towardzero): Likewise.
3666 (sinh_test_downward): Likewise.
3667 (sinh_test_upward): Likewise.
3668 (sqrt_test): Likewise.
3669 (tan_test): Likewise.
3670 (tan_test_tonearest): Likewise.
3671 (tan_test_towardzero): Likewise.
3672 (tan_test_downward): Likewise.
3673 (tan_test_upward): Likewise.
3674 (tanh_test): Likewise.
3675 (tgamma_test): Likewise.
3676 (trunc_test): Likewise.
3677 (y0_test): Likewise.
3678 (y1_test): Likewise.
3679 (yn_test): Likewise.
3680 (significand_test): Likewise.
3681
3682 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
3683
3684 [BZ #15381]
3685 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3686
3687 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3688
3689 [BZ #14894]
3690 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3691 __ppc_mdoio and __ppc_mdoom.
3692 * manual/platform.texi: Document new functions __ppc_yield,
3693 __ppc_mdoio and __ppc_mdoom.
3694
3695 2013-05-22 Carlos O'Donell <carlos@redhat.com>
3696
3697 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3698 (main): Mention "tls" pseudo-hwcap is legacy.
3699 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3700
3701 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3702
3703 * math/gen-libm-test.pl (parse_args): Output only string of
3704 arguments as text for test name, not full call or descriptions of
3705 tests for extra outputs.
3706 (generate_testfile): Do not pass function name to parse_args.
3707 Generate this_func variable from START.
3708 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3709 field to arg_str.
3710 (struct test_ff_f_data): Likewise.
3711 (test_ff_f_data_nexttoward): Likewise.
3712 (struct test_fi_f_data): Likewise.
3713 (struct test_fl_f_data): Likewise.
3714 (struct test_if_f_data): Likewise.
3715 (struct test_fff_f_data): Likewise.
3716 (struct test_c_f_data): Likewise.
3717 (struct test_f_f1_data): Likewise. Remove field extra_name.
3718 (struct test_fF_f1_data): Likewise.
3719 (struct test_ffI_f1_data): Likewise.
3720 (struct test_c_c_data): Rename test_name field to arg_str.
3721 (struct test_cc_c_data): Likewise.
3722 (struct test_f_i_data): Likewise.
3723 (struct test_ff_i_data): Likewise.
3724 (struct test_f_l_data): Likewise.
3725 (struct test_f_L_data): Likewise.
3726 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3727 and extra2_name.
3728 (COMMON_TEST_SETUP): New macro.
3729 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3730 (COMMON_TEST_CLEANUP): Likewise.
3731 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3732 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3733 macros.
3734 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3735 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3736 macros.
3737 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3738 (RUN_TEST_fff_f): Take argument string. Call new setup and
3739 cleanup macros.
3740 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3741 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3742 macros.
3743 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3744 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3745 macros.
3746 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3747 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3748 cleanup macros.
3749 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3750 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3751 cleanup macros.
3752 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3753 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3754 cleanup macros.
3755 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3756 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3757 macros.
3758 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3759 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3760 macros.
3761 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3762 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3763 macros.
3764 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3765 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3766 cleanup macros.
3767 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3768 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3769 cleanup macros.
3770 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3771 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3772 macros.
3773 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3774 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3775 cleanup macros.
3776 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3777 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3778 macros.
3779 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3780 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3781 macros.
3782 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3783 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3784 cleanup macros.
3785 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3786
3787 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3788
3789 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3790 to _sifields.sigfault.
3791 (si_addr_lsb): Define new macro.
3792 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3793 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3794 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3795
3796 2013-05-03 Carlos O'Donell <carlos at redhat.com>
3797
3798 [BZ #15441]
3799 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3800 returns -1.
3801 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3802 null return -1.
3803 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3804 loading the domain.
3805
3806 2013-05-22 Joseph Myers <joseph@codesourcery.com>
3807
3808 * math/gen-libm-test.pl (parse_args): Do not include expected
3809 result in test name.
3810 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3811 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3812 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3813 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3814 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3816
3817 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3818
3819 * benchtests/Makefile: Sort function entries.
3820
3821 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3822 tanh, asinh, acosh, atanh.
3823 * benchtests/acos-inputs: New file.
3824 * benchtests/acosh-inputs: New file.
3825 * benchtests/asin-inputs: New file.
3826 * benchtests/asinh-inputs: New file.
3827 * benchtests/atanh-inputs: New file.
3828 * benchtests/cosh-inputs: New file.
3829 * benchtests/log-inputs: New file.
3830 * benchtests/sinh-inputs: New file.
3831 * benchtests/tanh-inputs: New file.
3832
3833 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3834
3835 [BZ #15339]
3836 * posix/tst-getaddrinfo4.c: New test.
3837 * posix/Makefile (tests): Add it.
3838
3839 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3840
3841 [BZ #15339]
3842 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3843 when no services were used.
3844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3845 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3846
3847 2013-05-21 Andreas Schwab <schwab@suse.de>
3848
3849 [BZ #15014]
3850 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3851 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3852 successful.
3853 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3854 redundant variable declarations and reallocation of buffer when
3855 parsing as IPv6 address. Always set NSS status when called from
3856 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3857 buffer too small. Correct computation of needed size.
3858 * nss/Makefile (tests): Add test-digits-dots.
3859 * nss/test-digits-dots.c: New test.
3860
3861 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3862
3863 * benchtests/Makefile: Remove instructions for adding
3864 benchmark tests.
3865 * benchtests/README: New file to explain how to execute and
3866 enhance the benchmark tests.
3867
3868 2013-05-21 Andreas Schwab <schwab@suse.de>
3869
3870 [BZ #15493]
3871 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3872 * setjmp/tst-sigsetjmp.c: New test.
3873
3874 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3875
3876 * sysdeps/x86_64/memset.S (memset): New implementation.
3877 (__bzero): Likewise.
3878 (__memset_tail): New function.
3879
3880 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
3881
3882 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3883 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3884 __memcpy_sse2_unaligned ifunc selection.
3885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3886 Add memcpy-sse2-unaligned.S.
3887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3888 Add: __memcpy_sse2_unaligned.
3889
3890 2013-05-19 Joseph Myers <joseph@codesourcery.com>
3891
3892 [BZ #15490]
3893 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3894 math_force_eval before restoring floating-point envrionment.
3895 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3896 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3897 Likewise.
3898 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3899 <math_private.h>.
3900 (__nearbyintl): Use math_force_eval before restoring
3901 floating-point environment.
3902 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3903
3904 * math/gen-libm-test.pl (special_functions): Remove.
3905 (parse_args): Don't handle TEST_extra. Handle functions with no
3906 return value.
3907 * math/libm-test.inc (struct test_sincos_data): Replace with
3908 struct test_fFF_11_data.
3909 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3910 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3911 (sincos_test_data): Change element type to struct
3912 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3913 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3914 RUN_TEST_LOOP_sincos.
3915 * math/README.libm-test: Don't mention special handling of
3916 individual functions.
3917 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3919 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3920 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3921 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3923
3924 * math/gen-libm-test.pl (get_variable): Remove function.
3925 (parse_args): Don't show pointer parameters to call in test
3926 names. Use "extra output N" in test names for extra outputs
3927 rather than naming variables.
3928
3929 2013-05-18 Joseph Myers <joseph@codesourcery.com>
3930
3931 [BZ #15488]
3932 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3933 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3934 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3935 double tests.
3936 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3937 disable.
3938 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3939 check_long_double.
3940
3941 * math/gen-libm-test.pl (@tests): Remove variable.
3942 ($count): Likewise.
3943 (new_test): Remove function.
3944 (show_exceptions): New function.
3945 (special_functions): Use show_exceptions instead of new_test.
3946 (parse_args): Likewise.
3947 (generate_testfile): Pass only function name in generated call to
3948 print_max_error or print_complex_max_error.
3949 (get_ulps): Do not handle complex tests specially.
3950 (output_test): Rename to ...
3951 (get_all_ulps_for_test): ... this. Return a string rather than
3952 printing to a file. Require ulps to be present.
3953 (output_ulps): Generate arrays rather than #defines.
3954 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3955 (struct ulp_data): New type.
3956 (BUILD_COMPLEX_ULP): Remove macro.
3957 (compare_ulp_data): New function.
3958 (find_ulps): Likewise.
3959 (find_test_ulps): Likewise.
3960 (find_function_ulps): Likewise.
3961 (find_complex_function_ulps): Likewise.
3962 (print_max_error): Determine allowed ulps using
3963 find_function_ulps.
3964 (print_complex_max_error): Determine allowed ulps using
3965 find_complex_function_ulps.
3966 (check_float_internal): Determine max ulps using find_test_ulps.
3967 (check_float): Do not take max_ulp parameter. Update call to
3968 check_float_internal.
3969 (check_complex): Likewise.
3970 (check_int): Do not take max_ulp parameter.
3971 (check_long): Likewise.
3972 (check_bool): Likewise.
3973 (check_longlong): Likewise.
3974 (struct test_f_f_data): Remove max_ulp field.
3975 (struct test_ff_f_data): Likewise.
3976 (struct test_ff_f_data_nexttoward): Likewise.
3977 (struct test_fi_f_data): Likewise.
3978 (struct test_fl_f_data): Likewise.
3979 (struct test_if_f_data): Likewise.
3980 (struct test_fff_f_data): Likewise.
3981 (struct test_c_f_data): Likewise.
3982 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3983 (struct test_fF_f1_data): Likewise.
3984 (struct test_ffI_f1_data): Likewise.
3985 (struct test_c_c_data): Remove max_ulp field.
3986 (struct test_cc_c_data): Likewise.
3987 (struct test_f_i_data): Likewise.
3988 (struct test_ff_i_data): Likewise.
3989 (struct test_f_l_data): Likewise.
3990 (struct test_f_L_data): Likewise.
3991 (struct test_sincos_data): Likewise.
3992 (RUN_TEST_f_f): Do not handle ulps.
3993 (RUN_TEST_LOOP_f_f): Likewise.
3994 (RUN_TEST_2_f): Likewise.
3995 (RUN_TEST_LOOP_2_f): Likewise.
3996 (RUN_TEST_fff_f): Likewise.
3997 (RUN_TEST_LOOP_fff_f): Likewise.
3998 (RUN_TEST_c_f): Likewise.
3999 (RUN_TEST_LOOP_c_f): Likewise.
4000 (RUN_TEST_f_f1): Likewise.
4001 (RUN_TEST_LOOP_f_f1): Likewise.
4002 (RUN_TEST_fF_f1): Likewise.
4003 (RUN_TEST_LOOP_fF_f1): Likewise.
4004 (RUN_TEST_fI_f1): Likewise.
4005 (RUN_TEST_LOOP_fI_f1): Likewise.
4006 (RUN_TEST_ffI_f1): Likewise.
4007 (RUN_TEST_LOOP_ffI_f1): Likewise.
4008 (RUN_TEST_c_c): Likewise.
4009 (RUN_TEST_LOOP_c_c): Likewise.
4010 (RUN_TEST_cc_c): Likewise.
4011 (RUN_TEST_LOOP_cc_c): Likewise.
4012 (RUN_TEST_f_i): Likewise.
4013 (RUN_TEST_LOOP_f_i): Likewise.
4014 (RUN_TEST_f_i_tg): Likewise.
4015 (RUN_TEST_LOOP_f_i_tg): Likewise.
4016 (RUN_TEST_ff_i_tg): Likewise.
4017 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4018 (RUN_TEST_f_b): Likewise.
4019 (RUN_TEST_LOOP_f_b): Likewise.
4020 (RUN_TEST_f_b_tg): Likewise.
4021 (RUN_TEST_LOOP_f_b_tg): Likewise.
4022 (RUN_TEST_f_l): Likewise.
4023 (RUN_TEST_LOOP_f_l): Likewise.
4024 (RUN_TEST_f_L): Likewise.
4025 (RUN_TEST_LOOP_f_L): Likewise.
4026 (RUN_TEST_sincos): Likewise.
4027 (RUN_TEST_LOOP_sincos): Likewise.
4028
4029 2013-05-17 Joseph Myers <joseph@codesourcery.com>
4030
4031 [BZ #15480]
4032 [BZ #15485]
4033 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4034 main case of finite arguments, set rounding mode to FE_TONEAREST
4035 and discard exceptions.
4036 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4037 exceptions.
4038 (remainder_tonearest_test_data): New variable.
4039 (remainder_test_tonearest): New function.
4040 (remainder_towardzero_test_data): New variable.
4041 (remainder_test_towardzero): New function.
4042 (remainder_downward_test_data): New variable.
4043 (remainder_test_downward): New function.
4044 (remainder_upward_test_data): New variable.
4045 (remainder_test_upward): New function.
4046 (main): Call the new test functions.
4047
4048 * math/libm-test.inc (struct test_f_f1_data): Remove field
4049 extra_init.
4050 (struct test_fF_f1_data): Likewise.
4051 (struct test_ffI_f1_data): Likewise.
4052 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4053 based on value of EXTRA_EXPECTED.
4054 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4055 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4056 EXTRA_VAR based on value of EXTRA_EXPECTED.
4057 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4058 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4059 EXTRA_VAR based on value of EXTRA_EXPECTED.
4060 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4061 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4062 EXTRA_VAR based on value of EXTRA_EXPECTED.
4063 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4064 * math/gen-libm-test.pl (parse_args): Don't output initializers
4065 for extra output values.
4066
4067 * math/libm-test.inc (check_int): Expect result to be exactly
4068 equal to expected value and do not handle ulps.
4069 (check_long): Likewise.
4070 (check_longlong): Likewise.
4071
4072 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4073 exceptions.
4074 (cimag_test_data): Likewise.
4075 (conj_test_data): Likewise.
4076 (copysign_test_data): Likewise.
4077 (cproj_test_data): Likewise.
4078 (creal_test_data): Likewise.
4079 (fabs_test_data): Likewise.
4080 (fdim_test_data): Likewise.
4081 (finite_test_data): Likewise.
4082 (floor_test_data): Likewise.
4083 (fmax_test_data): Likewise.
4084 (fmin_test_data): Likewise.
4085 (fmod_test_data): Likewise.
4086 (fpclassify_test_data): Likewise.
4087 (frexp_test_data): Likewise.
4088 (ilogb_test_data): Likewise.
4089 (isfinite_test_data): Likewise.
4090 (isgreater_test_data): Likewise.
4091 (isgreaterequal_test_data): Likewise.
4092 (isinf_test_data): Likewise.
4093 (isless_test_data): Likewise.
4094 (islessequal_test_data): Likewise.
4095 (islessgreater_test_data): Likewise.
4096 (isnan_test_data): Likewise.
4097 (isnormal_test_data): Likewise.
4098 (issignaling_test_data): Likewise.
4099 (isunordered_test_data): Likewise.
4100 (ldexp_test_data): Likewise.
4101 (lrint_test_data): Likewise.
4102 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4103 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4104 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4105 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4106 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4107 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4108 test input.
4109 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4110 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4111 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4112 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4113 that test input.
4114 (lrint_downward_test_data): Test for "inexact" exceptions.
4115 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4116 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4117 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4118 test input.
4119 (lrint_upward_test_data): Test for "inexact" exceptions.
4120 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4121 test input.
4122 (llrint_test_data): Test for "inexact" exceptions.
4123 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4124 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4125 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4126 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4127 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4128 (llrint_downward_test_data): Test for "inexact" exceptions.
4129 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4130 (llrint_upward_test_data): Test for "inexact" exceptions.
4131 (logb_test_data): Likewise.
4132 (logb_downward_test_data): Likewise.
4133 (nextafter_test_data): Likewise.
4134 (nexttoward_test_data): Likewise.
4135 (remainder_test_data): Likewise.
4136 (remquo_test_data): Likewise.
4137 (scalbn_test_data): Likewise.
4138 (scalbln_test_data): Likewise.
4139 (signbit_test_data): Likewise.
4140 (sqrt_test_data): Likewise.
4141 (significand_test_data): Likewise.
4142
4143 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4144
4145 [BZ #15424]
4146 * benchtests/bench-modf.c (struct args): Mark arg0 as
4147 volatile.
4148 * scripts/bench.pl: Mark members of struct args as volatile.
4149
4150 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4151
4152 [BZ # 15497]
4153 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4154 negative infinity on POWER6 or lower.
4155 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4156
4157 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4158
4159 [BZ #15442]
4160 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4161 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4162 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4163 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4164 (_FP_SETQNAN): New macro.
4165 (_FP_SETQNAN_SEMIRAW): Likewise.
4166 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4167 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4168 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4169 (FP_EXTEND): Use _FP_FRAC_SNANP.
4170 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4171 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4172 into account.
4173 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4174 New macro.
4175 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4176 Likewise.
4177
4178 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4179
4180 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4181 with DIVIDE_BY_ZERO_EXCEPTION.
4182 (gamma_test_data): Likewise.
4183 (lgamma_test_data): Likewise.
4184 (log_test_data): Likewise.
4185 (log10_test_data): Likewise.
4186 (log2_test_data): Likewise.
4187 (tgamma_test_data): Likewise.
4188
4189 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4190 (acos_test_tonearest): Likewise.
4191 (acos_test_towardzero): Likewise.
4192 (acos_test_downward): Likewise.
4193 (acos_test_upward): Likewise.
4194 (acosh_test): Likewise.
4195 (asin_test): Likewise.
4196 (asin_test_tonearest): Likewise.
4197 (asin_test_towardzero): Likewise.
4198 (asin_test_downward): Likewise.
4199 (asin_test_upward): Likewise.
4200 (asinh_test): Likewise.
4201 (atan_test): Likewise.
4202 (atanh_test): Likewise.
4203 (atan2_test): Likewise.
4204 (cabs_test): Likewise.
4205 (cacos_test): Likewise.
4206 (cacosh_test): Likewise.
4207 (casin_test): Likewise.
4208 (casinh_test): Likewise.
4209 (catan_test): Likewise.
4210 (catanh_test): Likewise.
4211 (cbrt_test): Likewise.
4212 (ccos_test): Likewise.
4213 (ccosh_test): Likewise.
4214 (cexp_test): Likewise.
4215 (clog_test): Likewise.
4216 (clog10_test): Likewise.
4217 (cos_test): Likewise.
4218 (cos_test_tonearest): Likewise.
4219 (cos_test_towardzero): Likewise.
4220 (cos_test_downward): Likewise.
4221 (cos_test_upward): Likewise.
4222 (cosh_test): Likewise.
4223 (cosh_test_tonearest): Likewise.
4224 (cosh_test_towardzero): Likewise.
4225 (cosh_test_downward): Likewise.
4226 (cosh_test_upward): Likewise.
4227 (cpow_test): Likewise.
4228 (csin_test): Likewise.
4229 (csinh_test): Likewise.
4230 (csqrt_test): Likewise.
4231 (ctan_test): Likewise.
4232 (ctan_test_tonearest): Likewise.
4233 (ctan_test_towardzero): Likewise.
4234 (ctan_test_downward): Likewise.
4235 (ctan_test_upward): Likewise.
4236 (ctanh_test): Likewise.
4237 (ctanh_test_tonearest): Likewise.
4238 (ctanh_test_towardzero): Likewise.
4239 (ctanh_test_downward): Likewise.
4240 (ctanh_test_upward): Likewise.
4241 (erf_test): Likewise.
4242 (erfc_test): Likewise.
4243 (exp_test): Likewise.
4244 (exp_test_tonearest): Likewise.
4245 (exp_test_towardzero): Likewise.
4246 (exp_test_downward): Likewise.
4247 (exp_test_upward): Likewise.
4248 (exp10_test): Likewise.
4249 (exp2_test): Likewise.
4250 (expm1_test): Likewise.
4251 (fmod_test): Likewise.
4252 (gamma_test): Likewise.
4253 (hypot_test): Likewise.
4254 (j0_test): Likewise.
4255 (j1_test): Likewise.
4256 (jn_test): Likewise.
4257 (lgamma_test): Likewise.
4258 (log_test): Likewise.
4259 (log10_test): Likewise.
4260 (log1p_test): Likewise.
4261 (log2_test): Likewise.
4262 (logb_test_downward): Likewise.
4263 (pow_test): Likewise.
4264 (pow_test_tonearest): Likewise.
4265 (pow_test_towardzero): Likewise.
4266 (pow_test_downward): Likewise.
4267 (pow_test_upward): Likewise.
4268 (remainder_test): Likewise.
4269 (remquo_test): Likewise.
4270 (sin_test): Likewise.
4271 (sin_test_tonearest): Likewise.
4272 (sin_test_towardzero): Likewise.
4273 (sin_test_downward): Likewise.
4274 (sin_test_upward): Likewise.
4275 (sincos_test): Likewise.
4276 (sinh_test): Likewise.
4277 (sinh_test_tonearest): Likewise.
4278 (sinh_test_towardzero): Likewise.
4279 (sinh_test_downward): Likewise.
4280 (sinh_test_upward): Likewise.
4281 (sqrt_test): Likewise.
4282 (tan_test): Likewise.
4283 (tan_test_tonearest): Likewise.
4284 (tan_test_towardzero): Likewise.
4285 (tan_test_downward): Likewise.
4286 (tan_test_upward): Likewise.
4287 (tanh_test): Likewise.
4288 (tgamma_test): Likewise.
4289 (y0_test): Likewise.
4290 (y1_test): Likewise.
4291 (yn_test): Likewise.
4292
4293 * math/gen-libm-test.pl (adjust_arg): Remove function.
4294 (special_function): Remove argument $in_func. Only handle
4295 generating output for tables of tests, not inside functions.
4296 (parse_args): Likewise.
4297 (generate_testfile): Remove variable $in_func. Update call to
4298 parse_args.
4299 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4300 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4301 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4302 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4303 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4304 (MAX_VALUE_INIT): Rename macro to max_value.
4305 (MIN_VALUE_INIT): Rename macro to min_value.
4306 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4307 (plus_zero): Remove variable.
4308 (minus_zero): Likewise.
4309 (plus_infty): Likewise.
4310 (minus_infty): Likewise.
4311 (qnan_value): Likewise.
4312 (max_value): Likewise.
4313 (min_value): Likewise.
4314 (min_subnorm_value): Likewise.
4315
4316 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4317
4318 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4319 uint64_t or uint32_t usage.
4320 * crypt/sha256-block.c: Likewise.
4321 * crypt/sha256-crypt.c: Likewise.
4322 * crypt/sha256.c: Likewise.
4323 * crypt/sha512-block.c: Likewise.
4324 * crypt/sha512-crypt.c: Likewise.
4325 * crypt/sha512.c: Likewise.
4326 * debug/backtrace-tst.c: Likewise.
4327 * debug/pcprofiledump.c: Likewise.
4328 * elf/cache.c: Likewise.
4329 * elf/dl-cache.c: Likewise.
4330 * elf/dl-misc.c: Likewise.
4331 * elf/dl-profile.c: Likewise.
4332 * elf/dl-support.c: Likewise.
4333 * elf/ldconfig.c: Likewise.
4334 * elf/sprof.c: Likewise.
4335 * iconv/dummy-repertoire.c: Likewise.
4336 * iconv/iconv_charmap.c: Likewise.
4337 * iconv/skeleton.c: Likewise.
4338 * iconvdata/8bit-generic.c: Likewise.
4339 * iconvdata/cp737.h: Likewise.
4340 * iconvdata/cp775.h: Likewise.
4341 * iconvdata/ibm1008.h: Likewise.
4342 * iconvdata/ibm1025.h: Likewise.
4343 * iconvdata/ibm1046.h: Likewise.
4344 * iconvdata/ibm1097.h: Likewise.
4345 * iconvdata/ibm1112.h: Likewise.
4346 * iconvdata/ibm1122.h: Likewise.
4347 * iconvdata/ibm1123.h: Likewise.
4348 * iconvdata/ibm1124.h: Likewise.
4349 * iconvdata/ibm1129.h: Likewise.
4350 * iconvdata/ibm1130.h: Likewise.
4351 * iconvdata/ibm1132.h: Likewise.
4352 * iconvdata/ibm1133.h: Likewise.
4353 * iconvdata/ibm1137.h: Likewise.
4354 * iconvdata/ibm1140.h: Likewise.
4355 * iconvdata/ibm1141.h: Likewise.
4356 * iconvdata/ibm1142.h: Likewise.
4357 * iconvdata/ibm1143.h: Likewise.
4358 * iconvdata/ibm1144.h: Likewise.
4359 * iconvdata/ibm1145.h: Likewise.
4360 * iconvdata/ibm1146.h: Likewise.
4361 * iconvdata/ibm1147.h: Likewise.
4362 * iconvdata/ibm1148.h: Likewise.
4363 * iconvdata/ibm1149.h: Likewise.
4364 * iconvdata/ibm1153.h: Likewise.
4365 * iconvdata/ibm1154.h: Likewise.
4366 * iconvdata/ibm1155.h: Likewise.
4367 * iconvdata/ibm1156.h: Likewise.
4368 * iconvdata/ibm1157.h: Likewise.
4369 * iconvdata/ibm1158.h: Likewise.
4370 * iconvdata/ibm1160.h: Likewise.
4371 * iconvdata/ibm1161.h: Likewise.
4372 * iconvdata/ibm1162.h: Likewise.
4373 * iconvdata/ibm1163.h: Likewise.
4374 * iconvdata/ibm1164.h: Likewise.
4375 * iconvdata/ibm1166.h: Likewise.
4376 * iconvdata/ibm1167.h: Likewise.
4377 * iconvdata/ibm12712.h: Likewise.
4378 * iconvdata/ibm1390.h: Likewise.
4379 * iconvdata/ibm1399.h: Likewise.
4380 * iconvdata/ibm16804.h: Likewise.
4381 * iconvdata/ibm4517.h: Likewise.
4382 * iconvdata/ibm4899.h: Likewise.
4383 * iconvdata/ibm4909.h: Likewise.
4384 * iconvdata/ibm4971.h: Likewise.
4385 * iconvdata/ibm5347.h: Likewise.
4386 * iconvdata/ibm803.h: Likewise.
4387 * iconvdata/ibm856.h: Likewise.
4388 * iconvdata/ibm901.h: Likewise.
4389 * iconvdata/ibm902.h: Likewise.
4390 * iconvdata/ibm9030.h: Likewise.
4391 * iconvdata/ibm9066.h: Likewise.
4392 * iconvdata/ibm921.h: Likewise.
4393 * iconvdata/ibm922.h: Likewise.
4394 * iconvdata/ibm9448.h: Likewise.
4395 * iconvdata/isiri-3342.h: Likewise.
4396 * iconvdata/jis0201.h: Likewise.
4397 * include/link.h: Likewise.
4398 * include/netdb.h: Likewise.
4399 * inet/check_native.c: Likewise.
4400 * inet/check_pf.c: Likewise.
4401 * inet/getipv4sourcefilter.c: Likewise.
4402 * inet/getnameinfo.c: Likewise.
4403 * inet/getsourcefilter.c: Likewise.
4404 * inet/htonl.c: Likewise.
4405 * inet/setipv4sourcefilter.c: Likewise.
4406 * inet/setsourcefilter.c: Likewise.
4407 * inet/test-inet6_opt.c: Likewise.
4408 * inet/tst-network.c: Likewise.
4409 * locale/C-collate.c: Likewise.
4410 * locale/C-ctype.c: Likewise.
4411 * locale/C-time.c: Likewise.
4412 * locale/C-translit.h: Likewise.
4413 * locale/loadarchive.c: Likewise.
4414 * locale/programs/3level.h: Likewise.
4415 * locale/programs/charmap.c: Likewise.
4416 * locale/programs/charmap.h: Likewise.
4417 * locale/programs/ld-address.c: Likewise.
4418 * locale/programs/ld-collate.c: Likewise.
4419 * locale/programs/ld-ctype.c: Likewise.
4420 * locale/programs/ld-identification.c: Likewise.
4421 * locale/programs/ld-measurement.c: Likewise.
4422 * locale/programs/ld-messages.c: Likewise.
4423 * locale/programs/ld-monetary.c: Likewise.
4424 * locale/programs/ld-name.c: Likewise.
4425 * locale/programs/ld-numeric.c: Likewise.
4426 * locale/programs/ld-paper.c: Likewise.
4427 * locale/programs/ld-telephone.c: Likewise.
4428 * locale/programs/ld-time.c: Likewise.
4429 * locale/programs/linereader.c: Likewise.
4430 * locale/programs/locale.c: Likewise.
4431 * locale/programs/locarchive.c: Likewise.
4432 * locale/programs/locfile.h: Likewise.
4433 * locale/programs/repertoire.c: Likewise.
4434 * locale/programs/simple-hash.c: Likewise.
4435 * locale/programs/simple-hash.h: Likewise.
4436 * malloc/memusage.c: Likewise.
4437 * malloc/memusagestat.c: Likewise.
4438 * nis/nis_defaults.c: Likewise.
4439 * nis/nis_hash.c: Likewise.
4440 * nis/nis_print.c: Likewise.
4441 * nis/nis_xdr.c: Likewise.
4442 * nscd/connections.c: Likewise.
4443 * nscd/hstcache.c: Likewise.
4444 * nscd/nscd_gethst_r.c: Likewise.
4445 * nscd/nscd_getserv_r.c: Likewise.
4446 * nscd/nscd_helper.c: Likewise.
4447 * nscd/servicescache.c: Likewise.
4448 * nss/makedb.c: Likewise.
4449 * nss/nss_db/db-XXX.c: Likewise.
4450 * nss/nss_db/db-initgroups.c: Likewise.
4451 * nss/nss_db/db-netgrp.c: Likewise.
4452 * nss/nss_files/files-network.c: Likewise.
4453 * nss/nss_files/files-parse.c: Likewise.
4454 * posix/bug-regex5.c: Likewise.
4455 * posix/fnmatch_loop.c: Likewise.
4456 * posix/regcomp.c: Likewise.
4457 * posix/regexec.c: Likewise.
4458 * posix/tst-rfc3484-2.c: Likewise.
4459 * posix/tst-rfc3484-3.c: Likewise.
4460 * posix/tst-rfc3484.c: Likewise.
4461 * resolv/nss_dns/dns-canon.c: Likewise.
4462 * resolv/nss_dns/dns-network.c: Likewise.
4463 * resolv/res_init.c: Likewise.
4464 * resolv/res_mkquery.c: Likewise.
4465 * resolv/tst-aton.c: Likewise.
4466 * stdlib/cxa_atexit.c: Likewise.
4467 * stdlib/cxa_finalize.c: Likewise.
4468 * stdlib/gen-fpioconst.c: Likewise.
4469 * stdlib/strtol_l.c: Likewise.
4470 * string/tst-endian.c: Likewise.
4471 * sunrpc/auth_des.c: Likewise.
4472 * sunrpc/clnt_udp.c: Likewise.
4473 * sunrpc/rtime.c: Likewise.
4474 * sunrpc/svcauth_des.c: Likewise.
4475 * sunrpc/xdr.c: Likewise.
4476 * sunrpc/xdr_intXX_t.c: Likewise.
4477 * sunrpc/xdr_rec.c: Likewise.
4478 * sysdeps/generic/ldconfig.h: Likewise.
4479 * sysdeps/generic/ldsodefs.h: Likewise.
4480 * sysdeps/generic/memusage.h: Likewise.
4481 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4484 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4488 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4490 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4491 * sysdeps/posix/getaddrinfo.c: Likewise.
4492 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4493 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4494 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4495 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4496 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4497 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4498 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4499 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4500 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4501 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4502 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4503 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4504 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4505 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4506 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4507 * sysdeps/x86_64/dl-tls.h: Likewise.
4508 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4509 * time/alt_digit.c: Likewise.
4510 * time/era.c: Likewise.
4511 * wcsmbs/tst-c16c32-1.c: Likewise.
4512
4513 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4514
4515 * math/libm-test.inc (struct test_sincos_data): New type.
4516 (RUN_TEST_LOOP_sincos): New macro.
4517 (sincos_test_data): New variable.
4518 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4519
4520 2013-05-16 Richard Henderson <rth@redhat.com>
4521
4522 * math/atest-exp2.c (LIMB64): New macro.
4523 (CONSTSZ): New macro.
4524 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4525 (hexdig): Move ...
4526 (print_mpn_fp): ... to function scope.
4527 (read_mpn_hex): Remove.
4528 (get_log2): Remove.
4529 (exp2_mpn): Use mp_log2.
4530 (main): Use mp_exp1.
4531
4532 2013-05-16 Joseph Myers <joseph@codesourcery.com>
4533
4534 * math/libm-test.inc: Remove comment about not testing "inexact"
4535 exceptions.
4536 (INEXACT_EXCEPTION): New macro.
4537 (NO_INEXACT_EXCEPTION): Likewise.
4538 (INVALID_EXCEPTION_OK): Update value.
4539 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4540 (OVERFLOW_EXCEPTION_OK): Likewise.
4541 (UNDERFLOW_EXCEPTION_OK): Likewise.
4542 (IGNORE_ZERO_INF_SIGN): Likewise.
4543 (ERRNO_UNCHANGED): Likewise.
4544 (ERRNO_EDOM): Likewise.
4545 (ERRNO_ERANGE): Likewise.
4546 (test_exceptions): Handle testing "inexact" exceptions.
4547 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4548 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4549 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4550 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4551 INEXACT_EXCEPTION.
4552 (rint_towardzero_test_data): Likewise.
4553 (rint_downward_test_data): Likewise.
4554 (rint_upward_test_data): Likewise.
4555
4556 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4557 with OVERFLOW_EXCEPTION.
4558 (exp10_test_data): Likewise.
4559 (exp2_test_data): Likewise.
4560 (expm1_test_data): Likewise.
4561 (lgamma_test_data): Likewise.
4562 (pow_test_data): Likewise.
4563 (tgamma_test_data): Likewise.
4564 (yn_test_data): Remove duplicate test of overflow.
4565
4566 * math/libm-test.inc (struct test_cc_c_data): New type.
4567 (RUN_TEST_LOOP_cc_c): New macro.
4568 (cpow_test_data): New variable.
4569 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4570
4571 * math/libm-test.inc (struct test_f_L_data): New type.
4572 (RUN_TEST_LOOP_f_L): New macro.
4573 (llrint_test_data): New variable.
4574 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4575 (llrint_tonearest_test_data): New variable.
4576 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4577 (llrint_towardzero_test_data): New variable.
4578 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4579 (llrint_downward_test_data): New variable.
4580 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4581 (llrint_upward_test_data): New variable.
4582 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4583 (llround_test_data): New variable.
4584 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4585
4586 2013-05-13 Peter Collingbourne <pcc@google.com>
4587
4588 * math/atest-exp2.c (get_log2): Remove const attribute.
4589
4590 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4591
4592 * math/libm-test.inc (struct test_f_l_data): New type.
4593 (RUN_TEST_LOOP_f_l): New macro.
4594 (lrint_test_data): New variable.
4595 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4596 (lrint_tonearest_test_data): New variable.
4597 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4598 (lrint_towardzero_test_data): New variable.
4599 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4600 (lrint_downward_test_data): New variable.
4601 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4602 (lrint_upward_test_data): New variable.
4603 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4604 (lround_test_data): New variable.
4605 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4606
4607 2013-05-15 Peter Collingbourne <pcc@google.com>
4608
4609 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4610 (EXTRACT_WORDS64) Use where appropriate.
4611 (INSERT_WORDS64) Likewise.
4612
4613 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4614 constraints with x constraints.
4615 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4616
4617 * malloc/obstack.c (_obstack_compat): Add initializer.
4618
4619 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4620
4621 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4622 si_trapno and add si_addr_lsb to _sifields.sigfault.
4623 (si_trapno): Remove macro.
4624 (si_addr_lsb): Define new macro.
4625 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4626
4627 2013-05-15 Joseph Myers <joseph@codesourcery.com>
4628
4629 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4630 instead of TEST_f_l.
4631 (llrint_test_tonearest): Likewise.
4632 (llrint_test_towardzero): Likewise.
4633 (llrint_test_downward): Likewise.
4634 (llrint_test_upward): Likewise.
4635 (llround_test): Likewise.
4636
4637 * math/libm-test.inc (struct test_f_i_data): Add comment.
4638 (RUN_TEST_LOOP_f_b): New macro.
4639 (RUN_TEST_LOOP_f_b_tg): Likewise.
4640 (finite_test_data): New variable.
4641 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4642 (isfinite_test_data): New variable.
4643 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4644 (isinf_test_data): New variable.
4645 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4646 (isnan_test_data): New variable.
4647 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4648 (isnormal_test_data): New variable.
4649 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4650 (issignaling_test_data): New variable.
4651 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4652 (signbit_test_data): New variable.
4653 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4654
4655 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4656 with INVALID_EXCEPTION.
4657 (acosh_test_data): Likewise.
4658 (asin_test_data): Likewise.
4659 (atanh_test_data): Likewise.
4660 (fmod_test_data): Likewise.
4661 (log_test_data): Likewise.
4662 (log10_test_data): Likewise.
4663 (log2_test_data): Likewise.
4664 (pow_test_data): Likewise.
4665 (sqrt_test_data): Likewise.
4666 (y0_test_data): Likewise.
4667 (y1_test_data): Likewise.
4668 (yn_test_data): Likewise.
4669
4670 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4671 function contents.
4672
4673 * math/libm-test.inc (struct test_ff_i_data): New type.
4674 (RUN_TEST_LOOP_ff_i_tg): New macro.
4675 (isgreater_test_data): New variable.
4676 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4677 (isgreaterequal_test_data): New variable.
4678 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4679 (isless_test_data): New variable.
4680 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4681 (islessequal_test_data): New variable.
4682 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4683 (islessgreater_test_data): New variable.
4684 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4685 (isunordered_test_data): New variable.
4686 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4687
4688 2013-05-14 David S. Miller <davem@davemloft.net>
4689
4690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4691
4692 2013-05-14 Joseph Myers <joseph@codesourcery.com>
4693
4694 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4695
4696 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4697 extra_test to int.
4698 (struct test_f_i_data): Change type of max_ulp to int.
4699
4700 * math/libm-test.inc (test_ffI_f1_data): New type.
4701 (RUN_TEST_LOOP_ffI_f1): New macro.
4702 (remquo_test_data): New variable.
4703 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4704
4705 * setjmp/tst-setjmp-fp.c: New file.
4706 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4707 (link-libm): New variable.
4708 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4709
4710 * math/libm-test.inc (struct test_f_i_data): New type.
4711 (RUN_TEST_LOOP_f_i): New macro.
4712 (RUN_TEST_LOOP_f_i_tg): Likewise.
4713 (fpclassify_test_data): New variable.
4714 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4715 (ilogb_test_data): New variable.
4716 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4717
4718 * math/libm-test.inc (scalbln_test): Correct function name in END
4719 call.
4720
4721 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4722 (RUN_TEST_LOOP_fI_f1): New macro.
4723 (frexp_test_data): New variable.
4724 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4725
4726 * math/libm-test.inc (struct test_fF_f1_data): New type.
4727 (RUN_TEST_LOOP_fF_f1): New macro.
4728 (modf_test_data): New variable.
4729 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4730
4731 * math/libm-test.inc (struct test_f_f1_data): New type.
4732 (RUN_TEST_LOOP_f_f1): New macro.
4733 (gamma_test_data): New variable.
4734 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4735 (lgamma_test_data): New variable.
4736 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4737
4738 2013-05-13 Carlos O'Donell <carlos@redhat.com>
4739
4740 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4741 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4742 (main): Comment "tls" pseudo-hwcap.
4743
4744 2013-05-13 Joseph Myers <joseph@codesourcery.com>
4745
4746 * math/libm-test.inc (struct test_fl_f_data): New type.
4747 (RUN_TEST_LOOP_fl_f): New variable.
4748 (scalbln_test_data): New variable.
4749 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4750
4751 * math/libm-test.inc (struct test_fi_f_data): New type.
4752 (RUN_TEST_LOOP_fi_f): New macro.
4753 (ldexp_test_data): New variable.
4754 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4755 (scalbn_test_data): New variable.
4756 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4757
4758 * math/libm-test.inc (struct test_c_f_data): New type.
4759 (RUN_TEST_LOOP_c_f): New macro.
4760 (cabs_test_data): New variable.
4761 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4762 (carg_test_data): New variable.
4763 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4764 (cimag_test_data): New variable.
4765 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4766 (creal_test_data): New variable.
4767 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4768
4769 * math/libm-test.inc (struct test_if_f_data): New type.
4770 (RUN_TEST_LOOP_if_f): New macro.
4771 (jn_test_data): New variable.
4772 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4773 (yn_test_data): New variable.
4774 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4775
4776 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4777
4778 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4779
4780 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4781 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4782
4783 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4784
4785 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4786 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4787 (bench-deps): Add bench-timing.h.
4788 * benchtests-bench-skeleton.c: Include bench-timing.h.
4789 (main): Use TIMING_* macros instead of clock_gettime.
4790 * benchtests/bench-timing.h: New file.
4791
4792 [BZ #14582]
4793 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4794 Renamed from _LIB_VERSION.
4795 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4796
4797 2013-05-12 Joseph Myers <joseph@codesourcery.com>
4798
4799 * math/libm-test.inc (struct test_fff_f_data): New type.
4800 (RUN_TEST_LOOP_fff_f): New macro.
4801 (fma_test_data): New variable.
4802 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4803 (fma_towardzero_test_data): New variable.
4804 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4805 (fma_downward_test_data): New variable.
4806 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4807 (fma_upward_test_data): New variable.
4808 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4809
4810 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4811 (struct test_c_c_data): New type.
4812 (RUN_TEST_LOOP_c_c): New macro.
4813 (cacos_test_data): New variable.
4814 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4815 (cacosh_test_data): New variable.
4816 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4817 (casin_test_data): New variable.
4818 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4819 (casinh_test_data): New variable.
4820 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4821 (catan_test_data): New variable.
4822 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4823 (catanh_test_data): New variable.
4824 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4825 (ccos_test_data): New variable.
4826 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4827 (ccosh_test_data): New variable.
4828 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4829 (cexp_test_data): New variable.
4830 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4831 (clog_test_data): New variable.
4832 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4833 (clog10_test_data): New variable.
4834 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4835 (conj_test_data): New variable.
4836 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4837 (cproj_test_data): New variable.
4838 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4839 (csin_test_data): New variable.
4840 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4841 (csinh_test_data): New variable.
4842 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4843 (csqrt_test_data): New variable.
4844 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4845 (ctan_test_data): New variable.
4846 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4847 (ctan_tonearest_test_data): New variable.
4848 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4849 (ctan_towardzero_test_data): New variable.
4850 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4851 (ctan_downward_test_data): New variable.
4852 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4853 (ctan_upward_test_data): New variable.
4854 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4855 (ctanh_test_data): New variable.
4856 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4857 (ctanh_tonearest_test_data): New variable.
4858 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4859 (ctanh_towardzero_test_data): New variable.
4860 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4861 (ctanh_downward_test_data): New variable.
4862 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4863 (ctanh_upward_test_data): New variable.
4864 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4865 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4866 of BUILD_COMPLEX.
4867
4868 * math/libm-test.inc (struct test_ff_f_data): New type.
4869 (struct test_ff_f_data_nexttoward): Likewise.
4870 (RUN_TEST_LOOP_2_f): New macro.
4871 (RUN_TEST_LOOP_ff_f): Likewise.
4872 (atan2_test_data): New variable.
4873 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4874 (copysign_test_data): New variable.
4875 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4876 (fdim_test_data): New variable.
4877 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4878 (fmax_test_data): New variable.
4879 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4880 (fmin_test_data): New variable.
4881 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4882 (fmod_test_data): New variable.
4883 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4884 (hypot_test_data): New variable.
4885 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4886 (nextafter_test_data): New variable.
4887 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4888 (nexttoward_test_data): New variable.
4889 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4890 (pow_test_data): New variable.
4891 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4892 (pow_tonearest_test_data): New variable.
4893 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4894 (pow_towardzero_test_data): New variable.
4895 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4896 (pow_downward_test_data): New variable.
4897 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4898 (pow_upward_test_data): New variable.
4899 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4900 (remainder_test_data): New variable.
4901 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4902 (scalb_test_data): New variable.
4903 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4904 * sysdeps/i386/fpu/libm-test-ulps: Update.
4905
4906 2013-05-11 Joseph Myers <joseph@codesourcery.com>
4907
4908 * math/libm-test.inc (fma_test): Use max_value instead of local
4909 variable fltmax.
4910 (nextafter_test): Likewise.
4911
4912 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4913 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4914 (acos_downward_test_data): New variable.
4915 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4916 (acos_upward_test_data): New variable.
4917 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4918 (acosh_test_data): New variable.
4919 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4920 (asin_test_data): New variable.
4921 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4922 (asin_tonearest_test_data): New variable.
4923 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4924 (asin_towardzero_test_data): New variable.
4925 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4926 (asin_downward_test_data): New variable.
4927 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4928 (asin_upward_test_data): New variable.
4929 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4930 (asinh_test_data): New variable.
4931 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4932 (atan_test_data): New variable.
4933 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4934 (atanh_test_data): New variable.
4935 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4936 (cbrt_test_data): New variable.
4937 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4938 (ceil_test_data): New variable.
4939 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4940 (cos_test_data): New variable.
4941 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4942 (cos_tonearest_test_data): New variable.
4943 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4944 (cos_towardzero_test_data): New variable.
4945 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4946 (cos_downward_test_data): New variable.
4947 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4948 (cos_upward_test_data): New variable.
4949 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4950 (cosh_test_data): New variable.
4951 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4952 (cosh_tonearest_test_data): New variable.
4953 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4954 (cosh_towardzero_test_data): New variable.
4955 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4956 (cosh_downward_test_data): New variable.
4957 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4958 (cosh_upward_test_data): New variable.
4959 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4960 (erf_test_data): New variable.
4961 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4962 (erfc_test_data): New variable.
4963 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4964 (exp_test_data): New variable.
4965 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4966 (exp_tonearest_test_data): New variable.
4967 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4968 (exp_towardzero_test_data): New variable.
4969 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4970 (exp_downward_test_data): New variable.
4971 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4972 (exp_upward_test_data): New variable.
4973 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4974 (exp10_test_data): New variable.
4975 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4976 (exp2_test_data): New variable.
4977 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4978 (expm1_test_data): New variable.
4979 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4980 (fabs_test_data): New variable.
4981 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4982 (floor_test_data): New variable.
4983 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4984 (j0_test_data): New variable.
4985 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4986 (j1_test_data): New variable.
4987 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4988 (log_test_data): New variable.
4989 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4990 (log10_test_data): New variable.
4991 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4992 (log1p_test_data): New variable.
4993 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4994 (log2_test_data): New variable.
4995 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4996 (logb_test_data): New variable.
4997 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4998 (logb_downward_test_data): New variable.
4999 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5000 (nearbyint_test_data): New variable.
5001 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5002 (rint_test_data): New variable.
5003 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5004 (rint_tonearest_test_data): New variable.
5005 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5006 (rint_towardzero_test_data): New variable.
5007 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5008 (rint_downward_test_data): New variable.
5009 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5010 (rint_upward_test_data): New variable.
5011 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5012 (round_test_data): New variable.
5013 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5014 (sin_test_data): New variable.
5015 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5016 (sin_tonearest_test_data): New variable.
5017 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5018 (sin_towardzero_test_data): New variable.
5019 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5020 (sin_downward_test_data): New variable.
5021 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5022 (sin_upward_test_data): New variable.
5023 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5024 (sinh_test_data): New variable.
5025 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5026 (sinh_tonearest_test_data): New variable.
5027 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5028 (sinh_towardzero_test_data): New variable.
5029 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5030 (sinh_downward_test_data): New variable.
5031 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5032 (sinh_upward_test_data): New variable.
5033 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5034 (sqrt_test_data): New variable.
5035 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5036 (tan_test_data): New variable.
5037 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5038 (tan_tonearest_test_data): New variable.
5039 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5040 (tan_towardzero_test_data): New variable.
5041 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5042 (tan_downward_test_data): New variable.
5043 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5044 (tan_upward_test_data): New variable.
5045 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5046 (tanh_test_data): New variable.
5047 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5048 (tgamma_test_data): New variable.
5049 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5050 (trunc_test_data): New variable.
5051 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5052 (y0_test_data): New variable.
5053 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5054 (y1_test_data): New variable.
5055 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5056 (significand_test_data): New variable.
5057 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5058
5059 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5060
5061 [BZ #12387]
5062 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5063
5064 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5065
5066 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5067
5068 2013-05-10 Andreas Jaeger <aj@suse.de>
5069
5070 [BZ #15448]
5071 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5072 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5073
5074 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5075
5076 * math/gen-libm-test.pl (adjust_arg): New function.
5077 (special_functions): Handle generating output in both functions
5078 and arrays.
5079 (parse_args): Likewise.
5080 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5081 $in_func argument to parse_args.
5082 * math/libm-test.inc (struct test_f_f_data): New type.
5083 (IF_ROUND_INIT_): New macro.
5084 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5085 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5086 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5087 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5088 (ROUND_RESTORE_): Likewise.
5089 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5090 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5091 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5092 (ROUND_RESTORE_FE_UPWARD): Likewise.
5093 (RUN_TEST_LOOP_f_f): New macro.
5094 (acos_test_data): New variable.
5095 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5096 (acos_tonearest_test_data): New variable.
5097 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5098
5099 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5100
5101 * benchtests/bench-skeleton.c (startup): Fix coding style.
5102
5103 2013-05-10 Joseph Myers <joseph@codesourcery.com>
5104
5105 [BZ #6809]
5106 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5107 negative infinity argument.
5108 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5109 negative infinity argument.
5110 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5111 negative infinity argument.
5112 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5113 domain errors.
5114
5115 2013-05-10 Florian Weimer <fweimer@redhat.com>
5116
5117 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5118 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5119 * iconv/iconv_prog.c (main): Likewise.
5120 * locale/programs/charmap-dir.c (charmap_readdir)
5121 (fopen_uncompressed): Likewise.
5122 * locale/programs/locfile.c (siblings_uncached)
5123 (write_locale_data): Use lstat64 instead of lstat.
5124 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5125 stat.
5126
5127 2013-05-10 Andreas Jaeger <aj@suse.de>
5128
5129 [BZ #15395]
5130 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5131 localization.
5132 Include <locale.h>.
5133
5134 2013-05-09 Carlos O'Donell <carlos@redhat.com>
5135
5136 * elf/dl-close.c (_dl_close_worker): Add comments.
5137
5138 2013-05-09 Joseph Myers <joseph@codesourcery.com>
5139
5140 [BZ #15359]
5141 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5142 high part of pi/2.
5143 (__ieee754_rem_pio2l): Update comments.
5144
5145 [BZ #15429]
5146 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5147 high part of pi/2.
5148 (__ieee754_rem_pio2l): Update comments.
5149
5150 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5151 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5152
5153 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5154 M_PI_4l.
5155
5156 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5157 (M_PI_34_LOG10El): Likewise.
5158 (M_PI2_LOG10El): Likewise.
5159 (M_PI4_LOG10El): Likewise.
5160 (M_PI_LOG10El): Likewise.
5161
5162 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5163
5164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5165
5166 2013-05-08 Joseph Myers <joseph@codesourcery.com>
5167
5168 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5169 (MINUS_ZERO_INIT): Likewise.
5170 (PLUS_INFTY_INIT): Likewise.
5171 (MINUS_INFTY_INIT): Likewise.
5172 (QNAN_VALUE_INIT): Likewise.
5173 (MAX_VALUE_INIT): Likewise.
5174 (MIN_VALUE_INIT): Likewise.
5175 (MIN_SUBNORM_VALUE_INIT): Likewise.
5176 (plus_zero): Initialize with PLUS_ZERO_INIT.
5177 (minus_zero): Initialize with MINUS_ZERO_INIT.
5178 (plus_infty): Initialize with PLUS_INFTY_INIT.
5179 (minus_infty): Initialize with MINUS_INFTY_INIT.
5180 (qnan_value): Initialize with QNAN_VALUE_INIT.
5181 (max_value): Initialize with MAX_VALUE_INIT.
5182 (min_value): Initialize with MIN_VALUE_INIT.
5183 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5184
5185 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5186 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5187 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5188 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5189
5190 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5191 (RUN_TEST_2_f): Likewise.
5192 (RUN_TEST_ff_f): Likewise.
5193 (RUN_TEST_fi_f): Likewise.
5194 (RUN_TEST_fl_f): Likewise.
5195 (RUN_TEST_fff_f): Likewise.
5196 (RUN_TEST_c_f): Likewise.
5197 (RUN_TEST_f_f1): Likewise.
5198 (RUN_TEST_fF_f1): Likewise.
5199 (RUN_TEST_fI_f1): Likewise.
5200 (RUN_TEST_ffI_f1): Likewise.
5201 (RUN_TEST_c_c): Likewise.
5202 (RUN_TEST_cc_c): Likewise.
5203 (RUN_TEST_f_i): Likewise.
5204 (RUN_TEST_f_i_tg): Likewise.
5205 (RUN_TEST_ff_i_tg): Likewise.
5206 (RUN_TEST_f_b): Likewise.
5207 (RUN_TEST_f_b_tg): Likewise.
5208 (RUN_TEST_f_l): Likewise.
5209 (RUN_TEST_f_L): Likewise.
5210 (RUN_TEST_sincos): Likewise.
5211 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5212 whether to show exceptions. Do not include ");\n" in return
5213 value.
5214 (special_functions): Output call to RUN_TEST_sincos instead of
5215 check_float calls. Update calls to new_test.
5216 (parse_args): Output call to single RUN_TEST_* macro instead of
5217 check_* calls and other assignments. Update calls to new_test.
5218
5219 [BZ #2546]
5220 [BZ #2560]
5221 [BZ #5159]
5222 [BZ #15426]
5223 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5224 input to result for tgamma overflow.
5225 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5226 (gamma_coeff): New variable.
5227 (NCOEFF): New macro.
5228 (gamma_positive): New function.
5229 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5230 underflow here. Use gamma_positive instead of exp (lgamma) for
5231 other arguments.
5232 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5233 (gamma_coeff): New variable.
5234 (NCOEFF): New macro.
5235 (gammaf_positive): New function.
5236 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5237 underflow here. Use gamma_positive instead of exp (lgamma) for
5238 other arguments.
5239 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5240 (gamma_coeff): New variable.
5241 (NCOEFF): New macro.
5242 (gammal_positive): New function.
5243 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5244 underflow here. Use gamma_positive instead of exp (lgamma) for
5245 other arguments.
5246 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5247 (gamma_coeff): New variable.
5248 (NCOEFF): New macro.
5249 (gammal_positive): New function.
5250 (__ieee754_gammal_r): Handle positive infinity, overflow and
5251 underflow here. Handle NaN the same as positive infinity. Remove
5252 check x < 0xffffffff for negative integers. Use gamma_positive
5253 instead of exp (lgamma) for other arguments.
5254 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5255 (gamma_coeff): New variable.
5256 (NCOEFF): New macro.
5257 (gammal_positive): New function.
5258 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5259 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5260 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5261 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5262 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5263 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5264 * sysdeps/generic/math_private.h (__gamma_productf): New
5265 prototype.
5266 (__gamma_product): Likewise.
5267 (__gamma_productl): Likewise.
5268 * math/Makefile (libm-calls): Add gamma_product.
5269 * math/libm-test.inc (tgamma_test): Add more tests.
5270 * sysdeps/i386/fpu/libm-test-ulps: Update.
5271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5272
5273 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
5274
5275 * benchtests/bench-skeleton.c (main): Preheat CPU.
5276
5277 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5278
5279 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5280
5281 2013-05-07 Roland McGrath <roland@hack.frob.com>
5282
5283 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5284 and _dl_skip_args_internal.
5285
5286 2013-05-07 Carlos O'Donell <carlos@redhat.com>
5287
5288 * manual/message.texi (Message Translation): Talk about users.
5289 Message to key mapping impacts design.
5290
5291 2013-05-06 Roland McGrath <roland@hack.frob.com>
5292
5293 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5294
5295 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5296
5297 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5298 * sysdeps/wordsize-64/glob64.c: ... here.
5299
5300 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5301 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5302 New macros.
5303
5304 * debug/getlogin_r_chk.c: Moved to ...
5305 * login/getlogin_r_chk.c: ... here.
5306 * debug/Makefile (routines): Move getlogin_r_chk to ...
5307 * login/Makefile (routines): ... here.
5308 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5309 * login/Versions (libc: GLIBC_2.4): ... here.
5310
5311 * io/poll.c (__poll): Renamed from poll.
5312 Add libc_hidden_def.
5313 (poll): Define as weak alias.
5314
5315 * debug/ptsname_r_chk.c: Moved to ...
5316 * login/ptsname_r_chk.c: ... here.
5317 * debug/Makefile (routines): Move ptsname_r_chk to ...
5318 * login/Makefile (routines): ... here.
5319 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5320 * login/Versions (libc: GLIBC_2.4): ... here.
5321
5322 * posix/getlogin.c: Moved to ...
5323 * login/getlogin.c: ... here.
5324 * posix/getlogin_r.c: Moved to ...
5325 * login/getlogin_r.c: ... here.
5326 * posix/getlogin_r.c: Moved to ...
5327 * login/getlogin_r.c: ... here.
5328 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5329 * login/Makefile (routines): ... here.
5330 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5331 * login/Versions (libc: GLIBC_2.0): ... here.
5332
5333 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5334 (setrlimit): Define as weak alias.
5335
5336 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5337 Call __ names for open, ftruncate, and close.
5338 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5339 (truncate): Define as weak alias.
5340
5341 2013-05-06 Joseph Myers <joseph@codesourcery.com>
5342
5343 * math/gen-libm-test.pl (parse_args): Initialize x before each
5344 test of frexp, modf and remquo.
5345
5346 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5347 test signgam value.
5348
5349 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5350
5351 [BZ #15418]
5352 [BZ #15419]
5353 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5354 internal tests.
5355 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5356
5357 2013-05-06 Roland McGrath <roland@hack.frob.com>
5358
5359 * elf/dl-writev.h: New file.
5360 * elf/dl-misc.c: Include it.
5361 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5362 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5363
5364 2013-05-04 Joseph Myers <joseph@codesourcery.com>
5365
5366 * math/libm-test.inc (noXFails): Remove variable.
5367 (noXPasses): Likewise.
5368 (BUILD_COMPLEX_INT): Remove macro.
5369 (print_screen): Remove xfail argument.
5370 (print_screen_max_error): Likewise.
5371 (update_stats): Likewise.
5372 (print_max_error): Likewise. Update calls to other affected
5373 functions.
5374 (print_complex_max_error): Likewise.
5375 (test_single_exception): Update calls to print_screen.
5376 (test_single_errno): Likewise.
5377 (check_float_internal): Remove xfail argument. Update calls to
5378 other affected functions.
5379 (check_float): Likewise.
5380 (check_complex): Likewise.
5381 (check_int): Likewise.
5382 (check_long): Likewise.
5383 (check_bool): Likewise.
5384 (check_longlong): Likewise.
5385 (main): Don't print noXFails and noXPasses.
5386 * math/gen-libm-test.pl (top level): Don't mention expected
5387 failure handling in comment.
5388 (new_test): Don't handle expected failures.
5389 (parse_args): Don't mention expected failure handling in comment.
5390 (generate_testfile): Don't handle expected failures.
5391 (parse_ulps): Likewise.
5392 (print_ulps_file): Likewise.
5393 (get_failure): Remove function.
5394 (output_test): Don't handle expected failures.
5395 * make/README.libm-test: Don't mention expected failure handling.
5396
5397 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5398 (minus_zero): Likewise.
5399 (plus_infty): Likewise.
5400 (minus_infty): Likewise.
5401 (qnan_value): Likewise.
5402 (max_value): Likewise.
5403 (min_value): Likewise.
5404 (min_subnorm_value): Likewise.
5405 (initialize): Do not initialize those variables dynamically.
5406
5407 2013-05-03 Roland McGrath <roland@hack.frob.com>
5408
5409 * io/open.c (__open_2): Moved to ...
5410 * io/open_2.c: ... this new file.
5411 * io/open64.c (__open64_2): Moved to ...
5412 * io/open64_2.c: ... this new file.
5413 * io/openat.c (__openat_2): Moved to ...
5414 * io/openat_2.c: ... this new file.
5415 * io/openat64.c (__openat64_2): Moved to ...
5416 * io/openat64_2.c: ... this new file.
5417 * io/Makefile (routines): Add them.
5418 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5419 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5420 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5421 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5422 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5423 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5424 (__openat64): Add hidden_ver.
5425 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5426 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5427
5428 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5429 Separately conditionalize setting of GLRO(dl_sysinfo) so
5430 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5431 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5432
5433 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5434
5435 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5436 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5437 definition.
5438 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5439 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5440 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5441 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5442 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5443
5444 2013-05-03 Joseph Myers <joseph@codesourcery.com>
5445
5446 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5447 test signgam value.
5448
5449 * math/libm-test.inc (hypot_test): Do not use
5450 IGNORE_ZERO_INF_SIGN.
5451
5452 2013-05-03 Andreas Jaeger <aj@suse.de>
5453
5454 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5455 Linux 3.9.
5456 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5457 (PF_MAX): Adjust for VSOCK change.
5458
5459 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5460
5461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5462
5463 2013-05-02 Carlos O'Donell <carlos@redhat.com>
5464
5465 [BZ #15264]
5466 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5467 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5468 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5469
5470 2013-05-02 David S. Miller <davem@davemloft.net>
5471
5472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5473
5474 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
5475
5476 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5477
5478 2013-05-01 Roland McGrath <roland@hack.frob.com>
5479
5480 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5481
5482 2013-05-01 Richard Smith <richard@metafoo.co.uk>
5483
5484 [BZ #14952]
5485 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5486 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5487 Use __attribute__ ((__gnu_inline__)).
5488 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5489 Don't use __attribute__ ((__gnu_inline__)).
5490
5491 2013-05-01 Joseph Myers <joseph@codesourcery.com>
5492
5493 [BZ #15423]
5494 * math/s_catan.c (__catan): Handle small real or imaginary part of
5495 input specially to avoid spurious underflow.
5496 * math/s_catanf.c (__catanf): Likewise.
5497 * math/s_catanh.c (__catanh): Likewise.
5498 * math/s_catanhf.c (__catanhf): Likewise.
5499 * math/s_catanhl.c (__catanhl): Likewise.
5500 * math/s_catanl.c (__catanl): Likewise.
5501 * math/libm-test.inc (catan_test): Add more tests.
5502 (catanh_test): Likewise.
5503 * sysdeps/i386/fpu/libm-test-ulps: Update.
5504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5505
5506 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5507
5508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5509
5510 2013-04-30 Joseph Myers <joseph@codesourcery.com>
5511
5512 [BZ #15416]
5513 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5514 accurately for denominator in atan2.
5515 * math/s_catanf.c (__catanf): Likewise.
5516 * math/s_catanh.c (__catanh): Likewise.
5517 * math/s_catanhf.c (__catanhf): Likewise.
5518 * math/s_catanhl.c (__catanhl): Likewise.
5519 * math/s_catanl.c (__catanl): Likewise.
5520 * math/libm-test.inc (catan_test): Add more tests.
5521 (catanh_test): Likewise.
5522 * sysdeps/i386/fpu/libm-test-ulps: Update.
5523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5524
5525 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5526
5527 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5528
5529 * benchtests/Makefile (bench): Remove slow benchmarks.
5530 * benchtests/atan-inputs: Add slow benchmark inputs.
5531 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5532 (BENCH_FUNC): Accept variant offset.
5533 (VARIANT): Define.
5534 * benchtests/bench-skeleton.c (main): Run benchmark for each
5535 variant.
5536 * benchtests/cos-inputs: Add slow benchmark inputs.
5537 * benchtests/exp-inputs: Likewise.
5538 * benchtests/pow-inputs: Likewise.
5539 * benchtests/sin-inputs: Likewise.
5540 * benchtests/slowatan-inputs: Remove.
5541 * benchtests/slowatan.c: Remove.
5542 * benchtests/slowcos-inputs: Remove.
5543 * benchtests/slowcos.c: Remove.
5544 * benchtests/slowexp-inputs: Remove.
5545 * benchtests/slowexp.c: Remove.
5546 * benchtests/slowpow-inputs: Remove.
5547 * benchtests/slowpow.c: Remove.
5548 * benchtests/slowsin-inputs: Remove.
5549 * benchtests/slowsin.c: Remove.
5550 * benchtests/slowtan-inputs: Remove.
5551 * benchtests/slowtan.c: Remove.
5552 * benchtests/tan-inputs: Add slow benchmark inputs.
5553 * scripts/bench.pl: Parse comments and directives.
5554
5555 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5556 in CPPFLAGS.
5557 ($(objpfx)bench-%.c): Remove *-ITER.
5558 * benchtests/bench-modf.c: Remove definition of ITER.
5559 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5560 (main): Loop for DURATION seconds instead of fixed number of
5561 iterations.
5562 * scripts/bench.pl: Don't expect iterations in parameters.
5563
5564 2013-04-29 Roland McGrath <roland@hack.frob.com>
5565
5566 * io/fchdir.c (__fchdir): Renamed from fchdir.
5567 (fchdir): Define as weak alias.
5568
5569 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5570
5571 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5572 (ERRNO_EDOM): Likewise.
5573 (ERRNO_ERANGE): Likewise.
5574 (noErrnoTests): New variable.
5575 (init_max_error): Set errno to 0.
5576 (test_single_errno): New function.
5577 (test_errno): Likewise.
5578 (check_float_internal): Call test_errno. Set errno to 0.
5579 (check_complex): Refer to errno tests in comment.
5580 (check_int): Call test_errno. Set errno to 0.
5581 (check_long): Likewise.
5582 (check_bool): Likewise.
5583 (check_longlong): Likewise.
5584 (cos_test): Use ERRNO_* flags for errno tests instead of
5585 check_int.
5586 (expm1_test): Likewise.
5587 (fmod_test): Likewise.
5588 (ilogb_test): Likewise.
5589 (lgamma_test): Likewise.
5590 (pow_test): Likewise.
5591 (remainder_test): Likewise.
5592 (sin_test): Likewise.
5593 (tan_test): Likewise.
5594 (yn_test): Likewise.
5595 (initialize): Set errno to 0.
5596 (main): Print number of errno tests.
5597 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5598
5599 2013-04-29 Andreas Jaeger <aj@suse.de>
5600
5601 [BZ #15084]
5602 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5603 and RES_USEVC.
5604
5605 [BZ #15085]
5606 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5607 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5608 unimplemented.
5609
5610 [BZ #15380]
5611 * stdlib/random.c (__initstate): Return NULL if
5612 __initstate fails.
5613
5614 [BZ #15086]
5615 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5616 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5617 RES_SNGLKUPREOP.
5618
5619 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5620
5621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5622
5623 2013-04-29 Joseph Myers <joseph@codesourcery.com>
5624
5625 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5626 of individual tests.
5627 (casin_test): Likewise.
5628 (casinh_test): Likewise.
5629
5630 2013-04-27 Joseph Myers <joseph@codesourcery.com>
5631
5632 [BZ #15409]
5633 * math/s_catan.c (__catan): Handle arguments with large real or
5634 imaginary part separately without squaring.
5635 * math/s_catanf.c (__catanf): Likewise.
5636 * math/s_catanh.c (__catanh): Likewise.
5637 * math/s_catanhf.c (__catanhf): Likewise.
5638 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5639 and redefine.
5640 (__catanhl): Handle arguments with large real or imaginary part
5641 separately without squaring.
5642 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5643 and redefine.
5644 (__catanl): Handle arguments with large real or imaginary part
5645 separately without squaring.
5646 * math/libm-test.inc (catan_test): Add more tests.
5647 (catanh_test): Likewise.
5648 * sysdeps/i386/fpu/libm-test-ulps: Update.
5649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5650
5651 2013-04-27 Andreas Jaeger <aj@suse.de>
5652
5653 [BZ #15007]
5654 * stdlib/stdlib.h: Update guards for qecvt.
5655 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5656 <stdlib.h>.
5657
5658 2013-04-27 Allan McRae <allan@archlinux.org>
5659
5660 * sysdeps/i386/fpu/libm-test-ulps: Update.
5661
5662 2013-04-26 Joseph Myers <joseph@codesourcery.com>
5663
5664 [BZ #15406]
5665 * math/s_catan.c: Include <float.h>.
5666 (__catan): Ensure underflow exception occurs for underflowed
5667 result.
5668 * math/s_catanf.c: Include <float.h>.
5669 (__catanf): Ensure underflow exception occurs for underflowed
5670 result.
5671 * math/s_catanh.c: Include <float.h>.
5672 (__catanh): Ensure underflow exception occurs for underflowed
5673 result.
5674 * math/s_catanhf.c: Include <float.h>.
5675 (__catanhf): Ensure underflow exception occurs for underflowed
5676 result.
5677 * math/s_catanhl.c: Include <float.h>.
5678 (__catanhl): Ensure underflow exception occurs for underflowed
5679 result.
5680 * math/s_catanl.c: Include <float.h>.
5681 (__catanl): Ensure underflow exception occurs for underflowed
5682 result.
5683 * math/libm-test.inc (catan_test): Add more tests.
5684 (catanh_test): Likewise.
5685
5686 [BZ #15405]
5687 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5688 underflowed result.
5689 * math/s_ccoshf.c (__ccoshf): Likewise.
5690 * math/s_ccoshl.c (__ccoshl): Likewise.
5691 * math/s_csin.c (__csin): Likewise.
5692 * math/s_csinf.c (__csinf): Likewise.
5693 * math/s_csinh.c (__csinh): Likewise.
5694 * math/s_csinhf.c (__csinhf): Likewise.
5695 * math/s_csinhl.c (__csinhl): Likewise.
5696 * math/s_csinl.c (__csinl): Likewise.
5697 * math/libm-test.inc (ccos_test): Add more tests.
5698 (ccosh_test): Likewise.
5699 (csin_test): Likewise.
5700 (csinh_test): Likewise.
5701
5702 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5703
5704 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5705 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5706 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5707 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5708 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5709 powerpc/power5+/fpu folders.
5710 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5711
5712
5713 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5714
5715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5716
5717 2013-04-25 Joseph Myers <joseph@codesourcery.com>
5718
5719 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5720 additions to variable.
5721 [$(config-machine) = x86_64] (modules-names): Likewise.
5722 ($(objpfx)tst-audit3): Remove dependency.
5723 ($(objpfx)tst-audit3.out): Likewise.
5724 ($(objpfx)tst-audit4): Likewise.
5725 ($(objpfx)tst-audit4.out): Likewise.
5726 ($(objpfx)tst-audit5): Likewise.
5727 ($(objpfx)tst-audit5.out): Likewise.
5728 ($(objpfx)tst-audit6): Likewise.
5729 ($(objpfx)tst-audit6.out): Likewise.
5730 ($(objpfx)tst-audit7): Likewise.
5731 ($(objpfx)tst-audit7.out): Likewise.
5732 (tst-audit3-ENV): Remove variable.
5733 (tst-audit4-ENV): Likewise.
5734 (tst-audit5-ENV): Likewise.
5735 (tst-audit6-ENV): Likewise.
5736 (tst-audit7-ENV): Likewise.
5737 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5738 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5739 addition to variable.
5740 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5741 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5742 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5743 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5744 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5745 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5746 tst-audit3, tst-audit4 and tst-audit5.
5747 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5748 tst-audit6 and tst-audit7.
5749 [$(subdir) = elf] (modules-names): Add audit modules for those
5750 tests.
5751 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5752 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5753 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5754 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5755 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5756 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5757 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5758 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5759 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5760 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5761 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5762 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5763 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5764 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5765 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5766 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5767 Likewise.
5768 [$(subdir) = elf && $(config-cflags-avx) = yes]
5769 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5770 [$(subdir) = elf && $(config-cflags-avx) = yes]
5771 (CFLAGS-tst-auditmod4a.c): Likewise.
5772 [$(subdir) = elf && $(config-cflags-avx) = yes]
5773 (CFLAGS-tst-auditmod4b.c): Likewise.
5774 [$(subdir) = elf && $(config-cflags-avx) = yes]
5775 (CFLAGS-tst-auditmod6b.c): Likewise.
5776 [$(subdir) = elf && $(config-cflags-avx) = yes]
5777 (CFLAGS-tst-auditmod6c.c): Likewise.
5778 [$(subdir) = elf && $(config-cflags-avx) = yes]
5779 (CFLAGS-tst-auditmod7b.c): Likewise.
5780 * elf/tst-audit3.c: Move to ...
5781 * sysdeps/x86_64/tst-audit3.c: ... here.
5782 * elf/tst-audit4.c: Move to ...
5783 * sysdeps/x86_64/tst-audit4.c: ... here.
5784 * elf/tst-audit5.c: Move to ...
5785 * sysdeps/x86_64/tst-audit5.c: ... here.
5786 * elf/tst-audit6.c: Move to ...
5787 * sysdeps/x86_64/tst-audit6.c: ... here.
5788 * elf/tst-audit7.c: Move to ...
5789 * sysdeps/x86_64/tst-audit7.c: ... here.
5790 * elf/tst-auditmod3a.c: Move to ...
5791 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5792 * elf/tst-auditmod3b.c: Move to ...
5793 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5794 * elf/tst-auditmod4a.c: Move to ...
5795 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5796 * elf/tst-auditmod4b.c: Move to ...
5797 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5798 * elf/tst-auditmod5a.c: Move to ...
5799 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5800 * elf/tst-auditmod5b.c: Move to ...
5801 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5802 * elf/tst-auditmod6a.c: Move to ...
5803 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5804 * elf/tst-auditmod6b.c: Move to ...
5805 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5806 * elf/tst-auditmod6c.c: Move to ...
5807 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5808 * elf/tst-auditmod7a.c: Move to ...
5809 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5810 * elf/tst-auditmod7b.c: Move to ...
5811 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5812
5813 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5814
5815 [BZ #15366]
5816 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5817 define unconditionally.
5818 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5819 define unconditionally.
5820 (INT8_C, INT16_C, etc.): Likewise.
5821
5822 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5823
5824 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5825 __ehdr_start with hidden visibility.
5826
5827 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5828
5829 2013-04-24 Carlos O'Donell <carlos@redhat.com>
5830
5831 * math/libm-test.inc (cos_test): Use accurate hex constants.
5832 (sincost_test): Likewise.
5833
5834 2013-04-24 Joseph Myers <joseph@codesourcery.com>
5835
5836 * math/libm-test.inc (catan_test): Add more tests.
5837 (catanh_test): Likewise.
5838
5839 * math/s_catanf.c (__catanf): Use suffixed floating-point
5840 constants.
5841 * math/s_catanhf.c (__catanhf): Likewise.
5842 * math/s_catanhl.c (__catanhl): Likewise.
5843 * math/s_catanl.c (__catanl): Likewise.
5844
5845 [BZ #15394]
5846 * math/s_catan.c (__catan): Calculate imaginary part of result
5847 with log1p not log unless computing log of number close to 0.
5848 * math/s_catanf.c (__catanf): Likewise.
5849 * math/s_catanl.c (__catanl): Likewise.
5850 * math/s_catanh.c (__catanh): Calculate real part of result with
5851 log1p not log unless computing log of number close to 0.
5852 * math/s_catanhf.c (__catanhf): Likewise.
5853 * math/s_catanhl.c (__catanhl): Likewise.
5854 * math/libm-test.inc (catan_test): Add more tests.
5855 (catanh_test): Likewise.
5856 * sysdeps/i386/fpu/libm-test-ulps: Update.
5857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5858
5859 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5860
5861 * benchtests/Makefile: Mention files in which fast and slow
5862 paths of math functions are implemented.
5863
5864 2013-04-23 Roland McGrath <roland@hack.frob.com>
5865
5866 * sysdeps/posix/timespec_get.c: New file.
5867
5868 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869
5870 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5871 POWER.
5872 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5873 for POWER.
5874 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5875 powerpc/power5/fpu folders.
5876 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5877 * benchtests/Makefile: Add modf testcase.
5878 * benchtests/bench-modf.c: New file: Benchmark test for mo
5879
5880 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5881
5882 [BZ #14888]
5883 * time/Makefile (tests): Add tst-strptime-whitespace.
5884 * time/strptime_l.c (get_number): Use ISSPACE.
5885 (__strptime_internal): Likewise.
5886 * time/tst-strptime-whitespace.c: New test case.
5887
5888 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5889
5890 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5891 member.
5892 (_nss_files_init): Set it here.
5893
5894 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5895
5896 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5897 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5898 unsigned.
5899
5900 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5901
5902 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5903
5904 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5905
5906 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5907 size just once.
5908
5909 2013-04-21 David S. Miller <davem@davemloft.net>
5910
5911 * po/ru.po: Update Russion translation from translation project.
5912
5913 2013-04-17 Adam Conrad <adconrad@0c3.net>
5914
5915 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5916 and setfsgid.
5917
5918 2013-04-17 Carlos O'Donell <carlos@redhat.com>
5919
5920 * configure.in: Remove i386 configure warning. Remove i386 case.
5921 * configure: Regenerate.
5922 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5923 Add example to error message.
5924 * sysdeps/i386/configure: Regenerate.
5925
5926 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5927
5928 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5929 slowtan.
5930 * benchtests/cos-inputs: New file.
5931 * benchtests/slowcos-inputs: New file.
5932 * benchtests/slowcos.c: New file.
5933 * benchtests/slowtan-inputs: New file.
5934 * benchtests/slowtan.c: New file.
5935 * benchtests/tan-inputs: New file.
5936
5937 2013-04-16 Roland McGrath <roland@hack.frob.com>
5938
5939 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5940 considered kosher.
5941
5942 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5943
5944 * benchtests/Makefile: Include cppflags-iterator.mk to add
5945 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5946
5947 * Makefile.in (bench-clean): New target.
5948 * benchtests/Makefile (bench-clean): Likewise.
5949
5950 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5951
5952 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5953
5954 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5955
5956 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5957
5958 2013-04-15 Andreas Schwab <schwab@suse.de>
5959
5960 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5961 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5962 * nscd/pwdcache.c (cache_addpw): Likewise.
5963 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5964 more than recsize.
5965
5966 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5967
5968 * benchtests/Makefile (bench): Write all output to
5969 bench-out.tmp together.
5970
5971 2013-04-15 Andreas Schwab <schwab@suse.de>
5972
5973 * nscd/nscd.c (main): Don't fork again after closing files.
5974
5975 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5976
5977 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5978
5979 * benchtests/Rules (bench-deps): Collect dependencies into a
5980 single variable. Add Makefile to dependencies.
5981 ($(objpfx)bench-%.c): Depend on bench-deps.
5982
5983 2013-04-12 Roland McGrath <roland@hack.frob.com>
5984 Xavier Roche <roche+kml2@exalead.com>
5985
5986 [BZ #15361]
5987 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5988 just that it's a file descriptor.
5989 * manual/llio.texi (Synchronizing AIO Operations): Update description
5990 for EBADF error from aio_fsync.
5991
5992 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5993
5994 * Rules (bench): Move target definition...
5995 * benchtests/Makefile: ... here.
5996
5997 2013-04-11 Carlos O'Donell <carlos@redhat.com>
5998
5999 * math/libm-test.inc (cos_test): Fix PI/2 test.
6000 (sincos_test): Likewise.
6001 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6002 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6003
6004 2013-04-11 Andreas Schwab <schwab@suse.de>
6005
6006 [BZ #13988]
6007 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6008 accept exponent character only when digits were seen.
6009 * stdio-common/Makefile (tests): Add bug26.
6010 * stdio-common/bug26.c: New file.
6011
6012 [BZ #14293]
6013 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6014 non-freeable.
6015
6016 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6017
6018 * Makeconfig (rtld-prefix): Define built linker prefix.
6019 * Rules (run-bench): Use it.
6020 * math/Makefile (run-regen-ulps): Likewise.
6021
6022 * Rules (bench): Remove eval.
6023
6024 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6025 Roland McGrath <roland@hack.frob.com>
6026 Ondrej Bilka <neleai@seznam.cz>
6027
6028 [BZ #15346]
6029 * time/getdate.c: Include ctype.h and alloca.h.
6030 (__getdate_r): Trim leading and trailing spaces of input.
6031 * time/tst-getdate.c (tests): Add tests with leading and
6032 trailing spaces.
6033
6034 2013-04-08 Roland McGrath <roland@hack.frob.com>
6035
6036 [BZ #14280]
6037 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6038 when computing value.
6039
6040 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6041
6042 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6043 Use testrun.sh to run libm tests.
6044
6045 [BZ #15309]
6046 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6047
6048 2013-04-06 Marko Myllynen <myllynen@redhat.com>
6049
6050 [BZ #15264]
6051 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6052
6053 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6054
6055 * Makefile.in (regen-ulps): New target.
6056 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6057 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6058 [ifneq (no,$(PERL)] (regen-ulps): New target.
6059 [ifeq (no,$(PERL)] (regen-ulps): New target.
6060 * math/libm-test.inc (ulps_file_name): Define.
6061 (output_dir): New variable.
6062 (options): Add "output-dir" option.
6063 (parse_opt): Handle 'o' case.
6064 (main): If output_dir is non-NULL use it as a prefix
6065 otherwise use "".
6066 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6067
6068 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6069
6070 [BZ #10060, #10062]
6071 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6072 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6073 fail configure if __sync_val_compare_and_swap is not inlined.
6074 * sysdeps/i386/configure: Regenerate.
6075 * configure.in: Build for i686 when configured for i386.
6076 * configure: Regenerate.
6077 * README: Remove i386 reference.
6078
6079 2013-04-06 Carlos O'Donell <carlos@redhat.com>
6080
6081 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6082 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6083
6084 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6085
6086 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6087 (lmsnanval): New variables.
6088 (F): Add conversion tests.
6089 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6090 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6091
6092 * stdio-common/tstdiomisc.c (F): Properly collect individual
6093 tests' results.
6094
6095 [BZ #14686, #15336]
6096 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6097 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6098 Instead, use input NaN values or generate a qNaN by arithmetic
6099 operation. Also fix bugs to comply with the standard.
6100 * math/libm-test.inc (remainder_test): Add more tests.
6101
6102 [BZ #15335, #15342]
6103 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6104 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6105 input NaN values or generate a qNaN by arithmetic operation.
6106
6107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6108 unreachable code.
6109
6110 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6111 definitions.
6112
6113 2013-04-03 Joseph Myers <joseph@codesourcery.com>
6114
6115 [BZ #14478]
6116 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6117 underflowed result.
6118 * math/s_cexpf.c (__cexpf): Likewise.
6119 * math/s_cexpl.c (__cexpl): Likewise.
6120 * math/libm-test.inc (cexp_test): Add more tests.
6121
6122 2013-04-03 Andreas Schwab <schwab@suse.de>
6123
6124 [BZ #15330]
6125 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6126 order arrays from heap if bigger than alloca cutoff.
6127
6128 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6129
6130 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6131 (SNAN_TESTS_double): Refer to GCC PR56831.
6132 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6133 GCC PR56828.
6134
6135 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6136
6137 * Rules (bench): Move bench.out after the run is complete.
6138
6139 * Rules (bench): Echo currently running benchmark.
6140
6141 * benchtests/Makefile (bench): Add atan and slowatan.
6142 * benchtests/atan-inputs: New file.
6143 * benchtests/slowatan-inputs: New file.
6144 * benchtests/slowatan.c: New file.
6145
6146 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6148 its value.
6149
6150 [BZ #15305]
6151 * sysdeps/unix/sysv/linux/kernel-features.h
6152 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6153 __ASSUME_XFS_RESTRICTED_CHOWN.
6154 * sysdeps/unix/sysv/linux/pathconf.c
6155 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6156 Save and restore errno.
6157
6158 2013-04-02 Joseph Myers <joseph@codesourcery.com>
6159
6160 [BZ #15327]
6161 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6162 arguments using __kernel_casinh.
6163 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6164 arguments using __kernel_casinhf.
6165 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6166 arguments using __kernel_casinhl.
6167 * math/libm-test.inc (cacosh_test): Add more tests.
6168 * sysdeps/i386/fpu/libm-test-ulps: Update.
6169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6170
6171 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6172
6173 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6175
6176 * bench/Makefile (bench): Add sin and slowsin.
6177 * benchtests/sin-inputs: New file.
6178 * benchtests/slowsin-inputs: New file.
6179 * benchtests/slowsin.c: New file.
6180
6181 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6182 (bench): Add slowexp and slowpow.
6183 (exp-ITER): Increase iterations.
6184 (pow-ITER): Likewise.
6185 * benchtests/exp-inputs: Change input.
6186 * benchtests/pow-inputs: Likewise.
6187 * benchtests/slowexp-inputs: New file.
6188 * benchtests/slowexp.c: New file.
6189 * benchtests/slowpow-inputs: New file.
6190 * benchtests/slowpow.c: New file.
6191
6192 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6193
6194 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6195 instructions.
6196 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6197 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6198 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6199 * benchtests/Makefile: Add rint benchtest.
6200 * benchtests/rint-inputs: Input for rint benchtest.
6201
6202 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6203
6204 * Versions.def (libm): Add GLIBC_2.18.
6205 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6206 hidden libm prototypes.
6207 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6208 * math/Makefile (libm-calls): Add s_issignaling.
6209 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6210 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6211 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6212 declaration.
6213 * math/math.h [__USE_GNU] (issignaling): New macro.
6214 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6215 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6216 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6217 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6220 * manual/arith.texi (issignaling): New section.
6221 * manual/libm-err-tab.pl (@all_functions): Update comment.
6222 * math/gen-libm-test.pl (parse_args): Apply special handling for
6223 issignaling.
6224 * math/libm-test.inc (print_float, issignaling_test): New
6225 functions.
6226 (check_float_internal): Add issignaling checks.
6227 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6228 default definition.
6229 * sysdeps/powerpc/math-tests.h: New file.
6230 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6231 tests.
6232 * math/test-snan.c (TEST_FUNC): Likewise.
6233
6234 2013-03-30 David S. Miller <davem@davemloft.net>
6235
6236 * po/de.po: Update from translation team.
6237
6238 2013-03-30 Joseph Myers <joseph@codesourcery.com>
6239
6240 [BZ #10357]
6241 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6242 imaginary part less than 1.0 and real part less than 0.5
6243 specially.
6244 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6245 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6246 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6247 (cacos_test): Add more tests.
6248 (casin_test): Likewise.
6249 (casinh_test): Likewise.
6250 * sysdeps/i386/fpu/libm-test-ulps: Update.
6251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6252
6253 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6254
6255 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6256 ONE with its value.
6257
6258 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6259 (__pow_mp): Replace ONE and MONE with their values.
6260 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6261 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6262 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6263 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6264 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6265 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6266
6267 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6268
6269 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6270 (__pow_mp): Replace ZERO and MZERO with their values.
6271 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6272 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6273 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6275 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6276 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6277 (__sqr): Likewise.
6278
6279 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6280
6281 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6282
6283 2013-03-28 Roland McGrath <roland@hack.frob.com>
6284
6285 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6286 Declare with __attribute__ ((weak)).
6287 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6288 Call __call_tls_dtors only if it's not NULL.
6289
6290 2013-03-28 Roland McGrath <roland@hack.frob.com>
6291
6292 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6293 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6294 magic __ehdr_start linker symbol if it's defined.
6295 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6296 them up here if it was already done.
6297
6298 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6299 (_dl_aux_init): Use const in cast when setting it.
6300 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6301 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6302 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6303
6304 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6305 Declare them here.
6306 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6307 * csu/libc-tls.c: Nor here.
6308 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6309
6310 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6311 (__libc_message): Never call vsyslog.
6312
6313 2013-03-28 Alan Modra <amodra@gmail.com>
6314
6315 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6316 Define as empty.
6317 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6318 Likewise.
6319
6320 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6321
6322 [BZ #15214]
6323 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6324 underflow.
6325 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6326
6327 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6328
6329 [BZ #15304]
6330 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6331 Don't add gid passed as argument.
6332
6333 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6334
6335 2013-03-27 Joseph Myers <joseph@codesourcery.com>
6336
6337 [BZ #15307]
6338 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6339 imaginary part between 1.0 and 1.5 and real part less than 0.5
6340 specially.
6341 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6342 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6343 * math/libm-test.inc (cacos_test): Add more tests.
6344 (casin_test): Likewise.
6345 (casinh_test): Likewise.
6346 * sysdeps/i386/fpu/libm-test-ulps: Update.
6347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6348
6349 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6350
6351 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6352 constants.
6353 (norm): Likewise.
6354 (denorm): Likewise.
6355 (__dbl_mp): Likewise.
6356 (add_magnitudes): Likewise.
6357 (sub_magnitudes): Likewise.
6358 (__add): Likewise.
6359 (__sub): Likewise.
6360 (__mul): Likewise.
6361 (__sqr): Likewise.
6362 (__inv): Likewise.
6363 (__dvd): Likewise.
6364
6365 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6366 commented code.
6367 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6368 (__dubcos): Likewise.
6369 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6370 (__ieee754_acos): Likewise.
6371 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6372 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6373 (__exp1): Likewise.
6374 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6375 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6376 (log1): Likewise.
6377 (my_log2): Likewise.
6378 (checkint): Likewise.
6379 * sysdeps/ieee754/dbl-64/e_remainder.c
6380 (__ieee754_remainder): Likewise.
6381 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6382 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6383 (bsloww): Likewise.
6384 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6385
6386 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6387 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6388 MANTISSA_STORE_T to store computations on mantissa. Use
6389 macros for rounding and division.
6390 (denorm): Likewise.
6391 (__dbl_mp): Likewise.
6392 (add_magnitudes): Likewise.
6393 (sub_magnitudes): Likewise.
6394 (__mul): Likewise.
6395 (__sqr): Likewise.
6396 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6397 powers of two in terms of TWOPOW macro.
6398 (mp_no): Make type of mantissa as MANTISSA_T.
6399 [!RADIXI]: Define RADIXI.
6400 [!TWO52]: Define TWO52.
6401 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6402
6403 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6404
6405 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6406 llroundl symbol when building for PPC32.
6407
6408 2013-03-24 Mark H Weaver <mhw@netris.org>
6409
6410 * manual/arith.texi (Normalization Functions): Fix prototypes for
6411 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6412
6413 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6414
6415 [BZ #13889]
6416 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6417 high value to check if expl overflow.
6418 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6419 to check for underflow and overflow.
6420 * math/libm-test.inc: Add exp test.
6421
6422 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6423
6424 [BZ #11120]
6425 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6426 with NOT_IN_libc.
6427
6428 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6429
6430 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6431 symbol.
6432
6433 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6434
6435 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6436 wrap blocks consisting of several statements.
6437
6438 * sysdeps/generic/math-tests.h: New file.
6439 * sysdeps/i386/fpu/math-tests.h: Likewise.
6440 * math/test-snan.c: Include it.
6441 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6442
6443 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6444
6445 [BZ #15285]
6446 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6447 (__ieee754_j0l): Do not improve calculations using cos of twice
6448 input for inputs above LDBL_MAX / 2.0L.
6449 (__ieee754_y0l): Likewise.
6450 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6451 (__ieee754_j1l): Do not improve calculations using cos of twice
6452 input for inputs above LDBL_MAX / 2.0L.
6453 (__ieee754_y1l): Likewise.
6454 * math/libm-test.inc (j0_test): Add another test.
6455 (j1_test): Likewise.
6456 (y0_test): Likewise.
6457 (y1_test): Likewise.
6458 * sysdeps/i386/fpu/libm-test-ulps: Update.
6459
6460 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6461
6462 * Rules ($(objpfx)bench-%.c): Include code from a C source
6463 file.
6464
6465 2013-03-21 Joseph Myers <joseph@codesourcery.com>
6466
6467 [BZ #15287]
6468 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6469 imaginary part 1.0 and real part less than 0.5 specially.
6470 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6471 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6472 * math/libm-test.inc (cacos_test): Add more tests.
6473 (casin_test): Likewise.
6474 (casinh_test): Likewise.
6475 * sysdeps/i386/fpu/libm-test-ulps: Update.
6476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6477
6478 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6479
6480 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6481 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6482
6483 2013-03-20 Joseph Myers <joseph@codesourcery.com>
6484
6485 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6486 * config.make.in (config-cflags-sse4): Remove variable.
6487 (config-cflags-avx): Likewise.
6488 (config-cflags-sse2avx): Likewise.
6489 (config-cflags-novzeroupper): Likewise.
6490 (config-asflags-i686): Likewise.
6491 (have-mfma4): Likewise.
6492 (have-as-vis3): Likewise.
6493 (MIG): Likewise.
6494 * configure.in (MIG): Do not AC_SUBST.
6495 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6496 (libc_cv_cc_sse4): Do not AC_SUBST.
6497 (libc_cv_cc_avx): Likewise.
6498 (libc_cv_cc_sse2avx): Likewise.
6499 (libc_cv_cc_novzeroupper): Likewise.
6500 (libc_cv_cc_fma4): Likewise.
6501 (libc_cv_as_i686): Likewise.
6502 (libc_cv_sparc_as_vis3): Likewise.
6503 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6504 LIBC_CONFIG_VAR.
6505 (config-asflags-i686): Likewise.
6506 (config-cflags-avx): Likewise.
6507 (config-cflags-sse2avx): Likewise.
6508 (have-mfma4): Likewise.
6509 (config-cflags-novzeroupper): Likewise.
6510 * sysdeps/mach/configure.in (MIG): Likewise.
6511 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6512 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6513 LIBC_CONFIG_VAR.
6514 (config-cflags-avx): Likewise.
6515 (config-cflags-sse2avx): Likewise.
6516 (have-mfma4): Likewise.
6517 (config-cflags-novzeroupper): Likewise.
6518 * configure: Regenerated.
6519 * sysdeps/i386/configure: Likewise.
6520 * sysdeps/mach/configure: Likewise.
6521 * sysdeps/sparc/configure: Likewise.
6522 * sysdeps/x86_64/configure: Likewise.
6523
6524 2013-03-20 Roland McGrath <roland@hack.frob.com>
6525
6526 [BZ #14812]
6527 * locale/programs/localedef.c (options): Put N_ translation marker
6528 on argument names, not just descriptions.
6529
6530 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6531
6532 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6533
6534 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
6535
6536 [BZ #14176]
6537 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6538
6539 2013-03-19 Roland McGrath <roland@hack.frob.com>
6540
6541 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6542 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6543 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6544 [!BEFORE_ABORT] (before_abort): New function.
6545 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6546 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6547 (writev_for_fatal): New function.
6548 (WRITEV_FOR_FATAL): New macro; call that.
6549 (backtrace_and_maps): New function.
6550 (BEFORE_ABORT): New macro; call that.
6551 (struct str_list): Type removed.
6552 (__libc_message, __libc_fatal): Functions removed.
6553 Include <sysdeps/posix/libc_fatal.c> instead.
6554
6555 2013-03-19 Joseph Myers <joseph@codesourcery.com>
6556
6557 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6558 constants.
6559 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6560 double constants.
6561
6562 2013-03-19 Andreas Schwab <schwab@suse.de>
6563
6564 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6565 * sysdeps/gnu/configure: Regenerate.
6566
6567 * configure.in: Substitute libc_cv_rtlddir.
6568 * configure: Regenerate.
6569 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6570 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6571 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6572 * elf/Makefile (install-others, CFLAGS-interp.c)
6573 (ldso_install, common-ldd-rewrite): Likewise.
6574 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6575 $(inst_slibdir)/$(rtld-installed-name).
6576 * scripts/rellns-sh: Add -p option.
6577 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6578 for source.
6579
6580 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6581
6582 * manual/nptl.texi: Renamed to ...
6583 * manual/threads.texi: ... this.
6584 * manual/Makefile (chapters): Update.
6585
6586 2013-03-18 Roland McGrath <roland@hack.frob.com>
6587
6588 [BZ #14812]
6589 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6590 on argument names, not just descriptions.
6591 * malloc/memusagestat.c (options): Likewise.
6592 * nss/getent.c (options): Likewise.
6593
6594 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
6595
6596 [BZ #14812]
6597 * iconv/iconv_prog.c (options): Put N_ translation marker
6598 on argument names, not just descriptions.
6599 * iconv/iconvconfig.c (options): Likewise.
6600
6601 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
6602
6603 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6604 implementation which is faster on all x86_64 architectures.
6605 Tested on AMD, Intel Nehalem, SNB, IVB.
6606 * sysdeps/x86_64/strnlen.S: Likewise.
6607
6608 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6609 Remove all multiarch strlen and strnlen versions.
6610 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6611 Remove strlen and strnlen related parts.
6612
6613 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6614 Inline strlen part.
6615 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6616
6617 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6618 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6619 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6620 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6621 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6622 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6623
6624 2013-03-17 Carlos O'Donell <carlos@redhat.com>
6625
6626 * manual/memory.texi (Malloc Tunable Parameters):
6627 Sort parameters alphabetically. Add comments for missing entries.
6628
6629 2013-03-17 David S. Miller <davem@davemloft.net>
6630
6631 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6632
6633 2013-03-16 Joseph Myers <joseph@codesourcery.com>
6634
6635 [BZ #15283]
6636 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6637 for arguments at most half maximum finite value.
6638 * math/libm-test.inc (j0_test): Add more tests.
6639 (j1_test): Likewise.
6640 (y0_test): Likewise.
6641 (y1_test): Likewise.
6642 * sysdeps/i386/fpu/libm-test-ulps: Update.
6643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6644
6645 [BZ #14155]
6646 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6647 1 / x and functions P and Q for arguments above 0x1p256L.
6648 (__ieee754_y0l): Likewise.
6649 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6650 (__ieee754_y1l): Likewise.
6651 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6652 (j1_test): Likewise.
6653 (y0_test): Likewise.
6654 (y1_test): Likewise.
6655
6656 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6657
6658 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6659 variable.
6660
6661 2013-03-15 Roland McGrath <roland@hack.frob.com>
6662
6663 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6664 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6665 zero since it's initialized to EXEC_PAGESIZE.
6666
6667 * sysdeps/unix/sysv/linux/ldsodefs.h
6668 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6669 * sysdeps/generic/ldsodefs.h: ... here.
6670
6671 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6672
6673 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6674
6675 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6676 math/test-snan.c.
6677 * math/test-snan.c: Renamed from
6678 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6679 * math/Makefile (tests): Add test-snan.
6680 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6681 test-powerpc-snan.
6682
6683 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6684 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6685 functions.
6686 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6687 __builtin_nan family of functions.
6688 * math/libm-test.inc (initialize): Initialize qnan_value with
6689 __builtin_nan family of functions.
6690 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6691 Remove variables.
6692 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6693 Remove functions.
6694 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6695 storage class. Initialize qNaN_var and sNaN_var with
6696 __builtin_nan and __builtin_nans families of functions,
6697 respectively.
6698
6699 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6700 (sqrt_test): Remove duplicate test with qNaN input.
6701 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6702 (round_test, signbit_test, significand_test): Note missing +/-Inf
6703 as well as qNaN tests.
6704
6705 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6706 qNaN_var. Fix a few strings, too.
6707 * math/libm-test.inc (nan_value): Rename to qnan_value.
6708 * math/gen-libm-test.pl (%beautify): Adjust to that.
6709 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6710 * math/test-misc.c (main): Likewise.
6711 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6712 to __qnan_bytes, and __qnan_union, respectively.
6713 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6714 Likewise.
6715 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6716 and lqnanval, respectively.
6717 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6718 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6719 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6720 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6721
6722 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6723 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6724 doubles.
6725
6726 * math/test-misc.c (main): Fix copy'n'pastos.
6727 * misc/tst-efgcvt.c (special): Likewise.
6728
6729 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6730 Remove declarations.
6731
6732 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6733
6734 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6735 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6736 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6737 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6738
6739 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6740
6741 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6742 macro to return vdso values correctly in IFUNC implementations.
6743 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6744 Optimization by using IFUNC.
6745
6746 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6747 Richard Henderson <rth@redhat.com>
6748 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6749
6750 * Makefile.in (bench): New target.
6751 * NEWS: Mention the benchmark framework.
6752 * Rules (bench): Likewise.
6753 (binaries-bench): Generate binaries for functions to
6754 benchmark.
6755 * benchtests/Makefile: New makefile for benchmark tests.
6756 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6757 programs.
6758 * benchtests/exp-inputs: New input file for EXP function.
6759 * benchtests/pow-inputs: New input file for POW function.
6760 * scripts/bench.pl: New script to generate source files for
6761 benchmark programs.
6762
6763 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6764
6765 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6766 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6767 computations on mantissa. Use macros for rounding and
6768 division.
6769 (denorm): Likewise.
6770 (__dbl_mp): Likewise.
6771 (add_magnitudes): Likewise.
6772 (sub_magnitudes): Likewise.
6773 (__mul): Likewise.
6774 (__sqr): Likewise.
6775 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6776 powers of two in terms of TWOPOW macro.
6777 (mp_no): Make type of mantissa as MANTISSA_T.
6778 [!RADIXI]: Define RADIXI.
6779 [!TWO52]: Define TWO52.
6780 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6781
6782 * manual/nptl.texi (cindex): Modify threads to pthreads.
6783
6784 2013-03-15 Joseph Myers <joseph@codesourcery.com>
6785
6786 * sysdeps/x86_64/preconfigure: Regenerated.
6787
6788 2013-03-14 Joseph Myers <joseph@codesourcery.com>
6789
6790 [BZ #14155]
6791 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6792 0x1p28 and above.
6793 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6794 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6795 0x1p28 and above.
6796 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6797 * math/libm-test.inc (j0_test): Do not allow one spurious
6798 underflow exception.
6799 (y1_test): Likewise.
6800
6801 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6802
6803 * manual/Makefile (chapters): Add nptl.
6804 * manual/debug.texi (Debugging Support): Add link to Threads
6805 chapter.
6806 * manual/nptl.texi: New file.
6807
6808 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6809
6810 2013-03-14 Petr Baudis <pasky@ucw.cz>
6811
6812 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6813 for non-NULL pointer before the memory validity test. Pointed
6814 out by Holger Brunck <holger.brunck@keymile.com>.
6815
6816 2013-03-13 Andreas Schwab <schwab@suse.de>
6817
6818 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6819 instead of .os.
6820
6821 2013-03-13 Joseph Myers <joseph@codesourcery.com>
6822
6823 * timezone/zic.c: Update from tzcode 2013b.
6824
6825 2013-03-12 Carlos O'Donell <carlos@redhat.com>
6826
6827 * manual/install.texi (Configuring and compiling):
6828 Mention i686 and i586.
6829 * INSTALL: Regenerate.
6830
6831 2013-03-12 Roland McGrath <roland@hack.frob.com>
6832
6833 * sysdeps/init_array/elf-init.c: New file.
6834 * csu/elf-init.c
6835 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6836 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6837
6838 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6839 __gmon_start__ as global, but as static with a .preinit_array pointer.
6840 * sysdeps/init_array/gmon-start.c: New file. Use that.
6841 * sysdeps/init_array/crti.S: New file, empty except for comments.
6842 * sysdeps/init_array/crtn.S: Likewise.
6843
6844 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
6845
6846 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6847 definining bcopy.
6848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6849 Remove Prefer_SSE_for_memop.
6850 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6851 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6852 HAS_PREFER_SSE_FOR_MEMOP.
6853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6854 memset-x86-64.
6855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6856 Remove bzero, memset ifunc support.
6857 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6858 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6859 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6860 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6861
6862 2013-03-11 Andreas Schwab <schwab@suse.de>
6863
6864 [BZ #15234]
6865 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6866 by SHLIB_COMPAT.
6867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6868 (GLIBC_2.16): Remove pthread_atfork.
6869
6870 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6871
6872 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6873 (ptestcases.h): Likewise.
6874
6875 2013-03-08 Roland McGrath <roland@hack.frob.com>
6876
6877 * Makeconfig ($(common-objpfx)config.status): Depend on
6878 sysdeps/*/preconfigure{,.in} too.
6879
6880 2013-03-08 Joseph Myers <joseph@codesourcery.com>
6881
6882 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6883 (__free_hook): Use void * instead of __malloc_ptr_t.
6884 (__malloc_hook): Likewise.
6885 (__realloc_hook): Likewise.
6886 (__memalign_hook): Likewise.
6887 (__after_morecore_hook): Likewise.
6888 * malloc/arena.c (save_malloc_hook): Likewise.
6889 (save_free_hook): Likewise.
6890 * malloc/hooks.c (malloc_hook_ini): Likewise.
6891 (realloc_hook_ini): Likewise.
6892 (memalign_hook_ini): Likewise.
6893 * malloc/malloc.c (malloc_hook_ini): Likewise.
6894 (realloc_hook_ini): Likewise.
6895 (memalign_hook_ini): Likewise.
6896 (__free_hook): Likewise.
6897 (__malloc_hook): Likewise.
6898 (__realloc_hook): Likewise.
6899 (__memalign_hook): Likewise.
6900 (__libc_malloc): Likewise.
6901 (__libc_free): Likewise.
6902 (__libc_realloc): Likewise.
6903 (__libc_memalign): Likewise.
6904 (__libc_valloc): Likewise.
6905 (__libc_pvalloc): Likewise.
6906 (__libc_calloc): Likewise.
6907 (__posix_memalign): Likewise.
6908 * malloc/morecore.c (__sbrk): Likewise.
6909 (__default_morecore): Likewise.
6910
6911 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6912
6913 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6914 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6915 __malloc_ptrdiff_t.
6916
6917 * malloc/malloc.h (__malloc_size_t): Remove macro.
6918 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6919 __malloc_size_t.
6920 (old_memalign_hook): Likewise.
6921 (old_realloc_hook): Likewise.
6922 (struct hdr): Likewise.
6923 (flood): Likewise.
6924 (mallochook): Likewise.
6925 (memalignhook): Likewise.
6926 (reallochook): Likewise.
6927 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6928 (tr_old_realloc_hook): Likewise.
6929 (tr_old_memalign_hook): Likewise.
6930 (tr_mallochook): Likewise.
6931 (tr_reallochook): Likewise.
6932 (tr_memalignhook): Likewise.
6933
6934 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6935
6936 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6937 default_ldbl_pack and using as default implementation.
6938 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6939 implementation.
6940 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6941 redundant definition.
6942 (ldbl_insert_mantissa): Likewise.
6943 (ldbl_canonicalize): Likewise.
6944 (ldbl_nearbyint): Likewise.
6945 (ldbl_pack): Rename to ldbl_pack_ppc.
6946 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6947 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6948 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6949
6950 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6951
6952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6953 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6954 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6955 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6957 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6958 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6959 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6960
6961 2013-03-07 Andreas Jaeger <aj@suse.de>
6962
6963 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6964 bits/mman-linux.h.
6965
6966 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6967
6968 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6969 Include mpa.h and declare __MPEXP.
6970 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6971 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6972 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6973 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6974 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6975 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6976 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6977
6978 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6979 (__slowpow): Use long double EXPL and LOGL functions to
6980 compute POW.
6981 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6982 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6983 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6984 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6985 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6986 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6987
6988 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6989 intermediate variable to calculate exponent.
6990 (__sqr): Likewise.
6991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6992 Likewise.
6993 (__sqr): Likewise.
6994
6995 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6996 [!NO__SQR]: Define __sqr.
6997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6998 and NO__SQR. Remove all code except __mul and __sqr. Include
6999 sysdeps/ieee754/dbl-64/mpa.c.
7000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7001
7002 [BZ #12723]
7003 * posix/Makefile (tests): Add tst-pathconf.
7004 * posix/tst-pathconf.c: New test case.
7005 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7006 _PC_PIPE_BUF.
7007 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7008
7009 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
7010
7011 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7012
7013 2013-03-06 Andreas Jaeger <aj@suse.de>
7014
7015 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7016 definition via __MAP_ANONYMOUS.
7017
7018 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7019 it's not part of Linux headers.
7020
7021 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7022 (MAP_HUGE_MASK): Define.
7023
7024 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7025 Define.
7026 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7027 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7028 Define.
7029 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7030 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7031 Define.
7032 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7033 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7034 Define.
7035 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7036
7037 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7038 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7039 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7040 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7041 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7042 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7043
7044 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7045 Handle f2fs.
7046
7047 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7048 Handle f2fs and efivarfs.
7049
7050 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7051 f2fs.
7052
7053 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7054 (EFIVARFS_MAGIC): Add.
7055 (F2FS_LINK_MAX): Add.
7056
7057 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7058
7059 * stdio-common/vfprintf.c: Replace __builtin_expect with
7060 __glibc_unlikely.
7061
7062 2013-03-06 Joseph Myers <joseph@codesourcery.com>
7063
7064 [BZ #13550]
7065 * sysdeps/generic/bp-sym.h: Remove file.
7066 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7067 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7068 <bp-sym.h> and <bp-asm.h>.
7069 (__longjmp): Don't use BP_SYM.
7070 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7071 and <bp-asm.h>.
7072 (memcpy): Don't use BP_SYM.
7073 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7074 <bp-sym.h> and <bp-asm.h>.
7075 (memcpy): Don't use BP_SYM.
7076 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7077 <bp-asm.h>.
7078 (memcpy): Don't use BP_SYM.
7079 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7080 <bp-asm.h>.
7081 (memset): Don't use BP_SYM.
7082 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7083 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7084 (__bzero): Don't use BP_SYM.
7085 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7086 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7087 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7088 <bp-sym.h> and <bp-asm.h>.
7089 (memcmp): Don't use BP_SYM. Remove comment about bounded
7090 pointers.
7091 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7092 <bp-sym.h> and <bp-asm.h>.
7093 (memcpy): Don't use BP_SYM.
7094 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7095 <bp-sym.h> and <bp-asm.h>.
7096 (memset): Don't use BP_SYM.
7097 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7098 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7099 (__bzero): Don't use BP_SYM.
7100 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7101 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7102 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7103 <bp-sym.h> and <bp-asm.h>.
7104 (strncmp): Don't use BP_SYM. Remove comment about bounded
7105 pointers.
7106 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7107 <bp-sym.h> and <bp-asm.h>.
7108 (memcpy): Don't use BP_SYM.
7109 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7110 <bp-sym.h> and <bp-asm.h>.
7111 (memset): Don't use BP_SYM.
7112 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7113 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7114 (__bzero): Don't use BP_SYM.
7115 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7116 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7117 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7118 <bp-sym.h> and <bp-asm.h>.
7119 (__memchr): Don't use BP_SYM.
7120 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7121 <bp-sym.h> and <bp-asm.h>.
7122 (memcmp): Don't use BP_SYM. Remove comment about bounded
7123 pointers.
7124 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7125 <bp-sym.h> and <bp-asm.h>.
7126 (memcpy): Don't use BP_SYM.
7127 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7128 <bp-sym.h> and <bp-asm.h>.
7129 (__mempcpy): Don't use BP_SYM.
7130 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7131 <bp-sym.h> and <bp-asm.h>.
7132 (__memrchr): Don't use BP_SYM.
7133 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7134 <bp-sym.h> and <bp-asm.h>.
7135 (memset): Don't use BP_SYM.
7136 (__bzero): Likewise.
7137 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7138 <bp-sym.h> and <bp-asm.h>.
7139 (__rawmemchr): Don't use BP_SYM.
7140 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7141 <bp-sym.h> and <bp-asm.h>.
7142 (__STRCMP): Don't use BP_SYM.
7143 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7144 <bp-sym.h> and <bp-asm.h>.
7145 (strchr): Don't use BP_SYM.
7146 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7147 <bp-sym.h> and <bp-asm.h>.
7148 (__strchrnul): Don't use BP_SYM.
7149 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7150 <bp-sym.h> and <bp-asm.h>.
7151 (strlen): Don't use BP_SYM.
7152 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7153 <bp-sym.h> and <bp-asm.h>.
7154 (strncmp): Don't use BP_SYM. Remove comment about bounded
7155 pointers.
7156 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7157 <bp-sym.h> and <bp-asm.h>.
7158 (__strnlen): Don't use BP_SYM.
7159 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7160 <bp-sym.h> and <bp-asm.h>.
7161 (__GI__setjmp): Don't use BP_SYM.
7162 (_setjmp): Likewise.
7163 (__sigsetjmp): Likewise.
7164 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7165 (L(start_addresses)): Don't use BP_SYM.
7166 (_start): Likewise.
7167 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7168 <bp-asm.h>.
7169 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7170 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7171 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7172 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7173 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7174 <bp-asm.h>.
7175 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7176 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7177 about bounded pointers.
7178 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7179 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7180 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7181 <bp-asm.h>.
7182 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7183 about bounded pointers. Remove GKM FIXME comments.
7184 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7185 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7186 <bp-asm.h>.
7187 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7188 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7189 Remove GKM FIXME comments.
7190 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7191 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7192 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7193 <bp-asm.h>.
7194 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7195 about bounded pointers. Remove GKM FIXME comment.
7196 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7197 and <bp-asm.h>.
7198 (strncmp): Don't use BP_SYM. Remove comment about bounded
7199 pointers.
7200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7201 <bp-sym.h> and <bp-asm.h>.
7202 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7204 <bp-sym.h> and <bp-asm.h>.
7205 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7206 comment.
7207
7208 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7209
7210 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7211 call free(NULL).
7212
7213 2013-03-05 David S. Miller <davem@davemloft.net>
7214
7215 * po/es.po: Update from translation team.
7216
7217 2013-03-05 Andreas Jaeger <aj@suse.de>
7218
7219 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7220 <bits/mman-linux.h>.
7221 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7222 is fine.
7223 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7224 <bits/mman-linux.h> to end of file.
7225 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7226 is fine.
7227 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7228 <bits/mman-linux.h> to end of file.
7229 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7230 is fine.
7231 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7232 <bits/mman-linux.h> to end of file.
7233
7234 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7235 (MCL_CURRENT, MCL_FUTURE): Define here.
7236
7237 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7238
7239 [BZ #15232]
7240 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7241 attribute_hidden.
7242 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7243
7244 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7245
7246 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7247 fourth parameter needed for rt_sigprocmask syscall.
7248 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7249 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7250 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7251 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7252 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7253 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7254
7255 2013-03-04 Joseph Myers <joseph@codesourcery.com>
7256
7257 [BZ #13550]
7258 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7259 comment about bounded pointers.
7260 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7261 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7262
7263 2013-03-04 Andreas Jaeger <aj@suse.de>
7264
7265 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7266 common definitions.
7267
7268 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7269 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7270 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7271 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7272 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7273 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7274
7275 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7276
7277 [BZ #15055]
7278 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7279 __ieee754_sqrl instead of __sqrl.
7280
7281 2013-03-01 Joseph Myers <joseph@codesourcery.com>
7282
7283 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7284 * sysdeps/powerpc/fpu_control.h: ... here.
7285 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7286 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7287 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7288 * sysdeps/powerpc/bits/mathinline.h: ... here.
7289
7290 2013-03-01 Roland McGrath <roland@hack.frob.com>
7291
7292 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7293 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7294 to just [NEED_DL_SYSINFO_DSO].
7295 * elf/dl-support.c: Likewise.
7296 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7297 * elf/rtld.c (dl_main): Likewise.
7298 * elf/setup-vdso.h (setup_vdso): Likewise.
7299 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7300 * sysdeps/unix/sysv/linux/dl-sysdep.c
7301 (_dl_discover_osversion): Likewise.
7302
7303 2013-03-01 Carlos O'Donell <carlos@redhat.com>
7304
7305 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7306 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7307
7308 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7309
7310 * NEWS: Mention libm performance improvements and non-x86 PI
7311 futex support.
7312
7313 * csu/libc-start.c (__pthread_initialize_minimal): Change
7314 function arguments.
7315 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7316
7317 2013-02-28 Joseph Myers <joseph@codesourcery.com>
7318
7319 [BZ #13550]
7320 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7321 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7322 <bp-sym.h> and <bp-asm.h>.
7323 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7324 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7325 and <bp-asm.h>.
7326 (memcpy): Don't use BP_SYM.
7327 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7328 <bp-asm.h>.
7329 (__mpn_add_n): Don't use BP_SYM.
7330 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7331 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7332 and <bp-asm.h>.
7333 (__mpn_addmul_1): Don't use BP_SYM.
7334 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7335 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7336 <bp-sym.h>.
7337 (_setjmp): Don't use BP_SYM.
7338 (__novmx_setjmp): Likewise.
7339 (__GI__setjmp): Likewise.
7340 (__vmx_setjmp): Likewise.
7341 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7342 <bp-sym.h>.
7343 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7344 (__bzero): Don't use BP_SYM.
7345 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7346 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7347 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7348 <bp-sym.h> and <bp-asm.h>.
7349 (memcpy): Don't use BP_SYM.
7350 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7351 <bp-sym.h> and <bp-asm.h>.
7352 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7353 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7354 <bp-sym.h> and <bp-asm.h>.
7355 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7356 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7357 <bp-asm.h>.
7358 (__mpn_lshift): Don't use BP_SYM.
7359 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7360 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7361 <bp-asm.h>.
7362 (memset): Don't use BP_SYM.
7363 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7364 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7365 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7366 <bp-asm.h>.
7367 (__mpn_mul_1): Don't use BP_SYM.
7368 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7369 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7370 <bp-sym.h> and <bp-asm.h>.
7371 (memcmp): Don't use BP_SYM.
7372 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7373 <bp-sym.h> and <bp-asm.h>.
7374 (memcpy): Don't use BP_SYM.
7375 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7376 <bp-sym.h> and <bp-asm.h>.
7377 (memset): Don't use BP_SYM.
7378 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7379 <bp-sym.h> and <bp-asm.h>.
7380 (strncmp): Don't use BP_SYM.
7381 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7382 <bp-sym.h> and <bp-asm.h>.
7383 (memcpy): Don't use BP_SYM.
7384 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7385 <bp-sym.h> and <bp-asm.h>.
7386 (memset): Don't use BP_SYM.
7387 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7388 <bp-sym.h> and <bp-asm.h>.
7389 (__memchr): Don't use BP_SYM.
7390 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7391 <bp-sym.h> and <bp-asm.h>.
7392 (memcmp): Don't use BP_SYM.
7393 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7394 <bp-sym.h> and <bp-asm.h>.
7395 (memcpy): Don't use BP_SYM.
7396 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7397 <bp-sym.h> and <bp-asm.h>.
7398 (__mempcpy): Don't use BP_SYM.
7399 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7400 <bp-sym.h> and <bp-asm.h>.
7401 (__memrchr): Don't use BP_SYM.
7402 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7403 <bp-sym.h> and <bp-asm.h>.
7404 (memset): Don't use BP_SYM.
7405 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7406 <bp-sym.h> and <bp-asm.h>.
7407 (__rawmemchr): Don't use BP_SYM.
7408 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7409 <bp-sym.h> and <bp-asm.h>.
7410 (__STRCMP): Don't use BP_SYM.
7411 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7412 <bp-sym.h> and <bp-asm.h>.
7413 (strchr): Don't use BP_SYM.
7414 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7415 <bp-sym.h> and <bp-asm.h>.
7416 (__strchrnul): Don't use BP_SYM.
7417 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7418 <bp-sym.h> and <bp-asm.h>.
7419 (strlen): Don't use BP_SYM.
7420 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7421 <bp-sym.h> and <bp-asm.h>.
7422 (strncmp): Don't use BP_SYM.
7423 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7424 <bp-sym.h> and <bp-asm.h>.
7425 (__strnlen): Don't use BP_SYM.
7426 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7427 <bp-asm.h>.
7428 (__mpn_rshift): Don't use BP_SYM.
7429 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7430 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7431 <bp-sym.h> and <bp-asm.h>.
7432 (__sigsetjmp): Don't use BP_SYM.
7433 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7434 (L(start_addresses)): Don't use BP_SYM.
7435 (_start): Likewise.
7436 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7437 <bp-asm.h>.
7438 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7439 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7440 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7441 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7442 <bp-asm.h>.
7443 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7444 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7445 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7446 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7447 <bp-asm.h>.
7448 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7449 comments.
7450 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7451 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7452 <bp-asm.h>.
7453 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7454 FIXME comments.
7455 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7456 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7457 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7458 <bp-asm.h>.
7459 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7460 comment.
7461 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7462 and <bp-asm.h>.
7463 (strncmp): Don't use BP_SYM,
7464 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7465 <bp-asm.h>.
7466 (__mpn_sub_n): Don't use BP_SYM.
7467 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7468 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7469 and <bp-asm.h>.
7470 (__mpn_submul_1): Don't use BP_SYM.
7471 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7473 <bp-sym.h> and <bp-asm.h>.
7474 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7476 <bp-sym.h> and <bp-asm.h>.
7477 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7478 comment.
7479
7480 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7481
7482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7483 Use ZK to minimize writes to Z.
7484 (sub_magnitudes): Simplify code a bit.
7485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7486 Use ZK to minimize writes to Z.
7487 (sub_magnitudes): Simplify code a bit.
7488
7489 2013-02-27 Roland McGrath <roland@hack.frob.com>
7490
7491 * csu/gmon-start.c: Add special exception to license text.
7492
7493 2013-02-27 Richard Henderson <rth@redhat.com>
7494
7495 * scripts/config.guess: Update from config.git.
7496 * scripts/config.sub: Likewise.
7497
7498 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7499
7500 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7501
7502 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7503
7504 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7505
7506 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7507
7508 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7509
7510 2013-02-26 Roland McGrath <roland@hack.frob.com>
7511
7512 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7513 [$(build-shared = yes].
7514
7515 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7516
7517 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7518 (__mul): Reduce iterations for calculating mantissa.
7519
7520 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7521 MPTWO.
7522 (__mpranred): Likewise.
7523
7524 [BZ #15160]
7525 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7526 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7527
7528 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7529
7530 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7531 Define __attribute__.
7532
7533 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7534
7535 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7536 unused.
7537 * posix/regex_internal.h (__attribute): Remove.
7538 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7539 (re_string_context_at): Likewise.
7540 (bitset_not): Use __attribute__ and mark function as possibly
7541 unused.
7542 (bitset_merge): Likewise.
7543 (bitset_mask): Likewise.
7544 (re_string_char_size_at): Likewise.
7545 (re_string_wchar_at): Likewise.
7546 (re_string_elem_size_at): Likewise.
7547
7548 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7549
7550 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7551 code.
7552 (cc32): Likewise.
7553
7554 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7555 (__acr): Likewise.
7556 (__cpy): Likewise.
7557 (norm): Likewise.
7558 (denorm): Likewise.
7559 (__dbl_mp): Likewise.
7560 (add_magnitudes): Likewise.
7561 (sub_magnitudes): Likewise.
7562 (__mul): Likewise.
7563 (__inv): Likewise.
7564
7565 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7566 style.
7567
7568 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7569 style.
7570
7571 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7572 code.
7573
7574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7575 up changes with default code.
7576 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7577 Likewise.
7578
7579 2013-02-24 Allan McRae <allan@archlinux.org>
7580
7581 * manual/socket.texi (The Internet Namespace): Order menu items
7582 to match that in the file.
7583
7584 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7585 node listing of the info page menu.
7586
7587 2013-02-21 Joseph Myers <joseph@codesourcery.com>
7588
7589 [BZ #13550]
7590 * sysdeps/i386/bp-asm.h: Remove file.
7591 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7592 (PARMS): Do not use macros from bp-asm.h.
7593 (S1): Likewise.
7594 (S2): Likewise.
7595 (SIZE): Likewise.
7596 (__mpn_add_n): Do not use BP_SYM
7597 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7598 "bp-asm.h".
7599 (PARMS): Do not use macros from bp-asm.h.
7600 (S1): Likewise.
7601 (SIZE): Likewise.
7602 (__mpn_addmul_1): Do not use BP_SYM
7603 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7604 "bp-asm.h".
7605 (PARMS): Do not use macros from bp-asm.h.
7606 (SIGMSK): Likewise.
7607 (_setjmp): Likewise. Do not use BP_SYM.
7608 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7609 "bp-asm.h".
7610 (PARMS): Do not use macros from bp-asm.h.
7611 (SIGMSK): Likewise.
7612 (setjmp): Likewise. Do not use BP_SYM.
7613 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7614 "bp-asm.h".
7615 (PARMS): Do not use macros from bp-asm.h.
7616 (__frexp): Do not use BP_SYM.
7617 (frexp): Likewise.
7618 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7619 "bp-asm.h".
7620 (PARMS): Do not use macros from bp-asm.h.
7621 (__frexpf): Do not use BP_SYM.
7622 (frexpf): Likewise.
7623 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7624 "bp-asm.h".
7625 (PARMS): Do not use macros from bp-asm.h.
7626 (__frexpl): Do not use BP_SYM.
7627 (frexpl): Likewise.
7628 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7629 "bp-asm.h".
7630 (PARMS): Do not use macros from bp-asm.h.
7631 (__remquo): Do not use BP_SYM.
7632 (remquo): Likewise.
7633 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7634 "bp-asm.h".
7635 (PARMS): Do not use macros from bp-asm.h.
7636 (__remquof): Do not use BP_SYM.
7637 (remquof): Likewise.
7638 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7639 "bp-asm.h".
7640 (PARMS): Do not use macros from bp-asm.h.
7641 (__remquol): Do not use BP_SYM.
7642 (remquol): Likewise.
7643 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7644 "bp-asm.h".
7645 (PARMS): Do not use macros from bp-asm.h.
7646 (DEST): Likewise.
7647 (SRC): Likewise.
7648 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7649 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7650 "bp-asm.h".
7651 (PARMS): Do not use macros from bp-asm.h.
7652 (strlen): Do not use BP_SYM.
7653 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7654 "bp-asm.h".
7655 (PARMS): Do not use macros from bp-asm.h.
7656 (S1): Likewise.
7657 (S2): Likewise.
7658 (SIZE): Likewise.
7659 (__mpn_add_n): Do not use BP_SYM.
7660 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7661 "bp-asm.h".
7662 (PARMS): Do not use macros from bp-asm.h.
7663 (S1): Likewise.
7664 (SIZE): Likewise.
7665 (__mpn_addmul_1): Do not use BP_SYM.
7666 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7667 weak_alias.
7668 (bzero): Likewise.
7669 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7670 "bp-asm.h".
7671 (PARMS): Do not use macros from bp-asm.h.
7672 (S): Likewise.
7673 (SIZE): Likewise.
7674 (__mpn_lshift): Do not use BP_SYM.
7675 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7676 "bp-asm.h".
7677 (PARMS): Do not use macros from bp-asm.h.
7678 (DEST): Likewise.
7679 (SRC): Likewise.
7680 (LEN): Likewise.
7681 (memcpy): Likewise. Do not use BP_SYM.
7682 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7683 libc_hidden_def and weak_alias.
7684 (mempcpy): Do not use BP_SYM in weak_alias.
7685 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7686 "bp-asm.h".
7687 (PARMS): Do not use macros from bp-asm.h.
7688 (DEST): Likewise.
7689 (LEN): Likewise.
7690 [!BZERO_P] (CHR): Likewise.
7691 (memset): Likewise. Do not use BP_SYM.
7692 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7693 "bp-asm.h".
7694 (PARMS): Do not use macros from bp-asm.h.
7695 (S1): Likewise.
7696 (SIZE): Likewise.
7697 (__mpn_mul_1): Do not use BP_SYM.
7698 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7699 "bp-asm.h".
7700 (PARMS): Do not use macros from bp-asm.h.
7701 (S): Likewise.
7702 (SIZE): Likewise.
7703 (__mpn_rshift): Do not use BP_SYM.
7704 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7705 "bp-asm.h".
7706 (PARMS): Do not use macros from bp-asm.h.
7707 (STR): Likewise.
7708 (CHR): Likewise.
7709 (strchr): Likewise. Do not use BP_SYM.
7710 (index): Do not use BP_SYM in weak_alias.
7711 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7712 "bp-asm.h".
7713 (PARMS): Do not use macros from bp-asm.h.
7714 (DEST): Likewise.
7715 (SRC): Likewise.
7716 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7717 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7718 "bp-asm.h".
7719 (PARMS): Do not use macros from bp-asm.h.
7720 (strlen): Do not use BP_SYM.
7721 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7722 "bp-asm.h".
7723 (PARMS): Do not use macros from bp-asm.h.
7724 (S1): Likewise.
7725 (S2): Likewise.
7726 (SIZE): Likewise.
7727 (__mpn_sub_n): Do not use BP_SYM.
7728 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7729 "bp-asm.h".
7730 (PARMS): Do not use macros from bp-asm.h.
7731 (S1): Likewise.
7732 (SIZE): Likewise.
7733 (__mpn_submul_1): Do not use BP_SYM.
7734 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7735 "bp-asm.h".
7736 (PARMS): Do not use macros from bp-asm.h.
7737 (S1): Likewise.
7738 (S2): Likewise.
7739 (SIZE): Likewise.
7740 (__mpn_add_n): Do not use BP_SYM.
7741 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7742 weak_alias.
7743 (bzero): Likewise.
7744 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7745 "bp-asm.h".
7746 (PARMS): Do not use macros from bp-asm.h.
7747 (BLK2): Likewise.
7748 (LEN): Likewise.
7749 (memcmp): Do not use BP_SYM.
7750 (bcmp): Do not use BP_SYM in weak_alias.
7751 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7752 "bp-asm.h".
7753 (PARMS): Do not use macros from bp-asm.h.
7754 (DEST): Likewise.
7755 (SRC): Likewise.
7756 (LEN): Likewise.
7757 (memcpy): Likewise. Do not use BP_SYM.
7758 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7759 "bp-asm.h".
7760 (PARMS): Do not use macros from bp-asm.h.
7761 (DEST): Likewise.
7762 (SRC): Likewise.
7763 (LEN): Likewise.
7764 (memmove): Likewise. Do not use BP_SYM.
7765 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7766 "bp-asm.h".
7767 (PARMS): Do not use macros from bp-asm.h.
7768 (DEST): Likewise.
7769 (SRC): Likewise.
7770 (LEN): Likewise.
7771 (__mempcpy): Likewise. Do not use BP_SYM.
7772 (mempcpy): Do not use BP_SYM in weak_alias.
7773 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7774 "bp-asm.h".
7775 (PARMS): Do not use macros from bp-asm.h.
7776 (DEST): Likewise.
7777 (LEN): Likewise.
7778 [!BZERO_P] (CHR): Likewise.
7779 (memset): Likewise. Do not use BP_SYM.
7780 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7781 "bp-asm.h".
7782 (PARMS): Do not use macros from bp-asm.h.
7783 (STR2): Likewise.
7784 (strcmp): Do not use BP_SYM.
7785 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7786 "bp-asm.h".
7787 (PARMS): Do not use macros from bp-asm.h.
7788 (STR): Likewise.
7789 (DELIM): Likewise.
7790 [USE_AS_STRTOK_R] (SAVE): Likewise.
7791 (FUNCTION): Likewise. Do not use BP_SYM.
7792 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7793 aliases.
7794 (strtok_r): Likewise.
7795 (__GI___strtok_r): Likewise.
7796 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7797 (PARMS): Do not use macros from bp-asm.h.
7798 (S): Likewise.
7799 (SIZE): Likewise.
7800 (__mpn_lshift): Do not use BP_SYM.
7801 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7802 (PARMS): Do not use macros from bp-asm.h.
7803 (STR): Likewise.
7804 (CHR): Likewise.
7805 (__memchr): Do not use BP_SYM.
7806 (memchr): Do not use BP_SYM in weak_alias.
7807 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7808 (PARMS): Do not use macros from bp-asm.h.
7809 (BLK2): Likewise.
7810 (LEN): Likewise.
7811 (memcmp): Do not use BP_SYM.
7812 (bcmp): Do not use BP_SYM in weak_alias.
7813 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7814 (PARMS): Do not use macros from bp-asm.h.
7815 (S1): Likewise.
7816 (SIZE): Likewise.
7817 (__mpn_mul_1): Do not use BP_SYM.
7818 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7819 "bp-asm.h".
7820 (PARMS): Do not use macros from bp-asm.h.
7821 (STR): Likewise.
7822 (CHR): Likewise.
7823 (__rawmemchr): Do not use BP_SYM.
7824 (rawmemchr): Do not use BP_SYM in weak_alias.
7825 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7826 (PARMS): Do not use macros from bp-asm.h.
7827 (S): Likewise.
7828 (SIZE): Likewise.
7829 (__mpn_rshift): Do not use BP_SYM.
7830 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7831 (PARMS): Do not use macros from bp-asm.h.
7832 (SIGMSK): Likewise.
7833 (__sigsetjmp): Likewise. Do not use BP_SYM.
7834 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7835 (_start): Do not use BP_SYM.
7836 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7837 (PARMS): Do not use macros from bp-asm.h.
7838 (DEST): Likewise.
7839 (SRC): Likewise.
7840 (__stpcpy): Likewise. Do not use BP_SYM.
7841 (stpcpy): Do not use BP_SYM in weak_alias.
7842 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7843 "bp-asm.h".
7844 (PARMS): Do not use macros from bp-asm.h.
7845 (DEST): Likewise.
7846 (SRC): Likewise.
7847 (LEN): Likewise.
7848 (__stpncpy): Likewise. Do not use BP_SYM.
7849 (stpncpy): Do not use BP_SYM in weak_alias.
7850 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7851 (PARMS): Do not use macros from bp-asm.h.
7852 (STR): Likewise.
7853 (CHR): Likewise.
7854 (strchr): Likewise. Do not use BP_SYM.
7855 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7856 "bp-asm.h".
7857 (PARMS): Do not use macros from bp-asm.h.
7858 (STR): Likewise.
7859 (CHR): Likewise.
7860 (__strchrnul): Likewise. Do not use BP_SYM.
7861 (strchrnul): Do not use BP_SYM in weak_alias.
7862 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7863 "bp-asm.h".
7864 (PARMS): Do not use macros from bp-asm.h.
7865 (STOP): Likewise.
7866 (strcspn): Do not use BP_SYM.
7867 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7868 "bp-asm.h".
7869 (PARMS): Do not use macros from bp-asm.h.
7870 (STR): Likewise.
7871 (STOP): Likewise.
7872 (strpbrk): Likewise. Do not use BP_SYM.
7873 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7874 "bp-asm.h".
7875 (PARMS): Do not use macros from bp-asm.h.
7876 (STR): Likewise.
7877 (CHR): Likewise.
7878 (strrchr): Likewise. Do not use BP_SYM.
7879 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7880 (PARMS): Do not use macros from bp-asm.h.
7881 (SKIP): Likewise.
7882 (strspn): Do not use BP_SYM.
7883 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7884 (PARMS): Do not use macros from bp-asm.h.
7885 (STR): Likewise.
7886 (DELIM): Likewise.
7887 (SAVE): Likewise.
7888 (FUNCTION): Likewise. Do not use BP_SYM.
7889 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7890 aliases.
7891 (strtok_r): Likewise.
7892 (__GI___strtok_r): Likewise.
7893 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7894 (PARMS): Do not use macros from bp-asm.h.
7895 (S1): Likewise.
7896 (S2): Likewise.
7897 (SIZE): Likewise.
7898 (__mpn_sub_n): Do not use BP_SYM.
7899 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7900 "bp-asm.h".
7901 (PARMS): Do not use macros from bp-asm.h.
7902 (S1): Likewise.
7903 (SIZE): Likewise.
7904 (__mpn_submul_1): Do not use BP_SYM.
7905 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7906 <bp-sym.h>.
7907 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7908 and <bp-asm.h>.
7909 (PARMS): Do not use macros from bp-asm.h.
7910 (FLAGS): Likewise.
7911 (PTID): Likewise.
7912 (TLS): Likewise.
7913 (CTID): Likewise.
7914 (__clone): Do not use BP_SYM.
7915 (clone): Do not use BP_SYM in weak_alias.
7916 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7917 and <bp-asm.h>.
7918 (PARMS): Do not use macros from bp-asm.h.
7919 (LEN): Likewise.
7920 (__mmap64): Do not use BP_SYM.
7921 (mmap64): Do not use BP_SYM in weak_alias.
7922 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7923 <bp-sym.h> and <bp-asm.h>.
7924 (PARMS): Do not use macros from bp-asm.h.
7925 (__posix_fadvise64_l64): Do not use BP_SYM.
7926 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7927 (PARMS): Do not use macros from bp-asm.h.
7928 (NSOPS): Likewise.
7929 (semtimedop): Do not use BP_SYM.
7930 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7931 and <bp-asm.h>.
7932
7933 2013-02-21 Allan McRae <allan@archlinux.org>
7934
7935 * manual/message.texi (Charset conversion in gettext):
7936 Move @end statement to beginning of line.
7937
7938 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7939
7940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7941 static.
7942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7943 Likewise.
7944
7945 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7946 (denorm): Likewise.
7947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7949
7950 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7951
7952 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7953 tail-call to the resolved function if pltexit isn't needed.
7954
7955 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7956
7957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7958 or Y being zero as being unlikely.
7959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7960 Likewise.
7961
7962 2013-02-20 Carlos O'Donell <carlos@redhat.com>
7963
7964 * manual/nss.texi (System Databases and Name Service Switch):
7965 Remove frobnicate @pxref.
7966
7967 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7968
7969 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7970 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7971
7972 2013-02-20 Petr Machata <pmachata@redhat.com>
7973
7974 * elf/elf.h (R_ARM_TARGET1): New macro.
7975 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7976 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7977 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7978 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7979 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7980 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7981 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7982 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7983 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7984 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7985 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7986 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7987 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7988 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7989 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7990 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7991 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7992 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7993 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7994 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7995 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7996 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7997 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7998 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7999 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8000 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8001 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8002 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8003 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8004 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8005 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8006 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8007 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8008 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8009 (R_ARM_THM_GOT_BREL12): Likewise.
8010 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8011 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8012 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8013 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8014 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8015 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8016 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8017 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8018 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8019
8020 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8021
8022 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8023 __attribute_used__ to __attribute__ ((unused)).
8024
8025 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8026
8027 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8028 powerpc mpa.c.
8029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8030 comment formatting.
8031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8032
8033 2013-02-19 Joseph Myers <joseph@codesourcery.com>
8034
8035 [BZ #13550]
8036 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8037 Remove macro.
8038 (ENTER): Remove both macro definitions.
8039 (LEAVE): Likewise.
8040 (CHECK_BOUNDS_LOW): Likewise.
8041 (CHECK_BOUNDS_HIGH): Likewise.
8042 (CHECK_BOUNDS_BOTH): Likewise.
8043 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8044 (RETURN_BOUNDED_POINTER): Likewise.
8045 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8046 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8047 (POP_ERRNO_LOCATION_RETURN): Likewise.
8048 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8049 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8050 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8051 macros.
8052 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8053 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8054 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8055 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8056 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8057 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8058 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8059 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8060 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8061 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8062 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8063 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8064 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8065 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8066 removed macros.
8067 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8068 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8069 macros.
8070 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8071 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8072 * sysdeps/i386/i586/memset.S (memset): Likewise.
8073 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8074 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8075 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8076 macros.
8077 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8078 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8079 Change uses of L(2) to L(out).
8080 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8081 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8082 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8083 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8084 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8085 removed macros.
8086 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8087 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8088 macros.
8089 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8090 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8091 (RETURN): Do not use macro LEAVE.
8092 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8093 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8094 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8095 * sysdeps/i386/i686/memset.S (memset): Likewise.
8096 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8097 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8098 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8099 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8100 Likewise.
8101 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8102 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8103 L(1_2) and L(1_3) into L(1).
8104 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8105 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8106 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8107 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8108 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8109 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8110 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8111 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8112 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8113 macros.
8114 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8115 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8116 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8117 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8118 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8119 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8120 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8121 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8122 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8123 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8124 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8125 * sysdeps/i386/strspn.S (strspn): Likewise.
8126 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8127 conditional code.
8128 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8129 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8130 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8131 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8132 L(1_3) into L(1_1).
8133 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8134 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8135 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8136 macros.
8137 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8138
8139 2013-02-19 Jakub Jelinek <jakub@redhat.com>
8140
8141 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8142 macro.
8143
8144 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8145
8146 * math/atest-exp.c (exp_mpn): Remove ROUND.
8147 * math/atest-exp2.c (exp_mpn): Likewise.
8148 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8149
8150 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8151 * stdlib/tst-tls-atexit-lib.c: Likewise.
8152 * stdlib/tst-tls-atexit.c: Likewise.
8153
8154 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8155
8156 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8157 and __attribute_alloc_size__.
8158
8159 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8160
8161 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8162 __attribute_alloc_size__.
8163 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8164 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8165
8166 2013-02-18 Mike Frysinger <vapier@gentoo.org>
8167
8168 * include/programs/xmalloc.h: New file.
8169 * catgets/gencat.c: Include it.
8170 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8171 * elf/pldd.c: Likewise.
8172 * iconv/iconv_charmap.c: Likewise.
8173 * iconv/iconvconfig.c: Likewise.
8174 * iconv/strtab.c: Likewise.
8175 * locale/programs/locale.c: Likewise.
8176 * locale/programs/localedef.h: Likewise.
8177 * locale/programs/simple-hash.c: Likewise.
8178 * nscd/nscd.h: Likewise.
8179 * nss/makedb.c: Likewise.
8180 * sysdeps/generic/ldconfig.h: Likewise.
8181
8182 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8183
8184 * Versions.def: Add GLIBC_2.18.
8185 * include/link.h (struct link_map): New member l_tls_dtor_count.
8186 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8187 (__call_tls_dtors): Likewise.
8188 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8189 __cxa_thread_atexit_impl.
8190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8191 Likewise.
8192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8193 Likewise.
8194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8195 Likewise.
8196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8197 Likewise.
8198 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8200 Likewise.
8201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8202 Likewise.
8203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8205 Likewise.
8206 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8207 (tests): Add test case tst-tls-atexit.
8208 (modules-names): Add shared library for tst-tls-atexit.
8209 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8210 (GLIBC_PRIVATE): Add __call_tls_dtors.
8211 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8212 for libstdc++.
8213 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8214 * stdlib/tst-tls-atexit.c: New test case.
8215 * stdlib/tst-tls-atexit-lib.c: New test case.
8216
8217 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8218
8219 * elf/Versions (ld): Add _dl_find_dso_for_object.
8220 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8221 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8222 (dl_open_worker): Use _dl_find_dso_for_object.
8223 * elf/dl-sym.c (do_sym): Likewise.
8224 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8225
8226 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8227
8228 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8229 Syntactic changes only.
8230 (_dl_runtime_profile): Do a tail-call to the resolved function.
8231
8232 2013-02-17 Joseph Myers <joseph@codesourcery.com>
8233
8234 [BZ #13550]
8235 * sysdeps/x86_64/bp-asm.h: Remove file.
8236 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8237 <bp-sym.h> and <bp-asm.h>.
8238 (__clone): Do not use BP_SYM.
8239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8240 <bp-sym.h> and <bp-asm.h>.
8241 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8242 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8243 "bp-asm.h".
8244 (_setjmp): Do not use BP_SYM.
8245 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8246 "bp-asm.h".
8247 (setjmp): Do not use BP_SYM.
8248 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8249 libc_hidden_def.
8250 (mempcpy): Do not use BP_SYM in weak_alias.
8251 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8252 "bp-asm.h".
8253 (strchr): Do not use BP_SYM.
8254 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8255 "bp-asm.h".
8256 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8257 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8258 (_start): Do not use BP_SYM.
8259 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8260 "bp-asm.h".
8261 (strcat): Do not use BP_SYM.
8262 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8263 "bp-asm.h".
8264 (STRCMP): Do not use BP_SYM.
8265 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8266 "bp-asm.h".
8267 (STRCPY): Do not use BP_SYM.
8268 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8269 "bp-asm.h".
8270 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8271 "bp-asm.h".
8272 (FUNCTION): Do not use BP_SYM.
8273 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8274 weak_alias.
8275 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8276
8277 2013-02-17 Andreas Jaeger <aj@suse.de>
8278
8279 * time/Versions: Sort entries.
8280 * string/Versions: Likewise.
8281 * resolv/Versions: Likewise.
8282 * posix/Versions: Likewise.
8283 * iconv/Versions: Likewise.
8284 * elf/Versions: Likewise.
8285 * wcsmbs/Versions: Likewise.
8286
8287 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8288
8289 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8290 loop termination condition.
8291
8292 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8293 variable to calculate EZ.
8294 (__sqr): Likewise.
8295
8296 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8297 the lower precision input.
8298
8299 2013-02-15 Joseph Myers <joseph@codesourcery.com>
8300
8301 [BZ #13550]
8302 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8303 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8304 (run-via-rtld-prefix): Do not handle %-bp tests.
8305 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8306 (all-object-suffixes): Remove .ob.
8307 (bppfx): Remove variable.
8308 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8309 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8310 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8311 [$(build-bounded) = yes] (libtype.ob): Likewise.
8312 * Makerules (elide-routines.ob): Remove variable.
8313 (do-tests-clean): Do not handle *-bp.out.
8314 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8315 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8316 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8317 (tests): Do not include $(tests-bp.out).
8318 (xtests): Do not include $(xtests-bp.out).
8319 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8320 [$(build-bounded) = yes] ($(addprefix
8321 $(objpfx),$(binaries-bounded))): Remove rule.
8322 ($(objpfx)%-bp.out): Remove rule.
8323 * config.make.in (build-bounded): Remove variable.
8324 * crypt/Makefile [$(build-bounded) = yes]
8325 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8326 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8327 append to variable.
8328 [$(build-bounded) = yes] (install-lib): Likewise.
8329 [$(build-bounded) = yes] (generated): Likewise.
8330 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8331 Remove rule.
8332 * intl/Makefile [$(build-bounded) = yes]
8333 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8334 * math/Makefile [$(build-bounded) = yes]
8335 ($(tests:%=$(objpfx)%-bp): Likewise.
8336 * misc/Makefile [$(build-bounded) = yes]
8337 ($(objpfx)tst-tsearch-bp): Likewise.
8338 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8339 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8340 Remove dependency.
8341 * string/Makefile (o-objects.ob): Remove variable.
8342 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8343 (CFLAGS-.ob): Remove variable.
8344 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8345 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8346 both definitions of variable.
8347 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8348 (ASFLAGS-.ob): Remove variable.
8349
8350 2013-02-14 Joseph Myers <joseph@codesourcery.com>
8351
8352 [BZ #13550]
8353 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8354 Remove __BOUNDED_POINTERS__ from condition.
8355 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8356 * string/bits/string2.h [!__NO_STRING_INLINES &&
8357 !__BOUNDED_POINTERS__]: Likewise.
8358 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8359 Likewise.
8360 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8361 Remove conditional code.
8362 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8363 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8364 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8365 condition.
8366
8367 [BZ #13550]
8368 * csu/libc-start.c: Do not include <bp-sym.h>.
8369 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8370 * elf/dl-open.c: Do not include <bp-sym.h>.
8371 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8372 * math/fegetenv.c: Do not include <bp-sym.h>.
8373 (fegetenv): Do not use BP_SYM in versioned symbols.
8374 * nptl/sysdeps/pthread/bits/libc-lockP.h
8375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8376 <bp-sym.h>.
8377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8378 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8380 (__pthread_mutex_destroy): Likewise.
8381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8382 (__pthread_mutex_lock): Likewise.
8383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8384 (__pthread_mutex_trylock): Likewise.
8385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8386 (__pthread_mutex_unlock): Likewise.
8387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8388 (__pthread_mutexattr_init): Likewise.
8389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8390 (__pthread_mutexattr_destroy): Likewise.
8391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8392 (__pthread_mutexattr_settype): Likewise.
8393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8394 (__pthread_rwlock_init): Likewise.
8395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8396 (__pthread_rwlock_destroy): Likewise.
8397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8398 (__pthread_rwlock_rdlock): Likewise.
8399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8400 (__pthread_rwlock_tryrdlock): Likewise.
8401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8402 (__pthread_rwlock_wrlock): Likewise.
8403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8404 (__pthread_rwlock_trywrlock): Likewise.
8405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8406 (__pthread_rwlock_unlock): Likewise.
8407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8408 (__pthread_key_create): Likewise.
8409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8410 (__pthread_setspecific): Likewise.
8411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8412 (__pthread_getspecific): Likewise.
8413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8414 Likewise.
8415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8416 (_pthread_cleanup_push_defer): Likewise.
8417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8418 (_pthread_cleanup_pop_restore): Likewise.
8419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8420 (pthread_setcancelstate): Likewise.
8421 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8422 <bp-sym.h>.
8423 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8424 (memchr): Do not use BP_SYM in weak_alias.
8425 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8426 (fegetenv): Do not use BP_SYM in versioned symbols.
8427 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8428 (fesetenv): Do not use BP_SYM in versioned symbols.
8429 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8430 (feupdateenv): Do not use BP_SYM in versioned symbols.
8431 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8432 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8433 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8434 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8435 (open64): Do not use BP_SYM in weak_alias.
8436 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8437 (fegetenv): Do not use BP_SYM in versioned symbols.
8438 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8439 (fesetenv): Do not use BP_SYM in versioned symbols.
8440 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8441 (feupdateenv): Do not use BP_SYM in versioned symbols.
8442 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8443 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8444 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8445 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8446 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8447 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8448 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8449 <bp-sym.h>.
8450 (__libc_start_main): Do not use BP_SYM.
8451
8452 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8453
8454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8455 redundant return line.
8456 (norm): Likewise.
8457 (denorm): Likewise.
8458 (dbl_mp): Likewise.
8459 (sub_magnitudes): Likewise.
8460 (__add): Likewise.
8461 (__sub): Likewise.
8462 (__mul): Likewise.
8463 (__inv): Likewise.
8464 (__dvd): Likewise.
8465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8466 (norm): Likewise.
8467 (denorm): Likewise.
8468 (dbl_mp): Likewise.
8469 (sub_magnitudes): Likewise.
8470 (__add): Likewise.
8471 (__sub): Likewise.
8472 (__mul): Likewise.
8473 (__inv): Likewise.
8474 (__dvd): Likewise.
8475
8476 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8477 instead of __mul.
8478 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8479 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8480 (cc32): Likewise.
8481
8482 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8483 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8484 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8485 of __mul for squares.
8486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8487 function
8488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8489 Likewise.
8490 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8491 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8492
8493 2013-02-13 Joseph Myers <joseph@codesourcery.com>
8494
8495 [BZ #13550]
8496 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8497 code.
8498 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8499 prototype or function definition. Rename ubp_* variables and
8500 parameters. Remove argv definitions conditional on
8501 [__BOUNDED_POINTERS__].
8502 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8503 * elf/dl-runtime.c (_dl_fixup): Likewise.
8504 * include/set-hooks.h (RUN_HOOK): Likewise.
8505 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8506 definition.
8507 * string/strcpy.c (strcpy): Do not use __unbounded.
8508 * sysdeps/generic/frame.h (struct layout): Likewise.
8509 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8510 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8511 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8512 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8513 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8514 (__backtrace): Likewise.
8515 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8516 use __ptrvalue.
8517 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8518 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8519 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8520 Likewise.
8521 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8522 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8523 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8524 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8525 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8526 Do not use __unbounded.
8527 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8528 Rename __unboundedrlimits parameter to rlimits in prototype.
8529 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8530 Do not use __unbounded.
8531 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8532 not use __ptrvalue.
8533 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8534 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8535 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8536 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8537 __ptrvalue or __unbounded.
8538 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8539 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8540 use __unbounded.
8541 (__new_msgctl): Do not use __ptrvalue.
8542 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8543 __unbounded.
8544 (__libc_msgrcv): Do not use __ptrvalue.
8545 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8546 startup_info): Do not use __unbounded.
8547 (__libc_start_main): Likewise. Rename ubp_* variables and
8548 parameters. Remove argv definitions conditional on
8549 [__BOUNDED_POINTERS__].
8550 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8551 __ptrvalue.
8552 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8553 use __unbounded.
8554 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8555 or __ptrvalue.
8556 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8557 use __unbounded.
8558 (__new_shmctl): Do not use __ptrvalue.
8559 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8560 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8561 Likewise.
8562 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8563 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8564 (__libc_sigaction): Likewise.
8565 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8566 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8567 Likewise.
8568 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8569
8570 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
8571
8572 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8573
8574 * string/mempcpy.c: Implement by calling memcpy.
8575
8576 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8577
8578 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8579
8580 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8581 evaluation.
8582
8583 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8584 values in the mantissa.
8585
8586 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8587 minimize writes to Z.
8588 (sub_magnitudes): Simplify code a bit.
8589
8590 2013-02-12 Roland McGrath <roland@hack.frob.com>
8591
8592 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8593 from the message. The linker prefixes all warnings with that already.
8594
8595 2013-02-12 Andreas Schwab <schwab@suse.de>
8596
8597 [BZ #15078]
8598 * posix/regexec.c (extend_buffers): Add parameter min_len.
8599 (check_matching): Pass minimum needed length.
8600 (clean_state_log_if_needed): Likewise.
8601 (get_subexp): Likewise.
8602 * posix/Makefile (tests): Add bug-regex34.
8603 (bug-regex34-ENV): Define.
8604 * posix/bug-regex34.c: New file.
8605
8606 [BZ #11561]
8607 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8608 elements compare against the byte sequence of it, not its name.
8609 * posix/Makefile (tests): Add bug-regex35.
8610 (bug-regex35-ENV): Define.
8611 * posix/bug-regex35.c: New file.
8612
8613 2013-02-11 Tom de Vries <tom@codesourcery.com>
8614
8615 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8616 comment.
8617 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8618 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8619 (CHECK_EOL): Add undef.
8620
8621 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
8622
8623 * bits/stdlib-bsearch.h: New file.
8624 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8625 * stdlib/stdlib.h: Likewise.
8626
8627 2013-02-11 Roland McGrath <roland@hack.frob.com>
8628
8629 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8630 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8631 declaration.
8632 * manual/search.texi (Array Search Function): Add missing const in
8633 lfind prototype.
8634 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8635 declaration to use rlim_t.
8636 (Basic Scheduling Functions): Remove erroneous const from
8637 sched_getparam prototype. Remove erroneous * from
8638 sched_get_priority_max and sched_get_priority_min prototypes.
8639 (Resource Usage): Fix summary @comment on vtimes to refer to
8640 sys/vtimes.h rather than vtimes.h.
8641 Add missing *s in vtimes prototype.
8642 (Limits on Resources): Fix ulimit prototype to return long int.
8643 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8644 prototypes to use long int rather than double.
8645 (BSD Random): Fix initstate and setstate to use char *, not void *.
8646 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8647 prototype to make second argument 'struct aiocb64 *const[]'.
8648 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8649 (Status of AIO Operations): Remove erroneous const in aio_return and
8650 aio_return64 prototypes.
8651 (Synchronizing I/O): Fix sync prototype to return void.
8652 * manual/startup.texi (Suboptions): Remove an erroneous const in
8653 getsubopt prototype.
8654 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8655 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8656 use size_t rather than int.
8657 (Scanning All Users): Likewise for getpwent_r.
8658 (Setting Groups): Add missing const to setgroups prototype.
8659 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8660 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8661 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8662 'const void *' rather than 'const char *'.
8663 (Host Address Functions): Likewise for inet_ntop.
8664 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8665 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8666 ssize_t for return value.
8667 (Sending Data): Likewise for send, sendto, sendmsg.
8668 (Socket Option Functions): Add a missing const in setsockopt prototype.
8669 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8670 use wchar_t for the argument.
8671 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8672 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8673 take no arguments.
8674 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8675 double/float/long double for second argument.
8676 Fix return types of significand, significandf, significandl.
8677 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8678 argument in fchmod prototype.
8679 (File Owner): Use uid_t and gid_t in fchown prototype.
8680 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8681 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8682 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8683 use 'const struct dirent **' as argument types to CMP function pointer
8684 argument.
8685 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8686 (File Times): Fix summary magic @comment for struct utimbuf and utime
8687 to refer to utime.h, not time.h.
8688 * manual/string.texi (Argz Functions): Add missing const in
8689 argz_extract and argz_next prototypes.
8690 (Finding Tokens in a String): Likewise for basename.
8691 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8692 (Copying and Concatenation): Fix typo in wmemmove prototype.
8693 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8694 (Signal Stack): Remove erroneous const in sigstack prototype.
8695 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8696 prototype.
8697 (Simple Calendar Time): Likewise for stime.
8698 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8699 prototype.
8700 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8701 say sys/sysctl.h instead.
8702 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8703 and vsyslog prototypes.
8704
8705 2013-02-11 Tom de Vries <tom@codesourcery.com>
8706
8707 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8708 Remove.
8709
8710 2013-02-11 Roland McGrath <roland@hack.frob.com>
8711
8712 * misc/sys/mman.h: Fix typo in mremap comment.
8713
8714 2013-02-08 Roland McGrath <roland@hack.frob.com>
8715
8716 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8717 the '\0' terminator.
8718
8719 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8720
8721 [BZ #13550]
8722 * debug/segfault.c: Don't include <bp-checks.h>.
8723 * sysdeps/generic/bp-checks.h: Remove file.
8724 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8725 (__GETDENTS): Don't use CHECK_N.
8726 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8727 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8728 (__getgroups): Don't use CHECK_N.
8729 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8730 (setgroups): Don't use CHECK_N.
8731 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8732 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8733 (__libc_msgrcv): Don't use CHECK_N.
8734 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8735 (__libc_msgsnd): Don't use CHECK_N.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8737 <bp-checks.h>.
8738 (__libc_pread): Don't use CHECK_N.
8739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8740 include <bp-checks.h>.
8741 (__libc_pread64): Don't use CHECK_N.
8742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8743 include <bp-checks.h>.
8744 (__libc_pwrite): Don't use CHECK_N.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8746 include <bp-checks.h>.
8747 (__libc_pwrite64): Don't use CHECK_N.
8748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8749 <bp-checks.h>.
8750 (__libc_pread): Don't use CHECK_N.
8751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8752 include <bp-checks.h>.
8753 (__libc_pread64): Don't use CHECK_N.
8754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8755 include <bp-checks.h>.
8756 (__libc_pwrite): Don't use CHECK_N.
8757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8758 include <bp-checks.h>.
8759 (__libc_pwrite64): Don't use CHECK_N.
8760 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8761 (do_pread): Don't use CHECK_N.
8762 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8763 (do_pread64): Don't use CHECK_N.
8764 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8765 (do_pwrite): Don't use CHECK_N.
8766 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8767 (do_pwrite64): Don't use CHECK_N.
8768 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8769 (__libc_readv): Don't use CHECK_N.
8770 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8771 (semop): Don't use CHECK_N.
8772 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8773 <bp-checks.h>.
8774 (semtimedop): Don't use CHECK_N.
8775 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8776 (__libc_pread): Don't use CHECK_N.
8777 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8778 <bp-checks.h>.
8779 (__libc_pread64): Don't use CHECK_N.
8780 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8781 <bp-checks.h>.
8782 (__libc_pwrite): Don't use CHECK_N.
8783 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8784 <bp-checks.h>.
8785 (__libc_pwrite64): Don't use CHECK_N.
8786 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8787 <bp-checks.h>.
8788 (__libc_msgrcv): Don't use CHECK_N.
8789 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8790 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8791 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8792 (__libc_writev): Don't use CHECK_N.
8793
8794 2013-02-08 Roland McGrath <roland@hack.frob.com>
8795
8796 * string/strcpy.c: Removed unused variable.
8797
8798 * Makeconfig (+sysdep-includes): Define with := rather than =.
8799 Use an existing include/ subdir of each sysdeps dir before it.
8800
8801 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8802
8803 * nscd/connection.c (register_traced_file): Comment function.
8804 [HAVE_INOTIFY] (union __inev): Define.
8805 [HAVE_INOTIFY] (inotify_check_files): New function.
8806 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8807 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8808 clear_db_cache.
8809 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8810
8811 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8812
8813 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8814 loaded if not already and that a failure is permanent.
8815
8816 2013-02-08 Carlos O'Donell <carlos@redhat.com>
8817
8818 [BZ #15006]
8819 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8820 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8821
8822 2013-02-08 Joseph Myers <joseph@codesourcery.com>
8823
8824 [BZ #13550]
8825 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8826 (CHECK_1_NULL_OK): Likewise.
8827 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8828 (__fxstat): Do not use CHECK_1.
8829 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8830 <bp-checks.h>.
8831 (___fxstat64): Do not use CHECK_1.
8832 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8833 <bp-checks.h>.
8834 (__fxstatat): Do not use CHECK_1.
8835 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8836 <bp-checks.h>.
8837 (__fxstatat64): Do not use CHECK_1.
8838 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8839 <bp-checks.h>.
8840 (__fxstat): Do not use CHECK_1.
8841 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8842 <bp-checks.h>.
8843 (__fxstatat): Do not use CHECK_1.
8844 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8845 <bp-checks.h>.
8846 (__getresgid): Do not use CHECK_1.
8847 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8848 <bp-checks.h>.
8849 (__getresuid): Do not use CHECK_1.
8850 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8851 <bp-checks.h>.
8852 (__lxstat): Do not use CHECK_1.
8853 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8854 <bp-checks.h>.
8855 (__old_msgctl): Do not use CHECK_1.
8856 (__new_msgctl): Likewise.
8857 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8858 <bp-checks.h>.
8859 (__new_setrlimit): Do not use CHECK_1.
8860 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8861 <bp-checks.h>.
8862 (__old_shmctl): Do not use CHECK_1.
8863 (__new_shmctl): Likewise.
8864 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8865 <bp-checks.h>.
8866 (__xstat): Do not use CHECK_1.
8867 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8868 (__lxstat): Do not use CHECK_1.
8869 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8870 <bp-checks.h>.
8871 (___lxstat64): Do not use CHECK_1.
8872 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8873 (__old_msgctl): Do not use CHECK_1.
8874 (__new_msgctl): Likewise.
8875 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8876 <bp-checks.h>.
8877 (__gettimeofday): Do not use CHECK_1.
8878 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8879 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8880 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8881 <bp-checks.h>.
8882 (__gettimeofday): Do not use CHECK_1.
8883 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8884 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8885 (__new_shmctl): Do not use CHECK_1.
8886 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8887 <bp-checks.h>.
8888 (do_sigtimedwait): Do not use CHECK_1.
8889 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8890 <bp-checks.h>.
8891 (do_sigwaitinfo): Do not use CHECK_1.
8892 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8893 <bp-checks.h>.
8894 (msgctl): Do not use CHECK_1.
8895 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8896 <bp-checks.h>.
8897 (shmctl): Do not use CHECK_1.
8898 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8899 (ustat): Do not use CHECK_1.
8900 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8901 <bp-checks.h>.
8902 (__fxstat): Do not use CHECK_1.
8903 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8904 <bp-checks.h>.
8905 (__fxstatat): Do not use CHECK_1.
8906 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8907 <bp-checks.h>.
8908 (__lxstat): Do not use CHECK_1.
8909 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8910 <bp-checks.h>.
8911 (__xstat): Do not use CHECK_1.
8912 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8913 (__xstat): Do not use CHECK_1.
8914 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8915 (___xstat64): Do not use CHECK_1.
8916
8917 [BZ #13550]
8918 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8919 definitions.
8920 (CHECK_BOUNDS_HIGH): Likewise.
8921 * string/strcpy.c: Do not include <bp-checks.h>.
8922 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8923
8924 2013-02-07 Roland McGrath <roland@hack.frob.com>
8925
8926 * nscd/nscd-client.h (__nscd_drop_map_ref):
8927 Add __attribute__ ((unused)).
8928 * nis/nss-nisplus.h (niserr2nss): Likewise.
8929
8930 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8931 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8932
8933 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8934 Remove inline keyword.
8935 * include/rounding-mode.h (round_away): Likewise.
8936 * libio/wfileops.c (adjust_wide_data): Likewise.
8937 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8938 (__m128i_strloadu_tolower): Likewise.
8939 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8940 (__m128i_strloadu_tolower): Likewise.
8941 * time/mktime.c (ydhms_diff): Likewise.
8942 * locale/elem-hash.h (elem_hash): Likewise.
8943 * locale/setlocale.c (setdata): Likewise.
8944 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8945 (re_string_wchar_at): Likewise.
8946 (bitset_not, bitset_merge, bitset_mask): Likewise.
8947 [!(__GNUC__ > 3)] (inline): Remove macro.
8948 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8949 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8950 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8951 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8952 * string/memcmp.c (memcmp_bytes): Likewise.
8953 * locale/programs/locarchive.c (compute_hashval): Likewise.
8954 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8955 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8956 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8957 * nss/getent.c (print_rpc, print_protocols): Likewise.
8958 (print_passwd, print_group, print_aliases): Likewise.
8959 * nis/nss-nisplus.h (niserr2nss): Likewise.
8960 * nscd/connections.c (restart_p): Likewise.
8961 Change return type to bool.
8962
8963 2013-02-05 Roland McGrath <roland@hack.frob.com>
8964
8965 * Makeconfig (all-Depend-files): Add existing
8966 $(sorted-subdirs:=/Depend) files.
8967 (all-subdirs): Remove nss.
8968 * sysdeps/unix/inet/Subdirs: Add it here instead.
8969 * hesiod/Depend: New file.
8970
8971 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8972 instead of calling alloca.
8973
8974 * io/lseek.c (__lseek): Rename to __libc_lseek.
8975 Define __lseek as an alias.
8976
8977 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8978
8979 2013-02-04 Carlos O'Donell <carlos@redhat.com>
8980
8981 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8982 else clause and remove check for non-standard endianness.
8983
8984 2013-02-04 David S. Miller <davem@davemloft.net>
8985
8986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8987
8988 2013-02-04 Joseph Myers <joseph@codesourcery.com>
8989
8990 [BZ #13550]
8991 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8992 (__ubp_memchr): Remove prototype.
8993 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8994 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8995 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8996 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8997 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8998 Remove alias.
8999 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9000 (__ubp_memchr): Likewise.
9001 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9002 (__ubp_memchr): Likewise.
9003 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9004 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9005 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9006 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9007 CHECK_STRING.
9008 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9009 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9010 (__getcwd): Do not use CHECK_STRING.
9011 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9012 <bp-checks.h>.
9013 (__real_chown): Do not use CHECK_STRING.
9014 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9015 <bp-checks.h>.
9016 (fchownat): Do not use CHECK_STRING.
9017 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9018 CHECK_STRING.
9019 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9020 <bp-checks.h>.
9021 (__lchown): Do not use CHECK_STRING.
9022 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9023 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9024 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9025 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9027 include <bp-checks.h>.
9028 (truncate64): Do not use CHECK_STRING.
9029 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9030 <bp-checks.h>.
9031 (__real_chown): Do not use CHECK_STRING.
9032 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9033 <bp-checks.h>.
9034 (__lchown): Do not use CHECK_STRING.
9035 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9036 <bp-checks.h>.
9037 (__chown): Do not use CHECK_STRING.
9038 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9039 <bp-checks.h>.
9040 (truncate64): Do not use CHECK_STRING.
9041 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9042 Likewise.
9043 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9044 (__xmknod): Do not use CHECK_STRING.
9045 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9046 <bp-checks.h>.
9047 (__xmknodat): Do not use CHECK_STRING.
9048 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9049 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9050
9051 2013-02-04 Andreas Schwab <schwab@suse.de>
9052
9053 [BZ #14142]
9054 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9055 * include/netdb.h: Likewise for h_errno.
9056 * elf/tst-stackguard1.c: Include <tls.h>.
9057
9058 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9059
9060 * elf/link.h (struct link_map): Extend the l_addr comment.
9061 * include/link.h (struct link_map): Likewise.
9062
9063 2013-02-01 Joseph Myers <joseph@codesourcery.com>
9064
9065 [BZ #13550]
9066 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9067 (BOUNDED_1): Remove macro.
9068 * debug/backtrace.c: Don't include <bp-checks.h>.
9069 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9070 (__backtrace): Likewise.
9071 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9072 <bp-checks.h>.
9073 (__backtrace): Don't use BOUNDED_1.
9074 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9075 <bp-checks.h>.
9076 (__backtrace): Don't use BOUNDED_1.
9077 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9078 (__backtrace): Don't use BOUNDED_1.
9079 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9080 (shmat): Don't use BOUNDED_N.
9081
9082 2013-01-31 Joseph Myers <joseph@codesourcery.com>
9083
9084 [BZ #13550]
9085 * sysdeps/generic/bp-start.h: Remove file.
9086 * csu/libc-start.c: Don't include <bp-start.h>.
9087 (LIBC_START_MAIN): Set up __environ directly instead of using
9088 INIT_ARGV_and_ENVIRON.
9089 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9090 <bp-start.h>.
9091
9092 [BZ #13550]
9093 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9094 definitions.
9095 (CHECK_FCNTL): Likewise.
9096 (CHECK_N_PAGES): Likewise.
9097
9098 [BZ #13550]
9099 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9100 definitions.
9101 (CHECK_SIGSET_NULL_OK): Likewise.
9102 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9103 <bp-checks.h>.
9104 (sigpending): Don't use CHECK_SIGSET.
9105 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9106 <bp-checks.h>.
9107 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9108 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9109 <bp-checks.h>.
9110 (do_sigsuspend): Don't use CHECK_SIGSET.
9111 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9112 use CHECK_SIGSET.
9113 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9114 (do_sigwait): Don't use CHECK_SIGSET.
9115 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9116 use CHECK_SIGSET.
9117 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9118 include <bp-checks.h>.
9119 (sigpending): Don't use CHECK_SIGSET.
9120 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9121 include <bp-checks.h>.
9122 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9123 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9124 <bp-checks.h>.
9125 (sigpending): Don't use CHECK_SIGSET.
9126 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9127 <bp-checks.h>.
9128 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9129
9130 [BZ #13550]
9131 * sysdeps/generic/bp-semctl.h: Remove file.
9132 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9133 <bp-checks.h> and <bp-semctl.h>.
9134 (__old_semctl): Don't use CHECK_SEMCTL.
9135 (__new_semctl): Likewise.
9136 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9137 and <bp-semctl.h>.
9138 (__old_semctl): Don't use CHECK_SEMCTL.
9139 (__new_semctl): Likewise.
9140 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9141 <bp-checks.h> and <bp-semctl.h>.
9142 (__old_semctl): Don't use CHECK_SEMCTL.
9143 (__new_semctl): Likewise.
9144 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9145 <bp-checks.h> and <bp-semctl.h>.
9146 (semctl): Don't use CHECK_SEMCTL.
9147
9148 [BZ #13550]
9149 * Makerules (elide-bp-thunks): Remove variable.
9150 (elide-routines.oS): Don't use $(elide-bp-thunks).
9151 (elide-routines.os): Likewise.
9152 (elide-routines.o): Likewise.
9153 (elide-routines.op): Likewise.
9154 (elide-routines.og): Likewise.
9155 (objects): Don't use $(bp-thunks).
9156 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9157 include.
9158 (common-generated): Do not add s-proto-bp.d.
9159 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9160 (int): Likewise.
9161 (typ): Likewise.
9162 Do not generate makefile rules for bounded-pointer thunks.
9163 * sysdeps/generic/bp-thunks.h: Remove file.
9164 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9165 * sysdeps/unix/s-proto-bp.S: Likewise.
9166
9167 [BZ #15062]
9168 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9169 parts of result separately when argument is not close to line from
9170 -i to i and one part of argument is small.
9171 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9172 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9173 * math/libm-test.inc (cacos_test): Add more tests.
9174 (casin_test): Likewise.
9175 (casinh_test): Likewise.
9176 * sysdeps/i386/fpu/libm-test-ulps: Update.
9177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9178
9179 2013-01-31 David S. Miller <davem@davemloft.net>
9180
9181 * po/de.po: Update from translation team.
9182
9183 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9184
9185 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9186
9187 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9188
9189 * configure.in (_AC_PROG_CC_C89): New definition.
9190 * configure: Regenerate.
9191
9192 * configure.in (AC_PROG_CPP): New definition.
9193 * configure: Regenerate.
9194
9195 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9196
9197 * debug/tst-backtrace.h: New file.
9198 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9199 (ret): Remove variable.
9200 (x): Likewise.
9201 (FAIL): Remove macro.
9202 (NO_INLINE): Likewise.
9203 (fn1): Use match function instead of strstr.
9204 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9205 (ret): Remove variable.
9206 (x): Likewise.
9207 (FAIL): Remove macro.
9208 (NO_INLINE): Likewise.
9209 (fn): Use match function instead of strstr.
9210 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9211 (ret): Remove variable.
9212 (x): Likewise.
9213 (FAIL): Remove macro.
9214 (NO_INLINE): Likewise.
9215 (handle_signal): Use match function instead of strstr.
9216 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9217 (ret): Remove variable.
9218 (x): Likewise.
9219 (FAIL): Remove macro.
9220 (NO_INLINE): Likewise.
9221 (handle_signal): Use match function instead of strstr.
9222
9223 2013-01-23 Roland McGrath <roland@hack.frob.com>
9224
9225 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9226
9227 2013-01-23 David S. Miller <davem@davemloft.net>
9228
9229 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9230 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9231 argument of CAS if possible.
9232 * sysdeps/sparc/sparc64/bits/atomic.h
9233 (__arch_compare_and_exchange_val_32_acq): Likewise.
9234 (__arch_compare_and_exchange_val_64_acq): Likewise.
9235
9236 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9237
9238 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9239 * sysdeps/posix/ulimit.c: ... this.
9240 Include <limits.h>.
9241 * sysdeps/unix/bsd/ulimit.c: Remove file.
9242
9243 2013-01-23 Adam Conrad <adconrad@0c3.net>
9244
9245 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9246 (LDFLAGS-tst-array5): Likewise.
9247
9248 2013-01-23 Joseph Myers <joseph@codesourcery.com>
9249
9250 [BZ #15036]
9251 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9252 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9253 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9254 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9255
9256 2013-01-21 David S. Miller <davem@davemloft.net>
9257
9258 * sysdeps/sparc/backtrace.c: New file.
9259 * sysdeps/sparc/sparc32/backtrace.h: New file.
9260 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9261 * sysdeps/sparc/sparc64/backtrace.h: New file.
9262 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9263 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9264 -funwind-tables.
9265
9266 2013-01-21 Andreas Schwab <schwab@suse.de>
9267
9268 [BZ #15020]
9269 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9270 closed its stdout.
9271
9272 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9273
9274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9275 "mpa2.h".
9276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9277
9278 2013-01-18 Joseph Myers <joseph@codesourcery.com>
9279 Mark Mitchell <mark@codesourcery.com>
9280 Tom de Vries <tom@codesourcery.com>
9281 Paul Pluzhnikov <ppluzhnikov@google.com>
9282
9283 * debug/tst-backtrace2.c: New file.
9284 * debug/tst-backtrace3.c: Likewise.
9285 * debug/tst-backtrace4.c: Likewise.
9286 * debug/tst-backtrace5.c: Likewise.
9287 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9288 (CFLAGS-tst-backtrace3.c): Likewise.
9289 (CFLAGS-tst-backtrace4.c): Likewise.
9290 (CFLAGS-tst-backtrace5.c): Likewise.
9291 (LDFLAGS-tst-backtrace2): Likewise.
9292 (LDFLAGS-tst-backtrace3): Likewise.
9293 (LDFLAGS-tst-backtrace4): Likewise.
9294 (LDFLAGS-tst-backtrace5): Likewise.
9295 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9296 tst-backtrace4 and tst-backtrace5.
9297
9298 2013-01-18 Anton Blanchard <anton@samba.org>
9299 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9300
9301 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9302 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9303 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9304 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9306 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9307 "+r" and remove output regs list as redundant. Add explicit inline
9308 asm to specify register of return val to work around compiler codegen
9309 bug. Remove (int) cast on return value. Add return type parameter to
9310 use in macro so that this macro does not truncate return value for
9311 64-bit values.
9312 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9313 pass to INTERNAL_VSYSCALL_NCS.
9314 (INLINE_VSYSCALL): Add 'long int' as return type to
9315 INTERNAL_VSYSCALL_NCS macro invocation.
9316 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9317 INTERNAL_VSYSCALL_NCS macro invocation.
9318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9319
9320 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9321
9322 [BZ #14496]
9323 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9324 Fix application of SIMD FP exception mask.
9325
9326 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9327 mp_no from a power of two.
9328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9329 __mpexp_twomm1. Use __pow_mp.
9330
9331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9332 multiplication.
9333
9334 2013-01-17 David S. Miller <davem@davemloft.net>
9335
9336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9337
9338 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9339
9340 [BZ #15023]
9341 * include/complex.h: Condition contents on [!_COMPLEX_H].
9342 (__kernel_casinhf): New prototype.
9343 (__kernel_casinh): Likewise.
9344 (__kernel_casinhl): Likewise.
9345 * math/Makefile (libm_calls): Add k_casinh.
9346 * math/k_casinh.c: New file.
9347 * math/k_casinhf.c: Likewise.
9348 * math/k_casinhl.c: Likewise.
9349 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9350 finite nonzero arguments.
9351 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9352 finite nonzero arguments.
9353 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9354 finite nonzero arguments.
9355 * math/s_casinh.c: Do not include <float.h>.
9356 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9357 * math/s_casinhf.c: Do not include <float.h>.
9358 (__casinhf): Move code for finite nonzero arguments to
9359 k_casinhf.c.
9360 * math/s_casinhl.c: Do not include <float.h>.
9361 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9362 redefine.
9363 (__casinhl): Move code for finite nonzero arguments to
9364 k_casinhl.c.
9365 * math/libm-test.inc (cacos_test): Add more tests.
9366 * sysdeps/i386/fpu/libm-test-ulps: Update.
9367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9368
9369 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9370
9371 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9372 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9373 [!HAVE_MREMAP]: Remove [defined linux] case.
9374 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9375
9376 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9377
9378 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9379
9380 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
9381
9382 * elf/elf.h (R_386_SIZE32): New relocation.
9383 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9384 R_386_SIZE32.
9385 (elf_machine_rela): Likewise.
9386 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9387 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9388
9389 2013-01-17 Joseph Myers <joseph@codesourcery.com>
9390
9391 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9392 (FP_FAST_FMA): Do not define.
9393 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9394 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9395 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9396 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9397 !_SOFT_FLOAT]: Likewise.
9398 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9399 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9400 value.
9401 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9402 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9403 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9404 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9405 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9406 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9407 file.
9408
9409 2013-01-16 Andreas Schwab <schwab@suse.de>
9410
9411 [BZ #14327]
9412 * include/stdlib.h (__mktemp): Add declaration.
9413 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9414 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9415
9416 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9417
9418 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9419 definitions.
9420 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9421 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9422 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9423 definitions here.
9424 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9425 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9426 definitions.
9427 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9428 and ONE.
9429 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9430 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9431 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9432 definitions.
9433 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9434 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9435 definitions.
9436 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9437
9438 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9439
9440 2013-01-15 David S. Miller <davem@davemloft.net>
9441
9442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9443 trunc{,f} to libm-sysdep_routes.
9444 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9446 file.
9447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9449 file.
9450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9451 file.
9452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9454 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9455 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9456 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9457 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9458 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9459 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9460
9461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9462 nearbyint{,f} to libm-sysdep_routes.
9463 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9465 New file.
9466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9467 file.
9468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9469 New file.
9470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9471 file.
9472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9474 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9475 file.
9476 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9477 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9478 file.
9479 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9480 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9481 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9482
9483 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9484 libc_feholdexcept and libc_fesetenv.
9485
9486 2013-01-15 Mike Frysinger <vapier@gentoo.org>
9487
9488 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9489
9490 2013-01-14 David S. Miller <davem@davemloft.net>
9491
9492 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9493 (SPARC_ASM_VIS2_IFUNC): Likewise.
9494 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9496 use of 'siam' instruction.
9497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9498 Likewise.
9499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9500 Likewise.
9501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9502 Likewise.
9503 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9508 file.
9509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9510 file.
9511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9512 file.
9513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9514 file.
9515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9516 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9520 new VIS2 routines.
9521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9524 Likewise.
9525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9530 routines to libm-sysdep_routines.
9531 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9532
9533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9534 fdim/fdimf to libm-sysdep_routines.
9535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9536 file.
9537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9539 file.
9540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9543 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9544 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9545 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9546 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9547
9548 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9549
9550 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9551 to optimize copies.
9552
9553 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9554 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9556
9557 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9558 local variable MPTWO.
9559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9560 Likewise.
9561
9562 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9563
9564 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9565 GLOB_NOESCAPE.
9566
9567 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9568
9569 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9570
9571 2013-01-13 Mike Frysinger <vapier@gentoo.org>
9572
9573 * manual/pattern.texi (glob_t): Document gl_flags.
9574 (glob64_t): Likewise.
9575
9576 2013-01-11 David S. Miller <davem@davemloft.net>
9577
9578 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9579 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9580 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
9581 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9582 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9583 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9584 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9585 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9586 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9587 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9588 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9589 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9590 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9591
9592 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9593 sparc V9 rather than using V8 code.
9594 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9595 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9596
9597 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9598 Move to...
9599 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9600 Here.
9601
9602 2013-01-11 Roland McGrath <roland@hack.frob.com>
9603
9604 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9605 not in the main loop.
9606 * configure: Regenerated.
9607
9608 2013-01-11 Joseph Myers <joseph@codesourcery.com>
9609
9610 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9611 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9612 to just #else.
9613 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9614 [!__GLIBC_HAVE_LONG_LONG] case.
9615 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9616 condition to just #else.
9617 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9618 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9619 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9620 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9621 unconditional.
9622 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9623 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9624 #elif condition to just #else.
9625 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9626 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9627 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9628 #elif condition to just #else.
9629
9630 2013-01-11 Steve Ellcey <sellcey@mips.com>
9631
9632 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9633 (EF_MIPS_ARCH_64): Fix value.
9634 (EF_MIPS_ARCH_32R2): New.
9635 (EF_MIPS_ARCH_64R2): New.
9636
9637 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9638
9639 * Makeconfig (+link-pie-before-libc): New.
9640 (+link-pie-after-libc): Likewise.
9641 (+link-pie-tests): Likewise.
9642 (+link-pie): Rewritten.
9643 (link-before-libc): Remove $(config-LDFLAGS).
9644 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9645 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9646 (config-LDFLAGS): Renamed to ...
9647 (rtld-LDFLAGS): This.
9648 (rtld-tests-LDFLAGS): New macro.
9649 (link-libc-rpath-link): Likewise.
9650 (link-libc-tests-rpath-link): Likewise.
9651 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9652 (link-libc): Prepand $(link-libc-rpath-link).
9653 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9654 (test-program-prefix): New macro.
9655 (test-via-rtld-prefix): Likewise.
9656 (test-program-cmd): Likewise.
9657 (host-test-program-cmd): Likewise.
9658 * Makefile ($(common-objpfx)testrun.sh): Replace
9659 $(run-program-prefix) with $(test-program-prefix).
9660 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9661 $(rtld-LDFLAGS).
9662 ($(common-objpfx)shlib.lds): Likewise.
9663 (build-module-helper): Likewise.
9664 ($(common-objpfx)format.lds): Likewise.
9665 * Rules (binaries-pie-tests): New.
9666 (binaries-pie-notests): Likewise.
9667 (binaries-pie): Rewritten.
9668 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9669 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9670 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9671 (make-test-out): Replace $(host-built-program-cmd) with
9672 $(host-test-program-cmd).
9673 * config.make.in (build-hardcoded-path-in-tests): New variable.
9674 * configure.in (--enable-hardcoded-path-in-tests): New configure
9675 option.
9676 (hardcoded_path_in_tests): New AC_SUBST.
9677 * configure: Regenerated.
9678 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9679 $(built-program-cmd) with $(test-program-cmd).
9680 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9681 (test_program_cmd): This.
9682 * elf/Makefile ($(objpfx)order.out): Run test with
9683 $(test-program-prefix).
9684 ($(objpfx)order2.out): Likewise.
9685 ($(objpfx)tst-initorder.out): Likewise.
9686 ($(objpfx)tst-initorder2.out): Likewise.
9687 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9688 $(test-program-cmd).
9689 ($(objpfx)tst-array1-static.out): Likewise.
9690 ($(objpfx)tst-array2.out): Likewise.
9691 ($(objpfx)tst-array3.out): Likewise.
9692 ($(objpfx)tst-array4.out): Likewise.
9693 ($(objpfx)tst-array5.out): Likewise.
9694 ($(objpfx)tst-array5-static.out): Likewise.
9695 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9696 $(test-program-cmd).
9697 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9698 $(run-program-prefix) with $(test-program-prefix).
9699 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9700 (test_program_prefix): This.
9701 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9702 $(run-program-prefix) with $(test-program-prefix).
9703 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9704 (test_program_prefix): This.
9705 * iconvdata/tst-tables.sh: Likewise.
9706 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9707 $(run-program-prefix) with $(test-program-prefix).
9708 ($(objpfx)tst-translit.out): Likewise.
9709 ($(objpfx)tst-gettext2.out): Likewise.
9710 ($(objpfx)tst-gettext4.out): Likewise.
9711 ($(objpfx)tst-gettext6.out): Likewise.
9712 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9713 (test_program_prefix): This.
9714 * intl/tst-gettext2.sh: Likewise.
9715 * intl/tst-gettext4.sh Likewise.
9716 * intl/tst-gettext6.sh: Likewise.
9717 * intl/tst-translit.sh: Likewise.
9718 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9719 with $(test-program-cmd).
9720 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9721 $(run-program-prefix) with $(test-program-prefix).
9722 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9723 (test_program_prefix): This.
9724 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9725 $(run-program-prefix) with $(test-program-prefix).
9726 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9727 (test_program_prefix): This.
9728 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9729 * posix/Makefile ($(objpfx)globtest.out): Replace
9730 $(run-via-rtld-prefix) and $(test-wrapper) with
9731 $(test-program-prefix) and $(test-via-rtld-prefix).
9732 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9733 $(test-program-prefix).
9734 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9735 $(host-test-program-cmd).
9736 (tst-spawn-ARGS): Likewise.
9737 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9738 $(test-program-prefix).
9739 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9740 (test_via_rtld_prefix): This.
9741 (test_wrapper): Renamed to ...
9742 (test_program_prefix): This.
9743 (run_program_prefix): Replaced by test_program_prefix.
9744 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9745 (test_program_prefix): This.
9746 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9747 with $(host-test-program-cmd).
9748 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9749 $(run-program-prefix) with $(test-program-prefix).
9750 ($(objpfx)tst-printf.out): Likewise.
9751 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9752 $(test-program-cmd).
9753 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9754 (test_program_prefix): This.
9755 * stdio-common/tst-unbputc.sh: Likewise.
9756 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9757 $(run-program-prefix) with $(test-program-prefix).
9758 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9759 (test_program_prefix): This.
9760 * string/Makefile ($(objpfx)tst-svc.out): Replace
9761 $(built-program-cmd) with $(test-program-cmd).
9762
9763 2013-01-11 Andreas Jaeger <aj@suse.de>
9764
9765 [BZ #15003]
9766 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9767 value. Sync with Linux 3.7.
9768
9769 2013-01-10 David S. Miller <davem@davemloft.net>
9770
9771 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9772 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9773 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9774
9775 2013-01-10 Roland McGrath <roland@hack.frob.com>
9776
9777 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9778 never set.
9779 * configure: Regenerated.
9780
9781 2013-01-10 David S. Miller <davem@davemloft.net>
9782
9783 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9784 sparc V9 rather than using V8 code.
9785 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9786 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9787
9788 2013-01-10 Roland McGrath <roland@hack.frob.com>
9789
9790 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9791 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9792 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9793 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9794 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9795 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9796 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9797 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9798 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9799 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9800 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9801 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9802 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9803 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9804 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9805 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9806 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9807 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9808 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9809 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9810 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9811 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9812 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9813 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9814 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9815 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9816 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9817
9818 2013-01-10 David S. Miller <davem@davemloft.net>
9819
9820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9821
9822 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9823
9824 * posix/Makefile (tests-static): New variable.
9825 (tests): Add $(tests-static).
9826 (tst-exec-static-ARGS): New variable.
9827 (tst-spawn-static-ARGS): Likewise.
9828 * posix/tst-exec-static.c: New file.
9829 * posix/tst-spawn-static.c: Likewise.
9830 * posix/tst-exec.c: Support run directly.
9831 * posix/tst-spawn.c: Likewise.
9832
9833 2013-01-10 Joseph Myers <joseph@codesourcery.com>
9834
9835 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9836 long.
9837 * math/bits/mathcalls.h (llrint): Likewise.
9838 (llround): Likewise.
9839 * stdlib/stdlib.h (struct drand48_data): Likewise.
9840 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9841 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9842 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9843 Likewise.
9844 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9845 Likewise.
9846 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9847 (elf_greg_t): Likewise.
9848 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9849 (__jmp_buf): Likewise.
9850 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9851 definitions.
9852 (llrint): Likewise, for all definitions.
9853 (llrintl): Likewise.
9854
9855 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9856 Remove [__GNUC__] condition.
9857 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9858 condition to just [__USE_ISOC99].
9859 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9860
9861 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9862
9863 [BZ #14200]
9864 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9865 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9866 defined.
9867 (_POSIX_V6_ILP32_OFF32): Likewise.
9868 (_XBS5_ILP32_OFF32): Likewise.
9869 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9870 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9871
9872 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9873
9874 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9875
9876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9877 doubles __mpexp_twomm1. Adjust usage.
9878 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9879 Remove.
9880
9881 2013-01-10 Andreas Schwab <schwab@suse.de>
9882
9883 [BZ #14964]
9884 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9885 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9886
9887 2013-01-09 David S. Miller <davem@davemloft.net>
9888
9889 [BZ #15003]
9890 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9891 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9892 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9893 TCP_FASTOPEN): Define.
9894 (tcp_repair_opt): New structure.
9895 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9896 enum values.
9897 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9898 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9899 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9900 (tcp_cookie_transactions): New structure.
9901
9902 2013-01-09 Anton Blanchard <anton@samba.org>
9903
9904 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9905 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9906 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9907 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9908
9909 2013-01-09 Joseph Myers <joseph@codesourcery.com>
9910
9911 * include/features.h (__USE_ANSI): Remove.
9912
9913 2013-01-09 Roland McGrath <roland@hack.frob.com>
9914
9915 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9916
9917 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9918
9919 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9920
9921 * sysdeps/s390/fpu/libm-test-ulps: Update.
9922
9923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9924
9925 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9926 (__acr): Likewise.
9927 (__cpy): Likewise.
9928 (norm): Likewise.
9929 (denorm): Likewise.
9930 (__mp_dbl): Likewise.
9931 (__dbl_mp): Likewise.
9932 (add_magnitudes): Likewise.
9933 (sub_magnitudes): Likewise.
9934 (__add): Likewise.
9935 (__sub): Likewise.
9936 (__mul): Likewise.
9937 (__inv): Likewise.
9938 (__dvd): Likewise.
9939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9940 (__acr): Likewise.
9941 (__cpy): Likewise.
9942 (norm): Likewise.
9943 (denorm): Likewise.
9944 (__mp_dbl): Likewise.
9945 (__dbl_mp): Likewise.
9946 (add_magnitudes): Likewise.
9947 (sub_magnitudes): Likewise.
9948 (__add): Likewise.
9949 (__sub): Likewise.
9950 (__mul): Likewise.
9951 (__inv): Likewise.
9952 (__dvd): Likewise.
9953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9954 (__acr): Likewise.
9955 (__cpy): Likewise.
9956 (norm): Likewise.
9957 (denorm): Likewise.
9958 (__mp_dbl): Likewise.
9959 (__dbl_mp): Likewise.
9960 (add_magnitudes): Likewise.
9961 (sub_magnitudes): Likewise.
9962 (__add): Likewise.
9963 (__sub): Likewise.
9964 (__mul): Likewise.
9965 (__inv): Likewise.
9966 (__dvd): Likewise.
9967
9968 2013-01-08 Joseph Myers <joseph@codesourcery.com>
9969
9970 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9971 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9972 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9973 2 && __USE_EXTERN_INLINES]: Likewise.
9974
9975 2013-01-08 Andreas Jaeger <aj@suse.de>
9976
9977 [BZ# 14985]
9978 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9979 Remove.
9980 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9981 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9982
9983 2013-01-07 Anton Blanchard <anton@samba.org>
9984
9985 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9986 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9987 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9988 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9989 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9990 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9991 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9992 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9994 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9995 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9996 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9997 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9998 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9999 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10000 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10001 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10002 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10003 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10004 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10005 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10006 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10007 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10008 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10009 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10010 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10011 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10012 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10013 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10014 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10015 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10017 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10018 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10019 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10020 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10021 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10022 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10023 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10024 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10025 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10026 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10027 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10028
10029 2013-01-07 Joseph Myers <joseph@codesourcery.com>
10030
10031 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10032 (__MALLOC_PMT): Likewise.
10033 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10034 [__GNUC__], only on [_LIBC].
10035 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10036 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10037 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10038 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10039 forward declaration.
10040 (realloc_hook_ini): Likewise.
10041 (memalign_hook_ini): Likewise.
10042 (__libc_memalign): Do not use __MALLOC_PMT in variable
10043 declaration.
10044 (__libc_valloc): Likewise.
10045 (__libc_pvalloc): Likewise.
10046 (__libc_calloc): Likewise.
10047 (__posix_memalign): Likewise.
10048
10049 [BZ #14996]
10050 * math/s_casinh.c: Include <float.h>.
10051 (__casinh): Do not do computation with squaring and square root
10052 for large arguments.
10053 * math/s_casinhf.c: Include <float.h>.
10054 (__casinhf): Do not do computation with squaring and square root
10055 for large arguments.
10056 * math/s_casinhl.c: Include <float.h>.
10057 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10058 (__casinhl): Do not do computation with squaring and square root
10059 for large arguments.
10060 * math/libm-test.inc (casin_test): Add more tests.
10061 (casinh_test): Likewise.
10062 * sysdeps/i386/fpu/libm-test-ulps: Update.
10063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10064
10065 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10066
10067 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10068 (__x86_64_raw_data_cache_size): Likewise.
10069 (__x86_64_data_cache_size_half): Likewise.
10070 (__x86_64_raw_data_cache_size_half): Likewise.
10071 (__x86_64_shared_cache_size): Likewise.
10072 (__x86_64_raw_shared_cache_size): Likewise.
10073 (__x86_64_shared_cache_size_half): Likewise.
10074 (__x86_64_raw_shared_cache_size_half): Likewise.
10075 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10076 to ...
10077 (__x86_data_cache_size): This.
10078 (__x86_64_raw_data_cache_size): Renamed to ...
10079 (__x86_raw_data_cache_size): This.
10080 (__x86_64_data_cache_size_half): Renamed to ...
10081 (__x86_data_cache_size_half): This.
10082 (__x86_64_raw_data_cache_size_half): Renamed to ...
10083 (__x86_raw_data_cache_size_half): This.
10084 (__x86_64_shared_cache_size): Renamed to ...
10085 (__x86_shared_cache_size): This.
10086 (__x86_64_raw_shared_cache_size): Renamed to ...
10087 (__x86_raw_shared_cache_size): This.
10088 (__x86_64_shared_cache_size_half): Renamed to ...
10089 (__x86_shared_cache_size_half): This.
10090 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10091 (__x86_raw_shared_cache_size_half): This.
10092 * sysdeps/x86_64/memcpy.S: Updated.
10093 * sysdeps/x86_64/memset.S: Likewise.
10094 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10095 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10096 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10097
10098 2013-01-04 David S. Miller <davem@davemloft.net>
10099
10100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10101
10102 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10103
10104 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10105 1 to avoid redefinition warning.
10106 (__USE_GNU): Don't define.
10107 (init_signaling_nan): Protoize.
10108
10109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10110
10111 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10112
10113 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10115 (__cpymn): Likewise.
10116 (norm): Remove commented code.
10117 (denorm): Likewise.
10118 (__mp_dbl): Likewise.
10119 (__inv): Likewise.
10120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10121 (__cpymn): Likewise.
10122 (norm): Remove commented code.
10123 (denorm): Likewise.
10124 (__mp_dbl): Likewise.
10125 (__inv): Likewise.
10126
10127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10128 mp_no value for 1.0 and 2.0.
10129 (norm): Use RADIXI instead of radixi.d.
10130 (denorm): Likewise.
10131 (__mul): Use 0.0 instead of zero.d.
10132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10133 mp_no value for 1.0 and 2.0.
10134 (norm): Use RADIXI instead of radixi.d.
10135 (denorm): Likewise.
10136 (__mul): Use 0.0 instead of zero.d.
10137
10138 2013-01-04 Joseph Myers <joseph@codesourcery.com>
10139
10140 [BZ #14994]
10141 * math/s_casinh.c (__casinh): Reduce finite argument to first
10142 quadrant then set signs of results at the end.
10143 * math/s_casinhf.c (__casinhf): Likewise.
10144 * math/s_casinhl.c (__casinhl): Likewise.
10145 * math/libm-test.inc (casin_test): Add more tests.
10146 (casinh_test): Likewise.
10147 * sysdeps/i386/fpu/libm-test-ulps: Update.
10148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10149
10150 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10151
10152 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10153
10154 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10155
10156 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10157 declarations.
10158 (denorm): Likewise.
10159 (__mp_dbl): Likewise.
10160 (__inv): Likewise.
10161
10162 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10163 and adjust the header comment.
10164
10165 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10166 variable name from declaration.
10167
10168 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10169
10170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10171 Initialize COMMON_CPUID_INDEX_7 element.
10172 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10173 (CPUID_RTM): Likewise.
10174 (HAS_RTM): Likewise.
10175 (COMMON_CPUID_INDEX_7): New enum.
10176
10177 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10178
10179 [BZ #14981]
10180 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10181 size is zero, record memory as freed.
10182
10183 2013-01-03 Andreas Jaeger <aj@suse.de>
10184
10185 * po/ia.po: Add new Interlingua translation.
10186
10187 2012-01-03 Allan McRae <allan@archlinux.org>
10188
10189 * locale/programs/localedef.c: Fix description of '--posix' flag.
10190
10191 2013-01-02 Joseph Myers <joseph@codesourcery.com>
10192
10193 * NEWS: Update dates in second copyright notice.
10194 * README: Update copyright dates in example.
10195 * manual/libc.texinfo: Update copyright dates.
10196 * scripts/test-installation.pl: Update copyright date in --version
10197 output.
10198
10199 * hurd/ctty-input.c: Fix copyright notice formatting.
10200 * hurd/ctty-output.c: Likewise.
10201 * hurd/dtable.c: Likewise.
10202 * hurd/hurd-raise.c: Likewise.
10203 * hurd/hurdprio.c: Likewise.
10204 * hurd/msgportdemux.c: Likewise.
10205 * misc/sys/file.h: Likewise.
10206 * misc/sys/ioctl.h: Likewise.
10207 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10208 * sysdeps/mach/hurd/chdir.c: Likewise.
10209 * sysdeps/mach/hurd/fchdir.c: Likewise.
10210 * sysdeps/mach/hurd/rename.c: Likewise.
10211 * sysdeps/mach/hurd/rmdir.c: Likewise.
10212 * sysdeps/mach/hurd/seekdir.c: Likewise.
10213 * sysdeps/mach/hurd/setsid.c: Likewise.
10214 * sysdeps/posix/wait3.c: Likewise.
10215
10216 * All files with FSF copyright notices: Update copyright dates
10217 using scripts/update-copyrights.
10218 * intl/plural.c: Regenerated.
10219 * locale/programs/charmap-kw.h: Likewise.
10220 * locale/programs/locfile-kw.h: Likewise.
10221
10222 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10223
10224 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10225 four values.
10226
10227 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10228 calculation loop and add branch prediction.
10229
10230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10231 check access beyond bounds of m1np.
10232
10233 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10234 MPTWO.
10235 (__inv): Remove local variable MPTWO to use the global
10236 constant.
10237 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10238 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10239 variable MPTWO.
10240 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10241 MP3HALFS static const.
10242
10243 2013-01-01 David S. Miller <davem@davemloft.net>
10244
10245 * po/ca.po: Update from translation team.
10246
10247 2013-01-01 Joseph Myers <joseph@codesourcery.com>
10248
10249 * scripts/update-copyrights: New file.
10250 * Makeconfig: Reformat copyright notice.
10251 * ctype/ctype.h: Likewise.
10252 * debug/swprintf_chk.c: Likewise.
10253 * elf/dl-cache.c: Likewise.
10254 * elf/dl-debug.c: Likewise.
10255 * elf/dl-object.c: Likewise.
10256 * grp/initgroups.c: Likewise.
10257 * hurd/Makefile: Likewise.
10258 * hurd/hurd/signal.h: Likewise.
10259 * hurd/hurdfault.c: Likewise.
10260 * hurd/hurdioctl.c: Likewise.
10261 * hurd/hurdlookup.c: Likewise.
10262 * hurd/intr-msg.c: Likewise.
10263 * iconv/gconv_open.c: Likewise.
10264 * libio/swprintf.c: Likewise.
10265 * locale/lc-ctype.c: Likewise.
10266 * locale/nl_langinfo.c: Likewise.
10267 * mach/Machrules: Likewise.
10268 * mach/Makefile: Likewise.
10269 * malloc/obstack.h: Likewise.
10270 * manual/Makefile: Likewise.
10271 * manual/tsort.awk: Likewise.
10272 * misc/bits/stab.def: Likewise.
10273 * nis/nis_print_group_entry.c: Likewise.
10274 * nis/nis_table.c: Likewise.
10275 * nis/nss_compat/compat-pwd.c: Likewise.
10276 * nis/nss_compat/compat-spwd.c: Likewise.
10277 * po/Makefile: Likewise.
10278 * posix/fnmatch.c: Likewise.
10279 * posix/regex.h: Likewise.
10280 * resolv/Makefile: Likewise.
10281 * resolv/nss_dns/dns-network.c: Likewise.
10282 * resolv/res_hconf.c: Likewise.
10283 * scripts/gen-sorted.awk: Likewise.
10284 * soft-fp/soft-fp.h: Likewise.
10285 * stdio-common/printf.h: Likewise.
10286 * stdlib/monetary.h: Likewise.
10287 * stdlib/random.c: Likewise.
10288 * stdlib/random_r.c: Likewise.
10289 * sysdeps/generic/Makefile: Likewise.
10290 * sysdeps/gnu/Makefile: Likewise.
10291 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10293 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10304 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10305 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10306 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10307 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10308 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10309 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10310 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10311 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10312 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10313 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10319 * sysdeps/mach/hurd/errnos.awk: Likewise.
10320 * sysdeps/mach/hurd/fork.c: Likewise.
10321 * sysdeps/mach/hurd/getcwd.c: Likewise.
10322 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10323 * sysdeps/mach/hurd/mmap.c: Likewise.
10324 * sysdeps/mach/hurd/utimes.c: Likewise.
10325 * sysdeps/mach/hurd/xmknod.c: Likewise.
10326 * sysdeps/posix/profil.c: Likewise.
10327 * sysdeps/posix/readdir_r.c: Likewise.
10328 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10329 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10330 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10331 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10333 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10334 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10335 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10337 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10338 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10339 * sysdeps/pthread/lio_listio.c: Likewise.
10340 * sysdeps/sparc/dl-procinfo.h: Likewise.
10341 * sysdeps/unix/i386/sysdep.S: Likewise.
10342 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10343 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10344 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10345 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10347 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10348 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10349 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10350 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10351 * sysdeps/wordsize-32/divdi3.c: Likewise.
10352 * time/sys/time.h: Likewise.
10353 * wcsmbs/Makefile: Likewise.
10354
10355 2013-01-01 David S. Miller <davem@davemloft.net>
10356
10357 * po/fr.po: Update from translation team.
10358
10359 * catgets/gencat.c: Update copyright year.
10360 * csu/version.c: Likewise.
10361 * debug/catchsegv.sh: Likewise.
10362 * debug/pcprofiledump.c: Likewise.
10363 * debug/xtrace.sh: Likewise.
10364 * elf/ldconfig.c: Likewise.
10365 * elf/ldd.bash.in: Likewise.
10366 * elf/pldd.c: Likewise.
10367 * elf/sotruss.ksh: Likewise.
10368 * elf/sprof.c: Likewise.
10369 * iconv/iconv_prog.c: Likewise.
10370 * iconv/iconvconfig.c: Likewise.
10371 * locale/programs/locale.c: Likewise.
10372 * locale/programs/localedef.c: Likewise.
10373 * login/programs/pt_chown.c: Likewise.
10374 * malloc/memusage.sh: Likewise.
10375 * malloc/memusagestat.c: Likewise.
10376 * malloc/mtrace.pl: Likewise.
10377 * nscd/nscd.c: Likewise.
10378 * nss/getent.c: Likewise.
10379 * nss/makedb.c: Likewise.
10380 * posix/getconf.c: Likewise.
10381
10382 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10383
10384 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10385 numbers.
10386
10387 2012-12-30 Mike Frysinger <vapier@gentoo.org>
10388
10389 * math/bits/mathcalls.h (modf): Use __nonnull.
10390
10391 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10392
10393 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10394 (split): Use macro CN instead of the bare value.
10395 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10396 could be used.
10397 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10398 instead of the bare value.
10399 (power1): Likewise.
10400
10401 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10402
10403 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10404 __ATAN_TWOM.
10405 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10406
10407 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10408 their values.
10409 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10410 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10411 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10412 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10413
10414 2012-12-28 Andreas Jaeger <aj@suse.de>
10415
10416 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10417 values are from Linux 3.7.
10418
10419 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10420 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10421
10422 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10423
10424 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10425 TRUE case.
10426
10427 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10428 (norm): Likewise.
10429 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10430 variables with preprocessor constants.
10431 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10432 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10433 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10434
10435 2012-12-27 Bruno Haible <bruno@clisp.org>
10436
10437 [BZ #14317]
10438 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10439 only if needed.
10440
10441 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10442
10443 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10444 and use variable directly.
10445 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10446
10447 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10448 MPONE.
10449 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10450 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10451 variable MPONE.
10452 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10453 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10454 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10455 include directive. Remove local variable MPONE.
10456 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10457 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10458 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10459
10460 2012-12-25 David S. Miller <davem@davemloft.net>
10461
10462 * version.h (RELEASE): Set to "development".
10463 (VERSION): Set to "2.17.90".
10464 * NEWS: Add 2.18 section.
10465
10466 2012-12-21 David S. Miller <davem@davemloft.net>
10467
10468 * po/hr.po: Update from translation team.
10469
10470 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10471
10472 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10473
10474 2012-12-19 Steve Ellcey <sellcey@mips.com>
10475
10476 * NEWS: Mention new memcpy for MIPS.
10477
10478 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10479
10480 * manual/contrib.texi (Contributors): Spelling correction.
10481
10482 2012-12-15 David S. Miller <davem@davemloft.net>
10483
10484 * po/ru.po: Update from translation team.
10485
10486 2012-12-13 David S. Miller <davem@davemloft.net>
10487
10488 * NEWS: Mention IFUNC testsuite enhancements.
10489
10490 * po/pl.po: Update from translation team.
10491 * po/bg.po: Likewise.
10492
10493 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10494 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10495
10496 2012-12-11 David S. Miller <davem@davemloft.net>
10497
10498 * po/sv.po: Update from translation team.
10499
10500 * po/vi.po: Update from translation team.
10501
10502 * po/cs.po: Update from translation team.
10503
10504 * po/de.po: Update from translation team.
10505 * po/eo.po: Likewise.
10506 * po/nl.po: Likewise.
10507
10508 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10509
10510 [BZ #14246]
10511 * manual/argp.texi (Argp Helper Functions): Move node to follow
10512 Argp Parsing State.
10513
10514 [BZ #14872]
10515 * manual/conf.texi (Limits on File System Capacity): Mention if
10516 terminating null is included in the max size.
10517
10518 2012-12-10 Andreas Jaeger <aj@suse.de>
10519
10520 * po/cs.po: Update from translation team.
10521
10522 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10523
10524 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10525 void pointer and cast to uintptr_t.
10526 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10527 path.
10528 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10529 * sysdeps/s390/s390-64/memset.S: Likewise.
10530
10531 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
10532
10533 [BZ #14833]
10534 * menual/message.texi (Message Translation): Fix typos.
10535 (Helper programs for gettext): Likewise.
10536
10537 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10538
10539 [BZ #14898]
10540 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10541 Change to -1.
10542
10543 2012-12-07 David S. Miller <davem@davemloft.net>
10544
10545 * po/libc.pot: Update.
10546
10547 2012-12-07 Richard Henderson <rth@redhat.com>
10548
10549 [BZ #10114]
10550 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10551 normal/normal case to before the switch.
10552 (_FP_DIV): Likewise.
10553
10554 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10555 Mike Frysinger <vapier@gentoo.org>
10556
10557 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10558 check for __NR_fadvise64_64.
10559
10560 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10561
10562 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10563 0, not just to plain "0" as a statement.
10564 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10565 with cw.
10566
10567 2012-12-06 Joseph Myers <joseph@codesourcery.com>
10568
10569 * NEWS: Use sourceware.org in Bugzilla URL.
10570
10571 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10572
10573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10574 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10575
10576 * stdio-common/tst-put-error.c (do_test): Add newline to the
10577 padded test to ensure flush.
10578
10579 2012-12-05 Jeff Law <law@redhat.com>
10580
10581 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10582
10583 2012-12-05 Joseph Myers <joseph@codesourcery.com>
10584
10585 * README: Don't refer to ports add-on as distributed separately.
10586 Mention AArch64 in list of systems supported in the ports add-on.
10587
10588 * LICENSES: Add more non-FSF copyright and license notices.
10589
10590 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10591 ((unused)).
10592
10593 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10594
10595 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10596 10000 as width of padded output.
10597
10598 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10599
10600 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10601
10602 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10603 variable LX with __attribute__ ((unused)).
10604 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10605 Likewise.
10606 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10607 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10608 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10609 with __attribute__ ((unused)).
10610
10611 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
10612
10613 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10614
10615 2012-12-04 Joseph Myers <joseph@codesourcery.com>
10616
10617 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10618 (CFLAGS-nldbl-acos.c): New variable.
10619 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10620 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10621 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10622 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10623 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10624 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10625 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10626 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10627 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10628 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10629 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10630 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10631 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10632 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10633 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10634 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10635 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10636 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10637 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10638 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10639 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10640 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10641 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10642 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10643 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10644 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10645 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10646 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10647 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10648 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10649 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10650 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10651 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10652 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10653 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10654 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10655 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10656 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10657 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10658 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10659 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10660 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10661 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10662 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10663 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10664 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10665 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10666 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10667 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10668 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10669 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10670 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10671 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10672 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10673 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10674 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10675 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10676 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10677 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10678 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10679 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10680 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10681 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10682 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10683 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10684 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10685 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10686 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10687 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10688 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10689 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10690 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10691 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10692 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10693 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10694 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10695 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10696 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10697 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10698 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10699 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10700 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10701 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10702 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10703 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10704 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10705 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10706 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10707 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10708 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10709 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10710 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10711 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10712 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10713 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10714 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10715 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10716
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10718 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10719
10720 [BZ #14914]
10721 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10722 whole low double instead of just low 47 bits when splitting values
10723 into two parts.
10724
10725 2012-12-03 Allan McRae <allan@archlinux.org>
10726
10727 * manual/stdio.texi (Predefined Printf Handlers): Remove
10728 @hsep and @vsep usage.
10729
10730 2012-12-03 Mike Frysinger <vapier@gentoo.org>
10731
10732 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10733 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10734
10735 2012-12-03 Jeff Law <law@redhat.com>
10736
10737 * time/sys/time.h (settimeofday): Do not mark TV argument
10738 as __nonnull.
10739
10740 2012-12-01 Mike Frysinger <vapier@gentoo.org>
10741
10742 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10743 when currently writing and seek to current position when not.
10744 * libio/Makefile (tests): Remove bug-fclose1.
10745 * libio/bug-fclose1.c: Delete.
10746
10747 2012-12-01 Joseph Myers <joseph@codesourcery.com>
10748
10749 * manual/arith.texi (feenableexcept): Fix typo.
10750 (fedisableexcept): Likewise.
10751
10752 2012-11-30 Roland McGrath <roland@hack.frob.com>
10753
10754 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10755 second, differently-typed declaration, rather than a cast.
10756
10757 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10758
10759 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10760 * include/rpc/svc.h: ... here.
10761
10762 2012-11-30 Aurelien Jarno <aurel32@debian.org>
10763
10764 [BZ #13013]
10765 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10766 depending n and resplen2 to catch cases where answer
10767 equals answerp2.
10768
10769 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10770
10771 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10772 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10773
10774 2012-11-29 Mike Frysinger <vapier@gentoo.org>
10775
10776 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10777
10778 2012-11-29 Roland McGrath <roland@hack.frob.com>
10779
10780 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10781
10782 2012-11-28 Jeff Law <law@redhat.com>
10783
10784 [BZ #13761]
10785 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10786 dataset_temporary. Track alloca usage into alloca_used.
10787 If dataset is large allocate and release it via malloc/free.
10788
10789 2012-06-04 Florian Weimer <fweimer@redhat.com>
10790
10791 [BZ #14197]
10792 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10793
10794 2012-11-28 David S. Miller <davem@davemloft.net>
10795
10796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10797
10798 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10799
10800 [BZ #14803]
10801 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10802 of pi/2 rounded to nearest to 64 bits.
10803 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10804 nearest to 64 bits.
10805 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10806 bits.
10807
10808 2012-11-28 Jeff Law <law@redhat.com>
10809 Martin Osvald <mosvald@redhat.com>
10810
10811 [BZ #14889]
10812 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10813 * sunrpc/svc.c: Include time.h.
10814 (__svc_accept_failed): New function.
10815 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10816 any reason other than EINTR, call __svc_accept_failed.
10817 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10818 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10819
10820 2012-11-28 Andreas Schwab <schwab@suse.de>
10821
10822 * scripts/abilist.awk: Also handle indirect functions in .opd
10823 section.
10824
10825 2012-11-28 Joseph Myers <joseph@codesourcery.com>
10826
10827 [BZ #13881]
10828 * sysdeps/x86/fpu/powl_helper.c: New file.
10829 * sysdeps/x86/fpu/Makefile: Likewise.
10830 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10831 (p3): New object.
10832 (__ieee754_powl): Use __powl_helper for finite arguments except
10833 integer exponents below 8.
10834 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10835 (p3): New object.
10836 (__ieee754_powl): Use __powl_helper for finite arguments except
10837 integer exponents below 8.
10838 * math/libm-test.inc (pow_test): Add more tests and enable some
10839 previously disabled tests.
10840 * sysdeps/i386/fpu/libm-test-ulps: Update.
10841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10842
10843 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10844 Carlos O'Donell <carlos_odonell@mentor.com>
10845
10846 * nss/makedb.c (is_prime): Assert that input is odd and greater
10847 than 4. Note that fact in a comment too.
10848 (next_prime): Add 4 to input.
10849
10850 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10851
10852 [BZ #11741]
10853 * libio/Makefile (tests): Add test case tst-fwrite-error.
10854 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10855 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10856 * libio/tst-fwrite-error.c: New test case.
10857
10858 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10859
10860 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10861 before casting to void *.
10862 * include/libc-internal.h (__pointer_type): New macro.
10863 (__integer_if_pointer_type_sub): Likewise.
10864 (__integer_if_pointer_type): Likewise.
10865 (cast_to_integer): Likewise.
10866 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10867 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10868 before casting to atomic64_t.
10869 (atomic_exchange_acq): Likewise.
10870 (__arch_exchange_and_add_body): Likewise.
10871 (__arch_add_body): Likewise.
10872 (atomic_add_negative): Likewise.
10873 (atomic_add_zero): Likewise.
10874
10875 2012-11-26 Joseph Myers <joseph@codesourcery.com>
10876
10877 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10878 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10879 (add_fdes): Likewise.
10880 (linear_search_fdes): Likewise.
10881 (binary_search_unencoded_fdes): Likewise.
10882
10883 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10884
10885 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10886
10887 2012-11-24 Adam Conrad <adconrad@0c3.net>
10888
10889 * configure.in: Autodetect C++ header directories.
10890 * configure: Regenerated.
10891
10892 2012-11-23 Mike Frysinger <vapier@gentoo.org>
10893
10894 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10895
10896 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10897
10898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10899
10900 2012-11-22 Joseph Myers <joseph@codesourcery.com>
10901
10902 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10903 LDBL_MANT_DIG == 106]: Disable some tests.
10904 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10905 Likewise.
10906 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10907 Likewise.
10908
10909 [BZ #14871]
10910 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10911 input for small inputs. Return +/- pi/2 for large inputs.
10912 * math/libm-test.inc (atan_test): Add more tests.
10913
10914 * sysdeps/generic/unwind-dw2-fde-glibc.c
10915 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10916 __attribute__ ((unused)).
10917
10918 [BZ #14645]
10919 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10920 x * y if x and y are nonzero and z is zero.
10921
10922 [BZ #14811]
10923 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10924 nonzero exponents with absolute value below 0x1p-117 to +/-
10925 0x1p-117.
10926
10927 [BZ #14869]
10928 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10929 up arguments below 2**-450, not just those below 2**-500.
10930 * math/libm-test.inc (hypot_test): Add another test.
10931
10932 [BZ #14868]
10933 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10934 Return a+b for ratio over 2**120, not 2**60.
10935 * math/libm-test.inc (hypot_test): Add another test.
10936
10937 * math/libm-test.inc (clog_test): Use
10938 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10939 (clog10_test): Likewise.
10940
10941 [BZ #6778]
10942 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10943
10944 2012-11-22 Andreas Schwab <schwab@suse.de>
10945
10946 * sysdeps/i386/fpu/libm-test-ulps: Update.
10947
10948 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10949
10950 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10951 printf output with newline.
10952
10953 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10954
10955 [BZ #14865]
10956 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10957 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10958 -z nodlopen, -z initfirst and -z execstack support.
10959 * configure: Regenerated.
10960
10961 * elf/elf.h (DF_1_NODIRECT): New macro.
10962 (DF_1_IGNMULDEF): Likewise.
10963 (DF_1_NOKSYMS): Likewise.
10964 (DF_1_NOHDR): Likewise.
10965 (DF_1_EDITED): Likewise.
10966 (DF_1_NORELOC): Likewise.
10967 (DF_1_SYMINTPOSE): Likewise.
10968 (DF_1_GLOBAUDIT): Likewise.
10969 (DF_1_SINGLETON): Likewise.
10970 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10971 DT_1_SUPPORTED_MASK bits.
10972 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10973
10974 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10975
10976 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10977
10978 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10979
10980 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10981 macro.
10982
10983 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10984 (sendmmsg): Move declarations...
10985 * socket/sys/socket.h: ... here.
10986 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10987 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10988 include it from...
10989 * socket/recvmmsg.c: ... this new file.
10990 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10991 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10992 definition of __sendmmsg hidden.
10993 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10994 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10995 Move ENOSYS stub into and include it from...
10996 * socket/sendmmsg.c: ... this new file.
10997 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10998 (sysdep_routines): Move recvmmsg and sendmmsg...
10999 * socket/Makefile (routines): ... here.
11000 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11001 (GLIBC_PRIVATE): Add __sendmmsg.
11002 * include/sys/socket.h (__sendmmsg): Add declarations.
11003 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11004 sendmmsg.
11005
11006 2012-11-20 Joseph Myers <joseph@codesourcery.com>
11007
11008 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11009 variable I1 with __attribute__ ((unused)).
11010 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11011
11012 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11013
11014 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11015 DUMMY variables with __attribute__ ((unused)).
11016
11017 * bits/byteswap.h: Include <bits/types.h>.
11018 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11019
11020 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11021
11022 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11023 string_t. Do not manually set errno.
11024 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11025 length with __strnlen. Make sure to both set errno and return it on
11026 failure.
11027
11028 2012-11-19 David S. Miller <davem@davemloft.net>
11029
11030 With help from Joseph Myers.
11031 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11032 very large arguments properly.
11033 * math/libm-test.inc (atan_test): New tests.
11034 (atan2_test): New tests.
11035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11037
11038 2012-11-19 Joseph Myers <joseph@codesourcery.com>
11039
11040 [BZ #14856]
11041 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11042 Define to 3.
11043
11044 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11045 [POSIX] (EADDRNOTAVAIL): Likewise.
11046 [POSIX] (EAFNOSUPPORT): Likewise.
11047 [POSIX] (EALREADY): Likewise.
11048 [POSIX] (ECONNABORTED): Likewise.
11049 [POSIX] (ECONNREFUSED): Likewise.
11050 [POSIX] (ECONNRESET): Likewise.
11051 [POSIX] (EDESTADDRREQ): Likewise.
11052 [POSIX] (EDQUOT): Likewise.
11053 [POSIX] (EHOSTUNREACH): Likewise.
11054 [POSIX] (EIDRM): Likewise.
11055 [POSIX] (EISCONN): Likewise.
11056 [POSIX] (ELOOP): Likewise.
11057 [POSIX] (EMULTIHOP): Likewise.
11058 [POSIX] (ENETDOWN): Likewise.
11059 [POSIX] (ENETUNREACH): Likewise.
11060 [POSIX] (ENOBUFS): Likewise.
11061 [POSIX] (ENODATA): Likewise.
11062 [POSIX] (ENOLINK): Likewise.
11063 [POSIX] (ENOMSG): Likewise.
11064 [POSIX] (ENOPROTOOPT): Likewise.
11065 [POSIX] (ENOSR): Likewise.
11066 [POSIX] (ENOSTR): Likewise.
11067 [POSIX] (ENOTCONN): Likewise.
11068 [POSIX] (ENOTSOCK): Likewise.
11069 [POSIX] (EOPNOTSUPP): Likewise.
11070 [POSIX] (EOVERFLOW): Likewise.
11071 [POSIX] (EPROTO): Likewise.
11072 [POSIX] (EPROTONOSUPPORT): Likewise.
11073 [POSIX] (EPROTOTYPE): Likewise.
11074 [POSIX] (ESTALE): Likewise.
11075 [POSIX] (ETIME): Likewise.
11076 [POSIX] (ETXTBSY): Likewise.
11077 [POSIX] (EWOULDBLOCK): Likewise.
11078 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11079 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11080 [POSIX] (SEEK_CUR): Likewise.
11081 [POSIX] (SEEK_END): Likewise.
11082 [POSIX || UNIX98] (mode_t): Do not require.
11083 [POSIX] (off_t): Likewise.
11084 [POSIX] (pid_t): Likewise.
11085 [POSIX] (sys/stat.h): Do not allow header.
11086 [POSIX] (unistd.h): Likewise.
11087 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11088 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11089 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11090 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11091 require.
11092 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11093 sigevent): Specify elements.
11094 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11095 entry.
11096 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11097 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11098
11099 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11100 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11101 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11102 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11103 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11104 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11105 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11106 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11107 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11108 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11109 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11110 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11111 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11112 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11113 Likewise.
11114 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11115 Likewise.
11116 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11117 Likewise.
11118 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11119 Likewise.
11120 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11121 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11122 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11123 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11124 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11125 Specify lower bound on value.
11126 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11127 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11128 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11129 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11130 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11131 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11132 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11133 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11134 value.
11135 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11136 as optional.
11137 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11138 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11139 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11140 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11141 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11142 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11143 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11144 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11145 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11146 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11147 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11148 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11149 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11150 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11151 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11152 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11153 entry.
11154 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11155 optional.
11156 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11157 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11158 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11159 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11160 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11161 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11162 Likewise.
11163 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11164 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11165 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11166 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11167 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11168 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11169 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11170 as optional.
11171 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11172 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11173 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11174 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11175 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11176 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11177 specify as optional.
11178 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11179 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11180 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11181 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11182 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11183 [XPG3] (NL_LANGMAX): Likewise.
11184 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11185 [POSIX || XPG3] (NL_NMAX): Likewise.
11186 [POSIX || XPG3] (NL_SETMAX): Likewise.
11187 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11188 [XPG3] (NZERO): Likewise.
11189 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11190 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11191 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11192 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11193 (REG_ERANGE): Expect.
11194 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11195 optional-constant.
11196 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11197 Use (void) in prototype.
11198 [POSIX] (*_t): Allow.
11199 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11200 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11201 (WRDE_BADVAL): Expect.
11202
11203 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11204 expect.
11205 [XPG3 || XPG4] (O_RSYNC): Likewise.
11206 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11207 Likewise.
11208 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11209 [XPG3 || XPG4] (sigqueue): Likewise.
11210 [XPG3 || XPG4] (sigtimedwait): Likewise.
11211 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11212 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11213 [XPG3 || XPG4] (vsnprintf): Likewise.
11214 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11215 Likewise.
11216 [XPG3 || XPG4] (blksize_t): Likewise.
11217 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11218 Likewise.
11219 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11220 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11221 [XPG3 || XPG4] (struct itimerspec): Likewise.
11222 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11223 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11224 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11225 [XPG3 || XPG4] (clockid_t): Likewise.
11226 [XPG3 || XPG4] (timer_t): Likewise.
11227 [XPG3 || XPG4] (clock_getres): Likewise.
11228 [XPG3 || XPG4] (clock_gettime): Likewise.
11229 [XPG3 || XPG4] (clock_settime): Likewise.
11230 [XPG3 || XPG4] (nanosleep): Likewise.
11231 [XPG3 || XPG4] (timer_create): Likewise.
11232 [XPG3 || XPG4] (timer_delete): Likewise.
11233 [XPG3 || XPG4] (timer_gettime): Likewise.
11234 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11235 [XPG3 || XPG4] (timer_settime): Likewise.
11236 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11237 [XPG3 || XPG4] (getlogin_r): Likewise.
11238 [XPG3 || XPG4] (pread): Likewise.
11239 [XPG3 || XPG4] (pthread_atfork): Likewise.
11240 [XPG3 || XPG4] (pwrite): Likewise.
11241
11242 [BZ #14835]
11243 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11244 <bits/siginfo.h>.
11245
11246 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11247
11248 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11249 finalizing MALLSTREAM.
11250
11251 * sysdeps/mach/hurd/syncfs.c: New file.
11252
11253 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11254
11255 [BZ #14719]
11256 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11257 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11258 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11259 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11260 (_nss_dns_gethostbyname4_r): Likewise.
11261 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11262 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11263
11264 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11265
11266 [BZ #13763]
11267 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11268
11269 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11270
11271 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11272 * elf/cache.c (print_entry): Print ",AArch64" for
11273 FLAG_AARCH64_LIB64
11274
11275 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11276 * elf/cache.c (print_entry): Print ",hard-float" for
11277 FLAG_ARM_LIBHF.
11278
11279 2012-11-18 David S. Miller <davem@davemloft.net>
11280
11281 With help from Joseph Myers.
11282 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11283 cutoff to 2**-13.
11284 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11285 cutoff to 2**-25.
11286 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11287 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11288 small.
11289 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11290 * math/libm-test.inc (y0_test): New tests.
11291 (y1_test): New tests.
11292 * sysdeps/i386/fpu/libm-test-ulps: Update.
11293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11295
11296 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11297
11298 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11299 64-bit targets.
11300 * configure: Regenerated.
11301
11302 2012-11-17 David S. Miller <davem@davemloft.net>
11303
11304 [BZ #14811]
11305 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11306 nonzero exponents with absolute value below 0x1p-128 to +/-
11307 0x1p-128.
11308
11309 2012-11-17 Joseph Myers <joseph@codesourcery.com>
11310
11311 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11312
11313 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11314
11315 * posix/getconf-speclist.c: New file.
11316 * posix/posix-envs.def: Likewise.
11317 * posix/confstr.c (START_ENV_GROUP): New macro.
11318 (END_ENV_GROUP): Likewise.
11319 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11320 (KNOWN_PRESENT_ENV_STRING): Likewise.
11321 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11322 (UNKNOWN_ENVIRONMENT): Likewise.
11323 (confstr): Include posix-envs.def instead of handling
11324 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11325 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11326 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11327 (END_ENV_GROUP): Likewise.
11328 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11329 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11330 (UNKNOWN_ENVIRONMENT): Likewise.
11331 (__sysconf): Include posix-envs.def instead of handling associated
11332 cases directly here.
11333 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11334 preprocessing getconf-speclist.c rather than running getconf or
11335 generating empty file.
11336
11337 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11338
11339 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11340
11341 2012-11-16 Andrej Lajovic <natrij@gmail.com>
11342
11343 [BZ #14672]
11344 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11345
11346 2012-11-16 David S. Miller <davem@davemloft.net>
11347
11348 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11349 smaller than LDBL_EPSILON/2.0L, just return xm1.
11350
11351 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11352
11353 * elf/tst-array1.c (init): Set constructor priority to 1000.
11354 (fini): Set destructor priority to 1000.
11355 * elf/tst-array2dep.c: Likewise.
11356
11357 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11358
11359 [BZ #11741]
11360 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11361 (_IO_new_file_xsputn): Also return EOF if none of the input
11362 data was written when overflow failed.
11363 * libio/iopadn.c (_IO_padn): Likewise.
11364 * libio/iowpadn.c (_IO_wpadn): Likewise.
11365 * stdio-common/tst-put-error.c: Add copyright notice.
11366 (do_test): Add case for printing padded string.
11367 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11368 _IO_padn returned error.
11369 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11370 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11371 return EOF.
11372
11373 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11374
11375 * libio/libioP.h: Add comment note that the references to C++
11376 bits are now obsolete.
11377
11378 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11379
11380 * math/libm-test.inc (check_complex): Use asprintf.
11381
11382 2012-11-14 Joseph Myers <joseph@codesourcery.com>
11383
11384 * debug/pcprofiledump.c (print_version): Update copyright year.
11385 * malloc/memusagestat.c (print_version): Likewise.
11386
11387 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11388
11389 [BZ #14831]
11390 * elf/Makefile (tests): Add tst-audit8.
11391 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11392 ($(objpfx)tst-audit8.out): New target.
11393 (tst-audit8-ENV): New variable.
11394 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11395 audit if l_reloc_result is NULL.
11396 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11397 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11398 * elf/tst-audit8.c: New file.
11399
11400 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11401
11402 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11403 * misc/Makefile (CFLAGS-select.c): Define.
11404 * posix/Makefile (CFLAGS-pause.c): Define.
11405
11406 2012-11-13 David S. Miller <davem@davemloft.net>
11407
11408 * crypt/Makefile: Move test targets after toplevel Rules
11409 inclusion. Grab any necessary sysdep routines when linking.
11410 * crypt/md5.c (md5_process_block): Remove define, we will always
11411 name it __md5_process_block.
11412 (md5_finish_ctx): Update md5_process_block call.
11413 (md5_stream): Likewise.
11414 (md5_process_bytes): Likewise.
11415 (md5_process_block): Rename to __md5_process_block and move to ...
11416 * crypt/md5-block.c: ... here.
11417 * crypt/sha256.c (sha256_process_block): Move to ...
11418 * crypt/sha256-block.c: ... here.
11419 * crypt/sha512.c (sha512_process_block): Move to ...
11420 * crypt/sha512-block.c: ... here.
11421 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11422 path.
11423 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11424 * sysdeps/sparc/sparc64/multiarch/Makefile
11425 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11426 crypt subdir.
11427 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11428 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11429 multiarch changes.
11430 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11431 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11432 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11433 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11434 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11435 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11436 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11437 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11438 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11439 file.
11440 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11441 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11442 file.
11443 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11444
11445 2012-11-13 Joseph Myers <joseph@codesourcery.com>
11446
11447 * timezone/tzselect.ksh: Update from tzcode git revision
11448 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11449 * timezone/zdump.c: Likewise.
11450 * timezone/zic.c: Likewise.
11451 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11452 in TZVERSION setting, not $(PKGVERSION).
11453 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11454 REPORT_BUGS_TO settings.
11455
11456 [BZ #14838]
11457 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11458 macro.
11459
11460 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11461
11462 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11463 detection to immediately after _FP_ROUND().
11464 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11465 bits are 0.
11466
11467 2012-11-11 David S. Miller <davem@davemloft.net>
11468
11469 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11470 inttypes.h
11471 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11472 __close rather than their public counterparts.
11473
11474 2012-11-10 Joseph Myers <joseph@codesourcery.com>
11475
11476 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11477 file.
11478 [UNIX98] (sem_timedwait): Do not expect.
11479 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11480 [XPG4 || UNIX98] (sockatmark): Do not expect.
11481 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11482 (clock_getcpuclockid): Do not expect.
11483 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11484 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11485 Do not expect.
11486 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11487 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11488 [UNIX98] (vwscanf): Likewise.
11489 [UNIX98] (vswscanf): Likewise.
11490
11491 2012-11-09 Joseph Myers <joseph@codesourcery.com>
11492
11493 * timezone/version.h: Remove file.
11494 * timezone/README: Do not refer to version.h.
11495 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11496 $(objpfx)version.h.
11497 ($(objpfx)zdump.o): Likewise.
11498 ($(objpfx)version.h): New target.
11499
11500 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11501 2012i.
11502 * timezone/README: Don't mention modification to tzselect.ksh.
11503 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11504 work on unmodified tzselect.ksh. Substitute version numbers in
11505 tzselect.ksh.
11506
11507 * Makefile (format-me): Remove.
11508 (INSTALL): Adjust indentation. Use commands directly instead of
11509 using $(format-me).
11510
11511 * aclocal.m4 (ACX_PKGVERSION): New macro.
11512 (ACX_BUGURL): Likewise.
11513 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11514 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11515 (REPORT_BUGS_TO): Likewise.
11516 * configure: Regenerated.
11517 * config.h.in (PKGVERSION): New macro.
11518 (REPORT_BUGS_TO): Likewise.
11519 * config.make.in (PKGVERSION): New variable.
11520 (PKGVERSION_TEXI): Likewise.
11521 (REPORT_BUGS_TO): Likewise.
11522 (REPORT_BUGS_TEXI): Likewise.
11523 * Makefile (format-me): Use -I$(common-objpfx)manual.
11524 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11525 ($(common-objpfx)manual/%): New target.
11526 (manual/%): Remove target.
11527 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11528 (print_version): Use PKGVERSION.
11529 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11530 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11531 and REPORT_BUGS_TO.
11532 ($(objpfx)xtrace): Likewise.
11533 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11534 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11535 (print_version): Use PKGVERSION.
11536 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11537 (do_version): Use PKGVERSION.
11538 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11539 REPORT_BUGS_TO.
11540 (common-ldd-rewrite): Likewise.
11541 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11542 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11543 (print_version): Use PKGVERSION.
11544 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11545 * elf/pldd.c (argp_program_bug_address): Remove variable.
11546 (more_help): New function.
11547 (argp): Use more_help.
11548 (print_version): Use PKGVERSION.
11549 * elf/sln.c (main): Use PKGVERSION.
11550 (usage): Use REPORT_BUGS_TO.
11551 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11552 (top level): Use PKGVERSION.
11553 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11554 (print_version): Use PKGVERSION.
11555 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11556 (print_version): Use PKGVERSION.
11557 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11558 (print_version): Use PKGVERSION.
11559 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11560 (print_version): Use PKGVERSION.
11561 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11562 (print_version): Use PKGVERSION.
11563 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11564 (print_version): Use PKGVERSION.
11565 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11566 and BUGURL.
11567 ($(objpfx)memusage): Likewise.
11568 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11569 (do_version): Use PKGVERSION.
11570 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11571 (print_version): Use PKGVERSION.
11572 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11573 ($PKGVERSION): New variable.
11574 ($REPORT_BUGS_TO): Likewise.
11575 (usage): Use $REPORT_BUGS_TO.
11576 (top level): Use $PKGVERSION.
11577 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11578 ($(objpfx)pkgvers.texi): New rule.
11579 ($(objpfx)stamp-pkgvers): Likewise.
11580 * manual/install.texi: Include pkgvers.texi.
11581 (--with-pkgversion): Document new configure option.
11582 (--with-bugurl): Likewise.
11583 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11584 than necessarily for this particular distribution. Use
11585 REPORT_BUGS_TO for where to report bugs.
11586 * INSTALL: Regenerated.
11587 * manual/libc.texinfo: Include pkgvers.texi.
11588 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11589 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11590 (print_version): Use PKGVERSION.
11591 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11592 (print_version): Use PKGVERSION.
11593 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11594 (print_version): Use PKGVERSION.
11595 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11596 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11597 macro.
11598 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11599 (print_version): Use PKGVERSION.
11600 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11601 (print_version): Use PKGVERSION.
11602 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11603 and PKGVERSION.
11604
11605 * timezone/checktab.awk: Update from tzcode 2012i.
11606 * timezone/ialloc.c: Likewise.
11607 * timezone/private.h: Likewise.
11608 * timezone/scheck.c: Likewise.
11609 * timezone/tzfile.h: Likewise.
11610 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11611 (TZVERSION): Hardcode tzcode version number.
11612 * timezone/zdump.c: Update from tzcode 2012i.
11613 * timezone/zic.c: Likewise.
11614 * timezone/version.h: New file.
11615 * timezone/README: Describe version.h. Update upstream location.
11616
11617 [BZ #14824]
11618 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11619 (mktemp): Enable declaration.
11620 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11621 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11622 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11623 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11624 Likewise.
11625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11626 Likewise.
11627 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11628 Likewise.
11629 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11630 Likewise.
11631 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11632 Likewise.
11633 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11634 Likewise.
11635
11636 [BZ #14821]
11637 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11638 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11639 for copies of such integer values.
11640 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11641 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11642
11643 2012-11-09 Andreas Jaeger <aj@suse.de>
11644
11645 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11646 definitions and declarations that are provided by
11647 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11648
11649 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11650
11651 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11652 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11653 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11654 definition.
11655
11656 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11657
11658 * elf/elf.h: Update comment before AArch64 relocations.
11659
11660 2012-11-07 David S. Miller <davem@davemloft.net>
11661
11662 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11663 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11664 (__start_context): Declare.
11665 (__makecontext_ret): Delete.
11666 (__makecontext): Hook up __start_context instead of
11667 __makecontext_ret.
11668 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11669 (sysdep_routines): Add __start_context when in stdlib.
11670
11671 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11672
11673 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11674 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11675 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11676 hardcoded "nm".
11677 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11678 (READELF): New variable. Use it instead of hardcoded "readelf".
11679
11680 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11681
11682 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11683 * sysdeps/x86/Makefile: Here.
11684 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11685 * sysdeps/x86/tst-xmmymm.sh: This.
11686
11687 2012-11-07 Joseph Myers <joseph@codesourcery.com>
11688
11689 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11690 expectations.
11691 [UNIX98] (pthread_barrier_t): Do not expect.
11692 [UNIX98] (pthread_barrierattr_t): Likewise.
11693 [UNIX98] (pthread_spinlock_t): Likewise.
11694 [UNIX98] (pthread_barrier_destroy): Likewise.
11695 [UNIX98] (pthread_barrier_init): Likewise.
11696 [UNIX98] (pthread_barrier_wait): Likewise.
11697 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11698 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11699 [UNIX98] (pthread_barrierattr_init): Likewise.
11700 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11701 [UNIX98] (pthread_getcpuclockid): Likewise.
11702 [UNIX98] (pthread_mutex_timedlock): Likewise.
11703 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11704 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11705 [UNIX98] (pthread_sigmask): Likewise.
11706 [UNIX98] (pthread_spin_destroy): Likewise.
11707 [UNIX98] (pthread_spin_init): Likewise.
11708 [UNIX98] (pthread_spin_lock): Likewise.
11709 [UNIX98] (pthread_spin_trylock): Likewise.
11710 [UNIX98] (pthread_spin_unlock): Likewise.
11711 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11712 Do not expect.
11713 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11714 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11715 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11716 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11717 [XPG3 || XPG4] (pthread_key_t): Likewise.
11718 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11719 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11720 [XPG3 || XPG4] (pthread_once_t): Likewise.
11721 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11722 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11723 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11724 [XPG3 || XPG4] (pthread_t): Likewise.
11725
11726 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11727 not expect.
11728 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11729
11730 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11731 Change function return type to int.
11732
11733 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11734 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11735 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11736 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11737 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11738 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11739 [!POSIX] (posix_madvise): Likewise.
11740 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11741 && !UNIX98].
11742 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11743 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11744 (mode_t): Likewise.
11745 (posix_mem_offset): Likewise.
11746 (posix_typed_mem_get_info): Likewise.
11747 (posix_typed_mem_open): Likewise.
11748
11749 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11750 Change condition to [XOPEN2K8].
11751
11752 * conform/conformtest.pl: Preprocess allow-header data with -x c
11753 instead of from stdin.
11754 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11755 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11756 [C99-based standards] (cerfc): Likewise.
11757 [C99-based standards] (cexp2): Likewise.
11758 [C99-based standards] (cexpm1): Likewise.
11759 [C99-based standards] (clog10): Likewise.
11760 [C99-based standards] (clog1p): Likewise.
11761 [C99-based standards] (clog2): Likewise.
11762 [C99-based standards] (clgamma): Likewise.
11763 [C99-based standards] (ctgamma): Likewise.
11764 [C99-based standards] (cerff): Likewise.
11765 [C99-based standards] (cerfcf): Likewise.
11766 [C99-based standards] (cexp2f): Likewise.
11767 [C99-based standards] (cexpm1f): Likewise.
11768 [C99-based standards] (clog10f): Likewise.
11769 [C99-based standards] (clog1pf): Likewise.
11770 [C99-based standards] (clog2f): Likewise.
11771 [C99-based standards] (clgammaf): Likewise.
11772 [C99-based standards] (ctgammaf): Likewise.
11773 [C99-based standards] (cerfl): Likewise.
11774 [C99-based standards] (cerfcl): Likewise.
11775 [C99-based standards] (cexp2l): Likewise.
11776 [C99-based standards] (cexpm1l): Likewise.
11777 [C99-based standards] (clog10l): Likewise.
11778 [C99-based standards] (clog1pl): Likewise.
11779 [C99-based standards] (clog2l): Likewise.
11780 [C99-based standards] (clgammal): Likewise.
11781 [C99-based standards] (ctgammal): Likewise.
11782 * conform/data/inttypes.h-data [C99-based standards]: Include
11783 stdint.h-data. Remove all expectations for stdint.h contents.
11784 [C99-based standards] (PRI*): Do not allow.
11785 [C99-based standards] (SCN*): Likewise.
11786 [C99-based standards] (*_t): Likewise.
11787 [C99-based-standards] (PRId8): Expect macro.
11788 [C99-based-standards] (PRIi8): Likewise.
11789 [C99-based-standards] (PRIo8): Likewise.
11790 [C99-based-standards] (PRIu8): Likewise.
11791 [C99-based-standards] (PRIx8): Likewise.
11792 [C99-based-standards] (PRIX8): Likewise.
11793 [C99-based-standards] (SCNd8): Likewise.
11794 [C99-based-standards] (SCNi8): Likewise.
11795 [C99-based-standards] (SCNo8): Likewise.
11796 [C99-based-standards] (SCNu8): Likewise.
11797 [C99-based-standards] (SCNx8): Likewise.
11798 [C99-based-standards] (PRIdLEAST8): Likewise.
11799 [C99-based-standards] (PRIiLEAST8): Likewise.
11800 [C99-based-standards] (PRIoLEAST8): Likewise.
11801 [C99-based-standards] (PRIuLEAST8): Likewise.
11802 [C99-based-standards] (PRIxLEAST8): Likewise.
11803 [C99-based-standards] (PRIXLEAST8): Likewise.
11804 [C99-based-standards] (SCNdLEAST8): Likewise.
11805 [C99-based-standards] (SCNiLEAST8): Likewise.
11806 [C99-based-standards] (SCNoLEAST8): Likewise.
11807 [C99-based-standards] (SCNuLEAST8): Likewise.
11808 [C99-based-standards] (SCNxLEAST8): Likewise.
11809 [C99-based-standards] (PRIdFAST8): Likewise.
11810 [C99-based-standards] (PRIiFAST8): Likewise.
11811 [C99-based-standards] (PRIoFAST8): Likewise.
11812 [C99-based-standards] (PRIuFAST8): Likewise.
11813 [C99-based-standards] (PRIxFAST8): Likewise.
11814 [C99-based-standards] (PRIXFAST8): Likewise.
11815 [C99-based-standards] (SCNdFAST8): Likewise.
11816 [C99-based-standards] (SCNiFAST8): Likewise.
11817 [C99-based-standards] (SCNoFAST8): Likewise.
11818 [C99-based-standards] (SCNuFAST8): Likewise.
11819 [C99-based-standards] (SCNxFAST8): Likewise.
11820 [C99-based-standards] (PRId16): Likewise.
11821 [C99-based-standards] (PRIi16): Likewise.
11822 [C99-based-standards] (PRIo16): Likewise.
11823 [C99-based-standards] (PRIu16): Likewise.
11824 [C99-based-standards] (PRIx16): Likewise.
11825 [C99-based-standards] (PRIX16): Likewise.
11826 [C99-based-standards] (SCNd16): Likewise.
11827 [C99-based-standards] (SCNi16): Likewise.
11828 [C99-based-standards] (SCNo16): Likewise.
11829 [C99-based-standards] (SCNu16): Likewise.
11830 [C99-based-standards] (SCNx16): Likewise.
11831 [C99-based-standards] (PRIdLEAST16): Likewise.
11832 [C99-based-standards] (PRIiLEAST16): Likewise.
11833 [C99-based-standards] (PRIoLEAST16): Likewise.
11834 [C99-based-standards] (PRIuLEAST16): Likewise.
11835 [C99-based-standards] (PRIxLEAST16): Likewise.
11836 [C99-based-standards] (PRIXLEAST16): Likewise.
11837 [C99-based-standards] (SCNdLEAST16): Likewise.
11838 [C99-based-standards] (SCNiLEAST16): Likewise.
11839 [C99-based-standards] (SCNoLEAST16): Likewise.
11840 [C99-based-standards] (SCNuLEAST16): Likewise.
11841 [C99-based-standards] (SCNxLEAST16): Likewise.
11842 [C99-based-standards] (PRIdFAST16): Likewise.
11843 [C99-based-standards] (PRIiFAST16): Likewise.
11844 [C99-based-standards] (PRIoFAST16): Likewise.
11845 [C99-based-standards] (PRIuFAST16): Likewise.
11846 [C99-based-standards] (PRIxFAST16): Likewise.
11847 [C99-based-standards] (PRIXFAST16): Likewise.
11848 [C99-based-standards] (SCNdFAST16): Likewise.
11849 [C99-based-standards] (SCNiFAST16): Likewise.
11850 [C99-based-standards] (SCNoFAST16): Likewise.
11851 [C99-based-standards] (SCNuFAST16): Likewise.
11852 [C99-based-standards] (SCNxFAST16): Likewise.
11853 [C99-based-standards] (PRId32): Likewise.
11854 [C99-based-standards] (PRIi32): Likewise.
11855 [C99-based-standards] (PRIo32): Likewise.
11856 [C99-based-standards] (PRIu32): Likewise.
11857 [C99-based-standards] (PRIx32): Likewise.
11858 [C99-based-standards] (PRIX32): Likewise.
11859 [C99-based-standards] (SCNd32): Likewise.
11860 [C99-based-standards] (SCNi32): Likewise.
11861 [C99-based-standards] (SCNo32): Likewise.
11862 [C99-based-standards] (SCNu32): Likewise.
11863 [C99-based-standards] (SCNx32): Likewise.
11864 [C99-based-standards] (PRIdLEAST32): Likewise.
11865 [C99-based-standards] (PRIiLEAST32): Likewise.
11866 [C99-based-standards] (PRIoLEAST32): Likewise.
11867 [C99-based-standards] (PRIuLEAST32): Likewise.
11868 [C99-based-standards] (PRIxLEAST32): Likewise.
11869 [C99-based-standards] (PRIXLEAST32): Likewise.
11870 [C99-based-standards] (SCNdLEAST32): Likewise.
11871 [C99-based-standards] (SCNiLEAST32): Likewise.
11872 [C99-based-standards] (SCNoLEAST32): Likewise.
11873 [C99-based-standards] (SCNuLEAST32): Likewise.
11874 [C99-based-standards] (SCNxLEAST32): Likewise.
11875 [C99-based-standards] (PRIdFAST32): Likewise.
11876 [C99-based-standards] (PRIiFAST32): Likewise.
11877 [C99-based-standards] (PRIoFAST32): Likewise.
11878 [C99-based-standards] (PRIuFAST32): Likewise.
11879 [C99-based-standards] (PRIxFAST32): Likewise.
11880 [C99-based-standards] (PRIXFAST32): Likewise.
11881 [C99-based-standards] (SCNdFAST32): Likewise.
11882 [C99-based-standards] (SCNiFAST32): Likewise.
11883 [C99-based-standards] (SCNoFAST32): Likewise.
11884 [C99-based-standards] (SCNuFAST32): Likewise.
11885 [C99-based-standards] (SCNxFAST32): Likewise.
11886 [C99-based-standards] (PRId64): Likewise.
11887 [C99-based-standards] (PRIi64): Likewise.
11888 [C99-based-standards] (PRIo64): Likewise.
11889 [C99-based-standards] (PRIu64): Likewise.
11890 [C99-based-standards] (PRIx64): Likewise.
11891 [C99-based-standards] (PRIX64): Likewise.
11892 [C99-based-standards] (SCNd64): Likewise.
11893 [C99-based-standards] (SCNi64): Likewise.
11894 [C99-based-standards] (SCNo64): Likewise.
11895 [C99-based-standards] (SCNu64): Likewise.
11896 [C99-based-standards] (SCNx64): Likewise.
11897 [C99-based-standards] (PRIdLEAST64): Likewise.
11898 [C99-based-standards] (PRIiLEAST64): Likewise.
11899 [C99-based-standards] (PRIoLEAST64): Likewise.
11900 [C99-based-standards] (PRIuLEAST64): Likewise.
11901 [C99-based-standards] (PRIxLEAST64): Likewise.
11902 [C99-based-standards] (PRIXLEAST64): Likewise.
11903 [C99-based-standards] (SCNdLEAST64): Likewise.
11904 [C99-based-standards] (SCNiLEAST64): Likewise.
11905 [C99-based-standards] (SCNoLEAST64): Likewise.
11906 [C99-based-standards] (SCNuLEAST64): Likewise.
11907 [C99-based-standards] (SCNxLEAST64): Likewise.
11908 [C99-based-standards] (PRIdFAST64): Likewise.
11909 [C99-based-standards] (PRIiFAST64): Likewise.
11910 [C99-based-standards] (PRIoFAST64): Likewise.
11911 [C99-based-standards] (PRIuFAST64): Likewise.
11912 [C99-based-standards] (PRIxFAST64): Likewise.
11913 [C99-based-standards] (PRIXFAST64): Likewise.
11914 [C99-based-standards] (SCNdFAST64): Likewise.
11915 [C99-based-standards] (SCNiFAST64): Likewise.
11916 [C99-based-standards] (SCNoFAST64): Likewise.
11917 [C99-based-standards] (SCNuFAST64): Likewise.
11918 [C99-based-standards] (SCNxFAST64): Likewise.
11919 [C99-based-standards] (PRIdMAX): Likewise.
11920 [C99-based-standards] (PRIiMAX): Likewise.
11921 [C99-based-standards] (PRIoMAX): Likewise.
11922 [C99-based-standards] (PRIuMAX): Likewise.
11923 [C99-based-standards] (PRIxMAX): Likewise.
11924 [C99-based-standards] (PRIXMAX): Likewise.
11925 [C99-based-standards] (SCNdMAX): Likewise.
11926 [C99-based-standards] (SCNiMAX): Likewise.
11927 [C99-based-standards] (SCNoMAX): Likewise.
11928 [C99-based-standards] (SCNuMAX): Likewise.
11929 [C99-based-standards] (SCNxMAX): Likewise.
11930 [C99-based-standards] (PRIdPTR): Likewise.
11931 [C99-based-standards] (PRIiPTR): Likewise.
11932 [C99-based-standards] (PRIoPTR): Likewise.
11933 [C99-based-standards] (PRIuPTR): Likewise.
11934 [C99-based-standards] (PRIxPTR): Likewise.
11935 [C99-based-standards] (PRIXPTR): Likewise.
11936 [C99-based-standards] (SCNdPTR): Likewise.
11937 [C99-based-standards] (SCNiPTR): Likewise.
11938 [C99-based-standards] (SCNoPTR): Likewise.
11939 [C99-based-standards] (SCNuPTR): Likewise.
11940 [C99-based-standards] (SCNxPTR): Likewise.
11941 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11942 allow.
11943 * conform/data/stdint.h-data: Update comments to clarify
11944 requirements.
11945 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11946 type.
11947 [C99-based standards] (INT8_MAX): Likewise.
11948 [C99-based standards] (INT16_MIN): Likewise.
11949 [C99-based standards] (INT16_MAX): Likewise.
11950 [C99-based standards] (INT32_MIN): Likewise.
11951 [C99-based standards] (INT32_MAX): Likewise.
11952 [C99-based standards] (INT64_MIN): Likewise.
11953 [C99-based standards] (INT64_MAX): Likewise.
11954 [C99-based standards] (UINT8_MAX): Likewise.
11955 [C99-based standards] (UINT16_MAX): Likewise.
11956 [C99-based standards] (UINT32_MAX): Likewise.
11957 [C99-based standards] (UINT64_MAX): Likewise.
11958 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11959 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11960 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11961 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11962 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11963 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11964 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11965 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11966 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11967 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11968 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11969 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11970 [C99-based standards] (INT_FAST8_MIN): Likewise.
11971 [C99-based standards] (INT_FAST8_MAX): Likewise.
11972 [C99-based standards] (INT_FAST16_MIN): Likewise.
11973 [C99-based standards] (INT_FAST16_MAX): Likewise.
11974 [C99-based standards] (INT_FAST32_MIN): Likewise.
11975 [C99-based standards] (INT_FAST32_MAX): Likewise.
11976 [C99-based standards] (INT_FAST64_MIN): Likewise.
11977 [C99-based standards] (INT_FAST64_MAX): Likewise.
11978 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11979 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11980 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11981 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11982 [C99-based standards] (INTPTR_MIN): Likewise.
11983 [C99-based standards] (INTPTR_MAX): Likewise.
11984 [C99-based standards] (UINTPTR_MAX): Likewise.
11985 [C99-based standards] (INTMAX_MIN): Likewise.
11986 [C99-based standards] (INTMAX_MAX): Likewise.
11987 [C99-based standards] (UINTMAX_MAX): Likewise.
11988 [C99-based standards] (PTRDIFF_MIN): Likewise.
11989 [C99-based standards] (PTRDIFF_MAX): Likewise.
11990 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11991 [C99-based standards] (SIZE_MAX): Likewise.
11992 [C99-based standards] (WCHAR_MAX): Likewise.
11993 [C99-based standards] (WINT_MAX): Likewise.
11994 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11995 constraint on value.
11996 [C99-based standards] (WCHAR_MIN): Likewise.
11997 [C99-based standards] (WINT_MIN): Likewise.
11998 [C99-based standards] (*_t): Allow.
11999 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12000 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12001 Include math.h-data and complex.h-data. Remove all expectations
12002 of math.h and complex.h contents.
12003 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12004 at end of line.
12005 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12006 (struct tm): Expect tag.
12007 [C99-based-standards] (wcstof): Expect function.
12008 [C99-based-standards] (wcstold): Likewise.
12009 [C99-based-standards] (wcstoll): Likewise.
12010 [C99-based-standards] (wcstoull): Likewise.
12011 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12012 macro-int-constant. Specify type.
12013 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12014 constraint on value.
12015 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12016 Specify type.
12017 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12018 Specify value.
12019 [ISO C standards]: Do not allow headers.
12020 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12021 wcs[abcdefghijklmnopqrstuvwxyz]*.
12022 [ISO C standards] (*_t): Do not allow.
12023 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12024 Expect function.
12025 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12026 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12027 Specify type.
12028 [ISO C standards]: Do not allow headers.
12029 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12030 is[abcdefghijklmnopqrstuvwxyz]*.
12031 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12032 to[abcdefghijklmnopqrstuvwxyz]*.
12033 [ISO C standards] (*_t): Do not allow.
12034 * conform/data/stdalign.h-data: New file.
12035 * conform/data/stdbool.h-data: Likewise.
12036 * conform/data/stdnoreturn.h-data: Likewise.
12037
12038 2012-11-07 Roland McGrath <roland@hack.frob.com>
12039
12040 [BZ #14815]
12041 * manual/filesys.texi (Directory Entries): Typo fix.
12042 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12043
12044 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12045
12046 * elf/elf.h (EM_AARCH64): New macro.
12047 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12048 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12049 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12050 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12051 (R_AARCH64_TLSDESC): Likewise.
12052 (NT_ARM_TLS): Likewise.
12053 (NT_ARM_HW_BREAK): Likewise.
12054 (NT_ARM_HW_WATCH): Likewise.
12055
12056 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12057
12058 [BZ #14811]
12059 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12060 (__ieee754_powl): Saturate nonzero exponents with absolute value
12061 below 0x1p-79 to +/- 0x1p-79.
12062 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12063 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12064 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12065 nonzero exponents with absolute value below 0x1p-32 to +/-
12066 0x1p-32.
12067 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12068 (__ieee754_powl): Saturate nonzero exponents with absolute value
12069 below 0x1p-79 to +/- 0x1p-79.
12070 * math/libm-test.inc (pow_test): Add more tests.
12071
12072 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12073
12074 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12075 _dl_s390_cap_flags with kernel. Increase string length.
12076 (_dl_s390_platforms): Add z196 and zEC12.
12077
12078 2012-11-07 Joseph Myers <joseph@codesourcery.com>
12079
12080 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12081 Change XOPEN21K to XOPEN2K.
12082
12083 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12084
12085 * string/memmove.c: Use memcpy when possible.
12086
12087 2012-11-06 Andreas Jaeger <aj@suse.de>
12088
12089 * po/eo.po: Update from translation team.
12090
12091 2012-11-06 Joseph Myers <joseph@codesourcery.com>
12092
12093 [BZ #14793]
12094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12095 exponent and small x and y exponents, scale x or y up. Increase
12096 by 2 the exponent used in scaling up.
12097 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12098 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12099 * math/libm-test.inc (fma_test): Add more tests.
12100 (fma_test_towardzero): Likewise.
12101 (fma_test_downward): Likewise.
12102 (fma_test_upward): Likewise.
12103
12104 2012-11-05 Joseph Myers <joseph@codesourcery.com>
12105
12106 [BZ #14805]
12107 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12108 fenv_t *.
12109
12110 [BZ #14801]
12111 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12112 namespace for names of struct fields.
12113 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12114 fenv_t fields.
12115 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12116 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12117
12118 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12119
12120 [BZ #3665]
12121 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12122
12123 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12124
12125 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12126 PTR_DEMANGLE.
12127
12128 [BZ #5246]
12129 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12130 PTR_DEMANGLE.
12131
12132 2012-11-04 Joseph Myers <joseph@codesourcery.com>
12133
12134 [BZ #14797]
12135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12136 definitely overflow as x * y not x * y + z.
12137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12138 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12139 * math/libm-test.inc (fma_test): Add more tests.
12140 (fma_test_towardzero): Likewise.
12141 (fma_test_downward): Likewise.
12142 (fma_test_upward): Likewise.
12143
12144 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12145
12146 [BZ #157]
12147
12148 * include/stub-tag.h: Remove file.
12149 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12150 '#include' of it.
12151 * manual/maint.texi (Porting): Don't reference it.
12152 * Makerules ($(objpfx)stubs): Likewise.
12153 * dirent/closedir.c: Don't include <stub-tag.h>.
12154 * dirent/dirfd.c: Likewise.
12155 * dirent/fdopendir.c: Likewise.
12156 * dirent/getdents.c: Likewise.
12157 * dirent/getdents64.c: Likewise.
12158 * dirent/opendir.c: Likewise.
12159 * dirent/readdir.c: Likewise.
12160 * dirent/readdir64.c: Likewise.
12161 * dirent/readdir64_r.c: Likewise.
12162 * dirent/readdir_r.c: Likewise.
12163 * dirent/rewinddir.c: Likewise.
12164 * dirent/seekdir.c: Likewise.
12165 * dirent/telldir.c: Likewise.
12166 * gmon/profil.c: Likewise.
12167 * grp/setgroups.c: Likewise.
12168 * inet/if_index.c: Likewise.
12169 * io/access.c: Likewise.
12170 * io/chdir.c: Likewise.
12171 * io/chmod.c: Likewise.
12172 * io/chown.c: Likewise.
12173 * io/close.c: Likewise.
12174 * io/dup.c: Likewise.
12175 * io/dup2.c: Likewise.
12176 * io/dup3.c: Likewise.
12177 * io/euidaccess.c: Likewise.
12178 * io/faccessat.c: Likewise.
12179 * io/fchdir.c: Likewise.
12180 * io/fchmod.c: Likewise.
12181 * io/fchmodat.c: Likewise.
12182 * io/fchown.c: Likewise.
12183 * io/fchownat.c: Likewise.
12184 * io/fcntl.c: Likewise.
12185 * io/flock.c: Likewise.
12186 * io/fstatfs.c: Likewise.
12187 * io/fstatfs64.c: Likewise.
12188 * io/fstatvfs.c: Likewise.
12189 * io/fstatvfs64.c: Likewise.
12190 * io/futimens.c: Likewise.
12191 * io/fxstat.c: Likewise.
12192 * io/fxstat64.c: Likewise.
12193 * io/fxstatat.c: Likewise.
12194 * io/fxstatat64.c: Likewise.
12195 * io/getcwd.c: Likewise.
12196 * io/isatty.c: Likewise.
12197 * io/lchmod.c: Likewise.
12198 * io/lchown.c: Likewise.
12199 * io/link.c: Likewise.
12200 * io/linkat.c: Likewise.
12201 * io/lseek.c: Likewise.
12202 * io/lseek64.c: Likewise.
12203 * io/lxstat64.c: Likewise.
12204 * io/mkdir.c: Likewise.
12205 * io/mkdirat.c: Likewise.
12206 * io/mkfifo.c: Likewise.
12207 * io/mkfifoat.c: Likewise.
12208 * io/open.c: Likewise.
12209 * io/open64.c: Likewise.
12210 * io/openat.c: Likewise.
12211 * io/openat64.c: Likewise.
12212 * io/pipe.c: Likewise.
12213 * io/pipe2.c: Likewise.
12214 * io/poll.c: Likewise.
12215 * io/posix_fadvise.c: Likewise.
12216 * io/posix_fadvise64.c: Likewise.
12217 * io/posix_fallocate.c: Likewise.
12218 * io/posix_fallocate64.c: Likewise.
12219 * io/read.c: Likewise.
12220 * io/readlink.c: Likewise.
12221 * io/readlinkat.c: Likewise.
12222 * io/rmdir.c: Likewise.
12223 * io/sendfile.c: Likewise.
12224 * io/sendfile64.c: Likewise.
12225 * io/statfs.c: Likewise.
12226 * io/statfs64.c: Likewise.
12227 * io/statvfs.c: Likewise.
12228 * io/statvfs64.c: Likewise.
12229 * io/symlink.c: Likewise.
12230 * io/symlinkat.c: Likewise.
12231 * io/ttyname.c: Likewise.
12232 * io/ttyname_r.c: Likewise.
12233 * io/umask.c: Likewise.
12234 * io/unlink.c: Likewise.
12235 * io/unlinkat.c: Likewise.
12236 * io/utime.c: Likewise.
12237 * io/utimensat.c: Likewise.
12238 * io/write.c: Likewise.
12239 * io/xmknod.c: Likewise.
12240 * io/xmknodat.c: Likewise.
12241 * io/xstat.c: Likewise.
12242 * io/xstat64.c: Likewise.
12243 * login/getpt.c: Likewise.
12244 * login/grantpt.c: Likewise.
12245 * login/unlockpt.c: Likewise.
12246 * math/e_acoshl.c: Likewise.
12247 * math/e_acosl.c: Likewise.
12248 * math/e_asinl.c: Likewise.
12249 * math/e_atan2l.c: Likewise.
12250 * math/e_atanhl.c: Likewise.
12251 * math/e_coshl.c: Likewise.
12252 * math/e_expl.c: Likewise.
12253 * math/e_fmodl.c: Likewise.
12254 * math/e_gammal_r.c: Likewise.
12255 * math/e_hypotl.c: Likewise.
12256 * math/e_j0l.c: Likewise.
12257 * math/e_j1l.c: Likewise.
12258 * math/e_jnl.c: Likewise.
12259 * math/e_lgammal_r.c: Likewise.
12260 * math/e_log10l.c: Likewise.
12261 * math/e_log2l.c: Likewise.
12262 * math/e_logl.c: Likewise.
12263 * math/e_powl.c: Likewise.
12264 * math/e_rem_pio2l.c: Likewise.
12265 * math/e_sinhl.c: Likewise.
12266 * math/e_sqrtl.c: Likewise.
12267 * math/fclrexcpt.c: Likewise.
12268 * math/fedisblxcpt.c: Likewise.
12269 * math/feenablxcpt.c: Likewise.
12270 * math/fegetenv.c: Likewise.
12271 * math/fegetexcept.c: Likewise.
12272 * math/fegetround.c: Likewise.
12273 * math/feholdexcpt.c: Likewise.
12274 * math/fesetenv.c: Likewise.
12275 * math/fesetround.c: Likewise.
12276 * math/feupdateenv.c: Likewise.
12277 * math/fgetexcptflg.c: Likewise.
12278 * math/fraiseexcpt.c: Likewise.
12279 * math/fsetexcptflg.c: Likewise.
12280 * math/ftestexcept.c: Likewise.
12281 * math/k_cosl.c: Likewise.
12282 * math/k_rem_pio2l.c: Likewise.
12283 * math/k_sinl.c: Likewise.
12284 * math/k_tanl.c: Likewise.
12285 * math/s_asinhl.c: Likewise.
12286 * math/s_atanl.c: Likewise.
12287 * math/s_cbrtl.c: Likewise.
12288 * math/s_erfl.c: Likewise.
12289 * math/s_expm1l.c: Likewise.
12290 * math/s_log1pl.c: Likewise.
12291 * math/s_tanhl.c: Likewise.
12292 * misc/acct.c: Likewise.
12293 * misc/brk.c: Likewise.
12294 * misc/chflags.c: Likewise.
12295 * misc/chroot.c: Likewise.
12296 * misc/fchflags.c: Likewise.
12297 * misc/fgetxattr.c: Likewise.
12298 * misc/flistxattr.c: Likewise.
12299 * misc/fremovexattr.c: Likewise.
12300 * misc/fsetxattr.c: Likewise.
12301 * misc/fsync.c: Likewise.
12302 * misc/ftruncate.c: Likewise.
12303 * misc/futimes.c: Likewise.
12304 * misc/futimesat.c: Likewise.
12305 * misc/getdomain.c: Likewise.
12306 * misc/getdtsz.c: Likewise.
12307 * misc/gethostid.c: Likewise.
12308 * misc/gethostname.c: Likewise.
12309 * misc/getloadavg.c: Likewise.
12310 * misc/getpagesize.c: Likewise.
12311 * misc/getsysstats.c: Likewise.
12312 * misc/getxattr.c: Likewise.
12313 * misc/gtty.c: Likewise.
12314 * misc/ioctl.c: Likewise.
12315 * misc/lgetxattr.c: Likewise.
12316 * misc/listxattr.c: Likewise.
12317 * misc/llistxattr.c: Likewise.
12318 * misc/lremovexattr.c: Likewise.
12319 * misc/lsetxattr.c: Likewise.
12320 * misc/lutimes.c: Likewise.
12321 * misc/madvise.c: Likewise.
12322 * misc/mincore.c: Likewise.
12323 * misc/mlock.c: Likewise.
12324 * misc/mlockall.c: Likewise.
12325 * misc/mmap.c: Likewise.
12326 * misc/mprotect.c: Likewise.
12327 * misc/msync.c: Likewise.
12328 * misc/munlock.c: Likewise.
12329 * misc/munlockall.c: Likewise.
12330 * misc/munmap.c: Likewise.
12331 * misc/preadv.c: Likewise.
12332 * misc/preadv64.c: Likewise.
12333 * misc/ptrace.c: Likewise.
12334 * misc/pwritev.c: Likewise.
12335 * misc/pwritev64.c: Likewise.
12336 * misc/readv.c: Likewise.
12337 * misc/reboot.c: Likewise.
12338 * misc/remap_file_pages.c: Likewise.
12339 * misc/removexattr.c: Likewise.
12340 * misc/revoke.c: Likewise.
12341 * misc/select.c: Likewise.
12342 * misc/setdomain.c: Likewise.
12343 * misc/setegid.c: Likewise.
12344 * misc/seteuid.c: Likewise.
12345 * misc/sethostid.c: Likewise.
12346 * misc/sethostname.c: Likewise.
12347 * misc/setregid.c: Likewise.
12348 * misc/setreuid.c: Likewise.
12349 * misc/setxattr.c: Likewise.
12350 * misc/sstk.c: Likewise.
12351 * misc/stty.c: Likewise.
12352 * misc/swapoff.c: Likewise.
12353 * misc/swapon.c: Likewise.
12354 * misc/sync.c: Likewise.
12355 * misc/syncfs.c: Likewise.
12356 * misc/syscall.c: Likewise.
12357 * misc/truncate.c: Likewise.
12358 * misc/ualarm.c: Likewise.
12359 * misc/usleep.c: Likewise.
12360 * misc/ustat.c: Likewise.
12361 * misc/utimes.c: Likewise.
12362 * misc/vhangup.c: Likewise.
12363 * misc/writev.c: Likewise.
12364 * posix/_exit.c: Likewise.
12365 * posix/alarm.c: Likewise.
12366 * posix/execve.c: Likewise.
12367 * posix/fexecve.c: Likewise.
12368 * posix/fork.c: Likewise.
12369 * posix/fpathconf.c: Likewise.
12370 * posix/getaddrinfo.c: Likewise.
12371 * posix/getegid.c: Likewise.
12372 * posix/geteuid.c: Likewise.
12373 * posix/getgid.c: Likewise.
12374 * posix/getgroups.c: Likewise.
12375 * posix/getlogin.c: Likewise.
12376 * posix/getlogin_r.c: Likewise.
12377 * posix/getpgid.c: Likewise.
12378 * posix/getpid.c: Likewise.
12379 * posix/getppid.c: Likewise.
12380 * posix/getresgid.c: Likewise.
12381 * posix/getresuid.c: Likewise.
12382 * posix/getsid.c: Likewise.
12383 * posix/getuid.c: Likewise.
12384 * posix/glob64.c: Likewise.
12385 * posix/nanosleep.c: Likewise.
12386 * posix/pathconf.c: Likewise.
12387 * posix/pause.c: Likewise.
12388 * posix/posix_madvise.c: Likewise.
12389 * posix/pread.c: Likewise.
12390 * posix/pread64.c: Likewise.
12391 * posix/pwrite.c: Likewise.
12392 * posix/pwrite64.c: Likewise.
12393 * posix/sched_getaffinity.c: Likewise.
12394 * posix/sched_getp.c: Likewise.
12395 * posix/sched_gets.c: Likewise.
12396 * posix/sched_primax.c: Likewise.
12397 * posix/sched_primin.c: Likewise.
12398 * posix/sched_rr_gi.c: Likewise.
12399 * posix/sched_setaffinity.c: Likewise.
12400 * posix/sched_setp.c: Likewise.
12401 * posix/sched_sets.c: Likewise.
12402 * posix/sched_yield.c: Likewise.
12403 * posix/setgid.c: Likewise.
12404 * posix/setlogin.c: Likewise.
12405 * posix/setpgid.c: Likewise.
12406 * posix/setresgid.c: Likewise.
12407 * posix/setresuid.c: Likewise.
12408 * posix/setsid.c: Likewise.
12409 * posix/setuid.c: Likewise.
12410 * posix/sleep.c: Likewise.
12411 * posix/spawni.c: Likewise.
12412 * posix/sysconf.c: Likewise.
12413 * posix/times.c: Likewise.
12414 * posix/wait.c: Likewise.
12415 * posix/wait3.c: Likewise.
12416 * posix/wait4.c: Likewise.
12417 * posix/waitpid.c: Likewise.
12418 * resolv/gai_sigqueue.c: Likewise.
12419 * resource/getpriority.c: Likewise.
12420 * resource/getrlimit.c: Likewise.
12421 * resource/getrusage.c: Likewise.
12422 * resource/nice.c: Likewise.
12423 * resource/setpriority.c: Likewise.
12424 * resource/setrlimit.c: Likewise.
12425 * resource/ulimit.c: Likewise.
12426 * rt/aio_cancel.c: Likewise.
12427 * rt/aio_fsync.c: Likewise.
12428 * rt/aio_read.c: Likewise.
12429 * rt/aio_sigqueue.c: Likewise.
12430 * rt/aio_suspend.c: Likewise.
12431 * rt/aio_write.c: Likewise.
12432 * rt/clock_getres.c: Likewise.
12433 * rt/clock_gettime.c: Likewise.
12434 * rt/clock_nanosleep.c: Likewise.
12435 * rt/clock_settime.c: Likewise.
12436 * rt/lio_listio.c: Likewise.
12437 * rt/mq_close.c: Likewise.
12438 * rt/mq_getattr.c: Likewise.
12439 * rt/mq_notify.c: Likewise.
12440 * rt/mq_open.c: Likewise.
12441 * rt/mq_receive.c: Likewise.
12442 * rt/mq_send.c: Likewise.
12443 * rt/mq_setattr.c: Likewise.
12444 * rt/mq_timedreceive.c: Likewise.
12445 * rt/mq_timedsend.c: Likewise.
12446 * rt/mq_unlink.c: Likewise.
12447 * rt/shm_open.c: Likewise.
12448 * rt/shm_unlink.c: Likewise.
12449 * rt/timer_create.c: Likewise.
12450 * rt/timer_delete.c: Likewise.
12451 * rt/timer_getoverr.c: Likewise.
12452 * rt/timer_gettime.c: Likewise.
12453 * rt/timer_settime.c: Likewise.
12454 * setjmp/__longjmp.c: Likewise.
12455 * setjmp/setjmp.c: Likewise.
12456 * signal/kill.c: Likewise.
12457 * signal/killpg.c: Likewise.
12458 * signal/raise.c: Likewise.
12459 * signal/sigaction.c: Likewise.
12460 * signal/sigaltstack.c: Likewise.
12461 * signal/sigblock.c: Likewise.
12462 * signal/sigignore.c: Likewise.
12463 * signal/sigintr.c: Likewise.
12464 * signal/signal.c: Likewise.
12465 * signal/sigpause.c: Likewise.
12466 * signal/sigpending.c: Likewise.
12467 * signal/sigqueue.c: Likewise.
12468 * signal/sigreturn.c: Likewise.
12469 * signal/sigset.c: Likewise.
12470 * signal/sigsetmask.c: Likewise.
12471 * signal/sigstack.c: Likewise.
12472 * signal/sigsuspend.c: Likewise.
12473 * signal/sigtimedwait.c: Likewise.
12474 * signal/sigvec.c: Likewise.
12475 * signal/sigwait.c: Likewise.
12476 * signal/sigwaitinfo.c: Likewise.
12477 * signal/sysv_signal.c: Likewise.
12478 * socket/accept.c: Likewise.
12479 * socket/accept4.c: Likewise.
12480 * socket/bind.c: Likewise.
12481 * socket/connect.c: Likewise.
12482 * socket/getpeername.c: Likewise.
12483 * socket/getsockname.c: Likewise.
12484 * socket/getsockopt.c: Likewise.
12485 * socket/isfdtype.c: Likewise.
12486 * socket/listen.c: Likewise.
12487 * socket/recv.c: Likewise.
12488 * socket/recvfrom.c: Likewise.
12489 * socket/recvmsg.c: Likewise.
12490 * socket/send.c: Likewise.
12491 * socket/sendmsg.c: Likewise.
12492 * socket/sendto.c: Likewise.
12493 * socket/setsockopt.c: Likewise.
12494 * socket/shutdown.c: Likewise.
12495 * socket/sockatmark.c: Likewise.
12496 * socket/socket.c: Likewise.
12497 * socket/socketpair.c: Likewise.
12498 * stdio-common/ctermid.c: Likewise.
12499 * stdio-common/cuserid.c: Likewise.
12500 * stdio-common/remove.c: Likewise.
12501 * stdio-common/rename.c: Likewise.
12502 * stdio-common/renameat.c: Likewise.
12503 * stdio-common/tempname.c: Likewise.
12504 * stdlib/getcontext.c: Likewise.
12505 * stdlib/makecontext.c: Likewise.
12506 * stdlib/setcontext.c: Likewise.
12507 * stdlib/swapcontext.c: Likewise.
12508 * stdlib/system.c: Likewise.
12509 * streams/fattach.c: Likewise.
12510 * streams/fdetach.c: Likewise.
12511 * streams/getmsg.c: Likewise.
12512 * streams/getpmsg.c: Likewise.
12513 * streams/putmsg.c: Likewise.
12514 * streams/putpmsg.c: Likewise.
12515 * sysdeps/unix/bsd/getpt.c: Likewise.
12516 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12517 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12518 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12520 Likewise.
12521 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12522 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12523 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12524 * sysvipc/msgctl.c: Likewise.
12525 * sysvipc/msgget.c: Likewise.
12526 * sysvipc/msgrcv.c: Likewise.
12527 * sysvipc/msgsnd.c: Likewise.
12528 * sysvipc/semctl.c: Likewise.
12529 * sysvipc/semget.c: Likewise.
12530 * sysvipc/semop.c: Likewise.
12531 * sysvipc/semtimedop.c: Likewise.
12532 * sysvipc/shmat.c: Likewise.
12533 * sysvipc/shmctl.c: Likewise.
12534 * sysvipc/shmdt.c: Likewise.
12535 * sysvipc/shmget.c: Likewise.
12536 * termios/tcdrain.c: Likewise.
12537 * termios/tcflow.c: Likewise.
12538 * termios/tcflush.c: Likewise.
12539 * termios/tcgetattr.c: Likewise.
12540 * termios/tcgetpgrp.c: Likewise.
12541 * termios/tcsendbrk.c: Likewise.
12542 * termios/tcsetattr.c: Likewise.
12543 * termios/tcsetpgrp.c: Likewise.
12544 * time/adjtime.c: Likewise.
12545 * time/clock.c: Likewise.
12546 * time/getitimer.c: Likewise.
12547 * time/gettimeofday.c: Likewise.
12548 * time/setitimer.c: Likewise.
12549 * time/settimeofday.c: Likewise.
12550 * time/stime.c: Likewise.
12551 * time/time.c: Likewise.
12552
12553 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
12554
12555 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12556 /usr/old/bin.
12557
12558 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12559 instead of spaces.
12560 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12561
12562 2012-11-03 Joseph Myers <joseph@codesourcery.com>
12563
12564 [BZ #14796]
12565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12566 FE_TONEAREST before applying Dekker multiplication and Knuth
12567 addition. Clear inexact exceptions and check for exact zero
12568 results afterwards.
12569 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12570 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12571 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12572 * math/libm-test.inc (fma_test): Add more tests.
12573 (fma_test_towardzero): Likewise.
12574 (fma_test_downward): Likewise.
12575 (fma_test_upward): Likewise.
12576 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12577 function.
12578 (libc_fesetround): New macro.
12579 (libc_fesetroundf): Likewise.
12580 (libc_fesetroundl): Likewise.
12581 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12582 function.
12583 (libc_fesetround_387): Likewise.
12584 (libc_fesetroundf): New macro.
12585 (libc_fesetround): Likewise.
12586 (libc_fesetroundl): Likewise.
12587 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12588 function.
12589 (libc_fesetroundf): New macro.
12590 (libc_fesetround): Likewise.
12591 (libc_fesetroundl): Likewise.
12592 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12593 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12594 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12595 libm_hidden_ver.
12596 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12597 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12598 libm_hidden_def.
12599 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12600 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12601 libm_hidden_ver.
12602 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12603 libm_hidden_def.
12604
12605 [BZ #3439]
12606 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12607 integer constant usable in #if and use that to give value to enum
12608 constant.
12609 (FE_DIVBYZERO): Likewise.
12610 (FE_UNDERFLOW): Likewise.
12611 (FE_OVERFLOW): Likewise.
12612 (FE_INVALID): Likewise.
12613 (FE_INVALID_SNAN): Likewise.
12614 (FE_INVALID_ISI): Likewise.
12615 (FE_INVALID_IDI): Likewise.
12616 (FE_INVALID_ZDZ): Likewise.
12617 (FE_INVALID_IMZ): Likewise.
12618 (FE_INVALID_COMPARE): Likewise.
12619 (FE_INVALID_SOFTWARE): Likewise.
12620 (FE_INVALID_SQRT): Likewise.
12621 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12622 (FE_TONEAREST): Likewise.
12623 (FE_TOWARDZERO): Likewise.
12624 (FE_UPWARD): Likewise.
12625 (FE_DOWNWARD): Likewise.
12626 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12627 (FE_DIVBYZERO): Likewise.
12628 (FE_OVERFLOW): Likewise.
12629 (FE_UNDERFLOW): Likewise.
12630 (FE_INEXACT): Likewise.
12631 (FE_TONEAREST): Likewise.
12632 (FE_DOWNWARD): Likewise.
12633 (FE_UPWARD): Likewise.
12634 (FE_TOWARDZERO): Likewise.
12635 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12636 (FE_UNDERFLOW): Likewise.
12637 (FE_OVERFLOW): Likewise.
12638 (FE_DIVBYZERO): Likewise.
12639 (FE_INVALID): Likewise.
12640 (FE_TONEAREST): Likewise.
12641 (FE_TOWARDZERO): Likewise.
12642 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12643 (FE_OVERFLOW): Likewise.
12644 (FE_UNDERFLOW): Likewise.
12645 (FE_DIVBYZERO): Likewise.
12646 (FE_INEXACT): Likewise.
12647 (FE_TONEAREST): Likewise.
12648 (FE_TOWARDZERO): Likewise.
12649 (FE_UPWARD): Likewise.
12650 (FE_DOWNWARD): Likewise.
12651 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12652 (FE_DIVBYZERO): Likewise.
12653 (FE_OVERFLOW): Likewise.
12654 (FE_UNDERFLOW): Likewise.
12655 (FE_INEXACT): Likewise.
12656 (FE_TONEAREST): Likewise.
12657 (FE_DOWNWARD): Likewise.
12658 (FE_UPWARD): Likewise.
12659 (FE_TOWARDZERO): Likewise.
12660
12661 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12662
12663 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12664
12665 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12666
12667 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12668 commands. Quote $PWD.
12669 (blacklist_exports): Don't use remove_newlines. Replace "declare
12670 -x" by "export".
12671 (remove_newlines): Remove.
12672
12673 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12674
12675 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12676 * stdlib/stdlib.h (atof): Moved to ...
12677 * include/bits/stdlib-float.h: Here. New file.
12678 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12679 * stdlib/bits/stdlib-float.h: New file.
12680 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12681 -mno-sse -mno-mmx.
12682 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12683 <xmmintrin.h>.
12684
12685 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12686
12687 * conform/conformtest.pl (@headers): Add fenv.h.
12688 * conform/data/fenv.h-data: New file.
12689 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12690 include of <math/fenv.h>.
12691
12692 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12693 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12694 && !UNIX98]. Enables tests for XOPEN2K8.
12695 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12696 POSIX2008]: Likewise.
12697
12698 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12699 (struct rusage): Do not expect type or its members.
12700
12701 [BZ #3439]
12702 * math/math.h (FP_NAN): Define macro to integer constant usable in
12703 #if and use that to give value to enum constant.
12704 (FP_INFINITE): Likewise.
12705 (FP_ZERO): Likewise.
12706 (FP_SUBNORMAL): Likewise.
12707 (FP_NORMAL): Likewise.
12708
12709 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12710
12711 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12712 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12713 arguments.
12714
12715 2012-11-02 Roland McGrath <roland@hack.frob.com>
12716
12717 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12718 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12719 autoconf-time if not.
12720 * configure.in: Remove AC_PREREQ.
12721
12722 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12723
12724 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12725 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12726 of the internal implementation.
12727
12728 2012-11-02 Joseph Myers <joseph@codesourcery.com>
12729
12730 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12731 except include of <misc/sys/syslog.h>.
12732
12733 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12734
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12736 function returns with a NULL context exit with zero.
12737
12738 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12739
12740 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12741
12742 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12743
12744 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12745 (run_program_cmd): This.
12746 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12747 (tst_langinfo): New variable. Use it.
12748
12749 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12750
12751 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12752 floating point opcodes.
12753
12754 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12755
12756 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12757 variable.
12758
12759 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12760
12761 * sysdeps/mach/hurd/powerpc: Remove directory.
12762 * sysdeps/mach/powerpc: Likewise.
12763
12764 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12765
12766 * scripts/check-local-headers.sh: Ignore c++ headers.
12767
12768 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12769
12770 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12771 __libc_cleanup_region_start argument.
12772
12773 2012-11-01 Joseph Myers <joseph@codesourcery.com>
12774
12775 [BZ #14784]
12776 [BZ #14785]
12777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12778 x * y using scaling, not as x * y + z.
12779 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12780 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12781 * math/libm-test.inc (fma_test): Add more tests.
12782 (fma_test_towardzero): Likewise.
12783 (fma_test_downward): Likewise.
12784 (fma_test_upward): Likewise.
12785
12786 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12787
12788 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12789
12790 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12791
12792 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12793 New variable.
12794
12795 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12796
12797 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12798
12799 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12800
12801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12802 Fix sort order.
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12804 Likewise.
12805
12806 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12807
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12809 Fix the order of the list for glibc 2.17.
12810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12811 Likewise.
12812
12813 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12814
12815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12816
12817 2012-10-31 Joseph Myers <joseph@codesourcery.com>
12818
12819 [BZ #14610]
12820 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12821 for low part of x being zero before using __atanl (y).
12822 * math/libm-test.inc (atan2_test): Add another test.
12823
12824 * manual/install.texi (Configuring and compiling): Document
12825 general use of test-wrapper and test-wrapper-env.
12826 * INSTALL: Regenerated.
12827
12828 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12829 (__fma): Do not extract and scale down low bits on after-rounding
12830 systems when result rounded to normal precision would have normal
12831 exponent.
12832 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12833 (__fmal): Do not extract and scale down low bits on after-rounding
12834 systems when result rounded to normal precision would have normal
12835 exponent.
12836 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12837 (__fmal): Do not extract and scale down low bits on after-rounding
12838 systems when result rounded to normal precision would have normal
12839 exponent.
12840 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12841 macro.
12842 (fma_test): Add more tests.
12843 (fma_test_towardzero): Likewise.
12844 (fma_test_downward): Likewise.
12845 (fma_test_upward): Likewise.
12846
12847 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12848
12849 * sysdeps/i386/tininess.h: Renamed to ...
12850 * sysdeps/x86/tininess.h: This.
12851 * sysdeps/x86_64/tininess.h: Removed.
12852
12853 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12854
12855 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12856 input. Use $(build-program-cmd).
12857 ($(objpfx)tst-array1-static.out): Likewise.
12858 ($(objpfx)tst-array2.out): Likewise.
12859 ($(objpfx)tst-array3.out): Likewise.
12860 ($(objpfx)tst-array4.out): Likewise.
12861 ($(objpfx)tst-array5.out): Likewise.
12862 ($(objpfx)tst-array5-static.out): Likewise.
12863
12864 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12865
12866 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12867 if defined.
12868
12869 * nss/nsswitch.h (nss_interface_function): Provide new
12870 macro for use with NSS functions.
12871 * grp/initgroups.c: Use new macro.
12872 * nss/getXXbyYY.c: Likewise.
12873 * nss/getXXbyYY_r.c: Likewise.
12874 * nss/getXXent.c: Likewise.
12875 * nss/getXXent_r.c: Likewise.
12876 * sysdeps/posix/getaddrinfo.c: Likewise.
12877
12878 2012-10-30 Andreas Jaeger <aj@suse.de>
12879
12880 * po/ru.po: Update Russion translation from translation project.
12881
12882 2012-10-30 Joseph Myers <joseph@codesourcery.com>
12883
12884 [BZ #14152]
12885 [BZ #14783]
12886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12887 result and shift together with sticky bit instead of replicating
12888 round-to-nearest rounding.
12889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12891 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12892 missing underflow exceptions.
12893 (fma_test_towardzero): Add more tests.
12894 (fma_test_downward): Likewise.
12895 (fma_test_upward): Likewise.
12896
12897 [BZ #14047]
12898 * sysdeps/generic/tininess.h: New file.
12899 * sysdeps/i386/tininess.h: Likewise.
12900 * sysdeps/sh/tininess.h: Likewise.
12901 * sysdeps/x86_64/tininess.h: Likewise.
12902 * stdlib/tst-strtod-underflow.c: Likewise.
12903 * stdlib/tst-tininess.c: Likewise.
12904 * stdlib/strtod_l.c: Include <tininess.h>.
12905 (round_and_return): Do not set errno for exact underflow cases.
12906 Force an underflow exception when setting errno for underflow.
12907 Determine underflow based on rounding to normal precision if
12908 TININESS_AFTER_ROUNDING.
12909 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12910 ERANGE for exact underflow cases.
12911 * stdlib/Makefile (tests): Add tst-tininess and
12912 tst-strtod-underflow.
12913 ($(objpfx)tst-tininess): Use $(link-libm).
12914 ($(objpfx)tst-strtod-underflow): Likewise.
12915
12916 2012-10-30 Andreas Jaeger <aj@suse.de>
12917
12918 [BZ#14767]
12919 * elf/Makefile (tests): Remove conditional for have-initfini-array
12920 since this is now always required and the variable does not exist
12921 anymore.
12922 (tests-static): Likewise.
12923 (modules-names): Likewise.
12924
12925 * po/eo.po: Add Esperanto translation from translation project.
12926
12927 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12928 merged with constructor/destructor.
12929 (init_array): Likewise.
12930 * elf/tst-array2dep.c (fini_array): Likewise.
12931 (init_array): Likewise.
12932
12933 2012-10-29 Mike Frysinger <vapier@gentoo.org>
12934
12935 * manual/message.texi: Delete @cartouche tags.
12936
12937 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12938
12939 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12940 EOPNOTSUPP.
12941 * sysdeps/mach/hurd/fsync.c: Likewise.
12942
12943 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12944 [_POSIX_REALTIME_SIGNALS]: Change condition to
12945 [_POSIX_REALTIME_SIGNALS > 0].
12946
12947 2012-10-27 Andreas Jaeger <aj@suse.de>
12948
12949 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12950 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12951 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12952 [__WORDSIZE != 64]: Likewise.
12953
12954 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12955
12956 * iconvdata/tst-table.sh: Remove ${SHELL}.
12957 * iconvdata/tst-tables.sh: Likewise.
12958
12959 2012-10-25 David S. Miller <davem@davemloft.net>
12960
12961 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12962 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12963 of strtoull.
12964
12965 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12966 ifunc-impl-list.c
12967 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12968 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12969 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12970 file.
12971
12972 2012-10-25 Roland McGrath <roland@hack.frob.com>
12973
12974 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12975 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12976 __getdirentries.
12977
12978 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12979 Jim Blandy <jimb@codesourcery.com>
12980
12981 * scripts/cross-test-ssh.sh: New file.
12982 * manual/install.texi (Configuring and compiling): Document use of
12983 cross-test-ssh.sh.
12984 * INSTALL: Regenerated.
12985
12986 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12987
12988 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12989 EOPNOTSUPP.
12990
12991 2012-10-25 Joseph Myers <joseph@codesourcery.com>
12992
12993 * Makeconfig (run-program-prefix): Fix comment.
12994
12995 2012-10-24 Joseph Myers <joseph@codesourcery.com>
12996 Jim Blandy <jimb@codesourcery.com>
12997
12998 * Makeconfig (test-wrapper): New variable,
12999 (test-wrapper-env): Likewise.
13000 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13001 (run-built-tests): Define to yes.
13002 (run-program-prefix): Use $(test-wrapper).
13003 (built-program-cmd): Likewise.
13004 * Rules (make-test-out): Use $(test-wrapper-env) and
13005 $(host-built-program-cmd).
13006 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13007 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13008 tst-pathopt.sh.
13009 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13010 $(test-wrapper-env) to tst-rtld-load-self.sh.
13011 ($(objpfx)order2.out): Use $(test-wrapper).
13012 ($(objpfx)tst-initorder.out): Likewise.
13013 ($(objpfx)tst-initorder2.out): Likewise.
13014 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13015 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13016 (test_wrapper_env): New variable. Use it to run ld.so.
13017 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13018 Use it to run ld.so.
13019 (test_wrapper_env): Likewise.
13020 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13021 $(test-wrapper) to run-iconv-test.sh.
13022 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13023 (ICONV): Use $test_wrapper.
13024 * posix/Makefile ($(objpfx)globtest.out): Pass
13025 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13026 globtest.sh, not $(run-program-prefix).
13027 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13028 (test_wrapper): Likewise.
13029 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13030 set together with run_via_rtld_prefix.
13031 (run_program_prefix): Define in terms of test_wrapper and
13032 run_via_rtld_prefix.
13033
13034 2012-10-24 Roland McGrath <roland@hack.frob.com>
13035
13036 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13037 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13038 Targets removed.
13039
13040 [BZ #14743]
13041 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13042 Declare __clock_getres, __clock_gettime, __clock_settime,
13043 __clock_nanosleep, and __clock_getcpuclockid.
13044 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13045 Remove librt_hidden_def (clock_gettime).
13046 * sysdeps/unix/clock_gettime.c: Likewise.
13047 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13048 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13049 * rt/clock_getres.c: Define __clock_getres as an alias.
13050 * sysdeps/posix/clock_getres.c: Likewise.
13051 * rt/clock_settime.c: Define __clock_settime as an alias.
13052 * sysdeps/unix/clock_settime.c: Likewise.
13053 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13054 * sysdeps/unix/clock_nanosleep.c: Likewise.
13055 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13056 * rt/clock-compat.c: New file.
13057 * rt/Makefile (librt-routines): Add clock-compat and move
13058 $(clock-routines) to ...
13059 (routines): ... here, new variable.
13060 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13061 Don't add get_clockfreq here.
13062 * rt/Versions (libc: GLIBC_2.17): New version set.
13063 Add clock_* symbols here.
13064 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13065 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13066 (GLIBC_2.17): Add clock_* symbols.
13067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13069 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13071 Likewise.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13073 Likewise.
13074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13078 * NEWS: Mention the move.
13079
13080 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13081 Use __open, __read, __close rather than their public counterparts.
13082 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13083 (__get_clockfreq_via_cpuinfo): Likewise.
13084 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13085 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13086
13087 * config.h.in (HAVE_IFUNC): New #undef.
13088 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13089 was successful.
13090 * configure: Regenerated.
13091
13092 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13093
13094 * configure.in: Move READELF check to start of file.
13095 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13096 libc_cv_asm_gnu_indirect_function in the process.
13097 * configure: Regenerated.
13098
13099 2012-10-24 Mike Frysinger <vapier@gentoo.org>
13100
13101 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13102 send the output to /dev/null.
13103 (libc_cv_cc_with_libunwind): Likewise.
13104 (libc_cv_as_noexecstack): Likewise.
13105 * configure: Regenerate.
13106
13107 2012-10-24 Joseph Myers <joseph@codesourcery.com>
13108
13109 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13110
13111 * posix/globtest.sh (TMPDIR): Do not set.
13112 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13113 (testout): Likewise.
13114
13115 2012-10-24 Andreas Jaeger <aj@suse.de>
13116
13117 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13118 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13119 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13120 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13121 posix_fadvise64, posix_fallocate64.
13122
13123 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13124 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13125 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13126 Likewise.
13127 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13128 Likewise.
13129 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13130
13131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13132 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13133 <bits/fcntl-linux.h>.
13134 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13135
13136 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13137 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13138 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13139 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13140 [__WORDSIZE != 64]: Likewise.
13141
13142 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13143
13144 * Makeconfig (run-built-tests): New variable.
13145 * Rules [$(cross-compiling) = yes]: Change condition to
13146 [$(run-built-tests) = no].
13147 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13148 to [$(run-built-tests) = yes].
13149 * elf/Makefile [$(cross-compiling) = no]: Likewise
13150 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13151 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13152 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13153 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13154 * io/Makefile [$(cross-compiling) = no]: Likewise.
13155 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13156 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13157 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13158 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13159 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13160 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13161 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13162 * string/Makefile [$(cross-compiling) = no]: Likewise.
13163
13164 * posix/Makefile ($(objpfx)globtest.out): Pass
13165 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13166 $(rtld-installed-name).
13167 * posix/globtest.sh (elf_objpfx): Remove variable.
13168 (rtld_installed_name): Likewise.
13169 (library_path): Likewise.
13170 (run_program_prefix): New variable. Use for running globtest
13171 binary.
13172
13173 2012-10-23 Jim Blandy <jimb@codesourcery.com>
13174 Joseph Myers <joseph@codesourcery.com>
13175
13176 * Makeconfig (host-built-program-cmd): New variable.
13177 * elf/Makefile (tst-stackguard1-ARGS): Use
13178 $(host-built-program-cmd).
13179 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13180 (tst-spawn-ARGS): Likewise.
13181 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13182
13183 2012-10-23 Joseph Myers <joseph@codesourcery.com>
13184 Jim Blandy <jimb@codesourcery.com>
13185
13186 * Makeconfig (run-via-rtld-prefix): New variable.
13187 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13188 (built-program-cmd): Likewise.
13189
13190 2012-10-22 Andreas Jaeger <aj@suse.de>
13191
13192 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13193 __O_RSYNC if it exists, otherwise to O_SYNC.
13194
13195 2012-10-22 Jim Blandy <jimb@codesourcery.com>
13196 Joseph Myers <joseph@codesourcery.com>
13197
13198 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13199 /dev/null.
13200 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13201 from /dev/null
13202 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13203 /dev/null.
13204
13205 2012-10-22 Andreas Jaeger <aj@suse.de>
13206
13207 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13208 Define always.
13209 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13210
13211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13212 bits/fcntl-linux.h.
13213
13214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13215 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13216
13217 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13218 to __O_LARGEFILE.
13219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13220 to __O_LARGEFILE.
13221
13222 2012-10-21 Jim Blandy <jimb@codesourcery.com>
13223 Joseph Myers <joseph@codesourcery.com>
13224
13225 * config.make.in (NM): New variable.
13226
13227 2012-10-21 Andreas Jaeger <aj@suse.de>
13228
13229 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13230 definitions and declarations that are provided by
13231 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13232
13233 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13234
13235 [BZ #14683]
13236 * elf/Makefile (tests-static): Add tst-leaks1-static.
13237 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13238 ($(objpfx)tst-leaks1-static): New rule.
13239 ($(objpfx)tst-leaks1-static-mem): Likewise.
13240 (tst-leaks1-static-ENV): New macro.
13241 * elf/dl-open.c (dl_open_worker): Check the main application
13242 only if SHARED is defined.
13243 * elf/tst-leaks1-static.c: New file.
13244
13245 2012-10-20 Andreas Jaeger <aj@suse.de>
13246
13247 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13248 generic values for Linux.
13249 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13250 and declarations that are provided by <bits/fcntl-linux.h> and
13251 include <bits/fcntl-linux.h>.
13252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13253 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13254
13255 2012-10-20 Roland McGrath <roland@hack.frob.com>
13256
13257 * io/fcntl.h: Move include of <bits/types.h> to the top and
13258 include it unconditionally.
13259
13260 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13261
13262 * wcsmbs/Makefile (tests-ifunc): New variable.
13263 (tests): Add $(tests-ifunc).
13264 * wcsmbs/test-wcschr-ifunc.c: New file.
13265 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13266 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13267 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13268 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13269 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13270
13271 * string/Makefile (tests-ifunc): New variable.
13272 (tests): Add $(tests-ifunc).
13273 * string/test-memccpy.c (TEST_NAME): New macro.
13274 * string/test-memchr.c (TEST_NAME): Likewise.
13275 * string/test-memcmp.c (TEST_NAME): Likewise.
13276 * string/test-memcpy.c (TEST_NAME): Likewise.
13277 * string/test-memmem.c (TEST_NAME): Likewise.
13278 * string/test-memmove.c (TEST_NAME): Likewise.
13279 * string/test-memset.c (TEST_NAME): Likewise.
13280 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13281 * string/test-stpcpy.c (TEST_NAME): Likewise.
13282 * string/test-stpncpy.c (TEST_NAME): Likewise.
13283 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13284 * string/test-strcasestr.c (TEST_NAME): Likewise.
13285 * string/test-strcat.c (TEST_NAME): Likewise.
13286 * string/test-strchr.c (TEST_NAME): Likewise.
13287 * string/test-strcmp.c(TEST_NAME): Likewise.
13288 * string/test-strcpy.c (TEST_NAME): Likewise.
13289 * string/test-strcspn.c (TEST_NAME): Likewise.
13290 * string/test-strlen.c (TEST_NAME): Likewise.
13291 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13292 * string/test-strncmp.c (TEST_NAME): Likewise.
13293 * string/test-strncpy.c (TEST_NAME): Likewise.
13294 * string/test-strnlen.c (TEST_NAME): Likewise.
13295 * string/test-strpbrk.c (TEST_NAME): Likewise.
13296 * string/test-strrchr.c (TEST_NAME): Likewise.
13297 * string/test-strspn.c (TEST_NAME): Likewise.
13298 * string/test-strstr.c (TEST_NAME): Likewise.
13299 * string/test-bcopy-ifunc.c: New file.
13300 * string/test-bzero-ifunc.c: Likewise.
13301 * string/test-memccpy-ifunc.c: Likewise.
13302 * string/test-memchr-ifunc.c: Likewise.
13303 * string/test-memcmp-ifunc.c: Likewise.
13304 * string/test-memcpy-ifunc.c: Likewise.
13305 * string/test-memmem-ifunc.c: Likewise.
13306 * string/test-memmove-ifunc.c: Likewise.
13307 * string/test-mempcpy-ifunc.c: Likewise.
13308 * string/test-memset-ifunc.c: Likewise.
13309 * string/test-rawmemchr-ifunc.c: Likewise.
13310 * string/test-stpcpy-ifunc.c: Likewise.
13311 * string/test-stpncpy-ifunc.c: Likewise.
13312 * string/test-strcasecmp-ifunc.c: Likewise.
13313 * string/test-strcasestr-ifunc.c: Likewise.
13314 * string/test-strcat-ifunc.c: Likewise.
13315 * string/test-strchr-ifunc.c: Likewise.
13316 * string/test-strchrnul-ifunc.c: Likewise.
13317 * string/test-strcmp-ifunc.c: Likewise.
13318 * string/test-strcpy-ifunc.c: Likewise.
13319 * string/test-strcspn-ifunc.c: Likewise.
13320 * string/test-strlen-ifunc.c: Likewise.
13321 * string/test-strncasecmp-ifunc.c: Likewise.
13322 * string/test-strncat-ifunc.c: Likewise.
13323 * string/test-strncmp-ifunc.c: Likewise.
13324 * string/test-strncpy-ifunc.c: Likewise.
13325 * string/test-strnlen-ifunc.c: Likewise.
13326 * string/test-strpbrk-ifunc.c: Likewise.
13327 * string/test-strrchr-ifunc.c: Likewise.
13328 * string/test-strspn-ifunc.c: Likewise.
13329 * string/test-strstr-ifunc.c: Likewise.
13330
13331 * debug/Makefile (tests-ifunc): New variable.
13332 (tests): Add $(tests-ifunc).
13333 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13334 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13335 * debug/test-stpcpy_chk-ifunc.c: New file.
13336 * debug/test-strcpy_chk-ifunc.c: Likewise.
13337
13338 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13339
13340 [BZ #13601]
13341 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13342 header is not read in.
13343
13344 2012-10-19 Joseph Myers <joseph@codesourcery.com>
13345
13346 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13347 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13348 directly. Pass built executable to script as
13349 $(built-program-cmd).
13350 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13351 $testprogram without using LD_LIBRARY_PATH and $ldso.
13352
13353 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13354 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13355 $(rtld-installed-name).
13356 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13357 (rtld_installed_name): Likewise.
13358 (library_path): Likewise.
13359 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13360 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13361 $(run-program-prefix) to tst-tables.sh.
13362 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13363 it to run tst-table-from and tst-table-to.
13364 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13365 Pass it to tst-table.sh.
13366 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13367 $(run-program-prefix) to tst-gettext.sh.
13368 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13369 tst-translit.sh.
13370 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13371 tst-gettext2.sh.
13372 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13373 to run tst-gettext.
13374 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13375 to run tst-gettext2.
13376 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13377 to run tst-translit.
13378 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13379 $(run-program-prefix) to tst-mtrace.sh.
13380 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13381 to run tst-mtrace.
13382 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13383 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13384 $(rtld-installed-name).
13385 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13386 (rtld_installed_name): Likewise.
13387 (run_program_prefix): New variable. Use it to run wordexp-test.
13388
13389 * Makeconfig (ARCH): Remove all definitions.
13390 (machine): Likewise.
13391 [ARCH]: Remove conditional code.
13392 [!objdir]: Give error.
13393 [!objdir] (objpfx): Remove.
13394 [!objdir] (common-objpfx): Likewise.
13395 [!objdir] (common-objdir): Likewise.
13396 * configure.in (config_makefile): Remove. Hardcode Makefile in
13397 AC_CONFIG_FILES call.
13398 * configure: Regenerated.
13399
13400 [BZ #13888]
13401 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13402 or TMPDIR.
13403 (testout): Likewise.
13404
13405 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13406 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13407 $(rtld-installed-name).
13408 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13409 (rtld_installed_name): Likwise.
13410 (runit): Remove function.
13411 (run_getconf): New variable, Use it for running getconf binary.
13412
13413 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 [BZ #14716]
13416 * string/test-memmem.c (check_result): New function.
13417 (do_one_test): Use it.
13418 (check1): New function.
13419 (test_main): Use it.
13420
13421 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13422
13423 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13424
13425 2012-10-18 Joseph Myers <joseph@codesourcery.com>
13426
13427 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13428 (_G_LSEEK64): Likewise.
13429 (_G_MMAP64): Likewise.
13430 (_G_FSTAT64): Likewise.
13431 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13432 (_G_LSEEK64): Likewise.
13433 (_G_MMAP64): Likewise.
13434 (_G_FSTAT64): Likewise.
13435 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13436 unconditional. Call __mmap64 directly.
13437 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13438 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13439 __lseek64 directly.
13440 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13441 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13442 __mmap64 directly.
13443 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13444 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13445 __lseek64 directly.
13446 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13447 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13448 __lseek64 directly.
13449 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13450 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13451 __lseek64 directly.
13452 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13453 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13454 __fxstat64 directly.
13455 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13456 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13457 unconditional.
13458 (freopen64) [!_G_OPEN64]: Remove conditional code.
13459 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13460 unconditional.
13461 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13462 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13463 unconditional.
13464 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13465 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13466 unconditional.
13467 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13468 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13469 unconditional.
13470 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13471 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13472 unconditional.
13473 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13474 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13475 unconditional.
13476 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13477 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13478 unconditional.
13479 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13480
13481 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13482
13483 [BZ #12140]
13484 * manual/memory.texi (Malloc Tunable Parameters): Add note
13485 about free list pointers overwriting some perturb bytes.
13486 Wording suggested by Roland McGrath.
13487
13488 2012-10-17 Joseph Myers <joseph@codesourcery.com>
13489
13490 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13491 (lgamma_test): Likewise.
13492 (tgamma_test): Likewise.
13493
13494 2012-10-16 Florian Weimer <fweimer@redhat.com>
13495
13496 [BZ #14700]
13497 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13498 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13499
13500 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13501
13502 * NEWS: Mention BZ #14716.
13503 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13504 when removing AVAILABLE1_USES_J macro.
13505
13506 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13507
13508 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13509 (__bswap_64): __uint64_t for unsigned 64-bit int.
13510
13511 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13512
13513 * include/string.h (memmem): Declare libc hidden alias.
13514 * string/memmem.c (memmem): Define libc hidden alias.
13515 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13516 __read, __close instead of open, read, close.
13517
13518 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13519
13520 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13521 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13522 global and hidden.
13523 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13524 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13525 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13526 Likewise.
13527 (__rawmemchr_sse2): Likewise.
13528 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13529 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13530 (__strchr_sse2): Likewise.
13531 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13532 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13533 (__strcasecmp_sse2): Likewise.
13534 (__strncasecmp_sse2): Likewise.
13535 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13536 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13537 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13538 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13539 (__strrchr_sse2): Likewise.
13540 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13541 ifunc-impl-list.c.
13542 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13543 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13544 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13545 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13546 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13547 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13548 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13549 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13550 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13551 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13552 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13553 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13554 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13555 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13556 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13557 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13558 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13559 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13560 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13561 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13562 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13563 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13564 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13565 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13566 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13567 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13568 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13569 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13570 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13571 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13572
13573 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13574 global and hidden.
13575 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13576 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13577 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13578 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13579 Likewise.
13580 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13581 Likewise.
13582 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13583 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13584 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13585 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13586 ifunc-impl-list.c.
13587 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13588 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13589 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13590 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13591 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13592 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13593 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13594 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13595 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13596 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13597 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13598 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13599 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13600 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13601 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13602 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13603 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13604 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13605 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13606 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13607 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13608 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13609 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13610 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13611 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13612 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13613 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13614 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13615 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13616 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13617 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13618 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13619 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13620 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13621 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13622 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13623 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13624 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13625 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13626 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13627 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13628
13629 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13630 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13631 * include/ifunc-impl-list.h: New file.
13632 * misc/ifunc-impl-list.c: Likewise.
13633 * misc/Makefile (routines): Add ifunc-impl-list.
13634 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13635 * string/test-string.h: Include <ifunc-impl-list.h>.
13636 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13637 impl_array): New variables.
13638 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13639 are defined.
13640 (test_init): Call __libc_ifunc_impl_list to initialize
13641 func_list if TEST_IFUNC and TEST_NAME are defined.
13642
13643 * string/Makefile (strop-tests): Add bcopy and bzero.
13644 * string/test-bcopy.c: New file.
13645 * string/test-bzero.c: Likewise.
13646 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13647 defined.
13648 * string/test-memset.c: Support bzero test if TEST_BZERO is
13649 defined.
13650 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13651 __libc_memmove.
13652 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13653 __libc_memset.
13654 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13655 of memset.
13656
13657 2012-10-10 Joseph Myers <joseph@codesourcery.com>
13658
13659 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13660 * configure: Regenerated.
13661
13662 * Makeconfig (+link-static-before-libc): Don't include
13663 $(link-static-libc).
13664
13665 * libio/libio.h (_IO_pos_t): Remove.
13666
13667 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13668
13669 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13670 McGrath.
13671
13672 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13673
13674 * crypt/crypt-entry.c: Include fips-private.h.
13675 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13676 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13677 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13678 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13679
13680 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
13681
13682 * crypt/crypt-private.h: Include stdbool.h.
13683 (_ufc_setup_salt_r): Return bool.
13684 * crypt/crypt-entry.c: Include errno.h.
13685 (__crypt_r): Return NULL with EINVAL for bad salt.
13686 * crypt/crypt_util.c (bad_for_salt): New.
13687 (_ufc_setup_salt_r): Check that salt is long enough and within
13688 the specified alphabet.
13689 * crypt/badsalttest.c: New file.
13690 * crypt/Makefile (tests): Add it.
13691 ($(objpfx)badsalttest): New.
13692
13693 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13694
13695 * NEWS: Add entry for BZ #14602.
13696
13697 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13698
13699 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13700 type-generic.
13701 * math/libm-test.inc: Update comment listing what functions and
13702 macros are tested.
13703 (isgreater_test): New function.
13704 (isgreaterequal_test): Likewise.
13705 (isless_test): Likewise.
13706 (islessequal_test): Likewise.
13707 (islessgreater_test): Likewise.
13708 (isunordered_test): Likewise.
13709 (main): Call the new functions.
13710
13711 2012-10-09 Roland McGrath <roland@hack.frob.com>
13712
13713 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13714 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13715 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13716 * sysdeps/i386/configure: Regenerated.
13717 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13718 * sysdeps/mach/configure: Regenerated.
13719 * sysdeps/mach/hurd/configure: Regenerated.
13720 * sysdeps/powerpc/configure: Regenerated.
13721 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13722 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13723 * sysdeps/s390/s390-32/configure: Regenerated.
13724 * sysdeps/s390/s390-64/configure: Regenerated.
13725 * sysdeps/sh/configure: Regenerated.
13726 * sysdeps/sparc/configure: Regenerated.
13727 * sysdeps/unix/sysv/linux/configure: Regenerated.
13728 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13729 * sysdeps/x86_64/configure: Regenerated.
13730
13731 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13732 defined. Don't check if MAP is NULL.
13733
13734 2012-10-09 Joseph Myers <joseph@codesourcery.com>
13735
13736 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13737 (_G_stat64): Likewise.
13738 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13739 (_G_stat64): Likewise.
13740 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13741 instead of struct _G_stat64.
13742 * libio/fileops.c (mmap_remap_check): Likewise.
13743 (decide_maybe_mmap): Likewise.
13744 (_IO_new_file_seekoff): Likewise.
13745 (_IO_file_stat): Likewise.
13746 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13747 _G_off64_t.
13748 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13749 instead of struct _G_stat64.
13750 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13751
13752 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13753
13754 [BZ #14602]
13755 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13756 Replace with ...
13757 (CHECK_EOL): New macro.
13758 (two_way_short_needle): Check beginning of haystack for EOL. Use
13759 CHECK_EOL.
13760 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13761 Replace with CHECK_EOL.
13762 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13763 Replace with CHECK_EOL.
13764
13765 2012-10-08 Joseph Myers <joseph@codesourcery.com>
13766
13767 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13768 type-generic.
13769 * math/libm-test.inc: Update comment listing what functions and
13770 macros are tested.
13771 (finite_test): New function.
13772 (isinf_test): Likewise.
13773 (isnan_test): Likewise.
13774 (fpclassify_test): Test subnormal input.
13775 (isfinite_test): Likewise.
13776 (isnormal_test): Likewise.
13777 (main): Call the new functions.
13778
13779 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13780
13781 [BZ #14660]
13782 * Makerules (%.dynsym): Force C locale when running
13783 $(OBJDUMP) --dynamic-syms.
13784
13785 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13786
13787 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13788 <stdint.h>.
13789
13790 2012-10-06 David S. Miller <davem@davemloft.net>
13791
13792 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13793 upper 32-bits of the length value in %o2 since we use branch-on-register
13794 tests which consider the entire 64-bit register.
13795
13796 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13797
13798 * string/test-strstr.c (check2): Add a test for page boundary.
13799
13800 2012-10-05 David S. Miller <davem@davemloft.net>
13801
13802 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13803 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13804 file.
13805 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13806 sysdep_routines.
13807 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13808 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13809 and bzero when HWCAP_SPARC_CRYPTO is present.
13810
13811 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13812
13813 [BZ #14602]
13814 * string/test-strstr.c (check2): New function.
13815 (test_main): Call check2.
13816
13817 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13818 and bug-strchr1.
13819 * string/bug-strcasestr1.c (do_test): Moved to ...
13820 * string/test-strcasestr.c (check1): Here. New function.
13821 (do_one_test): Break out result checking code into ...
13822 (check_result): This. New function.
13823 (do_one_test): Call check_result.
13824 (test_main): Call check1.
13825 * string/bug-strchr1.c (do_test): Moved to ...
13826 * string/test-strchr.c (check1): Here. New function.
13827 (do_one_test): Break out result checking code into ...
13828 (check_result): This. New function.
13829 (do_one_test): Call check_result.
13830 (test_main): Call check1.
13831 * string/bug-strstr1.c (main): Moved to ...
13832 * string/test-strstr.c (check1): Here. New function.
13833 (do_one_test): Break out result checking code into ...
13834 (check_result): This. New function.
13835 (do_one_test): Call check_result.
13836 (test_main): Call check1.
13837 * string/bug-strcasestr1.c: Removed.
13838 * string/bug-strchr1.c: Likewise.
13839 * string/bug-strstr1.c: Likewise.
13840
13841 * elf/Makefile (dl-routines): Add hwcaps.
13842 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13843 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13844 (_dl_important_hwcaps): Moved to ...
13845 * elf/dl-hwcaps.c: Here. New file.
13846 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13847
13848 [BZ #14557]
13849 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13850 if IS_IN_rtld isn't defined.
13851
13852 * elf/dl-support.c (_dl_sysinfo_map): New.
13853 Include "get-dynamic-info.h" and "setup-vdso.h".
13854 (_dl_non_dynamic_init): Call setup_vdso.
13855 * elf/dynamic-link.h: Don't include <assert.h>.
13856 (elf_get_dynamic_info): Moved to ...
13857 * elf/get-dynamic-info.h: Here. New file.
13858 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13859 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13860 * elf/setup-vdso.h: Here. New file.
13861 * elf/rtld.c: Include "setup-vdso.h".
13862 (dl_main): Call setup_vdso.
13863
13864 2012-10-05 Joseph Myers <joseph@codesourcery.com>
13865
13866 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13867 creal in comment listing functions tested. List finite, isinf,
13868 isnan, isless, islessequal, isgreater, isgreaterequal,
13869 islessgreater, isunordered, lgamma_r and pow10 as functions and
13870 macros not tested. Mention which functions not tested are aliases
13871 for other functions. Fix typo. Note that signs of NaNs are not
13872 tested.
13873
13874 * scripts/config.guess: Update from config.git.
13875 * scripts/config.sub: Likewise.
13876
13877 2012-10-04 Roland McGrath <roland@hack.frob.com>
13878
13879 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13880 * misc/madvise.c (madvise): Renamed to __madvise.
13881 Make madvise a weak alias.
13882 * include/sys/mman.h: Declare __madvise.
13883 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13884 * sysdeps/unix/syscalls.list
13885 (madvise): Make __madvise the strong name, and madvise a weak alias.
13886 * sysdeps/unix/sysv/linux/syscalls.list
13887 (madvise, mmap): Remove redundant entries.
13888 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13889 * malloc/malloc.c (mtrim): Likewise.
13890 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13891
13892 2012-10-03 Roland McGrath <roland@hack.frob.com>
13893
13894 * sysdeps/mach/hurd/dl-cache.c: File removed.
13895 * config.h.in (USE_LDCONFIG): New #undef.
13896 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13897 * configure: Regenerated.
13898 * elf/Makefile (dl-routines): Add dl-cache only under
13899 [$(use-ldconfig) = yes].
13900 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13901 cache on [USE_LDCONFIG].
13902 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13903 [USE_LDCONFIG].
13904 * elf/rtld.c (dl_main): Likewise.
13905
13906 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13907
13908 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13909 _SC_LEVEL4_CACHE_LINESIZE.
13910
13911 2012-10-03 Roland McGrath <roland@hack.frob.com>
13912
13913 * sysdeps/unix/bsd/confstr.h: File removed.
13914
13915 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
13916
13917 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13918 sys/sdt-config.h.
13919
13920 2012-10-02 Roland McGrath <roland@hack.frob.com>
13921
13922 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13923 Make 'mapoff' field ElfW(Off) rather than off_t.
13924
13925 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13926
13927 * nscd/Makefile: Remove nscd-cflags and all its users.
13928 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13929 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13930
13931 [BZ #10631]
13932 * malloc.c (malloc_printerr): Clarify error message.
13933
13934 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13935
13936 [BZ #14648]
13937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13938 Set bit_FMA_Usable if FMA is supported.
13939 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13940 macro.
13941 (bit_FMA4_Usable): Updated.
13942 (index_FMA_Usable): New macro.
13943 (CPUID_FMA): Likewise
13944 (HAS_FMA): Defined with bit_FMA_Usable.
13945
13946 2012-10-01 Roland McGrath <roland@hack.frob.com>
13947
13948 * bits/types.h (__swblk_t): Type removed.
13949 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13950 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13951 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13952 (__SWBLK_T_TYPE): Likewise.
13953 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13954 (__SWBLK_T_TYPE): Likewise.
13955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13956 (__SWBLK_T_TYPE): Likewise.
13957 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13958 (__SWBLK_T_TYPE): Likewise.
13959
13960 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
13961 Honza Horak <hhorak@redhat.com>
13962
13963 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13964 (xdr_mapname): Use YPMAXMAP as maxsize.
13965 (xdr_peername): Use YPMAXPEER as maxsize.
13966 (xdr_keydat): Use YPAXRECORD as maxsize.
13967 (xdr_valdat): Use YPMAXRECORD as maxsize.
13968
13969 2012-10-01 Roland McGrath <roland@hack.frob.com>
13970
13971 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13972
13973 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13974 * csu/init-first.c: ... here.
13975 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13976 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13977 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13978 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13979 * sysdeps/i386/init-first.c: File removed.
13980 * sysdeps/sh/init-first.c: File removed.
13981
13982 2012-10-01 Joseph Myers <joseph@codesourcery.com>
13983
13984 [BZ #14645]
13985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13986 if x * y might underflow to zero and z is zero.
13987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13988 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13989 * math/libm-test.inc (min_subnorm_value): New variable.
13990 (fma_test): Add more tests.
13991 (fma_test_towardzero): Likewise.
13992 (fma_test_downward): Likewise
13993 (fma_test_upward): Likewise.
13994 (initialize): Set min_subnorm_value.
13995
13996 2012-09-29 Joseph Myers <joseph@codesourcery.com>
13997
13998 [BZ #14638]
13999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14000 0 + 0.
14001 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14002 mode for addition resulting in exact zero.
14003 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14004 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14005 exact 0 + 0.
14006 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14008 * math/libm-test.inc (fma_test): Add more tests.
14009 (fma_test_towardzero): New function.
14010 (fma_test_downward): Likewise.
14011 (fma_test_upward): Likewise.
14012 (main): Call the new functions.
14013
14014 2012-09-28 David S. Miller <davem@davemloft.net>
14015
14016 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14017
14018 2012-09-28 Roland McGrath <roland@hack.frob.com>
14019
14020 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14021 instead of SIGALRM.
14022
14023 * sysdeps/gnu/_G_config.h: Moved to ...
14024 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14025 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14026 * sysdeps/generic/_G_config.h: ... here.
14027
14028 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14029
14030 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14031
14032 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14033 Conditionalize target on [libnss_test1.so-version].
14034
14035 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14036
14037 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14038 (elfobjdir): Move out of conditionals.
14039
14040 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14041 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14042 (__nss_lookup_function): Conditionalize label remove_from_tree on
14043 [!DO_STATIC_NSS || SHARED], matching its only use.
14044
14045 2012-09-28 David S. Miller <davem@davemloft.net>
14046
14047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14048 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14049 file.
14050 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14051 sysdep_routines.
14052 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14053 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14054 when HWCAP_SPARC_CRYPTO is present.
14055
14056 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14057
14058 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14059
14060 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14061
14062 [BZ #6530]
14063 * stdio-common/vfprintf.c (process_string_arg): Revert
14064 2000-07-22 change.
14065
14066 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14067
14068 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14069 for testcase.
14070 * stdio-common/tst-sprintf.c: Include <locale.h>
14071 (main): Test sprintf's handling of incomplete multibyte
14072 characters.
14073
14074 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14075
14076 * elf/dl-runtime.c (VERSYMIDX): Removed.
14077 * elf/dl-version.c (VERSYMIDX): Likewise.
14078 * elf/do-rel.h (VERSYMIDX): Likewise.
14079 (VALIDX): Likewise.
14080 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14081 * elf/rtld.c (VALIDX): Likewise.
14082 (ADDRIDX): Likewise.
14083 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14084 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14085 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14086 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14087 (VALIDX): Likewise.
14088 (ADDRIDX): Likewise.
14089
14090 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14091
14092 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14093
14094 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14095
14096 [BZ #11438]
14097 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14098 to global scope.
14099 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14100 addresses are in the same scope as 192.0.2/24.
14101 * posix/gai.conf: Document new scope table defaults.
14102
14103 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14104
14105 [BZ #5298]
14106 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14107 for ftell. Compute offsets from write pointers instead.
14108 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14109
14110 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14111
14112 [BZ #14543]
14113 * libio/Makefile (tests): New test case tst-fseek.
14114 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14115 combination works in wide mode.
14116 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14117 state when the external buffer state changes.
14118
14119 2012-09-27 David S. Miller <davem@davemloft.net>
14120
14121 [BZ #14376]
14122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14123 pass reloc->r_addend in as the 'high' argument to
14124 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14125
14126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14127
14128 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14129
14130 * rt/tst-aio2.c: Include <pthread.h>.
14131 * rt/tst-aio3.c: Likewise.
14132
14133 2012-09-27 Steve Ellcey <sellcey@mips.com>
14134
14135 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14136
14137 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14138
14139 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14140 contents on [SHARED].
14141
14142 2012-09-26 Marek Polacek <polacek@redhat.com>
14143
14144 [BZ #14530]
14145 [BZ #13741]
14146 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14147 for C++ and GCC <4.3 as well as for non GCC compilers.
14148
14149 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14150
14151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14152
14153 2012-09-25 Roland McGrath <roland@hack.frob.com>
14154
14155 * Makefile.in (all, install): Declare with .PHONY.
14156 Reported by Michael Hope <michael.hope@linaro.org>.
14157
14158 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14159
14160 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14161 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14162 system header.
14163 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14164 Likewise.
14165 (sydep_routines): Add the new and the internal functions.
14166 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14167 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14169 (GLIBC_2.17): Add the new function.
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14171 (GLIBC_2.17): Likewise.
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14173 (GLIBC_2.17): Likewise.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14175 (GLIBC_2.17): Likewise.
14176 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14177
14178 2012-09-25 Alan Modra <amodra@gmail.com>
14179
14180 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14181 Add release barrier before setting once_control to say
14182 initialisation is done. Add hints on lwarx. Use macro in
14183 place of isync.
14184 (clear_once_control): Add release barrier.
14185
14186 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14187
14188 [BZ #13629]
14189 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14190 specially.
14191 * math/s_clog10.c (__clog10): Likewise.
14192 * math/s_clog10f.c (__clog10f): Likewise.
14193 * math/s_clog10l.c (__clog10l): Likewise.
14194 * math/s_clogf.c (__clogf): Likewise.
14195 * math/s_clogl.c (__clogl): Likewise.
14196 * math/Makefile (libm-calls): Add x2y2m1.
14197 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14198 (__x2y2m1): Likewise.
14199 (__x2y2m1l): Likewise.
14200 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14201 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14202 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14204 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14205 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14206 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14207 * sysdeps/i386/fpu/libm-test-ulps: Update.
14208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14209
14210 [BZ #14621]
14211 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14212 int as type of variable DEPTH.
14213 (glob): Use size_t instead of int as type of variables NEWCOUNT
14214 and OLD_PATHC.
14215
14216 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14217
14218 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14219 Add s_sincosf-sse2.
14220 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14221 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14222 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14223 macros for using routine as __sincosf_ia32.
14224 Use macro for function declaration and weak_alias.
14225 * sysdeps/i386/fpu/libm-test-ulps: Update.
14226
14227 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14228 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14229
14230 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14231 subnormal argument.
14232 * math/s_cexpf.c (__cexpf): Likewise.
14233 * math/s_csinf.c (__csinf): Likewise.
14234 * math/s_csinhf.c (__csinhf): Likewise.
14235 * math/s_ctanf.c (__ctanf): Likewise.
14236 * math/s_ctanhf.c (__ctanhf): Likewise.
14237 * math/s_ccosh.c (__ccoshf): Likewise.
14238 * math/s_cexp.c (__cexpl): Likewise.
14239 * math/s_csin.c (__csin): Likewise.
14240 * math/s_csinh.c (__csinh): Likewise.
14241 * math/s_ctan.c (__ctan): Likewise.
14242 * math/s_ctanh.c (ctanh): Likewise.
14243 * math/s_ccoshl.c (__ccoshl): Likewise.
14244 * math/s_cexpl.c (__cexpl): Likewise.
14245 * math/s_csinl.c (__csinl): Likewise.
14246 * math/s_csinhl.c (__csinhl): Likewise.
14247 * math/s_ctanl.c (__ctanl): Likewise.
14248 * math/s_ctanhl.c (__ctanhl): Likewise.
14249
14250 2012-09-25 Joseph Myers <joseph@codesourcery.com>
14251
14252 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14253 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14254 (_IO_off_t): Define to __off_t, not _G_off_t.
14255 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14256 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14257 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14258 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14259 type of __dummy and __dummy2 fields.
14260 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14261 (_G_ssize_t): Likewise.
14262 (_G_off_t): Likewise.
14263 (_G_pid_t): Likewise.
14264 (_G_uid_t): Likewise.
14265 (_G_wchar_t): Likewise.
14266 (_G_wint_t): Likewise.
14267 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14268 (_G_ssize_t): Likewise.
14269 (_G_off_t): Likewise.
14270 (_G_pid_t): Likewise.
14271 (_G_uid_t): Likewise.
14272 (_G_wchar_t): Likewise.
14273 (_G_wint_t): Likewise.
14274 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14275 (_G_ssize_t): Likewise.
14276 (_G_off_t): Likewise.
14277 (_G_pid_t): Likewise.
14278 (_G_uid_t): Likewise.
14279 (_G_wchar_t): Likewise.
14280 (_G_wint_t): Likewise.
14281
14282 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14283
14284 * malloc/arena.c: Include malloc-sysdep.h.
14285 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14286 is sufficient to shrink the heap or an unmap is needed.
14287 * sysdeps/generic/malloc-sysdep.h: New file. Define
14288 new function check_may_shrink_heap.
14289 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14290 new function check_may_shrink_heap.
14291
14292 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14293
14294 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14295 comments.
14296
14297 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14298
14299 * catgets/test-gencat.sh: Add "set -e".
14300 * elf/tst-pathopt.sh: Likewise.
14301 * grp/tst_fgetgrent.sh: Likewise.
14302 * iconvdata/run-iconv-test.sh: Likewise.
14303 * intl/tst-gettext.sh: Likewise.
14304 * intl/tst-gettext2.sh: Likewise.
14305 * intl/tst-gettext4.sh: Likewise.
14306 * intl/tst-gettext6.sh: Likewise.
14307 * intl/tst-translit.sh: Likewise.
14308 * io/ftwtest-sh: Likewise.
14309 * libio/test-freopen.sh: Likewise.
14310 * malloc/tst-mtrace.sh: Likewise.
14311 * posix/globtest.sh: Likewise.
14312 * posix/tst-getconf.sh: Likewise.
14313 * posix/wordexp-tst.sh: Likewise.
14314 * stdio-common/tst-printf.sh: Likewise.
14315 * stdio-common/tst-unbputc.sh: Likewise.
14316 * stdlib/tst-fmtmsg.sh: Likewise.
14317 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14318 * catgets/Makefile: Do not specify -e option when running
14319 testsuite shell scripts.
14320 * elf/Makefile: Likewise.
14321 * grp/Makefile: Likewise.
14322 * iconvdata/Makefile: Likewise.
14323 * intl/Makefile: Likewise.
14324 * io/Makefile: Likewise.
14325 * libio/Makefile: Likewise.
14326 * malloc/Makefile: Likewise.
14327 * posix/Makefile: Likewise.
14328 * stdio-common/Makefile: Likewise.
14329 * stdlib/Makefile: Likewise.
14330 * sysdeps/x86_64/Makefile: Likewise.
14331
14332 * io/ftwtest-sh: Add copyright header.
14333 * posix/globtest.sh: Likewise.
14334 * posix/tst-getconf.sh: Likewise.
14335 * posix/wordexp-tst.sh: Likewise.
14336 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14337
14338 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14339
14340 [BZ #13679]
14341 * Makeconfig (+link): Defined as $(+link-static) if
14342 $(build-shared) isn't yes.
14343 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14344 isn't yes.
14345 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14346
14347 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14348
14349 [BZ #14562]
14350 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14351 new chunk size with MALLOC_ALIGN_MASK.
14352
14353 2012-09-24 Joseph Myers <joseph@codesourcery.com>
14354
14355 [BZ #5044]
14356 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14357 <rounding-mode.h>.
14358 (__printf_fphex): Determine rounding using get_rounding_mode and
14359 round_away.
14360 * stdio-common/tst-printf-round.c (struct hex_test): New
14361 structure.
14362 (hex_tests): New variable.
14363 (test_hex_in_one_mode): New function.
14364 (do_test): Also run tests for hex float output.
14365
14366 2012-09-21 Joseph Myers <joseph@codesourcery.com>
14367
14368 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14369 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14370 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14371 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14372 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14373 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14374 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14375 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14376
14377 2012-09-20 Joseph Myers <joseph@codesourcery.com>
14378
14379 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14380 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14381 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14382 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14383
14384 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14385
14386 [BZ #14579]
14387 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14388 mode only.
14389 * elf/tst-rtld-load-self.sh: New test.
14390 * elf/Makefile: Run it.
14391
14392 2012-09-18 Joseph Myers <joseph@codesourcery.com>
14393
14394 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14395 (tst-writev-ENV): Remove.
14396 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14397
14398 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14399
14400 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14401
14402 2012-09-17 Joseph Myers <joseph@codesourcery.com>
14403
14404 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14405 unconditional.
14406 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14407 Likewise.
14408 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14409 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14410 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14411 Likewise.
14412
14413 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14414
14415 [BZ #14587]
14416 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14417 * config.make.in (have-cpp-asm-debuginfo): Removed.
14418 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14419 * configure: Regenerated.
14420
14421 2012-09-14 Joseph Myers <joseph@codesourcery.com>
14422
14423 [BZ #5044]
14424 * stdio-common/printf_fp.c: Include <stdbool.h> and
14425 <rounding-mode.h>.
14426 (___printf_fp): Determine rounding using get_rounding_mode and
14427 round_away.
14428 * stdio-common/tst-printf-round.c: New file.
14429 * stdio-common/Makefile (tests): Add tst-printf-round.
14430 (link-libm): New variable.
14431 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14432
14433 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14434
14435 [BZ #14576]
14436 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14437 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14438 Likewise.
14439 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14440 Likewise.
14441
14442 2012-09-13 Joseph Myers <joseph@codesourcery.com>
14443
14444 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14445 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14446 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14447 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14448
14449 2012-09-12 Joseph Myers <joseph@codesourcery.com>
14450
14451 [BZ #14518]
14452 * include/rounding-mode.h: New file.
14453 * sysdeps/generic/get-rounding-mode.h: Likewise.
14454 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14455 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14456 (MAX_VALUE): New macro.
14457 (MIN_VALUE): Likewise.
14458 (overflow_value): New function.
14459 (underflow_value): Likewise.
14460 (round_and_return): Use overflow_value and underflow_value to
14461 determine return values in overflow and underflow cases. Use
14462 round_away to determine rounding depending on rounding mode.
14463 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14464 determine return values in overflow and underflow cases.
14465 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14466 (struct test_results): New structure.
14467 (struct test): Use struct test_results to store expected results
14468 for all rounding modes.
14469 (TEST): Include expected results for all rounding modes.
14470 (test_in_one_mode): New function.
14471 (do_test): Use test_in_one_mode to compute and check results.
14472 Check results for all rounding modes.
14473 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14474 $(link-libm).
14475
14476 2012-12-09 Allan McRae <allan@archlinux.org>
14477
14478 * sysdeps/i386/fpu/libm-test-ulps: Update
14479
14480 2012-09-11 Joseph Myers <joseph@codesourcery.com>
14481
14482 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14483 (_G_int32_t): Likewise.
14484 (_G_uint16_t): Likewise.
14485 (_G_uint32_t): Likewise.
14486 (_G_HAVE_BOOL): Likewise.
14487 (_G_HAVE_ATEXIT): Likewise.
14488 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14489 (_G_HAVE_IO_FILE_OPEN): Likewise.
14490 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14491 (_G_int32_t): Likewise.
14492 (_G_uint16_t): Likewise.
14493 (_G_uint32_t): Likewise.
14494 (_G_HAVE_BOOL): Likewise.
14495 (_G_HAVE_ATEXIT): Likewise.
14496 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14497 (_G_HAVE_IO_FILE_OPEN): Likewise.
14498 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14499 (_G_int32_t): Likewise.
14500 (_G_uint16_t): Likewise.
14501 (_G_uint32_t): Likewise.
14502 (_G_HAVE_BOOL): Likewise.
14503 (_G_HAVE_ATEXIT): Likewise.
14504 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14505 (_G_HAVE_IO_FILE_OPEN): Likewise.
14506
14507 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14508
14509 * csu/libc-tls.c: Update copyright years.
14510
14511 2012-09-10 Joseph Myers <joseph@codesourcery.com>
14512
14513 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14514 [!_G_USING_THUNKS]: Remove conditional code.
14515 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14516 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14517
14518 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14519 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14520 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14521 (_G_VTABLE_LABEL_PREFIX): Likewise.
14522 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14523 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14524 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14525 (_G_VTABLE_LABEL_PREFIX): Likewise.
14526 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14527 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14528 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14529 (_G_VTABLE_LABEL_PREFIX): Likewise.
14530 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14531
14532 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14533
14534 * libio/Makefile: Include ../Makeconfig before tests.
14535 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14536 only if $(build-shared) is yes.
14537
14538 * iconv/gconv_db.c: Update copyright years.
14539
14540 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14541
14542 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14543 unwind info if defined PIC. Fix special cases description.
14544 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14545
14546 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14547 DP_HI_MASK entry.
14548 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14549
14550 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14551
14552 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14553
14554 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14555 is NULL.
14556
14557 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14558 (LDLIBS-tst-chk4): This.
14559 (LDFLAGS-tst-chk5): Renamed to ...
14560 (LDLIBS-tst-chk5): This.
14561 (LDFLAGS-tst-chk6): Renamed to ...
14562 (LDLIBS-tst-chk6): This.
14563 (LDFLAGS-tst-lfschk4): Renamed to ...
14564 (LDLIBS-tst-lfschk4): This.
14565 (LDFLAGS-tst-lfschk5): Renamed to ...
14566 (LDLIBS-tst-lfschk5): This.
14567 (LDFLAGS-tst-lfschk6): Renamed to ...
14568 (LDLIBS-tst-lfschk6): This.
14569
14570 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14571 on $(common-objpfx)soversions.mk.
14572
14573 2012-09-07 Joseph Myers <joseph@codesourcery.com>
14574
14575 [BZ #10014]
14576 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14577 example host name.
14578
14579 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14580
14581 * malloc/arena.c (arena_get_retry): New function that gets
14582 another arena for the caller to try its request on.
14583 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14584 current arena cannot fulfill the request.
14585 (__libc_memalign): Likewise.
14586 (__libc_memalign): Likewise.
14587 (__libc_pvalloc): Likewise.
14588 (__libc_calloc): Likewise.
14589
14590 2012-09-05 John Tobey <john.tobey@gmail.com>
14591
14592 [BZ #13542]
14593 * manual/arith.texi (Operations on Complex): Fix description
14594 of carg branch cut.
14595
14596 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14597
14598 [BZ #10014]
14599 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14600 host name.
14601
14602 [BZ #10038]
14603 * manual/memory.texi (Memory): Make order of menu items match
14604 order of sections.
14605
14606 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14607
14608 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14609 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14610 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14611
14612 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14613
14614 * csu/libc-tls.c (static_dtv): Renamed to ...
14615 (_dl_static_dtv): This. Make it global.
14616 (_dl_initial_dtv): Removed.
14617 (__libc_setup_tls): Updated.
14618 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14619 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14620 DL_INITIAL_DTV.
14621
14622 2012-09-06 Petr Machata <pmachata@redhat.com>
14623
14624 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14625 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14626 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14627 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14628
14629 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14630
14631 [BZ #14545]
14632 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14633 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14634 freeing dtv[-1].
14635
14636 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14637
14638 [BZ #14544]
14639 * Makeconfig (link-static-before-libc): Replace $(+prector)
14640 with $(+prectorT).
14641 (link-static-after-libc): Replace $(+postctor) with
14642 $(+postctorT).
14643 (link-bounded): Replace $(+prector)/$(+postctor) with
14644 $(+prectorT)/$(+postctorT).
14645 (+prectorT): New macro.
14646 (+postctorT): Likewise.
14647
14648 2012-09-06 Joseph Myers <joseph@codesourcery.com>
14649
14650 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14651 (round_str): Handle values above the maximum for IBM long double
14652 as inexact.
14653 * stdlib/tst-strtod-round.c (tests): Regenerated.
14654
14655 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14656
14657 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14658 assembler flag.
14659 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14660 zarch_nohighgprs around the zarch optimized routines.
14661 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14662 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14663 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14664 for zarch.
14665
14666 2012-09-05 David S. Miller <davem@davemloft.net>
14667
14668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14669
14670 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14671 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14672 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14673 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14674 entries.
14675
14676 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14677
14678 * malloc/arena.c: Fold copyright years.
14679 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14680
14681 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14682
14683 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14684
14685 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14686
14687 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14688
14689 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14690
14691 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14692 change internal state upon failure.
14693
14694 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
14695
14696 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14697 * malloc/memusage.c (mmap): Likewise.
14698 (mmap64, mremap): Likewise. Adjust name in comment.
14699
14700 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14701
14702 * libio/fileops.c: Fix typos in comments.
14703 * libio/oldfileops.c: Likewise.
14704 * libio/wfileops.c: Likewise.
14705
14706 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14707
14708 [BZ #1349]
14709 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14710 (tst-malloc-usable-ENV): Set environment for test case.
14711 * malloc/hooks.c (malloc_check_get_size): New function to get
14712 requested size.
14713 * malloc/malloc.c (musable): Use malloc_check_get_size.
14714 * malloc/tst-malloc-usable.c: New test case.
14715
14716 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14717
14718 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14719
14720 2012-09-05 Allan McRae <allan@archlinux.org>
14721
14722 [BZ #13966]
14723 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14724 determine header location.
14725 * configure: Regenerated.
14726
14727 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14728
14729 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14730 float format.
14731 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14732 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14733 format.
14734 (test): Regenerate.
14735
14736 2012-09-04 David S. Miller <davem@davemloft.net>
14737
14738 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14739 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14740 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14741
14742 2012-09-04 Florian Weimer <fweimer@redhat.com>
14743
14744 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14745 failures.
14746
14747 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14748
14749 2012-09-04 Joseph Myers <joseph@codesourcery.com>
14750
14751 [BZ #9914]
14752 * libio/iogetdelim.c: Include <limits.h>.
14753 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14754 + len + 1 would overflow.
14755
14756 2012-09-03 Andreas Jaeger <aj@suse.de>
14757
14758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14759 * sysdeps/i386/fpu/libm-test-ulps: Update.
14760
14761 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14762
14763 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14764 Add s_sinf-sse2, s_conf-sse2.
14765
14766 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14767 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14768 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14769 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14770
14771 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14772 for using routine as __sinf_ia32.
14773 Use macro for function declaration and weak_alias.
14774 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14775 for using routine as __cosf_ia32.
14776 Use macro for function declaration and weak_alias.
14777
14778 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14779 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14780
14781 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14782 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14783 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14784
14785 * math/libm-test.inc (cos_test): Add more test cases.
14786 (sin_test): Likewise.
14787 (sincos_test): Likewise.
14788
14789 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14790
14791 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14792 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14793 hidden.
14794 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14795
14796 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14797
14798 [BZ #14538]
14799 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14800 first element of the GOT.
14801 (elf_machine_load_address): Return the difference between
14802 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14803
14804 2012-09-01 Allan McRae <allan@archlinux.org>
14805
14806 [BZ #13412]
14807 * configure.in (AWK): Require gawk version 3.0 or later.
14808 * configure: Regenerated.
14809
14810 2012-09-01 Joseph Myers <joseph@codesourcery.com>
14811
14812 * sysdeps/unix/sysv/linux/kernel-features.h
14813 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14814 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14815 [__NR_clock_getres]: Make code unconditional.
14816 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14817 (clock_getcpuclockid): Remove code left unreachable by removal of
14818 conditionals.
14819 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14820 code unconditional.
14821 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14822 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14823 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14824 Make code unconditional.
14825 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14826 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14827 * sysdeps/unix/sysv/linux/clock_settime.c
14828 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14829 conditional code.
14830 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14831 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14832
14833 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14834
14835 [BZ #14476]
14836 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14837 scripts/test-installation.pl.
14838
14839 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14840 and $ld_so_version if it is set.
14841
14842 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14843
14844 [BZ #14516]
14845 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14846 failure if reading from procfs failed.
14847 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14848
14849 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14850
14851 * sysdeps/unix/sysv/linux/kernel-features.h
14852 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14853 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14854 Remove conditional code.
14855 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14856 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14857 Remove conditional code.
14858 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14859 * sysdeps/unix/sysv/linux/i386/fxstat.c
14860 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14861 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14862 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14863 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14864 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14865 * sysdeps/unix/sysv/linux/i386/lxstat.c
14866 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14867 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14868 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14869 Remove conditional code.
14870 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14871 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14872 Remove conditional code.
14873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14874 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14875 <kernel-features.h>.
14876 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14877 Remove.
14878 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14879 Remove conditional code.
14880 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14881 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14882 Remove conditional.
14883
14884 2012-08-27 Mike Frysinger <vapier@gentoo.org>
14885
14886 [BZ #5400]
14887 * NEWS: Add fixed bug number.
14888
14889 2012-08-27 Joseph Myers <joseph@codesourcery.com>
14890
14891 [BZ #14519]
14892 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14893 underflowing exponent in case of negative sign.
14894 * stdlib/tst-strtod-round-data: Add more tests.
14895 * stdlib/tst-strtod-round.c (tests): Regenerated.
14896
14897 [BZ #3479]
14898 * stdlib/strtod_l.c (NDIG): Remove.
14899 (HEXNDIG): Likewise.
14900 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14901 smallest representable value.
14902 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14903 lie within an exact representation of 1/2 ulp of the result.
14904 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14905 unconditionally.
14906 (TENS_P9_IDX): Define unconditionally.
14907 (TENS_P9_SIZE): Likewise.
14908 (TENS_P10_IDX): Likewise.
14909 (TENS_P10_SIZE): Likewise.
14910 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14911 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14912 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14913 entries for 10^2^13 and 10^2^14.
14914 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14915 (TENS_P13_IDX): Define.
14916 (TENS_P13_SIZE): Likewise.
14917 (TENS_P14_IDX): Likewise.
14918 (TENS_P14_SIZE): Likewise.
14919 (_fpioconst_pow10): Change array size to
14920 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14921 unconditional.
14922 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14923 1024]: Add entries for 10^2^13 and 10^2^14.
14924 [LAST_POW10 > _LAST_POW10]: Remove #error.
14925 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14926 (_fpioconst_pow10): Change array size to
14927 FPIOCONST_POW10_ARRAY_SIZE.
14928 * stdlib/gen-fpioconst.c: New file.
14929 * stdlib/gen-tst-strtod-round.c: Likewise.
14930 * stdlib/tst-strtod-round-data: Likewise.
14931 * stdlib/tst-strtod-round.c: Likewise.
14932 * stdlib/Makefile (tests): Add tst-strtod-round.
14933
14934 [BZ #14459]
14935 * stdlib/strtod_l.c: Include <stdint.h>.
14936 (NDEBUG): Do not define.
14937 (round_and_return): Change EXPONENT parameter to type intmax_t.
14938 Rearrange calculations to avoid internal overflow possibilities.
14939 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14940 Rearrange calculations to avoid internal overflow possibilities.
14941 Assert that number fits inside MPNSIZE limbs.
14942 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14943 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14944 calculations and add assertions to avoid internal overflow
14945 possibilities. Add casts to avoid signed/unsigned operations.
14946 * stdlib/tst-strtod-overflow.c: New file.
14947 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14948
14949 2012-08-25 Marek Polacek <polacek@redhat.com>
14950
14951 * time/time.h: Fix some typos in comments.
14952
14953 2012-08-23 Roland McGrath <roland@hack.frob.com>
14954
14955 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14956 * posix/tst-rfc3484-2.c: Likewise.
14957 * posix/tst-rfc3484-3.c: Likewise.
14958
14959 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14960
14961 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14962 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14963
14964 2012-08-23 Joseph Myers <joseph@codesourcery.com>
14965
14966 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14967 #include of fxstatat64.c.
14968
14969 2012-08-22 Roland McGrath <roland@hack.frob.com>
14970
14971 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14972 * shadow/getspent_r.c: Likewise.
14973 * shadow/getspnam.c: Likewise.
14974 * shadow/getspnam_r.c: Likewise.
14975 * gshadow/getsgent.c: Likewise.
14976 * gshadow/getsgent_r.c: Likewise.
14977 * gshadow/getsgnam.c: Likewise.
14978 * gshadow/getsgnam_r.c: Likewise.
14979 * inet/getnetbyad.c: Likewise.
14980 * inet/getnetbyad_r.c: Likewise.
14981 * inet/getnetbynm.c: Likewise.
14982 * inet/getnetbynm_r.c: Likewise.
14983 * inet/getnetent.c: Likewise.
14984 * inet/getnetent_r.c: Likewise.
14985 * inet/getproto.c: Likewise.
14986 * inet/getproto_r.c: Likewise.
14987 * inet/getprtent.c: Likewise.
14988 * inet/getprtent_r.c: Likewise.
14989 * inet/getprtname.c: Likewise.
14990 * inet/getprtname_r.c: Likewise.
14991 * inet/getrpcbyname.c: Likewise.
14992 * inet/getrpcbyname_r.c: Likewise.
14993 * inet/getrpcbynumber.c: Likewise.
14994 * inet/getrpcbynumber_r.c: Likewise.
14995 * inet/getrpcent.c: Likewise.
14996 * inet/getrpcent_r.c: Likewise.
14997 * inet/getaliasent.c: Likewise.
14998 * inet/getaliasent_r.c: Likewise.
14999 * inet/getaliasname.c: Likewise.
15000 * inet/getaliasname_r.c: Likewise.
15001 * nscd/getgrgid_r.c: Likewise.
15002 * nscd/getgrnam_r.c: Likewise.
15003 * nscd/gethstbyad_r.c: Likewise.
15004 * nscd/gethstbynm3_r.c: Likewise.
15005 * nscd/getpwnam_r.c: Likewise.
15006 * nscd/getpwuid_r.c: Likewise.
15007 * nscd/getsrvbynm_r.c: Likewise.
15008 * nscd/getsrvbypt_r.c: Likewise.
15009 * nscd/gai.c: Likewise.
15010
15011 * configure.in (build_nscd): New substituted variable, set
15012 by --disable-build-nscd and defaults to $use_nscd.
15013 * configure: Regenerated.
15014 * config.make.in (build-nscd): New substituted variable.
15015 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15016 Change conditional to require [$(build-nscd) = yes] as well.
15017 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15018
15019 [BZ# 13696]
15020 * configure.in (use_nscd): New substituted variable, set by
15021 --disable-nscd. If enabled, define USE_NSCD.
15022 * configure: Regenerated.
15023 * config.h.in: Add USE_NSCD.
15024 * config.make.in (use-nscd): New substituted variable.
15025 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15026 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15027 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15028 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15029 (CFLAGS-getgrnam_r.c): Likewise.
15030 (CFLAGS-initgroups.c): Likewise.
15031 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15032 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15033 Variables removed.
15034 * inet/getnetgrent_r.c
15035 (nscd_setnetgrent): New function, broken out of ...
15036 (setnetgrent): ... here. Call it.
15037 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15038 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15039 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15040 * nscd/Makefile (routines, aux): Move definitions after include of
15041 Makeconfig. Conditionalize on [$(use-nscd) != no].
15042 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15043 Conditionalize on [USE_NSCD].
15044 (is_nscd, nscd_init_cb): Likewise.
15045 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15046 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15047 * nss/nss_db/db-init.c: Likewise.
15048 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15049 [USE_NSCD].
15050 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15051 (make_request): Use it.
15052 (cache_valid_p): New function.
15053 (__check_pf): Use it.
15054 * NEWS: Add item for --disable-nscd.
15055
15056 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15057
15058 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15059 to support sed >= 4.2.1-20-ga9bf076.
15060 * configure: Regenerated.
15061
15062 2012-08-22 Roland McGrath <roland@hack.frob.com>
15063
15064 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15065 Conditionalize whole body on [IREL].
15066
15067 2012-08-22 Jeff Law <law@redhat.com>
15068
15069 [BZ #14505]
15070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15071 if the family is PF_UNSPEC.
15072
15073 2012-08-22 Mike Frysinger <vapier@gentoo.org>
15074
15075 * Makerules (lib-version): Rename from V.
15076 (install-lib-nosubdir): Change V to lib-version.
15077
15078 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15079
15080 [BZ #14252]
15081 * powerpc32/power6/wcschr.c: New file.
15082 * powerpc32/power6/wcscpy.c: New file.
15083 * powerpc32/power6/wcsrchr.c: New file.
15084 * powerpc64/power6/wcschr.c: New file.
15085 * powerpc64/power6/wcscpy.c: New file.
15086 * powerpc64/power6/wcsrchr.c: New file.
15087
15088 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15089
15090 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15091 (two_way_short_needle): Use it.
15092 * string/strstr.c (AVAILABLE1_USES_J): Define.
15093 * string/strcasestr.c: Likewise.
15094
15095 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15096 array references.
15097 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15098
15099 [BZ #11607]
15100 * NEWS: Add an entry.
15101 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15102 define their defaults.
15103 (two_way_short_needle): Detect end-of-string on-the-fly.
15104 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15105 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15106 * string/bug-strcasestr1.c: New test.
15107 * string/Makefile: Run it.
15108
15109 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15110
15111 [BZ #11607]
15112 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15113 the first character.
15114
15115 2012-08-21 Roland McGrath <roland@hack.frob.com>
15116
15117 * csu/elf-init.c (__libc_csu_irel): Function removed.
15118 * csu/libc-start.c (apply_irel): New function.
15119 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15120
15121 2012-08-21 Joseph Myers <joseph@codesourcery.com>
15122
15123 * sysdeps/unix/sysv/linux/kernel-features.h
15124 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15125 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15126 <kernel-features.h>.
15127 [__NR_fadvise64_64]: Make code unconditional.
15128 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15129 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15130 !__NR_fadvise64_64)]: Likewise.
15131 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15132 !__NR_fadvise64_64))]: Likewise.
15133 [__NR_fadvise64]: Make code unconditional.
15134 [!__NR_fadvise64]: Remove conditional code.
15135 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15136 <kernel-features.h>.
15137 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15138 unconditional.
15139 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15140 conditional code.
15141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15142 not include <kernel-features.h>.
15143 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15144 unconditional.
15145 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15146 conditional code.
15147 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15148 include <kernel-features.h>.
15149 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15150 unconditional.
15151 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15152 conditional code.
15153
15154 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15155
15156 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15157 slight instruction rearrangements per scrollpipe analysis.
15158 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15159
15160 2012-08-20 Roland McGrath <roland@hack.frob.com>
15161
15162 * manual/syslog.texi (syslog; vsyslog, closelog):
15163 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15164 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15165
15166 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15167 DSOCAPS to match condition on defining it.
15168
15169 2012-08-20 Joseph Myers <joseph@codesourcery.com>
15170
15171 * sysdeps/unix/sysv/linux/kernel-features.h
15172 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15174 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15175 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15177 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15178 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15180 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15181 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15182
15183 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15184 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15185
15186 * sysdeps/unix/sysv/linux/kernel-features.h
15187 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15188 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15189 unconditional.
15190 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15191 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15192 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15193 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15194 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15195 Make code unconditional.
15196 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15197 (__mmap64) [!__NR_mmap2]: Likewise.
15198 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15199 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15200 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15201 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15202 [__NR_mmap2]: Make code unconditional.
15203 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15204 (__mmap64) [!__NR_mmap2]: Likewise.
15205
15206 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15207
15208 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15209
15210 2012-08-18 Andreas Jaeger <aj@suse.de>
15211
15212 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15213
15214 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15215
15216 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15217 * include/unistd.h (__have_sock_cloexec): Likewise.
15218 (__have_pipe2): Likewise.
15219 (__have_dup3): Likewise.
15220
15221 2012-08-18 Mike Frysinger <vapier@gentoo.org>
15222
15223 [BZ #9685]
15224 * include/unistd.h (__have_pipe2): Change define into an extern int.
15225 (__have_dup3): Likewise.
15226 * socket/have_sock_cloexec.c: Include fcntl.h.
15227 (__have_pipe2): New variable.
15228 (__have_dup3): Likewise.
15229
15230 2012-08-17 Mike Frysinger <vapier@gentoo.org>
15231
15232 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15233
15234 2012-08-17 Marek Polacek <polacek@redhat.com>
15235
15236 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15237 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15238
15239 2012-08-17 Roland McGrath <roland@hack.frob.com>
15240
15241 * configure.in: Add AC_SUBST for sysheaders.
15242 * configure: Regenerated.
15243 * config.make.in (sysheaders): New substituted variable.
15244
15245 * sysdeps/unix/mkfifo.c: Moved ...
15246 * sysdeps/posix/mkfifo.c: ... here.
15247 * sysdeps/unix/mkfifoat.c: Moved ...
15248 * sysdeps/posix/mkfifoat.c: ... here.
15249
15250 * sysdeps/unix/utime.c: Moved ...
15251 * sysdeps/posix/utime.c: ... here.
15252
15253 * sysdeps/unix/time.c: Moved ...
15254 * sysdeps/posix/time.c: ... here.
15255 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15256 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15257
15258 * sysdeps/unix/nice.c: Moved ...
15259 * sysdeps/posix/nice.c: ... here.
15260
15261 * sysdeps/unix/alarm.c: Moved ...
15262 * sysdeps/posix/alarm.c: ... here.
15263
15264 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15265
15266 2012-08-17 Jeff Law <law@redhat.com>
15267
15268 * intl/Makefile (codeset_mo): New variable.
15269 ($(codeset_mo)): New target.
15270 (tst-codeset.out): Depend on that. Remove explicit rule.
15271 (tst-gettext3.out, tst-gettext5.out): Likewise.
15272 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15273 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15274 * intl/tst-codeset.sh: Remove.
15275 * intl/tst-gettext3.sh: Likewise.
15276 * intl/tst-gettext5.sh: Likewise.
15277
15278 2012-08-17 Roland McGrath <roland@hack.frob.com>
15279
15280 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15281 * sysdeps/unix/syscalls.list: ... here.
15282
15283 * sysdeps/posix/getaddrinfo.c
15284 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15285 (gaiconf_init, gaiconf_reload): Use them.
15286 [!_STATBUF_ST_NSEC]
15287 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15288 Define using time_t rather than struct timespec.
15289
15290 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15291 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15292 Macros removed.
15293 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15294 [!NO_THREADS].
15295 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15296 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15297 Likewise.
15298
15299 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15300 __libc_cleanup_push argument.
15301
15302 * bits/param.h: New file.
15303 * misc/sys/param.h: New file.
15304 * include/sys/param.h: New file.
15305 * misc/Makefile (headers): Add bits/param.h.
15306 * sysdeps/generic/sys/param.h: File removed.
15307 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15308 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15309 * sysdeps/mach/hurd/bits/param.h: New file.
15310 * sysdeps/mach/hurd/sys/param.h: File removed.
15311
15312 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15313 last change.
15314
15315 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15316 [_IO_MTSAFE_IO].
15317 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15318 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15319 New macros.
15320
15321 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15322 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15323 rather than -D_IO_MTSAFE_IO conditionally.
15324 * stdio-common/Makefile (CPPFLAGS): Likewise.
15325 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15326 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15327 Use $(libio-mtsafe).
15328 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15329 of -D_IO_MTSAFE_IO.
15330 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15331 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15332 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15333 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15334 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15335 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15336 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15337 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15338 (CFLAGS-fread_u_chk.c): Likewise.
15339 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15340 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15341 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15342 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15343 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15344 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15345 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15346 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15347 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15348
15349 * libio/Makefile: Test [$(libc-reentrant) = yes]
15350 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15351
15352 * Makeconfig
15353 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15354 * sysdeps/pthread/configure: File removed.
15355 * sysdeps/pthread/Makeconfig: New file.
15356 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15357 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15358
15359 2012-08-16 Gary Benson <gbenson@redhat.com>
15360
15361 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15362 unmapping the first object in a namespace.
15363
15364 2012-08-16 Roland McGrath <roland@hack.frob.com>
15365
15366 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15367 (__internal_setnetgrent): ... this. Add internal_function to
15368 definition. Add libc_hidden_def.
15369 (setnetgrent): Update caller.
15370 (internal_endnetgrent): Renamed to ...
15371 (__internal_endnetgrent): ... this. Add internal_function to
15372 definition. Add libc_hidden_def.
15373 (endnetgrent): Update caller.
15374 (internal_getnetgrent_r): Renamed to ...
15375 (__internal_getnetgrent_r): ... this. Add internal_function to
15376 definition. Add libc_hidden_def.
15377 (__getnetgrent_r): Update caller.
15378 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15379
15380 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15381
15382 * stdlib/longlong.h: Update from GCC.
15383
15384 2012-08-16 Roland McGrath <roland@hack.frob.com>
15385
15386 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15387 on _QL, which is set by umul_ppmm but never used.
15388 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15389 variables, which are set by GMP macros but never used.
15390 * stdio-common/_itowa.c (_itowa): Likewise.
15391 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15392 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15393
15394 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15395
15396 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15397 struct La_sh_regs is not constant.
15398 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15399 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15400 and struct La_sparc64_regs are not constant.
15401
15402 2012-08-16 Joseph Myers <joseph@codesourcery.com>
15403
15404 * sysdeps/unix/sysv/linux/kernel-features.h
15405 (__ASSUME_POSIX_TIMERS): Remove.
15406 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15407 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15408 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15409 Make code unconditional.
15410 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15411 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15412 Make code unconditional.
15413 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15414 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15415 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15416 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15417 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15418 Make code unconditional.
15419 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15420 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15421 (__libc_missing_posix_timers): Remove.
15422
15423 2012-08-15 Roland McGrath <roland@hack.frob.com>
15424
15425 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15426 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15427
15428 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15429
15430 * elf/dl-sym.c: Include <stdlib.h>.
15431
15432 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15433 constants, which avoids warnings in 32-bit builds.
15434
15435 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15436 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15437
15438 * misc/lseek.c: File moved to ...
15439 * io/lseek.c: ... here.
15440
15441 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15442
15443 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15444 shifting LEN more than 31 bits at once.
15445
15446 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15447
15448 [BZ #14195]
15449 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15450 segmentation fault for a case of two empty input strings.
15451 * string/test-strncasecmp.c (check1): Renamed to...
15452 (bz12205): ...this.
15453 (bz14195): Add new testcase for two empty input strings and N > 0.
15454 (test_main): Call new testcase, adapt for renamed function.
15455
15456 2012-08-15 Andreas Jaeger <aj@suse.de>
15457
15458 [BZ #14090]
15459 * crypt/md5test2.c: New test, based on test supplied by Serge
15460 Belyshev <belyshev@depni.sinp.msu.ru>.
15461 * crypt/Makefile (xtests): Add md5test-giant..
15462 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15463
15464 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15465
15466 [BZ #14090]
15467 * crypt/md5.c (md5_process_block): Don't assume the buffer
15468 length is less than 2**32.
15469 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15470 length is less than 2**64.
15471
15472 2012-08-15 Roland McGrath <roland@hack.frob.com>
15473
15474 * string/str-two-way.h: Include <sys/param.h>.
15475 (MAX): Macro removed.
15476
15477 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15478 Move #define and #undef of memmove to just before and after
15479 including <string.h>.
15480
15481 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15482 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15483 and after including <string.h>. Move declarations of
15484 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15485 to before #include "string/memmove.c".
15486
15487 * include/dirent.h: Declare __getdirentries.
15488
15489 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15490 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15491
15492 2012-08-14 Mike Frysinger <vapier@gentoo.org>
15493
15494 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15495 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15496 * sysdeps/i386/configure: Regenerated.
15497 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15498 STABS_CURRENT_FILE, and STABS_FUN.
15499 (END): Remove call to STABS_FUN_END.
15500 (STABS_CURRENT_FILE1): Delete.
15501 (STABS_CURRENT_FILE): Likewise.
15502 (STABS_FUN): Likewise.
15503 (STABS_FUN_END): Likewise.
15504 (STABS_FUN2): Likewise.
15505 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15506 * sysdeps/x86_64/configure: Regenerated.
15507
15508 2012-08-14 Roland McGrath <roland@hack.frob.com>
15509
15510 * elf/dl-open.c: Include <atomic.h>.
15511 * elf/dl-lookup.c: Likewise.
15512
15513 2012-08-14 Joseph Myers <joseph@codesourcery.com>
15514
15515 * sysdeps/unix/sysv/linux/kernel-features.h
15516 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15517 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15518 unconditionally.
15519 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15520 unconditionally.
15521 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15522 condition on __ASSUME_CLONE_THREAD_FLAGS.
15523
15524 2012-08-14 Andreas Jaeger <aj@suse.de>
15525
15526 * sysdeps/i386/fpu/libm-test-ulps: Update.
15527
15528 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15529
15530 * include/atomic.h (atomic_exchange_and_add): Split into ...
15531 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15532 New atomic macros.
15533
15534 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15535
15536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15537
15538 2012-08-13 Jeff Law <law@redhat.com>
15539
15540 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15541 null byte in the output string.
15542
15543 2012-08-10 Joseph Myers <joseph@codesourcery.com>
15544
15545 * sysdeps/unix/sysv/linux/kernel-features.h
15546 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15547 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15548 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15549 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15550 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15551 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15552 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15553
15554 2012-08-09 Jeff Law <law@redhat.com>
15555
15556 [BZ #13939]
15557 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15558 When avoid_arena is set, don't retry in the that arena. Pick the
15559 next one, whatever it might be.
15560 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15561 (arena_lock): Pass in new parameter to arena_get2.
15562 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15563 arena_get2.
15564 (__libc_malloc): Unify retrying after main arena failure with
15565 __libc_memalign version.
15566 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15567
15568 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15569
15570 [BZ #14166]
15571 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15572 to __redirect_strstr.
15573 (__strstr_sse42): Use typeof __redirect_strstr.
15574 (__strstr_ia32): Likewise.
15575 (__libc_strstr): New prototype.
15576 (strstr): Renamed to ...
15577 (__libc_strstr): This.
15578 (strstr): New strong alias of __libc_strstr.
15579 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15580 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15581 __redirect_time.
15582 Include <time.h>.
15583 (__libc_time): New prototype.
15584 (time_ifunc): Replace time with __libc_time.
15585 (time): New strong alias and hidden definition of __libc_time.
15586 (__GI_time): Remove strong alias.
15587 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15588 Include <stddef.h>.
15589 (memmove): Redefined to __redirect_memmove.
15590 (__memmove_sse2): Use typeof __redirect_memmove.
15591 (__memmove_ssse3): Likewise.
15592 (__memmove_ssse3_back): Likewise.
15593 (__libc_memmove): New prototype.
15594 (memmove): Renamed to ...
15595 (__libc_memmove): This.
15596 (memmove): New strong alias of __libc_memmove.
15597
15598 2012-08-08 Mark Salter <msalter@redhat.com>
15599
15600 * elf/elf.h
15601 (R_MN10300_TLS_GD): Define.
15602 (R_MN10300_TLS_LD): Likewise.
15603 (R_MN10300_TLS_LDO): Likewise.
15604 (R_MN10300_TLS_GOTIE): Likewise.
15605 (R_MN10300_TLS_IE): Likewise.
15606 (R_MN10300_TLS_LE): Likewise.
15607 (R_MN10300_TLS_DTPMOD): Likewise.
15608 (R_MN10300_TLS_DTPOFF): Likewise.
15609 (R_MN10300_TLS_TPOFF): Likewise.
15610 (R_MN10300_SYM_DIFF): Likewise.
15611 (R_MN10300_ALIGN): Likewise.
15612 (R_MN10300_NUM): Update.
15613
15614 2012-08-08 Joseph Myers <joseph@codesourcery.com>
15615
15616 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15617 Remove.
15618
15619 2012-08-08 Roland McGrath <roland@hack.frob.com>
15620
15621 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15622
15623 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15624 sysdeps/unix -> sysdeps/posix move.
15625 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15626
15627 2012-08-07 Allan McRae <allan@archlinux.org>
15628
15629 [BZ #14303]
15630 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15631 (SUNOS_CPP): Likewise.
15632 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15633 not found.
15634 (open_input): Call CPP using execvp.
15635
15636 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15637
15638 * sysdeps/unix/sysv/linux/kernel-features.h
15639 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15640 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15641 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15642 (__ASSUME_WAITID_SYSCALL): Likewise.
15643 * sysdeps/unix/sysv/linux/dl-execstack.c
15644 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15645 code unconditional.
15646 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15647 conditional code.
15648 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15649 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15650 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15651 code.
15652 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15653 unconditional.
15654 [__ASSUME_WAITID_SYSCALL]: Likewise.
15655 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15656
15657 2012-08-07 Roland McGrath <roland@hack.frob.com>
15658
15659 * sysdeps/unix/closedir.c: Renamed to ...
15660 * sysdeps/posix/closedir.c: ... here.
15661 * sysdeps/unix/dirfd.c: Renamed to ...
15662 * sysdeps/posix/dirfd.c: ... here.
15663 * sysdeps/unix/dirstream.h: Renamed to ...
15664 * sysdeps/posix/dirstream.h: ... here.
15665 * sysdeps/unix/fdopendir.c: Renamed to ...
15666 * sysdeps/posix/fdopendir.c: ... here.
15667 * sysdeps/unix/opendir.c: Renamed to ...
15668 * sysdeps/posix/opendir.c: ... here.
15669 * sysdeps/unix/readdir.c: Renamed to ...
15670 * sysdeps/posix/readdir.c: ... here.
15671 * sysdeps/unix/readdir_r.c: Renamed to ...
15672 * sysdeps/posix/readdir_r.c: ... here.
15673 * sysdeps/unix/rewinddir.c: Renamed to ...
15674 * sysdeps/posix/rewinddir.c: ... here.
15675 * sysdeps/unix/seekdir.c: Renamed to ...
15676 * sysdeps/posix/seekdir.c: ... here.
15677 * sysdeps/unix/telldir.c: Renamed to ...
15678 * sysdeps/posix/telldir.c: ... here.
15679 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15680 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15681 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15682 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15683
15684 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15685 * bits/fcntl.h: ... here.
15686
15687 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15688 not 0.
15689 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15690 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15691 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15692 (struct flock): Move l_start, l_len to the beginning.
15693 Use __pid_t for l_pid.
15694 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15695 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15696 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15697 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15698 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15699 [__USE_LARGEFILE64] (struct flock64): New type.
15700 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15701
15702 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15703 * bits/dirent.h: ... here.
15704
15705 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15706 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15707
15708 2012-08-07 Joseph Myers <joseph@codesourcery.com>
15709
15710 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15711 Change from 2.6.0 to 2.6.16.
15712 * sysdeps/unix/sysv/linux/configure: Regenerated.
15713 * sysdeps/unix/sysv/linux/kernel-features.h
15714 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15715 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15716 version.
15717 (__ASSUME_UTIMES): Likewise.
15718 (__ASSUME_CLONE_STOPPED): Remove.
15719 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15720 architectures, not kernel version.
15721 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15722 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15723 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15724 (__ASSUME_WAITID_SYSCALL): Likewise.
15725 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15726 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15727 * README: State 2.6.16 as minimum Linux kernel version. Do not
15728 refer to older versions.
15729
15730 2012-08-06 Roland McGrath <roland@hack.frob.com>
15731
15732 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15733 Define alphasort64 as an alias.
15734 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15735 Define versionsort64 as an alias.
15736 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15737 Define scandir64 as an alias.
15738 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15739 Define scandirat64 as an alias.
15740 * dirent/alphasort64.c (alphasort64):
15741 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15742 * dirent/versionsort64.c: Likewise.
15743 * dirent/scandir64.c: Likewise.
15744 * dirent/scandirat64.c: Likewise.
15745 * sysdeps/wordsize-64/alphasort.c: File removed.
15746 * sysdeps/wordsize-64/alphasort64.c: File removed.
15747 * sysdeps/wordsize-64/scandir.c: File removed.
15748 * sysdeps/wordsize-64/scandir64.c: File removed.
15749 * sysdeps/wordsize-64/scandirat.c: File removed.
15750 * sysdeps/wordsize-64/scandirat64.c: File removed.
15751 * sysdeps/wordsize-64/versionsort.c: File removed.
15752 * sysdeps/wordsize-64/versionsort64.c: File removed.
15753 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15754 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15755 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15756 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15757 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15758 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15759 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15760 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15761
15762 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15764 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15766 [defined __arch64__ || defined __sparcv9]
15767 (__INO_T_MATCHES_INO64_T): New macro.
15768 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15769 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15770 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15771 * sysdeps/unix/sysv/linux/bits/dirent.h
15772 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15773 (_DIRENT_MATCHES_DIRENT64): New macro.
15774
15775 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15776 Define lockf64 as an alias.
15777 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15778 Define fseeko64 as an alias.
15779 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15780 Define ftello64 as an alias.
15781 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15782 Define _IO_fgetpos64 and fgetpos64 as aliases.
15783 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15784 Define _IO_fsetpos64 and fsetpos64 as aliases.
15785 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15786 Conditionalize body on this.
15787 * libio/fseeko64.c: Likewise.
15788 * libio/ftello64.c: Likewise.
15789 * libio/iofgetpos64.c: Likewise.
15790 * libio/iofsetpos64.c: Likewise.
15791 * sysdeps/wordsize-64/lockf.c: File removed.
15792 * sysdeps/wordsize-64/lockf64.c: File removed.
15793 * sysdeps/wordsize-64/fseeko.c: File removed.
15794 * sysdeps/wordsize-64/fseeko64.c: File removed.
15795 * sysdeps/wordsize-64/ftello.c: File removed.
15796 * sysdeps/wordsize-64/ftello64.c: File removed.
15797 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15798 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15799 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15800 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15801 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15802 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15803 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15804 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15805 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15806 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15807 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15808 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15809 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15810 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15811
15812 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15813 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15814 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15815 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15816 [defined __arch64__ || defined __sparcv9]
15817 (__OFF_T_MATCHES_OFF64_T): New macro.
15818 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15819 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15821 (__OFF_T_MATCHES_OFF64_T): New macro.
15822
15823 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15824
15825 * stdlib/secure-getenv.c (__secure_getenv): Replace
15826 GLIBC_2_16 with GLIBC_2_17.
15827
15828 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15829
15830 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15831 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15832
15833 2012-08-03 David S. Miller <davem@davemloft.net>
15834
15835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15836
15837 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15838
15839 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15840 Remove.
15841 (__ASSUME_CORRECT_SI_PID): Likewise.
15842 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15843 (__ASSUME_TMPFS_NAME): Likewise.
15844 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15845 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15846 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15847 (HAVE_AUX_SECURE): Make definition unconditional.
15848 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15849 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15850
15851 2012-08-03 Roland McGrath <roland@hack.frob.com>
15852
15853 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15854 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15855 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15856 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15857 __eloop_threshold instead of SYMLOOP_MAX.
15858
15859 * sysdeps/generic/eloop-threshold.h: New file.
15860 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15861 of MAXSYMLINKS.
15862 * elf/chroot_canon.c (chroot_canon): Likewise.
15863
15864 2012-08-03 Joseph Myers <joseph@codesourcery.com>
15865
15866 [BZ #13717]
15867 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15868 Change to 2.6.0 everywhere.
15869 * sysdeps/unix/sysv/linux/configure: Regenerated.
15870 * sysdeps/unix/sysv/linux/kernel-features.h
15871 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15872 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15873 kernel versions.
15874 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15875 (__ASSUME_FUTEX_REQUEUE): Remove.
15876 (__ASSUME_STATFS64): Define unconditionally.
15877 (__ASSUME_AT_SECURE): Likewise.
15878 (__ASSUME_CORRECT_SI_PID): Likewise.
15879 (__ASSUME_TGKILL): Define without depending on kernel version for
15880 i386.
15881 (__ASSUME_UTIMES): Likewise.
15882 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15883 kernel version.
15884 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15885 (__ASSUME_TMPFS_NAME): Likewise.
15886 * README: Update reference to Linux kernel versions.
15887
15888 2012-08-02 Marek Polacek <polacek@redhat.com>
15889
15890 [BZ# 14150]
15891 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15892 libc_cv_asm_type_prefix with %.
15893 * configure: Regenerated.
15894 * include/libc-symbols.h: Remove comment about
15895 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15896 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15897 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15898 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15899 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15900 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15901 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15902 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15903 * elf/tst-unique2mod1.c: Likewise.
15904 * elf/tst-unique1mod2.c: Likewise.
15905 * elf/tst-unique1mod1.c: Likewise.
15906 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15907 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15908 Replace ASM_TYPE_DIRECTIVE with .type.
15909 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15910 * sysdeps/i386/sysdep.h: Likewise.
15911 * sysdeps/x86_64/sysdep.h: Likewise.
15912 * sysdeps/sh/sysdep.h: Likewise.
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15914 Do not define ASM_TYPE_DIRECTIVE.
15915 * sysdeps/powerpc/sysdep.h: Likewise.
15916 * sysdeps/powerpc/powerpc32/sysdep.h:
15917 Replace ASM_TYPE_DIRECTIVE with .type.
15918 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15919 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15920 * sysdeps/i386/fpu/e_powf.S: Likewise.
15921 * sysdeps/i386/fpu/e_expl.S: Likewise.
15922 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15923 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15924 * sysdeps/i386/fpu/e_pow.S: Likewise.
15925 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15926 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15927 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15928 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15929 * sysdeps/i386/fpu/e_log2.S: Likewise.
15930 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15931 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15932 * sysdeps/i386/fpu/e_powl.S: Likewise.
15933 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15934 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15935 * sysdeps/i386/fpu/e_logl.S: Likewise.
15936 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15937 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15938 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15939 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15940 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15941 * sysdeps/i386/fpu/e_log.S: Likewise.
15942 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15943 * sysdeps/i386/fpu/e_logf.S: Likewise.
15944 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15945 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15946 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15947 * sysdeps/i386/fpu/e_log10.S: Likewise.
15948 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15949 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15950 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15951 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15952 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15953 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15954 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15955 * sysdeps/i386/i686/strtok.S: Likewise.
15956 * sysdeps/i386/i386-mcount.S: Likewise.
15957 * sysdeps/i386/strtok.S: Likewise.
15958 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15959 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15960 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15961 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15962 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15963 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15964 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15965 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15966 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15967 * sysdeps/x86_64/_mcount.S: Likewise.
15968 * sysdeps/x86_64/strtok.S: Likewise.
15969 * sysdeps/sh/_mcount.S: Likewise.
15970
15971 2012-08-01 Roland McGrath <roland@hack.frob.com>
15972
15973 * libio/iofopen.c: Include <fcntl.h>.
15974 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15975 (_IO_fopen64, fopen64): Define as aliases.
15976 * libio/iofopen64.c: Include <fcntl.h>.
15977 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15978 Conditionalize body on this.
15979 * sysdeps/wordsize-64/iofopen.c: File removed.
15980 * sysdeps/wordsize-64/iofopen64.c: File removed.
15981
15982 2012-08-01 Marek Polacek <polacek@redhat.com>
15983
15984 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15985 Use dlfcn directly instead of a variable.
15986 (binfmt-subdir): Do not define.
15987 (dlfcn): Likewise.
15988
15989 2012-08-01 Joseph Myers <joseph@codesourcery.com>
15990
15991 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15992 Remove all definitions.
15993 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15994 <kernel-features.h>.
15995 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15996 (miss_F_GETOWN_EX): Remove all definitions.
15997 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15998 macro definition.
15999 [!__ASSUME_FCNTL64]: Remove conditional code.
16000 [__ASSUME_FCNTL64]: Make code unconditional.
16001 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16002 <kernel-features.h>.
16003 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16004 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16005 (lockf64) [__NR_fcntl64]: Make code unconditional.
16006 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16007
16008 * sysdeps/unix/sysv/linux/kernel-features.h
16009 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16010 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16011 Make code unconditional.
16012 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16013 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16015 [__NR_vfork]: Make code unconditional.
16016 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16017 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16019 [__NR_vfork]: Make code unconditional.
16020 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16021 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16022
16023 2012-08-01 Roland McGrath <roland@hack.frob.com>
16024
16025 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16026 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16027
16028 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16029 Define mkstemp64 as an alias.
16030 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16031 Define mkstemps64 as an alias.
16032 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16033 Define mkostemp64 as an alias.
16034 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16035 Define mkostemps64 as an alias.
16036 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16037 Conditionalize body on this.
16038 * misc/mkostemp64.c: Likewise.
16039 * misc/mkostemps64.c: Likewise.
16040 * misc/mkstemps64.c: Likewise.
16041 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16042 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16043 * sysdeps/wordsize-64/mkostemp.c: File removed.
16044 * sysdeps/wordsize-64/mkstemp.c: File removed.
16045 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16046 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16047 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16048 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16049
16050 [BZ #14138]
16051 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16052 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16053 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16054 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16055
16056 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16057 compat_symbol macros from <shlib-compat.h> rather than the underlying
16058 default_symbol_version and symbol_version macros, so that DEFAULT
16059 lines in shlib-versions are respected.
16060 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16061
16062 2012-08-01 Florian Weimer <fweimer@redhat.com>
16063
16064 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16065 Declare with warn_unused_result.
16066 (setgid, setregid, setegid, setresgid): Likewise.
16067 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16068 Likewise.
16069 * WUR-REPORT: Remove set*id functions.
16070
16071 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16072
16073 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16074
16075 2012-07-31 Roland McGrath <roland@hack.frob.com>
16076
16077 [BZ #10191]
16078 * include/sys/socket.h (__libc_accept, __libc_accept4):
16079 Add attribute_hidden.
16080 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16081
16082 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16083 use of PTR_MANGLE.
16084 * inet/getnetgrent_r.c (setup): Likewise.
16085
16086 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16087
16088 2012-07-31 David S. Miller <davem@davemloft.net>
16089
16090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16091
16092 2012-07-31 Joseph Myers <joseph@codesourcery.com>
16093
16094 [BZ #13629]
16095 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16096 value between 1.0 and 2.0 and smaller part has absolute value less
16097 than 1.0.
16098 * math/s_clog10.c (__clog10): Likewise.
16099 * math/s_clog10f.c (__clog10f): Likewise.
16100 * math/s_clog10l.c (__clog10l): Likewise.
16101 * math/s_clogf.c (__clogf): Likewise.
16102 * math/s_clogl.c (__clogl): Likewise.
16103 * math/libm-test.inc (clog_test): Add more tests.
16104 (clog10_test): Likewise.
16105 * sysdeps/i386/fpu/libm-test-ulps: Update.
16106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16107
16108 2012-07-31 Florian Weimer <fweimer@redhat.com>
16109
16110 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16111 Exit with zero in case no suitable GID is found, and write a
16112 message to standard error.
16113
16114 2012-07-30 Roland McGrath <roland@hack.frob.com>
16115
16116 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16117 rather than to 1.
16118 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16119 (MAXPATHLEN): Removed.
16120 (NOGROUP, NODEV): New macros.
16121 (setbit, clrbit, isset, isclr): New macros.
16122 (howmany, roundup, powerof2): New macros.
16123 (DEV_BSIZE): New macro.
16124
16125 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16126 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16127
16128 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16129 definition on [!__NO_LONG_DOUBLE_MATH].
16130
16131 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16132 PTR_MANGLE and PTR_DEMANGLE.
16133
16134 * socket/accept4.c (accept4): Rename to __libc_accept4.
16135 Define accept4 as a weak alias.
16136
16137 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16138 on [_DIRENT_HAVE_D_TYPE].
16139 * io/ftw.c (ftw_dir): Likewise.
16140
16141 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16142
16143 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16144
16145 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16146 Use the BSD numbers rather than the arbitrary ones we had.
16147 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16148 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16149 (SIGXCPU, SIGXFSZ): New macros.
16150 (_NSIG): Now 32.
16151
16152 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16153 initializer on [_LIBC_REENTRANT].
16154
16155 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16156 definitions inside [_POSIX_MAPPED_FILES].
16157
16158 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16159
16160 * dirent/opendir.c: Include <fcntl.h>.
16161
16162 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16163 (__libc_getspecific): Likewise.
16164 (__libc_key_create): Likewise.
16165
16166 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16167 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16168 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16169 (tmpfile64): Define as alias.
16170 * sysdeps/wordsize-64/tmpfile.c: File removed.
16171 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16172 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16173 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16174
16175 * stdio-common/vfscanf.c: Include <stdbool.h>.
16176 * nss/makedb.c: Likewise.
16177 * stdio-common/_i18n_number.h: Likewise.
16178 * argp/argp-help.c: Likewise.
16179 * posix/wordexp.c: Likewise.
16180 * sysdeps/posix/spawni.c: Likewise.
16181 * nss/nss_files/files-initgroups.c: Likewise.
16182 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16183 * nss/nss_files/files-initgroups.c: Likewise.
16184 * nss/nss_db/db-netgrp.c: Likewise.
16185 * nss/nss_db/db-initgroups.c: Likewise.
16186 * io/fchmodat.c: Include <sys/stat.h>.
16187
16188 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16189 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16190
16191 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16192 [HAVE_MMAP].
16193
16194 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16195 Add multiple inclusion protection.
16196
16197 2012-07-27 David S. Miller <davem@davemloft.net>
16198
16199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16200
16201 2012-07-27 Gary Benson <gbenson@redhat.com>
16202
16203 [BZ #14298]
16204 * elf/rtld.c: Include <stap-probe.h>.
16205 (dl_main): Added static probes "init_start" and "init_complete".
16206 * elf/dl-load.c: Include <stap-probe.h>.
16207 (lose): Take new parameter "nsid".
16208 Added static probe "map_failed".
16209 (_dl_map_object_from_fd): Pass namespace id to lose.
16210 Added static probe "map_start".
16211 (open_verify): Pass namespace id to lose.
16212 * elf/dl-open.c: Include <stap-probe.h>.
16213 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16214 and "reloc_complete".
16215 * elf/dl-close.c: Include <stap-probe.h>.
16216 (_dl_close_worker): Added static probes "unmap_start" and
16217 "unmap_complete".
16218 * elf/rtld-debugger-interface.txt: New file documenting the above.
16219
16220 2012-07-26 Roland McGrath <roland@hack.frob.com>
16221
16222 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16223 rather than a string variable.
16224 * sunrpc/rpc_main.c (h_output): Likewise.
16225 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16226
16227 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16228
16229 * inet/check_native.c: New file.
16230
16231 2012-07-26 Joseph Myers <joseph@codesourcery.com>
16232
16233 [BZ #13629]
16234 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16235 if larger part has absolute value 1.0.
16236 * math/s_clog10.c (__clog10): Likewise.
16237 * math/s_clog10f.c (__clog10f): Likewise.
16238 * math/s_clog10l.c (__clog10l): Likewise.
16239 * math/s_clogf.c (__clogf): Likewise.
16240 * math/s_clogl.c (__clogl): Likewise.
16241 * math/libm-test.inc (clog_test): Add more tests.
16242 (clog10_test): Likewise.
16243 * sysdeps/i386/fpu/libm-test-ulps: Update.
16244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16245
16246 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16247 (pltexit): Likewise.
16248 (La_regs): Likewise.
16249 (La_retval): Likewise.
16250 (int_retval): Likewise.
16251 Update #error for removed macros to refer only to definitions in
16252 tst-audit.h.
16253 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16254 macro.
16255 (pltexit): Likewise.
16256 (La_regs): Likewise.
16257 (La_retval): Likewise.
16258 (int_retval): Likewise.
16259 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16260 macro.
16261 (pltexit): Likewise.
16262 (La_regs): Likewise.
16263 (La_retval): Likewise.
16264 (int_retval): Likewise.
16265 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16266 macro.
16267 (pltexit): Likewise.
16268 (La_regs): Likewise.
16269 (La_retval): Likewise.
16270 (int_retval): Likewise.
16271 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16272 macro.
16273 (pltexit): Likewise.
16274 (La_regs): Likewise.
16275 (La_retval): Likewise.
16276 (int_retval): Likewise.
16277 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16278 macro.
16279 (pltexit): Likewise.
16280 (La_regs): Likewise.
16281 (La_retval): Likewise.
16282 (int_retval): Likewise.
16283 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16284 macro.
16285 (pltexit): Likewise.
16286 (La_regs): Likewise.
16287 (La_retval): Likewise.
16288 (int_retval): Likewise.
16289 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16290 macro definitions in tst-audit.h.
16291 * sysdeps/i386/tst-audit.h: New file.
16292 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16293 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16294 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16295 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16296 * sysdeps/sh/tst-audit.h: Likewise.
16297 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16298 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16299 * sysdeps/x86_64/tst-audit.h: Likewise.
16300
16301 2012-07-26 Andreas Jaeger <aj@suse.de>
16302
16303 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16304 ptrace.
16305
16306 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16307 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16308 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16309 PTRACE_O_MASK.
16310 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16311 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16312 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16313
16314 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16315 value.
16316
16317 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16318 _sigsys.
16319 (si_call_addr, si_syscall, si_arch): Define new macro.
16320 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16321 _sigsys.
16322 (si_call_addr, si_syscall, si_arch): Define new marcro.
16323 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16324 _sigsys.
16325 (si_call_addr, si_syscall, si_arch): Define new macro.
16326 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16327 _sigsys.
16328 (si_call_addr, si_syscall, si_arch): Define new macro.
16329
16330 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16331
16332 [BZ #13717]
16333 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16334 Change to 2.4.21 where previously 2.4.1.
16335 * sysdeps/unix/sysv/linux/configure: Regenerated.
16336 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16337 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16338 Linux kernel version.
16339 (__ASSUME_STD_AUXV): Remove.
16340 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16341 kernel version.
16342 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16343 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16344 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16345 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16346 (__ASSUME_NETLINK_SUPPORT): Likewise.
16347 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16348 (__no_netlink_support): Remove conditional definition.
16349 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16350 Remove.
16351 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16352 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16353 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16354 (if_nameindex_ioctl): Remove.
16355 (if_nameindex_netlink): Do not handle __no_netlink_support.
16356 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16357 code.
16358 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16359 Remove conditional code.
16360 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16361 code.
16362 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16363 unconditional.
16364 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16365 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16366 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16367 Remove.
16368 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16369 [!__ASSUME_STD_AUXV]: Remove conditional code.
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16371 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16372 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16374 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16375 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16376 code.
16377 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16379 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16380 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16381 conditional code.
16382 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16384 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16385 code.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16387 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16388 conditional code.
16389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16390 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16391 code unconditional.
16392 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16393 conditional code.
16394 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16395 unconditional.
16396 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16397 conditional code.
16398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16399 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16400 unconditional.
16401 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16402 conditional code.
16403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16404 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16405 code unconditional.
16406 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16407 conditional code.
16408 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16409 unconditional.
16410 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16411 conditional code.
16412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16413 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16414 code unconditional.
16415 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16416 conditional code.
16417 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16418 unconditional.
16419 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16420 conditional code.
16421
16422 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16423
16424 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16425 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16426 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16427 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16428 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16429 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16430 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16431 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16432 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16433 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16434 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16435 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16436 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16437 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16438 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16439 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16440 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16441 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16442 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16444 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16445 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16446 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16447
16448 2012-07-25 Florian Weimer <fweimer@redhat.com>
16449
16450 * Versions.def: Add GLIBC_2.17.
16451 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16452 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16453 Introduce __libc_secure_getenv.
16454 * stdlib/Versions (2.17): Add secure_getenv
16455 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16456 * stdlib/secure-getenv.c: Rename __secure_getenv to
16457 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16458 symbol __secure_getenv for GLIBC_2.0.
16459 * stdlib/tst-secure-getenv.c: New.
16460 * stdlib/Makefile (tests): Add testcase.
16461 * manual/startup.texi (Environment Access): Document
16462 secure_getenv.
16463 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16464 __libc_secure_getenv.
16465 * inet/ruserpass.c (ruserpass): Likewise.
16466 * malloc/mtrace.c (mtrace): Likewise.
16467 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16468 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16469 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16470 * sysdeps/posix/tempname.c: Likewise. Evaluate
16471 HAVE_SECURE_GETENV.
16472 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16473 __secure_getenv to __libc_secure_getenv.
16474 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16476 Likewise.
16477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16478 Likewise.
16479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16481 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16482 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16486
16487 2012-07-25 Joseph Myers <joseph@codesourcery.com>
16488
16489 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16490 (struct La_i86_retval): Likewise.
16491 (struct La_x86_64_regs): Likewise.
16492 (struct La_x86_64_retval): Likewise.
16493 (struct La_x32_regs): Likewise.
16494 (struct La_x32_retval): Likewise.
16495 (struct La_ppc32_regs): Likewise.
16496 (struct La_ppc32_retval): Likewise.
16497 (struct La_ppc64_regs): Likewise.
16498 (struct La_ppc64_retval): Likewise.
16499 (struct La_sh_regs): Likewise.
16500 (struct La_sh_retval): Likewise.
16501 (struct La_s390_32_regs): Likewise.
16502 (struct La_s390_32_retval): Likewise.
16503 (struct La_s390_64_regs): Likewise.
16504 (struct La_s390_64_retval): Likewise.
16505 (struct La_sparc32_regs): Likewise.
16506 (struct La_sparc32_retval): Likewise.
16507 (struct La_sparc64_regs): Likewise.
16508 (struct La_sparc64_retval): Likewise.
16509 (struct audit_ifaces): Remove architecture-specific pltenter and
16510 pltexit members.
16511 * sysdeps/i386/ldsodefs.h: New file.
16512 * sysdeps/powerpc/ldsodefs.h: Likewise.
16513 * sysdeps/s390/ldsodefs.h: Likewise.
16514 * sysdeps/sh/ldsodefs.h: Likewise.
16515 * sysdeps/sparc/ldsodefs.h: Likewise.
16516 * sysdeps/x86_64/ldsodefs.h: Likewise.
16517
16518 2012-07-25 Marek Polacek <polacek@redhat.com>
16519
16520 [BZ #6808]
16521 * math/libm-test.inc (yn_test): Add another test.
16522 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16523 to ERANGE when the result is +-Inf.
16524 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16525 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16526 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16527 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16528
16529 2012-07-24 Joseph Myers <joseph@codesourcery.com>
16530
16531 * conform/data/time.h-data (NULL): Use macro-constant. Require
16532 equal to 0.
16533 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16534 clock_t.
16535 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16536
16537 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16538
16539 * configure.in <sysdeps resolving>: Correct printing
16540 Implies_before.
16541 * configure: Regenerate.
16542
16543 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16544
16545 * math/w_ilogb.c: Include <limits.h>.
16546 * math/w_ilogbl.c: Likewise.
16547
16548 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16549
16550 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16551 va_copy. Document allowing for unavailable va_copy only as
16552 pre-C99 compatibility.
16553 * manual/string.texi (Copying and Concatenation): Use va_copy
16554 instead of __va_copy in concat example.
16555
16556 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16557
16558 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16559 (__sendto): Use create_address_port. Initialize APORT and deallocate
16560 it if not null.
16561
16562 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16563 with O_NOLINK passed to __file_name_lookup.
16564
16565 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16566 with O_NOLINK passed to __file_name_lookup.
16567
16568 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16569 negative N or less than NGIDS.
16570
16571 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16572 type to string_t. Set ERANGE as errno and return it if NAME is not big
16573 enough. Use memcpy instead of strncpy.
16574
16575 2012-07-20 Joseph Myers <joseph@codesourcery.com>
16576
16577 * elf/Makefile (check-data): Remove.
16578 (localplt.data): New vpath directive.
16579 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16580 instead of $(check-data).
16581 * scripts/data/localplt-generic.data: Move to ...
16582 * sysdeps/generic/localplt.data: ... here.
16583 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16584 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16585 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16587 ... here.
16588 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16590 ... here.
16591 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16593 ... here.
16594 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16596 ... here.
16597 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16599 ... here.
16600 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16602 ... here.
16603
16604 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16605
16606 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16607 PPC32 and PPC64 files.
16608 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16609 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16610
16611 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16612
16613 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16614 __makecontext_ret to ...
16615 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16616 ... here and call exit if uc_link is NULL. New file.
16617 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16618 __makecontext_ret.S.
16619 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16620 __makecontext_ret to ...
16621 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16622 ... here and call exit if uc_link is NULL. New file.
16623 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16624 __makecontext_ret.S.
16625
16626 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16627
16628 * elf/elf.h (R_390_IRELATIVE): New definition.
16629 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16630 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16631 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16632 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16633 (elf_machine_lazy_rel): Likewise.
16634 * sysdeps/s390/dl-irel.h: New file.
16635 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16636 * sysdeps/s390/s390-64/memset.S: New asm code.
16637 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16638 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16639 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16640 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16641 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16642 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16643 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16644 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16645 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16646 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16647 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16648 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16649 * sysdeps/s390/s390-32/memset.S: New asm code.
16650 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16651
16652 2012-07-17 Marek Polacek <polacek@redhat.com>
16653
16654 [BZ #14349]
16655 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16656 * sysdeps/s390/s390-64/configure.in: Likewise.
16657 * sysdeps/sparc/configure.in: Likewise.
16658 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16659 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16660 * sysdeps/i386/configure.in: Likewise.
16661 * sysdeps/x86_64/configure.in: Likewise.
16662 * sysdeps/sh/configure.in: Likewise.
16663 * sysdeps/s390/s390-32/configure: Regenerated.
16664 * sysdeps/s390/s390-64/configure: Likewise.
16665 * sysdeps/x86_64/configure: Likewise.
16666 * sysdeps/sh/configure: Likewise.
16667 * sysdeps/powerpc/powerpc64/configure: Likewise.
16668 * sysdeps/powerpc/powerpc32/configure: Likewise.
16669 * sysdeps/sparc/configure: Likwise.
16670 * sysdeps/i386/configure: Likewise.
16671
16672 * elf/dl-open.c: Comment fixes.
16673
16674 2012-07-17 Joseph Myers <joseph@codesourcery.com>
16675
16676 * Makefile [CXX] (check-data): Remove.
16677 [CXX] (c++-types.data): New vpath directive.
16678 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16679 vpath. Do not allow for C++ type data being missing.
16680 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16681 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16682 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16683 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16684 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16685 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16686 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16688 ... here.
16689 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16691 ... here.
16692 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16694 ... here.
16695 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16697 ... here.
16698 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16700 ... here.
16701 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16703 ... here.
16704 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16706 ... here.
16707 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16709
16710 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16711 definitions to architecture-specific files.
16712 (TLS_IE): Likewise.
16713 (TLS_LD): Likewise.
16714 (TLS_GD): Likewise.
16715 * sysdeps/i386/tls-macros.h: New file.
16716 * sysdeps/powerpc/tls-macros.h: Likewise.
16717 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16718 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16719 * sysdeps/sh/tls-macros.h: Likewise.
16720 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16721 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16722 * sysdeps/x86_64/tls-macros.h: Likewise.
16723
16724 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16725
16726 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16727 zero value for regular exit case.
16728
16729 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16730 (__start_context): Preserve zero value for regular exit case.
16731
16732 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16733 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16734
16735 * manual/setjmp.texi (setcontext): Clarify normal process
16736 termination when uc_link is the null pointer.
16737 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16738 exit call.
16739
16740 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16741
16742 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16743 preprocessor. Test for each exception mask separately.
16744
16745 2012-07-16 Andreas Jaeger <aj@suse.de>
16746
16747 * po/ru.po: Update from translation team.
16748
16749 2012-07-15 Joseph Myers <joseph@codesourcery.com>
16750
16751 * conform/data/string.h-data (NULL): Use macro-constant. Require
16752 equal to 0.
16753 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16754 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16755 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16756 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16757 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16758
16759 2012-07-13 Andreas Jaeger <aj@suse.de>
16760
16761 * po/fr.po: Update from translation team.
16762
16763 2012-07-12 Marek Polacek <polacek@redhat.com>
16764
16765 [BZ #14173]
16766 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16767 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16768 loop condition.
16769
16770 2012-07-12 Joseph Myers <joseph@codesourcery.com>
16771
16772 [BZ #13717]
16773 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16774 Change to 2.4.1 where previously 2.4.0.
16775 * sysdeps/unix/sysv/linux/configure: Regenerated.
16776 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16777 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16778 version.
16779 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16780 (__ASSUME_AT_CLKTCK): Remove.
16781 (__ASSUME_AT_PAGESIZE): Likewise.
16782 (__ASSUME_AT_XID): Likewise.
16783 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16784 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16785 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16786 unconditionally.
16787 (HAVE_AUX_PAGESIZE): Likewise.
16788 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16789 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16790 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16791
16792 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16793
16794 [BZ #14307]
16795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16796 the temporary buffer used to invoke __gethostbyname2_r,
16797 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16798 host_data / struct gaih_addrtuple.
16799 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16800 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16801 header file nss/nsswitch.h.
16802 * nss/nsswitch.h (global scope): Add definition of implementation
16803 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16804 resolv/nss_dns/dns-host.c).
16805
16806 2012-07-11 Andreas Jaeger <aj@suse.de>
16807
16808 * po/fr.po: Update from translation team.
16809
16810 * po/sv.po: Update from translation team
16811 * po/fr.po: Another update from translation team.
16812
16813 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16814
16815 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16816 for subnormals or multiply small sinh result by itself.
16817 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16819
16820 2012-07-11 David S. Miller <davem@davemloft.net>
16821
16822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16823
16824 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16825
16826 [BZ #14347]
16827 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16828 (INTERNAL_MARK): Shift it here.
16829
16830 2012-07-10 Marek Polacek <polacek@redhat.com>
16831
16832 [BZ #14151]
16833 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16834 libc_cv_asm_global_directive with .globl.
16835 * configure: Regenerated.
16836 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16837 with .globl.
16838 * sysdeps/i386/configure: Regenerated.
16839 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16840 with .globl.
16841 * sysdeps/x86_64/configure: Regenerated.
16842 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16843 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16844 * elf/tst-unique2mod2.c: Likewise.
16845 * elf/tst-unique2mod1.c: Likewise.
16846 * elf/tst-unique1mod2.c: Likewise.
16847 * elf/tst-unique1mod1.c: Likewise.
16848 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16849 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16850 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16851 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16852 * sysdeps/mach/sysdep.h: Likewise.
16853 * sysdeps/i386/sysdep.h: Likewise.
16854 * sysdeps/i386/i386-mcount.S: Likewise.
16855 * sysdeps/x86_64/_mcount.S: Likewise.
16856 * sysdeps/x86_64/sysdep.h: Likewise.
16857 * sysdeps/sh/_mcount.S: Likewise.
16858 * sysdeps/sh/sysdep.h: Likewise.
16859 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16860 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16861 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16862 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16863 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16864 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16865 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16866 * locale/localeinfo.h: Likewise.
16867 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16868 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16869
16870 2012-07-09 Roland McGrath <roland@hack.frob.com>
16871
16872 [BZ #14336]
16873 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16874 system".
16875 * manual/message.texi (The Uniforum approach): Likewise.
16876 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16877 (glibc iconv Implementation): Likewise.
16878
16879 2012-07-09 Joseph Myers <joseph@codesourcery.com>
16880
16881 [BZ #14337]
16882 * math/s_clog.c (__clog): Avoid scaling a value down where that
16883 could result in underflow.
16884 * math/s_clog10.c (__clog10): Likewise.
16885 * math/s_clog10f.c (__clog10f): Likewise.
16886 * math/s_clog10l.c (__clog10l): Likewise.
16887 * math/s_clogf.c (__clogf): Likewise.
16888 * math/s_clogl.c (__clogl): Likewise.
16889 * math/libm-test.inc (clog_test): Add more tests.
16890 (clog10_test): Likewise.
16891 * sysdeps/i386/fpu/libm-test-ulps: Update.
16892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16893
16894 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16895
16896 [BZ #14283]
16897 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16898 by 7 not 8 to examine high bit of fractional part.
16899
16900 [BZ #14042]
16901 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16902 for call to __mcount_internal.
16903 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16904 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16905 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16906
16907 2012-07-06 Joseph Myers <joseph@codesourcery.com>
16908
16909 [BZ #14154]
16910 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16911 approximation for values within 0x1p-13f of an odd multiple of
16912 pi/4.
16913 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16914 exception. Add more tests.
16915 * sysdeps/i386/fpu/libm-test-ulps: Update.
16916
16917 [BZ #6778]
16918 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16919 inputs and return -1 for them. Do not check for +Inf in case not
16920 reachable for +Inf.
16921 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16922 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16923 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16924 and return -1 for them. Do not check for +Inf in case not
16925 reachable for +Inf.
16926 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16927 define.
16928 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16929 and return -1 for them. Do not check for +Inf in case not
16930 reachable for +Inf.
16931 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16932 spurious underflow.
16933 * sysdeps/i386/fpu/libm-test-ulps: Update.
16934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16935
16936 2012-07-06 Mike Frysinger <vapier@gentoo.org>
16937
16938 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16939
16940 2012-07-05 Joseph Myers <joseph@codesourcery.com>
16941
16942 [BZ #14157]
16943 [BZ #14331]
16944 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16945 could result in spurious underflow. Scale down values above
16946 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16947 * math/s_csqrtf.c (__csqrtf): Likewise.
16948 * math/s_csqrtl.c (__csqrtl): Likewise.
16949 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16950 spurious underflow.
16951 * sysdeps/i386/fpu/libm-test-ulps: Update.
16952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16953
16954 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16955
16956 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16957 xopen-msg.sed.
16958 * catgets/xopen-msg.awk: New file.
16959 * catgets/xopen-msg.sed: Removed.
16960
16961 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16962 po2text.sed.
16963 * intl/po2test.awk: New file.
16964 * intl/po2test.sed: Removed.
16965
16966 2012-07-04 Joseph Myers <joseph@codesourcery.com>
16967
16968 [BZ #14328]
16969 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16970 or multiply small sinh result by itself.
16971 * math/s_ctanf.c (__ctanf): Likewise.
16972 * math/s_ctanh.c (__ctanh): Likewise.
16973 * math/s_ctanhf.c (__ctanhf): Likewise.
16974 * math/s_ctanhl.c (__ctanhl): Likewise.
16975 * math/s_ctanl.c (__ctanl): Likewise.
16976 * math/libm-test.inc (ctan_test_tonearest): New function.
16977 (ctan_test_towardzero): Likewise.
16978 (ctan_test_downward): Likewise.
16979 (ctan_test_upward): Likewise.
16980 (ctanh_test_tonearest): Likewise.
16981 (ctanh_test_towardzero): Likewise.
16982 (ctanh_test_downward): Likewise.
16983 (ctanh_test_upward): Likewise.
16984 (main): Call these new functions.
16985 * sysdeps/i386/fpu/libm-test-ulps: Update.
16986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16987
16988 2012-07-03 Mike Frysinger <vapier@gentoo.org>
16989
16990 * .gitignore: Delete /ports entry.
16991
16992 2012-07-03 Andreas Jaeger <aj@suse.de>
16993
16994 * po/bg.po: Update from translation team.
16995 * po/cs.po: Likewise.
16996 * po/de.po: Likewise.
16997 * po/hr.po: Likewise.
16998 * po/nl.pl: Likewise.
16999 * po/pl.po: Likewise.
17000 * po/vi.po: Likewise.
17001
17002 2012-07-03 Joseph Myers <joseph@codesourcery.com>
17003
17004 * Makeconfig [!+link] (+link-before-libc): New variable.
17005 [!+link] (+link-after-libc): Likewise.
17006 [!+link] (+link-tests): Likewise.
17007 [!+link] (+link): Define in terms of $(+link-before-libc) and
17008 $(+link-after-libc).
17009 [!+link-static] (+link-static-before-libc): New variable.
17010 [!+link-static] (+link-static-after-libc): Likewise.
17011 [!+link-static] (+link-static-tests): Likewise.
17012 [!+link-static] (+link-static): Define in terms of
17013 $(+link-static-before-libc) and $(+link-static-after-libc).
17014 [build-shared] (link-libc-before-gnulib): New variable.
17015 [build-shared] (link-libc-tests): Likewise.
17016 [build-shared] (link-libc): Define in terms of
17017 $(link-libc-before-gnulib).
17018 [!build-shared] (link-libc-tests): New variable.
17019 (link-libc-static-tests): New variable.
17020 [!gnulib] (gnulib-arch): New variable.
17021 [!gnulib] (gnulib-tests): Likewise.
17022 [!gnulib] (static-gnulib-arch): Likewise.
17023 [!gnulib] (static-gnulib-tests): Likewise.
17024 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17025 Define with "=" instead of ":=".
17026 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17027 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17028 * Rules (binaries-all-notests): New variable.
17029 (binaries-all-tests): Likewise.
17030 (binaries-static-notests): Likewise.
17031 (binaries-static-tests): Likewise.
17032 (binaries-all): Define using $(binaries-all-notests) and
17033 $(binaries-all-tests).
17034 (binaries-static): Define using $(binaries-static-notests) and
17035 $(binaries-static-tests).
17036 (binaries-shared-tests): New variable.
17037 (binaries-shared-notests): Likewise.
17038 (binaries-shared): Remove variable.
17039 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17040 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17041 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17042 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17043 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17044 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17045 * elf/Makefile (sln-modules): New variable.
17046 (extra-objs): Add $(sln-modules:=.o).
17047 (ldconfig-modules): Add static-stubs.
17048 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17049 * elf/static-stubs.c: New file.
17050
17051 [BZ #14283]
17052 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17053 by 7 not 8 to examine high bit of fractional part. Use volatile
17054 variables when splitting into final array of floats if
17055 __FLT_EVAL_METHOD__ != 0.
17056 * math/libm-test.inc (cos_test): Add another test.
17057 (sin_test): Likewise.
17058 * sysdeps/i386/fpu/libm-test-ulps: Update.
17059
17060 [BZ #14273]
17061 * math/libm-test.inc (cosh_test): Add more tests.
17062
17063 * version.h (RELEASE): Set to "development".
17064 (VERSION): Set to "2.16.90".
17065
17066 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17067
17068 * NEWS: Update copyright. Remove last-updated date.
17069 Mention math library bug fixes and timezone data changes.
17070 * README: Mention GNU/Hurd, x32, and HPPA support status.
17071
17072 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17073
17074 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17075
17076 2012-06-27 Andreas Jaeger <aj@suse.de>
17077
17078 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17079
17080 2012-06-25 Andreas Jaeger <aj@suse.de>
17081
17082 * sysdeps/s390/fpu/libm-test-ulps: Update.
17083
17084 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17085 Thomas Schwinge <thomas@codesourcery.com>
17086
17087 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17088 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17089 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17090 fanotify_mark.
17091
17092 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17093
17094 * sysdeps/mach/start.c: Remove file.
17095 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17096 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17097 * sysdeps/sh/init-first.c: Likewise.
17098
17099 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17100 registers for frame unwinding purposes, add CFI directives.
17101 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17102 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17103 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17104 Likewise.
17105
17106 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17107 __fortify_fail returning.
17108 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17109
17110 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17111 sysdeps/sh/____longjmp_chk.S.
17112 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17113 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17114 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17115 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17116
17117 * sysdeps/sh/abort-instr.h: New file.
17118 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17119 process in case exit returns.
17120
17121 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17122 initialize the GOT register before use.
17123
17124 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17125 calculation of ARGC > 4.
17126
17127 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17128 meaningful names to some local labels.
17129
17130 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17131 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17132
17133 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17134 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17135 (__arch_compare_and_exchange_val_16_acq): Likewise.
17136 (__arch_compare_and_exchange_val_32_acq): Likewise.
17137 (atomic_exchange_and_add): Fix gUSA sequence.
17138 (atomic_add): Likewise.
17139 (atomic_add_negative): Likewise.
17140 (atomic_add_zero): Likewise.
17141 (atomic_bit_test_set): Likewise.
17142
17143 2012-06-22 Andreas Schwab <schwab@redhat.com>
17144
17145 [BZ #13579]
17146 * include/link.h (struct link_map): Add l_free_initfini.
17147 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17148 l_initfini.
17149 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17150 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17151 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17152 set.
17153
17154 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17155
17156 * configure.in: Use AC_LANG_SOURCE.
17157 * configure: Regenerate.
17158
17159 2012-06-22 Roland McGrath <roland@hack.frob.com>
17160
17161 * configure.in (libc_cv_localstatedir): New substituted variable.
17162 * configure: Regenerated.
17163 * config.make.in (localstatedir): New variable, substituted from
17164 libc_cv_localstatedir.
17165 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17166 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17167 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17168 * sysdeps/gnu/configure: Regenerated.
17169
17170 2012-06-21 Jeff Law <law@redhat.com>
17171
17172 [BZ #14277]
17173 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17174 free. Simplify list management for _LIBC case.
17175
17176 2012-06-21 Joseph Myers <joseph@codesourcery.com>
17177
17178 [BZ #14273]
17179 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17180 Clear sign bit of 64-bit integer value before comparing against
17181 overflow value.
17182
17183 * sysdeps/mach/configure: Regenerated.
17184
17185 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17186
17187 [BZ #14278]
17188 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17189
17190 2012-06-21 Jeff Law <law@redhat.com>
17191
17192 [BZ #13882]
17193 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17194 uint16_t for elements in the "seen" array to avoid char overflows.
17195 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17196 * elf/dl-open.c (dl_open_worker): Likewise.
17197
17198 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17199
17200 * scripts/list-sources.sh: Scan PORTS for translations.
17201 * po/libc.pot: Regenerated.
17202
17203 2012-06-21 Andreas Jaeger <aj@suse.de>
17204
17205 [BZ #12194]
17206 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17207 warning.
17208 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17209 * bits/byteswap-16.h (__bswap_16): Likewise.
17210 * bits/byteswap.h (__bswap_constant_16): Likewise.
17211
17212 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17213
17214 [BZ #14117]
17215 * sysdeps/i386/fpu_control.h: Removed.
17216 * sysdeps/x86_64/fpu_control.h: Moved to ...
17217 * sysdeps/x86/fpu_control.h: Here.
17218
17219 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17220 (_FPU_SETCW): Likewise.
17221
17222 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17223
17224 [BZ #14117]
17225 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17226 * sysdeps/x86/fpu/bits/mathinline.h: This.
17227 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17228
17229 [BZ #14050]
17230 [BZ #14117]
17231 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17232 functions if __x86_64__ is defined.
17233
17234 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17235
17236 * string/endian.h: Add !__ASSEMBLER__ condition for including
17237 conversion interfaces.
17238
17239 2012-06-15 Joseph Myers <joseph@codesourcery.com>
17240
17241 [BZ #14241]
17242 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17243 of ABS(x) in calculating zero to negative powers other than odd
17244 integers.
17245 * math/libm-test.inc (pow_test): Add more tests.
17246
17247 2012-06-15 Andreas Jaeger <aj@suse.de>
17248
17249 * manual/contrib.texi (Contributors): Update entry of Liubov
17250 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17251 Machado Filho.
17252
17253 2012-06-15 Cyril Hrubis <metan@ucw.cz>
17254
17255 * string/string.h: Add __wur to GNU version of strerror_r.
17256
17257 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17258
17259 [BZ #14229]
17260 * string/Makefile (tests): Add tst-strtok_r.
17261 * string/tst-strtok_r.c: New file.
17262 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17263 RAX_LP/RDX_LP on SAVE_PTR.
17264
17265 2012-06-14 Roland McGrath <roland@hack.frob.com>
17266
17267 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17268
17269 2012-06-14 Joseph Myers <joseph@codesourcery.com>
17270
17271 * libm_test.inc (csqrt_test): Allow more spurious underflow
17272 exceptions.
17273 (j0_test): Likewise.
17274 (j1_test): Likewise.
17275 (y0_test): Likewise.
17276 (y1_test): Likewise.
17277
17278 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17279
17280 * po/Makefile (libc.pot): Use UTF-8 charset.
17281
17282 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17283
17284 [BZ #14210]
17285 Suppress sign-conversion warning from FD_SET.
17286 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17287 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17288 not unsigned long int.
17289 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17290
17291 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17292
17293 [BZ #14050]
17294 [BZ #14117]
17295 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17296 __extern_always_inline instead of __extern_inline.
17297 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17298 (__signbit): Likewise.
17299 (__signbitl): Support C++ namespace.
17300 (lrintf): New inline function.
17301 (lrint): Likewise.
17302 (llrintf): Likewise.
17303 (llrint): Likewise.
17304 (fmaxf): Likewise.
17305 (fmax): Likewise.
17306 (fminf): Likewise.
17307 (fmin): Likewise.
17308 (rint): Likewise.
17309 (rintf): Likewise.
17310 (ceil): Likewise.
17311 (ceilf): Likewise.
17312 (floor): Likewise.
17313 (floorf): Likewise.
17314 (nearbyint): Likewise.
17315 (nearbyintf): Likewise.
17316
17317 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17318
17319 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17320 non-default versions.
17321
17322 2012-06-11 Roland McGrath <roland@hack.frob.com>
17323
17324 [BZ #14218]
17325 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17326
17327 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17328
17329 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17330 (FE_UPWARD, FE_DOWNWARD): Don't define.
17331 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17332 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17333
17334 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17335 reading it.
17336 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17337 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17338
17339 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17340
17341 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17342 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17343 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17344 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17345
17346 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17347
17348 [BZ #14117]
17349 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17350 * sysdeps/i386/fpu/Implies: New file.
17351 * sysdeps/x86_64/fpu/Implies: Likewise.
17352 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17353 * sysdeps/x86/fpu/bits/fenv.h: This.
17354
17355 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17356 __SSE_MATH__.
17357
17358 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17359
17360 [BZ #14134]
17361 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17362 character 0xffff that matches the last element of the
17363 conversion table.
17364
17365 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17366
17367 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17368 fmodl commit.
17369
17370 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17371
17372 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17373 values higher than 25.6283.
17374
17375 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17376
17377 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17378 subnormal exponent extraction and add some __builtin_expect.
17379 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17380 Fix for subnormal mantissa calculation.
17381
17382 2012-06-04 Mike Frysinger <vapier@gentoo.org>
17383
17384 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17385 cpu2 is -1 and errno is not ENOSYS.
17386
17387 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17388
17389 [BZ #14117]
17390 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17391 * sysdeps/x86/bits/string.h: This.
17392 * sysdeps/x86_64/bits/string.h: Removed.
17393
17394 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17395 if not compiling for x86-64, but compiling for >= i486.
17396
17397 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17398 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17399
17400 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17401 New macro from Linux kernel 3.4.0.
17402 (FP_XSTATE_MAGIC2): Likewise.
17403 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17404 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17405 (struct _fpx_sw_bytes): New struct.
17406 (struct _xsave_hdr): Likewise.
17407 (struct _ymmh_state): Likewise.
17408 (struct _xstate): Likewise.
17409
17410 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17411 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17412 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17413 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17414 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17415 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17416
17417 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17418 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17419 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17420 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17421 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17422 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17423
17424 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17425
17426 [BZ #13743]
17427 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17428 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17429 (sysdep_headers): Include sys/platform/ppc.h.
17430 * sysdeps/powerpc/test-gettimebase.c: Test for
17431 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17432 * manual/Makefile (appendices): Include platform.texi.
17433 * manual/contrib.texi (Contributors): Update @node pointers.
17434 * manual/maint.texi (Maintenance): Likewise.
17435 (Platform): New node.
17436 * manual/platform.texi: New file. Document the new features.
17437
17438 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17439 Jakub Jelinek <jakub@redhat.com>
17440
17441 [BZ #14188]
17442 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17443 where __builtin_expect is unavailable.
17444
17445 2012-06-03 David S. Miller <davem@davemloft.net>
17446
17447 * stdlib/longlong.h: Updated from GCC.
17448
17449 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17450
17451 [BZ #14042]
17452 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17453 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17454 __mcount_internal.
17455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17456 (GLIBC_2.16): Likewise.
17457
17458 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17459
17460 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17461
17462 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17463
17464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17465 (default-abi): New variable.
17466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17467 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17468 variable.
17469 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17470 Likewise.
17471 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17472 Likewise.
17473 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17474 Likewise.
17475
17476 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17477 definition. Document in comment.
17478
17479 2012-06-01 David S. Miller <davem@davemloft.net>
17480
17481 * stdlib/longlong.h: Updated from GCC.
17482
17483 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17484
17485 [BZ #14117]
17486 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17487 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17488 sys/debugreg.h sys/io.h here.
17489 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17490 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17491 sys/io.h.
17492 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17493 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17494 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17495 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17496 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17497 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17498
17499 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17500 Define only if __x86_64__ is defined.
17501
17502 2012-06-01 Joseph Myers <joseph@codesourcery.com>
17503
17504 [BZ #14048]
17505 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17506 Use int64_t for variable i.
17507 * math/libm-test.inc (fmod_test): Add more tests.
17508
17509 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17510 z computation is not scheduled after fetestexcept.
17511 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17512 Use math_force_eval instead of asm to ensure calculation scheduled
17513 before exception test.
17514 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17515 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17516
17517 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17518
17519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17520 computation is not scheduled after fetestexcept.
17521
17522 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17523
17524 [BZ #14117]
17525 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17526 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17527
17528 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17529
17530 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17531 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17532
17533 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17534
17535 [BZ #14117]
17536 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17537 <bits/wordsize.h>.
17538 (__WCHAR_MIN): Support __WORDSIZE == 64.
17539 (__WCHAR_MAX): Likewise.
17540
17541 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17542 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17543
17544 [BZ #14183]
17545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17546 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17547
17548 [BZ #14117]
17549 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17550 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17551
17552 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17553 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17554
17555 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17556 Defined to 1 if __x86_64__ isn't defined.
17557 (_STAT_VER_LINUX_OLD): New.
17558 (st_atime): Remove duplicate.
17559 (st_mtime): Likewise.
17560 (st_ctime): Likewise.
17561
17562 2012-05-31 David S. Miller <davem@davemloft.net>
17563
17564 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17565 entries.
17566
17567 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17568
17569 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17570 gen-libm-test.pl.
17571
17572 [BZ #14132]
17573 * elf/dl-reloc.c: Include <_itoa.h>.
17574 (_dl_reloc_bad_type): Remove use of INTUSE.
17575 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17576 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17577 * stdio-common/psiginfo.c (psiginfo): Likewise.
17578 * stdio-common/psignal.c (psignal): Likewise.
17579 * string/strsignal.c (strsignal): Likewise.
17580 * include/signal.h (_sys_siglist): Declare hidden proto.
17581 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17582 INTVARDEF with libc_hidden_data_def.
17583 * stdio-common/itoa-udigits.c: Likewise.
17584 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17585 (_itoa_lower_digits_internal): Remove declaration.
17586 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17587 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17588 (_sys_sigabbrev_internal): Remove aliases.
17589 (_sys_siglist): Define hidden alias.
17590
17591 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17592
17593 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17594 bits/sysctl.h.
17595
17596 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17597
17598 [BZ #14117]
17599 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17600 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17601
17602 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17603 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17604 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17605 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17606 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17607 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17608
17609 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17610 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17611 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17612
17613 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17614 with __addr.
17615 (insw): Likewise.
17616 (insl): Likewise.
17617 (outsb): Likewise.
17618 (outsw): Likewise.
17619 (outsl): Likewise.
17620
17621 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17622 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17623 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17624
17625 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17626 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17627 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17628 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17629 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17630 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17631
17632 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17633 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17634
17635 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17636 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17637
17638 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17639 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17640 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17641
17642 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17643 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17644 to ...
17645 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17646
17647 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17648 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17649 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17650
17651 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17652 for x86-64.
17653 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17654
17655 2012-05-31 Joseph Myers <joseph@codesourcery.com>
17656
17657 * math/math.h (M_El): Use two more decimal places.
17658 (M_LOG2El): Likewise.
17659 (M_LOG10El): Likewise.
17660 (M_LN2l): Likewise.
17661 (M_LN10l): Likewise.
17662 (M_PIl): Likewise.
17663 (M_PI_2l): Likewise.
17664 (M_PI_4l): Likewise.
17665 (M_1_PIl): Likewise.
17666 (M_2_PIl): Likewise.
17667 (M_2_SQRTPIl): Likewise.
17668 (M_SQRT2l): Likewise.
17669 (M_SQRT1_2l): Likewise.
17670
17671 2012-05-31 David S. Miller <davem@davemloft.net>
17672
17673 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17674 values between float registers.
17675 * sysdeps/sparc/sparc64/memset.S: Likewise.
17676 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17677
17678 2012-05-31 Mike Frysinger <vapier@gentoo.org>
17679
17680 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17681 -D_FORTIFY_SOURCE=1.
17682 (CPPFLAGS-tst-longjmp_chk.c): Define.
17683 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17684 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17685 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17686 CFLAGS-tst-wchar-h.c.
17687
17688 2012-05-31 Marek Polacek <polacek@redhat.com>
17689
17690 [BZ #14132]
17691 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17692 __endmntent_internal): Remove declaration.
17693 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17694 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17695 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17696
17697 2012-05-30 David S. Miller <davem@davemloft.net>
17698
17699 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17700 (___Q_simulate_exceptions): Use real FP ops rather than writing
17701 into the %fsr.
17702 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17703 Likewise.
17704
17705 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17706
17707 [BZ #14117]
17708 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17709 * sysdeps/x86/bits/xtitypes.h: This.
17710
17711 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17712 * sysdeps/x86/bits/wordsize.h: This.
17713
17714 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17715 * sysdeps/x86/bits/huge_vall.h: This.
17716
17717 * sysdeps/i386/bits/select.h: Removed.
17718 * sysdeps/x86_64/bits/select.h: Renamed to ...
17719 * sysdeps/x86/bits/select.h: This.
17720
17721 * sysdeps/i386/bits/setjmp.h: Removed.
17722 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17723 * sysdeps/x86/bits/setjmp.h: This.
17724
17725 * sysdeps/i386/bits/mathdef.h: Removed.
17726 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17727 * sysdeps/x86/bits/mathdef.h: This.
17728
17729 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17730
17731 [BZ #14132]
17732 * include/sys/socket.h (__connect_internal)
17733 (__libc_sa_len_internal): Remove declaration.
17734 (__connect, __libc_sa_len): Declare hidden_proto.
17735 (SA_LEN): Remove use of INTUSE.
17736 * socket/connect.c: Add libc_hidden_def.
17737 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17738 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17739 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17740 alias.
17741 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17742 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17743 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17744 of adding _internal alias.
17745
17746 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17747
17748 [BZ #14117]
17749 * sysdeps/i386/bits/link.h: Removed.
17750 * sysdeps/i386/bits/linkmap.h: Likewise.
17751 * sysdeps/x86_64/bits/link.h: Renamed to ...
17752 * sysdeps/x86/bits/link.h: This.
17753 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17754 * sysdeps/x86/bits/linkmap.h: This.
17755
17756 * sysdeps/i386/bits/endian.h: Removed.
17757 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17758 * sysdeps/x86/bits/endian.h: This.
17759
17760 * sysdeps/i386/bits/byteswap.h: Removed.
17761 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17762 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17763 * sysdeps/x86/bits/byteswap.h: This.
17764 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17765 * sysdeps/x86/bits/byteswap-16.h: This.
17766 * sysdeps/i386/Implies: Add x86.
17767 * sysdeps/x86_64/Implies: Likewise.
17768
17769 2012-05-30 David S. Miller <davem@davemloft.net>
17770
17771 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17772 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17773 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17774 (FP_TRAPPING_EXCEPTIONS): Define.
17775 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17776 (FP_TRAPPING_EXCEPTIONS): Define.
17777 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17778 subnormals only when inexact has been signalled or underflow
17779 exceptions are enabled.
17780 (_FP_PACK_CANONICAL): Likewise.
17781
17782 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17783
17784 [BZ #14183]
17785 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17786 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17787
17788 2012-05-30 Richard Henderson <rth@twiddle.net>
17789
17790 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17791 with #ifndef NOT_IN_libc.
17792
17793 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17794 marked to avoid plt entry.
17795
17796 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17797
17798 [BZ #14112]
17799 * Makeconfig (default-abi): New macro.
17800 (abi-includes): Likewise.
17801 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17802 $(abi-$(default-abi)-lib-soname) for soname if defined.
17803 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17804 abi-variants.
17805 * Makefile (installed-stubs): Likewise.
17806 * include/stubs-biarch.h: Removed.
17807 * scripts/lib-names.awk: Only handle one library at a time.
17808 * scripts/soversions.awk: Remove WORDSIZE support.
17809 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17810 entries.
17811 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17812 Removed.
17813 (syscall-list-default-condition): Likewise.
17814 (syscall-list-default-condition): Likewise.
17815 (syscall-list-includes): Likewise.
17816 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17817 syscall-list-* with abi-*. Handle undefined abi-variants.
17818 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17819 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17820 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17821 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17822 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17823 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17824 Removed.
17825 (syscall-list-32-options): Likewise.
17826 (syscall-list-32-condition): Likewise.
17827 (syscall-list-64-options): Likewise.
17828 (syscall-list-64-condition): Likewise.
17829 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17830 macro.
17831 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17832 Renamed to ...
17833 (abi-*): This.
17834 (abi-64-ld-soname): New macro.
17835 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17836 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17837 Renamed to ...
17838 (abi-*): This.
17839 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17840 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17841
17842 2012-05-30 Joseph Myers <joseph@codesourcery.com>
17843
17844 * sysdeps/unix/sysv/linux/kernel-features.h
17845 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17846 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17847 include <kernel-features.h>.
17848 [!__NR_ftruncate64]: Remove conditional code.
17849 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17850 [__NR_ftruncate64]: Make code unconditional.
17851 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17852 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17853 include <kernel-features.h>.
17854 [!__NR_ftruncate64]: Remove conditional code.
17855 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17856 [__NR_ftruncate64]: Make code unconditional.
17857 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17859 include <kernel-features.h>.
17860 [!__NR_ftruncate64]: Remove conditional code.
17861 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17862 [__NR_ftruncate64]: Make code unconditional.
17863 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17865 include <kernel-features.h>.
17866 [!__NR_ftruncate64]: Remove conditional code.
17867 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17868 [__NR_ftruncate64]: Make code unconditional.
17869 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17870
17871 * configure.in (libc_cv_fpie): Weaken to a compile test using
17872 LIBC_TRY_CC_OPTION.
17873 * configure: Regenerated.
17874
17875 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17876
17877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17881 Refreshed.
17882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17888 Refreshed.
17889
17890 2012-05-27 David S. Miller <davem@davemloft.net>
17891
17892 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17893 (___Q_zero): New.
17894 (__Q_simulate_exceptions): Return void. Change to simulate
17895 exceptions by writing into the %fsr.
17896 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17897 (__Qp_handle_exceptions): Likewise.
17898 (numbers): Delete.
17899 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17900 __Qp_handle_exceptions.
17901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17902 __Qp_handle_exceptions.
17903 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17904 as unused and give dummy FP_RND_NEAREST initializer.
17905 (FP_INHIBIT_RESULTS): Define.
17906 (___Q_simulate_exceptions): Update declaration.
17907 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17908 formatting.
17909 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17910 as unused and give dummy FP_RND_NEAREST initializer.
17911 (__Qp_handle_exceptions): Update declaration.
17912 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17913 formatting.
17914
17915 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17916
17917 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17918 the temporary FPU control word.
17919 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17920 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17921 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17922 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17923 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17924 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17925 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17926 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17927 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17928 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17929 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17930
17931 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17932
17933 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17934 fields.
17935
17936 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17937
17938 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17939 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17940 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17941 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17942 Likewise.
17943 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17944 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17945 Likewise.
17946
17947 2012-05-27 Ulrich Drepper <drepper@gmail.com>
17948
17949 * po/h.po: Update from translation team.
17950
17951 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17952
17953 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17954
17955 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17956 handling of denormals.
17957 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17958 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17959 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17960 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17961 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17962 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17964 Likewise.
17965
17966 2012-05-26 Marek Polacek <polacek@redhat.com>
17967
17968 [BZ #14152]
17969 * math/libm-test.inc (fma_test): Don't always expect underflow
17970 exception.
17971
17972 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17973
17974 [BZ #12416]
17975 * elf/tst-execstack.c: Include stackinfo.h.
17976 (do_test): Adjust test case to ensure that pthread_getattr_np
17977 behaviour remains the same after marking stack executable.
17978
17979 2012-05-25 Joseph Myers <joseph@codesourcery.com>
17980
17981 * sysdeps/unix/sysv/linux/kernel-features.h
17982 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17983 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17984 kernel-features.h.
17985 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17986 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17987 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17988 kernel-features.h.
17989 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17990 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17991
17992 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17993
17994 * configure.in: Define the default includes to being none.
17995 * configure: Regenerated.
17996
17997 2012-05-25 Roland McGrath <roland@hack.frob.com>
17998
17999 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18000 * sysdeps/x86_64/setjmp.S: Likewise.
18001 * sysdeps/i386/bsd-setjmp.S: Likewise.
18002 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18003 * sysdeps/i386/setjmp.S: Likewise.
18004 * sysdeps/i386/__longjmp.S: Likewise.
18005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18006 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18007
18008 * include/stap-probe.h: New file.
18009 * configure.in: Handle --enable-systemtap.
18010 * configure: Regenerated.
18011 * config.h.in (USE_STAP_PROBE): New #undef.
18012 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18013 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18014 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18015
18016 2012-05-25 Joseph Myers <joseph@codesourcery.com>
18017
18018 [BZ #13717]
18019 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18020 to 2.4.0 where earlier.
18021 * sysdeps/unix/sysv/linux/configure: Regenerated.
18022 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18023 <kernel-features.h>.
18024 [__ASSUME_32BITUIDS]: Make code unconditional.
18025 [!__ASSUME_32BITUIDS]: Remove conditional code.
18026 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18027 <kernel-features.h>.
18028 [__ASSUME_32BITUIDS]: Make code unconditional.
18029 [!__ASSUME_32BITUIDS]: Remove conditional code.
18030 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18031 [__ASSUME_32BITUIDS]: Make code unconditional.
18032 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18033 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18034 <kernel-features.h>.
18035 [__ASSUME_32BITUIDS]: Make code unconditional.
18036 [!__ASSUME_32BITUIDS]: Remove conditional code.
18037 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18038 <kernel-features.h>.
18039 [__ASSUME_32BITUIDS]: Make code unconditional.
18040 [!__ASSUME_32BITUIDS]: Remove conditional code.
18041 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18042 <kernel-features.h>.
18043 [__ASSUME_32BITUIDS]: Make code unconditional.
18044 [!__ASSUME_32BITUIDS]: Remove conditional code.
18045 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18046 <kernel-features.h>.
18047 [__ASSUME_32BITUIDS]: Make code unconditional.
18048 [!__ASSUME_32BITUIDS]: Remove conditional code.
18049 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18050 <kernel-features.h>.
18051 [__ASSUME_32BITUIDS]: Make code unconditional.
18052 [!__ASSUME_32BITUIDS]: Remove conditional code.
18053 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18054 <kernel-features.h>.
18055 [__ASSUME_32BITUIDS]: Make code unconditional.
18056 [!__ASSUME_32BITUIDS]: Remove conditional code.
18057 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18058 <kernel-features.h>.
18059 [__ASSUME_32BITUIDS]: Make code unconditional.
18060 [!__ASSUME_32BITUIDS]: Remove conditional code.
18061 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18062 <kernel-features.h>.
18063 [__ASSUME_32BITUIDS]: Make code unconditional.
18064 [!__ASSUME_32BITUIDS]: Remove conditional code.
18065 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18066 <kernel-features.h>.
18067 [__ASSUME_32BITUIDS]: Make code unconditional.
18068 [!__ASSUME_32BITUIDS]: Remove conditional code.
18069 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18070 <kernel-features.h>.
18071 [__ASSUME_32BITUIDS]: Make code unconditional.
18072 [!__ASSUME_32BITUIDS]: Remove conditional code.
18073 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18074 <kernel-features.h>.
18075 [__NR_setresgid] (__setresgid): Do not declare.
18076 [__ASSUME_32BITUIDS]: Make code unconditional.
18077 [!__ASSUME_32BITUIDS]: Remove conditional code.
18078 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18079 <kernel-features.h>.
18080 [__NR_setresuid] (__setresuid): Do not declare.
18081 [__ASSUME_32BITUIDS]: Make code unconditional.
18082 [!__ASSUME_32BITUIDS]: Remove conditional code.
18083 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
18084 <kernel-features.h>.
18085 [__ASSUME_32BITUIDS]: Make code unconditional.
18086 [!__ASSUME_32BITUIDS]: Remove conditional code.
18087 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18088 <kernel-features.h>.
18089 [__ASSUME_32BITUIDS]: Make code unconditional.
18090 [!__ASSUME_32BITUIDS]: Remove conditional code.
18091 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18092 <kernel-features.h>.
18093 [__ASSUME_32BITUIDS]: Make code unconditional.
18094 [!__ASSUME_32BITUIDS]: Remove conditional code.
18095 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18096 <kernel-features.h>.
18097 [__ASSUME_32BITUIDS]: Make code unconditional.
18098 [!__ASSUME_32BITUIDS]: Remove conditional code.
18099 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18100 <kernel-features.h>.
18101 [__ASSUME_32BITUIDS]: Make code unconditional.
18102 [!__ASSUME_32BITUIDS]: Remove conditional code.
18103 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18104 <kernel-features.h>.
18105 [__ASSUME_32BITUIDS]: Make code unconditional.
18106 [!__ASSUME_32BITUIDS]: Remove conditional code.
18107 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18108 <kernel-features.h>.
18109 [__ASSUME_32BITUIDS]: Make code unconditional.
18110 [!__ASSUME_32BITUIDS]: Remove conditional code.
18111 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18112 <kernel-features.h>.
18113 [__ASSUME_32BITUIDS]: Make code unconditional.
18114 [!__ASSUME_32BITUIDS]: Remove conditional code.
18115 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18116 <kernel-features.h>.
18117 [__ASSUME_32BITUIDS]: Make code unconditional.
18118 [!__ASSUME_32BITUIDS]: Remove conditional code.
18119 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18120 <kernel-features.h>.
18121 [__ASSUME_32BITUIDS]: Make code unconditional.
18122 [!__ASSUME_32BITUIDS]: Remove conditional code.
18123 * sysdeps/unix/sysv/linux/kernel-features.h
18124 (__ASSUME_SETRESUID_SYSCALL): Remove.
18125 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18126 (__ASSUME_32BITUIDS): Likewise.
18127 (__ASSUME_LDT_WORKS): Likewise.
18128 (__ASSUME_O_DIRECTORY): Likewise.
18129 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18130 architecture but not kernel version.
18131 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18132 (__ASSUME_MMAP2_SYSCALL): Likewise.
18133 (__ASSUME_STAT64_SYSCALL): Likewise.
18134 (__ASSUME_IPC64): Likewise.
18135 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18136 <kernel-features.h>.
18137 [__ASSUME_32BITUIDS]: Make code unconditional.
18138 [!__ASSUME_32BITUIDS]: Remove conditional code.
18139 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18140 <kernel-features.h>.
18141 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18142 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18143 132096]: Remove conditional code.
18144 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18145 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18146 <kernel-features.h>.
18147 [__ASSUME_32BITUIDS]: Make code unconditional.
18148 [!__ASSUME_32BITUIDS]: Remove conditional code.
18149 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18150 <kernel-features.h>.
18151 [__ASSUME_32BITUIDS]: Make code unconditional.
18152 [!__ASSUME_32BITUIDS]: Remove conditional code.
18153 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18154 <kernel-features.h>.
18155 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18156 unconditional.
18157 (__setresgid): Do not declare.
18158 [__ASSUME_32BITUIDS]: Make code unconditional.
18159 [!__ASSUME_32BITUIDS]: Remove conditional code.
18160 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18161 <kernel-features.h>.
18162 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18163 unconditional.
18164 (__setresuid): Do not declare.
18165 [__ASSUME_32BITUIDS]: Make code unconditional.
18166 [!__ASSUME_32BITUIDS]: Remove conditional code.
18167 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18168 <kernel-features.h>.
18169 [__ASSUME_32BITUIDS]: Make code unconditional.
18170 [!__ASSUME_32BITUIDS]: Remove conditional code.
18171 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18172 <kernel-features.h>.
18173 [__ASSUME_32BITUIDS]: Make code unconditional.
18174 [!__ASSUME_32BITUIDS]: Remove conditional code.
18175
18176 2012-05-25 Richard Henderson <rth@twiddle.net>
18177
18178 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18179 dl_hwcap to ifunc resolver.
18180 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18181 elf_ifunc_invoke.
18182 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18183 dl_hwcap to ifunc resolver.
18184 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18185
18186 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18187
18188 [BZ #14153]
18189 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18190 for |x| <= 2**-26, not 2**-57.
18191 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18192 exception.
18193
18194 2012-05-24 Jeff Law <law@redhat.com>
18195
18196 * stdio-common/Makefile (tests): Add bug25.
18197 * stdio-common/bug25.c: New test.
18198
18199 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18200
18201 [BZ #13576]
18202 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18203 multiple of MALLOC_ALIGNMENT in size.
18204 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18205
18206 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18207
18208 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18209 Require >= 256.
18210 (FILENAME_MAX): Use macro-int-constant.
18211 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18212 (_IOFBF): Use macro-int-constant.
18213 (_IOLBF): Likewise.
18214 (_IONBF): Likewise.
18215 (SEEK_CUR): Likewise.
18216 (SEEK_END): Likewise.
18217 (SEEK_SET): Likewise.
18218 (TMP_MAX): Likewise.
18219 (EOF): Use macro-int-constant. Require < 0.
18220 (NULL): Use macro-constant. Require == 0.
18221 (stdin): Require type to be FILE *.
18222 (stdout): Likewise.
18223 (stderr): Likewise.
18224 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18225 macro-int-constant.
18226 (EXIT_SUCCESS): Likewise.
18227 (NULL): Use macro-constant. Require == 0.
18228 (RAND_MAX): Use macro-int-constant.
18229 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18230 [C99-based standards] (strtof): Require function.
18231 [C99-based standards] (strtold): Likewise.
18232 [C99-based standards] (strtoll): Likewise.
18233 [C99-based standards] (strtoull): Likewise.
18234 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18235 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18236 [ISO || ISO99 || ISO11] (math.h): Likewise.
18237 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18238 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18239 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18240
18241 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18242
18243 [BZ #14132]
18244 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18245 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18246 * intl/dgettext.c (DCGETTEXT): Likewise.
18247 * intl/gettext.c (DCGETTEXT): Likewise.
18248 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18249 * posix/regex_internal.h (gettext): Likewise.
18250 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18251 Remove declaration.
18252 * include/argz.h (__argz_count_internal)
18253 (__argz_stringify_internal): Remove declaration.
18254 (__argz_count, __argz_stringify): Declare hidden proto.
18255 * intl/dcgettext.c: Remove use of INTDEF.
18256 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18257 * string/argz-stringify.c: Likewise.
18258 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18259 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18260 Declare hidden proto.
18261 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18262 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18263 Declare hidden proto.
18264 * include/stdio.h (__asprintf_internal): Don't declare.
18265 (__asprintf): Don't define as macro. Declare hidden proto.
18266 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18267 (__fsetlocking): Declare hidden proto.
18268 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18269 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18270 hidden proto.
18271 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18272 (_IO_setlinebuf): Remove use of INTUSE.
18273 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18274 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18275 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18276 Remove declaration.
18277 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18278 (_IO_do_flush): Remove use of INTUSE.
18279 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18280 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18281 (_IO_adjust_column, _IO_least_wmarker)
18282 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18283 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18284 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18285 (_IO_default_doallocate, _IO_wdefault_doallocate)
18286 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18287 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18288 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18289 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18290 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18291 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18292 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18293 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18294 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18295 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18296 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18297 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18298 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18299 proto.
18300 (_IO_flush_all_internal, _IO_adjust_column_internal)
18301 (_IO_default_uflow_internal, _IO_default_finish_internal)
18302 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18303 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18304 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18305 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18306 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18307 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18308 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18309 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18310 (_IO_file_close_internal, _IO_file_close_it_internal)
18311 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18312 (_IO_file_init_internal, _IO_file_attach_internal)
18313 (_IO_file_fopen_internal, _IO_file_read_internal)
18314 (_IO_file_sync_internal, _IO_file_seek_internal)
18315 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18316 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18317 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18318 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18319 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18320 (_IO_list_all_internal, _IO_link_in_internal)
18321 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18322 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18323 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18324 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18325 (_IO_do_write_internal, _IO_padn_internal)
18326 (_IO_getline_info_internal, _IO_getline_internal)
18327 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18328 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18329 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18330 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18331 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18332 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18333 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18334 with libc_hidden_ver, remove use of INTUSE.
18335 * libio/genops.c: Likewise.
18336 * libio/freopen.c: Likewise.
18337 * libio/freopen64.c: Likewise.
18338 * libio/iofclose.c: Likewise.
18339 * libio/iofdopen.c: Likewise.
18340 * libio/iofflush.c: Likewise.
18341 * libio/iofflush_u.c: Likewise.
18342 * libio/iofgets.c: Likewise.
18343 * libio/iofgets_u.c: Likewise.
18344 * libio/iofopen.c: Likewise.
18345 * libio/iofopncook.c: Likewise.
18346 * libio/iofread.c: Likewise.
18347 * libio/iofread_u.c: Likewise.
18348 * libio/ioftell.c: Likewise.
18349 * libio/iofwrite.c: Likewise.
18350 * libio/iogetline.c: Likewise.
18351 * libio/iogets.c: Likewise.
18352 * libio/iogetwline.c: Likewise.
18353 * libio/iopadn.c: Likewise.
18354 * libio/iopopen.c: Likewise.
18355 * libio/ioseekoff.c: Likewise.
18356 * libio/ioseekpos.c: Likewise.
18357 * libio/iosetbuffer.c: Likewise.
18358 * libio/iosetvbuf.c: Likewise.
18359 * libio/ioungetc.c: Likewise.
18360 * libio/ioungetwc.c: Likewise.
18361 * libio/iovdprintf.c: Likewise.
18362 * libio/iovsprintf.c: Likewise.
18363 * libio/iovsscanf.c: Likewise.
18364 * libio/memstream.c: Likewise.
18365 * libio/obprintf.c: Likewise.
18366 * libio/oldfileops.c: Likewise.
18367 * libio/oldiofclose.c: Likewise.
18368 * libio/oldiofdopen.c: Likewise.
18369 * libio/oldiofopen.c: Likewise.
18370 * libio/oldiopopen.c: Likewise.
18371 * libio/oldstdfiles.c: Likewise.
18372 * libio/putc.c: Likewise.
18373 * libio/setbuf.c: Likewise.
18374 * libio/setlinebuf.c: Likewise.
18375 * libio/stdfiles.c: Likewise.
18376 * libio/strops.c: Likewise.
18377 * libio/vasprintf.c: Likewise.
18378 * libio/vscanf.c: Likewise.
18379 * libio/vsnprintf.c: Likewise.
18380 * libio/vswprintf.c: Likewise.
18381 * libio/wfiledoalloc.c: Likewise.
18382 * libio/wfileops.c: Likewise.
18383 * libio/wgenops.c: Likewise.
18384 * libio/wmemstream.c: Likewise.
18385 * libio/wstrops.c: Likewise.
18386 * libio/__fpurge.c: Likewise.
18387 * libio/__fsetlocking.c: Likewise.
18388 * assert/assert.c: Likewise.
18389 * debug/fgets_chk.c: Likewise.
18390 * debug/fgets_u_chk.c: Likewise.
18391 * debug/fread_chk.c: Likewise.
18392 * debug/fread_u_chk.c: Likewise.
18393 * debug/gets_chk.c: Likewise.
18394 * debug/obprintf_chk.c: Likewise.
18395 * debug/vasprintf_chk.c: Likewise.
18396 * debug/vdprintf_chk.c: Likewise.
18397 * debug/vsnprintf_chk.c: Likewise.
18398 * debug/vsprintf_chk.c: Likewise.
18399 * malloc/mtrace.c: Likewise.
18400 * misc/error.c: Likewise.
18401 * misc/syslog.c: Likewise.
18402 * stdio-common/asprintf.c: Likewise.
18403 * stdio-common/fxprintf.c: Likewise.
18404 * stdio-common/getw.c: Likewise.
18405 * stdio-common/isoc99_fscanf.c: Likewise.
18406 * stdio-common/isoc99_scanf.c: Likewise.
18407 * stdio-common/isoc99_vfscanf.c: Likewise.
18408 * stdio-common/isoc99_vscanf.c: Likewise.
18409 * stdio-common/isoc99_vsscanf.c: Likewise.
18410 * stdio-common/printf-prs.c: Likewise.
18411 * stdio-common/printf_fp.c: Likewise.
18412 * stdio-common/printf_fphex.c: Likewise.
18413 * stdio-common/printf_size.c: Likewise.
18414 * stdio-common/putw.c: Likewise.
18415 * stdio-common/scanf.c: Likewise.
18416 * stdio-common/sprintf.c: Likewise.
18417 * stdio-common/tmpfile.c: Likewise.
18418 * stdio-common/vfprintf.c: Likewise.
18419 * stdio-common/vfscanf.c: Likewise.
18420 * stdlib/strfmon_l.c: Likewise.
18421 * sunrpc/openchild.c: Likewise.
18422 * sunrpc/xdr_stdio.c: Likewise.
18423 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18424 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18425
18426 2012-05-24 Roland McGrath <roland@hack.frob.com>
18427
18428 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18429
18430 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18431 in the third column, to generate for the shared library an IFUNC
18432 that uses _dl_vdso_vsym.
18433 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18434 * Makeconfig (object-suffixes-noshared): New variable.
18435
18436 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18437 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18438 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18439 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18440
18441 [BZ #14132]
18442 * include/sys/time.h (__gettimeofday): Remove macro.
18443 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18444 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18445 Remove INTDEF.
18446 (__gettimeofday): Add libc_hidden_def.
18447 (gettimeofday): Add libc_hidden_weak.
18448 * sysdeps/mach/gettimeofday.c: Likewise.
18449 * sysdeps/posix/gettimeofday.c: Likewise.
18450 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18451 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18452 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18453 (__gettimeofday_internal): Remove strong_alias.
18454 (__gettimeofday): Add libc_hidden_def.
18455 (gettimeofday): Add libc_hidden_weak.
18456 * sysdeps/unix/syscalls.list (gettimeofday):
18457 Remove __gettimeofday_internal alias.
18458
18459 2012-05-24 Daniel Jacobowitz <drow@false.org>
18460 H.J. Lu <hongjiu.lu@intel.com>
18461
18462 [BZ #12495]
18463 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18464 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18465 (largebin_index_32_big): New.
18466 (largebin_index): Use it for 16-byte alignment.
18467 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18468 correction with front_misalign.
18469
18470 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18471
18472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18473 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18474 Likewise.
18475 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18476 Likewise.
18477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18478 Likewise.
18479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18480 Likewise.
18481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18482 Likewise.
18483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18484 Likewise.
18485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18486 Likewise.
18487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18488 Likewise.
18489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18490 Likewise.
18491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18492 Likewise.
18493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18494 Likewise.
18495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18496 Likewise.
18497
18498 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18499 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18500
18501 2012-05-24 Joseph Myers <joseph@codesourcery.com>
18502
18503 [BZ #10846]
18504 [BZ #14036]
18505 * math/libm-test.inc (exp_test): Add test from bug 14036.
18506 (pow_test): Add test from bug 10846.
18507
18508 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18509 and other flags.
18510 (special_function): Do not include flags in test name.
18511 (parse_args): Likewise.
18512 * sysdeps/i386/fpu/libm-test-ulps: Update.
18513 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18514 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18515 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18517
18518 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18519 exceptions.
18520 * math/libm-test.inc ("Philosophy"): Update comment about
18521 exception testing.
18522 (UNDERFLOW_EXCEPTION): New macro.
18523 (UNDERFLOW_EXCEPTION_OK): Likewise.
18524 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18525 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18526 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18527 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18528 (INVALID_EXCEPTION_OK): Update value.
18529 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18530 (OVERFLOW_EXCEPTION_OK): Likewise.
18531 (IGNORE_ZERO_INF_SIGN): Likewise.
18532 (test_exceptions): Handle underflow exceptions.
18533 (acos_test): Update for underflow exception expectations.
18534 (cexp_test): Likewise.
18535 (clog_test): Likewise.
18536 (clog10_test): Likewise.
18537 (csqrt_test): Likewise.
18538 (ctan_test): Likewise.
18539 (ctanh_test): Likewise.
18540 (exp_test): Likewise.
18541 (exp10_test): Likewise.
18542 (exp2_test): Likewise.
18543 (expm1_test): Likewise.
18544 (fma_test): Likewise.
18545 (j0_test): Likewise.
18546 (jn_test): Likewise.
18547 (nexttoward_test): Likewise.
18548 (pow_test): Likewise.
18549 (scalbn_test): Likewise.
18550 (scalbln_test): Likewise.
18551 (tan_test): Likewise.
18552 (y1_test): Likewise.
18553 * sysdeps/i386/fpu/libm-test-ulps: Update.
18554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18555
18556 2012-05-23 David S. Miller <davem@davemloft.net>
18557
18558 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18559 (__libc_sigaction): Remove unused local variables.
18560
18561 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18562
18563 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18564
18565 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18566
18567 mktime: avoid signed integer overflow
18568 * time/mktime.c (__mktime_internal): Do not mishandle the case
18569 where diff == INT_MIN.
18570
18571 mktime: simplify computation of average
18572 * time/mktime.c (ranged_convert): Use new time_t_avg function
18573 instead of rolling our own (probably-slower) code.
18574
18575 mktime: do not assume signed right shift propagates sign bit
18576 * time/mktime.c (isdst_differ): New static function.
18577 (__mktime_internal): No need to normalize tm_isdst now.
18578 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18579 tm_isdst values.
18580
18581 mktime: merge another wrapv change from gnulib
18582 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18583 from some compilers.
18584
18585 mktime: remove incorrect attempt at unusual arithmetics
18586 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18587 The code didn't really work on such machines anyway.
18588 (TYPE_MINIMUM): Assume two's complement.
18589 (twos_complement_arithmetic): Verify that long_int and time_t
18590 are two's complement (or unsigned, in the latter case).
18591
18592 mktime: check signed shifts on long_int and time_t, too
18593 * time/mktime.c (SHR): Check that shifts work as desired
18594 on the types long_int and time_t too, as SHR is used on
18595 such types.
18596
18597 mktime: do not assume 'long' is wide enough
18598 * time/mktime.c (verify): Move decl up.
18599 (long_int): New type.
18600 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18601 to remove assumption in the code that 'long' is wide enough to
18602 store year values. This assumption is not true on x32 and on
18603 some non-glibc platforms.
18604
18605 mktime: merge wrapv change from gnulib
18606 * time/mktime.c (WRAPV): New macro.
18607 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18608 (guess_time_tm, __mktime_internal): Do not assume that signed
18609 integer overflow wraps around; modern compilers generate code
18610 where this assumption is no longer valid.
18611
18612 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18613
18614 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18615 Replace "jmp L(pseudo_end)" with "ret".
18616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18617 Likewise.
18618
18619 2012-05-23 Andreas Jaeger <aj@suse.de>
18620
18621 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18622 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18623
18624 2012-05-23 Andreas Jaeger <aj@suse.de>
18625 Maximilian Attems <max@stro.at>
18626
18627 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18628 New macros.
18629
18630 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18631
18632 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18633 code so that pseudo_end is just ret and the stack pointer is
18634 correct also for static library in error case.
18635
18636 2012-05-23 Joseph Myers <joseph@codesourcery.com>
18637
18638 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18639 move to syscalls.list.
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18644
18645 * manual/install.texi (Running make install): Do not mention Linux
18646 kernel version for which pt_chown is not needed.
18647 (Linux): Do not mention problems with nscd with 2.0 kernels.
18648 * INSTALL: Regenerated.
18649
18650 2012-05-23 Andreas Jaeger <aj@suse.de>
18651
18652 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18653 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18654 macro.
18655 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18656 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18657 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18658 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18659 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18660 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18661 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18662 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18663 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18664 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18665 * sysdeps/unix/sysv/linux/bits/in.h
18666 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18667
18668 2012-05-22 Roland McGrath <roland@hack.frob.com>
18669
18670 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18671 (PREPARE_VERSION): Just use assert instead, it will be elided
18672 under [NDEBUG] anyway.
18673
18674 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18675
18676 * sysdeps/unix/sysv/linux/Makefile: Include
18677 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18678 (sysdep_routines): Remove sysctl.
18679 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18680 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18681 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18682 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18683 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18684
18685 2012-05-22 Andreas Jaeger <aj@suse.de>
18686
18687 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18688 that pseudo_end is just ret and the stack pointer is correct also
18689 for static library in error case.
18690
18691 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18692
18693 [BZ #14122]
18694 * nss/nsswitch.c (defconfig_entries): New variable.
18695 (__nss_database_lookup): Don't leak defconfig entries.
18696 (nss_parse_service_list): Don't leak on error paths.
18697 (free_database_entries): New function.
18698 (free_defconfig): New function.
18699 (free_mem): Move common code to free_database_entries.
18700
18701 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18702
18703 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18704 Add arch_prctl.
18705 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18706
18707 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18708 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18710 New macro.
18711 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18712 (INTERNAL_SYSCALL_TYPES): Likewise.
18713 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18714 (LOAD_REGS_TYPES_[1-6]): Likewise.
18715 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18716 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18717
18718 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18719
18720 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18721 copysignl for GLIBC_2_0.
18722 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18723 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18725 logbl for GLIBC_2_0.
18726 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18727 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18728
18729 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18730
18731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18732 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18733
18734 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18735 Use "neg %eax".
18736
18737 * time/mktime.c: Update copyright years.
18738
18739 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18740
18741 mktime: merge comment-quoting-style change from gnulib
18742 * time/mktime.c: Quote 'like this' in comments.
18743 The GNU coding standards suggest that we no longer quote `like this',
18744 as "`" and "'" are typically rendered asymmetrically nowadays.
18745 The typical gnulib style is to quote 'like this' when quoting
18746 code, and "like this" when quoting English.
18747
18748 * time/mktime.c (compile-command): Add "-I.".
18749
18750 mktime: merge mktime-internal.h change from gnulib
18751 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18752
18753 mktime: merge time_r change from gnulib
18754 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18755
18756 mktime: merge DEBUG change from gnulib
18757 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18758 case system <time.h> has a #define.
18759
18760 mktime: merge <sys/types.h> change from gnulib
18761 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18762 since <time.t> is now guaranteed to define time_t.
18763
18764 mktime: merge HAVE_CONFIG_H change from gnulib
18765 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18766
18767 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18768
18769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18770 Use "neg %eax".
18771
18772 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18773 __rlim_t cast.
18774 (struct rusage): Use anonymous union to pad each field to
18775 __syscall_slong_t.
18776
18777 2012-05-21 David S. Miller <davem@davemloft.net>
18778
18779 * Makefules (o-iterator): Remove .s cases.
18780 (compile-command.s): Delete.
18781 (COMPILE.s): Delete.
18782 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18783
18784 2012-05-21 Joseph Myers <joseph@codesourcery.com>
18785
18786 * configure.in (libc_cv_predef_stack_protector): Only consider
18787 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18788 * configure: Regenerated.
18789
18790 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18791
18792 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18793 New macro. Use R*LP on int and pointer.
18794 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18795 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18796 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18797 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18798
18799 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18800 [__WORDSIZE_TIME64_COMPAT32] instead of
18801 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18802 (struct utmp): Likewise.
18803 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18804 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18805 Renamed to ...
18806 (__WORDSIZE_TIME64_COMPAT32): This.
18807 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18808 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18809 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18810 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18811 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18812 (__WORDSIZE_TIME64_COMPAT32): New macro.
18813
18814 2012-05-21 Andreas Jaeger <aj@suse.de>
18815
18816 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18817 only if [SHARED]. Add prototype for __wcschr_ia32.
18818
18819 2012-05-21 Roland McGrath <roland@hack.frob.com>
18820
18821 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18822 of %rbp unmolested in the jmp_buf while mangling the low bits.
18823 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18824 unmolested high bits of %rbp while demangling the low bits.
18825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18826
18827 2012-05-21 Andreas Jaeger <aj@suse.de>
18828
18829 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18830 * sunrpc/svc_simple.c: Use it for registerrpc.
18831 * sunrpc/xcrypt.c: Use it for passwd2des.
18832
18833 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18834
18835 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18836
18837 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18838 Don't define if [__SYSCALL_WORDSIZE != 32].
18839 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18840 New macro.
18841
18842 2012-05-21 Bruno Haible <bruno@clisp.org>
18843 Andreas Jaeger <aj@suse.de>
18844
18845 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18846 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18847 inptr and inend for must_buffer_ch.
18848 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18849 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18850 * stdio-common/Makefile (tests): Remove bug15.
18851 (bug15-ENV): Remove macro.
18852 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18853 anymore.
18854
18855 2012-05-19 Andreas Jaeger <aj@suse.de>
18856 Roland McGrath <roland@hack.frob.com>
18857
18858 * manual/contrib.texi: Completely rewritten. It contains now an
18859 alphabetical list of contributors and their contributions.
18860
18861 2012-05-21 Richard Henderson <rth@twiddle.net>
18862
18863 * misc/getauxval.c (__getauxval): Use unsigned long int.
18864 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18865 (getauxval): Use unsigned long int.
18866
18867 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18868
18869 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18870
18871 2012-05-21 Roland McGrath <roland@hack.frob.com>
18872
18873 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18874 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18875 __alignof__ (long double).
18876
18877 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18878
18879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18880
18881 2012-05-20 Richard Henderson <rth@twiddle.net>
18882
18883 * misc/getauxval.c: New file.
18884 * misc/sys/auxv.h: New file.
18885 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18886 (routines): Add getauxval.
18887 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18888 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18889 * elf/dl-sysdep.c (_dl_auxv): Remove.
18890 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18891 * elf/dl-support.c (_dl_auxv): New variable.
18892 (_dl_aux_init): Initialize it.
18893 * manual/startup.texi (Auxiliary Vector): New node.
18894 * sysdeps/generic/bits/hwcap.h: New file.
18895 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18896 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18897 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18898 * sysdeps/sparc/sysdep.h: ... here. Include it.
18899 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18900 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18902 Update.
18903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18906 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18911
18912 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18913
18914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18915
18916 2012-05-19 David S. Miller <davem@davemloft.net>
18917
18918 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18919
18920 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18921
18922 [BZ #14123]
18923 * math/s_ccosh.c: Include <float.h>
18924 (__ccosh): Avoid internal overflow calculating sinh and cosh
18925 values before multiplying by sin and cos values.
18926 * math/s_ccoshf.c: Likewise.
18927 * math/s_ccoshl.c: Likewise.
18928 * math/s_csin.c: Likewise.
18929 * math/s_csinf.c: Likewise.
18930 * math/s_csinl.c: Likewise.
18931 * math/s_csinh.c: Likewise.
18932 * math/s_csinhf.c: Likewise.
18933 * math/s_csinhl.c: Likewise.
18934 * math/libm-test.inc (ccos_test): Add more tests.
18935 (ccosh_test): Likewise.
18936 (csin_test): Likewise.
18937 (csinh_test): Likewise.
18938 * sysdeps/i386/fpu/libm-test-ulps: Update.
18939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18940
18941 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18942
18943 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18944 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18945
18946 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18947
18948 2012-05-19 Joseph Myers <joseph@codesourcery.com>
18949
18950 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18951 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18952 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18953 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18954 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18955 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18956 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18957 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18958 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18959 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18960 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18961 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18962 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18963 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18964 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18965 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18966 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18967 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18968 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18969 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18970 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18971 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18972 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18973 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18974 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18975 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18976 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18977 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18978 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18979 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18980 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18981
18982 2012-05-18 Andreas Jaeger <aj@suse.de>
18983
18984 * csu/.gitignore: Delete.
18985
18986 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18987
18988 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18989 (timex): Use __syscall_slong_t.
18990
18991 2012-05-18 Andreas Jaeger <aj@suse.de>
18992 Carlos O'Donell <carlos_odonell@mentor.com>
18993
18994 * manual/install.texi (Configuring and compiling): Update
18995 description about files modified in the source directory.
18996 * INSTALL: Regenerated.
18997
18998 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18999
19000 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19001 value. Use "or" to set return value to -1.
19002 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19003 negate return value.
19004
19005 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19006
19007 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19008 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19009 failure if the compiler has Graphite support disabled.
19010 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19011 Likewise.
19012 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19013 CFLAGS-memmove.c): Likewise.
19014 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19015 Likewise.
19016
19017 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19018
19019 * sysdeps/x86_64/x32/_itoa.h: New file.
19020
19021 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19022 getdents system call only if kernel and user dirents have the
19023 same d_ino and d_off.
19024
19025 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19026 LLONG_MAX != LONG_MAX.
19027 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19028 (_fitoa_word): Likewise.
19029
19030 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19031 years.
19032 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19033 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19034 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19035
19036 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19037 include <bits/wordsize.h>. Check __x86_64__ instead of
19038 __WORDSIZE.
19039 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19040 if __x86_64__ is defined. Use anonymous union on fpstate.
19041
19042 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19043 anonymous union.
19044
19045 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19046
19047 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19048 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19049 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19050 Refer to _rtld_local_ro instead of _rtld_global_ro.
19051 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19052 Likewise.
19053 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19054 Likewise.
19055 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19056 Likewise.
19057 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19058 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19059 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19060
19061 * sysdeps/powerpc/powerpc32/dl-machine.c
19062 (__elf_machine_runtime_setup) [PROF]: Don't reference
19063 _dl_prof_resolve.
19064
19065 2012-05-18 Andreas Jaeger <aj@suse.de>
19066
19067 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19068 function only available for GCCs before 3.4 since GCC 3.4
19069 introduced a builtin.
19070 (lrint): Likewise.
19071 (llrintf): Likewise.
19072 (llrint): Likewise.
19073 (fmaxf): Likewise.
19074 (fmax): Likewise.
19075 (fminf): Likewise.
19076 (fmin): Likewise.
19077 (rint): Likewise.
19078 (rintf): Likewise.
19079 (nearbyint): Likewise.
19080 (nearbyintf): Likewise.
19081 (ceil): Likewise.
19082 (ceilf): Likewise.
19083 (floor): Likewise.
19084 (floorf): Likewise.
19085
19086 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19087
19088 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19089 on both fields and cast pointer to __syscall_ulong_t.
19090
19091 * bits/types.h (__fsword_t): New type.
19092 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19093 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19095 (__FSWORD_T_TYPE): Likewise.
19096 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19097 (__FSWORD_T_TYPE): Likewise.
19098 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19099 (__FSWORD_T_TYPE): Likewise.
19100 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19101 (__FSWORD_T_TYPE): Likewise.
19102 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19103 __SWORD_TYPE with __fsword_t.
19104 (statfs64): Likewise.
19105
19106 2012-05-17 David S. Miller <davem@davemloft.net>
19107
19108 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19109
19110 2012-05-17 Andreas Jaeger <aj@suse.de>
19111
19112 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19113 warning.
19114
19115 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19116
19117 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19118
19119 2012-05-17 Andreas Jaeger <aj@suse.de>
19120
19121 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19122 when it is used.
19123
19124 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19125
19126 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19127
19128 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19129
19130 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19131 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19132
19133 2012-05-17 Andreas Jaeger <aj@suse.de>
19134 Carlos O'Donell <carlos_odonell@mentor.com>
19135
19136 [BZ #14059]
19137 * sysdeps/x86_64/multiarch/init-arch.h
19138 (bit_YMM_Usable): Rename to...
19139 (bit_AVX_Usable): ... this.
19140 (bit_FMA4_Usable): New macro.
19141 (bit_XMM_state): New macro.
19142 (bit_YMM_state): New macro.
19143 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19144 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19145 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19146 (CPUID_OSXSAVE): New macro.
19147 (CPUID_AVX): New macro.
19148 (CPUID_FMA4): New macro.
19149 (index_YMM_Usable): Rename to...
19150 (index_AVX_Usable): ... this.
19151 (HAS_AVX): Use HAS_ARCH_FEATURE.
19152 (HAS_FMA4): Likewise.
19153 (HAS_YMM_USABLE): Remove.
19154 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19155 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19156 are present.
19157 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19158 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19159 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19160 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19161 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19162
19163 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19164
19165 * math/libm-test.c: Support platforms without multiple rounding modes.
19166 * math/bug-nextafter.c: Support platforms without FP exceptions.
19167 * math/bug-nexttoward.c: Likewise.
19168 * math/test-fenv.c: Likewise.
19169 * math/test-misc.c: Likewise.
19170 * stdlib/bug-getcontext.c: Likewise.
19171
19172 2012-05-17 Andreas Jaeger <aj@suse.de>
19173
19174 * manual/examples/search.c (critter_cmp): Change signature to
19175 avoid warnings.
19176 * manual/string.texi (Collation Functions): Likewise.
19177
19178 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19179
19180 * bits/types.h: Fold copyright years.
19181 * bits/typesizes.h: Likewise.
19182 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19185 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19186 * time/time.h: Likewise.
19187
19188 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19189
19190 [BZ #208]
19191 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19192 in instead of returning them. Return void.
19193 (__libc_mallinfo): Accumulate over all arenas.
19194 (__malloc_stats): Adjust for change in int_mallinfo interface.
19195
19196 2012-05-16 Roland McGrath <roland@hack.frob.com>
19197
19198 [BZ #10375]
19199 * configure.in (NM): Add AC_CHECK_TOOL for it.
19200 (libc_extra_cflags): New substituted variable.
19201 Check for -fstack-protector being used implicitly.
19202 * configure: Regenerated.
19203 * config.make.in (config-extra-cflags): New variable,
19204 gets @libc_extra_cflags@.
19205 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19206
19207 [BZ #10375]
19208 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19209 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19210 * configure: Regenerated.
19211 * config.make.in (CPPUNDEFS): New substituted variable.
19212 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19213 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19214 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19215
19216 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19217
19218 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19219 (mq_attr): Use __syscall_slong_t.
19220
19221 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19222
19223 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19224 Check __x86_64__ instead of __WORDSIZE.
19225 (_STAT_VER_LINUX): Likewise.
19226 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19227 __syscall_ulong_t and __syscall_slong_t.
19228 (stat64): Likewise.
19229
19230 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19231
19232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19233
19234 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19235
19236 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19237
19238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19239
19240 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19241 __syscall_ulong_t.
19242
19243 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19244 include <bits/wordsize.h>. Check __x86_64__ instead of
19245 __WORDSIZE.
19246 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19247 defined.
19248 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19249
19250 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19251 include <bits/wordsize.h>. Check __x86_64__ instead of
19252 __WORDSIZE.
19253 (user_regs_struct): Use "__extension__ unsigned long long"
19254 instead of "unsigned long" if __x86_64__ is defined.
19255 (user): Likewise. Pad after pointer field if __ILP32__ is
19256 defined.
19257
19258 2012-05-16 Joseph Myers <joseph@codesourcery.com>
19259
19260 * configure.in (makeinfo): Require version 4.5 or later. Allow
19261 versions 5 to 9.
19262 * configure: Regenerated.
19263 * manual/install.texi (texinfo): Increase version requirement to
19264 4.5 or later.
19265 * INSTALL: Regenerated.
19266
19267 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19268
19269 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19270
19271 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19272
19273 * sysdeps/x86_64/x32/ffs.c: New file.
19274
19275 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19276 __syscall_ulong_t.
19277 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19278 defined. Use __syscall_ulong_t.
19279 (shminfo): Use __syscall_ulong_t.
19280 (shm_info): Likewise.
19281
19282 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19283 __syscall_ulong_t.
19284
19285 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19286 <bits/wordsize.h>.
19287 (msgqnum_t): Use __syscall_ulong_t.
19288 (msglen_t): Likewise.
19289 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19290 __syscall_ulong_t.
19291
19292 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19293 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19294
19295 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19296
19297 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19298 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19299
19300 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19301 __syscall_slong_t.
19302
19303 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19304 include <bits/wordsize.h>. Check __x86_64__ instead of
19305 __WORDSIZE.
19306
19307 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19308 "unsigned long long int" if __x86_64__ is defined.
19309 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19310
19311 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19312 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19313 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19314
19315 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19316 <stdint.h>.
19317 (GET_PC): Cast to uintptr_t first.
19318 (GET_FRAME): Likewise.
19319 (GET_STACK): Likewise.
19320
19321 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19322 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19323 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19324 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19325 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19326 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19327 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19328 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19329 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19330 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19331 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19332 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19333 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19334 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19335 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19336 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19337 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19338 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19339 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19340 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19341 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19342 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19343 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19344 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19345 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19346 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19347 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19348 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19349 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19350
19351 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19352
19353 * Makerules (+depfiles): Also collect depfiles from .oS in
19354 $(extra-objs).
19355 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19356 .oS, $(libnldbl-routines)).
19357
19358 * Makerules (native-compile-mkdep-flags): Define.
19359 * sunrpc/Makefile (extra-objs): Add $(addprefix
19360 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19361 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19362 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19363 calling $(make-target-directory).
19364
19365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19366
19367 * bits/types.h (__snseconds_t): Removed.
19368 * time/time.h (struct timespec): Replace __snseconds_t with
19369 __syscall_slong_t.
19370 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19371 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19372 Likewise.
19373 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19374 (__SNSECONDS_T_TYPE): Likewise.
19375 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19376 (__SNSECONDS_T_TYPE): Likewise.
19377 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19378 (__SNSECONDS_T_TYPE): Likewise.
19379
19380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19381
19382 * sysdeps/mach/hurd/bits/typesizes.h
19383 (__SYSCALL_SLONG_TYPE): New macro.
19384 (__SYSCALL_ULONG_TYPE): Likewise.
19385
19386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19387
19388 * bits/types.h (__syscall_slong_t): New type.
19389 (__syscall_ulong_t): Likewise.
19390
19391 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19392 (__SYSCALL_ULONG_TYPE): Likewise.
19393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19394 (__SYSCALL_SLONG_TYPE): Likewise.
19395 (__SYSCALL_ULONG_TYPE): Likewise.
19396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19397 (__SYSCALL_SLONG_TYPE): Likewise.
19398 (__SYSCALL_ULONG_TYPE): Likewise.
19399 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19400 (__SYSCALL_SLONG_TYPE): Likewise.
19401 (__SYSCALL_ULONG_TYPE): Likewise.
19402
19403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19404
19405 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19406 Add sigaltstack-offsets.sym.
19407 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19408 <sigaltstack-offsets.h>.
19409 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19410 longjmp_msg pointer.
19411 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19412 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19413 signal stack.
19414 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19415
19416 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19417
19418 * elf/stackguard-macros.h: Remove file.
19419 * sysdeps/generic/stackguard-macros.h: New file.
19420 * sysdeps/i386/stackguard-macros.h: Likewise.
19421 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19422 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19423 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19424 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19425 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19426 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19427 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19428 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19429 <elf/stackguard-macros.h>.
19430
19431 [BZ #14109]
19432 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19433 __aligned__ in attribute.
19434 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19435 (gregset_t): Likewise.
19436
19437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19438
19439 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19440 * sysdeps/x86_64/64/Implies-after: Here. New file.
19441 * sysdeps/x86_64/x32/Implies-after: New file.
19442
19443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19444
19445 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19446 and access return value for _dl_profile_fixup. Use R10_LP to
19447 load frame size.
19448
19449 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19450
19451 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19452
19453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19454
19455 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19456 * sysdeps/x86_64/x32/sysdep.h: New file.
19457
19458 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19459
19460 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19461 * sysdeps/x86_64/setjmp.S: Likewise.
19462
19463 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19464
19465 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19466 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19467 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19468 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19469 remove unused global constant.
19470
19471 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19472
19473 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19474 include of <not-cancel.h>.
19475
19476 2012-05-15 Roland McGrath <roland@hack.frob.com>
19477
19478 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19479
19480 2012-05-15 Jeff Law <law@redhat.com>
19481 Andreas Jaeger <aj@suse.de>
19482
19483 [BZ #13594]
19484 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19485 out from...
19486 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19487 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19488 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19489 code changing __hst_map_handle.map.
19490
19491 2012-05-15 Roland McGrath <roland@hack.frob.com>
19492
19493 * configure.in (sysnames): Look for Implies-before and Implies-after
19494 files.
19495 * configure: Regenerated.
19496
19497 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19498
19499 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19500 8-byte data alignment with LP_SIZE alignment.
19501
19502 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19503
19504 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19505 into R10_LP.
19506
19507 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19508
19509 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19510
19511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19512
19513 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19514 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19515 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19516 Likewise.
19517 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19518
19519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19520
19521 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19522 (stackinfo_sub_sp): Likewise.
19523
19524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19525
19526 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19527 RAX_LP.
19528
19529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19530
19531 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19532 into R*_LP.
19533
19534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19535
19536 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19537 sizes into R*_LP.
19538
19539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19540
19541 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19542
19543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19544
19545 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19546 into R11_LP and load __x86_64_shared_cache_size_half into
19547 R8_LP.
19548
19549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19550
19551 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19552 R8_LP.
19553
19554 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19555
19556 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19557 logb for POWER7.
19558 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19559 logbf for POWER7.
19560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19561 logbl for POWER7.
19562 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19563 powerpc32/power7/fpu/s_logb.c via #include.
19564 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19565 powerpc32/power7/fpu/s_logbf.c via #include.
19566 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19567 powerpc32/power7/fpu/s_logbl.c via #include.
19568
19569 2012-05-15 Joseph Myers <joseph@codesourcery.com>
19570
19571 * README.libm: Remove file.
19572
19573 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19574
19575 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19576 count for x32. Use R*_LP and omit operand-size suffix.
19577
19578 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19579
19580 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19581 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19582 * sysdeps/x86_64/x32/shlib-versions: New file.
19583
19584 2012-05-14 Roland McGrath <roland@hack.frob.com>
19585
19586 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19587 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19588 Use _dl_fatal_printf instead.
19589
19590 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19591
19592 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19593 set if not set by the user. Do not allow for being unset.
19594 * sysdeps/unix/sysv/linux/configure: Regenerated.
19595
19596 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19597
19598 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19599 the `q' suffix from lea and replace .quad with ASM_ADDR.
19600
19601 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19602
19603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19604 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19605 instead of $17.
19606 (PTR_DEMANGLE): Likewise.
19607
19608 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19609
19610 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19611 (LP_OP): Likewise.
19612 (ASM_ADDR): Likewise.
19613 (RAX_LP): Likewise.
19614 (RBP_LP): Likewise.
19615 (RBX_LP): Likewise.
19616 (RCX_LP): Likewise.
19617 (RDI_LP): Likewise.
19618 (RSI_LP): Likewise.
19619 (RSP_LP): Likewise.
19620 (R8_LP): Likewise.
19621 (R9_LP): Likewise.
19622 (R10_LP): Likewise.
19623 (R10_LP): Likewise.
19624 (R11_LP): Likewise.
19625 (R12_LP): Likewise.
19626 (R13_LP): Likewise.
19627 (R14_LP): Likewise.
19628 (R15_LP): Likewise.
19629
19630 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19631
19632 * sysdeps/x86_64/x32/dl-machine.h: New file.
19633
19634 2012-05-14 Andreas Jaeger <aj@suse.de>
19635
19636 * manual/Makefile (subdir): Remove export of subdir.
19637 (all): Remove target.
19638 (.PHONY): Remove all from list.
19639 (mkinstalldirs): Remove.
19640 (.PHONY): Remove installdirs from list.
19641 ($(inst_infodir)/libc.info): Use make-target-directory.
19642 (installdirs): Remove.
19643 (subdir_%): Remove.
19644 (glibc-targets): Remove.
19645 (lib): Remove.
19646 (stubs): Remove.
19647 ($(objpfx)stubs ../po/manual.pot): Remove.
19648 ($(objpfx)stamp%): Remove.
19649 (make-target-directory): Remove.
19650 (subdir_install): Remove.
19651 (routines): Remove.
19652 (aux): Remove.
19653 (sources): Remove.
19654 (objects): Remove.
19655 (headers): Remove.
19656
19657 [BZ #13750]
19658 * manual/.gitignore: Remove, it's not needed anymore.
19659 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19660 all files in it.
19661 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19662 directory.
19663 (texis): Renamed to $(objpfx)texis.
19664 (texis-path): New, contains path to generated files.
19665 (chapters.%): Use texis-path for complete path, add extra argument
19666 libc-texinfo.sh.
19667 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19668 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19669 (summary,texi, stamp-summary): Use complete path of
19670 files. Generate files in build dir.
19671 (dir-add.texi): Build in build dir.
19672 (libm-err.texi,stamp-libm-err): Likewise.
19673 (version.texi, stamp-version): Likewise.
19674 (.%c.texi): Likewise.
19675 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19676 (mostlyclean): Remove target.
19677 (realclean): Remove target.
19678 (generated): Add new variable with contents from mostlyclean and
19679 realclean, remove entries duplicated in common-mostlyclean, add
19680 stamp-libm-err and stamp-version.
19681 (generated-dirs): Add libc directory.
19682 ($(inst_infodir)/libc.info): Install files from build dir.
19683
19684 * manual/install.texi (Configuring and compiling): Adjust since
19685 the info files are not part of the tar ball anymore.
19686
19687 2012-05-14 Andreas Jaeger <aj@suse.de>
19688
19689 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19690 variable.
19691
19692 2012-05-14 Joseph Myers <joseph@codesourcery.com>
19693
19694 [BZ #13717]
19695 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19696 to 2.2.0 where earlier.
19697 * sysdeps/unix/sysv/linux/configure: Regenerated.
19698 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19699 Remove conditional code.
19700 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19701 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19702 Remove conditional code.
19703 [!__NR_lchown]: Likewise.
19704 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19705 [__NR_lchown]: Likewise.
19706 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19707 comment referencing __ASSUME_LCHOWN_SYSCALL.
19708 * sysdeps/unix/sysv/linux/i386/sigaction.c
19709 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19710 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19711 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19712 Remove conditional code.
19713 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19714 (__protocol_available): Remove #if 0 code.
19715 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19716 conditional code.
19717 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19718 * sysdeps/unix/sysv/linux/kernel-features.h
19719 (__ASSUME_GETCWD_SYSCALL): Don't define.
19720 (__ASSUME_REALTIME_SIGNALS): Likewise.
19721 (__ASSUME_PREAD_SYSCALL): Likewise.
19722 (__ASSUME_PWRITE_SYSCALL): Likewise.
19723 (__ASSUME_POLL_SYSCALL): Likewise.
19724 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19725 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19726 non-SPARC.
19727 (__ASSUME_SIOCGIFNAME): Don't define.
19728 (__ASSUME_MSG_NOSIGNAL): Likewise.
19729 (__ASSUME_SENDFILE): Define unconditionally.
19730 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19731 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19732 conditional code.
19733 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19734 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19735 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19736 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19737 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19738 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19739 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19741 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19742 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19744 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19745 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19747 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19748 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19750 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19751 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19753 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19756 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19757 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19759 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19762 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19764 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19765 Remove conditional code.
19766 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19767 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19768 Remove conditional code.
19769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19770 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19771 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19772 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19773 Remove conditional code.
19774 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19775 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19776 Remove conditional code.
19777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19778 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19779 Remove conditional code.
19780 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19781 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19782 Remove conditional code.
19783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19784 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19785 Remove conditional code.
19786 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19787 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19790 * sysdeps/unix/sysv/linux/sigaction.c
19791 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19792 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19793 * sysdeps/unix/sysv/linux/sigpending.c
19794 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19795 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19796 * sysdeps/unix/sysv/linux/sigprocmask.c
19797 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19798 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19799 * sysdeps/unix/sysv/linux/sigsuspend.c
19800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19802 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19803 (__libc_missing_rt_sigs): Remove.
19804 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19805 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19806 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19807 Remove conditional code.
19808 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19809 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19810 return 1.
19811 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19812 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19813 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19814 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19815
19816 2012-05-14 Andreas Jaeger <aj@suse.de>
19817
19818 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19819 it's not used in glibc.
19820 (__coshm1): Likewise.
19821 (__acosh1p): Likewise.
19822 (__sgn): Likewise.
19823
19824 * manual/string.texi (Copying and Concatenation): Add missing
19825 variable in concat example.
19826 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19827
19828 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19829
19830 [BZ #14103]
19831 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19832 __builtin_clzl with __builtin_clzll.
19833
19834 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19835
19836 [BZ #14104]
19837 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19838 libc_freeres_ptr.
19839
19840 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19841
19842 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19843 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19844 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19845 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19846
19847 2012-05-14 Mike Frysinger <vapier@gentoo.org>
19848
19849 * NEWS: Update ia64 info.
19850
19851 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19852
19853 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19854 used as bcopy.
19855
19856 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19857
19858 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19859 * sysdeps/unix/syscalls.list (dup3): Likewise.
19860 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19861 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19862
19863 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19864
19865 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19866 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19867
19868 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19869
19870 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19871 thread pointer.
19872 (TLS_IE): Use mov/add instead of movq/addq to load thread
19873 pointer.
19874 (TLS_GD_PREFIX): New.
19875 (TLS_GD): Use it.
19876
19877 2012-05-11 David S. Miller <davem@davemloft.net>
19878
19879 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19880 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19881 (_FPU_SETCW): Likewise.
19882
19883 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19884
19885 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19886 is 32-byte aligned.
19887
19888 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19889
19890 [BZ #11837]
19891 * iconvdata/gb18030.c: Update tables.
19892 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19893 characters specially.
19894 (BODY for TO_LOOP): Add encoding of missing ranges.
19895
19896 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19897
19898 [BZ #13673]
19899 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19900 * sysdeps/mach/hurd/dup3.c: Likewise.
19901 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19902 * sysdeps/powerpc/memmove.c:: Likewise.
19903
19904 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19905
19906 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19907 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19908
19909 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19910
19911 * elf/elf.h (R_X86_64_RELATIVE64): New.
19912 (R_X86_64_NUM): Updated.
19913 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19914 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19915 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19916 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19917 tst-quad1pie tst-quad2pie
19918 (modules-names): Add tst-quadmod1 tst-quadmod2.
19919 ($(objpfx)tst-quad1): New dependency.
19920 ($(objpfx)tst-quad2): Likewise.
19921 ($(objpfx)tst-quad1pie): Likewise.
19922 ($(objpfx)tst-quad2pie): Likewise.
19923 * sysdeps/x86_64/tst-quad1.c: New file.
19924 * sysdeps/x86_64/tst-quad1pie.c: New file.
19925 * sysdeps/x86_64/tst-quad2.c: Likewise.
19926 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19927 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19928 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19929 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19930 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19931
19932 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19933
19934 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19935 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19936 * streams/stropts.h (t_scalar_t): Define type.
19937
19938 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19939 (_PATH_PRESERVE): Set to "/var/lib".
19940 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19941
19942 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19943 instead of int.
19944
19945 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19946 if __dir_mkfile succeeded.
19947
19948 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19949 checking for _hurd_dtablesize. Unlock it right after having
19950 finished _hurd_dtable allocation.
19951
19952 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
19953
19954 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19955 * sysdeps/mach/hurd/configure: Regenerated.
19956 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19957 special-casing to...
19958 * sysdeps/gnu/configure.in: ... this new file.
19959 * sysdeps/unix/sysv/linux/configure: Regenerated.
19960 * sysdeps/gnu/configure: New generated file.
19961
19962 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19963 for Linux: use nsec instead of usec, as well as:
19964 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19965 members of type struct timespec.
19966 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19967 New macros.
19968 (struct stat64): Likewise.
19969 (_STATBUF_ST_NSEC): New macro.
19970 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19971
19972 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19973 __strtoul_internal rather than strtoul.
19974
19975 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19976
19977 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19978 and reject them.
19979
19980 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19981
19982 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19983 which preserves existing values.
19984 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19985
19986 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19987
19988 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19989 TIMEOUT values. Return EINVAL for NFDS values either negative or
19990 greater than FD_SETSIZE.
19991
19992 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19993
19994 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19995 allocated, call __vm_protect to finish enabling the existing space, and
19996 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19997 allocate the remainder.
19998
19999 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20000
20001 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20002 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20003
20004 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20005
20006 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20007 sysdeps/mach/hurd/readlink.c.
20008
20009 * posix/tst-sysconf.c (posix_options): Only use
20010 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20011 _POSIX_SYNCHRONIZED_IO when they are defined
20012 * sysdeps/mach/hurd/bits/posix_opt.h:
20013 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20014 (_XOPEN_REALTIME): Undefine macro.
20015 (_XOPEN_REALTIME_THREADS): Undefine macro.
20016 (_XOPEN_SHM): Undefine macro.
20017 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20018 macro to -1.
20019 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20020 macro to -1.
20021 (_POSIX_ASYNC_IO): Undefine macro.
20022 (_POSIX_PRIORITIZED_IO): Undefine macro.
20023 (_POSIX_SPIN_LOCKS): Define macro to -1.
20024
20025 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20026 SA_NODEFER, SA_RESETHAND.
20027 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20028 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20029 F_DUPFD_CLOEXEC.
20030
20031 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20032
20033 * elf/Makefile (pldd-modules): Define unconditionally.
20034
20035 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20036
20037 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20038
20039 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20040
20041 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20042 Return ENOENT when name is empty.
20043 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20044
20045 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20046
20047 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20048
20049 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20050
20051 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20052
20053 Fix mlock in all cases except non-readable pages.
20054 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20055 instead of VM_PROT_ALL as parameter to __vm_wire function.
20056
20057 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20058 (__mkdir): When path is `/', just fail with EEXIST.
20059 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20060
20061 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20062
20063 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20064 <sys/uio.h> (for writev).
20065 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20066 and <sys/param.h> (for MIN).
20067
20068 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20069
20070 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20071 REQUESTED_TIME. Properly set the remaining time and return EINTR
20072 if interrupted.
20073
20074 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20075
20076 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20077 Depend on against $(link-rpcuserlibs).
20078
20079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20080
20081 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20082 (__libc_stack_end): Do not use attribute_relro.
20083 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20084 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20085 to libthread-provided value.
20086 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20087 attribute_relro.
20088
20089 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20090
20091 [BZ #3748]
20092 * bits/libc-lock.h (__libc_once_get): New macro.
20093 * sysdeps/mach/bits/libc-lock.h: Likewise.
20094 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20095 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20096 instead of using implementation details.
20097
20098 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20099 * libio/freopen.c: Likewise.
20100 * libio/freopen64.c: Likewise.
20101 * misc/syslog.c: Likewise.
20102 * nscd/connections.c: Likewise.
20103 * nscd/netgroupcache.c: Likewise.
20104 * sysdeps/posix/getcwd.c: Likewise.
20105
20106 2012-05-10 Roland McGrath <roland@hack.frob.com>
20107
20108 * math/w_ilogbf.c: Add #include <limits.h>.
20109
20110 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20111
20112 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20113 path instead of returning without unlocking.
20114
20115 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20116 immediate-write ioctls.
20117 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20118
20119 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20120
20121 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20122 __builtin_frame_address instead of making assumptions about the
20123 location of the return address relative to DATA. Force early load of
20124 the return address.
20125 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20126 __builtin_frame_address.
20127
20128 dup3 for GNU Hurd.
20129 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20130 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20131 implement dup3 and do some further code clean-ups.
20132 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20133 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20134
20135 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20136
20137 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20138
20139 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20140 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20141 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20142 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20143 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20144 d->port.lock.
20145
20146 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20147 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20148 when handler == SIG_ERR, not when handler != SIG_ERR.
20149
20150 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20151
20152 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20153 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20154 definitions.
20155
20156 accept4 for GNU Hurd.
20157 * include/sys/socket.h (__libc_accept4): New prototype.
20158 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20159 to implement __libc_accept4.
20160 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20161 __libc_accept4.
20162 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20163
20164 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20165 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20166 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20167 signal-defines.sym.
20168
20169 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20170
20171 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20172
20173 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
20174
20175 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20176 assertion on O_CLOEXEC flag.
20177 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20178 * hurd/intern-fd.c: Likewise.
20179 * hurd/port2fd.c: Likewise.
20180
20181 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20182
20183 [BZ #3906]
20184 * bits/in.h (IPV6_PKTINFO): Define new macro.
20185 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20186
20187 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20188
20189 [BZ #13954]
20190 [BZ #13955]
20191 [BZ #13956]
20192 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20193 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20194 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20195 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20196 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20197 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20198 * math/libm-test.inc (logb_test) : Additional logb tests.
20199
20200 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20201 Andreas Jaeger <aj@suse.de>
20202
20203 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20204 * configure: Regenerated.
20205 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20206 * config.make.in (link-obsolete-rpc): New substituted variable.
20207 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20208 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20209 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20210 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20211 so that libc.a contains the symbols.
20212 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20213 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20214 * sunrpc/auth_none.c: Likewise.
20215 * sunrpc/auth_unix.c: Likewise.
20216 * sunrpc/authdes_prot.c: Likewise.
20217 * sunrpc/authuxprot.c: Likewise.
20218 * sunrpc/clnt_gen.c: Likewise.
20219 * sunrpc/clnt_perr.c: Likewise.
20220 * sunrpc/clnt_raw.c: Likewise.
20221 * sunrpc/clnt_simp.c: Likewise.
20222 * sunrpc/clnt_tcp.c: Likewise.
20223 * sunrpc/clnt_udp.c: Likewise.
20224 * sunrpc/clnt_unix.c: Likewise.
20225 * sunrpc/des_crypt.c: Likewise.
20226 * sunrpc/des_soft.c: Likewise.
20227 * sunrpc/get_myaddr.c: Likewise.
20228 * sunrpc/key_call.c: Likewise.
20229 * sunrpc/key_prot.c: Likewise.
20230 * sunrpc/netname.c: Likewise.
20231 * sunrpc/pm_getmaps.c: Likewise.
20232 * sunrpc/pm_getport.c: Likewise.
20233 * sunrpc/pmap_clnt.c: Likewise.
20234 * sunrpc/pmap_prot.c: Likewise.
20235 * sunrpc/pmap_prot2.c: Likewise.
20236 * sunrpc/pmap_rmt.c: Likewise.
20237 * sunrpc/publickey.c: Likewise.
20238 * sunrpc/rpc_cmsg.c: Likewise.
20239 * sunrpc/rpc_common.c: Likewise.
20240 * sunrpc/rpc_dtable.c: Likewise.
20241 * sunrpc/rpc_prot.c: Likewise.
20242 * sunrpc/rpc_thread.c: Likewise.
20243 * sunrpc/rtime.c: Likewise.
20244 * sunrpc/svc.c: Likewise.
20245 * sunrpc/svc_auth.c: Likewise.
20246 * sunrpc/svc_raw.c: Likewise.
20247 * sunrpc/svc_run.c: Likewise.
20248 * sunrpc/svc_tcp.c: Likewise.
20249 * sunrpc/svc_udp.c: Likewise.
20250 * sunrpc/svc_unix.c: Likewise.
20251 * sunrpc/svcauth_des.c: Likewise.
20252 * sunrpc/xcrypt.c: Likewise.
20253 * sunrpc/xdr.c: Likewise.
20254 * sunrpc/xdr_array.c: Likewise.
20255 * sunrpc/xdr_float.c: Likewise.
20256 * sunrpc/xdr_intXX_t.c: Likewise.
20257 * sunrpc/xdr_mem.c: Likewise.
20258 * sunrpc/xdr_rec.c: Likewise.
20259 * sunrpc/xdr_ref.c: Likewise.
20260 * sunrpc/xdr_sizeof.c: Likewise.
20261 * sunrpc/xdr_stdio.c: Likewise.
20262
20263 2012-05-10 Roland McGrath <roland@hack.frob.com>
20264
20265 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20266 change. Update copyright years.
20267
20268 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20269
20270 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20271
20272 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20273 Joseph Myers <joseph@codesourcery.com>
20274 Paul Pluzhnikov <ppluzhnikov@google.com>
20275
20276 [BZ #14012]
20277 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20278 requiring rpcgen.
20279 [cross-compiling] (extra-libs): Likewise.
20280 [cross-compiling] (extra-libs-others): Likewise.
20281 [cross-compiling] (librpcsvc-routines): Likewise.
20282 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20283 [cross-compiling] (omit-deps): Likewise.
20284 (sunrpc-CPPFLAGS): New variable.
20285 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20286 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20287 (cross-rpcgen-objs): New variable.
20288 (extra-objs): Append $(cross-rpcgen-objs).
20289 ($(cross-rpcgen-objs)): New rule.
20290 ($(objpfx)cross-rpcgen): Likewise.
20291 (rpcgen-cmd): Define to use $(built-program-file). Expand
20292 comment.
20293 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20294 ($(objpfx)x%.stmp): Likewise.
20295 * sunrpc/proto.h [IS_IN_build] (_): Define.
20296 [IS_IN_build] (_libc_intl_domainname): Likewise.
20297
20298 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20299
20300 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20301 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20302 and R_X86_64_TPOFF64.
20303
20304 2012-05-10 Joseph Myers <joseph@codesourcery.com>
20305
20306 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20307 sysdeps/unix/sysv/syscalls.list.
20308 (stime): Likewise.
20309 (utime): Likewise.
20310 * sysdeps/unix/sysv/syscalls.list: Remove file.
20311
20312 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20313
20314 [BZ #3440]
20315 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20316 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20317 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20318 (__LC_IDENTIFICATION): Make these macros useful in #if
20319 expressions, as required by C99.
20320
20321 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20322
20323 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20324 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20325 after this.
20326
20327 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20328
20329 * stdlib/longlong.h: Updated from GCC.
20330
20331 2012-05-09 Andreas Jaeger <aj@suse.de>
20332
20333 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20334 default is first entry.
20335 (run_mode): Set type.
20336 (main): Remove informal message about syslog.
20337 (options): Fix typo.
20338
20339 [BZ #14053]
20340 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20341 to asm.
20342 (lrint): Likewise.
20343 (llrintf): Likewise.
20344 (llrint): Likewise.
20345 (rint): Likewise.
20346 (rintf): Likewise.
20347 (nearbyint): Likewise.
20348 (nearbyintf): Likewise.
20349
20350 2012-05-09 Andreas Jaeger <aj@suse.de>
20351 Pedro Alves <palves@redhat.com>
20352
20353 * nscd/nscd.c (run_mode): Use enum.
20354 (main): Cleanup coding style issue.
20355
20356 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
20357 Andreas Jaeger <aj@suse.de>
20358
20359 * nscd/nscd.c (go_background): Replaced with...
20360 (run_mode): ... this.
20361 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20362 (options): Add -F --foreground.
20363 (main): Implement it.
20364 (parse_opt): Parse it.
20365
20366 2012-05-09 Andreas Jaeger <aj@suse.de>
20367
20368 [BZ #14083]
20369 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20370 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20371 -Wconversion warning.
20372 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20373 Likewise.
20374
20375 2012-05-09 Joseph Myers <joseph@codesourcery.com>
20376
20377 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20378 == 0.
20379 (LC_ALL): Use macro-int-constant.
20380 (LC_COLLATE): Likewise.
20381 (LC_CTYPE): Likewise.
20382 (LC_MESSAGES): Likewise.
20383 (LC_MONETARY): Likewise.
20384 (LC_NUMERIC): Likewise.
20385 (LC_TIME): Likewise.
20386 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20387 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20388 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20389 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20390 Specify type.
20391 [C99-based standards] (float_t): Expect type.
20392 [C99-based standards] (double_t): Expect type.
20393 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20394 type.
20395 [C99-based standards] (HUGE_VALL): Likewise.
20396 [C99-based standards] (INFINITY): Likewise.
20397 [C99-based standards] (NAN): Likewise.
20398 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20399 [C99-based standards] (FP_NAN): Likewise.
20400 [C99-based standards] (FP_NORMAL): Likewise.
20401 [C99-based standards] (FP_SUBNORMAL): Likewise.
20402 [C99-based standards] (FP_ZERO): Likewise.
20403 [C99-based standards] (FP_FAST_FMA): Use
20404 optional-macro-int-constant. Specify type. Require == 1.
20405 [C99-based standards] (FP_FAST_FMAF): Likewise.
20406 [C99-based standards] (FP_FAST_FMAL): Likewise.
20407 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20408 [C99-based standards] (FP_ILOGBNAN): Likewise.
20409 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20410 Specify type.
20411 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20412 [C99-based standards] (math_errhandling): Specify type.
20413 [ISO99 || ISO11] (signgam): Do not allow.
20414 [non-C99-based standards] (copysignf): Do not allow.
20415 [non-C99-based standards] (exp2f): Likewise.
20416 [non-C99-based standards] (log2f): Likewise.
20417 [non-C99-based standards] (modff): Allow.
20418 [non-C99-based standards] (erff): Do not allow.
20419 [non-C99-based standards] (erfcf): Likewise.
20420 [non-C99-based standards] (gammaf): Likewise.
20421 [non-C99-based standards] (hypotf): Likewise.
20422 [non-C99-based standards] (j0f): Likewise.
20423 [non-C99-based standards] (j1f): Likewise.
20424 [non-C99-based standards] (jnf): Likewise.
20425 [non-C99-based standards] (lgammaf): Likewise.
20426 [non-C99-based standards] (tgammaf): Likewise.
20427 [non-C99-based standards] (y0f): Likewise.
20428 [non-C99-based standards] (y1f): Likewise.
20429 [non-C99-based standards] (ynf): Likewise.
20430 [non-C99-based standards] (isnanf): Likewise.
20431 [non-C99-based standards] (acoshf): Likewise.
20432 [non-C99-based standards] (asinhf): Likewise.
20433 [non-C99-based standards] (atanhf): Likewise.
20434 [non-C99-based standards] (cbrtf): Likewise.
20435 [non-C99-based standards] (expm1f): Likewise.
20436 [non-C99-based standards] (ilogbf): Likewise.
20437 [non-C99-based standards] (log1pf): Likewise.
20438 [non-C99-based standards] (logbf): Likewise.
20439 [non-C99-based standards] (nextafterf): Likewise.
20440 [non-C99-based standards] (remainderf): Likewise.
20441 [non-C99-based standards] (rintf): Likewise.
20442 [non-C99-based standards] (scalbf): Likewise.
20443 [non-C99-based standards] (copysignl): Likewise.
20444 [non-C99-based standards] (exp2l): Likewise.
20445 [non-C99-based standards] (log2l): Likewise.
20446 [non-C99-based standards] (modfl): Allow.
20447 [non-C99-based standards] (erfl): Do not allow.
20448 [non-C99-based standards] (erfcl): Likewise.
20449 [non-C99-based standards] (gammal): Likewise.
20450 [non-C99-based standards] (hypotl): Likewise.
20451 [non-C99-based standards] (j0l): Likewise.
20452 [non-C99-based standards] (j1l): Likewise.
20453 [non-C99-based standards] (jnl): Likewise.
20454 [non-C99-based standards] (lgammal): Likewise.
20455 [non-C99-based standards] (tgammal): Likewise.
20456 [non-C99-based standards] (y0l): Likewise.
20457 [non-C99-based standards] (y1l): Likewise.
20458 [non-C99-based standards] (ynl): Likewise.
20459 [non-C99-based standards] (isnanl): Likewise.
20460 [non-C99-based standards] (acoshl): Likewise.
20461 [non-C99-based standards] (asinhl): Likewise.
20462 [non-C99-based standards] (atanhl): Likewise.
20463 [non-C99-based standards] (cbrtl): Likewise.
20464 [non-C99-based standards] (expm1l): Likewise.
20465 [non-C99-based standards] (ilogbl): Likewise.
20466 [non-C99-based standards] (log1pl): Likewise.
20467 [non-C99-based standards] (logbl): Likewise.
20468 [non-C99-based standards] (nextafterl): Likewise.
20469 [non-C99-based standards] (remainderl): Likewise.
20470 [non-C99-based standards] (rintl): Likewise.
20471 [non-C99-based standards] (scalbl): Likewise.
20472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20473 [non-C99-based standards] (FP_*): Do not allow.
20474 [C99-based standards] (FP_*): Change to
20475 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20476 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20477 allow.
20478 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20479 (SIG_ERR): Likewise.
20480 [X/Open-based standards] (SIG_HOLD): Likewise.
20481 (SIG_IGN): Likewise.
20482 (SIGABRT): Use macro-int-constant. Specify type. Require
20483 positive value.
20484 (SIGFPE): Likewise.
20485 (SIGILL): Likewise.
20486 (SIGINT): Likewise.
20487 (SIGSEGV): Likewise.
20488 (SIGTER): Likewise.
20489 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20490 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20491 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20492 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20493 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20494 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20495 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20496 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20497 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20498 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20499 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20500 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20501 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20502 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20503 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20504 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20505 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20506 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20507 [X/Open-based standards] (SIGTRAP): Likewise.
20508 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20509 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20510 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20511 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20512 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20513 allow.
20514
20515 2012-05-08 Ian Wienand <ianw@vmware.com>
20516
20517 [BZ #14080]
20518 * time/tzset.c (__tzset_parse_tz): Update default rules for
20519 daylight time changes in the Energy Policy Act of 2005.
20520
20521 2012-05-09 Andreas Jaeger <aj@suse.de>
20522
20523 [BZ #13983]
20524 * elf/ldconfig.c (parse_conf): Change string to make clear that
20525 ldconfig only issued a warning if ld.so.conf does not exist.
20526
20527 2012-05-08 David S. Miller <davem@davemloft.net>
20528
20529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20530 movxtod instead of popping the value on the stack.
20531
20532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20533
20534 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20535
20536 * config.h.in: Add HAVE_ARM_PCS_VFP.
20537
20538 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
20539
20540 [BZ #13979]
20541 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20542 checking but the checks are disabled for any reason.
20543
20544 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20545
20546 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20547 and ELF64_R_TYPE with ELFW(R_TYPE).
20548
20549 2012-05-08 Joseph Myers <joseph@codesourcery.com>
20550
20551 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20552 (ulimit): Likewise.
20553
20554 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20555 (settimeofday): Likewise.
20556
20557 2012-05-08 Mike Frysinger <vapier@gentoo.org>
20558
20559 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20560 a struct th_u2 inside the union, and move tu_block/tu_code into
20561 a new th_u3 union of tu_block/tu_code inside of that. Move
20562 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20563 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20564 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20565 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20566 (th_stuff): Change to th_u1.tu_stuff.
20567 (th_data): Define.
20568 (th_msg): Change to th_u1.th_u2.tu_data.
20569
20570 2012-05-07 David S. Miller <davem@davemloft.net>
20571
20572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20573
20574 [BZ #14074]
20575 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20576 (SETUP_PIC_REG): Use it.
20577 (SETUP_PIC_REG_LEAF): Use it.
20578
20579 2012-05-07 Joseph Myers <joseph@codesourcery.com>
20580
20581 [BZ #13885]
20582 [BZ #13923]
20583 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20584 USE_AS_EXPM1L.
20585 (EXPL_FINITE): Likewise.
20586 (FLDLOG): Likewise.
20587 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20588 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20589 e_expl.S.
20590 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20591 USE_AS_EXPM1L.
20592 (EXPL_FINITE): Likewise.
20593 (FLDLOG): Likewise.
20594 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20595 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20596 e_expl.S.
20597 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20598 test of -max_value argument for long double.
20599 * sysdeps/i386/fpu/libm-test-ulps: Update.
20600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20601
20602 2012-05-06 David S. Miller <davem@davemloft.net>
20603
20604 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20605 quad soft-float symbols whose references which are compiler
20606 generated.
20607 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20608
20609 2012-05-06 Joseph Myers <joseph@codesourcery.com>
20610
20611 [BZ #13884]
20612 [BZ #13914]
20613 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20614 USE_AS_EXP10L.
20615 (EXPL_FINITE): Likewise.
20616 (FLDLOG): Likewise.
20617 (c0): Likewise.
20618 (c1): Likewise.
20619 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20620 Adjust comments for base varying.
20621 (__expl_finite): Change alias to EXPL_FINITE.
20622 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20623 e_expl.S.
20624 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20625 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20626 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20627 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20628 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20629 USE_AS_EXP10L.
20630 (EXPL_FINITE): Likewise.
20631 (FLDLOG): Likewise.
20632 (c0): Likewise.
20633 (c1): Likewise.
20634 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20635 Adjust comments for base varying.
20636 (__expl_finite): Change alias to EXPL_FINITE.
20637 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20638 tests for bugs.
20639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20640
20641 [BZ #14064]
20642 * math/libm-test.inc (check_float_internal): Correct ulp
20643 calculation for subnormal expected results.
20644
20645 2012-05-06 Andreas Jaeger <aj@suse.de>
20646
20647 * Makeconfig (+math-flags): New, set to -frounding-math.
20648 (+cflags): Add +math-flags so that all of glibc gets compiled with
20649 it.
20650
20651 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20652
20653 2012-05-05 Joseph Myers <joseph@codesourcery.com>
20654
20655 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20656 Disable one test.
20657
20658 [BZ #13787]
20659 [BZ #13922]
20660 [BZ #14036]
20661 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20662 (__ieee754_expl): Allow for and saturate large arguments.
20663 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20664 (u_threshold): Likewise.
20665 (__exp): Call __ieee754_exp before checking for overflow and
20666 underflow.
20667 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20668 (u_threshold): Likewise.
20669 (__expf): Call __ieee754_expf before checking for overflow and
20670 underflow.
20671 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20672 (u_threshold): Likewise.
20673 (__expl): Call __ieee754_expl before checking for overflow and
20674 underflow.
20675 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20676 (__ieee754_expl): Allow for and saturate large arguments.
20677 * math/libm-test.inc (exp_test): Add another test. Do not allow
20678 missing overflow exception on overflow.
20679 (expm1_test): Do not allow missing overflow exception on overflow.
20680
20681 * sysdeps/i386/fpu/e_expl.c: Move to ...
20682 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20683 rather than using inline asm.
20684 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20685 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20686 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20687
20688 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20689 (nice): Likewise.
20690 (poll): Likewise.
20691 (signal): Likewise.
20692 (time): Likewise.
20693 (times): Likewise.
20694
20695 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20696
20697 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20698 sysdeps/unix/common/syscalls.list.
20699 (fchmod): Likewise.
20700 (fchown): Likewise.
20701 (ftruncate): Likewise.
20702 (getrusage): Likewise.
20703 (gettimeofday): Likewise.
20704 (setpgid): Likewise.
20705 (setregid): Likewise.
20706 (setreuid): Likewise.
20707 (sigaction): Likewise.
20708 (truncate): Likewise.
20709 (vhangup): Likewise.
20710 * sysdeps/unix/common/syscalls.list: Remove file.
20711 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20712 * sysdeps/unix/sysv/linux/Implies: Likewise.
20713
20714 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20715
20716 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20718 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20719 Moved to ...
20720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20721 Here.
20722 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20723 to ...
20724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20725 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20726 to ...
20727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20728 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20729 to ...
20730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20731 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20732 to ...
20733 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20734 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20735 to ...
20736 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20737 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20738 to ...
20739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20740 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20741 to ...
20742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20743 Here.
20744 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20745 to ...
20746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20747 Here.
20748 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20749 to ...
20750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20751 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20752 Moved to ...
20753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20754 Here.
20755 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20756 to ...
20757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20758
20759 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20760
20761 * sysdeps/unix/common/bits/dirent.h: Remove file.
20762 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20763
20764 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20765 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20766 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20767 * sysdeps/unix/bsd/isatty.c: Likewise.
20768 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20769 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20770 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20771
20772 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20773
20774 [BZ #13563]
20775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20776 long double comparison inaccuracies.
20777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20779
20780 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20781
20782 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20784
20785 2012-05-04 Joseph Myers <joseph@codesourcery.com>
20786
20787 [BZ #14049]
20788 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20789 nonzero digits before rounding a hex value.
20790 * stdlib/tst-strtod.c (tests): Add another test.
20791
20792 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20793
20794 * sysdeps/s390/fpu/libm-test-ulps: Update.
20795
20796 2012-05-03 Andreas Jaeger <aj@suse.de>
20797
20798 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20799 does not get optimized out.
20800 (malloc_opt_barrier): New.
20801
20802 2012-05-03 Andreas Jaeger <aj@suse.de>
20803 Roland McGrath <roland@hack.frob.com>
20804
20805 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20806 intermediate file deletion.
20807 (generated): Add .symlist files.
20808
20809 2012-05-03 Joseph Myers <joseph@codesourcery.com>
20810
20811 [BZ #13775]
20812 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20813 Redirect under this condition.
20814 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20815 [__USE_GNU] (__dprintf_chk): Not under this condition.
20816 [__USE_GNU] (__vdprintf_chk): Likewise.
20817 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20818 under this condition.
20819 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20820 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20821 [__USE_XOPEN2K8] (vdprintf): Likewise.
20822 [__USE_GNU] (__dprintf_chk): Not under this condition.
20823 [__USE_GNU] (__vdprintf_chk): Likewise.
20824 [__USE_GNU] (dprintf): Likewise.
20825 [__USE_GNU] (vdprintf): Likewise.
20826
20827 2012-05-03 Roland McGrath <roland@hack.frob.com>
20828
20829 * elf/Makefile (common-generated): Set this instead of generated for
20830 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20831 $(all-built-dso)-derived lists.
20832
20833 2012-05-03 Andreas Jaeger <aj@suse.de>
20834
20835 * sysdeps/i386/fpu/libm-test-ulps: Update.
20836
20837 * FAQ: Removed.
20838 * FAQ.in: Likewise.
20839 * scripts/gen-FAQ.pl: Likewise.
20840 * manual/install.texi (Installation): Point to online location of
20841 FAQ.
20842 * Makefile (files-for-dist): Remove FAQ.
20843 (FAQ): Remove.
20844
20845 2012-05-02 Allan McRae <allan@archlinux.org>
20846
20847 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20848 (LDFLAGS-reldepmod5.so): Likewise.
20849 (LDFLAGS-reldep6mod1.so): Likewise.
20850 (LDFLAGS-reldep6mod4.so): Likewise.
20851 (LDFLAGS-reldep8mod3.so): Likewise.
20852 (LDFLAGS-unload4mod1.so): Likewise.
20853 (LDFLAGS-unload4mod2.so): Likewise.
20854 (LDFLAGS-tst-initorder): Likewise.
20855 (LDFLAGS-tst-initordera2.so): Likewise.
20856 (LDFLAGS-tst-initordera3.so): Likewise.
20857 (LDFLAGS-tst-initordera4.so): Likewise.
20858 (LDFLAGS-tst-initorderb2.so): Likewise.
20859 (LDFLAGS-noload): Likewise.
20860 (LDFLAGS-next): Likewise.
20861 (LDFLAGS-order2mod1.so): Likewise.
20862 (LDFLAGS-order2mod2.so): Likewise.
20863 (LDFLAGS-tst-initorder2): Likewise.
20864 (LDFLAGS-tst-initorder2a.so): Likewise.
20865 (LDFLAGS-tst-initorder2b.so): Likewise.
20866 (LDFLAGS-tst-initorder2c.so): Likewise.
20867 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20868
20869 2012-05-02 David S. Miller <davem@davemloft.net>
20870
20871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20872
20873 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20874
20875 [BZ #14055]
20876 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20877
20878 2012-05-02 Andreas Jaeger <aj@suse.de>
20879
20880 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20881 since we manipulate rounding mode.
20882 (CPPFLAGS-test-idouble.c): Likewise.
20883 (CPPFLAGS-test-ifloat.c): Likewise.
20884 (CFLAGS-test-ldouble.c): Likewise.
20885 (CFLAGS-test-double.c): Likewise.
20886 (CFLAGS-test-float.c): Likewise.
20887 (CFLAGS-test-misc.c): Likewise.
20888 (CFLAGS-test-test-fenv.c): Likewise.
20889
20890 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20891
20892 [BZ #2550]
20893 [BZ #2570]
20894 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20895 comparisons to determine direction to adjust input.
20896
20897 2012-05-01 Roland McGrath <roland@hack.frob.com>
20898
20899 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20900 output to the target.
20901
20902 * scripts/localplt.awk: New file.
20903 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20904 (check-localplt-CFLAGS): Variable removed.
20905 ($(all-built-dso:=.jmprel)): New static pattern rule.
20906 (generated): Add those targets.
20907 (localplt-built-dso): New variable.
20908 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20909
20910 * elf/check-localplt.c: File removed.
20911
20912 * scripts/check-execstack.awk: New file.
20913 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20914 (check-execstack-CFLAGS): Variable removed.
20915 ($(objpfx)check-execstack.h): Target removed.
20916 ($(objpfx)execstack-default): New target.
20917 (generated): Add that instead of check-execstack.h.
20918 ($(all-built-dso:=.phdr)): New static pattern rule.
20919 (generated): Add those targets.
20920 * elf/check-execstack.c: File removed.
20921
20922 * scripts/check-textrel.awk: New file.
20923 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20924 (check-textrel-CFLAGS): Variable removed.
20925 (all-built-dso): Use := to define.o
20926 ($(all-built-dso:=.dyn)): New static pattern rule.
20927 (generated): Add those targets.
20928 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20929 * config.make.in (READELF): New substituted variable.
20930 * elf/check-textrel.c: File removed.
20931
20932 2012-05-01 Joseph Myers <joseph@codesourcery.com>
20933
20934 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20935 allow.
20936 * conform/data/ctype.h-data [C99-based standards] (isblank):
20937 Expect function.
20938 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20939 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20941 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20942 Specify type. Require positive value.
20943 (EILSEQ): Likewise.
20944 (ERANGE): Likewise.
20945 [ISO || POSIX] (EILSEQ): Do not expect.
20946 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20947 Specify type. Require positive value.
20948 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20949 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20950 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20951 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20952 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20953 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20954 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20955 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20956 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20957 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20958 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20959 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20960 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20961 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20962 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20963 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20964 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20965 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20966 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20967 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20968 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20969 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20970 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20971 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20972 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20973 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20974 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20975 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20976 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20977 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20978 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20979 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20980 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20981 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20982 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20983 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20984 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20985 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20986 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20987 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20988 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20989 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20990 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20991 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20992 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20993 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20994 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20995 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20996 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20997 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20998 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20999 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21000 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21001 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21002 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21003 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21004 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21005 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21006 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21007 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21008 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21009 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21010 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21011 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21012 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21013 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21014 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21015 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21016 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21017 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21018 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21019 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21020 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21021 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21022 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21023 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21024 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21025 Require >= 2.
21026 (FLT_ROUNDS): Expect as macro, not constant.
21027 (FLT_MANT_DIG): Use macro-int-constant.
21028 (DBL_MANT_DIG): Likewise.
21029 (LDBL_MANT_DIG): Likewise.
21030 (FLT_DIG): Likewise.
21031 (DBL_DIG): Likewise.
21032 (LDBL_DIG): Likewise.
21033 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21034 (DBL_MIN_EXP): Likewise.
21035 (LDBL_MIN_EXP): Likewise.
21036 (FLT_MAX_EXP): Use macro-int-constant.
21037 (DBL_MAX_EXP): Likewise.
21038 (LDBL_MAX_EXP): Likewise.
21039 (FLT_MAX_10_EXP): Likewise.
21040 (DBL_MAX_10_EXP): Likewise.
21041 (LDBL_MAX_10_EXP): Likewise.
21042 (FLT_MAX): Use macro-constant.
21043 (DBL_MAX): Likewise.
21044 (LDBL_MAX): Likewise.
21045 (FLT_EPSILON): Use macro-constant. Give upper bound.
21046 (DBL_EPSILON): Likewise.
21047 (LDBL_EPSILON): Likewise.
21048 (FLT_MIN): Likewise.
21049 (DBL_MIN): Likewise.
21050 (LDBL_MIN): Likewise.
21051 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21052 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21053 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21054 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21055 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21056 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21057 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21058 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21059 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21060 [ISO11] (FLT_TRUE_MIN): Likewise.
21061 [ISO11] (LDBL_TRUE_MIN): Likewise.
21062 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21063 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21064 (SCHAR_MIN): Use macro-int-constant. Specify type.
21065 (SCHAR_MAX): Likewise.
21066 (UCHAR_MAX): Likewise.
21067 (CHAR_MIN): Likewise.
21068 (CHAR_MAX): Likewise.
21069 (MB_LEN_MAX): Use macro-int-constant.
21070 (SHRT_MIN): Use macro-int-constant. Specify type.
21071 (SHRT_MAX): Likewise.
21072 (USHRT_MAX): Likewise.
21073 (INT_MAX): Likewise.
21074 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21075 bound negative.
21076 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21077 bound with "U".
21078 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21079 bound with "L".
21080 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21081 bound negative. Suffix upper bound with "L".
21082 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21083 bound with "UL".
21084 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21085 Specify type.
21086 [C99-based standards] (LLONG_MAX): Likewise.
21087 [C99-based standards] (ULLONG_MAX): Likewise.
21088 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21089 == 0.
21090 [ISO11] (max_align_t): Require type.
21091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21092
21093 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21094 from $CFLAGS, without defining away __attribute__ calls.
21095 (checknamespace): Use $CFLAGS_namespace.
21096
21097 * conform/conformtest.pl (@keywords): Only include C99 keywords
21098 for standards based on C99 or C11.
21099
21100 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21101 Disable tests.
21102 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21103 UNIX98]: Likewise.
21104
21105 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21106 usability of symbols in #if.
21107
21108 * conform/conformtest.pl: If macro or constant types start
21109 "promoted:", expect the symbol to be of the following type
21110 promoted by the integer promotions.
21111
21112 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21113 in one place. Also handle "macro-constant".
21114
21115 * conform/conformtest.pl: Only accept expected macro values with
21116 "==". Parse all "macro" lines in one place.
21117 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21118
21119 * conform/conformtest.pl: Handle braced types on "constant" lines
21120 instead of handling "typed-constant".
21121 * conform/data/signal.h-data: Use "constant" instead of
21122 "typed-constant".
21123
21124 * conform/conformtest.pl: Handle "optional-" at start of lines in
21125 one place rather than duplicating several cases. Handle each
21126 format of "macro" line with initial "optional-".
21127
21128 * conform/conformtest.pl: Only accept expected constant or
21129 optional-constant values with "==". Parse all "constant" lines in
21130 one place. Parse all "optional-constant" lines in one place.
21131 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21132 * conform/data/fmtmsg.h-data: Likewise.
21133 * conform/data/netinet/in.h-data: Likewise.
21134 * conform/data/tar.h-data: Likewise.
21135 * conform/data/limits.h-data: Use "==" form on "constant" and
21136 "optional-constant" lines.
21137
21138 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21139 Use -std=c99 for XOPEN2K.
21140 (@knownproblems): Remove.
21141 (newtoken): Don't check %isknown.
21142
21143 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21144 Do not expect macro.
21145 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21146 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21147 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21148 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21149 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21150 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21151 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21152 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21153 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21154 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21155 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21156 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21157 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21158 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21159 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21160 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21161 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21162 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21163 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21164 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21165 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21166 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21167 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21168 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21169 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21170 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21171 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21172 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21173 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21174 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21175 [XPG3] (acosh): Likewise.
21176 [XPG3] (asinh): Likewise.
21177 [XPG3] (atanh): Likewise.
21178 [XPG3] (cbrt): Likewise.
21179 [XPG3] (expm1): Likewise.
21180 [XPG3] (ilogb): Likewise.
21181 [XPG3] (log1p): Likewise.
21182 [XPG3] (logb): Likewise.
21183 [XPG3] (nextafter): Likewise.
21184 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21185 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21186 [XPG3] (remainder): Likewise.
21187 [XPG3] (rint): Likewise.
21188 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21189 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21190 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21191 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21192 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21193 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21194 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21195 [UNIX98 || XOPEN2K] (scalb): Expect.
21196 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21197 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21198 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21199 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21200 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21201 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21202 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21203 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21204 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21205 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21206 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21207 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21208 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21209 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21210 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21211 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21212 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21213 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21214 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21215 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21216 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21217 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21218 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21219 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21220 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21221 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21222 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21223 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21224 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21225 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21226 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21227 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21228 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21229 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21230 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21231 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21232 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21233 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21234 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21235 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21236 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21237 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21238 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21239 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21240 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21241 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21242 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21243 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21244 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21245 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21246 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21247 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21248 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21249 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21250 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21251 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21252 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21253 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21254 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21255 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21256 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21257 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21258 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21259 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21260 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21261 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21262 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21263 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21264 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21265 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21266 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21267 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21268 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21269 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21270 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21271 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21272 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21273 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21274 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21275 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21276 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21277 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21278 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21279 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21280 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21281 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21282 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21283 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21284 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21285 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21286 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21287 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21288 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21289 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21290 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21291 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21292 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21293 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21294 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21295 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21296 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21297 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21298 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21299 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21300 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21301 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21302 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21303 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21304 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21305 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21306 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21307 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21308 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21309 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21310 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21311 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21312 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21313 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21314 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21315 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21316 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21317 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21318 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21319 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21320 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21321 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21322 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21323 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21324 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21325 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21326 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21327 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21328 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21329 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21330 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21331 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21332 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21333
21334 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21335 _XOPEN_SOURCE_EXTENDED for XPG4.
21336
21337 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21338
21339 * Makeconfig (localtime): Remove variable.
21340 (inst_localtime-file): Likewise.
21341
21342 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21343
21344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21345 Update.
21346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21347 Update.
21348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21349 Update.
21350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21351 Update.
21352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21353 Update.
21354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21355 Update.
21356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21357 Update.
21358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21359 Update.
21360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21361 Update.
21362
21363 2012-05-01 Joseph Myers <joseph@codesourcery.com>
21364
21365 [BZ #2550]
21366 [BZ #2570]
21367 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21368 comparisons to determine direction to adjust input.
21369 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21370 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21371 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21372 Likewise.
21373 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21374 Likewise.
21375 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21376 Likewise.
21377 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21378 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21379 Likewise.
21380 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21381 Likewise.
21382 * math/libm-test.inc (nexttoward_test): Add more tests.
21383
21384 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21385
21386 [BZ #14040]
21387 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21388 in version GLIBC_2.1, not GLIBC_2.0.
21389 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21390 Likewise.
21391
21392 2012-04-30 Joseph Myers <joseph@codesourcery.com>
21393
21394 [BZ #13942]
21395 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21396 (1 - x) * (1 + x).
21397 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21398 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21399 * math/libm-test.inc (acos_test): Add more tests.
21400 (asin_test): Likewise.
21401 * sysdeps/i386/fpu/libm-test-ulps: Update.
21402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21403
21404 [BZ #14034]
21405 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21406 of square root.
21407 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21408 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21409 * math/libm-test.inc (acos_test_tonearest): New function.
21410 (acos_test_towardzero): Likewise.
21411 (acos_test_downward): Likewise.
21412 (acos_test_upward): Likewise.
21413 (asin_test_tonearest): Likewise.
21414 (asin_test_towardzero): Likewise.
21415 (asin_test_downward): Likewise.
21416 (asin_test_upward): Likewise.
21417 (main): Call the new functions.
21418 * sysdeps/i386/fpu/libm-test-ulps: Update.
21419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21420
21421 [BZ #13884]
21422 [BZ #13924]
21423 * math/e_exp10.c: Include <float.h>.
21424 (__ieee754_exp10): Handle underflow here rather than multiplying
21425 large negative argument by M_LN10.
21426 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21427 of __ieee754_expf.
21428 * math/e_exp10l.c: Include <float.h>.
21429 (__ieee754_exp10l): Handle underflow here rather than multiplying
21430 large negative argument by M_LN10l.
21431 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21432 spurious overflow exception on underflow.
21433
21434 2012-04-29 Marek Polacek <polacek@redhat.com>
21435
21436 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21437 (__fortify_function): New macro.
21438 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21439 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21440 __extern_always_inline.
21441 * libio/bits/stdio2.h: Likewise.
21442 * libio/bits/stdio.h: Likewise.
21443 * string/string.h: Likewise.
21444 * string/bits/string3.h: Likewise.
21445 * include/stdio.h: Likewise.
21446 * stdlib/bits/stdlib.h: Likewise.
21447 * stdlib/stdlib.h: Likewise.
21448 * rt/bits/mqueue2.h: Likewise.
21449 * rt/mqueue.h: Likewise.
21450 * posix/bits/unistd.h: Likewise.
21451 * posix/unistd.h: Likewise.
21452 * io/bits/poll2.h: Likewise.
21453 * io/bits/fcntl2.h: Likewise.
21454 * io/fcntl.h: Likewise.
21455 * io/sys/poll.h: Likewise.
21456 * misc/bits/syslog.h: Likewise.
21457 * misc/bits/syslog-ldbl.h: Likewise.
21458 * misc/sys/syslog.h: Likewise.
21459 * socket/bits/socket2.h: Likewise.
21460 * socket/sys/socket.h: Likewise.
21461 * debug/tst-chk1.c: Likewise.
21462 * wcsmbs/bits/wchar2.h: Likewise.
21463 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21464 * wcsmbs/wchar.h: Likewise.
21465
21466 2012-04-29 Andreas Jaeger <aj@suse.de>
21467
21468 * Makerules (tests): Remove enable-check-abi protection.
21469 (check-abi-warn): Remove.
21470 (check-abi-%): Remove check-abi-warn usage.
21471
21472 * configure.in: Remove check-abi configure option.
21473 * configure: Regenerated.
21474 * config.make.in (enable-check-abi): Remove.
21475
21476 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21477
21478 [BZ #14033]
21479 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21480 double functions to double *_finite functions.
21481
21482 [BZ #13941]
21483 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21484 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21485 LDBL_MIN_EXP.
21486 * stdio-common/Makefile (tests): Add tst-sprintf3.
21487 * stdio-common/tst-sprintf3.c: New file.
21488
21489 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21490 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21491
21492 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21493
21494 * conform/conformtest.pl: Remove duplicate typed-constant
21495 handling.
21496
21497 2012-04-28 David S. Miller <davem@davemloft.net>
21498
21499 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21500 (check-abi-%): Remove AWK script prerequisite and explicit
21501 abilist directory.
21502 (check-abi): Rewrite to just diff the symlist with the abilist.
21503 (config-tls, config-abi-config): Delete, no longer used.
21504 (update-abi-%): Remove AWK script and explicit abilist directory.
21505 (update-abi): Rewrite to simply compare and conditionally copy the
21506 symlist and the sysdep abilist file. Remove update-abi-config
21507 checks.
21508 * abilist/ld.abilist: Remove.
21509 * abilist/libBrokenLocale.abilist: Remove.
21510 * abilist/libanl.abilist: Remove.
21511 * abilist/libcrypt.abilist: Remove.
21512 * abilist/libdl.abilist: Remove.
21513 * abilist/librt.abilist: Remove.
21514 * abilist/libthread_db.abilist: Remove.
21515 * abilist/libutil.abilist: Remove.
21516 * scripts/extract-abilist.awk: Remove.
21517 * scripts/merge-abilist.awk: Remove.
21518 * sysdeps/generic/libcidn.abilist: New file.
21519 * sysdeps/generic/libnss_compat.abilist: New file.
21520 * sysdeps/generic/libnss_db.abilist: New file.
21521 * sysdeps/generic/libnss_dns.abilist: New file.
21522 * sysdeps/generic/libnss_files.abilist: New file.
21523 * sysdeps/generic/libnss_hesiod.abilist: New file.
21524 * sysdeps/generic/libnss_nis.abilist: New file.
21525 * sysdeps/generic/libnss_nisplus.abilist: New file.
21526 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21527 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21528 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21529 file.
21530 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21531 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21532 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21533 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21534 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21535 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21536 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21537 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21538 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21539 file.
21540 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21541 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21542 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21543 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21544 file.
21545 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21546 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21547 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21548 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21549 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21550 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21551 file.
21552 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21553 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21554 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21555 file.
21556 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21557 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21558 New file.
21559 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21560 New file.
21561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21562 New file.
21563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21564 New file.
21565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21566 New file.
21567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21568 New file.
21569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21570 New file.
21571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21572 New file.
21573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21574 New file.
21575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21576 New file.
21577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21578 New file.
21579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21580 New file.
21581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21582 New file.
21583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21584 file.
21585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21586 New file.
21587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21588 New file.
21589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21590 file.
21591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21592 New file.
21593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21594 New file.
21595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21596 file.
21597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21598 New file.
21599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21600 New file.
21601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21602 New file.
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21604 New file.
21605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21606 New file.
21607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21608 New file.
21609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21611 file.
21612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21613 New file.
21614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21615 file.
21616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21617 file.
21618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21619 file.
21620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21621 file.
21622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21623 file.
21624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21625 New file.
21626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21627 file.
21628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21629 file.
21630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21631 New file.
21632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21633 file.
21634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21636 file.
21637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21638 New file.
21639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21640 file.
21641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21642 file.
21643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21644 file.
21645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21646 file.
21647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21648 file.
21649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21650 New file.
21651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21652 file.
21653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21654 file.
21655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21656 New file.
21657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21658 file.
21659 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21660 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21661 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21662 file.
21663 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21664 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21665 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21666 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21667 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21668 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21669 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21670 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21671 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21672 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21674 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21675 file.
21676 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21677 New file.
21678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21679 file.
21680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21681 file.
21682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21683 file.
21684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21685 file.
21686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21687 file.
21688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21689 New file.
21690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21691 New file.
21692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21693 file.
21694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21695 New file.
21696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21697 file.
21698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21699 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21700 file.
21701 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21702 New file.
21703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21704 file.
21705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21706 file.
21707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21708 file.
21709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21710 file.
21711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21712 file.
21713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21714 New file.
21715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21716 New file.
21717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21718 file.
21719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21720 New file.
21721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21722 file.
21723
21724 2012-04-28 Joseph Myers <joseph@codesourcery.com>
21725
21726 * conform/conformtest.pl: Fix typo in handling typed-constant from
21727 allow-header.
21728
21729 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21730
21731 * README: Cut down references to pre-2.6 Linux kernels and
21732 Linuxthreads. Update lists of configurations in libc and ports
21733 and sort alphabetically. Say "or newer" with Linux kernel version
21734 requirements.
21735
21736 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21737
21738 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21739
21740 [BZ #887]
21741 * math/libm-test.inc (logb_test_downward): New test to expose
21742 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21743 rounding mode.
21744
21745 2012-04-27 Joseph Myers <joseph@codesourcery.com>
21746
21747 [BZ #14027]
21748 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21749 to be done.
21750 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21751 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21752
21753 2012-04-26 Joseph Myers <joseph@codesourcery.com>
21754
21755 * sysdeps/unix/i386/brk.S: Remove file.
21756 * sysdeps/unix/i386/dl-brk.S: Likewise.
21757 * sysdeps/unix/i386/pipe.S: Likewise.
21758 * sysdeps/unix/i386/sigreturn.S: Likewise.
21759 * sysdeps/unix/i386/syscall.S: Likewise.
21760 * sysdeps/unix/i386/vfork.S: Likewise.
21761 * sysdeps/unix/i386/wait.S: Likewise.
21762
21763 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21764 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21765
21766 * configure.in (arm*-none*): Do not allow without
21767 --enable-hacker-mode.
21768 (netbsd*): Remove case setting base_os.
21769 (386bsd*): Likewise.
21770 (freebsd*): Likewise.
21771 (bsdi*): Likewise.
21772 (osf*): Likewise.
21773 (sunos*): Likewise.
21774 (ultrix*): Likewise.
21775 (newsos*): Likewise.
21776 (dynix*): Likewise.
21777 (*bsd*): Likewise.
21778 (sysv*): Likewise.
21779 (isc*): Likewise.
21780 (esix*): Likewise.
21781 (sco*): Likewise.
21782 (minix*): Likewise.
21783 (irix4*): Likewise.
21784 (irix6*): Likewise.
21785 (solaris[2-9]*): Likewise.
21786 (none): Likewise.
21787 * configure: Regenerated.
21788
21789 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21790
21791 [BZ #11521]
21792 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21793 overflow or cancellation in calculating denominator.
21794 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21795 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21796 down expression to avoid unexpected rounding in newer GCCs.
21797 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21798
21799 2012-04-26 David S. Miller <davem@davemloft.net>
21800
21801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21802 long-double compat symbols.
21803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21816
21817 2012-04-25 David S. Miller <davem@davemloft.net>
21818
21819 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21820 HWCAP_* values only after the memory barriers have been defined.
21821 (atomic_full_barrier): Define.
21822 (atomic_read_barrier): Define.
21823 (atomic_write_barrier): Define.
21824
21825 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21826
21827 * shlib-versions: Add libgcc_s version information.
21828 * sysdeps/generic/libgcc_s.h: Remove.
21829 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21830 libgcc_s.h.
21831 * sysdeps/gnu/unwind-resume.c: Likewise.
21832 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21833
21834 2012-04-25 David S. Miller <davem@davemloft.net>
21835
21836 * sysdeps/unix/sparc/brk.S: Delete.
21837 * sysdeps/unix/sparc/dl-brk.S: Delete.
21838 * sysdeps/unix/sparc/pipe.S: Delete.
21839 * sysdeps/unix/sparc/sysdep.S: Delete.
21840 * sysdeps/unix/sparc/sysdep.h: Delete.
21841 * sysdeps/unix/sparc/vfork.S: Delete.
21842 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21843 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21844 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21845 ret_ERRVAL, r0, r1, MOVE): Define.
21846 (JUMPTARGET): Remove.
21847 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21848 sysdeps/unix/sparc/sysdep.h
21849 (ENTRY, END): Remove.
21850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21851
21852 2012-04-25 Joseph Myers <joseph@codesourcery.com>
21853
21854 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21855 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21856 -DIS_IN_build.
21857
21858 * timezone/README: Update upstream location and email address for
21859 tzcode and tzdata.
21860 * timezone/zdump.c: Update from tzcode 2012b.
21861 * timezone/zic.c: Likewise.
21862
21863 * configure.in (libc_cv_as_needed): Remove test.
21864 * configure: Regenerated.
21865 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21866 conditional definition.
21867 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21868 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21869 * config.make.in (have-as-needed): Remove variable.
21870
21871 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21872 Paul Pluzhnikov <ppluzhnikov@google.com>
21873
21874 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21875 strings correctly.
21876
21877 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21878
21879 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21880 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21881 * sysdeps/sh/strlen.S: Likewise.
21882
21883 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21884
21885 * sysdeps/unix/fork.S: Remove file.
21886 * sysdeps/unix/i386/fork.S: Likewise.
21887 * sysdeps/unix/sparc/fork.S: Likewise.
21888
21889 * sysdeps/unix/system.c: Remove file.
21890 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21891
21892 * sysdeps/unix/getegid.S: Remove file.
21893 * sysdeps/unix/geteuid.S: Likewise.
21894
21895 2012-04-24 Roland McGrath <roland@hack.frob.com>
21896
21897 * scripts/check-localplt.awk: New file.
21898 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21899 of diff.
21900 * scripts/data/localplt-generic.data: Add a comment.
21901
21902 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21903 NODE when __dir_mkfile failed.
21904 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21905 Reported by Ludovic Courtès <ludo@gnu.org>.
21906
21907 2012-04-24 Andreas Jaeger <aj@suse.de>
21908
21909 * Makerules (common-clean): Also remove gen-as-const-headers
21910 files.
21911
21912 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21913
21914 * Makerules (native-compile): Do not change working directory for
21915 build. Use $(OUTPUT_OPTION) in command.
21916 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21917
21918 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21919
21920 [BZ #13886]
21921 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21922 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21923 * math/libm-test.inc (floor_test): Add more tests.
21924 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21925
21926 2012-04-24 Joseph Myers <joseph@codesourcery.com>
21927
21928 * sysdeps/unix/getdents.c: Remove file.
21929 * sysdeps/unix/sysv/getdents.c: Likewise.
21930 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21931
21932 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21933 sysdeps/unix/mman/syscalls.list.
21934 (mmap): Likewise.
21935 (mprotect): Likewise.
21936 (msync): Likewise.
21937 (munmap): Likewise.
21938 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21939 * sysdeps/unix/mman/syscalls.list: Remove.
21940 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21941
21942 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21943 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21944 * configure: Regenerated.
21945 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21946 $(libgcc_s_suffix).
21947 * config.make.in (libgcc_s_suffix): Remove variable.
21948
21949 2012-04-23 Joseph Myers <joseph@codesourcery.com>
21950
21951 * sysdeps/unix/sysv/gethostname.c: Move to ...
21952 * sysdeps/posix/gethostname.c: ... here.
21953
21954 * sysdeps/unix/execve.S: Remove file.
21955
21956 * sysdeps/unix/_exit.S: Remove file.
21957
21958 2012-04-23 Andreas Jaeger <aj@suse.de>
21959
21960 [BZ #13739]
21961 * manual/Makefile: Remove make dist support, there's no
21962 need for a stand-alone documentation tar ball.
21963 (TEXI2DVI): Define always, it's not in Makeconfig.
21964 (dist): Removed.
21965 (tar-it): Removed.
21966 (edition): Removed.
21967 (glibc-doc-$(edition).tar): Removed
21968 (%.Z): Removed.
21969 (%.gz): Removed.
21970 (%.uu): Removed.
21971 (ETAGS): Remove, it's in Makeconfig.
21972 (move-if-change): Remove, it's in Makeconfig.
21973
21974 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
21975
21976 [BZ #13970]
21977 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21978 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21979 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21980 (strtod_l, strtof_l, strtold_l): Remove __wur.
21981 It is not necessarily an error to ignore strtol's return value.
21982 One can reliably look at the stored endptr to decide whether
21983 the number had valid syntax.
21984
21985 2012-04-21 Andreas Jaeger <aj@suse.de>
21986
21987 [BZ #13739]
21988 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21989
21990 2012-04-21 Joseph Myers <joseph@codesourcery.com>
21991
21992 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21993 * sysdeps/unix/sysv/Versions: Remove file.
21994
21995 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21996
21997 [BZ #13927]
21998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21999
22000 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
22001
22002 [BZ #7064]
22003 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22004 version from __vm86.
22005
22006 2012-04-20 Joseph Myers <joseph@codesourcery.com>
22007
22008 * sysdeps/unix/common/lxstat.c: Remove file.
22009 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22010
22011 * sysdeps/unix/sysv/Makefile: Remove file.
22012
22013 * sysdeps/unix/sysv/direct.h: Remove file.
22014
22015 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22016 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22017 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22018 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22019 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22020 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22021 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22022
22023 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22024
22025 * sysdeps/unix/xmknod.c: Remove file.
22026 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22027
22028 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22029
22030 * sysdeps/unix/sysv/i386/time.S: Remove file.
22031
22032 * sysdeps/unix/fxstat.c: Remove file.
22033 * sysdeps/unix/xstat.c: Likewise.
22034 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22035
22036 * sysdeps/unix/sysv/sigaction.c: Remove file.
22037
22038 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22039 (sysdep_headers): Remove variable.
22040 [termio.h not in sysdep_headers] (generated): Likewise.
22041 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22042 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22043 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22044 * sysdeps/unix/sysv/tcflow.c: Likewise.
22045 * sysdeps/unix/sysv/tcflush.c: Likewise.
22046 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22047 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22048 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22049 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22050 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22051
22052 * sysdeps/unix/siglist.c: Remove file.
22053
22054 * sysdeps/unix/getppid.S: Remove file.
22055
22056 * sysdeps/unix/mkdir.c: Remove file.
22057 * sysdeps/unix/rmdir.c: Likewise.
22058
22059 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22060
22061 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22062 ERR_MAX value.
22063 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22064 errlist-compat value.
22065
22066 2012-04-18 David S. Miller <davem@davemloft.net>
22067
22068 * sysdeps/generic/memcopy.h (reg_char): Delete.
22069 * debug/strcat_chk.c: Use char, not reg_char.
22070 * debug/strcpy_chk.c: Likewise.
22071 * debug/strncat_chk.c: Likewise.
22072 * debug/strncpy_chk.c: Likewise.
22073 * string/memchr.c: Likewise.
22074 * string/memrchr.c: Likewise.
22075 * string/rawmemchr.c: Likewise.
22076 * string/strcat.c: Likewise.
22077 * string/strchr.c: Likewise.
22078 * string/strchrnul.c: Likewise.
22079 * string/strcmp.c: Likewise.
22080 * string/strcpy.c: Likewise.
22081 * string/strncat.c: Likewise.
22082 * string/strncmp.c: Likewise.
22083 * string/strncpy.c: Likewise.
22084
22085 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22086
22087 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22088 __builtin_memcopy is called when src and dest ranges are known to not
22089 overlap.
22090
22091 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22092
22093 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22094 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22095 fwd_align_merge macro call.
22096 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22097 bwd_align_merge macro call.
22098 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22099
22100 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22101
22102 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22103 bwd_align_merge macros.
22104 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22105 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22106 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22107
22108 2012-04-18 David S. Miller <davem@davemloft.net>
22109
22110 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22111
22112 2012-04-18 Andreas Jaeger <aj@suse.de>
22113
22114 [BZ# 6794]
22115 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22116 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22117 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22118
22119 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22120 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22121 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22122
22123 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22124 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22125 Adjust for changed ldbl-128 files.
22126
22127 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22128 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22129 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22130
22131 2012-04-17 David S. Miller <davem@davemloft.net>
22132
22133 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22134
22135 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22136
22137 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22138 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22139 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22140 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22141 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22142 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22143
22144 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22145
22146 [BZ #6794]
22147 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22148 * math/libm-test.inc: Add ilogb errno and exception tests.
22149 * math/w_ilogb.c: New file: ilogb wrapper.
22150 * math/w_ilogbf.c: New file: ilogbf wrapper.
22151 * math/w_ilogbl.c: New file: ilogbl wrapper.
22152 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22153 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22154 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22155 exception being thrown with 0.0 as argument.
22156 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22157 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22158 exception being thrown with 0.0 as argument.
22159 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22160 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22161 exception being thrown with 0.0 as argument.
22162 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22163 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22164 exception being thrown with 0.0 as argument.
22165 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22166 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22167 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22168 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22169 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22170 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22171 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22172 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22173 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22174
22175 2012-04-17 Petr Baudis <pasky@ucw.cz>
22176
22177 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22178 with altivec.
22179
22180 2012-04-16 Marek Polacek <polacek@redhat.com>
22181
22182 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22183
22184 2012-04-16 Marek Polacek <polacek@redhat.com>
22185
22186 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22187 operands of fdivp instruction.
22188
22189 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22190
22191 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22192 * elf/tst-auditmod3b.c: Likewise.
22193 * elf/tst-auditmod4b.c: Likewise.
22194 * elf/tst-auditmod5b.c: Likewise.
22195 * elf/tst-auditmod6b.c: Likewise.
22196 * elf/tst-auditmod6c.c: Likewise.
22197 * elf/tst-auditmod7b.c: Likewise.
22198 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22199 * sysdeps/x86_64/preconfigure.in: Likewise.
22200 * sysdeps/x86_64/preconfigure: Regenerated.
22201
22202 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22203
22204 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22205 __ILP32__.
22206
22207 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
22208
22209 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22210 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22211
22212 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22213
22214 [BZ #13973]
22215 * locale/iso-639.def: Fix gl language name. Spotted by
22216 Yaron Shahrabani.
22217
22218 2012-04-12 Roland McGrath <roland@hack.frob.com>
22219
22220 [BZ #2074]
22221 * libio/libio.h (__io_write_fn): Update comment.
22222
22223 2012-04-12 Petr Baudis <pasky@ucw.cz>
22224
22225 [BZ #2074]
22226 * stdio.texi (Hook Functions): The user provided writer function
22227 is not allowed to return -1.
22228
22229 2012-04-11 David S. Miller <davem@davemloft.net>
22230
22231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22232
22233 2012-04-11 Mike Frysinger <vapier@gentoo.org>
22234
22235 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22236 Add a leading slash to rtkaio.
22237
22238 2012-04-11 Jim Meyering <meyering@redhat.com>
22239
22240 [BZ #11959]
22241 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22242 It is not necessarily an error to ignore fwrite's return
22243 value. One can reliably use ferror to test for errors after
22244 the fact.
22245
22246 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22247
22248 * bits/types.h (__snseconds_t): New type.
22249 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22250
22251 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22252 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22253 (__SNSECONDS_T_TYPE): Likewise.
22254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22255 (__SNSECONDS_T_TYPE): Likewise.
22256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22257 (__SNSECONDS_T_TYPE): Likewise.
22258
22259 2012-04-10 Andreas Jaeger <aj@suse.de>
22260
22261 [BZ #2636]
22262 * manual/time.texi (Processor Time): Return type of times is
22263 elapsed real time since an arbitrary point in the past.
22264 (CPU Time): Move CLK_TCK from here...
22265 (Processor Time): ...to here. Correct description.
22266 * manual/conf.texi (Constants for Sysconf): Correct description of
22267 _SC_CLK_TCK.
22268
22269 2012-04-10 David S. Miller <davem@davemloft.net>
22270
22271 [BZ #13967]
22272 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22273 where the is a gap between DT_REL(A) and DT_JMPREL.
22274
22275 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22276
22277 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22278 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22279 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22280
22281 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22282
22283 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22284 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22285 (dl_main): Handle --inhibit-cache.
22286 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22287 _dl_inhibit_cache.
22288 * elf/dl-load.c (_dl_map_object): Use it.
22289 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22290
22291 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22292
22293 [BZ #13872]
22294 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22295 (__ieee754_powl): Saturate large exponents rather than testing for
22296 overflow of y*log2(x).
22297 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22298 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22299 exceptions.
22300
22301 [BZ #11521]
22302 * math/s_ctan.c: Include <float.h>.
22303 (__ctan): Avoid internal overflow or cancellation in calculating
22304 denominator.
22305 * math/s_ctanf.c: Likewise.
22306 * math/s_ctanl.c: Likewise.
22307 * math/s_ctanh.c: Likewise.
22308 * math/s_ctanhf.c: Likewise.
22309 * math/s_ctanhl.c: Likewise.
22310 * math/libm-test.inc (ctan_test): Add more tests.
22311 (ctanh_test): Likewise.
22312 * sysdeps/i386/fpu/libm-test-ulps: Update.
22313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22314
22315 2012-04-09 Andreas Jaeger <aj@suse.de>
22316
22317 [BZ #6894]
22318 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22319 is an optional BSD extension.
22320
22321 [BZ #10254]
22322 * manual/stdio.texi (Opening Streams): Document additional fopen
22323 parameters.
22324
22325 2012-04-09 Roland McGrath <roland@hack.frob.com>
22326
22327 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22328 %eax without telling the compiler.
22329
22330 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22331
22332 [BZ # 13963]
22333 * manual/install.texi: Use sourceware.org.
22334
22335 2012-04-09 Joseph Myers <joseph@codesourcery.com>
22336
22337 [BZ #13873]
22338 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22339 (__ieee754_pow): Generate overflow and underflow using huge*huge
22340 and tiny*tiny rather than just returning constant infinity or zero
22341 for large exponents.
22342 * math/libm-test.inc (pow_test): Require overflow exceptions for
22343 applicable cases of large exponents.
22344
22345 [BZ #706]
22346 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22347 (__ieee754_pow): Use iterative multiplication algorithm only for
22348 integer exponents with absolute value below 1024. Check for odd
22349 integer exponents when using algorithm for real exponents.
22350 * math/libm-test.inc (pow_test): Add more tests.
22351 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22352
22353 2012-04-08 Joseph Myers <joseph@codesourcery.com>
22354
22355 [BZ #13705]
22356 * math/libm-test.inc (exp_test): Do not allow overflow exception
22357 on underflow test.
22358
22359 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22360
22361 [BZ #13705]
22362 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22363 instead of __kernel_standard_f.
22364
22365 2012-04-08 Mike Frysinger <vapier@gentoo.org>
22366
22367 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22368 * sysdeps/x86_64/memset_chk.S: Likewise.
22369
22370 2012-04-08 Andreas Jaeger <aj@suse.de>
22371
22372 [BZ #10153]
22373 * manual/startup.texi (Environment Access): Describe return value
22374 for putenv and setenv.
22375
22376 [BZ #6895]
22377 * manual/filesys.texi (Directory Entries): Add description for
22378 DT_LNK.
22379
22380 [BZ #6890]
22381 * manual/filesys.texi (Directory Entries): Clarify that it's file
22382 system not operating system in the description of DT_UNKNOWN.
22383
22384 [BZ #6578]
22385 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22386
22387 2012-04-08 Stephen Compall <s11@member.fsf.org>
22388
22389 [BZ #6649]
22390 * manual/llio.texi (Opening and Closing Files): Add cross
22391 reference to explain mode argument.
22392
22393 2012-04-07 Mike Frysinger <vapier@gentoo.org>
22394
22395 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22396 * sysdeps/x86_64/memset_chk.S: Likewise.
22397
22398 2012-04-07 David S. Miller <davem@davemloft.net>
22399
22400 * elf/elf.h (R_SPARC_WDISP10): Define.
22401 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22402 R_SPARC_SIZE32.
22403 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22404 R_SPARC_SIZE64 and R_SPARC_H34.
22405
22406 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22407
22408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22409 conditions and remove no longer applicable assertion.
22410
22411 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22412
22413 * bits/byteswap.h: Include <features.h>.
22414 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22415 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22416
22417 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22418
22419 * bits/byteswap.h (__bswap_16): Removed.
22420 Include <bits/byteswap-16.h> to get __bswap_16.
22421 * sysdeps/i386/bits/byteswap.h: Likewise.
22422 * sysdeps/s390/bits/byteswap.h: Likewise.
22423 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22424 * bits/byteswap-16.h: New file.
22425 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22426 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22427 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22428 * string/Makefile (headers): Add bits/byteswap-16.h.
22429
22430 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22431
22432 [BZ #13895]
22433 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22434 extra indirection.
22435 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22436 * nss/tst-nss-static.c: New.
22437
22438 2012-04-06 Robert Millan <rmh@gnu.org>
22439
22440 [BZ #6486]
22441 * manual/llio.texi (File Position Primitive): lseek
22442 refers to WHENCE when it really means OFFSET.
22443
22444 2012-04-06 Andreas Jaeger <aj@suse.de>
22445
22446 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22447 strncmp declarations.
22448
22449 * abilist/libc.abilist: Add __poll and __ppoll.
22450
22451 2012-04-05 David S. Miller <davem@davemloft.net>
22452
22453 * scripts/check-local-headers.sh: Accept a host triplet in the
22454 path matched by the exclude regexp.
22455
22456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22457 definition.
22458 * sysdeps/powerpc/powerpc32/dl-machine.h
22459 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22460 * sysdeps/s390/s390-32/dl-machine.h
22461 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22462 * sysdeps/sparc/sparc32/dl-machine.h
22463 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22464 * sysdeps/sparc/sparc64/dl-machine.h
22465 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22466
22467 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22468 lazy binding.
22469 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22470 undefined symbol errors.
22471
22472 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22473 DT_NEEDED entries.
22474
22475 2012-04-05 Michael Matz <matz@suse.de>
22476
22477 [BZ #13592]
22478 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22479
22480 2012-04-05 Andreas Jaeger <aj@suse.de>
22481
22482 [BZ #13908]
22483 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22484 comment.
22485
22486 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22487
22488 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22489 which ROUND is no valid rounding mode.
22490
22491 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22492
22493 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22494 read again.
22495 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22496
22497 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22498
22499 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22500 an exception using FPU order intentionally.
22501
22502 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22503
22504 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22505 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22506 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22507 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22508
22509 2012-04-05 Simon Josefsson <simon@josefsson.org>
22510
22511 [BZ #12340]
22512 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22513 EINVAL when BUFLEN is too smal.
22514
22515 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22516
22517 [BZ #13553]
22518 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22519 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22520
22521 2012-04-03 Andreas Jaeger <aj@suse.de>
22522
22523 [BZ #13938]
22524 * manual/setjmp.texi (System V contexts): Fix sentence.
22525
22526 [BZ #13926]
22527 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22528 New macro for this case.
22529 [!__GNUC__] (__bswap_64): New inline function for this case.
22530 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22531 * bits/byteswap.h: Likewise.
22532 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22533 ull, guard with __GLIBC_HAVE_LONG_LONG.
22534
22535 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22536 __GLIBC_HAVE_LONG_LONG.
22537
22538 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22539 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22540
22541 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22542
22543 [BZ #13691]
22544 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22545 inptr and inend, rather than using last_ch.
22546
22547 2012-04-02 David S. Miller <davem@davemloft.net>
22548
22549 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22550 * stdio-common/printf-parse.h (read_int): Change return type to
22551 'int', return -1 on INT_MAX overflow.
22552 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22553 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22554 overflows INT_MAX. Check for overflow of in-format-string precision
22555 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22556 SIZE_MAX not INT_MAX for integer overflow test.
22557 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22558 skip the construct in the format string but do not record anything.
22559 * stdio-common/bug22.c: Adjust to test both width/prevision
22560 INT_MAX overflow as well as total length INT_MAX overflow. Check
22561 explicitly for proper errno values.
22562
22563 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22564
22565 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22566 CHAR_MAX.
22567 * string/test-strcmp.c [! WIDE]: Likewise.
22568 * time/tst-mktime2.c: Likewise for INT_MAX.
22569 * string/test-string.h: #include <sys/param.h> for MIN.
22570
22571 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22572 * sysdeps/i386/init-first.c (init): Likewise.
22573 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22574 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22575 * sysdeps/sh/init-first.c (init): Likewise.
22576
22577 2012-04-01 Ulrich Drepper <drepper@gmail.com>
22578
22579 * po/ru.po: Update from translation team.
22580 * po/vi.po: Likewise.
22581
22582 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22583
22584 * resolv/nss_dns/dns-host.c: Merge copyright years.
22585
22586 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22587
22588 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22589 Optimize memcpy with prefetch if
22590 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22591 src, dst pointers have unequal 16 byte alignments.
22592
22593 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22594
22595 [BZ #13928]
22596 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22597 from a CNAME entry and return the minimum ttl for the query.
22598 (gaih_getanswer_slice): Likewise.
22599
22600 2012-03-30 Jeff Law <law@redhat.com>
22601
22602 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22603 due to long keys.
22604 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22605 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22606
22607 * resolv/nss_dns/dns-host.c: Update copyright year.
22608
22609 2012-03-30 Ulrich Drepper <drepper@gmail.com>
22610
22611 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22612 requests to save a system call. Fix check that all bytes are sent.
22613
22614 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22615 comments for sendmmsg.
22616
22617 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22618
22619 [BZ #13691]
22620 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22621 with only 1 character between 0x0041 and 0x01b0.
22622 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22623 * wcsmbs/tst-mbsnrtowcs.c: New file.
22624
22625 2012-03-29 David S. Miller <davem@davemloft.net>
22626
22627 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22628 small copies by hand.
22629
22630 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22631
22632 [BZ #13761]
22633 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22634 _nss_compat_initgroups_dyn): Fall back to malloc/free
22635 for large group memberships.
22636
22637 2012-03-28 David S. Miller <davem@davemloft.net>
22638
22639 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22640 that branches into memcpy.
22641 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22642 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22643 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22644 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22645 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22646 bits.
22647 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22648 implementation too.
22649 * sysdeps/sparc/mempcpy.S: New file.
22650
22651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22652 the IFUNC routine in the libc case.
22653 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22654
22655 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22656 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22657 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22658 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22659 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22660 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22661 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22662 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22663
22664 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22665 loop to 256 bytes instead of 64 bytes and fix test signedness.
22666
22667 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22668 * sysdeps/sparc/sparc32/Makefile: rather than here...
22669 * sysdeps/sparc/sparc64/Makefile: and here.
22670
22671 2012-03-28 Ulrich Drepper <drepper@gmail.com>
22672
22673 * malloc/mallocbug.c: Avoid warnings about unused variables.
22674
22675 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22676
22677 [BZ #13760]
22678 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22679 in the right place. Discard and retry query if response is
22680 larger than input buffer size.
22681
22682 2012-03-28 Joseph Myers <joseph@codesourcery.com>
22683
22684 [BZ #369]
22685 [BZ #2678]
22686 [BZ #3866]
22687 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22688 x for large integer exponent.
22689 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22690 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22691 sign of result as needed afterwards.
22692 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22693 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22694 result for underflowing pow the same as for overflow.
22695 (__kernel_standard_l): Handle powl overflow and underflow here
22696 rather than calling __kernel_standard.
22697 * math/libm-test.inc (pow_test): Add more tests.
22698
22699 [BZ #3868]
22700 [BZ #13879]
22701 [BZ #13910]
22702 [BZ #13911]
22703 [BZ #13912]
22704 [BZ #13913]
22705 [BZ #13915]
22706 [BZ #13916]
22707 [BZ #13917]
22708 [BZ #13918]
22709 [BZ #13919]
22710 [BZ #13920]
22711 [BZ #13921]
22712 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22713 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22714 (__kernel_standard_l): New function.
22715 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22716 __kernel_standard.
22717 * math/w_acosl.c (__acosl): Likewise.
22718 * math/w_asinl.c (__asinl): Likewise.
22719 * math/w_atan2l.c (__atan2l): Likewise.
22720 * math/w_atanhl.c (__atanhl): Likewise.
22721 * math/w_coshl.c (__coshl): Likewise.
22722 * math/w_exp10l.c (__exp10l): Likewise.
22723 * math/w_exp2l.c (__exp2l): Likewise.
22724 * math/w_fmodl.c (__fmodl): Likewise.
22725 * math/w_hypotl.c (__hypotl): Likewise.
22726 * math/w_j0l.c (__j0l, __y0l): Likewise.
22727 * math/w_j1l.c (__j1l, __y1l): Likewise.
22728 * math/w_jnl.c (__jnl, __ynl): Likewise.
22729 * math/w_lgammal.c (__lgammal): Likewise.
22730 * math/w_log10l.c (__log10l): Likewise.
22731 * math/w_log2l.c (__log2l): Likewise.
22732 * math/w_logl.c (__logl): Likewise.
22733 * math/w_powl.c (__powl): Likewise.
22734 * math/w_remainderl.c (__remainderl): Likewise.
22735 * math/w_scalbl.c (sysv_scalbl): Likewise.
22736 * math/w_sinhl.c (__sinhl): Likewise.
22737 * math/w_sqrtl.c (__sqrtl): Likewise.
22738 * math/w_tgammal.c (__tgammal): Likewise.
22739 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22740 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22741 * math/libm-test.inc (acos_test): Add more tests.
22742 (acosh_test): Likewise.
22743 (asin_test): Likewise.
22744 (atanh_test): Likewise.
22745 (exp_test): Likewise.
22746 (exp10_test): Likewise.
22747 (exp2_test): Likewise.
22748 (expm1_test): Likewise.
22749 (lgamma_test): Likewise.
22750 (log_test): Likewise.
22751 (log10_test): Likewise.
22752 (log1p_test): Likewise.
22753 (log2_test): Likewise.
22754 (pow_test): Do not allow some spurious overflow exceptions.
22755 (sqrt_test): Add more tests.
22756 (tgamma_test): Likewise.
22757 (y0_test): Likewise.
22758 (y1_test): Likewise.
22759 (yn_test): Likewise.
22760
22761 2012-03-27 Anton Blanchard <anton@samba.org>
22762
22763 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22764 MAP_HUGETLB.
22765 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22766 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22767 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22768
22769 2012-03-27 David S. Miller <davem@davemloft.net>
22770
22771 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22772
22773 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22774 have-as-vis3 check.
22775
22776 2012-03-27 Andreas Jaeger <aj@suse.de>
22777
22778 * sysdeps/x86_64/elf/configure.in: Moved to ...
22779 * sysdeps/x86_64/configure.in: ... here.
22780 * sysdeps/x86_64/elf/start.S: Moved to ...
22781 * sysdeps/x86_64/start.S: ... here.
22782 * sysdeps/x86_64/elf/configure: Delete.
22783
22784 * sysdeps/x86_64/configure.in: Merge contents from
22785 sysdeps/i386/configure.in (without i686 check).
22786
22787 * sysdeps/i386/elf/Versions: Merge into ...
22788 * sysdeps/i386/Versions: ... this.
22789 * sysdeps/i386/elf/Versions: Delete file.
22790 * sysdeps/i386/elf/start.S: Moved to ...
22791 * sysdeps/i386/start.S: ...here.
22792 * sysdeps/i386/elf/configure.in: Merge into...
22793 * sysdeps/i386/configure.in: ...here.
22794 * sysdeps/i386/elf/configure.in: Delete file.
22795 * sysdeps/i386/elf/configure: Delete file.
22796
22797 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22798 * debug/backtracesyms.c: ... here.
22799 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22800 * debug/backtracesymsfd.c: ... here.
22801 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22802 * sysdeps/generic/ifunc-sel.h: ... here.
22803
22804 * sysdeps/unix/i386/start.c: Delete file.
22805 * sysdeps/unix/sparc/start.c: Delete file.
22806 * sysdeps/unix/start.c: Delete file.
22807
22808 * sysdeps/sh/elf/configure.in: Moved to ...
22809 * sysdeps/sh/configure.in: ... here.
22810 * sysdeps/sh/elf/start.S: Moved to ...
22811 * sysdeps/sh/start.S: ... here.
22812 * sysdeps/sh/elf/configure: Delete file.
22813
22814 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22815 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22816 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22817 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22818 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22819 * sysdeps/powerpc/powerpc64/start.S: here.
22820 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22821 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22822 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22823 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22824 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22825
22826 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22827 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22828 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22829 * sysdeps/powerpc/powerpc32/start.S: ... here.
22830 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22831 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22832 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22833
22834 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22835 * sysdeps/powerpc/ifunc-sel.h: ... here.
22836 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22837 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22838
22839 * sysdeps/sparc/elf/configure.in: Moved to ...
22840 * sysdeps/sparc/configure.in: ... here.
22841 * sysdeps/sparc/elf/configure: Delete file.
22842 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22843 * sysdeps/sparc/sparc32/start.S: ... here.
22844 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22845 * sysdeps/sparc/sparc64/start.S: ... here.
22846 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22847 * sysdeps/sparc/sparc32/Makefile: ... this.
22848 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22849 * sysdeps/sparc/sparc64/Makefile: ... this.
22850
22851 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22852 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22853 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22854 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22855 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22856 * sysdeps/s390/s390-32/setjmp.S: ... here.
22857 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22858 * sysdeps/s390/s390-32/configure.in: ... here.
22859 * sysdeps/s390/s390-32/elf/configure: Delete file.
22860 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22861 * sysdeps/s390/s390-32/start.S: ... here.
22862
22863 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22864 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22865 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22866 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22867 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22868 * sysdeps/s390/s390-64/setjmp.S: ... here.
22869 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22870 * sysdeps/s390/s390-64/configure.in: ... here
22871 * sysdeps/s390/s390-64/elf/configure: Delete file.
22872 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22873 * sysdeps/s390/s390-64/start.S: ... here.
22874 * sysdeps/s390/s390-64/elf/configure: Delete.
22875
22876 * configure.in: Remove support for elf directories in sysdeps.
22877
22878 * configure: Regenerated.
22879 * sysdeps/i386/configure: Regenerated.
22880 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22881 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22882 * sysdeps/s390/s390-32/configure: Regenerated.
22883 * sysdeps/s390/s390-64/configure: Regenerated.
22884 * sysdeps/sh/configure: Regenerated.
22885 * sysdeps/sparc/configure: Regenerated.
22886 * sysdeps/x86_64/configure: Regenerated.
22887
22888 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22889
22890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22891
22892 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22893 denormal result into account.
22894
22895 2012-03-25 Roland McGrath <roland@hack.frob.com>
22896
22897 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22898 Reported by Allan McRae <allan@archlinux.org>.
22899
22900 2012-03-23 Jeff Law <law@redhat.com>
22901
22902 * nss/getnssent.c (__nss_getent): Fix typo.
22903
22904 2012-03-23 David S. Miller <davem@davemloft.net>
22905
22906 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22907
22908 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22909
22910 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22911 to pad to uint64_t for each field.
22912 (dl_tls_index): Replace unsigned long with uint64_t.
22913
22914 2012-03-23 Daniel Jacobowitz <dmj@google.com>
22915 Paul Pluzhnikov <ppluzhnikov@google.com>
22916
22917 [BZ #6528]
22918 * grp/Makefile (otherlibs): Don't set it.
22919 * inet/Makefile (otherlibs): Likewise.
22920 * login/Makefile (otherlibs): Likewise.
22921 * nscd/Makefile (otherlibs): Likewise.
22922 * posix/Makefile (otherlibs): Likewise.
22923 * pwd/Makefile (otherlibs): Likewise.
22924 * rt/Makefile (otherlibs): Likewise.
22925 * sunrpc/Makefile (otherlibs): Likewise.
22926 * nss/Makefile (otherlibs): Likewise.
22927 Add libnss_files to routines and static-only-routines.
22928 ($(objpfx)getent): Remove rule.
22929 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22930 static-only-routines.
22931
22932 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22933
22934 [BZ #13892]
22935 * math/s_cexp.c: Include <float.h>.
22936 (__cexp): Handle exp result overflowing not necessarily
22937 overflowing both real and imaginary parts of result.
22938 * math/s_cexpf.c: Likewise.
22939 * math/s_cexpl.c: Likewise.
22940 * math/libm-test.inc (cexp_test): Add more tests.
22941 * sysdeps/i386/fpu/libm-test-ulps: Update.
22942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22943
22944 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22945
22946 * include/link.h (ELFW): New macro.
22947 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22948 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22949
22950 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22951
22952 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22953 with uint64_t.
22954
22955 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22956
22957 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22958 declaration.
22959 (struct La_x32_retval): Likewise.
22960
22961 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22962
22963 * sysdeps/x86_64/preconfigure.in: New file.
22964 * sysdeps/x86_64/preconfigure: New generated file.
22965
22966 2012-03-22 Joseph Myers <joseph@codesourcery.com>
22967
22968 [BZ #13824]
22969 * math/e_exp2l.c: Include <float.h>.
22970 (__ieee754_exp2l): Handle overflow and underflow cases
22971 separately. Only pass fractional part of argument to
22972 __ieee754_expl.
22973 * math/libm-test.inc (exp2_test): Add more tests.
22974
22975 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22976 negating x to take absolute value.
22977 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22978 Likewise.
22979 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22980 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22981 Likewise.
22982 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22983 computing low part if x was negated.
22984 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22985
22986 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22987
22988 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22989 la_x32_gnu_pltexit.
22990 (pltexit): Cast int_retval to ptrdiff_t.
22991 * elf/tst-auditmod3b.c: Likewise.
22992 * elf/tst-auditmod4b.c: Likewise.
22993 * elf/tst-auditmod5b.c: Likewise.
22994 * elf/tst-auditmod6b.c: Likewise.
22995 * elf/tst-auditmod6c.c: Likewise.
22996 * elf/tst-auditmod7b.c: Likewise.
22997
22998 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22999 and x32_gnu_pltexit.
23000
23001 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23002 __ELF_NATIVE_CLASS.
23003 (La_x32_regs): New macro.
23004 (La_x32_retval): Likewise.
23005 (la_x32_gnu_pltenter): New function prototype.
23006 (la_x32_gnu_pltexit): Likewise.
23007
23008 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23009
23010 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23011 exponent.
23012
23013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23014
23015 * configure.in (libc_cv_cc_nofma): Check for option to disable
23016 generation of FMA instructions.
23017 * configure: Regenerate.
23018 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23019 * sysdeps/ieee754/dbl-64/Makefile: New file.
23020 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23021 Remove brandred-fma4.
23022 (CFLAGS-brandred-fma4.c): Remove.
23023 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23024 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23025 define.
23026 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23027 define.
23028
23029 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23030
23031 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23032 LLONG_MAX != LONG_MAX.
23033 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23034 (_fitoa_word): Likewise.
23035 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23036 LLONG_MAX != LONG_MAX.
23037 * stdio-common/_itowa.h: Include <_itoa.h>.
23038 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23039 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23040 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23041 only if not defined.
23042 (_ITOA_WORD_TYPE): Likewise.
23043 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23044 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23045
23046 2012-03-21 David S. Miller <davem@davemloft.net>
23047
23048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23049
23050 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23051
23052 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23053 of x86_64 when setting libc_cv_slibdir, libdir and
23054 libc_cv_localedir.
23055 * sysdeps/unix/sysv/linux/configure: Regenerated.
23056
23057 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23058
23059 * manual/lang.texi (Old Varargs): Remove section.
23060 (How Variadic): Update menu.
23061 (va_start): Do not mention varargs.h.
23062
23063 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23064 Joseph Myers <joseph@codesourcery.com>
23065
23066 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23067 link test.
23068 * configure: Regenerated.
23069
23070 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23071
23072 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23073 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23074 conformtest.pl
23075
23076 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23077
23078 * NOTES: Remove.
23079 * Makefile (files-for-dist): Remove NOTES.
23080 (NOTES): Remove rule.
23081 * README: Don't refer to NOTES.
23082 * manual/creature.texi: Don't include macros.texi.
23083 * manual/intro.texi (creature.texi): Remove comment referring to
23084 NOTES.
23085
23086 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23087 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23088 * configure: Regenerated.
23089 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23090 LIBC_TRY_CC_OPTION.
23091 (libc_cv_as_i686): Likewise.
23092 (libc_cv_cc_avx): Likewise.
23093 (libc_cv_cc_sse2avx): Likewise.
23094 (libc_cv_cc_fma4): Likewise.
23095 (libc_cv_cc_novzeroupper): Likewise.
23096 * sysdeps/i386/configure: Regenerated.
23097
23098 [BZ #13883]
23099 * sysdeps/i386/fpu/s_cexp.S: Remove.
23100 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23101 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23102 * math/libm-test.inc (cexp_test): Add more tests.
23103 * sysdeps/i386/fpu/libm-test-ulps: Update.
23104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23105
23106 2012-03-21 Allan McRae <allan@archlinux.org>
23107
23108 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23109
23110 2012-03-21 Joseph Myers <joseph@codesourcery.com>
23111
23112 [BZ #13871]
23113 * math/w_exp2.c: Do not include <float.h>.
23114 (o_threshold, u_threshold): Remove.
23115 (__exp2): Calculate result before checking finiteness and calling
23116 __kernel_standard.
23117 * math/w_exp2f.c: Likewise.
23118 * math/w_exp2l.c: Likewise.
23119 * math/libm-test.inc (exp2_test): Require overflow exception for
23120 1e6 input.
23121
23122 [BZ #3866]
23123 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23124 range of signed 64-bit integers before using fistpll. Remove
23125 checks for whether integers fit in mantissa bits.
23126 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23127 the range of signed 32-bit integers before using fistpl. Remove
23128 checks for whether integers fit in mantissa bits.
23129 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23130 (__ieee754_powl): Test for y outside the range of signed 64-bit
23131 integers before using fistpll. Reduce 64-bit values to 63-bit
23132 ones as needed.
23133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23134 divide-by-zero is raised for zero to large negative powers.
23135 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23136 (__ieee754_powl): Test for y outside the range of signed 64-bit
23137 integers before using fistpll. Reduce 64-bit values to 63-bit
23138 ones as needed.
23139 * math/libm-test.inc (pow_test): Add more tests.
23140
23141 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23142
23143 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23144 <stdio-common/_itoa.h>.
23145 * debug/segfault.c: Likewise.
23146 * elf/dl-cache.c: Likewise.
23147 * elf/dl-minimal.c: Likewise.
23148 * elf/dl-misc.c: Likewise.
23149 * elf/dl-sysdep.c: Likewise.
23150 * elf/dl-version.c: Likewise.
23151 * elf/rtld.c: Likewise.
23152 * hurd/hurdsock.c: Likewise.
23153 * hurd/lookup-retry.c: Likewise.
23154 * malloc/malloc.c: Likewise.
23155 * malloc/mtrace.c: Likewise.
23156 * nscd/nscd_getgr_r.c: Likewise.
23157 * nscd/nscd_getpw_r.c: Likewise.
23158 * nscd/nscd_getserv_r.c: Likewise.
23159 * posix/getopt_init.c: Likewise.
23160 * posix/wordexp.c: Likewise.
23161 * stdio-common/_itoa.c: Likewise.
23162 * stdio-common/printf_fphex.c: Likewise.
23163 * stdio-common/vfprintf.c: Likewise.
23164 * string/_strerror.c: Likewise.
23165 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23166 * sysdeps/i386/i686/hp-timing.h: Likewise.
23167 * sysdeps/mach/_strerror.c: Likewise.
23168 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23169 * sysdeps/mach/hurd/sethostid.c: Likewise.
23170 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23171 * sysdeps/mach/xpg-strerror.c: Likewise.
23172 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23173 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23174 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23175 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23176 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23177 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23178 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23179 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23180 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23181 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23182 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23183 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23184 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23185 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23186 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23187 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23188 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23189 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23190 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23191 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23192 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23193
23194 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23195
23196 * stdio-common/_itoa.h: Moved to ...
23197 * sysdeps/generic/_itoa.h: Here.
23198
23199 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23200
23201 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23202 instead of "_itoa.h" and "_itowa.h".
23203 * stdio-common/vfprintf.: Likewise.
23204
23205 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23206
23207 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23208 <bits/wordsize.h>.
23209 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23210 (__signbit): Likwise.
23211 (llrintf): Likwise.
23212 (llrint): Likwise.
23213
23214 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23215
23216 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23217 __WORDSIZE != 64.
23218
23219 2012-03-20 Joseph Myers <joseph@codesourcery.com>
23220
23221 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23222 OVERFLOW_EXCEPTION_OK.
23223 * math/libm-test.inc ("Philosophy"): Update comment about
23224 exception testing.
23225 (OVERFLOW_EXCEPTION): Define.
23226 (OVERFLOW_EXCEPTION_OK): Likewise.
23227 (INVALID_EXCEPTION_OK): Renumber.
23228 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23229 (IGNORE_ZERO_INF_SIGN): Likewise.
23230 (test_exceptions): Handle FE_OVERFLOW.
23231 (exp10_test): Expect overflow exceptions.
23232 (exp2_test): Likewise.
23233 (expm1_test): Likewise.
23234 (nextafter_test): Likewise.
23235 (pow_test): Likewise.
23236 (scalbn_test): Likewise.
23237 (scalbln_test): Likewise.
23238
23239 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23240
23241 * sysdeps/x86_64/bits/atomic.h
23242 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23243 64bit integer.
23244 (atomic_exchange_acq): Likewise.
23245 (__arch_exchange_and_add_body): Likewise.
23246 (__arch_add_body): Likewise.
23247 (atomic_add_negative): Likewise.
23248 (atomic_add_zero): Likewise.
23249
23250 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23251
23252 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23253 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23254
23255 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23256
23257 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23258 Check __x86_64__ instead of __WORDSIZE.
23259
23260 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23261
23262 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23263
23264 2012-03-19 David S. Miller <davem@davemloft.net>
23265
23266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23267
23268 * sysdeps/sparc/fpu/fenv_private.h: New file.
23269 * sysdeps/sparc/fpu/math_private.h: Use it.
23270 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23271 Remove.
23272 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23273 (libc_feholdexcept_setroundl): Remove.
23274 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23275 Remove.
23276 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23277 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23278
23279 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23280
23281 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23282 int64_t instead of long int.
23283 (INSERT_WORDS64): Likwise.
23284
23285 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23286
23287 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23288 _Unwind_GetCFA return to _Unwind_Ptr first.
23289
23290 2012-03-19 Joseph Myers <joseph@codesourcery.com>
23291
23292 [BZ #13629]
23293 * math/s_clog.c: Include <float.h>.
23294 (__clog): Scale large or subnormal inputs.
23295 * math/s_clogf.c: Likewise.
23296 * math/s_clogl.c: Likewise.
23297 * math/s_clog10.c: Include <float.h>.
23298 (M_LOG10_2): Define.
23299 (__clog10): Scale large or subnormal inputs.
23300 * math/s_clog10f.c: Likewise.
23301 * math/s_clog10l.c: Likewise.
23302 * math/libm-test.inc (clog_test): Add more tests.
23303 (clog10_test): Likewise.
23304 * sysdeps/i386/fpu/libm-test-ulps: Update.
23305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23306
23307 [BZ #11451]
23308 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23309 x and y.
23310 * math/libm-test.inc (atan2_test): Add another test.
23311
23312 * Makerules (common-objdir-compile): Remove.
23313 * sysdeps/unix/Makefile (config-generated): Do not add
23314 $(unix-generated) to variable.
23315 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23316 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23317 Remove rule.
23318 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23319 Likewise.
23320 [generic bits/local_lim.h] (before-compile): Do not append to
23321 variable.
23322 [generic bits/local_lim.h] (common-generated): Likewise.
23323 [generic sys/param.h] (before-compile): Do not append to variable.
23324 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23325 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23326 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23327 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23328 include.
23329 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23330 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23331 [generic sys/param.h] ($(addprefix
23332 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23333 [generic sys/param.h] (common-generated): Do not append to
23334 variable.
23335 [generic sys/param.h] (sysdep_headers): Likewise.
23336 [generic bits/errno.h] (before-compile): Do not append to
23337 variable.
23338 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23339 rule.
23340 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23341 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23342 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23343 [generic bits/errno.h] (common-generated): Do not append to
23344 variable.
23345 [generic bits/ioctls.h] (before-compile): Do not append to
23346 variable.
23347 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23348 rule.
23349 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23350 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23351 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23352 rule.
23353 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23354 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23355 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23356 [generic bits/ioctls.h] (common-generated): Do not append to
23357 variable.
23358 [generic sys/syscall.h] (syscall.h): Remove variable.
23359 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23360 rule.
23361 [generic sys/syscall.h] (before-compile): Do not append to
23362 variable.
23363 [generic sys/syscall.h] (common-generated): Likewise.
23364 * sysdeps/unix/errnos-tmpl.c: Remove file.
23365 * sysdeps/unix/errnos.awk: Likewise.
23366 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23367 * sysdeps/unix/ioctls.awk: Likewise.
23368 * sysdeps/unix/mk-local_lim.c: Likewise.
23369 * sysdeps/unix/snarf-ioctls: Likewise.
23370
23371 2012-03-19 Richard Henderson <rth@twiddle.net>
23372
23373 * sysdeps/i386/fpu/fenv_private.h: New file.
23374 * sysdeps/i386/fpu/math_private.h: Use it.
23375 (math_opt_barrier, math_force_eval): Remove.
23376 (libc_feholdexcept_setround_53bit): Remove.
23377 (libc_feupdateenv_53bit): Remove.
23378 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23379 (math_opt_barrier, math_force_eval): Remove.
23380 (libc_feholdexcept): Remove.
23381 (libc_feholdexcept_setround): Remove.
23382 (libc_fetestexcept, libc_fesetenv): Remove.
23383 (libc_feupdateenv_test): Remove.
23384 (libc_feupdateenv, libc_feholdsetround): Remove.
23385 (libc_feresetround): Remove.
23386
23387 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23388 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23389
23390 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23391 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23392 (libc_feupdateenv_testl): New.
23393 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23394 (libc_feupdateenv_testf): New.
23395 (libc_feupdateenv): Use libc_feupdateenv_test.
23396 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23397 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23398
23399 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23400 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23401 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23402 (libc_feresetround_noex): New.
23403 (libc_feresetround_noexf): New.
23404 (libc_feresetround_noexl): New.
23405 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23406 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23407 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23408 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23409 SET_RESTORE_ROUND.
23410 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23411 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23412 (__cos): Likewise.
23413 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23414 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23415 SET_RESTORE_ROUND_NOEX.
23416 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23417 SET_RESTORE_ROUND_NOEXF.
23418 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23419 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23420 (libc_feholdsetroundf): New.
23421 (libc_feresetround, libc_feresetroundf): New.
23422
23423 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23424 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23425 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23426
23427 * sysdeps/generic/math_private.h: Include <fenv.h>.
23428 (default_libc_feholdexcept): New.
23429 (default_libc_feholdexcept_setround): New.
23430 (default_libc_fesetenv, default_libc_feupdateenv): New.
23431 (libc_feholdexcept): Only define if undefined.
23432 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23433 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23434 (libc_feholdexcept_setroundl): Likewise.
23435 (libc_feholdexcept_setround_53bit): Likewise.
23436 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23437 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23438 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23439 (libc_feupdateenv_53bit): Likewise.
23440 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23441 (libc_feholdexcept): Convert from macro to inline function.
23442 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23443 (libc_fesetenv, libc_feupdateenv): Likewise.
23444
23445 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23446 not previously defined.
23447 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23448 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23449 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23450 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23451 * sysdeps/ieee754/flt-32/math_private.h: New file.
23452 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23453 math_private.h below SET_FLOAT_WORD.
23454 (__isnan, __isinf_ns, __finite): Remove.
23455 (__isnanf, __isinf_nsf, __finitef): Remove.
23456
23457 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23458
23459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23460
23461 2012-03-17 David S. Miller <davem@davemloft.net>
23462
23463 [BZ #6471]
23464 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23465 for 2.16.
23466
23467 2012-03-16 David S. Miller <davem@davemloft.net>
23468
23469 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23470 warnings.
23471
23472 [BZ #6471]
23473 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23474 properly.
23475 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23476 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23477 sysdep_routines when subdir is sysvipc.
23478 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23479 __getshmlba helper.
23480
23481 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23482
23483 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23484
23485 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23486 [__LP64__].
23487
23488 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23489
23490 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23491 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23492 (__lround): Renamed to ...
23493 (__llround): This. Replace long int with long long int.
23494 Define lround functions as aliases of llround functions.
23495 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23496
23497 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23498
23499 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23500 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23501 adresses to uintptr_t. Replace "long int" and "unsigned long
23502 int" with "greg_t" on va_arg.
23503
23504 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23505
23506 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23507 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23508
23509 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23510 Move e_machine check before EI_CLASS check. Handle x32
23511 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23512 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23513 SKIP_EM_IA_64 and include
23514 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23515
23516 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23517 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23518 (add_system_dir): New macro.
23519
23520 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23521 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23522
23523 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23524
23525 [BZ #2551]
23526 [BZ #2552]
23527 [BZ #2553]
23528 [BZ #2554]
23529 [BZ #2562]
23530 [BZ #2563]
23531 [BZ #2565]
23532 [BZ #2566]
23533 [BZ #2576]
23534 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23535 (y0): Likewise.
23536 * math/w_j0f.c (j0f): Likewise.
23537 (y0f): Likewise.
23538 * math/w_j0l.c (__j0l): Likewise.
23539 (__y0l): Likewise.
23540 * math/w_j1.c (j1): Likewise.
23541 (y1): Likewise.
23542 * math/w_j1f.c (j1f): Likewise.
23543 (y1f): Likewise.
23544 * math/w_j1l.c (__j1l): Likewise.
23545 (__y1l): Likewise.
23546 * math/w_jn.c (jn): Likewise.
23547 (yn): Likewise.
23548 * math/w_jnf.c (jnf): Likewise.
23549 (ynf): Likewise.
23550 * math/w_jnl.c (__jnl): Likewise.
23551 (__ynl): Likewise.
23552 * math/libm-test.inc (j0_test): Add more tests.
23553 (j1_test): Likewise.
23554 (jn_test): Likewise. Add trailing semicolon to existing test.
23555 (y0_test): Likewise.
23556 (y1_test): Likewise.
23557 * sysdeps/i386/fpu/libm-test-ulps: Update.
23558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23559
23560 [BZ #13851]
23561 [BZ #13854]
23562 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23563 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23564 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23565 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23566 (__tanl): Set errno for infinite argument.
23567 * sysdeps/i386/fpu/mptan.c: Remove.
23568 * sysdeps/i386/fpu/s_tan.S: Likewise.
23569 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23570 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23571 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23572 * math/libm-test.inc (tan_test): Add more tests and enable more
23573 tests for double and long double.
23574 * sysdeps/i386/fpu/libm-test-ulps: Update.
23575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23576
23577 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23578
23579 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23580 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23581
23582 2012-03-16 Roland McGrath <roland@hack.frob.com>
23583
23584 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23585 * configure.in: Use it for both main tree and add-ons.
23586 * configure: Regenerated.
23587
23588 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23589
23590 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23591
23592 2012-03-16 Joseph Myers <joseph@codesourcery.com>
23593
23594 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23595 in comment.
23596
23597 [BZ #13851]
23598 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23599 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23600 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23601 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23602 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23603 infinite argument.
23604 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23606 != 0 for prec == 2.
23607 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23608 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23609 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23610 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23611 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23612 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23613 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23614 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23615 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23616 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23617 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23618 * math/libm-test.inc (cos_test): Add more tests and enable more
23619 tests for long double.
23620 (sin_test): Likewise.
23621 (sincos_test): Likewise.
23622 * sysdeps/i386/fpu/libm-test-ulps: Update.
23623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23624
23625 2012-03-16 David S. Miller <davem@davemloft.net>
23626
23627 * sysdeps/sparc/fpu/math_private.h: New file.
23628
23629 2012-03-15 David S. Miller <davem@davemloft.net>
23630
23631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23632 file.
23633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23635 file.
23636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23640 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23641 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23642 sysdep routines.
23643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23644
23645 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23646 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23647
23648 * sysdeps/sparc/sparc-ifunc.h: New file.
23649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23650 sparc-ifunc.h
23651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23653 Likewise.
23654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23655 Likewise.
23656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23660 Likewise.
23661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23666 Likewise.
23667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23668 Likewise.
23669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23673 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23675 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23676 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23677 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23678 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23684 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23685 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23686 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23687 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23688 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23689 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23690 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23691 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23692 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23693
23694 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23695
23696 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23697 scaling.
23698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23699
23700 2012-03-15 Andreas Jaeger <aj@suse.de>
23701
23702 [BZ #13852]
23703 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23704 ieee754/flt-32 implementation for sin, cos and sincos.
23705 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23706 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23707 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23708 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23709 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23710 ieee754/flt-32 implementation for tan.
23711
23712 * math/libm-test.inc (cos_test): Enable some large input tests for
23713 float as well
23714 (sin_test): Likewise.
23715 (sincos_test): Likewise.
23716 (tan_test): Add tests for large input.
23717
23718 * sysdeps/i386/fpu/libm-test-ulps: Update.
23719
23720 2012-03-15 Andreas Jaeger <aj@suse.de>
23721
23722 [BZ #13658]
23723 * math/libm-test.inc (cos_test): Add more test cases.
23724 (sin_test): Likewise.
23725 (sincos_test): Likewise.
23726
23727 2012-03-15 Andreas Jaeger <aj@suse.de>
23728
23729 [BZ #13837]
23730 * math/libm-test.inc (cos_test): Add a test case for large input
23731 value.
23732 (sin_test): Likewise.
23733 (sincos_test): Likewise.
23734
23735 2012-03-15 Andreas Jaeger <aj@suse.de>,
23736 Joseph Myers <joseph@codesourcery.com>
23737
23738 [BZ #13658]
23739 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23740 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23741 * sysdeps/i386/fpu/branred.c: Likewise.
23742 * sysdeps/i386/fpu/dosincos.c: Likewise.
23743 * sysdeps/i386/fpu/mpa.c: Likewise.
23744 * sysdeps/i386/fpu/s_cos.S: Likewise.
23745 * sysdeps/i386/fpu/s_sin.S: Likewise.
23746 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23747 * sysdeps/i386/fpu/sincos32.c: Likewise.
23748
23749 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23750 Define.
23751 (libc_feupdateenv_53bit): Define.
23752 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23753 Define.
23754 (libc_feupdateenv_53bit): Define.
23755
23756 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23757 53 bit (without extend i386 double precision).
23758
23759 * math/libm-test.inc (sincos_test): Add tests for large input.
23760 (sin): Likewise.
23761 (cos): Likewise.
23762
23763 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23764
23765 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23766
23767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23768
23769 2012-03-15 David S. Miller <davem@davemloft.net>
23770
23771 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23772 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23773 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23774 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23779 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23787 file.
23788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23790 file.
23791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23793 file.
23794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23796 file.
23797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23799 fmin/fmax sysdep routines.
23800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23801
23802 2012-03-14 David S. Miller <davem@davemloft.net>
23803
23804 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23805 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23808 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23809 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23810 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23811 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23815 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23816 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23817 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23818 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23824 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23825 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23826 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23827 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23828 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23829 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23830 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23831 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23832 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23833 routines.
23834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23835 file.
23836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23838 file.
23839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23841 file.
23842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23844 file.
23845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23847 file.
23848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23850 file.
23851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23852 file.
23853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23854 file.
23855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23856 file.
23857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23858 New file.
23859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23860 file.
23861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23862 file.
23863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23865 file.
23866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23868 file.
23869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23871 file.
23872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23874 VIS3 routines.
23875
23876 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23877 New file.
23878
23879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23880
23881 * sysdeps/sparc/configure.in: New file.
23882 * sysdeps/sparc/configure: Generate.
23883 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23884 * configure: Regenerate.
23885 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23886 * config.make.in (have-as-vis3): New.
23887 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23888 available use -Av9d instead of -Av9a.
23889 * sysdeps/sparc/sparc64/Makefile: Likewise.
23890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23892 New file.
23893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23894 file.
23895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23896 New file.
23897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23898 file.
23899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23900 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23901 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23903 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23904
23905 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23906 fzeros/fnegs to load 0x80000000 into a float register instead of
23907 using the stack.
23908 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23909
23910 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23911
23912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23913 bits/syscall.h.
23914 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23915 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23916 ($(inst_includedir)/bits/syscall.h): Remove rule.
23917 ($(objpfx)bits/syscall.d): Include instead of
23918 $(objpfx)syscall-list.d.
23919 (generated): Change syscall-list.h and syscall-list.d to
23920 bits/syscall.h and bits/syscall.d.
23921
23922 2012-03-14 Roland McGrath <roland@hack.frob.com>
23923
23924 [BZ #13846]
23925 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23926
23927 2012-03-14 Joseph Myers <joseph@codesourcery.com>
23928
23929 [BZ #13841]
23930 * math/s_csqrt.c: Include <float.h>.
23931 (__csqrt): Scale large or subnormal inputs.
23932 * math/s_csqrtf.c: Likewise.
23933 * math/s_csqrtl.c: Likewise.
23934 * math/libm-test.inc (csqrt_test): Add more tests.
23935 * sysdeps/i386/fpu/libm-test-ulps: Update.
23936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23937
23938 [BZ #13840]
23939 * math/libm-test.inc (hypot_test): Add more tests.
23940
23941 2012-03-13 David S. Miller <davem@davemloft.net>
23942
23943 [BZ #13840]
23944 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23945 double-precision for the calculation instead of scaling.
23946
23947 2012-03-13 Joseph Myers <joseph@codesourcery.com>
23948
23949 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23950 manipulate bits before adding and subtracting TWO52[sx].
23951 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23952 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23953 Likewise.
23954 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23955
23956 2012-03-13 David S. Miller <davem@davemloft.net>
23957
23958 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23959 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23960 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23961 rtld-global-offsets.h
23962 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23963
23964 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23965 large parameters.
23966
23967 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23968
23969 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23970 'err' in the ifdef scope in which it is actually used.
23971
23972 * nss/nss_db/db-init.c: Include string.h
23973
23974 2012-03-12 David S. Miller <davem@davemloft.net>
23975
23976 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23977 masking out of the most significant byte of random value used.
23978 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23979 Fix coding style in previous change.
23980
23981 * sysdeps/unix/sysv/linux/kernel-features.h
23982 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23983 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23984 expression.
23985 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23986 later.
23987
23988 2012-03-11 David S. Miller <davem@davemloft.net>
23989
23990 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23991 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23992 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23993 for 'resultvar' otherwise things get truncated on 64-bit.
23994
23995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23996 Fix masking out of the most significant byte of random value used.
23997
23998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23999
24000 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24001
24002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24003
24004 2012-03-09 David S. Miller <davem@davemloft.net>
24005
24006 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24007 variables with appropriate CPP guards.
24008 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24009 frame pointer, not the stack pointer. Correct layout comments. Fix test
24010 on resulting framesize and the management of the outregs buffer for pltexit.
24011 Preserve floating point return values across _dl_call_pltexit call.
24012 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24013 framesize and the management of the outregs buffer for pltexit.
24014 Preserve floating point return values across _dl_call_pltexit
24015 call.
24016 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24017 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24018 (print_exit): Fix format string for return register value.
24019
24020 2012-03-10 Joseph Myers <joseph@codesourcery.com>
24021
24022 * sunrpc/Makefile (others): Add rpcgen.
24023 ($(objpfx)rpcgen): Remove special build rule and dependency on
24024 libc.
24025 * sunrpc/rpcgen.c: New file.
24026
24027 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24028
24029 [BZ #13673]
24030 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24031 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24032 * sysdeps/i386/crti.S: Likewise.
24033 * sysdeps/i386/crtn.S: Likewise.
24034 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24035 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24036 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24037 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24038 * sysdeps/sh/crti.S: Likewise.
24039 * sysdeps/sh/crtn.S: Likewise.
24040 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24041
24042 [BZ #13673]
24043 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24044 with URL.
24045 * locale/programs/locfile-kw.gperf: Likewise.
24046 * locale/programs/charmap-kw.h: Regenerated.
24047 * locale/programs/locfile-kw.h: Likewise.
24048
24049 [BZ #13673]
24050 * intl/plural.y: Replace FSF snail mail address with URL.
24051 * intl/plural.c: Regenerated.
24052
24053 2012-03-09 Richard Henderson <rth@twiddle.net>
24054
24055 * include/math_private.h: Remove file.
24056 * math/math_private.h: Move file ...
24057 * sysdeps/generic/math_private.h: ... here.
24058
24059 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24060 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24061 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24062
24063 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
24064 and <math_private.h>.
24065 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24066 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24067 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24068 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24069 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24070 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24071 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24072 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24073 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24074 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24076 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24077 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24078 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24079 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24080 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24081 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24082 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24083 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24084 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24085 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24086 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24087 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24090 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24091 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24092 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24093 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24094 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24095 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24096 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24097 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24098 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24099 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24100 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24101 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24102 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24103 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24105 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24106 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24107 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24108 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24110 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24111 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24112 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24113 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24114 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24115 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24116 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24117 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24118 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24119 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24120 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24121 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24123 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24124 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24125 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24126 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24127 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24128 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24129 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24130 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24131 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24132 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24133 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24134 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24135 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24136 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24137 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24138 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24139 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24143 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24144 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24145 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24146 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24147 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24148 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24149 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24150 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24152 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24153 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24154 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24155 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24156 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24157 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24158 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24159 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24160 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24161 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24162 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24163 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24164 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24165 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24166 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24167 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24168 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24169 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24170 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24171 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24172 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24173 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24174 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24175 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24176 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24177 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24178 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24179 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24180 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24181 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24182 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24183 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24184 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24185 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24186 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24187 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24188 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24189 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24190 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24191 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24192 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24193 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24194 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24195 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24196 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24197 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24198 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24199 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24200 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24201 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24202 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24203 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24204 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24205 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24206 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24207 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24208 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24209 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24210 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24211 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24212 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24213 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24214 * sysdeps/ieee754/k_standard.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24224 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24225 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24229 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24232 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24236 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24242 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24243 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24244 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24246 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24248 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24252 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24265 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24267 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24269 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24270 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24276 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24277 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24278 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24279 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24280 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24284 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24288 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24289 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24291 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24297 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24298 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24299 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24301 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24302 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24303 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24304 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24305 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24306 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24307 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24308 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24309 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24310 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24311 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24312 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24315 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24316 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24317 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24318 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24319 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24320 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24321 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24322 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24323 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24324 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24325 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24326 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24327 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24328 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24329 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24331 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24332 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24333 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24334 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24335 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24336 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24337 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24338 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24339 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24340 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24341 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24342 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24343 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24347 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24351 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24352 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24353 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24357 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24358 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24359 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24360 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24361 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24362 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24363 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24364 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24365 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24366 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24367 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24368 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24369 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24370 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24371 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24372 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24373 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24374 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24375 * sysdeps/ieee754/s_lib_version.c: Likewise.
24376 * sysdeps/ieee754/s_matherr.c: Likewise.
24377 * sysdeps/ieee754/s_signgam.c: Likewise.
24378 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24379 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24380 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24381 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24382 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24383 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24384 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24385 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24386 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24387 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24388 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24389 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24390 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24391 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24392 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24393 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24394 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24395 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24396 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24397 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24398 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24399
24400 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24401
24402 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24403 * sunrpc/rpc_main.c: Likewise.
24404 * sunrpc/rpc_svcout.c: Likewise.
24405
24406 2012-03-09 David S. Miller <davem@davemloft.net>
24407
24408 * include/math_private.h: New file.
24409
24410 2012-03-09 Joseph Myers <joseph@codesourcery.com>
24411
24412 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24413 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24414 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24415 from <bits/socket_type.h>.
24416 (enum __socket_type): Don't define here.
24417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24418 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24419 bits/socket_type.h.
24420
24421 [BZ #13566]
24422 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24423 checking __USE_GNU.
24424
24425 * Makerules ($(inst_includedir)/%.h): New rule.
24426 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24427 (install-others): Remove variable setting.
24428 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24429
24430 2012-03-08 Richard Henderson <rth@twiddle.net>
24431
24432 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24433 from macro to inline function; merge with the
24434 !__LIBC_INTERNAL_MATH_INLINES version.
24435 (__ieee754_sqrtf): Likewise.
24436
24437 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24438 to inline function.
24439 (__rintf, __floor, __floorf): Likewise.
24440
24441 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24442 macro to inline function.
24443 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24444
24445 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24446 not <math/math_private.h>.
24447
24448 2012-03-08 David S. Miller <davem@davemloft.net>
24449
24450 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24451 copyright year.
24452 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24453
24454 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24455
24456 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24457 normalization.
24458 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24459 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24460
24461 2012-03-08 Ulrich Drepper <drepper@gmail.com>
24462
24463 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24464 be defined individually, they must be defined as a block. Define
24465 S for printing a string instead of hidint the different by using a
24466 macro for adding the 'l'.
24467 * stdio-common/tst-fphex-wide.c: Adjust.
24468
24469 2012-03-07 Marek Polacek <polacek@redhat.com>
24470
24471 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24472
24473 2012-03-08 Marek Polacek <polacek@redhat.com>
24474
24475 [BZ #13806]
24476 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24477 * stdio-common/tst-fphex.c: Define a few macros to make the
24478 test reusable. Use them.
24479 * stdio-common/tst-fphex-wide.c: New file.
24480
24481 2012-03-08 Joseph Myers <joseph@codesourcery.com>
24482
24483 [BZ #6911]
24484 * manual/macros.texi (gnusystems): New macro.
24485 (nongnusystems): Likewise.
24486 (gnulinuxhurdsystems): Likewise.
24487 (gnuhurdsystems): Likewise..
24488 (gnulinuxsystems): Likewise.
24489 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24490 variants of the GNU system, not "GNU system".
24491 * manual/conf.texi: Likewise.
24492 * manual/errno.texi: Likewise. Update example of errno macro
24493 expansion.
24494 * manual/filesys.texi: Likewise.
24495 (getumask): Document as specific to GNU/Hurd.
24496 * manual/install.texi: Likewise. Reword some references to
24497 GNU/Linux.
24498 * manual/intro.texi: Likewise.
24499 * manual/io.texi: Likewise.
24500 (File Name Portability): Detail which constraints are inapplicable
24501 to all GNU systems and which are only inapplicable to GNU/Hurd.
24502 * manual/job.texi: Likewise.
24503 * manual/llio.texi: Likewise.
24504 (O_NOCTTY): Document as present on GNU/Linux.
24505 * manual/maint.texi: Likewise.
24506 * manual/memory.texi: Likewise.
24507 * manual/pattern.texi: Likewise.
24508 * manual/pipe.texi: Likewise.
24509 * manual/process.texi: Likewise.
24510 * manual/resource.texi: Likewise.
24511 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24512 child on GNU/Hurd.
24513 * manual/setjmp.texi: Likewise.
24514 * manual/signal.texi: Likewise.
24515 * manual/startup.texi: Likewise.
24516 * manual/stdio.texi: Likewise.
24517 * manual/terminal.texi: Likewise.
24518 (ONLCR): Document as POSIX.
24519 (OXTABS): Document availability on GNU/Linux as XTABS.
24520 (ONOEOT): Document availability separately from other bits.
24521 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24522 * manual/time.texi: Likewise.
24523 * manual/users.texi: Likewise.
24524 * INSTALL: Regenerated.
24525 * sysdeps/gnu/errlist.c: Regenerated.
24526
24527 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24528 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24529 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24530 puts.
24531 * configure: Regenerated.
24532
24533 2012-03-07 Joseph Myers <joseph@codesourcery.com>
24534
24535 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24536 default includes instead of AC_HEADER_CHECK.
24537 * sysdeps/i386/configure: Regenerated.
24538
24539 [BZ #10716]
24540 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24541 * math/s_cacoshf.c (__cacoshf): Likewise.
24542 * math/s_cacoshl.c (__cacoshl): Likewise.
24543 * math/s_casinh.c (__casinh): Set signs of result from argument.
24544 * math/s_casinhf.c (__casinhf): Likewise.
24545 * math/s_casinhl.c (__casinhl): Likewise.
24546 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24547 (casinh_test): Add more tests.
24548 * sysdeps/i386/fpu/libm-test-ulps: Update.
24549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24550
24551 2012-03-07 Ulrich Drepper <drepper@gmail.com>
24552
24553 * po/zh_TW.po: Update from translation team.
24554
24555 * login/Makefile (distribute): Remove variable.
24556 * catgets/Makefile: Likewise.
24557 * mach/Makefile: Likewise.
24558 * malloc/Makefile: Likewise.
24559 * misc/Makefile: Likewise.
24560 * iconv/Makefile: Likewise.
24561 * nscd/Makefile: Likewise.
24562 * hurd/Makefile: Likewise.
24563 * manual/Makefile: Likewise.
24564 * locale/Makefile: Likewise.
24565 * intl/Makefile: Likewise.
24566 * conform/Makefile: Likewise.
24567 * nss/Makefile: Likewise.
24568 * time/Makefile: Likewise.
24569 * soft-fp/Makefile: Likewise.
24570 * dirent/Makefile: Likewise.
24571 * gmon/Makefile: Likewise.
24572 * po/Makefile: Likewise.
24573 * rt/Makefile: Likewise.
24574 * socket/Makefile: Likewise.
24575 * math/Makefile: Likewise.
24576 * signal/Makefile: Likewise.
24577 * debug/Makefile: Likewise.
24578 * elf/Makefile: Likewise.
24579 * timezone/Makefile: Likewise.
24580 * stdlib/Makefile: Likewise.
24581 * iconvdata/Makefile: Likewise.
24582 * sunrpc/Makefile: Likewise.
24583 * io/Makefile: Likewise.
24584 * argp/Makefile: Likewise.
24585 * inet/Makefile: Likewise.
24586 * hesiod/Makefile: Likewise.
24587 * grp/Makefile: Likewise.
24588 * csu/Makefile: Likewise.
24589 * wctype/Makefile: Likewise.
24590 * crypt/Makefile: Likewise.
24591 * libio/Makefile: Likewise.
24592 * string/Makefile: Likewise.
24593 * nis/Makefile: Likewise.
24594 * resolv/Makefile: Likewise.
24595 * stdio-common/Makefile: Likewise.
24596 * wcsmbs/Makefile: Likewise.
24597 * dlfcn/Makefile: Likewise.
24598 * posix/Makefile: Likewise.
24599
24600 [BZ #6959]
24601 * timezone/Makefile: Don't install timezone files, just the programs
24602 and scripts.
24603
24604 2012-03-06 Ulrich Drepper <drepper@gmail.com>
24605
24606 * nss/databases.def: Add missing gshadow entry.
24607
24608 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24609
24610 2012-03-06 Marek Polacek <polacek@redhat.com>
24611
24612 [BZ #13726]
24613 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24614 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24615 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24616 * stdio-common/tst-long-dbl-fphex.c: New file.
24617
24618 2012-03-06 David S. Miller <davem@davemloft.net>
24619
24620 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24621 (set_obp_int): New function.
24622 (get_obp_int): New function.
24623 (__get_clockfreq_via_dev_openprom): Likewise.
24624 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24625 Avoid unused variable warnings on 'val' and use builtin_expect.
24626 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24627 __builtin_expect.
24628 (INLINE_CLONE_SYSCALL): Likewise.
24629
24630 2012-03-05 David S. Miller <davem@davemloft.net>
24631
24632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24633
24634 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24635
24636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24637
24638 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24639 only for |x| >= 40.
24640 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24641
24642 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
24643
24644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24645 Replace gettimeofday with __vdso_gettimeofday.
24646
24647 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24648 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24649 __vdso_clock_gettime and __vdso_getcpu.
24650
24651 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24652 time with __vdso_time.
24653
24654 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24655
24656 * manual/lang.texi (size_t): Note types to which size_t may be
24657 equivalent with the GNU C Library, but do not describe when
24658 differences between them are significant.
24659
24660 2012-03-05 Andreas Jaeger <aj@suse.de>
24661
24662 * sysdeps/i386/fpu/libm-test-ulps: Update.
24663
24664 2012-03-05 Joseph Myers <joseph@codesourcery.com>
24665
24666 [BZ #3976]
24667 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24668 (__ieee754_pow): Save and restore rounding mode and use
24669 round-to-nearest for main computations.
24670 * math/libm-test.inc (pow_test_tonearest): New function.
24671 (pow_test_towardzero): Likewise.
24672 (pow_test_downward): Likewise.
24673 (pow_test_upward): Likewise.
24674 (main): Call the new functions.
24675 * sysdeps/i386/fpu/libm-test-ulps: Update.
24676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24677
24678 [BZ #3976]
24679 * math/libm-test.inc (cosh_test_tonearest): New function.
24680 (cosh_test_towardzero): Likewise.
24681 (cosh_test_downward): Likewise.
24682 (cosh_test_upward): Likewise.
24683 (sinh_test_tonearest): Likewise.
24684 (sinh_test_towardzero): Likewise.
24685 (sinh_test_downward): Likewise.
24686 (sinh_test_upward): Likewise.
24687 (main): Call the new functions.
24688 * sysdeps/i386/fpu/libm-test-ulps: Update.
24689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24690
24691 2012-03-05 Tom de Vries <tom@codesourcery.com>
24692
24693 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24694 default stack guard is set in last bytes.
24695 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24696
24697 2012-03-05 Kees Cook <keescook@chromium.org>
24698
24699 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24700
24701 [BZ #13656]
24702 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24703 possibly allocate from heap instead of stack.
24704 * stdio-common/bug-vfprintf-nargs.c: New file.
24705 * stdio-common/Makefile (tests): Add nargs overflow test.
24706
24707 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24708
24709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24710
24711 2012-03-03 Marek Polacek <polacek@redhat.com>
24712
24713 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24714 * math/math_private.h: Likewise.
24715 * stdlib/tst-strtod.c: Likewise.
24716 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24717 * sysdeps/x86_64/bits/atomic.h: Likewise.
24718
24719 2012-03-02 David S. Miller <davem@davemloft.net>
24720
24721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24725 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24726 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24727 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24728 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24729
24730 2012-03-02 Roland McGrath <roland@hack.frob.com>
24731
24732 [BZ #13792]
24733 * manual/examples/README: New file, says the example source files
24734 can be used under GPL>=2.
24735 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24736 line containing just "*/".
24737 * manual/examples/add.c: Add copyright header (GPL>=2).
24738 * manual/examples/argp-ex1.c: Likewise.
24739 * manual/examples/argp-ex2.c: Likewise.
24740 * manual/examples/argp-ex3.c: Likewise.
24741 * manual/examples/argp-ex4.c: Likewise.
24742 * manual/examples/atexit.c: Likewise.
24743 * manual/examples/db.c: Likewise.
24744 * manual/examples/dir.c: Likewise.
24745 * manual/examples/dir2.c: Likewise.
24746 * manual/examples/execinfo.c: Likewise.
24747 * manual/examples/filecli.c: Likewise.
24748 * manual/examples/filesrv.c: Likewise.
24749 * manual/examples/fmtmsgexpl.c: Likewise.
24750 * manual/examples/genpass.c: Likewise.
24751 * manual/examples/inetcli.c: Likewise.
24752 * manual/examples/inetsrv.c: Likewise.
24753 * manual/examples/isockad.c: Likewise.
24754 * manual/examples/longopt.c: Likewise.
24755 * manual/examples/memopen.c: Likewise.
24756 * manual/examples/memstrm.c: Likewise.
24757 * manual/examples/mkfsock.c: Likewise.
24758 * manual/examples/mkisock.c: Likewise.
24759 * manual/examples/mygetpass.c: Likewise.
24760 * manual/examples/pipe.c: Likewise.
24761 * manual/examples/popen.c: Likewise.
24762 * manual/examples/rprintf.c: Likewise.
24763 * manual/examples/search.c: Likewise.
24764 * manual/examples/select.c: Likewise.
24765 * manual/examples/setjmp.c: Likewise.
24766 * manual/examples/sigh1.c: Likewise.
24767 * manual/examples/sigusr.c: Likewise.
24768 * manual/examples/stpcpy.c: Likewise.
24769 * manual/examples/strdupa.c: Likewise.
24770 * manual/examples/strftim.c: Likewise.
24771 * manual/examples/strncat.c: Likewise.
24772 * manual/examples/subopt.c: Likewise.
24773 * manual/examples/swapcontext.c: Likewise.
24774 * manual/examples/termios.c: Likewise.
24775 * manual/examples/testopt.c: Likewise.
24776 * manual/examples/testpass.c: Likewise.
24777 * manual/examples/timeval_subtract.c: Likewise.
24778
24779 [BZ #13792]
24780 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24781 function to ...
24782 * manual/timeval_subtract.c.texi: ... here, new file.
24783
24784 2012-03-02 David S. Miller <davem@davemloft.net>
24785
24786 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24787
24788 2012-03-02 Joseph Myers <joseph@codesourcery.com>
24789
24790 [BZ #3976]
24791 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24792 (__sin): Save and restore rounding mode and use round-to-nearest
24793 for all computations.
24794 (__cos): Save and restore rounding mode and use round-to-nearest
24795 for all computations.
24796 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24797 <fenv.h>.
24798 (tan): Save and restore rounding mode and use round-to-nearest for
24799 all computations.
24800 * math/libm-test.inc (cos_test_tonearest): New function.
24801 (cos_test_towardzero): Likewise.
24802 (cos_test_downward): Likewise.
24803 (cos_test_upward): Likewise.
24804 (sin_test_tonearest): Likewise.
24805 (sin_test_towardzero): Likewise.
24806 (sin_test_downward): Likewise.
24807 (sin_test_upward): Likewise.
24808 (tan_test_tonearest): Likewise.
24809 (tan_test_towardzero): Likewise.
24810 (tan_test_downward): Likewise.
24811 (tan_test_upward): Likewise.
24812 (main): Call the new functions.
24813 * sysdeps/i386/fpu/libm-test-ulps: Update.
24814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24815
24816 [BZ #10135]
24817 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24818 small n, then large n, before computing and testing k+n.
24819 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24821 Likewise.
24822 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24823 Likewise.
24824 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24825 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24826 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24827 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24828 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24829 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24830 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24831 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24832 * math/libm-test.inc (scalbn_test): Add more tests.
24833 (scalbln_test): Likewise.
24834
24835 * manual/filesys.texi (mode_t): Describe constraints on size and
24836 signedness, not exact equivalence to a particular type.
24837 (ino_t): Likewise.
24838 (ino64_t): Likewise.
24839 (dev_t): Likewise.
24840 (nlink_t): Likewise.
24841 (blkcnt_t): Likewise.
24842 (blkcnt64_t): Likewise.
24843 * manual/llio.texi (off_t): Likewise.
24844
24845 [BZ #3976]
24846 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24847 (__ieee754_exp): Save and restore rounding mode and use
24848 round-to-nearest for all computations.
24849 * math/libm-test.inc (exp_test_tonearest): New function.
24850 (exp_test_towardzero): Likewise.
24851 (exp_test_downward): Likewise.
24852 (exp_test_upward): Likewise.
24853 (main): Call the new functions.
24854 * sysdeps/i386/fpu/libm-test-ulps: Update.
24855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24856
24857 2012-03-01 Chris Demetriou <cgd@google.com>
24858
24859 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24860 have predictable order.
24861
24862 2012-03-01 David S. Miller <davem@davemloft.net>
24863
24864 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24865
24866 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24867 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24868 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24869 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24870
24871 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24872 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24873 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24875 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24876 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24877 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24878 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24879 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24880
24881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24882
24883 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24884 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24886
24887 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24888 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24889 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24890 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24891 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24892 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24893 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24894 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24895 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24896 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24897 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24898 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24900 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24901 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24902 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24903 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24904 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24905 * sysdeps/sparc/elf/configure: Regenerated.
24906
24907 2012-03-01 Joseph Myers <joseph@codesourcery.com>
24908
24909 * configure.in (AS, LD): Require binutils 2.20 or later.
24910 * configure: Regenerated.
24911 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24912 as required minimum version.
24913 * INSTALL: Regenerated.
24914
24915 [BZ #2541]
24916 [BZ #4108]
24917 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24918 before squaring exponent.
24919 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24920 bottom long double and 27 bits of top long double before squaring
24921 exponent.
24922 * math/libm-test.inc (erfc_test): Add more tests.
24923 * sysdeps/i386/fpu/libm-test-ulps: Update.
24924 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24926
24927 2012-03-01 Kai Tietz <ktietz@redhat.com>
24928
24929 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24930 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24931 containing bit-fields.
24932 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24933 * soft-fp/single.h (_FP_UNION_S): Likewise.
24934 * soft-fp/double.h (_FP_UNION_D): Likewise.
24935
24936 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24937
24938 [BZ #13786]
24939 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24940 not include ../strcmp.S.
24941 [USE_AS_STRNCASECMP_L]: Likewise.
24942 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24943 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24944 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24945 (__strncasecmp_l_ia32): Define as alias to
24946 __strncasecmp_l_nonascii.
24947
24948 [BZ #5794]
24949 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24950 * sysdeps/i386/fpu/libm-test-ulps: Update.
24951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24952
24953 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24955
24956 2012-02-29 Jeff Law <law@redhat.com>
24957
24958 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24959 out of bounds read.
24960
24961 2012-02-29 Marek Polacek <polacek@redhat.com>
24962
24963 [BZ #13706]
24964 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24965 * elf/Makefile: Add rules to run tst-unused-dep.out.
24966
24967 2012-02-28 David S. Miller <davem@davemloft.net>
24968
24969 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24970 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24971 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24972 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24973 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24974 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24975
24976 2012-02-29 Joseph Myers <joseph@codesourcery.com>
24977
24978 * math/libm-test.inc (llround_test): Move one test from
24979 lround_test. Use TEST_f_L in moved test.
24980 (lround_test): Move misplaced test to llround_test. Add testcase
24981 from bug 2561.
24982
24983 2012-02-28 Ulrich Drepper <drepper@gmail.com>
24984
24985 * sysdeps/x86_64/fpu/e_expf.S: New file.
24986 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24987
24988 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24989
24990 [BZ #13637]
24991 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24992 of remain_len that may cause incomplete multi-byte character and
24993 false match.
24994 * posix/bug-regex33.c: New file.
24995 * posix/Makefile (tests): Add bug-regex33.
24996
24997 2012-02-28 Joseph Myers <joseph@codesourcery.com>
24998
24999 * manual/macros.texi: New file.
25000 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25001 * manual/libc.texinfo: Include macros.texi.
25002 * manual/creatute.texi: Likewise.
25003 * manual/install.texi: Likewise.
25004 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25005 @glibcadj{} in references to the GNU C Library.
25006 * manual/charset.texi: Likewise.
25007 * manual/conf.texi: Likewise.
25008 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25009 when not using those macros.
25010 * manual/creature.texi: Likewise.
25011 * manual/crypt.texi: Likewise.
25012 * manual/errno.texi: Likewise.
25013 * manual/filesys.texi: Likewise.
25014 * manual/header.texi: Likewise.
25015 * manual/install.texi: Likewise.
25016 * manual/intro.texi: Likewise.
25017 * manual/io.texi: Likewise.
25018 * manual/job.texi: Likewise.
25019 * manual/lang.texi: Likewise.
25020 * manual/libc.texiinfo: Likewise.
25021 * manual/llio.texi: Likewise.
25022 * manual/locale.texi: Likewise.
25023 * manual/maint.texi: Likewise.
25024 * manual/math.texi: Likewise.
25025 * manual/memory.texi: Likewise.
25026 * manual/message.texi: Likewise.
25027 * manual/nss.texi: Likewise.
25028 * manual/pattern.texi: Likewise.
25029 * manual/process.texi: Likewise.
25030 * manual/resource.texi: Likewise.
25031 * manual/search.texi: Likewise.
25032 * manual/setjmp.texi: Likewise.
25033 * manual/signal.texi: Likewise.
25034 * manual/socket.texi: Likewise.
25035 * manual/startup.texi: Likewise.
25036 * manual/stdio.texi: Likewise.
25037 * manual/string.texi: Likewise.
25038 * manual/sysinfo.texi: Likewise.
25039 * manual/syslog.texi: Likewise.
25040 * manual/terminal.texi: Likewise.
25041 * manual/time.texi: Likewise.
25042 * manual/users.texi: Likewise.
25043 * INSTALL: Regenerated.
25044 * NOTES: Regenerated.
25045 * sysdeps/gnu/errlist.c: Regenerated.
25046
25047 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25048
25049 * include/dirent.h: Include <dirstream.h> before
25050 <dirent/dirent.h>.
25051
25052 2012-02-28 David S. Miller <davem@davemloft.net>
25053
25054 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25055 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25056 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25057 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25058
25059 2012-02-27 David S. Miller <davem@davemloft.net>
25060
25061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25063 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25064 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25065
25066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25067 frame pointer instead of stack pointer relative arg slot.
25068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25069 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25070 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25071
25072 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25073
25074 [BZ #3992]
25075 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25076
25077 2012-02-27 David S. Miller <davem@davemloft.net>
25078
25079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25083 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25084 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25085 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25086 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25087
25088 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25089
25090 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25091 later. Allow versions 5-9.
25092 * configure: Regenerated.
25093 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25094 required minimum version and 4.6 as recommended version. Do not
25095 mention bugs in GCC 2.7 and 2.8.
25096 * INSTALL: Regenerated.
25097
25098 2012-02-27 David S. Miller <davem@davemloft.net>
25099
25100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25104 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25105 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25106 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25107 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25108
25109 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25110 manipulate bits before adding and subtracting TWO112[sx].
25111 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25112
25113 2012-02-27 Roland McGrath <roland@hack.frob.com>
25114
25115 [BZ #13775]
25116 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25117 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25118 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25119 being in POSIX, because they are in 1003.1-2008.
25120
25121 * rt/tst-aio.c: Include <fcntl.h>.
25122 * rt/tst-aio7.c: Likewise.
25123 * rt/tst-aio64.c: Likewise.
25124
25125 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25126
25127 2012-02-27 Joseph Myers <joseph@codesourcery.com>
25128
25129 * manual/install.texi (--with-headers): Describe headers as
25130 interface headers, not private headers.
25131 (Specific advice for GNU/Linux systems): Describe use of headers
25132 from "make headers_install", not private headers from older
25133 kernels.
25134 * INSTALL: Regenerated.
25135 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25136 Change to 2.6.19.
25137 * sysdeps/unix/sysv/linux/configure: Regenerated.
25138
25139 * manual/llio.texi (fclean): Remove documentation.
25140
25141 * manual/Makefile (libc-texi-generated): New variable. Include
25142 version.texi.
25143 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25144 $(libc-texi-generated), not duplicated list of files.
25145 (version.texi, stamp-version): New rules.
25146 (realclean): Remove $(libc-texi-generated), not individual files
25147 from that list. Do not remove dir-add.texinfo.
25148 * manual/libc.texinfo: Comment out uses of edition numbers and
25149 references to printed manual. Remove last-updated dates.
25150 (EDITION): Comment out.
25151 (ISBN): Likewise.
25152 (VERSION, UPDATED): Remove.
25153 (version.texi): Include.
25154
25155 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25156
25157 * sysdeps/posix/spawni.c: Include <signal.h>.
25158 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25159 * sysdeps/pthread/aio_fsync.c: Likewise.
25160
25161 2012-02-26 Ulrich Drepper <drepper@gmail.com>
25162
25163 * conform/Makefile (tests): Run only when not cross-compiling and
25164 when fast-check is not defined.
25165
25166 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25167 * conform/data/limits.h-data: Fixes for POSIX2008.
25168 * conform/run-conformtest.sh: Run all tests.
25169 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25170 headers.
25171 * include/bits/dlfcn.h: Likewise.
25172 * include/langinfo.h: Likewise.
25173 * include/monetary.h: Likewise.
25174 * include/sys/poll.h: Likewise.
25175
25176 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25177 for __USE_GNU.
25178 * posix/spawn.h: Define __need_sigset_t.
25179 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25180 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25181 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25182 to get sigevent_t only.
25183 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25184 only for __USE_GNU.
25185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25186 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25187 process_vm_writev only for __USE_GNU.
25188 * termios/termios.h: Declare tcgetsid also for POSIX2008.
25189
25190 * conform/Makefile: For now ignore errors from run-conformtest.
25191 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25192 POSIX to avoid namespace pollution. Don't prepend headers.
25193 * conform/data/aio.h-data: Fixes for POSIX testing.
25194 * conform/data/fcntl.h-data: Likewise.
25195 * conform/data/glob.h-data: Likewise.
25196 * conform/data/grp.h-data: Likewise.
25197 * conform/data/pthread.h-data: Likewise.
25198 * conform/data/pwd.h-data: Likewise.
25199 * conform/data/signal.h-data: Likewise.
25200 * conform/data/spawn.h-data: Likewise.
25201 * conform/data/stdio.h-data: Likewise.
25202 * conform/data/stdlib.h-data: Likewise.
25203 * conform/data/stropts.h-data: Likewise.
25204 * conform/data/sys/mman.h-data: Likewise.
25205 * conform/data/sys/stat.h-data: Likewise.
25206 * conform/data/sys/types.h-data: Likewise.
25207 * conform/data/sys/wait.h-data: Likewise.
25208 * conform/data/time.h-data: Likewise.
25209 * conform/data/unistd.h-data: Likewise.
25210 * conform/data/utime.h-data: Likewise.
25211
25212 * io/sys/stat.h: fchmod was always in POSIX.
25213 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25214 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25215 * rt/aio.h: Define __need_timespec before including <time.h>.
25216 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25217 struct. Add forward declaration of pthread_attr_t and use it in
25218 sigevent.
25219 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25220 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25221 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25222 always remove CLK_TCK definition.
25223
25224 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25225
25226 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25227
25228 2012-02-25 Ulrich Drepper <drepper@gmail.com>
25229
25230 * conform/run-conformtest.sh: New file.
25231 * conform/Makefile: Run run-conformtest for tests.
25232 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25233 support.
25234
25235 * conform/data/uchar.h-data: New file.
25236 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25237 * conform/data/arpa/inet.h-data: Likewise.
25238 * conform/data/assert.h-data: Likewise.
25239 * conform/data/complex.h-data: Likewise.
25240 * conform/data/cpio.h-data: Likewise.
25241 * conform/data/ctype.h-data: Likewise.
25242 * conform/data/dirent.h-data: Likewise.
25243 * conform/data/dlfcn.h-data: Likewise.
25244 * conform/data/errno.h-data: Likewise.
25245 * conform/data/fcntl.h-data: Likewise.
25246 * conform/data/float.h-data: Likewise.
25247 * conform/data/fmtmsg.h-data: Likewise.
25248 * conform/data/fnmatch.h-data: Likewise.
25249 * conform/data/ftw.h-data: Likewise.
25250 * conform/data/glob.h-data: Likewise.
25251 * conform/data/grp.h-data: Likewise.
25252 * conform/data/iconv.h-data: Likewise.
25253 * conform/data/inttypes.h-data: Likewise.
25254 * conform/data/langinfo.h-data: Likewise.
25255 * conform/data/libgen.h-data: Likewise.
25256 * conform/data/limits.h-data: Likewise.
25257 * conform/data/locale.h-data: Likewise.
25258 * conform/data/math.h-data: Likewise.
25259 * conform/data/monetary.h-data: Likewise.
25260 * conform/data/mqueue.h-data: Likewise.
25261 * conform/data/ndbm.h-data: Likewise.
25262 * conform/data/net/if.h-data: Likewise.
25263 * conform/data/netdb.h-data: Likewise.
25264 * conform/data/netinet/in.h-data: Likewise.
25265 * conform/data/nl_types.h-data: Likewise.
25266 * conform/data/poll.h-data: Likewise.
25267 * conform/data/pthread.h-data: Likewise.
25268 * conform/data/pwd.h-data: Likewise.
25269 * conform/data/regex.h-data: Likewise.
25270 * conform/data/sched.h-data: Likewise.
25271 * conform/data/search.h-data: Likewise.
25272 * conform/data/semaphore.h-data: Likewise.
25273 * conform/data/setjmp.h-data: Likewise.
25274 * conform/data/signal.h-data: Likewise.
25275 * conform/data/spawn.h-data: Likewise.
25276 * conform/data/stdarg.h-data: Likewise.
25277 * conform/data/stdio.h-data: Likewise.
25278 * conform/data/stdlib.h-data: Likewise.
25279 * conform/data/string.h-data: Likewise.
25280 * conform/data/strings.h-data: Likewise.
25281 * conform/data/stropts.h-data: Likewise.
25282 * conform/data/sys/ipc.h-data: Likewise.
25283 * conform/data/sys/mman.h-data: Likewise.
25284 * conform/data/sys/msg.h-data: Likewise.
25285 * conform/data/sys/resource.h-data: Likewise.
25286 * conform/data/sys/select.h-data: Likewise.
25287 * conform/data/sys/sem.h-data: Likewise.
25288 * conform/data/sys/shm.h-data: Likewise.
25289 * conform/data/sys/socket.h-data: Likewise.
25290 * conform/data/sys/stat.h-data: Likewise.
25291 * conform/data/sys/statvfs.h-data: Likewise.
25292 * conform/data/sys/time.h-data: Likewise.
25293 * conform/data/sys/timeb.h-data: Likewise.
25294 * conform/data/sys/times.h-data: Likewise.
25295 * conform/data/sys/types.h-data: Likewise.
25296 * conform/data/sys/uio.h-data: Likewise.
25297 * conform/data/sys/un.h-data: Likewise.
25298 * conform/data/sys/utsname.h-data: Likewise.
25299 * conform/data/sys/wait.h-data: Likewise.
25300 * conform/data/syslog.h-data: Likewise.
25301 * conform/data/tar.h-data: Likewise.
25302 * conform/data/termios.h-data: Likewise.
25303 * conform/data/utime.h-data: Likewise.
25304 * conform/data/utmpx.h-data: Likewise.
25305 * conform/data/varargs.h-data: Likewise.
25306 * conform/data/wchar.h-data: Likewise.
25307 * conform/data/wctype.h-data: Likewise.
25308 * conform/data/wordexp.h-data: Likewise.
25309
25310 * include/stropts.h: New file.
25311 * include/uchar.h: New file.
25312 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25313 * include/assert.h: Likewise.
25314 * include/ctype.h: Likewise.
25315 * include/dirent.h: Likewise.
25316 * include/dlfcn.h: Likewise.
25317 * include/fcntl.h: Likewise.
25318 * include/fnmatch.h: Likewise.
25319 * include/glob.h: Likewise.
25320 * include/grp.h: Likewise.
25321 * include/libio.h: Likewise.
25322 * include/locale.h: Likewise.
25323 * include/math.h: Likewise.
25324 * include/net/if.h: Likewise.
25325 * include/netdb.h: Likewise.
25326 * include/netinet/in.h: Likewise.
25327 * include/pthread.h: Likewise.
25328 * include/pwd.h: Likewise.
25329 * include/regex.h: Likewise.
25330 * include/sched.h: Likewise.
25331 * include/search.h: Likewise.
25332 * include/setjmp.h: Likewise.
25333 * include/signal.h: Likewise.
25334 * include/stdio.h: Likewise.
25335 * include/stdlib.h: Likewise.
25336 * include/string.h: Likewise.
25337 * include/sys/cdefs.h: Likewise.
25338 * include/sys/mman.h: Likewise.
25339 * include/sys/msg.h: Likewise.
25340 * include/sys/resource.h: Likewise.
25341 * include/sys/select.h: Likewise.
25342 * include/sys/socket.h: Likewise.
25343 * include/sys/stat.h: Likewise.
25344 * include/sys/statvfs.h: Likewise.
25345 * include/sys/time.h: Likewise.
25346 * include/sys/times.h: Likewise.
25347 * include/sys/uio.h: Likewise.
25348 * include/sys/utsname.h: Likewise.
25349 * include/sys/wait.h: Likewise.
25350 * include/termios.h: Likewise.
25351 * include/time.h: Likewise.
25352 * include/ulimit.h: Likewise.
25353 * include/unistd.h: Likewise.
25354 * include/utime.h: Likewise.
25355 * include/wchar.h: Likewise.
25356 * include/wctype.h: Likewise.
25357 * include/wordexp.h: Likewise.
25358
25359 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25360
25361 * time/time.h: TIME_UTC must be a macro.
25362 Make timespec_get available for ISO C11 only as well.
25363
25364 2012-02-24 Ulrich Drepper <drepper@gmail.com>
25365
25366 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25367 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25368
25369 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25370
25371 * configure.in: Use -o not -a in test for unsupported multi-arch.
25372
25373 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25374
25375 * manual/texinfo.tex: Update to version 2012-01-19.16.
25376
25377 2012-02-24 Joseph Myers <joseph@codesourcery.com>
25378
25379 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25380
25381 2012-02-24 Roland McGrath <roland@hack.frob.com>
25382
25383 [BZ #13738]
25384 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25385 * manual/fdl-1.3.texi: New file.
25386 * manual/fdl-1.1.texi: File removed.
25387
25388 [BZ #13738]
25389 * manual/libc.texinfo (FDL_VERSION): New @set.
25390 Use it for mention of FDL in cover text.
25391 (Documentation License): Use it in @include file name.
25392
25393 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25394 Roland McGrath <roland@hack.frob.com>
25395
25396 [BZ #5461]
25397 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25398 not LONG_LONG_MAX and LONG_LONG_MIN.
25399 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25400 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25401 name.
25402 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25403
25404 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25405
25406 [BZ #2547]
25407 [BZ #11365]
25408 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25409 manipulate bits before adding and subtracting TWO23[sx].
25410 * math/libm-test.inc (nearbyint_test): Add more tests.
25411
25412 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25413
25414 [BZ #2548]
25415 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25416 bits before adding and subtracting TWO23[sx].
25417 * math/libm-test.inc (rint_test): Add more tests.
25418 (rint_test_tonearest): Likewise.
25419 (rint_test_towardzero): Likewise.
25420 (rint_test_downward): Likewise.
25421 (rint_test_upward: Likewise.
25422
25423 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25424
25425 [BZ #10110]
25426 * include/stdc-predef.h: New file. Extracted from features.h.
25427 * include/features.h: Include stdc-predef.h.
25428 * Makefile (headers): Add stdc-predef.h.
25429 * CONFORMANCE (Compiler limitations): Update.
25430
25431 2012-02-22 Joseph Myers <joseph@codesourcery.com>
25432
25433 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25434
25435 2012-02-21 David S. Miller <davem@davemloft.net>
25436
25437 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25438 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25439
25440 2012-02-20 David S. Miller <davem@davemloft.net>
25441
25442 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25443 using a normal save/restore sequence, rather than allocating a
25444 dummy stack frame just to store a frame pointer and restore.
25445 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25446
25447 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25448
25449 * manual/install.texi: Fix stray word in line-wrapped comment.
25450
25451 2012-02-20 David S. Miller <davem@davemloft.net>
25452
25453 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25454 both binutils and gcc support GOTDATA.
25455
25456 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25457 "rd %pc" in the PIC register setup sequences.
25458
25459 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25460 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25461 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25462 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25463 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25464 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25465 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25466 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25467 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25468 (SYSCALL_ERROR_HANDLER): Likewise.
25469 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25470 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25471 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25472 (SYSCALL_ERROR_HANDLER): Likewise.
25473
25474 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25475 (HAVE_GCC_GOTDATA): New.
25476 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25477 relocation support in both binutils and gcc.
25478 * sysdeps/sparc/elf/configure: Regenerate.
25479
25480 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25481 * sysdeps/sparc/sparc32/elf/configure: Delete.
25482 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25483 * sysdeps/sparc/sparc64/elf/configure: Delete.
25484 * sysdeps/sparc/elf/configure.in: New file.
25485 * sysdeps/sparc/elf/configure: Generate.
25486
25487 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25488 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25489 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25490 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25491 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25492
25493 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25494
25495 * manual/install.texi: Do not mention specific glibc version
25496 numbers.
25497 * manual/libc.texinfo (VERSION, UPDATED): Update.
25498 (@copying): Use @copyright{} and range of years.
25499
25500 2012-02-21 Joseph Myers <joseph@codesourcery.com>
25501
25502 [BZ #13695]
25503 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25504 [crti.S not in sysdirs] (generated): Do not append.
25505 [crti.S not in sysdirs] (omit-deps): Likewise.
25506 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25507 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25508 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25509 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25510 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25511 Likewise.
25512 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25513 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25514 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25515 * csu/defs.awk: Remove file.
25516 * sysdeps/generic/initfini.c: Likewise.
25517 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25518 variable.
25519 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25520 Likewise.
25521
25522 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25523
25524 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25525 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25526 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25527 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25528 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25529 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25530 <bits/epoll.h>.
25531 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25532 (__EPOLL_PACKED): Define to empty if not defined by
25533 <bits/epoll.h>.
25534 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25536 bits/epoll.h.
25537
25538 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25539
25540 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25541 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25542 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25543 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25544 <bits/timerfd.h>.
25545 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25546 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25547 bits/timerfd.h.
25548
25549 2012-02-20 Joseph Myers <joseph@codesourcery.com>
25550
25551 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25552 in C locale.
25553 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25554 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25555 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25557
25558 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25559
25560 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25561 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25562
25563 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25564
25565 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25566 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25567 defined.
25568 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25569 Likewise.
25570 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25571 entry for 2.16.
25572
25573 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25574
25575 * math/w_acos.c: Use non-signaling floating-point comparisons.
25576 * math/w_acosf.c: Likewise.
25577 * math/w_acosh.c: Likewise.
25578 * math/w_acoshf.c: Likewise.
25579 * math/w_acoshl.c: Likewise.
25580 * math/w_acosl.c: Likewise.
25581 * math/w_asin.c: Likewise.
25582 * math/w_asinf.c: Likewise.
25583 * math/w_asinl.c: Likewise.
25584 * math/w_atanh.c: Likewise.
25585 * math/w_atanhf.c: Likewise.
25586 * math/w_atanhl.c: Likewise.
25587 * math/w_exp2.c: Likewise.
25588 * math/w_exp2f.c: Likewise.
25589 * math/w_exp2l.c: Likewise.
25590 * math/w_j0.c: Likewise.
25591 * math/w_j0f.c: Likewise.
25592 * math/w_j0l.c: Likewise.
25593 * math/w_j1.c: Likewise.
25594 * math/w_j1f.c: Likewise.
25595 * math/w_j1l.c: Likewise.
25596 * math/w_jn.c: Likewise.
25597 * math/w_jnf.c: Likewise.
25598 * math/w_log.c: Likewise.
25599 * math/w_log10.c: Likewise.
25600 * math/w_log10f.c: Likewise.
25601 * math/w_log10l.c: Likewise.
25602 * math/w_log2.c: Likewise.
25603 * math/w_log2f.c: Likewise.
25604 * math/w_log2l.c: Likewise.
25605 * math/w_logf.c: Likewise.
25606 * math/w_logl.c: Likewise.
25607 * math/w_sqrt.c: Likewise.
25608 * math/w_sqrtf.c: Likewise.
25609 * math/w_sqrtl.c: Likewise.
25610 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25611 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25612 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25613 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25614 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25615
25616 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25617
25618 [BZ #9739]
25619 * manual/string.texi (strnlen): Use correct parameter name in
25620 equivalent expression.
25621
25622 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25623
25624 [BZ #11174]
25625 * manual/users.texi (seteuid): Consistently use neweuid for
25626 argument name.
25627
25628 2012-02-19 Joseph Myers <joseph@codesourcery.com>
25629
25630 [BZ #13704]
25631 * manual/nss.texi (Services in the NSS configuration): Correct
25632 list of services in example configuration file.
25633
25634 2012-02-19 Nick Bowler <nbowler@draconx.ca>
25635
25636 [BZ #11322]
25637 * manual/arith.texi: Remove statements about negative zero
25638 behaving identically to zero.
25639
25640 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25641
25642 [BZ #5993]
25643 * manual/install.texi: Do not document upgrading from libc5.
25644
25645 2012-02-18 Joseph Myers <joseph@codesourcery.com>
25646
25647 [BZ #4596]
25648 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25649
25650 2012-02-18 David S. Miller <davem@davemloft.net>
25651
25652 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25653 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25654 %o7 across the call.
25655 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25656 instead.
25657 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25658 SETUP_PIC_REG_LEAF.
25659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25660 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25661 * sysdeps/sparc/crtn.S: Likewise.
25662
25663 2012-02-17 Ulrich Drepper <drepper@gmail.com>
25664
25665 * aout/Makefile: Remove.
25666
25667 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25668
25669 [BZ #13058]
25670 * manual/examples/argp-ex1.c (main): Format definition in GNU
25671 style.
25672 * manual/examples/argp-ex2.c (main): Likewise.
25673 * manual/examples/argp-ex3.c (main): Likewise.
25674 * manual/examples/argp-ex4.c (main): Likewise.
25675 * manual/examples/longopt.c (main): Use new-style prototype
25676 definition.
25677 * manual/examples/strncat.c (main): Specify return type and use
25678 (void) for arguments.
25679 * manual/examples/subopt.c (main): Use char **argv argument.
25680
25681 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25682
25683 [BZ #5077]
25684 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25685 rounding modes.
25686
25687 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25688
25689 [BZ #6907]
25690 * manual/string.texi (strchr): Change when strchrnul is
25691 recommended.
25692
25693 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25694
25695 [BZ #174]
25696 * manual/locale.texi (setlocale): Document LOCPATH.
25697
25698 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25699
25700 [BZ #10210]
25701 * manual/process.texi (execle): Move @dots{} before last argument.
25702
25703 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
25704
25705 [BZ #12047]
25706 * manual/charset.texi (Generic Charset Conversion): Fix typo
25707 (LC_TYPE -> LC_CTYPE).
25708
25709 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25710
25711 [BZ #5805]
25712 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25713 (scalbnf): Likewise.
25714 (scalbnl): Likewise.
25715 (scalbln): Likewise.
25716 (scalblnf): Likewise.
25717 (scalblnl): Likewise.
25718 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25719 (vwarnx): Likewise.
25720 (verr): Likewise.
25721 (verrx): Likewise.
25722 * manual/filesys.texi (telldir): Use braces around return type.
25723 * manual/llio.texi (mmap): Add space after comma.
25724 (mmap64): Likewise.
25725 * manual/math.texi (jn): Use @var{} on parameter names.
25726 (jnf): Likewise.
25727 (jnl): Likewise.
25728 (yn): Likewise.
25729 (ynf): Likewise.
25730 (ynl): Likewise.
25731 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25732 line.
25733 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25734 "...".
25735 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25736 (sched_get_priority_max): Likewise.
25737 * manual/signal.texi (sigvec): Add space after comma.
25738 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25739 names.
25740 (if_indextoname): Likewise.
25741 (if_freenameindex): Likewise.
25742 (sendto): Use ',' instead of '.' in prototype.
25743 * manual/startup.texi (syscall): Use @dots{} instead of literal
25744 "...".
25745 * manual/stdio.texi (__fpending): Separate initial words of
25746 paragraph from @deftypefun line.
25747 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25748 "...".
25749 (vsyslog): Use @var{} on parameter names.
25750 * manual/terminal.texi (stty): Use @var{} on parameter names.
25751 * manual/users.texi (getutmp): Use @var{} on parameter names.
25752 (getutmpx): Likewise.
25753
25754 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25755
25756 [BZ #6884]
25757 * manual/stdio.texi (fopen): Fix typos in description of
25758 ",ccs=STRING".
25759
25760 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25761
25762 [BZ #4026]
25763 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25764 get clock_id definition.
25765
25766 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
25767
25768 [BZ #4822]
25769 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25770 (madvise): Cast every argument to void on its own.
25771
25772 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25773
25774 [BZ #9902]
25775 * manual/startup.texi (Exit Status): Fix typo.
25776
25777 2012-02-17 Joseph Myers <joseph@codesourcery.com>
25778
25779 [BZ #10140]
25780 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25781 * manual/examples/argp-ex2.c: Likewise.
25782 * manual/examples/argp-ex3.c: Likewise.
25783
25784 2012-02-16 Richard Henderson <rth@redhat.com>
25785
25786 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25787 * sysdeps/s390/s390-32/initfini.c: Remove.
25788 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25789 * sysdeps/s390/s390-64/initfini.c: Remove.
25790
25791 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25792
25793 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25794 compiler output for sysdeps/generic/initfini.c.
25795 * sysdeps/sh/elf/initfini.c: Remove file.
25796
25797 2012-02-16 David S. Miller <davem@davemloft.net>
25798
25799 [BZ #11494]
25800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25801
25802 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25803 * sysdeps/sparc/crti.S: New file.
25804 * sysdeps/sparc/crtn.S: New file.
25805 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25806 * sysdeps/sparc/sparc64/Makefile: Likewise.
25807
25808 2012-02-15 Mike Frysinger <vapier@gentoo.org>
25809
25810 [BZ #3335]
25811 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25812
25813 2012-02-15 Roland McGrath <roland@hack.frob.com>
25814
25815 [BZ #4822]
25816 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25817
25818 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25819 (write, read, close): Likewise.
25820 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25821
25822 2012-02-15 Joseph Myers <joseph@codesourcery.com>
25823
25824 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25825 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25826 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25827 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25828 <bits/signalfd.h>.
25829 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25831 bits/signalfd.h.
25832
25833 2012-02-14 Marek Polacek <polacek@redhat.com>
25834
25835 * sysdeps/x86_64/crti.S: New file.
25836 * sysdeps/x86_64/crtn.S: New file.
25837 * sysdeps/x86_64/elf/initfini.c: Remove file.
25838
25839 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25840
25841 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25842 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25843 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25844 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25845 <bits/inotify.h>.
25846 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25848 bits/inotify.h.
25849
25850 2012-02-13 Joseph Myers <joseph@codesourcery.com>
25851
25852 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25853 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25854 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25855 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25856 <bits/eventfd.h>.
25857 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25859 bits/eventfd.h.
25860
25861 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25862
25863 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25864 __feraiseexcept instead of feraiseexcept.
25865
25866 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25867 nanosleep invocations.
25868 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25869 strings, and add error checking for a nanosleep invocations.
25870
25871 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25872
25873 Replace FSF snail mail address with URLs, as per GNU coding standards.
25874 Most of the snail mail addresses were wrong anyway, and omitting
25875 them makes the source code easier to maintain. Almost all of the
25876 changes are to license notices and to locale LC_IDENTIFICATION
25877 addresses, except for this one:
25878 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25879 not its snail mail address.
25880
25881 2012-02-09 Richard Henderson <rth@twiddle.net>
25882
25883 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25884 of kernel-features.h.
25885
25886 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25887
25888 2012-02-08 Marek Polacek <polacek@redhat.com>
25889
25890 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25891 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25892 * sysdeps/gnu/_G_config.h: Likewise.
25893 * sysdeps/generic/_G_config.h: Likewise.
25894
25895 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25896
25897 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25898 tests.
25899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25900
25901 * sysdeps/powerpc/powerpc32/crti.S: New file.
25902 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25903 * sysdeps/powerpc/powerpc64/crti.S: New file.
25904 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25905
25906 * Makeconfig (have-initfini): Don't set.
25907 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25908 * configure.in (nopic_initfini): Don't substitute.
25909 * config.h.in (HAVE_INITFINI): Don't #undef.
25910 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25911 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25912
25913 2012-02-08 Joseph Myers <joseph@codesourcery.com>
25914
25915 Support crti.S and crtn.S provided directly by architectures.
25916 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25917 [crti.S in sysdirs] (omit-deps): Likewise.
25918 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25919 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25920 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25921 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25922 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25923 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25924 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25925 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25926 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25927 compiler output for sysdeps/generic/initfini.c.
25928 * sysdeps/i386/elf/Makefile: Remove file.
25929 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25930
25931 2012-02-07 Marek Polacek <polacek@redhat.com>
25932
25933 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25934 * sysdeps/gnu/_G_config.h: Likewise.
25935 * sysdeps/mach/hurd/_G_config.h: Likewise.
25936
25937 2012-02-07 Marek Polacek <polacek@redhat.com>
25938
25939 * math/Makefile (tests): Add tst-CMPLX2.
25940 * math/tst-CMPLX2.c: New file.
25941
25942 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25943
25944 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25945
25946 * math/libm-test.inc (jn_test): Add missing L suffix.
25947
25948 2012-02-06 Marek Polacek <polacek@redhat.com>
25949
25950 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25951 * sysdeps/i386/fpu/e_powf.S: Likewise.
25952 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25953 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25954 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25955 * sysdeps/i386/fpu/e_pow.S: Likewise.
25956 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25957 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25958 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25959 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25960 * sysdeps/i386/fpu/e_log2.S: Likewise.
25961 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25962 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25963 * sysdeps/i386/fpu/e_powl.S: Likewise.
25964 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25965 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25966 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25967 * sysdeps/i386/fpu/e_logl.S: Likewise.
25968 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25969 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25970 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25971 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25972 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25973 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25974 * sysdeps/i386/fpu/e_log.S: Likewise.
25975 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25976 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25977 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25978 * sysdeps/i386/fpu/e_logf.S: Likewise.
25979 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25980 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25981 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25982 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25983 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25984 * sysdeps/i386/fpu/e_log10.S: Likewise.
25985 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25986 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25987 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25988 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25989 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25990 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25991 * sysdeps/i386/asm-syntax.h: Likewise.
25992 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25993 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25994 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25995 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25996 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25997 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25998 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25999 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26000 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26001 * sysdeps/powerpc/sysdep.h: Likewise.
26002 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26003 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26004
26005 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26006
26007 [BZ #411]
26008 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26009
26010 2012-02-06 Joseph Myers <joseph@codesourcery.com>
26011
26012 * sysdeps/i386/sysdep.h: Include <features.h>.
26013 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26014 version.
26015
26016 2012-02-05 Joseph Myers <joseph@codesourcery.com>
26017
26018 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26019 Define.
26020 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26021 LOAD_PIC_REG_STR.
26022
26023 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26024
26025 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26026 (SETUP_PIC_REG): Use GET_PC_THUNK.
26027 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26028 macro.
26029
26030 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26031
26032 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26033 for non-PIC compilation.
26034 (SETUP_PIC_REG): Add .p2align directive.
26035 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26036 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26037 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26038 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26039 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26040 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26041 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26042 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26043 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26044 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26045 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26046 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26047 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26048 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26049 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26050 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26051 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26052 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26053 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26054 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26055 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26056 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26057 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26058 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26059 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26061 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26062 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26063 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26064 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26065 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26066 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26067 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26068 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26069 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26070 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26071 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26072 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26073 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26074 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26075 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26076
26077 2012-02-03 Joseph Myers <joseph@codesourcery.com>
26078
26079 * math/tst-CMPLX.c: Include <stdio.h>.
26080
26081 2012-01-31 Joseph Myers <joseph@codesourcery.com>
26082
26083 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26084 float.
26085 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26086 * sysdeps/sparc/bits/mathdef.h: Likewise.
26087
26088 2012-01-31 Marek Polacek <polacek@redhat.com>
26089
26090 * libio/libio.h: Don't define _PARAMS.
26091 * locale/programs/config.h: Don't define PARAMS.
26092 * stdlib/strtol_l.c: Likewise.
26093 (__strtol_l): Remove PARAMS from the prototype.
26094
26095 2012-01-31 Ulrich Drepper <drepper@gmail.com>
26096
26097 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26098 names. Just use the correct names. Remove unnecessary wrapper
26099 functions.
26100 * malloc/arena.c: Likewise.
26101 * malloc/hooks.c: Likewise.
26102
26103 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26104 ARENA_TEST says not to. Simplify test for creation of a new arena.
26105 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26106
26107 2012-01-30 Ulrich Drepper <drepper@gmail.com>
26108
26109 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26110 into tail calls.
26111 (update_get_addr): New function.
26112 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26113 GET_ADDR_MODULE parameter.
26114
26115 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26116
26117 * crypt/cert.c: Remove __STDC__ conditionals.
26118 * crypt/crypt-entry.c: Likewise.
26119 * crypt/crypt_util.c: Likewise.
26120 * libio/filedoalloc.c: Likewise.
26121 * libio/fileops.c: Likewise.
26122 * libio/genops.c: Likewise.
26123 * libio/iofclose.c: Likewise.
26124 * libio/iofdopen.c: Likewise.
26125 * libio/iofopen.c: Likewise.
26126 * libio/iofopen64.c: Likewise.
26127 * libio/iogetdelim.c: Likewise.
26128 * libio/iopopen.c: Likewise.
26129 * libio/obprintf.c: Likewise.
26130 * libio/oldfileops.c: Likewise.
26131 * libio/oldiofclose.c: Likewise.
26132 * libio/oldiofdopen.c: Likewise.
26133 * libio/oldiofopen.c: Likewise.
26134 * libio/oldiopopen.c: Likewise.
26135 * libio/wfiledoalloc.c: Likewise.
26136 * libio/wgenops.c: Likewise.
26137 * locale/programs/xmalloc.c: Likewise.
26138 * misc/syslog.c: Likewise.
26139 * stdio-common/xbug.c: Likewise.
26140 * string/memchr.c: Likewise.
26141 * string/memcmp.c: Likewise.
26142 * string/memrchr.c: Likewise.
26143 * string/rawmemchr.c: Likewise.
26144 * sysdeps/posix/getcwd.c: Likewise.
26145 * time/strftime_l.c: Likewise.
26146
26147 2012-01-30 Joseph Myers <joseph@codesourcery.com>
26148
26149 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26150 * config.make.in (config-cflags-sse2avx): Define.
26151 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26152 Fix typo.
26153
26154 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26155
26156 * scripts/config.guess: Update from upstream config git repository.
26157 * scripts/config.sub: Likewise.
26158
26159 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26160
26161 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26162 (EM_NUM): Update.
26163 (R_TILEPRO_*, R_TILEGX_*): New macros.
26164
26165 * scripts/firstversions.awk: Fix bug in version range handling.
26166
26167 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26168
26169 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26170
26171 * include/sys/epoll.h: New file.
26172 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26173 libc_hidden_def.
26174
26175 2012-01-28 Ulrich Drepper <drepper@gmail.com>
26176
26177 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26178 Avoid unnecessary __WORDSIZE == 64 test.
26179 (fmaxf): Use VEX format if possible.
26180 (fmax): Likewise.
26181 (fminf): Likewise.
26182 (fmin): Likewise.
26183
26184 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26185 * math/math_private.h: Remove libc_fegetround* and
26186 libc_fesetround*.
26187 * sysdeps/i386/configure.in: Check for -msse2avx.
26188 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26189 also if SSE2AVX is defined.
26190 Remove libc_fegetround* and libc_fesetround*.
26191 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26192 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26193 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26194 of HAS_YMM_USABLE.
26195 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26196 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26197 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26198 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26199 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26200
26201 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26202
26203 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26204
26205 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26206 size is not set.
26207 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26208
26209 2012-01-27 Ulrich Drepper <drepper@gmail.com>
26210
26211 [BZ #13618]
26212 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26213 relocation.
26214 * Makeconfig (libm): Define.
26215 * elf/Makefile: Add rules to build and run tst-relsort1.
26216 * elf/tst-relsort1.c: New file.
26217 * elf/tst-relsort1mod1.c: New file.
26218 * elf/tst-relsort1mod2.c: New file.
26219
26220 2012-01-27 Joseph Myers <joseph@codesourcery.com>
26221
26222 * math/s_ldexp.c: Remove __STDC__ conditionals.
26223 * math/s_ldexpf.c: Likewise.
26224 * math/s_ldexpl.c: Likewise.
26225 * math/s_nextafter.c: Likewise.
26226 * math/s_nexttowardf.c: Likewise.
26227 * math/s_significand.c: Likewise.
26228 * math/s_significandf.c: Likewise.
26229 * math/s_significandl.c: Likewise.
26230 * math/w_jnl.c: Likewise.
26231 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26232 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26233 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26234 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26235 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26236 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26237 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26238 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26239 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26240 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26241 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26242 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26243 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26244 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26245 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26246 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26247 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26248 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26249 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26250 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26251 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26252 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26253 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26254 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26255 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26256 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26257 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26258 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26259 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26260 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26261 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26262 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26263 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26264 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26265 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26266 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26267 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26268 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26269 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26270 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26271 * sysdeps/ieee754/k_standard.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26290 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26304 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26320 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26321 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26326 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26331 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26333 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26336 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26338 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26346 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26347 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26351 * sysdeps/ieee754/s_matherr.c: Likewise.
26352 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26353 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26354 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26355 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26356
26357 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26358
26359 * crypt/md5.h: Remove __STDC__ conditionals.
26360 * libio/libioP.h: Likewise.
26361 * locale/programs/config.h: Likewise.
26362 * sysdeps/generic/sysdep.h: Likewise.
26363 * sysdeps/i386/asm-syntax.h: Likewise.
26364 * sysdeps/s390/asm-syntax.h: Likewise.
26365 * sysdeps/unix/sysdep.h: Likewise.
26366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26368
26369 2012-01-26 Joseph Myers <joseph@codesourcery.com>
26370
26371 * libio/libio.h: Remove __STDC__ conditionals.
26372 * malloc/obstack.h: Likewise.
26373 * math/complex.h: Likewise.
26374 * math/math.h: Likewise.
26375 * sysdeps/generic/_G_config.h: Likewise.
26376 * sysdeps/gnu/_G_config.h: Likewise.
26377 * sysdeps/mach/hurd/_G_config.h: Likewise.
26378 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26379 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26380 * sysdeps/sparc/bits/mathdef.h: Likewise.
26381
26382 2012-01-26 Ulrich Drepper <drepper@gmail.com>
26383
26384 [BZ #13583]
26385 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26386 Clean up HAS_* macros.
26387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26388 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26389 possible.
26390 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26391 HAS_AVX.
26392 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26393 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26394 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26395 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26396 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26397
26398 2012-01-25 Joseph Myers <joseph@codesourcery.com>
26399
26400 * elf/tst-unique3.cc (gets): Remove declaration.
26401 * elf/tst-unique3lib.cc (gets): Likewise.
26402 * elf/tst-unique3lib2.cc (gets): Likewise.
26403 * elf/tst-unique4.cc (gets): Likewise.
26404
26405 2012-01-24 Ulrich Drepper <drepper@gmail.com>
26406
26407 * include/stdio.h: Add C++ protection. Add gets declarations and
26408 definitions.
26409 * debug/tst-chk1.c: Don't declare gets here.
26410 * stdio-common/tst-gets.c: Likewise.
26411
26412 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26413
26414 * posix/glob: Remove directory.
26415
26416 2012-01-24 Joseph Myers <joseph@codesourcery.com>
26417
26418 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26419
26420 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26421
26422 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26423 of the non-standard EPFNOSUPPORT.
26424
26425 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26426
26427 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26428 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26429 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26430
26431 2012-01-21 Ulrich Drepper <drepper@gmail.com>
26432
26433 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26434
26435 2012-01-20 Ulrich Drepper <drepper@gmail.com>
26436
26437 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26438 transient errors.
26439 * nscd/grpcache.c (cache_addgr): Likewise.
26440 * nscd/hstcache.c (cache_addhst): Likewise.
26441 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26442 * nscd/pwdcache.c (cache_addpw): Likewise.
26443 * nscd/servicescache.c (cache_addserv): Likewise.
26444
26445 2012-01-16 Ulrich Drepper <drepper@gmail.com>
26446
26447 * malloc/malloc.c: Various cleanups.
26448 * malloc/hooks.c: Likewise.
26449
26450 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26451 * stdlib/bug-fmtmsg1.c: New file.
26452
26453 * stdlib/fmtmsg.c (init): Add missing unlock.
26454 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26455
26456 2012-01-12 Marek Polacek <polacek@redhat.com>
26457
26458 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26459 and _GNU_SOURCE.
26460
26461 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26462
26463 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26464 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26465 macro to ensure uniqueness of label name.
26466 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26467 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26468
26469 2012-01-11 Ulrich Drepper <drepper@gmail.com>
26470
26471 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26472
26473 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26474 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26475 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26476 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26477
26478 2012-01-10 Ulrich Drepper <drepper@gmail.com>
26479
26480 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26481
26482 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26483 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26484 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26485
26486 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26487
26488 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26489 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26490 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26492
26493 * math/bits/math-finite.h: Add ldexp support.
26494
26495 2012-01-10 Marek Polacek <polacek@redhat.com>
26496
26497 * locale/programs/localedef.h (show_archive_content): Add noreturn
26498 attribute.
26499
26500 2012-01-09 Ulrich Drepper <drepper@gmail.com>
26501
26502 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26503
26504 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26505
26506 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26507
26508 * io/Makefile (headers): Add bits/poll2.h.
26509
26510 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26511
26512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26513 typo #include statement.
26514
26515 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26516
26517 * include/sys/cdefs.h: Define __attribute_alloc_size.
26518 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26519 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26520 * elf/pldd.c: Likewise.
26521 * iconv/iconv_charmap.c: Likewise.
26522 * iconv/iconvconfig.c: Likewise.
26523 * iconv/strtab.c: Likewise.
26524 * locale/programs/locale.c: Likewise.
26525 * locale/programs/localedef.h: Likewise.
26526 * locale/programs/simple-hash.c: Likewise.
26527 * nscd/nscd.h: Likewise.
26528 * nss/makedb.c: Likewise.
26529 * sysdeps/generic/ldconfig.h: Likewise.
26530 * locale/programs/localedef.c: Remove xmalloc prototype.
26531 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26532
26533 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26534
26535 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26536 appropriate.
26537
26538 2012-01-08 Ulrich Drepper <drepper@gmail.com>
26539
26540 * math/Makefile (tests): Add tst-CMPLX.
26541 * math/tst-CMPLX.c: New file.
26542
26543 * math/complex.h (CMPLXL): Fix typo.
26544
26545 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26546 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26547 GLIBC_2.16.
26548 * debug/tst-chk1.c: Add poll and ppoll tests.
26549 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26550 * include/sys/poll.h: Add hidden proto for ppoll.
26551 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26552 * sysdeps/mach/hurd/ppoll.c: Likewise.
26553 * io/ppoll.c: Likewise.
26554 * debug/poll_chk.c: New file.
26555 * debug/ppoll_chk.c: New file.
26556 * include/bits/poll2.h: New file.
26557 * io/bits/poll2.h: New file.
26558
26559 [BZ #1350]
26560 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26561
26562 * configure.in: static is always set to yes. Remove.
26563 * config.make.in: Don't set build-static.
26564 * Makeconfig: Remove use of build-static.
26565 * dlfcn/Makefile: Likewise.
26566 * elf/Makefile: Likewise.
26567 * math/Makefile: Likewise.
26568 * misc/Makefile: Likewise.
26569 * nptl/Makefile: Likewise.
26570 * sysdeps/mach/hurd/Makefile: Likewise.
26571
26572 * configure.in: PWD_P is not used anymore.
26573 * config.make.in: Remove PWD_P entry.
26574
26575 * configure.in: Remove last remnants of RANLIB.
26576 No need to check for signed size_t anymore.
26577 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26578 and IA-64.
26579 Remove __builtin_expect test because we require at least gcc 3.4.
26580 * aclocal.m4: Likewise.
26581
26582 * wcsmbs/mbrtoc16.c: Implement using towc function.
26583 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26584 * wcsmbs/wcsmbsload.c: Likewise.
26585 * iconv/gconv_simple.c: Likewise.
26586 * iconv/gconv_int.h: Likewise.
26587 * iconv/gconv_builtin.h: Likewise.
26588 * iconv/iconv_prog.c: Remove CHAR16 handling.
26589
26590 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26591
26592 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26593
26594 * configure.in: Remove --with-elf and --enable-bounded options.
26595 Dont set base_machine for ia64. More non-ELF conditions removed.
26596 Remove testing and setting of leading underscore information.
26597 * config.make.in (build-bounded): Set to no.
26598 * config.h.in: Remove NO_UNDERSCORES entry.
26599 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26600 them.
26601 * csu/start.c: Remove !NO_UNDERSCORE code.
26602 * locale/localeinfo.h: Likewise.
26603 * sysdeps/generic/machine-gmon.h: Likewise.
26604 * sysdeps/generic/sysdep.h: Likewise.
26605 * sysdeps/i386/sysdep.h: Likewise.
26606 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26607 * sysdeps/mach/sysdep.h: Likewise.
26608 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26609 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26610 * sysdeps/sh/sysdep.h: Likewise.
26611 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26612 * sysdeps/unix/i386/sysdep.S: Likewise.
26613 * sysdeps/unix/sparc/start.c: Likewise.
26614 * sysdeps/unix/sparc/sysdep.S: Likewise.
26615 * sysdeps/unix/sparc/sysdep.h: Likewise.
26616 * sysdeps/unix/start.c: Likewise.
26617 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26618 * sysdeps/x86_64/sysdep.h: Likewise.
26619
26620 2012-01-07 Ulrich Drepper <drepper@gmail.com>
26621
26622 [BZ #13553]
26623 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26624 for non-gcc.
26625 * argp/argp-fmtstream.h: Use const instead __const.
26626 * argp/argp.h: Likewise.
26627 * assert/assert.h: Likewise.
26628 * bits/fenv.h: Likewise.
26629 * bits/sched.h: Likewise.
26630 * bits/sigset.h: Likewise.
26631 * bits/sigthread.h: Likewise.
26632 * catgets/nl_types.h: Likewise.
26633 * conform/data/pthread.h-data: Likewise.
26634 * crypt/crypt-private.h: Likewise.
26635 * crypt/crypt.h: Likewise.
26636 * crypt/crypt_util.c: Likewise.
26637 * ctype/ctype.h: Likewise.
26638 * debug/execinfo.h: Likewise.
26639 * debug/mbsnrtowcs_chk.c: Likewise.
26640 * debug/mbsrtowcs_chk.c: Likewise.
26641 * debug/wcsnrtombs_chk.c: Likewise.
26642 * debug/wcsrtombs_chk.c: Likewise.
26643 * debug/wcstombs_chk.c: Likewise.
26644 * dirent/dirent.h: Likewise.
26645 * dlfcn/dlfcn.h: Likewise.
26646 * elf/neededtest4.c: Likewise.
26647 * grp/grp.h: Likewise.
26648 * gshadow/gshadow.h: Likewise.
26649 * iconv/gconv.h: Likewise.
26650 * iconv/gconv_int.h: Likewise.
26651 * iconv/gconv_simple.c: Likewise.
26652 * iconv/iconv.h: Likewise.
26653 * iconv/loop.c: Likewise.
26654 * iconv/skeleton.c: Likewise.
26655 * include/aio.h: Likewise.
26656 * include/aliases.h: Likewise.
26657 * include/argz.h: Likewise.
26658 * include/arpa/inet.h: Likewise.
26659 * include/assert.h: Likewise.
26660 * include/dirent.h: Likewise.
26661 * include/dlfcn.h: Likewise.
26662 * include/execinfo.h: Likewise.
26663 * include/fcntl.h: Likewise.
26664 * include/fenv.h: Likewise.
26665 * include/glob.h: Likewise.
26666 * include/grp.h: Likewise.
26667 * include/libintl.h: Likewise.
26668 * include/mntent.h: Likewise.
26669 * include/netdb.h: Likewise.
26670 * include/pwd.h: Likewise.
26671 * include/rpc/netdb.h: Likewise.
26672 * include/sched.h: Likewise.
26673 * include/search.h: Likewise.
26674 * include/shadow.h: Likewise.
26675 * include/signal.h: Likewise.
26676 * include/stdio.h: Likewise.
26677 * include/stdlib.h: Likewise.
26678 * include/string.h: Likewise.
26679 * include/sys/socket.h: Likewise.
26680 * include/sys/stat.h: Likewise.
26681 * include/sys/statfs.h: Likewise.
26682 * include/sys/statvfs.h: Likewise.
26683 * include/sys/syslog.h: Likewise.
26684 * include/sys/time.h: Likewise.
26685 * include/sys/uio.h: Likewise.
26686 * include/time.h: Likewise.
26687 * include/unistd.h: Likewise.
26688 * include/utmp.h: Likewise.
26689 * include/wchar.h: Likewise.
26690 * include/wctype.h: Likewise.
26691 * inet/aliases.h: Likewise.
26692 * inet/arpa/inet.h: Likewise.
26693 * inet/netinet/ether.h: Likewise.
26694 * inet/netinet/in.h: Likewise.
26695 * intl/libintl.h: Likewise.
26696 * io/bits/fcntl2.h: Likewise.
26697 * io/fcntl.h: Likewise.
26698 * io/ftw.h: Likewise.
26699 * io/sys/poll.h: Likewise.
26700 * io/sys/stat.h: Likewise.
26701 * io/sys/statfs.h: Likewise.
26702 * io/sys/statvfs.h: Likewise.
26703 * io/utime.h: Likewise.
26704 * libio/bits/stdio.h: Likewise.
26705 * libio/bits/stdio2.h: Likewise.
26706 * libio/libio.h: Likewise.
26707 * libio/libioP.h: Likewise.
26708 * libio/stdio.h: Likewise.
26709 * locale/lc-ctype.c: Likewise.
26710 * locale/locale.h: Likewise.
26711 * login/utmp.h: Likewise.
26712 * malloc/arena.c: Likewise.
26713 * malloc/malloc.c: Likewise.
26714 * malloc/malloc.h: Likewise.
26715 * malloc/mcheck.c: Likewise.
26716 * malloc/mtrace.c: Likewise.
26717 * math/bits/mathcalls.h: Likewise.
26718 * math/fenv.h: Likewise.
26719 * math/math_private.h: Likewise.
26720 * misc/bits/error.h: Likewise.
26721 * misc/bits/syslog.h: Likewise.
26722 * misc/err.h: Likewise.
26723 * misc/error.h: Likewise.
26724 * misc/fstab.h: Likewise.
26725 * misc/mntent.h: Likewise.
26726 * misc/regexp.h: Likewise.
26727 * misc/search.h: Likewise.
26728 * misc/sgtty.h: Likewise.
26729 * misc/sys/mman.h: Likewise.
26730 * misc/sys/syslog.h: Likewise.
26731 * misc/sys/uio.h: Likewise.
26732 * misc/sys/xattr.h: Likewise.
26733 * misc/ttyent.h: Likewise.
26734 * nis/rpcsvc/ypclnt.h: Likewise.
26735 * nss/nss.h: Likewise.
26736 * posix/bits/unistd.h: Likewise.
26737 * posix/fnmatch.h: Likewise.
26738 * posix/glob.h: Likewise.
26739 * posix/sched.h: Likewise.
26740 * posix/spawn.h: Likewise.
26741 * posix/sys/wait.h: Likewise.
26742 * posix/unistd.h: Likewise.
26743 * posix/wordexp.h: Likewise.
26744 * pwd/pwd.h: Likewise.
26745 * resolv/netdb.h: Likewise.
26746 * resource/sys/resource.h: Likewise.
26747 * rt/aio.h: Likewise.
26748 * rt/bits/mqueue2.h: Likewise.
26749 * rt/mqueue.h: Likewise.
26750 * shadow/shadow.h: Likewise.
26751 * signal/signal.h: Likewise.
26752 * socket/send.c: Likewise.
26753 * socket/sendto.c: Likewise.
26754 * socket/sys/socket.h: Likewise.
26755 * stdio-common/printf.h: Likewise.
26756 * stdlib/bits/stdlib.h: Likewise.
26757 * stdlib/fmtmsg.h: Likewise.
26758 * stdlib/monetary.h: Likewise.
26759 * stdlib/stdlib.h: Likewise.
26760 * stdlib/ucontext.h: Likewise.
26761 * streams/stropts.h: Likewise.
26762 * string/argz.h: Likewise.
26763 * string/bits/string2.h: Likewise.
26764 * string/string.h: Likewise.
26765 * string/strings.h: Likewise.
26766 * sunrpc/rpc/auth.h: Likewise.
26767 * sunrpc/rpc/auth_des.h: Likewise.
26768 * sunrpc/rpc/clnt.h: Likewise.
26769 * sunrpc/rpc/netdb.h: Likewise.
26770 * sunrpc/rpc/pmap_clnt.h: Likewise.
26771 * sunrpc/rpc/xdr.h: Likewise.
26772 * sysdeps/generic/inttypes.h: Likewise.
26773 * sysdeps/generic/net/if.h: Likewise.
26774 * sysdeps/generic/sys/swap.h: Likewise.
26775 * sysdeps/gnu/net/if.h: Likewise.
26776 * sysdeps/gnu/utmpx.h: Likewise.
26777 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26778 * sysdeps/i386/i486/bits/string.h: Likewise.
26779 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26780 * sysdeps/s390/bits/string.h: Likewise.
26781 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26782 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26783 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26784 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26785 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26786 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26787 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26788 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26789 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26790 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26791 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26792 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26793 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26794 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26795 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26796 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26797 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26798 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26799 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26800 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26801 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26802 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26803 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26804 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26805 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26806 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26807 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26808 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26809 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26810 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26811 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26812 * sysvipc/sys/ipc.h: Likewise.
26813 * sysvipc/sys/msg.h: Likewise.
26814 * sysvipc/sys/sem.h: Likewise.
26815 * sysvipc/sys/shm.h: Likewise.
26816 * termios/termios.h: Likewise.
26817 * time/sys/time.h: Likewise.
26818 * time/time.h: Likewise.
26819 * wcsmbs/bits/wchar2.h: Likewise.
26820 * wcsmbs/uchar.h: Likewise.
26821 * wcsmbs/wchar.h: Likewise.
26822 * wctype/wctype.h: Likewise.
26823
26824 [BZ #13551]
26825 * Makeconfig: Remove all but ELF support including AIX support.
26826 * Makerules: Likewise.
26827 * config.h.in: Likewise.
26828 * config.make.in: Likewise.
26829 * configure: Likewise.
26830 * configure.in: Likewise.
26831 * csu/Makefile: Likewise.
26832 * csu/version.c: Likewise.
26833 * debug/Makefile: Likewise.
26834 * dlfcn/Makefile: Likewise.
26835 * elf/Makefile: Likewise.
26836 * extra-lib.mk: Likewise.
26837 * iconv/Makefile: Likewise.
26838 * include/libc-symbols.h: Likewise.
26839 * include/shlib-compat.h: Likewise.
26840 * resolv/Makefile: Likewise.
26841 * resolv/res_libc.c: Likewise.
26842 * rt/Makefile: Likewise.
26843 * sysdeps/i386/asm-syntax.h: Likewise.
26844 * sysdeps/i386/sysdep.h: Likewise.
26845 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26846 * sysdeps/mach/sysdep.h: Likewise.
26847 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26848 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26849 * sysdeps/s390/asm-syntax.h: Likewise.
26850 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26851 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26852 * sysdeps/sh/sysdep.h: Likewise.
26853 * sysdeps/unix/sparc/sysdep.h: Likewise.
26854 * sysdeps/wordsize-32/divdi3.c: Likewise.
26855 * sysdeps/x86_64/sysdep.h: Likewise.
26856
26857 * argp/Versions: Remove _argp_unlock_xxx.
26858
26859 [BZ #13559]
26860 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26861 * abilist/libBrokenLocale.abilist: Likewise.
26862 * abilist/libanl.abilist: Likewise.
26863 * abilist/libc.abilist: Likewise.
26864 * abilist/libcrypt.abilist: Likewise.
26865 * abilist/libdl.abilist: Likewise.
26866 * abilist/libm.abilist: Likewise.
26867 * abilist/libnsl.abilist: Likewise.
26868 * abilist/libpthread.abilist: Likewise.
26869 * abilist/libresolv.abilist: Likewise.
26870 * abilist/librt.abilist: Likewise.
26871 * abilist/libthread_db.abilist: Likewise.
26872 * abilist/libutil.abilist: Likewise.
26873 * abilist/libnss_db.abilist: New file.
26874
26875 * scripts/abilist.awk: Add support for indirect functions.
26876
26877 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26878
26879 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26880
26881 * shlib-versions: Remove entries for ports architectures.
26882
26883 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26884 files in ports.
26885 * elf/stackguard-macros.h: Remove support for IA-64.
26886 * elf/tst-auditmod1.c: Likewise.
26887 * sysdeps/generic/ldsodefs.h: Likewise.
26888
26889 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26890 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26891 configure files.
26892
26893 [BZ #13552]
26894 * configure.in: Remove --enable-omitfp support.
26895 * FAQ.in: Adjust.
26896 * config.make.in: Likewise.
26897 * Makeconfig: Likewise.
26898 * manual/install.texi: Likewise.
26899
26900 In case anyone cares, the IA-64 architecture could move to ports.
26901 * sysdeps/ia64/*: Removed.
26902 * sysdeps/unix/sysv/linux/ia64/*: Removed.
26903 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26904
26905 [BZ #13555]
26906 * configure.in: Remove entries for unsupported architectures.
26907
26908 [BZ #13533]
26909 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26910 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26911 routines.
26912 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26913 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26914 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26915 fall back to using wcrtomb.
26916 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26917 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26918 renaming.
26919 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26920 * wcsmbs/tst-c16c32-1.c: New file.
26921
26922 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26923 local variable.
26924
26925 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26926
26927 * elf/tst-unique3.cc: Add explicit declaration of gets.
26928 * elf/tst-unique3lib.cc: Likewise.
26929 * elf/tst-unique3lib2.cc: Likewise.
26930 * elf/tst-unique4.cc: Likewise.
26931
26932 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26933
26934 2012-01-06 Joseph Myers <joseph@codesourcery.com>
26935
26936 [BZ #13566]
26937 * assert/assert.h (static_assert): Don't define for C++.
26938 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26939 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26940
26941 2012-01-03 Ulrich Drepper <drepper@gmail.com>
26942
26943 * iconv/loop.c (single loop): Fix assertion in storing of
26944 remaining bytes.
26945
26946 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26947
26948 2012-01-01 Ulrich Drepper <drepper@gmail.com>
26949
26950 * posix/getconf.c: Update copyright year.
26951 * nss/getent.c: Likewise.
26952 * nss/makedb.c: Likewise.
26953 * iconv/iconvconfig.c: Likewise.
26954 * iconv/iconv_prog.c: Likewise.
26955 * elf/ldconfig.c: Likewise.
26956 * elf/pldd.c: Likewise.
26957 * elf/sotruss.ksh: Likewise.
26958 * catgets/gencat.c: Likewise.
26959 * csu/version.c: Likewise.
26960 * elf/ldd.bash.in: Likewise.
26961 * elf/sprof.c (print_version): Likewise.
26962 * locale/programs/locale.c: Likewise.
26963 * locale/programs/localedef.c: Likewise.
26964 * login/programs/pt_chown.c: Likewise.
26965 * nscd/nscd.c (print_version): Likewise.
26966 * debug/xtrace.sh: Likewise.
26967 * malloc/memusage.sh: Likewise.
26968 * malloc/mtrace.pl: Likewise.
26969 * debug/catchsegv.sh: Likewise.
26970
26971 2011-12-30 Jakub Jelinek <jakub@redhat.com>
26972
26973 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26974 pure attribute.
26975
26976 2011-12-24 Ulrich Drepper <drepper@gmail.com>
26977
26978 [BZ #13533]
26979 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26980 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26981 transformations.
26982 * iconv/gconv_int.h: Likewise.
26983 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26984 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26985 from libc for GLIBC_2.16.
26986 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26987 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26988 * wcsmbs/uchar.h: Really define mbstate_t.
26989 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26990 * wcsmbs/c16rtomb.c: New file.
26991 * wcsmbs/mbrtoc16.c: New file.
26992 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26993 for C/POSIX locale.
26994 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26995 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26996
26997 * wcsmbs/wchar.h: Add missing __restrict.
26998
26999 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27000
27001 [BZ #13532]
27002 * time/Makefile (routines): Add timespec_get.
27003 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27004 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27005 timespec for ISO C11.
27006 * time/timespec_get.c: New file.
27007 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27008 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27009
27010 [BZ #13531]
27011 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27012 * stdlib/stdlib.h: Declare aligned_alloc.
27013 * Versions.def: Add GLIBC_2.16 for libc.
27014 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27015
27016 [BZ 13527]
27017 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27018 ISO C11.
27019
27020 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
27021 code.
27022
27023 [BZ #13528]
27024 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27025
27026 [BZ #13529]
27027 * assert/assert.h (static_assert): Define.
27028
27029 * version.h: Update for 2.16 development version.
27030
27031 [BZ #13526]
27032 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27033 _ISOC11_SOURCE.
27034
27035 * version.h (RELEASE): Bump for 2.15 release.
27036 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27037
27038 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27039 Patch by Marek Polacek <mpolacek@redhat.com>.
27040
27041 * bits/byteswap.h: Protect long long constants with __extension__.
27042 * sysdeps/i386/bits/byteswap.h: Likewise.
27043 * sysdeps/ia64/bits/byteswap.h: Likewise.
27044 * sysdeps/s390/bits/byteswap.h: Likewise.
27045 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27046
27047 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27048
27049 [BZ #13540]
27050 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27051 destination buffer.
27052 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27053
27054 2011-12-23 Marek Polacek <polacek@redhat.com>
27055
27056 * elf/dl-addr.c (determine_info): Add inline keyword.
27057 * elf/tst-auditmod4b.c (check_avx): Likewise.
27058 * elf/tst-auditmod6b.c (check_avx): Likewise.
27059 * elf/tst-auditmod6c.c (check_avx): Likewise.
27060 * elf/tst-auditmod7b.c (check_avx): Likewise.
27061
27062 2011-12-23 Ulrich Drepper <drepper@gmail.com>
27063
27064 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27065 !__SSE_MATH__.
27066
27067 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27068
27069 [BZ #13540]
27070 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27071 processing for last bytes.
27072
27073 2011-08-06 Bruno Haible <bruno@clisp.org>
27074
27075 [BZ #13061]
27076 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27077 U+0385, not to U+1FEE.
27078
27079 [BZ #13062]
27080 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27081 entry for U+00A5 U+0301.
27082
27083 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27084
27085 [BZ #13166]
27086 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27087 buffer for the output is too small.
27088
27089 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27090 optimization.
27091
27092 [BZ #13185]
27093 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27094 SSE flags if possible.
27095
27096 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27097
27098 [BZ #13540]
27099 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27100 processing for last bytes.
27101
27102 2011-12-22 Joseph Myers <joseph@codesourcery.com>
27103
27104 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27105 (syscall-list-default-options, syscall-list-default-condition)
27106 (syscall-list-includes): Define.
27107 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27108 list of ABIs and options and #if conditions for each ABI. Do not
27109 handle common syscalls between ABIs specially.
27110 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27111 Remove.
27112 (syscall-list-variants, syscall-list-32bit-options)
27113 (syscall-list-32bit-condition, syscall-list-64bit-options)
27114 (syscall-list-64bit-condition): Define.
27115 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27116 (syscall-list-variants, syscall-list-32bit-options)
27117 (syscall-list-32bit-condition, syscall-list-64bit-options)
27118 (syscall-list-64bit-condition): Define.
27119 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27120 Remove.
27121 (syscall-list-variants, syscall-list-32bit-options)
27122 (syscall-list-32bit-condition, syscall-list-64bit-options)
27123 (syscall-list-64bit-condition): Define.
27124 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27125 Remove.
27126 (syscall-list-variants, syscall-list-32bit-options)
27127 (syscall-list-32bit-condition, syscall-list-64bit-options)
27128 (syscall-list-64bit-condition): Define.
27129
27130 2011-12-22 Ulrich Drepper <drepper@gmail.com>
27131
27132 * locale/iso-639.def: Add brx entry.
27133
27134 [BZ #13328]
27135 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27136 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27137
27138 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27139 __feraiseexcept_renamed.
27140
27141 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27142
27143 [BZ #13538]
27144 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27145 EPOLLET with unsigned values.
27146 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27147 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27148
27149 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27150 to large cancellation.
27151 * math/s_cacoshf.c: Likewise.
27152 * math/s_cacoshl.c: Likewise.
27153
27154 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27155
27156 [BZ #13305]
27157 [BZ #12786]
27158 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27159 * math/s_cacoshf.c: Likewise.
27160 * math/s_cacoshl.c: Likewise.
27161
27162 2011-12-21 Ulrich Drepper <drepper@gmail.com>
27163
27164 [BZ #13439]
27165 * iconv/gconv.h: Define __GCONV_SWAP.
27166 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27167 * iconvdata/utf-16.c: Likewise.
27168 * iconvdata/utf-32.c: Likewise.
27169
27170 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27171
27172 [BZ #13524]
27173 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27174 numerator after shifting it by one limb.
27175
27176 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27177
27178 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27179 under [__USE_EXTERN_INLINES].
27180
27181 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27182
27183 [BZ #13446]
27184 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27185
27186 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27187
27188 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27189 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27190 optimized code.
27191 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27192 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27193 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27194 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27195 for strncasecmp/strncasecmp_l compilation.
27196 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27197 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27198
27199 2011-12-08 Marek Polacek <mpolacek@redhat.com>
27200
27201 [BZ #13484]
27202 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27203 of __asm__.
27204
27205 2011-12-17 Ulrich Drepper <drepper@gmail.com>
27206
27207 [BZ #13506]
27208 * time/tzfile.c (__tzfile_read): Check values from file header.
27209
27210 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27211
27212 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27213 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27214 * powerpc/powerpc32/dl-start.S: Likewise.
27215 * powerpc/powerpc32/elf/start.S: Likewise.
27216 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27217 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27218 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27219 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27220 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27221 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27222 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27223 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27224 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27225 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27226 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27227 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27228 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27229 * powerpc/powerpc32/memset.S: Likewise.
27230 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27231 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27232 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27233 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27234 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27235 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27236 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27237 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27238 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27239 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27240 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27241 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27242 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27243
27244 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27245
27246 * math/libm-test.inc: Added more nearbyint tests.
27247 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27248 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27249 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27250 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27251
27252 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27253
27254 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27255 FD_CLOEXEC.
27256
27257 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27258
27259 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27260 Add wcscpy-ssse3 wcscpy-c.
27261 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27262 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27263 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27264 * sysdeps/x86_64/wcschr.S: New file.
27265 * sysdeps/x86_64/wcsrchr.S: New file.
27266 * string/test-strcmp.c: Remove checking of wcscmp function for
27267 wrong alignments.
27268 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27269 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27270 wcsrchr-sse2 wcsrchr-c.
27271 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27272 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27273 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27274 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27275 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27276 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27277 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27278 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27279 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27280 * wcsmbc/wcschr.c (WCSCHR): New macro.
27281
27282 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27283
27284 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27285 * wcsmbs/test-wcsrchr.c: New file.
27286 * string/test-strrchr.c: Add wcsrchr support.
27287 (WIDE): New macro.
27288 * wcsmbs/test-wcscpy.c: New file.
27289 * string/test-strcpy.c: Add wcscpy support.
27290 (WIDE): New macro.
27291
27292 2011-12-10 Ulrich Drepper <drepper@gmail.com>
27293
27294 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27295 the inner loop.
27296
27297 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27298
27299 [BZ #13472]
27300 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27301
27302 2011-12-04 Ulrich Drepper <drepper@gmail.com>
27303
27304 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27305 Minor optimizations.
27306
27307 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27308 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27309 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27310
27311 2011-12-03 Ulrich Drepper <drepper@gmail.com>
27312
27313 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27314 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27315 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27316 for gcc to avoid warnings.
27317 * inet/Makefile (tests): Add tst-checks.
27318 * inet/tst-checks.c: New file.
27319
27320 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27321 warning.
27322
27323 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27324 __wmemcmp_sse2.
27325
27326 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27327 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27328
27329 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27330
27331 2011-12-02 Ulrich Drepper <drepper@gmail.com>
27332
27333 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27334 problem.
27335
27336 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27337
27338 2011-11-29 Joseph Myers <joseph@codesourcery.com>
27339
27340 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27341 conditional on GCC version.
27342 (__arch_compare_and_exchange_val_8_acq)
27343 (__arch_compare_and_exchange_val_16_acq)
27344 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27345 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27346 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27347
27348 2011-12-02 Joseph Myers <joseph@codesourcery.com>
27349
27350 * sysdeps/sh/backtrace.c: New file.
27351
27352 2011-12-02 Andreas Schwab <schwab@redhat.com>
27353
27354 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27355 parenthesis.
27356
27357 2011-12-01 Andreas Schwab <schwab@redhat.com>
27358
27359 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27360 falling back to utime.
27361
27362 2011-11-30 Andreas Schwab <schwab@redhat.com>
27363
27364 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27365 expectations for float.
27366
27367 2011-11-29 Andreas Schwab <schwab@redhat.com>
27368
27369 * locale/weight.h (findidx): Add parameter len.
27370 * locale/weightwc.h (findidx): Likewise.
27371 * posix/fnmatch_loop.c (FCT): Adjust caller.
27372 * posix/regcomp.c (build_equiv_class): Likewise.
27373 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27374 * posix/regexec.c (check_node_accept_bytes): Likewise.
27375 * string/strcoll_l.c (STRCOLL): Likewise.
27376 * string/strxfrm_l.c (STRXFRM): Likewise.
27377
27378 2011-11-17 Ulrich Drepper <drepper@gmail.com>
27379
27380 * Makefile.in: Remove CVSOPT handling.
27381 * configure.in: Remove use of AC_REVISION.
27382 * iconvdata/Makefile (distribute): No need to filter out CVS.
27383 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27384 handling.
27385
27386 2011-11-16 Andreas Schwab <schwab@redhat.com>
27387
27388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27389 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27390 [USE_AS_STRNCASECMP_L]: Likewise.
27391 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27392 NO_TLS_DIRECT_SEG_REFS.
27393 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27394 Fix argument offsets for non-PIC.
27395 [USE_AS_STRNCASECMP_L]: Likewise.
27396 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27397 NO_TLS_DIRECT_SEG_REFS.
27398
27399 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27400
27401 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27402 O_CLOEXEC.
27403 * locale/loadlocale.c (_nl_load_locale): Likewise.
27404
27405 2011-11-15 Andreas Schwab <schwab@redhat.com>
27406
27407 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27408 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27409 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27410 (SYSCALL_GETTIME): Set errno on error.
27411
27412 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27413 count references to noai6ai_cached.
27414
27415 2011-11-15 Ulrich Drepper <drepper@gmail.com>
27416
27417 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27418
27419 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27420 FD_CLOEXEC for /proc/self/maps.
27421
27422 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27423 FD_CLOEXEC for /proc/meminfo.
27424
27425 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27426 gai.conf.
27427
27428 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27429 FD_CLOEXEC for given file.
27430
27431 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27432
27433 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27434 FD_CLOEXEC for /etc/hosts.
27435 (_gethtent): Likewise.
27436
27437 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27438
27439 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27440 cancellation and set FD_CLOEXEC for /etc/netgroup.
27441
27442 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27443 reading /etc/publickey.
27444
27445 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27446 allow cancellation when reading /etc/group.
27447
27448 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27449 cancellation.
27450 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27451
27452 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27453 when using data file.
27454
27455 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27456
27457 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27458 (write_nis_obj): Use "c" and "e" in fopen.
27459
27460 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27461
27462 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27463
27464 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27465
27466 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27467
27468 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27469 locale.alias.
27470
27471 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27472
27473 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27474
27475 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27476
27477 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27478 file parsing and set FD_CLOEXEC.
27479
27480 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27481
27482 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27483
27484 2011-11-14 Andreas Schwab <schwab@redhat.com>
27485
27486 * malloc/arena.c (arena_get2): Don't call reused_arena when
27487 _int_new_arena failed.
27488
27489 2011-11-14 Ulrich Drepper <drepper@gmail.com>
27490
27491 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27492 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27493 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27494 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27495 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27496 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27497 to compile strcasecmp and strncasecmp.
27498 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27499 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27500
27501 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27502
27503 2011-11-13 Ulrich Drepper <drepper@gmail.com>
27504
27505 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27506 locale-defines.sym to gen-as-const-headers.
27507 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27508 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27509 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27510 to compile strcasecmp and strncasecmp.
27511 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27512 strcasecmp_l and strncasecmp_l.
27513 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27514 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27515 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27516 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27517 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27518 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27519 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27520 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27521 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27522 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27523 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27524
27525 2011-11-12 Ulrich Drepper <drepper@gmail.com>
27526
27527 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27528 result of SYSDEP_GETTIME_CPU to retval.
27529 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27530 parameter list to macro. Remove trailing semicolon. Adjust users.
27531
27532 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27533 variable.
27534
27535 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27536 mantissa words.
27537 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27538
27539 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27540 from unused variable.
27541
27542 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27543 DWARF definitions.
27544 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27545 for assembling.
27546
27547 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27548 over namespaces.
27549
27550 * sunrpc/rpc_prot.c (rejected): Fix case value.
27551
27552 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27553 unsigned long long int to avoid warnings in shift.
27554
27555 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27556 of use of trans.
27557 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27558 variable tmp.
27559
27560 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27561 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27562 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27563
27564 * nis/nis_table.c (nis_list): Use variable of correct type for
27565 result of __follow_path call.
27566
27567 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27568
27569 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27570 of math functions ceil, trunc, floor, round, and sqrt, when
27571 avaliable on the platform.
27572 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27573 name clash.
27574 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27575 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27576 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27577
27578 2011-10-30 Marek Polacek <mpolacek@redhat.com>
27579
27580 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27581 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27582
27583 2011-11-11 Roland McGrath <roland@hack.frob.com>
27584
27585 * include/unistd.h: Fix __readlink return type.
27586 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27587
27588 2011-11-11 Ulrich Drepper <drepper@gmail.com>
27589
27590 * stdlib/ucontext.h: Undo last change for makecontext.
27591
27592 2011-11-11 Andreas Schwab <schwab@redhat.com>
27593
27594 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27595
27596 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27597 * setjmp/setjmp.h: Mark functions as non-leaf.
27598 * setjmp/bits/setjmp2.h: Likewise.
27599 * stdlib/ucontext.h: Likewise.
27600
27601 2011-11-10 Andreas Schwab <schwab@redhat.com>
27602
27603 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27604 (reused_arena): Don't check arena limit.
27605 (arena_get2): Atomically check arena limit.
27606
27607 2011-11-08 Ulrich Drepper <drepper@gmail.com>
27608
27609 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27610 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27611
27612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27613 instructions.
27614
27615 2011-11-07 Andreas Schwab <schwab@redhat.com>
27616
27617 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27618 handler when locking.
27619
27620 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27621 Fix size of allocated buffer.
27622
27623 2011-11-04 Andreas Schwab <schwab@redhat.com>
27624
27625 [BZ #10103]
27626 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27627 declarations for long double functions.
27628 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27629
27630 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27631
27632 2011-11-03 Andreas Schwab <schwab@redhat.com>
27633
27634 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27635 installed.
27636
27637 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27638 is disabled.
27639
27640 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27641
27642 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27643
27644 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27645
27646 * include/alloca.h (stackinfo_alloca_round): Define.
27647 (extend_alloca): Use it.
27648 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27649 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27650 here.
27651
27652 * scripts/check-local-headers.sh: Ignore libaudit.h.
27653
27654 * nscd/Makefile (extra-objs): Make recursively expanded.
27655
27656 2011-11-01 Ulrich Drepper <drepper@gmail.com>
27657
27658 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27660
27661 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27662 * posix/tst-rfc3484-2.c: Likewise.
27663 * posix/tst-rfc3484-3.c: Likewise.
27664
27665 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27666 process_vm_writev.
27667 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27668 process_vm_writev.
27669 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27670 process_vm_writev from libc using GLIBC_2.15 version.
27671
27672 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27673
27674 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27675
27676 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27677 stack usage.
27678
27679 2011-10-31 Ulrich Drepper <drepper@gmail.com>
27680
27681 [BZ #13367]
27682 * nss/getent.c (initgroups_keys): Show error message in case no group
27683 names are given.
27684
27685 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27686 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27687 __bump_nl_timestamp.
27688 * nscd/connections (nscd_init): When host database is served open
27689 netlink socket and request notification about configuration changes.
27690 (main_loop_poll): Track netlink file descriptor and bump timestamp
27691 in case data becomes available.
27692 (main_loop_epoll): Likewise.
27693 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27694 (database_pers_head): Add extra_data fileds.
27695 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27696 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27697 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27698 Adjust caller.
27699 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27700 in6ai data, call __free_in6ai.
27701 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27702 Add -DHAVE_NETLINK.
27703 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27704 interface information. Reuse previous data if netlink timestamp
27705 is not changed.
27706 (__bump_nl_timestamp): New function.
27707 (__free_in6ai): New function.
27708
27709 2011-10-30 Ulrich Drepper <drepper@gmail.com>
27710
27711 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27712 close_not_cancel_no_status here.
27713 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27714
27715 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27716
27717 [BZ #13276]
27718 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27719 return value.
27720
27721 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27722 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27723 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27724
27725 2011-07-03 Andreas Jaeger <aj@suse.de>
27726
27727 [BZ #10709]
27728 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27729 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27730 * math/libm-test.inc (sin_test): Add test case.
27731
27732 2011-10-29 Ulrich Drepper <drepper@gmail.com>
27733
27734 [BZ #13337]
27735 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27736 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27737
27738 * elf/chroot_canon.c (chroot_canon): Cleanups.
27739
27740 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27741
27742 [BZ #13335]
27743 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27744 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27745
27746 * string/test-strchr.c: Make usable for strchrnul testing.
27747 * string/test-strchrnul.c: New file.
27748 * string/Makefile (strop-tests): Add strchrnul.
27749
27750 * po/it.po: Update from translation team.
27751 * po/es.po: Likewise.
27752
27753 2011-10-28 Ulrich Drepper <drepper@gmail.com>
27754
27755 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27756 the three constants needed as parameters. Drop the others.
27757 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27758 __m128i_strloadu_tolower.
27759 Create and initialize variable zero and use it in all the places
27760 where _mm_setzero_si128 was used.
27761
27762 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27763 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27764 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27765 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27766 anymore.
27767 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27768 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27769 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27770 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27771 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27772 __mpranred, __mptan.
27773 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27774 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27775 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27776 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27777 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27778 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27779 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27780 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27781 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27782
27783 2011-10-28 Andreas Schwab <schwab@redhat.com>
27784
27785 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27786 redefine if SHARED.
27787 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27788
27789 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27790 wide char related routines to wcsmbs subdir.
27791
27792 2011-10-27 Andreas Schwab <schwab@redhat.com>
27793
27794 [BZ #13344]
27795 * misc/sys/cdefs.h (__THROWNL): Define.
27796 * posix/unistd.h: Use __THREADNL instead of __THREAD
27797 for memory synchronization functions.
27798
27799 2011-10-26 Roland McGrath <roland@hack.frob.com>
27800
27801 [BZ #13349]
27802 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27803 doesn't exist.
27804 * manual/stdio.texi (Obstack Streams): Node removed.
27805
27806 2011-10-26 Andreas Schwab <schwab@redhat.com>
27807
27808 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27809 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27810 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27811
27812 * math/math_private.h (math_force_eval): Allow non-addressable
27813 arguments.
27814 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27815
27816 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27817
27818 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27819 file is not needed.
27820
27821 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27822 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27823 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27824 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27825 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27826 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27827 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27828 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27829 Add AVX variants.
27830 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27831 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27832 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27833 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27834 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27835 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27836 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27837 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27838 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27839 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27840 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27841 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27842 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27843 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27844 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27845 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27846 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27847 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27848 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27849
27850 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27851 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27852
27853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27854 place. Use VEX encoding when compiling for AVX.
27855
27856 2011-10-25 Andreas Schwab <schwab@redhat.com>
27857
27858 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27859 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27860
27861 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27862
27863 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27864
27865 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27866 useless if() expression.
27867 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27868 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27869 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27870 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27871 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27872 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27873 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27874 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27875 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27876 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27877 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27878 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27879 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27880 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27881 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27882 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27883 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27884 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27885 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27886
27887 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27888
27889 2011-10-25 Andreas Schwab <schwab@redhat.com>
27890
27891 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27892 condition.
27893 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27894
27895 2011-10-25 Ulrich Drepper <drepper@gmail.com>
27896
27897 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27898 .text section. Avoid duplicate constants.
27899 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27900 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27901 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27903 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27907 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27908 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27909 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27910 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27911 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27912 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27913 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27914 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27915 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27916 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27917 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27919 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27920 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27921 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27922 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27923 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27924 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27925 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27926 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27927 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27928 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27929 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27930 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27931 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27932 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27933 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27934 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27935 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27936 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27937 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27938 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27939 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27940 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27941 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27942 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27943 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27944
27945 2011-10-24 Ulrich Drepper <drepper@gmail.com>
27946
27947 * sysdeps/x86_64/dla.h: Move to ...
27948 * sysdeps/x86_64/fpu/dla.h: ...here.
27949 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27950 situations. Use __builtin_fma only for gcc 4.6 and up.
27951
27952 * config.make.in: Add have-mfma4 entry.
27953 * configure.in: Substitute libc_cv_cc_fma4.
27954 * math/Makefile (dbl-only-routines): Add sincostab.
27955 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27956 Use __sincostab not sincos.
27957 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27958 name is a macro.
27959 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27961 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27963 using __copysign.
27964 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27965 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27966 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27967 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27968 and __inv.
27969 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27970 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27971 __copysign.
27972 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27973 define aliases when function name is a macro.
27974 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27975 sysdeps/ieee754/dbl-64/sincos.tbl.
27976 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27977 fma4-enabled routines.
27978 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27979 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27980 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27981 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27982 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27983 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27984 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27985 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27986 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27987 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27988 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27989 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27990 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27991 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27992 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27993 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27994 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27995 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27996 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27997 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27998 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27999 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28000 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28001 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28002 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28003 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28004 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28005 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28006 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28007 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28008
28009 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28010 rename.
28011 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28013 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28014 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28015 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28016 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28019
28020 2011-10-24 Andreas Schwab <schwab@redhat.com>
28021
28022 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28023
28024 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28025
28026 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28027
28028 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28029 prediction.
28030 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28031
28032 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28033 Remove unused variable magic_bits.
28034 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28035
28036 * string/strnlen.c: Define and use STRNLEN macro.
28037 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28038 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28039 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28040 * wcsmbs/wcslen.c: Define and use WCSLEN.
28041 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28042 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28043 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28044 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28045 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28046 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28047 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28048
28049 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28050
28051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28052 strnlen-sse2-no-bsf.
28053 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28055 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28056 Add strnlen support.
28057 (USE_AS_STRNLEN): New macro.
28058 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28059 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28060 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28061 * sysdeps/x86_64/wcslen.S: New file.
28062
28063 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28064
28065 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28066 XMM-moves are used for copying on small sizes.
28067
28068 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28069
28070 * wcsmbs/Makefile (strop-tests): Add wcschr.
28071 * wcsmbs/test-wcschr.c: New file.
28072 * string/test-strchr.c: Update.
28073 Add wcschr support.
28074 (WIDE): New macro.
28075
28076 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28077
28078 * wcsmbs/Makefile (strop-tests): Add wcslen.
28079 * wcsmbs/test-wcslen.c: New file.
28080 * string/test-strlen.c: Update.
28081 Add wcslen support.
28082 (WIDE): New macro.
28083
28084 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28085
28086 * po/it.po: Update from translation team.
28087
28088 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28089
28090 * sysdeps/x86_64/wcscmp.S: Update.
28091 Fix wrong comparison semantics.
28092 wcscmp shall use signed comparison not unsigned.
28093 Don't use substraction to avoid overflow bug.
28094 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28095 * wcsmbc/wcscmp.c: Likewise.
28096 * string/test-strcmp.c: Likewise.
28097 Add new tests to check cases with negative values.
28098
28099 2011-10-23 Ulrich Drepper <drepper@gmail.com>
28100
28101 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28102 * sysdeps/x86_64/dla.h: ...here. New file.
28103 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28107 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28108 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28109 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28110 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28111 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28112
28113 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28114
28115 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28116 __ynl_finite aliases.
28117
28118 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28119
28120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28121
28122 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28123 define DLA_FMA.
28124 [DLA_FMA] (EMULV): Use DLA_FMA.
28125 [DLA_FMA] (MUL12): Use EMULV.
28126 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28127 that are not needed.
28128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28132 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28134 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28135
28136 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28137
28138 * math/s_nan.c: Undef __nan.
28139 * math/s_nanf.c: Undef __nanf.
28140 * math/s_nanl.c: Undef __nanl.
28141 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28142 "math_private.h".
28143
28144 2011-10-22 Ulrich Drepper <drepper@gmail.com>
28145
28146 * math/s_catan.c: Add branch predictions.
28147 * math/s_catanf.c: Likewise.
28148 * math/s_catanh.c: Likewise.
28149 * math/s_catanhf.c: Likewise.
28150 * math/s_catanhl.c: Likewise.
28151 * math/s_catanl.c: Likewise.
28152 * math/s_cexp.c: Likewise.
28153 * math/s_cexpf.c: Likewise.
28154 * math/s_cexpl.c: Likewise.
28155 * math/s_clog.c: Likewise.
28156 * math/s_clog10.c: Likewise.
28157 * math/s_clog10f.c: Likewise.
28158 * math/s_clog10l.c: Likewise.
28159 * math/s_clogf.c: Likewise.
28160 * math/s_clogl.c: Likewise.
28161 * math/s_csqrt.c: Likewise.
28162 * math/s_csqrtf.c: Likewise.
28163 * math/s_csqrtl.c: Likewise.
28164 * math/s_ctanf.c: Likewise.
28165 * math/s_ctanh.c: Likewise.
28166 * math/s_ctanhf.c: Likewise.
28167 * math/s_ctanhl.c: Likewise.
28168 * math/s_ctanl.c: Likewise.
28169
28170 * math/math_private.h: Define __nan, __nanf, __nanl.
28171 * math/s_cacosh.c: Include <math_private.h>.
28172 * math/s_cacoshl.c: Likewise.
28173 * math/s_casinh.c: Likewise.
28174 * math/s_casinhf.c: Likewise.
28175 * math/s_casinhl.c: Likewise.
28176 * math/s_ccos.c: Rely entire on ccosh.
28177 * math/s_ccosf.c: Rely entire on ccoshf.
28178 * math/s_ccosl.c: Rely entirely on ccoshl.
28179 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28180 Remove tests for FE_INVALID.
28181 * math/s_ccoshf.c: Likewise.
28182 * math/s_ccoshl.c: Likewise.
28183 * math/s_csin.c: Likewise.
28184 * math/s_csinf.c: Likewise.
28185 * math/s_csinh.c Likewise.
28186 * math/s_csinhf.c: Likewise.
28187 * math/s_csinhl.c: Likewise.
28188 * math/s_csinl.c: Likewise.
28189 * math/s_ctan.c: Likewise.
28190 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28191 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28192 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28193
28194 2011-10-21 Ulrich Drepper <drepper@gmail.com>
28195
28196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28197 compilation problems.
28198
28199 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28200 __builtin_expect.
28201
28202 2011-10-20 Ulrich Drepper <drepper@gmail.com>
28203
28204 * sysdeps/i386/configure.in: Test for -mfma4 option.
28205 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28206 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28207 COMMON_CPUID_INDEX_80000001.
28208 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28209 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28210 use it if FMA3 is not supported.
28211 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28212
28213 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28214 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28215
28216 2011-10-20 Andreas Schwab <schwab@redhat.com>
28217
28218 [BZ #12892]
28219 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28220 it would create a cycle with a link time dependency.
28221
28222 2011-10-19 Ulrich Drepper <drepper@gmail.com>
28223
28224 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28225 instruction.
28226 * string/Makefile (strop-tests): Add rawmemchr.
28227 * string/test-rawmemchr.c: New file.
28228
28229 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28230 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28231 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28232 when compiling str{,n}casecmp and when AVX is available. Hook up
28233 new optimized code in initializers.
28234
28235 2011-10-19 Andreas Schwab <schwab@redhat.com>
28236
28237 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28238 __feraiseexcept instead of feraiseexcept.
28239
28240 2011-10-18 Ulrich Drepper <drepper@gmail.com>
28241
28242 * math/math_private.h: Define defaults for libc_fetestexcept and
28243 libc_feupdateenv.
28244 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28245 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28246 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28247 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28248 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28249 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28250 libc_fetestexcept and libc_feupdateenv.
28251
28252 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28253 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28254 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28255 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28256 libc_feholdexcept_setround.
28257
28258 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28259 Add s_nearbyint-c and s_nearbyintf-c.
28260 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28261 nearbyintf inlines.
28262 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28263 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28264 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28265 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28266
28267 * math/math_private.h: Define defaults for libc_fegetround,
28268 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28269 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28270 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28271 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28272 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28273 standard functions.
28274 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28275 Remove comments and hacks for old compiler versions.
28276 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28277 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28278 libc_feholdexceptl.
28279
28280 2011-10-18 Andreas Schwab <schwab@redhat.com>
28281
28282 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28283 (__feraiseexcept_renamed): Add __NTH.
28284 (feraiseexcept): Add __NTH. Rename local variables to fix
28285 namespace violations.
28286
28287 2011-10-17 Ulrich Drepper <drepper@gmail.com>
28288
28289 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28290
28291 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28292
28293 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28294 recently added interfaces.
28295 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28296
28297 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28298 about macro parameter expansion.
28299
28300 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28301 __NO_MATH_INLINES is defined. Cleanups.
28302
28303 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28304 and __floorf is target has SSE4.1.
28305 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28306 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28307 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28308 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28309
28310 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28311 name.
28312 (floorf): Likewise.
28313
28314 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28315
28316 2011-10-17 Andreas Schwab <schwab@redhat.com>
28317
28318 * misc/sys/cdefs.h: Fix last change.
28319
28320 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28321 database lookup.
28322
28323 2011-10-16 Ulrich Drepper <drepper@gmail.com>
28324
28325 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28326
28327 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28328 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28329 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28330 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28331 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28332 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28333 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28334 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28335 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28336 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28337 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28338 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28339 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28340 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28341 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28342 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28343 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28344 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28345 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28346 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28347 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28348 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28349
28350 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28351 ceil, ceilf, floor, floorf.
28352
28353 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28354 Perform IRELATIVE relocations last.
28355
28356 * elf/do-rel.h: Add another parameter nrelative, replacing the
28357 local variable with the same name. Change name of the function
28358 to end in Rel or Rela (uppercase).
28359 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28360 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28361 elf_dynamic_do_##reloc function.
28362
28363 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28364
28365 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28366 is sufficient, at least on modern CPUs.
28367
28368 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28369
28370 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28371 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28372
28373 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28374 __expl_finite.
28375 * math/bits/math-finite.h: Add entries for exp.
28376 * math/e_expl.c: Add __*_finite alias.
28377 * sysdeps/i386/fpu/e_exp.S: Likewise.
28378 * sysdeps/i386/fpu/e_expf.S: Likewise.
28379 * sysdeps/i386/fpu/e_expl.c: Likewise.
28380 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28381 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28382 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28383 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28384 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28385 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28386 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28387
28388 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28389 is sufficient, at least on modern CPUs.
28390
28391 * ctype/ctype-info.c (__ctype_init): Define.
28392 * include/ctype.h (__ctype_init): Declare.
28393 (__ctype_b_loc): The variable is always initialized.
28394 (__ctype_toupper_loc): Likewise.
28395 (__ctype_tolower_loc): Likewise.
28396 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28397 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28398
28399 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28400
28401 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28402
28403 * configure.in: Also look in $cxxmachine/include for C++ system
28404 headers.
28405
28406 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28407
28408 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28409 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28410 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28411 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28412 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28413 (USE_AS_WMEMCMP): New macro.
28414 Fixing indents.
28415 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28416 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28417 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28418 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28420 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28421 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28422 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28423 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28424 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28425 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28426 (USE_AS_WMEMCMP): New macro.
28427 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28428 * sysdeps/string/test-memcmp.c: Update.
28429 Fix simple_wmemcmp.
28430 Add new tests.
28431 * wcsmbs/wmemcmp.c: Update.
28432 (WMEMCMP): New macro.
28433 Fix overflow bug.
28434
28435 2011-10-12 Andreas Jaeger <aj@suse.de>
28436
28437 [BZ #13268]
28438 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28439
28440 2011-10-15 Ulrich Drepper <drepper@gmail.com>
28441
28442 * libio/iofwide.c (do_length): Avoid warning.
28443
28444 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28445
28446 2011-10-14 Ulrich Drepper <drepper@gmail.com>
28447
28448 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28449
28450 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28451 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28452 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28453 * sysdeps/i386/i686/fpu/e_log.S: New file.
28454 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28455 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28456
28457 * ctype/ctype.h: Add support for inlined isXXX functions when
28458 compiling C++ code.
28459
28460 2011-10-14 Andreas Schwab <schwab@redhat.com>
28461
28462 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28463
28464 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28465
28466 2011-10-13 Roland McGrath <roland@hack.frob.com>
28467
28468 [BZ #13291]
28469 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28470
28471 2011-10-13 Andreas Schwab <schwab@redhat.com>
28472
28473 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28474 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28475 feraiseexcept.
28476
28477 * sysdeps/x86_64/memrchr.S: Check for zero size.
28478
28479 * string/stratcliff.c: Add memrchr tests.
28480
28481 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28482
28483 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28484 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28485 rawmemchr-sse2 rawmemchr-sse2-bsf.
28486 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28487 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28488 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28489 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28490 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28491 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28492 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28493 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28494 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28495 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28496 * string/memrchr.c (MEMRCHR): New macro.
28497
28498 2011-10-12 Ulrich Drepper <drepper@gmail.com>
28499
28500 Add integration with gcc's -ffinite-math-only and optimize wrapper
28501 functions in libm.
28502 * Versions.def: Define GLIBC_2.15 version for libm.
28503 * math/Makefile (headers): Add bits/math-finite.h.
28504 * math/bits/math-finite.h: New file.
28505 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28506 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28507 * math/e_acoshl.c: Add __*_finite alias.
28508 * math/e_acosl.c: Likewise.
28509 * math/e_asinl.c: Likewise.
28510 * math/e_atan2l.c: Likewise.
28511 * math/e_atanhl.c: Likewise.
28512 * math/e_coshl.c: Likewise.
28513 * math/e_exp10.c: Likewise.
28514 * math/e_exp10f.c: Likewise.
28515 * math/e_exp10l.c: Likewise.
28516 * math/e_exp2l.c: Likewise.
28517 * math/e_fmodl.c: Likewise.
28518 * math/e_gammal_r.c: Likewise.
28519 * math/e_hypotl.c: Likewise.
28520 * math/e_j0l.c: Likewise.
28521 * math/e_j1l.c: Likewise.
28522 * math/e_jnl.c: Likewise.
28523 * math/e_lgammal_r.c: Likewise.
28524 * math/e_log10l.c: Likewise.
28525 * math/e_log2l.c: Likewise.
28526 * math/e_logl.c: Likewise.
28527 * math/e_powl.c: Likewise.
28528 * math/e_sinhl.c: Likewise.
28529 * math/e_sqrtl.c: Likewise.
28530 * math/e_scalb.c: Completely rewritten and optimized.
28531 * math/e_scalbf.c: Likewise.
28532 * math/e_scalbl.c: Likewise.
28533 * math/w_acos.c: Likewise.
28534 * math/w_acosf.c: Likewise.
28535 * math/w_acosl.c: Likewise.
28536 * math/w_acosh.c: Likewise.
28537 * math/w_acoshf.c: Likewise.
28538 * math/w_acoshl.c: Likewise.
28539 * math/w_asin.c: Likewise.
28540 * math/w_asinf.c: Likewise.
28541 * math/w_asinl.c: Likewise.
28542 * math/w_atan2.c: Likewise.
28543 * math/w_atan2f.c: Likewise.
28544 * math/w_atan2l.c: Likewise.
28545 * math/w_atanh.c: Likewise.
28546 * math/w_atanhf.c: Likewise.
28547 * math/w_atanhl.c: Likewise.
28548 * math/w_exp10.c: Likewise.
28549 * math/w_exp10f.c: Likewise.
28550 * math/w_exp10l.c: Likewise.
28551 * math/w_fmod.c: Likewise.
28552 * math/w_fmodf.c: Likewise.
28553 * math/w_fmodl.c: Likewise.
28554 * math/w_j0.c: Likewise.
28555 * math/w_j0f.c: Likewise.
28556 * math/w_j0l.c: Likewise.
28557 * math/w_j1.c: Likewise.
28558 * math/w_j1f.c: Likewise.
28559 * math/w_j1l.c: Likewise.
28560 * math/w_jn.c: Likewise.
28561 * math/w_jnf.c: Likewise.
28562 * math/w_log.c: Likewise.
28563 * math/w_logf.c: Likewise.
28564 * math/w_logl.c: Likewise.
28565 * math/w_log10.c: Likewise.
28566 * math/w_log10f.c: Likewise.
28567 * math/w_log10l.c: Likewise.
28568 * math/w_log2.c: Likewise.
28569 * math/w_log2f.c: Likewise.
28570 * math/w_log2l.c: Likewise.
28571 * math/w_pow.c: Likewise.
28572 * math/w_powf.c: Likewise.
28573 * math/w_powl.c: Likewise.
28574 * math/w_remainder.c: Likewise.
28575 * math/w_remainderf.c: Likewise.
28576 * math/w_remainderl.c: Likewise.
28577 * math/w_scalb.c: Likewise.
28578 * math/w_scalbf.c: Likewise.
28579 * math/w_scalbl.c: Likewise.
28580 * math/w_sqrt.c: Likewise.
28581 * math/w_sqrtf.c: Likewise.
28582 * math/w_sqrtl.c: Likewise.
28583 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28584 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28585 used.
28586 * math/math_private.h: Declare __kernel_standard_f.
28587 * math/w_cosh.c: Remove cruft and optimize a bit.
28588 * math/w_coshf.c: Likewise.
28589 * math/w_coshl.c: Likewise.
28590 * math/w_exp2.c: Likewise.
28591 * math/w_exp2f.c: Likewise.
28592 * math/w_exp2l.c: Likewise.
28593 * math/w_hypot.c: Likewise.
28594 * math/w_hypotf.c: Likewise.
28595 * math/w_hypotl.c: Likewise.
28596 * math/w_lgamma.c: Likewise.
28597 * math/w_lgamma_r.c: Likewise.
28598 * math/w_lgammaf.c: Likewise.
28599 * math/w_lgammaf_r.c: Likewise.
28600 * math/w_lgammal.c: Likewise.
28601 * math/w_lgammal_r.c: Likewise.
28602 * math/w_sinh.c: Likewise.
28603 * math/w_sinhf.c: Likewise.
28604 * math/w_sinhl.c: Likewise.
28605 * math/w_tgamma.c: Likewise.
28606 * math/w_tgammaf.c: Likewise.
28607 * math/w_tgammal.c: Likewise.
28608 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28609 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28610 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28611 Minor optimizations. Pretty printing. Remove cruft.
28612 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28613 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28614 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28615 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28616 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28617 * sysdeps/i386/fpu/e_asin.S: Likewise.
28618 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28619 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28620 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28621 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28622 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28623 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28624 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28625 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28626 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28627 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28628 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28629 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28630 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28631 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28632 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28633 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28634 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28635 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28636 * sysdeps/i386/fpu/e_log.S: Likewise.
28637 * sysdeps/i386/fpu/e_log10.S: Likewise.
28638 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28639 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28640 * sysdeps/i386/fpu/e_log2.S: Likewise.
28641 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28642 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28643 * sysdeps/i386/fpu/e_logf.S: Likewise.
28644 * sysdeps/i386/fpu/e_logl.S: Likewise.
28645 * sysdeps/i386/fpu/e_pow.S: Likewise.
28646 * sysdeps/i386/fpu/e_powf.S: Likewise.
28647 * sysdeps/i386/fpu/e_powl.S: Likewise.
28648 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28649 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28650 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28651 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28652 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28653 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28654 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28655 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28656 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28657 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28658 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28659 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28660 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28661 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28662 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28663 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28664 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28665 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28666 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28667 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28668 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28669 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28670 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28671 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28672 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28673 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28674 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28675 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28677 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28678 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28679 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28680 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28681 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28682 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28683 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28684 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28685 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28686 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28687 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28688 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28689 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28690 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28691 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28692 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28693 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28694 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28695 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28696 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28697 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28698 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28737 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28740 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28742 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28743 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28745 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28748 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28749 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28750 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28751 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28752 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28753 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28754 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28755 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28756 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28757 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28758 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28759 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28760 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28761 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28762 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28763 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28764 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28765 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28766 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28767 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28768 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28769 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28770 (__isnanf): Likewise.
28771 (__isinf_ns): Likewise.
28772 (__isinf_nsf): Likewise.
28773 (__finite): Likewise.
28774 (__finitef): Likewise.
28775 (__ieee754_sqrt): Define as macro.
28776 (__ieee754_sqrtf): Define as macro.
28777 (__ieee754_sqrtl): Define as macro.
28778 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28779 inlined copy.
28780 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28781 __FINITE_MATH_ONLY__ consistent.
28782 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28783
28784 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28785
28786 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28787 of rawmemchr.
28788
28789 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28790
28791 2011-10-09 Ulrich Drepper <drepper@gmail.com>
28792
28793 * po/ja.po: Update from translation team.
28794
28795 2011-10-08 Roland McGrath <roland@hack.frob.com>
28796
28797 * locale/programs/locarchive.c (prepare_address_space): New function.
28798 (create_archive, enlarge_archive, open_archive): Use it.
28799
28800 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28801 inside [SHARED], where it is used.
28802
28803 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28804
28805 * nss/getent.c (netgroup_keys): Remove unused variable.
28806 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28807
28808 2011-10-08 Ulrich Drepper <drepper@gmail.com>
28809
28810 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28811 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28813 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28814 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28815 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28816 * math/Makefile (libm-calls): Add s_isinf_ns.
28817 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28818 * math/multc3.c: Likewise.
28819 * math/s_casin.c: Likewise.
28820 * math/s_casinf.c: Likewise.
28821 * math/s_casinl.c: Likewise.
28822 * math/s_ccos.c: Likewise.
28823 * math/s_ccosf.c: Likewise.
28824 * math/s_ccosl.c: Likewise.
28825 * math/s_ctan.c: Likewise.
28826 * math/s_ctanf.c: Likewise.
28827 * math/s_ctanh.c: Likewise.
28828 * math/s_ctanhf.c: Likewise.
28829 * math/s_ctanhl.c: Likewise.
28830 * math/s_ctanl.c: Likewise.
28831 * math/w_fmod.c: Likewise.
28832 * math/w_fmodf.c: Likewise.
28833 * math/w_fmodl.c: Likewise.
28834 * math/w_remainder.c: Likewise.
28835 * math/w_remainderf.c: Likewise.
28836 * math/w_remainderl.c: Likewise.
28837 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28838 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28839 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28840 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28841 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28842 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28843 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28844 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28845
28846 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28847 of the number.
28848 * stdio-common/printf_fphex.c: Likewise.
28849 * stdio-common/printf_size.c: Likewise.
28850
28851 * math/e_exp10.c: Include math_private.h using <...> not "...".
28852 * math/e_exp10f.c: Likewise.
28853 * math/e_exp10l.c: Likewise.
28854 * math/e_exp2l.c: Likewise.
28855 * math/e_j0l.c: Likewise.
28856 * math/e_j1l.c: Likewise.
28857 * math/e_jnl.c: Likewise.
28858 * math/e_lgammal_r.c: Likewise.
28859 * math/e_rem_pio2l.c: Likewise.
28860 * math/e_scalb.c: Likewise.
28861 * math/e_scalbf.c: Likewise.
28862 * math/e_scalbl.c: Likewise.
28863 * math/k_cosl.c: Likewise.
28864 * math/k_sinl.c: Likewise.
28865 * math/k_tanl.c: Likewise.
28866 * math/s_cacoshf.c: Likewise.
28867 * math/s_catan.c: Likewise.
28868 * math/s_catanf.c: Likewise.
28869 * math/s_catanh.c: Likewise.
28870 * math/s_catanhf.c: Likewise.
28871 * math/s_catanhl.c: Likewise.
28872 * math/s_catanl.c: Likewise.
28873 * math/s_ccosh.c: Likewise.
28874 * math/s_ccoshf.c: Likewise.
28875 * math/s_ccoshl.c: Likewise.
28876 * math/s_cexp.c: Likewise.
28877 * math/s_cexpf.c: Likewise.
28878 * math/s_cexpl.c: Likewise.
28879 * math/s_clog.c: Likewise.
28880 * math/s_clog10.c: Likewise.
28881 * math/s_clog10f.c: Likewise.
28882 * math/s_clog10l.c: Likewise.
28883 * math/s_clogf.c: Likewise.
28884 * math/s_clogl.c: Likewise.
28885 * math/s_csin.c: Likewise.
28886 * math/s_csinf.c: Likewise.
28887 * math/s_csinh.c: Likewise.
28888 * math/s_csinhf.c: Likewise.
28889 * math/s_csinhl.c: Likewise.
28890 * math/s_csinl.c: Likewise.
28891 * math/s_csqrt.c: Likewise.
28892 * math/s_csqrtf.c: Likewise.
28893 * math/s_csqrtl.c: Likewise.
28894 * math/s_ctan.c: Likewise.
28895 * math/s_ctanf.c: Likewise.
28896 * math/s_ctanh.c: Likewise.
28897 * math/s_ctanhf.c: Likewise.
28898 * math/s_ctanhl.c: Likewise.
28899 * math/s_ctanl.c: Likewise.
28900 * math/s_ldexp.c: Likewise.
28901 * math/s_ldexpf.c: Likewise.
28902 * math/s_ldexpl.c: Likewise.
28903 * math/s_significand.c: Likewise.
28904 * math/s_significandf.c: Likewise.
28905 * math/s_significandl.c: Likewise.
28906 * math/w_acos.c: Likewise.
28907 * math/w_acosf.c: Likewise.
28908 * math/w_acosh.c: Likewise.
28909 * math/w_acoshf.c: Likewise.
28910 * math/w_acoshl.c: Likewise.
28911 * math/w_acosl.c: Likewise.
28912 * math/w_asin.c: Likewise.
28913 * math/w_asinf.c: Likewise.
28914 * math/w_asinl.c: Likewise.
28915 * math/w_atan2.c: Likewise.
28916 * math/w_atan2f.c: Likewise.
28917 * math/w_atan2l.c: Likewise.
28918 * math/w_atanh.c: Likewise.
28919 * math/w_atanhf.c: Likewise.
28920 * math/w_atanhl.c: Likewise.
28921 * math/w_cosh.c: Likewise.
28922 * math/w_coshf.c: Likewise.
28923 * math/w_coshl.c: Likewise.
28924 * math/w_dremf.c: Likewise.
28925 * math/w_exp10.c: Likewise.
28926 * math/w_exp10f.c: Likewise.
28927 * math/w_exp10l.c: Likewise.
28928 * math/w_exp2.c: Likewise.
28929 * math/w_exp2f.c: Likewise.
28930 * math/w_fmod.c: Likewise.
28931 * math/w_fmodf.c: Likewise.
28932 * math/w_fmodl.c: Likewise.
28933 * math/w_hypot.c: Likewise.
28934 * math/w_hypotf.c: Likewise.
28935 * math/w_hypotl.c: Likewise.
28936 * math/w_j0.c: Likewise.
28937 * math/w_j0f.c: Likewise.
28938 * math/w_j0l.c: Likewise.
28939 * math/w_j1.c: Likewise.
28940 * math/w_j1f.c: Likewise.
28941 * math/w_j1l.c: Likewise.
28942 * math/w_jn.c: Likewise.
28943 * math/w_jnf.c: Likewise.
28944 * math/w_jnl.c: Likewise.
28945 * math/w_lgamma.c: Likewise.
28946 * math/w_lgamma_r.c: Likewise.
28947 * math/w_lgammaf.c: Likewise.
28948 * math/w_lgammaf_r.c: Likewise.
28949 * math/w_lgammal.c: Likewise.
28950 * math/w_lgammal_r.c: Likewise.
28951 * math/w_log.c: Likewise.
28952 * math/w_log10.c: Likewise.
28953 * math/w_log10f.c: Likewise.
28954 * math/w_log10l.c: Likewise.
28955 * math/w_log2.c: Likewise.
28956 * math/w_log2f.c: Likewise.
28957 * math/w_log2l.c: Likewise.
28958 * math/w_logf.c: Likewise.
28959 * math/w_logl.c: Likewise.
28960 * math/w_pow.c: Likewise.
28961 * math/w_powf.c: Likewise.
28962 * math/w_powl.c: Likewise.
28963 * math/w_remainder.c: Likewise.
28964 * math/w_remainderf.c: Likewise.
28965 * math/w_remainderl.c: Likewise.
28966 * math/w_scalb.c: Likewise.
28967 * math/w_scalbf.c: Likewise.
28968 * math/w_scalbl.c: Likewise.
28969 * math/w_sinh.c: Likewise.
28970 * math/w_sinhf.c: Likewise.
28971 * math/w_sinhl.c: Likewise.
28972 * math/w_sqrt.c: Likewise.
28973 * math/w_sqrtf.c: Likewise.
28974 * math/w_sqrtl.c: Likewise.
28975 * math/w_tgamma.c: Likewise.
28976 * math/w_tgammaf.c: Likewise.
28977 * math/w_tgammal.c: Likewise.
28978
28979 * po/ja.po: Update from translation team.
28980
28981 2011-09-29 Andreas Jaeger <aj@suse.de>
28982
28983 [BZ #13179]
28984 * sunrpc/netname.c (netname2host): Fix logic.
28985
28986 [BZ #6779]
28987 [BZ #6783]
28988 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28989 correctly.
28990 * math/w_remainder.c (__remainder): Likewise.
28991 * math/w_remainderf.c (__remainderf): Likewise.
28992 * math/libm-test.inc (remainder_test): Add test cases.
28993
28994 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28995
28996 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28997 sdiv_qrnnd.
28998
28999 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29000
29001 * string/test-memcmp.c: Avoid unncessary #defines.
29002 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29003
29004 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29005
29006 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29007 Use new sse2 version for core i3 - i7 as it's faster
29008 than sse42 version.
29009 (bit_Prefer_PMINUB_for_stringop): New.
29010 * sysdeps/x86_64/rawmemchr.S: Update.
29011 Replace with faster SSE2 version.
29012 * sysdeps/x86_64/memrchr.S: New file.
29013 * sysdeps/x86_64/memchr.S: Update.
29014 Replace with faster SSE2 version.
29015
29016 2011-09-12 Marek Polacek <mpolacek@redhat.com>
29017
29018 * elf/dl-load.c (lose): Add cast to avoid warning.
29019
29020 2011-10-07 Ulrich Drepper <drepper@gmail.com>
29021
29022 * po/ca.po: Update from translation team.
29023
29024 * inet/getnetgrent_r.c: Hook up nscd.
29025 * nscd/Makefile (routines): Add nscd_netgroup.
29026 (nscd-modules): Add netgroupcache.
29027 (CFLAGS-netgroupcache.c): Define.
29028 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29029 (cache_search): Add const to second parameter.
29030 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29031 INNETGR.
29032 (dbs): Add netgrdb entry.
29033 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29034 (verify_persistent_db): Handle netgrdb.
29035 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29036 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29037 GETFDNETGR.
29038 (netgroup_response_header): Define.
29039 (innetgroup_response_header): Define.
29040 (datahead): Add netgroup_response_header and innetgroup_response_header
29041 elements.
29042 * nscd/nscd.conf: Add entries for netgroup cache.
29043 * nscd/nscd.h (dbtype): Add netgrdb.
29044 (_PATH_NSCD_NETGROUP_DB): Define.
29045 (netgroup_iov_disabled): Declare.
29046 (xmalloc, xcalloc, xrealloc): Move declarations here.
29047 (cache_search): Adjust prototype.
29048 Add netgroup-related prototypes.
29049 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29050 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29051 (__nscd_innetgr): Declare.
29052 * nscd/selinux.c (perms): Use access_vector_t as element type and
29053 add netgroup-related initializers.
29054 * nscd/netgroupcache.c: New file.
29055 * nscd/nscd_netgroup.c: New file.
29056 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29057 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29058 For four parameters use innetgr.
29059 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29060 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29061 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29062 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29063
29064 * nscd/connections.c (register_traced_file): Don't register file
29065 for disabled databases.
29066
29067 2011-10-06 Ulrich Drepper <drepper@gmail.com>
29068
29069 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29070
29071 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29072 from tree and freeing node.
29073
29074 2011-09-25 Jiri Olsa <jolsa@redhat.com>
29075
29076 * nss/nsswitch.c (__nss_database_lookup): Handle
29077 nss_parse_service_list out of memory case.
29078
29079 2011-09-15 Jiri Olsa <jolsa@redhat.com>
29080
29081 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29082 out of memory case.
29083
29084 2011-10-04 Andreas Schwab <schwab@redhat.com>
29085
29086 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29087 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29088 pass it down.
29089 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29090 elf_machine_rela, elf_machine_lazy_rel.
29091 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29092 (ELF_DYNAMIC_DO_REL): Likewise.
29093 (ELF_DYNAMIC_DO_RELA): Likewise.
29094 (ELF_DYNAMIC_RELOCATE): Likewise.
29095 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29096 to ELF_DYNAMIC_DO_REL.
29097 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29098 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29099 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29100 elf_machine_rela.
29101 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29102 skip_ifunc, don't call ifunc function if non-zero.
29103 (elf_machine_rela): Likewise.
29104 (elf_machine_lazy_rel): Likewise.
29105 (elf_machine_lazy_rela): Likewise.
29106 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29107 (elf_machine_lazy_rel): Likewise.
29108 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29109 Likewise.
29110 (elf_machine_lazy_rel): Likewise.
29111 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29112 Likewise.
29113 (elf_machine_lazy_rel): Likewise.
29114 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29115 (elf_machine_lazy_rel): Likewise.
29116 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29117 (elf_machine_lazy_rel): Likewise.
29118 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29119 (elf_machine_lazy_rel): Likewise.
29120 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29121 (elf_machine_lazy_rel): Likewise.
29122 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29123 (elf_machine_lazy_rel): Likewise.
29124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29125 (elf_machine_lazy_rel): Likewise.
29126
29127 2011-09-28 Ulrich Drepper <drepper@gmail.com>
29128
29129 * nss/nss_files/files-init.c (_nss_files_init): Use static
29130 initialization for all the *_traced_file variables.
29131
29132 2011-09-28 Andreas Schwab <schwab@redhat.com>
29133
29134 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29135
29136 2011-09-27 Roland McGrath <roland@hack.frob.com>
29137
29138 [BZ #13226]
29139 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29140
29141 2011-09-27 Andreas Schwab <schwab@redhat.com>
29142
29143 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29144 Reread the line before reparsing it.
29145
29146 2011-09-26 Andreas Schwab <schwab@redhat.com>
29147
29148 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29149
29150 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29151 Maxim Kuvyrkov <maxim@codesourcery.com>
29152 Joseph Myers <joseph@codesourcery.com>
29153
29154 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29155 if needed for __stack_chk_guard.
29156
29157 2011-09-19 Roland McGrath <roland@hack.frob.com>
29158
29159 * sysdeps/posix/spawni.c (script_execute): Always define it.
29160 It will be optimized away if unused.
29161 (maybe_script_execute): New function.
29162 (__spawni): Call it.
29163
29164 * Makerules: Don't include tls.make.
29165 (config-tls): Always set to thread.
29166 * tls.make.c: File removed.
29167
29168 2011-09-19 Mike Frysinger <vapier@gentoo.org>
29169
29170 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29171 * config.make.in (CPPFLAGS-config): New substituted variable.
29172
29173 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29174
29175 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29176
29177 [BZ #13192]
29178 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29179 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29180
29181 2011-09-15 Roland McGrath <roland@hack.frob.com>
29182
29183 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29184 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29185 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29186 (CALL_FAIL): Likewise.
29187 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29188 (CALL_FAIL): Macro removed.
29189 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29190
29191 2011-09-15 Ulrich Drepper <drepper@gmail.com>
29192
29193 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29194 for __FINITE_MATH_ONLY__ == 1.
29195
29196 2011-09-15 Andreas Schwab <schwab@redhat.com>
29197
29198 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29199 __ieee754_sqrt instead of sqrt.
29200 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29201 __ieee754_sqrtf instead of sqrtf.
29202 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29203 __floorf instead of floorf.
29204 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29205 __floorf, __truncf instead of floorf, truncf.
29206
29207 2011-09-14 Ulrich Drepper <drepper@gmail.com>
29208
29209 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29210
29211 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29212 __extern_always_inline.
29213 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29214 32-bit.
29215
29216 2011-09-14 Andreas Schwab <schwab@redhat.com>
29217
29218 * elf/rtld.c (dl_main): Also relocate in dependency order when
29219 doing symbol dependency testing.
29220
29221 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29222
29223 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29224 Always define `refsym'.
29225
29226 2011-09-13 Andreas Schwab <schwab@redhat.com>
29227
29228 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29229 (__FD_ELT): Renamed from __FDELT.
29230 * misc/bits/select2.h (__FD_ELT): Likewise.
29231 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29232 __FD_MASK instead of __FDELT, __FDMASK.
29233 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29234 Likewise.
29235 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29236 Likewise.
29237
29238 * elf/Makefile (gen-ldd): Fix pattern.
29239
29240 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29241 (init_tls): Likewise.
29242
29243 2011-09-12 Ulrich Drepper <drepper@gmail.com>
29244
29245 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29246
29247 2011-09-12 Andreas Schwab <schwab@redhat.com>
29248
29249 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29250 `struct cmsghdr *' instead of `void *'.
29251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29252 Likewise.
29253
29254 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29255
29256 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29257 if non-absolute.
29258 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29259 ldd_rewrite_script.
29260
29261 2011-09-11 Ulrich Drepper <drepper@gmail.com>
29262
29263 * configure.in: Remove --with-tls option.
29264 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29265 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29266 out in case it is missing.
29267 * sysdeps/ia64/elf/configure.in: Likewise.
29268 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29269 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29270 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29271 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29272 * sysdeps/sh/elf/configure.in: Likewise.
29273 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29274 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29275 * sysdeps/x86_64/elf/configure.in: Likewise.
29276 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29277 * sysdeps/mach/hurd/tls.h: Likewise.
29278
29279 [BZ #13067]
29280 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29281
29282 [BZ #13090]
29283 * configure.in: Fix use of AC_INIT.
29284
29285 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29286
29287 2011-09-10 Ulrich Drepper <drepper@gmail.com>
29288
29289 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29290 __set_errno.
29291 * malloc/hooks.c: Likewise.
29292
29293 [BZ #11929]
29294 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29295 variables statically.
29296 (narenas): Initialize.
29297 (list_lock): Initialize.
29298 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29299 initializtion of main_arena and list_lock. Small cleanups.
29300 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29301 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29302 Add initializers to main_arena and mp_.
29303 (malloc_state): Remove pagesize member. Change all users to use
29304 GLRO(dl_pagesize).
29305
29306 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29307 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29308 is always initialized.
29309
29310 * malloc/malloc.c: Removed unused configurations and dead code.
29311 * malloc/arena.c: Likewise.
29312 * malloc/hooks.c: Likewise.
29313 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29314
29315 * include/tls.h: Removed. USE___THREAD must always be defined.
29316 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29317 * elf/dl-libc.c: Likewise.
29318 * elf/dl-tsd.c: Likewise.
29319 * include/errno.h: Likewise.
29320 * include/netdb.h: Likewise.
29321 * include/resolv.h: Likewise.
29322 * inet/herrno-loc.c: Likewise.
29323 * inet/herrno.c: Likewise.
29324 * malloc/arena.c: Likewise.
29325 * malloc/hooks.c: Likewise.
29326 * malloc/malloc.c: Likewise.
29327 * resolv/res-state.c: Likewise.
29328 * resolv/res_libc.c: Likewise.
29329 * sysdeps/i386/dl-machine.h: Likewise.
29330 * sysdeps/ia64/dl-machine.h: Likewise.
29331 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29332 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29333 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29334 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29335 * sysdeps/sh/dl-machine.h: Likewise.
29336 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29337 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29338 * sysdeps/unix/i386/sysdep.S: Likewise.
29339 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29340 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29341 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29342 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29343 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29344 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29345 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29347 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29349 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29350 * sysdeps/x86_64/dl-machine.h: Likewise.
29351 * tls.make.c: Likewise.
29352
29353 * configure.in: Remove --with-__thread option. Make tests for
29354 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29355 tls_model attribute fail if no support is available. Remove
29356 USE_IN_LIBIO.
29357 * Makeconfig: Adjust for dropped configure option. All features are
29358 now mandatory.
29359 * Makerules: Likewise.
29360 * Versions.def: Likewise.
29361 * argp/argp-fmtstream.c: Likewise.
29362 * argp/argp-fmtstream.h: Likewise.
29363 * argp/argp-help.c: Likewise.
29364 * assert/assert.c: Likewise.
29365 * config.h.in: Likewise.
29366 * config.make.in: Likewise.
29367 * configure: Likewise.
29368 * configure.in: Likewise.
29369 * csu/Versions: Likewise.
29370 * csu/init.c: Likewise.
29371 * elf/tst-audit2.c: Likewise.
29372 * elf/tst-tls10.c: Likewise.
29373 * elf/tst-tls10.h: Likewise.
29374 * elf/tst-tls11.c: Likewise.
29375 * elf/tst-tls12.c: Likewise.
29376 * elf/tst-tls14.c: Likewise.
29377 * elf/tst-tlsmod11.c: Likewise.
29378 * elf/tst-tlsmod12.c: Likewise.
29379 * elf/tst-tlsmod13.c: Likewise.
29380 * elf/tst-tlsmod13a.c: Likewise.
29381 * elf/tst-tlsmod14a.c: Likewise.
29382 * elf/tst-tlsmod15b.c: Likewise.
29383 * elf/tst-tlsmod16a.c: Likewise.
29384 * elf/tst-tlsmod16b.c: Likewise.
29385 * elf/tst-tlsmod7.c: Likewise.
29386 * elf/tst-tlsmod8.c: Likewise.
29387 * elf/tst-tlsmod9.c: Likewise.
29388 * gmon/gmon.c: Likewise.
29389 * grp/fgetgrent_r.c: Likewise.
29390 * grp/putgrent.c: Likewise.
29391 * hurd/fopenport.c: Likewise.
29392 * include/libc-symbols.h: Likewise.
29393 * include/tls.h: Likewise.
29394 * intl/gettextP.h: Likewise.
29395 * intl/loadinfo.h: Likewise.
29396 * locale/global-locale.c: Likewise.
29397 * locale/localeinfo.h: Likewise.
29398 * mach/devstream.c: Likewise.
29399 * malloc/arena.c: Likewise.
29400 * malloc/set-freeres.c: Likewise.
29401 * misc/err.c: Likewise.
29402 * misc/getttyent.c: Likewise.
29403 * misc/mntent_r.c: Likewise.
29404 * posix/getopt.c: Likewise.
29405 * posix/wordexp.c: Likewise.
29406 * pwd/fgetpwent_r.c: Likewise.
29407 * resolv/Versions: Likewise.
29408 * resolv/res_hconf.c: Likewise.
29409 * shadow/fgetspent_r.c: Likewise.
29410 * shadow/putspent.c: Likewise.
29411 * stdio-common/printf_fphex.c: Likewise.
29412 * stdio-common/tmpfile.c: Likewise.
29413 * stdlib/abort.c: Likewise.
29414 * stdlib/fmtmsg.c: Likewise.
29415 * sunrpc/auth_unix.c: Likewise.
29416 * sunrpc/clnt_perr.c: Likewise.
29417 * sunrpc/clnt_tcp.c: Likewise.
29418 * sunrpc/clnt_udp.c: Likewise.
29419 * sunrpc/clnt_unix.c: Likewise.
29420 * sunrpc/openchild.c: Likewise.
29421 * sunrpc/svc_simple.c: Likewise.
29422 * sunrpc/svc_tcp.c: Likewise.
29423 * sunrpc/svc_udp.c: Likewise.
29424 * sunrpc/svc_unix.c: Likewise.
29425 * sunrpc/xdr.c: Likewise.
29426 * sunrpc/xdr_array.c: Likewise.
29427 * sunrpc/xdr_rec.c: Likewise.
29428 * sunrpc/xdr_ref.c: Likewise.
29429 * sunrpc/xdr_stdio.c: Likewise.
29430
29431 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29432
29433 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29434
29435 2011-07-03 Andreas Jaeger <aj@suse.de>
29436
29437 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29438 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29439 regenerate with gen-libm-tests.pl.
29440
29441 2010-05-12 Petr Baudis <pasky@suse.cz>
29442
29443 [BZ #11589]
29444 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29445 around j0() zero points by switching to j1().
29446 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29447 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29448 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29449 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29450
29451 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29452
29453 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29454 instead of 0.
29455 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29456 instead of 0.
29457 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29458 Patch in part by Pavel Roskin <proski@gnu.org>.
29459
29460 [BZ #13138]
29461 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29462 realloc.
29463 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29464 Free memory block if necessary.
29465
29466 [BZ #12847]
29467 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29468 be NULL. Don't lock in this case.
29469
29470 2011-09-09 Roland McGrath <roland@hack.frob.com>
29471
29472 * elf/elf.h (ELFOSABI_GNU): New macro.
29473 (ELFOSABI_LINUX): Define to that.
29474
29475 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29476
29477 * string/strncat.c (strncat): Undef the symbol in case it has been
29478 defined in bits/string.h.
29479
29480 2011-09-09 Ulrich Drepper <drepper@gmail.com>
29481
29482 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29483
29484 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29485 link map.
29486
29487 2011-08-17 Andreas Jaeger <aj@suse.de>
29488
29489 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29490
29491 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29492 Ian Lance Taylor <iant@google.com>
29493
29494 * math/libm-test.inc (lround_test): New testcase.
29495 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29496
29497 2011-09-08 Ulrich Drepper <drepper@gmail.com>
29498
29499 * Makefile: Remove support for automatic cvs check-ins.
29500 * Makerules: Likewise.
29501 * config.make.in: Likewise.
29502 * configure.in: Likewise.
29503 * intl/Makefile: Likewise.
29504 * locale/Makefile: Likewise.
29505 * po/Makefile: Likewise.
29506 * posix/Makefile: Likewise.
29507 * sysdeps/gnu/Makefile: Likewise.
29508 * sysdeps/mach/hurd/Makefile: Likewise.
29509 * sysdeps/sparc/sparc32/Makefile: Likewise.
29510
29511 [BZ #13118]
29512 * posix/Makefile (bug-regex32-ENV): Define.
29513 Patch by John Stanley <jpsinthemix@verizon.net>.
29514
29515 * misc/Makefile (headers): Add bits/select2.h.
29516 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29517 * misc/bits/select2.h: New file.
29518 * include/bits/select2.h: New file.
29519 * debug/Makefile (routines): Add fdelt_chk.
29520 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29521 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29522 FD_ISSET.
29523 * debug/fdelt_chk.c: New file.
29524
29525 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29526 * wcsmbs/test-wmemcmp.c: Likewise.
29527 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29528 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29529
29530 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29531
29532 * string/Makefile (strop-tests): Add memcmp.
29533 * string/test-wmemcmp.c: New file.
29534 * string/test-memcmp.c: Add wmemcmp support.
29535
29536 2011-09-08 Roland McGrath <roland@hack.frob.com>
29537
29538 [BZ #13153]
29539 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29540 2011-07-19 change.
29541
29542 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29543 garbage value in a __mach_port_mod_refs call in the cases of the
29544 task-self and thread-self ports.
29545
29546 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29547
29548 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29549
29550 2011-09-08 Andreas Schwab <schwab@redhat.com>
29551
29552 * elf/dl-load.c (lose): Check for non-null L.
29553
29554 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29555
29556 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29557
29558 * elf/dl-libc.c (dlerror_run): Pass back error code from
29559 dl_catch_error.
29560
29561 [BZ #13123]
29562 * elf/dl-load.c (lose): Free l_origin if it is valid.
29563
29564 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29565 names.
29566 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29567 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29568 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29569 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29570 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29571 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29572
29573 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29574
29575 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29576 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29577 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29578 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29579 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29580 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29581 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29582 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29583 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29584 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29585
29586 2011-08-15 Alan Modra <amodra@gmail.com>
29587
29588 [BZ #13092]
29589 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29590 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29591 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29592 ppc_mcount to static-only-routines.
29593 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29594 __mcount_internal.
29595 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29596 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29597
29598 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29599
29600 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29601 for finite and infinity parameters.
29602
29603 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29604
29605 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29606 and add nop instructions for throughput optimization.
29607 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29608
29609 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29610
29611 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29612 aligned copy for power7 with vector-scalar instructions.
29613 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29614
29615 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29616
29617 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29618 AVX check.
29619
29620 2011-09-07 Andreas Schwab <schwab@redhat.com>
29621
29622 [BZ #13144]
29623 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29624 last change.
29625
29626 2011-09-07 Ulrich Drepper <drepper@gmail.com>
29627
29628 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29629 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29630 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29631 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29632 clock_gettime.
29633
29634 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29635
29636 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29637 Forgot to demangle the pointer.
29638
29639 * sysdeps/i386/sysdep.h: Define atom_text_section.
29640 * sysdeps/x86_64/sysdep.h: Likewise.
29641 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29642 section with atom_text_section.
29643 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29644 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29645 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29646 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29647 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29648
29649 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29650 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29651 already be defined. Change to take two parameters and don't assign
29652 result to variable. Adjust all users.
29653 Define INTERNAL_GETTIME if not already defined.
29654 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29655 call.
29656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29657 HAVE_CLOCK_GETTIME_VSYSCALL.
29658 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29659
29660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29661 gettimeofday vsyscall, just use time.
29662
29663 2011-09-06 Andreas Schwab <schwab@redhat.com>
29664
29665 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29666 <errno.h>.
29667
29668 2011-09-06 Ulrich Drepper <drepper@gmail.com>
29669
29670 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29671 syscall on x86-64.
29672 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29673 syscall.
29674 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29675 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29676 syscall if possible.
29677
29678 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29679
29680 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29681 e_ident. Don't pass to find_mapsXX.
29682 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29683
29684 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29685
29686 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29687 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29688 * sysdeps/x86_64/multiarch/strchr.S: Update.
29689 Check bit_slow_BSF bit.
29690 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29691 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29692 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29693
29694 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29695
29696 [BZ #13134]
29697 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29698 before glibc 2.15.
29699 (tryshell): Define.
29700 (__spawni): Change last parameter to be flag. Test
29701 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29702 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29703 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29704 * posix/spawni.c: Likewise.
29705 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29706 * posix/spawnp.c: Likewise. Change normal version to use
29707 SPAWN_XFLAGS_USE_PATH.
29708 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29709 SPAWN_XFLAGS_TRY_SHELL.
29710
29711 [BZ #13150]
29712 * posix/glob.h: Remove gcc 1.x support.
29713
29714 [BZ #13068]
29715 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29716
29717 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29718
29719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29720 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29721 strrchr-sse2-bsf
29722 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29723 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29724 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29725 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29726 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29727 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29728
29729 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29730
29731 * sysdeps/x86_64/wcscmp.S: New file.
29732
29733 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29734 wcscmp-c wcscmp-sse2
29735 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29736 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29737 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29738 * wcsmbs/wcscmp.c: Allow renaming.
29739
29740 2011-09-05 David S. Miller <davem@davemloft.net>
29741
29742 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29743 stack slot, rather than the struct return pointer slot.
29744 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29745 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29747 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29748
29749 2011-09-05 Ulrich Drepper <drepper@gmail.com>
29750
29751 * po/ja.po: Update from translation team.
29752
29753 [BZ #13144]
29754 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29755 kernel in 64-bit binaries.
29756
29757 2011-09-01 David S. Miller <davem@davemloft.net>
29758
29759 * elf/elf.h (HWCAP_SPARC_*): Move to..
29760 * sysdeps/sparc/sysdep.h: this new file and add new values.
29761 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29762 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29763 _DL_HWCAP_COUNT to 24.
29764 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29765 entries.
29766 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29767 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29768 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29769 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29770 instead of magic constants.
29771 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29772
29773 2011-08-31 David S. Miller <davem@davemloft.net>
29774
29775 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29776 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29777 Reimplement to do errno handling inline.
29778 (SYSCALL_ERROR_HANDLER): New macro.
29779 (__SYSCALL_STRING): Do not do errno handling in asm.
29780 (__CLONE_SYSCALL_STRING): Delete.
29781 (__INTERNAL_SYSCALL_STRING): Delete.
29782 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29783 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29784 (PSEUDO): Reimplement to do errno handling inline.
29785 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29786 (SYSCALL_ERROR_HANDLER): New macro.
29787 (__SYSCALL_STRING): Do not do errno handling in asm.
29788 (__CLONE_SYSCALL_STRING): Delete.
29789 (__INTERNAL_SYSCALL_STRING): Delete.
29790 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29791 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29792 i386.
29793 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29794 (inline_syscall*): Add 'err' argument.
29795 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29796 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29797 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29798 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29799
29800 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29801 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29802
29803 2011-08-30 Andreas Schwab <schwab@redhat.com>
29804
29805 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29806
29807 2011-08-29 Jiri Olsa <jolsa@redhat.com>
29808
29809 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29810 directive.
29811
29812 2011-08-24 David S. Miller <davem@davemloft.net>
29813
29814 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29815
29816 2011-08-24 Andreas Schwab <schwab@redhat.com>
29817
29818 * elf/Makefile: Add rules to build and run unload8 test.
29819 * elf/unload8.c: New file.
29820 * elf/unload8mod1.c: New file.
29821 * elf/unload8mod1x.c: New file.
29822 * elf/unload8mod2.c: New file.
29823 * elf/unload8mod3.c: New file.
29824
29825 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29826 it wasn't used.
29827
29828 2011-08-23 David S. Miller <davem@davemloft.net>
29829
29830 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29831 subtract stack bias.
29832 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29833 %sp not %fp in calculations.
29834 (_JMPBUF_UNWINDS_ADJ): Likewise.
29835
29836 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29837 (aio_suspend): Call it to force an exception region around the
29838 AIO_MISC_WAIT() invocation.
29839
29840 2011-08-23 Andreas Schwab <schwab@redhat.com>
29841
29842 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29843 backslash.
29844
29845 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29846
29847 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29848 protection macro.
29849 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29850 and <dl-machine.h>.
29851 (Elf64_FuncDesc): Remove.
29852
29853 2011-08-22 David S. Miller <davem@davemloft.net>
29854
29855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29856 sigaltstack check, add missing cfi directives.
29857 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29858 missing cfi directives, and sigaltstack handling.
29859
29860 2011-08-16 Andreas Schwab <schwab@redhat.com>
29861
29862 [BZ #11724]
29863 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29864 object is seen twice.
29865 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29866
29867 * elf/Makefile (distribute): Add tst-initorder2.c.
29868 (tests): Add tst-initorder2.
29869 (modules-names): Add tst-initorder2a tst-initorder2b
29870 tst-initorder2c tst-initorder2d. Add rules to build them.
29871 ($(objpfx)tst-initorder2.out): New rule.
29872 * elf/tst-initorder2.c: New file.
29873 * elf/tst-initorder2.exp: New file.
29874
29875 2011-08-22 Andreas Schwab <schwab@redhat.com>
29876
29877 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29878
29879 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29880 dependencies back to end of function.
29881
29882 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29883 $(elfobjdir)/ld.so.
29884
29885 2011-08-21 Ulrich Drepper <drepper@gmail.com>
29886
29887 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29888 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29890 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29891 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29892 of __vdso_gettimeofday.
29893 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29894 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29895 attribute_hidden.
29896 (_libc_vdso_platform_setup): Remove initialization of
29897 __vdso_gettimeofday and __vdso_time.
29898
29899 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29900
29901 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29902 and fgetc_unlocked.
29903 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29904 getc_unlocked.
29905
29906 * elf/dl-open.c (add_to_global): Report additions to the global scope
29907 for LD_DEBUG=scopes.
29908 (dl_open_worker): Also print scope of newly loaded dependencies.
29909 (_dl_show_scope): Indicate if there is no scope.
29910
29911 [BZ #13114]
29912 * stdio-common/Makefile (tests): Add bug24.
29913 * stdio-common/bug24.c: New file.
29914
29915 2011-08-19 Andreas Jaeger <aj@suse.de>
29916
29917 [BZ #13114]
29918 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29919 non-existant file when using close-on-exec mode.
29920
29921 2011-08-20 Ulrich Drepper <drepper@gmail.com>
29922
29923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29924 the very first instruction.
29925
29926 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29927 the CFI state in the end.
29928 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29929 inclusion of dl-trampoline.h.
29930 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29931
29932 2011-08-19 Andreas Schwab <schwab@redhat.com>
29933
29934 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29935 expectations for long double.
29936
29937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29938 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29939
29940 2011-08-14 David S. Miller <davem@davemloft.net>
29941
29942 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29943 artificual limit depends upon the system page size.
29944
29945 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29946
29947 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29948 * resolv/Makefile: Define CFLAGS-libresolv.
29949
29950 2011-08-17 Andreas Schwab <schwab@redhat.com>
29951
29952 * nss/makedb.c (compute_tables): Make variables used in nested
29953 function static.
29954
29955 2011-08-17 Ulrich Drepper <drepper@gmail.com>
29956
29957 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29958 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29959 if buffer was too small.
29960
29961 * elf/pldd.c (main): Attach to all threads in the process.
29962 Rewrite /proc handling to use *at functions.
29963
29964 2011-08-16 Ulrich Drepper <drepper@gmail.com>
29965
29966 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29967 specifies first scope to show.
29968 (dl_open_worker): Update callers. Move printing scope of new
29969 object to before the relocation.
29970 * elf/rtld.c (dl_main): Update _dl_show_scope call.
29971 * sysdeps/generic/ldsodefs.h: Update declaration.
29972
29973 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29974 string for the scope number.
29975
29976 2011-08-14 Ulrich Drepper <drepper@gmail.com>
29977
29978 * nscd/servicescache.c (cache_addserv): Make sure written is always
29979 initialized.
29980
29981 2011-08-14 Roland McGrath <roland@hack.frob.com>
29982
29983 * sysdeps/i386/i486/bits/atomic.h
29984 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29985 statement expression, so as to suppress "set but not used" warning.
29986 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29987
29988 * string/strncat.c (STRNCAT): Use prototype definition.
29989
29990 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29991 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29992 -Iprograms here.
29993 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29994 (localedef-modules): Add localedef.
29995 (locale-modules): Add locale.
29996
29997 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29998 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29999 to avoid a warning.
30000
30001 2011-08-14 David S. Miller <davem@davemloft.net>
30002
30003 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30004 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30005
30006 2011-08-13 Ulrich Drepper <drepper@gmail.com>
30007
30008 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
30009 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30010 * elf/rtld.c (dl_main): Set l_name of vDSO.
30011 Call _dl_show_scope when DL_DEBUG_SCOPES.
30012 (process_dl_debug): Recognize scopes flag and also set it for all.
30013 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30014 Declare _dl_show_scope.
30015
30016 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30017 (do_dlopen): Pass caller_dlopen to dl_open.
30018 (__libc_dlopen_mode): Initialize caller_dlopen.
30019
30020 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30021 of libc. Make tolower call locale-independent. Optimize a bit by
30022 using isdigit instead of isalnum.
30023 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30024
30025 2011-08-12 Ulrich Drepper <drepper@gmail.com>
30026
30027 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30028 was a dependency or dynamically loaded.
30029
30030 2011-08-11 Ulrich Drepper <drepper@gmail.com>
30031
30032 * intl/l10nflist.c: Allow architecture-specific pop function.
30033 * sysdeps/x86_64/l10nflist.c: New file.
30034
30035 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30036 classification.
30037
30038 2011-08-10 Andreas Schwab <schwab@redhat.com>
30039
30040 * include/dirent.h: Add libc_hidden_proto for scandirat and
30041 scandirat64. Don't declare __scandirat64.
30042 * dirent/scandirat.c: Add libc_hidden_def.
30043 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30044 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30045
30046 2011-08-10 David S. Miller <davem@davemloft.net>
30047
30048 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30049 enum.
30050 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30051 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30052 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30053
30054 2011-08-09 Ulrich Drepper <drepper@gmail.com>
30055
30056 * Versions.def [libc]: Add GLIBC_2.15.
30057 * dirent/Makefile (routines): Add scandirat and scandirat64.
30058 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30059 GLIBC_2.15.
30060 * dirent/dirent.h: Declare scandirat and scandirat64.
30061 * dirent/scandirat.c: New file.
30062 * dirent/scandirat64.c: New file.
30063 * sysdeps/wordsize-64/scandirat.c: New file.
30064 * sysdeps/wordsize-64/scandirat64.c: New file.
30065 * dirent/opendir.c: Define opendirat.
30066 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30067 using scandirat.
30068 * dirent/scandir64.c: Adjust for scandir.c change.
30069 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30070 __scandirat64, and __scandir_cancel_handler.
30071 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30072 additional parameter and use openat instead of open (outside of ld.so).
30073 Add new __opendir as wrapper around __opendirat.
30074 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30075 here without requiring old scandirat implementation.
30076
30077 2011-08-08 Ulrich Drepper <drepper@gmail.com>
30078
30079 * dirent/scandir.c (cancel_handler): Renamed to
30080 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30081 defined. Adjust users.
30082 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30083 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30084
30085 2011-08-04 Ulrich Drepper <drepper@gmail.com>
30086
30087 * string/test-string.h (IMPL): Use __STRING to expand name and then
30088 stringify it.
30089
30090 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30091 of cleanups.
30092
30093 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30094
30095 * string/Makefile: Update.
30096 (strop-tests): Append strncat.
30097 * string/test-wcscmp.c: New file.
30098 New comprehensive test for wcscmp.
30099 * string/test-strcmp.c: Update.
30100 (WIDE): New define.
30101
30102 2011-07-22 Andreas Schwab <schwab@redhat.com>
30103
30104 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30105 line.
30106
30107 2011-07-26 Andreas Schwab <schwab@redhat.com>
30108
30109 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30110 encoding to ACE if AI_IDN.
30111
30112 2011-08-01 Jakub Jelinek <jakub@redhat.com>
30113
30114 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30115 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30116
30117 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30118
30119 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30120 Fix overflow bug in strncat.
30121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30122
30123 * string/test-strncat.c: Update.
30124 Add new tests for checking overflow bugs.
30125
30126 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30127
30128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30129 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30130 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30131 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30132 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30133 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30134 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30135 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30136 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30137
30138 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30139 (USE_AS_STRCAT): Define.
30140 Add strcat and strncat support.
30141 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30142
30143 2011-07-25 Andreas Schwab <schwab@redhat.com>
30144
30145 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30146 __n bigger than INT_MAX+1.
30147 (__strncmp_g): Likewise.
30148
30149 2011-07-23 Ulrich Drepper <drepper@gmail.com>
30150
30151 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30152 * libio/stido.h: Likewise.
30153
30154 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30155 (AF_NFC): Define.
30156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30157 (AF_NFC): Define.
30158
30159 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30160 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30161 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30162 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30163 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30164
30165 [BZ #13021]
30166 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30167 installed.
30168
30169 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30170 typo.
30171 (_dl_x86_64_save_sse): Likewise.
30172
30173 2011-07-22 Ulrich Drepper <drepper@gmail.com>
30174
30175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30176 OSXSAVE.
30177 (_dl_x86_64_save_sse): Likewise.
30178
30179 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30180
30181 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30182
30183 2011-07-21 Andreas Schwab <schwab@redhat.com>
30184
30185 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30186 change.
30187 (_dl_x86_64_save_sse): Use correct AVX check.
30188
30189 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30190
30191 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30192 bug in strncpy/strncat.
30193 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30194
30195 2011-07-21 Ulrich Drepper <drepper@gmail.com>
30196
30197 * string/tester.c (test_strcat): Add tests for different alignments
30198 of source and destination.
30199 (test_strncat): Likewise.
30200
30201 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30202
30203 [BZ #12852]
30204 * posix/glob.c (glob): Check passed in values before using them in
30205 expressions to avoid some overflows.
30206 (glob_in_dir): Likewise.
30207
30208 [BZ #13007]
30209 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30210 check for AVX enablement so that we don't crash with old kernels and
30211 new hardware.
30212 * elf/tst-audit4.c: Add same checks here.
30213 * elf/tst-audit6.c: Likewise.
30214
30215 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30216
30217 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30218
30219 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30220
30221 2011-07-20 Ulrich Drepper <drepper@gmail.com>
30222
30223 * po/cs.po: Update from translation team.
30224 * po/bg.po: Likewise.
30225
30226 2011-07-12 Marek Polacek <mpolacek@redhat.com>
30227
30228 * misc/sys/cdefs.h: Add support for const attribute.
30229 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30230 to gnu_dev_{major,minor,makedev} functions.
30231
30232 2011-07-20 Marek Polacek <mpolacek@redhat.com>
30233
30234 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30235
30236 2011-07-20 Andreas Schwab <schwab@redhat.com>
30237
30238 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30239 strlen results.
30240
30241 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30242
30243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30244 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30245 register in order to avoid conflicts with the soft frame pointer
30246 being held in r11 when necessary.
30247 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30248 (INTERNAL_VSYSCALL_NCS): Likewise.
30249
30250 2011-07-14 Marek Polacek <mpolacek@redhat.com>
30251
30252 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30253 * elf/dl-fini.c (_dl_fini): Adjust caller.
30254 * elf/dl-close.c (_dl_close_worker): Likewise.
30255 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30256
30257 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30258
30259 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30260 "aux_cache->nlibs < 0".
30261
30262 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30263 in the reload-count case.
30264
30265 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30266
30267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30268 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30269 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30270 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30271 * sysdeps/x86_64/multiarch/strcat.S: New file.
30272 * sysdeps/x86_64/multiarch/strncat.S: New file.
30273 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30274 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30275 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30276 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30277 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30278 (USE_AS_STRCAT): Define.
30279 Add strcat and strncat support.
30280 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30281 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30282 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30283 * string/strncat.c: Update.
30284 (USE_AS_STRNCAT): Define.
30285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30286 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30287 and i7.
30288 * sysdeps/x86_64/multiarch/init-arch.h
30289 (bit_Prefer_PMINUB_for_stringop): New.
30290 (index_Prefer_PMINUB_for_stringop): Likewise.
30291 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30292 bit_Prefer_PMINUB_for_stringop.
30293
30294 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30295
30296 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30297 buffer64.
30298 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30299 of casting of buffer.
30300 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30301 buffer32 and buffer64.
30302 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30303 writes instead of casting of buffer.
30304 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30305 buffer32.
30306 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30307 casting of buffer.
30308
30309 2011-07-19 Andreas Schwab <schwab@redhat.com>
30310
30311 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30312
30313 2011-07-19 Ulrich Drepper <drepper@gmail.com>
30314
30315 * nscd/nscd.c (termination_handler): Don't do anything for a database
30316 if it has not yet been initialized.
30317
30318 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30319
30320 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30321
30322 2011-07-15 Marek Polacek <mpolacek@redhat.com>
30323
30324 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30325
30326 2011-07-18 Ulrich Drepper <drepper@gmail.com>
30327
30328 * po/nl.po: Update from translation team.
30329 * po/sv.po: Likewise.
30330
30331 2011-07-16 Roland McGrath <roland@hack.frob.com>
30332
30333 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30334 now disallowed by GCC.
30335
30336 * configure.in (use-default-link): Default to yes if a test -shared
30337 link meets our qualifications.
30338 * configure: Regenerated.
30339
30340 * config.make.in (output-format): New variable.
30341 * configure.in: Check for ld --print-output-format support.
30342 * configure: Regenerated.
30343 * Makerules ($(common-objpfx)format.lds)
30344 [$(output-format) != unknown]: Just use $(output-format),
30345 instead of the linker-script munging.
30346
30347 2011-07-14 Roland McGrath <roland@hack.frob.com>
30348
30349 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30350 of $(common-objpfx)shlib.lds.
30351 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30352
30353 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30354 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30355
30356 * configure.in (-z relro check): Adjust test code to add a large
30357 writable data section after it.
30358 * configure: Regenerated.
30359
30360 2011-07-11 Roland McGrath <roland@hack.frob.com>
30361
30362 * configure.in (-z relro check): Fix test code to make the variable
30363 truly const.
30364 * configure: Regenerated.
30365
30366 2011-07-11 Ulrich Drepper <drepper@gmail.com>
30367
30368 * nscd/nscd.h (struct traced_file): Define.
30369 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30370 elements. Add traced_files.
30371 (inotify_fd): Declare.
30372 (register_traced_file): Declare.
30373 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30374 (inotify_fd): Export.
30375 (resolv_conf_descr): Remove.
30376 (nscd_init): Move inotify descriptor creation to main.
30377 Don't register files for notification here.
30378 (register_traced_file): New function.
30379 (invalidate_cache): Don't use reset_res to determine whether to call
30380 res_init, go through the list of registered files.
30381 (main_loop_poll): The inotify descriptors are now stored in the
30382 structures for the traced files.
30383 (main_loop_epoll): Likewise
30384 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30385 to __nss_disable_nscd.
30386 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30387 for a database anymore. Check the records for all the registered
30388 files instead.
30389 * nss/Makefile (libnss_files-routines): Add files-init.
30390 (libnss_db-routines): Add db-init.
30391 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30392 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30393 * nss/nss_db/db-init.c: New file.
30394 * nss/nss_files/files-init.c: New file.
30395 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30396 __nss_lookup_function.
30397 (__nss_lookup_function): Call nss_load_library.
30398 (nss_load_all_libraries): New function.
30399 (__nss_disable_nscd): Take parameter with callback function for files
30400 to register. Set is_nscd. Load all the DSOs for the NSS modules
30401 used for the cached services.
30402 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30403 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30404 options for features to all the files in nscd.
30405
30406 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30407
30408 2011-07-10 Roland McGrath <roland@hack.frob.com>
30409
30410 * csu/elf-init.c (__libc_csu_init): Comment typo.
30411
30412 2011-07-09 Ulrich Drepper <drepper@gmail.com>
30413
30414 * po/pl.po: Update from translation team.
30415 * po/ja.po: Likewise.
30416 * po/ru.po: Likewise.
30417 * po/ko.po: Likewise.
30418 * po/fr.po: Likewise.
30419
30420 2011-07-09 Roland McGrath <roland@hack.frob.com>
30421
30422 * configure.in (.ctors/.dtors header and trailer check):
30423 Use an empirical test on a built program.
30424 * configure: Regenerated.
30425
30426 * configure.in (-z relro check): Use an empirical test on a built DSO.
30427 Detect, but do not require, on ia64.
30428 * configure: Regenerated.
30429
30430 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30431 Update tests that use readelf to use $READELF instead.
30432 * configure: Regenerated.
30433
30434 2011-07-08 Ulrich Drepper <drepper@gmail.com>
30435
30436 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30437 if the result is not used.
30438
30439 2011-07-05 Andreas Jaeger <aj@suse.de>
30440
30441 [BZ#9696]
30442 * stdlib/tst-strtod.c: Add testcase.
30443
30444 2011-07-07 Ulrich Drepper <drepper@gmail.com>
30445
30446 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30447 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30448 The latter has a higher limit. Take additional parameter to pass to
30449 the new function.
30450 (__pathconf): Pass file to __statfs_link_max.
30451 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30452 __statfs_link_max.
30453 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30454 __statfs_link_max.
30455
30456 [BZ #12868]
30457 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30458 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30459 Handle Lustre.
30460 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30461 (__statfs_filesize_max): Likewise.
30462 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30463
30464 2011-07-05 Andreas Jaeger <aj@suse.de>
30465
30466 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30467
30468 2011-07-06 Marek Polacek <mpolacek@redhat.com>
30469
30470 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30471 `status' variable.
30472 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30473 Likewise.
30474
30475 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30476
30477 * Makefile (strop-tests): Add strncat.
30478 * string/test-strncat.c: New file.
30479
30480 2011-06-30 Marek Polacek <mpolacek@redhat.com>
30481
30482 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30483
30484 2011-06-21 Andreas Jaeger <aj@suse.de>
30485
30486 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30487 Copy rule from iconvdata/Makefile.
30488
30489 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30490
30491 [BZ #12922]
30492 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30493 but no long options are defined, just return 'W'.
30494
30495 2011-06-22 Marek Polacek <mpolacek@redhat.com>
30496
30497 [BZ #9696]
30498 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30499
30500 2011-07-06 Ulrich Drepper <drepper@gmail.com>
30501
30502 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30503 netgroups to read.
30504 (innetgr): Likewise.
30505
30506 2011-07-05 Roland McGrath <roland@hack.frob.com>
30507
30508 * config.make.in (install_root): Default to $(DESTDIR).
30509
30510 2011-07-05 Ulrich Drepper <drepper@gmail.com>
30511
30512 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30513
30514 2011-07-02 Roland McGrath <roland@hack.frob.com>
30515
30516 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30517
30518 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30519 containing directory rather than embedding absolute directory names.
30520
30521 * scripts/check-local-headers.sh: Rewritten using awk.
30522 Match by word, not by line. Print error messages for matches.
30523 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30524
30525 * Makerules [shlib-lds-flags empty]:
30526 ($(common-objpfx)libc_pic.opts): New target.
30527 ($(common-objpfx)libc_pic.os.clean): New target.
30528 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30529
30530 * config.make.in (OBJCOPY): New variable.
30531 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30532 * configure: Regenerated.
30533
30534 * config.make.in (use-default-link): New variable.
30535 * configure.in (use_default_link): Grok --with-default-link to set it.
30536 * configure: Regenerated.
30537 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30538 (shlib-lds, shlib-lds-flags): Define to empty.
30539
30540 * Makerules (shlib-lds): New variable.
30541 (shlib-lds-flags): New variable.
30542 (build-shlib, build-moduile, build-module-asneeded): Use it.
30543 ($(common-objpfx)libc.so): Use $(shlib-lds).
30544 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30545 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30546
30547 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30548 DT_FLAGS/DT_FLAGS_1 with zero flags.
30549
30550 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30551 linker script munging.
30552
30553 2011-07-02 Ulrich Drepper <drepper@gmail.com>
30554
30555 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30556 as 128-bit value.
30557 * crypt/sha512.c (sha512_process_block): Perform total addition using
30558 128-bit if possible.
30559 (__sha512_finish_ctx): Likewise.
30560 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30561 as 64-bit value.
30562 * crypt/sha256.c (SWAP64): Define.
30563 (sha256_process_block): Perform total addition using 64-bit if
30564 possible.
30565 (__sha256_finish_ctx): Likewise.
30566
30567 2011-07-01 Ulrich Drepper <drepper@gmail.com>
30568
30569 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30570 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30571 * nscd/hstcache.c (cache_addhst): Likewise.
30572 * nscd/grpcache.c (cache_addgr): Likewise.
30573 * nscd/aicache.c (addhstaiX): Likewise
30574 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30575
30576 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
30577
30578 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30579 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30580 * nscd/hstcache.c (cache_addhst): Likewise.
30581 * nscd/grpcache.c (cache_addgr): Likewise.
30582 * nscd/aicache.c (addhstaiX): Likewise
30583
30584 2011-07-01 Andreas Schwab <schwab@redhat.com>
30585
30586 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30587 domain only when needed.
30588
30589 2011-06-30 Andreas Schwab <schwab@redhat.com>
30590
30591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30592 is always restored.
30593
30594 2011-06-29 Ulrich Drepper <drepper@gmail.com>
30595
30596 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30597 are re-adding the entry.
30598 * nscd/servicescache.c (cache_addserv): Likewise.
30599
30600 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30601
30602 * sysdeps/generic/dl-irel.h: fix protection against multiple
30603 inclusions.
30604 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30605
30606 2011-06-28 Ulrich Drepper <drepper@gmail.com>
30607
30608 [BZ #12935]
30609 * malloc/memusage.sh: Fix quoting in message.
30610 * debug/xtrace.sh: Likewise.
30611
30612 * configure.in: Remove support for --experimental-malloc option, make
30613 it the default.
30614 * config.make.in: Likewise.
30615 * malloc/Makefile: Likewise.
30616
30617 2011-06-27 Andreas Schwab <schwab@redhat.com>
30618
30619 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30620 two-byte characters.
30621
30622 2011-06-27 Roland McGrath <roland@hack.frob.com>
30623
30624 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30625 AC_CACHE_CHECK invocation.
30626 * configure: Regenerated.
30627
30628 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30629
30630 2011-06-27 Ulrich Drepper <drepper@gmail.com>
30631
30632 [BZ #12350]
30633 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30634 bit from old_res_options.
30635
30636 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30637
30638 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30639 value type for setfct.
30640
30641 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30642
30643 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30644 __gettimeofday instead of gettimeofday.
30645
30646 2011-06-26 Ulrich Drepper <drepper@gmail.com>
30647
30648 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30649
30650 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30651
30652 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30653
30654 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30655 info.
30656
30657 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30658
30659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30660 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30661 strcpy-sse2-unaligned strncpy-sse2-unaligned
30662 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30663 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30664 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30665 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30666 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30668 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30669 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30670 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30671 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30672 (STRCPY): Support SSE2 and SSSE3 versions.
30673
30674 2011-06-24 Ulrich Drepper <drepper@gmail.com>
30675
30676 [BZ #12874]
30677 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30678 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30679 kernels which artificially limit size of requests.
30680
30681 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30682
30683 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30684 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30685 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30686 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30687 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30688 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30689 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30690 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30691 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30692 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30693 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30694 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30695 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30696 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30697 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30699 Enable unaligned load optimization for Intel Core i3, i5 and i7
30700 processors.
30701 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30702 Define.
30703 (index_Fast_Unaligned_Load): Define.
30704 (HAS_FAST_UNALIGNED_LOAD): Define.
30705
30706 2011-06-23 Marek Polacek <mpolacek@redhat.com>
30707
30708 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30709
30710 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30711
30712 [BZ #12907]
30713 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30714 until it is clear that the information is realy needed.
30715 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30716
30717 2011-06-22 Andreas Schwab <schwab@redhat.com>
30718
30719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30720
30721 2011-06-22 Ulrich Drepper <drepper@gmail.com>
30722
30723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30724 /sys/devices/system/cpu/online if it is usable.
30725
30726 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30727 reading the information from the /proc filesystem to once a second.
30728
30729 2011-06-21 Andreas Jaeger <aj@suse.de>
30730
30731 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30732 NULL after inclusion of kernel headers.
30733
30734 2011-06-21 Ulrich Drepper <drepper@gmail.com>
30735
30736 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30737 calls to internal_setent.
30738
30739 [BZ #12885]
30740 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30741 addresses using gethostbyname4_r ignore IPv4 addresses.
30742
30743 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30744 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30745
30746 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30747
30748 2011-06-20 David S. Miller <davem@davemloft.net>
30749
30750 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30751 inclusions.
30752 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30753
30754 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30755 (elf_irel): Use it.
30756 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30757 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30758 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30759 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30760 * sysdeps/x86_64/dl-irel.h: Likewise.
30761
30762 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30763 * elf/dl-sym.c: Likewise.
30764
30765 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30766
30767 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30768 need to dereference resplen2.
30769
30770 2011-06-14 Andreas Schwab <schwab@redhat.com>
30771
30772 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30773
30774 2011-06-15 Ulrich Drepper <drepper@gmail.com>
30775
30776 * Makeconfig: Define vardbdir and inst_vardbdir.
30777 * nss/Makefile: Add rules to install db-Makefile.
30778
30779 * nss/nss_db/db-XXX.c: Cleanup.
30780
30781 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30782 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30783 GLIBC_PRIVATE.
30784 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30785 * nss/makedb.c: Implement -g option to specify that value strings
30786 are generated and should not be added to table iterated over for
30787 get*ent calls.
30788 * nss/nss_db/db-initgroups.c: New file.
30789
30790 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30791 interface.
30792
30793 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30794 (internal_getgrouplist): Adjust to name change.
30795 Update use_initgroups_entry if this is not the first call.
30796 * nss/databases.def: Add initgroups entry.
30797
30798 * nss/makedb.c (compute_tables): Check result of multiple hash table
30799 sizes to minimize maximum chain length.
30800
30801 2011-06-14 Ulrich Drepper <drepper@gmail.com>
30802
30803 * Versions.def: Add entry for libnss_db.
30804 * shlib-versions: Likewise.
30805 * nss/Makefile: Add rules to build libnss_db.
30806 * nss/Versions: Add libnss_db information. Organize libnss_files
30807 entries better.
30808 * nss/db-Makefile: Add gshadow support. Change rules for the new
30809 makedb progra. Some minor improvements to generate smaller files.
30810 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30811 here from...
30812 * nss/makedb.c: ...here.
30813 Improve database format to be smaller and require less memory at
30814 runtime.
30815 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30816 db anymore.
30817 * nss/nss_db/db-netgrp.c: Likewise.
30818 * nss/nss_db/db-open.c: Likewise.
30819 * nss/nss_files/flies-XXX.x: Adjust comments.
30820 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30821 * nss/nss_files/files-grp.c: Likewise.
30822 * nss/nss_files/files-hosts.c: Likewise.
30823 * nss/nss_files/files-network.c: Likewise.
30824 * nss/nss_files/files-proto.c: Likewise.
30825 * nss/nss_files/files-pwd.c: Likewise.
30826 * nss/nss_files/files-rpc.c: Likewise.
30827 * nss/nss_files/files-service.c: Likewise.
30828 * nss/nss_files/files-sgrp.c: Likewise.
30829 * nss/nss_files/files-spwd.c: Likewise.
30830 * nss/nss_db/db-alias.c: Removed.
30831 * nss/nss_db/dummy-db.h: Removed.
30832
30833 2011-06-02 Ulrich Drepper <drepper@gmail.com>
30834
30835 * nss/makedb.c: Rewritten to not use database library.
30836 * nss/Makefile: Update to build new makedb program.
30837
30838 2011-06-14 Andreas Jaeger <aj@suse.de>
30839
30840 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30841 memset declaration.
30842
30843 2011-06-10 Andreas Schwab <schwab@redhat.com>
30844
30845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30846 tmpbuf.
30847
30848 2011-06-10 Roland McGrath <roland@hack.frob.com>
30849
30850 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30851 * elf/Makefile ($(objpfx)ld.so): Likewise.
30852
30853 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30854 Don't list ld.so twice in dependencies.
30855
30856 * posix/bug-regex31.c: Include <stdlib.h>.
30857
30858 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30859
30860 * nis/nss_compat/compat-spwd.c
30861 (getspent_next_nss_netgr): Remove unused variable.
30862 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30863
30864 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30865 nonmembers" output to use the right array.
30866
30867 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30868
30869 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30870
30871 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30872 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30873 * catgets/gencat.c (read_input_file): Likewise.
30874 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30875
30876 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30877 variable definition inside #if's controlling its use.
30878
30879 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30880
30881 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30882
30883 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30884
30885 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30886 unreachable code.
30887
30888 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30889
30890 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30891 * configure: Regenerated.
30892
30893 * Makerules: Revert last change.
30894 * elf/Makefile: Likewise.
30895
30896 2011-06-09 Roland McGrath <roland@hack.frob.com>
30897
30898 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30899 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30900 (reloc-link): Likewise.
30901
30902 2011-06-09 Ulrich Drepper <drepper@gmail.com>
30903
30904 * elf/Makefile: Add rules to build pldd.
30905 * elf/pldd.c: New file.
30906 * elf/pldd-xx.c: New file.
30907
30908 2011-06-07 Ulrich Drepper <drepper@gmail.com>
30909
30910 * version.h: Update for 2.15 development version.
30911
30912 2011-06-07 David S. Miller <davem@davemloft.net>
30913
30914 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30915 ifuncs.
30916 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30917 elf_machine_lazy_rel): Likewise.
30918 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30919 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30920 elf_machine_lazy_rel): Likewise.
30921 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30922 dl_hwcap via passed in argument.
30923 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30924 Likewise.
30925
30926 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30927
30928 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30929
30930 2011-06-06 Roland McGrath <roland@hack.frob.com>
30931
30932 [BZ #12849]
30933 * manual/fdl-1.1.texi: New file, verbatim from:
30934 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30935 * manual/lgpl-2.1.texi: New file, verbatim from:
30936 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30937 * manual/Makefile (licenses): New variable, list those new file names.
30938 (texis): Use it.
30939 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30940
30941 * manual/fdl.texi: File removed.
30942 * manual/lesser.texi: File removed.
30943 * manual/libc.texinfo (Copying, Documentation License):
30944 Use new @include file names, put @appendix directive before @include.
30945
30946 2011-06-04 Jakub Jelinek <jakub@redhat.com>
30947
30948 [BZ #12841]
30949 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30950 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30951 (mq_open): Add __NTH.
30952
30953 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30954
30955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30956 Assume Intel Core i3/i5/i7 processor if AVX is available.
30957
30958 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30959
30960 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30961 typo.
30962
30963 2011-05-31 Andreas Schwab <schwab@redhat.com>
30964
30965 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30966 memory. Use alloca_account. Fix memory leak when retrying.
30967
30968 2011-05-31 Ulrich Drepper <drepper@gmail.com>
30969
30970 * version.h (RELEASE): Bump for 2.14 release.
30971 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30972
30973 * config.make.in (RANLIB): Remove entry.
30974
30975 2011-05-30 Ulrich Drepper <drepper@gmail.com>
30976
30977 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30978 (libc.pot): Work around missing support for .ksh extension in xgettext.
30979
30980 [BZ #12684]
30981 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30982 if both request failed.
30983 (send_dg): In case of server errors clear resplen or *resplen2.
30984
30985 [BZ #12454]
30986 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30987 when there are multiple maps.
30988 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30989 (_dl_fini): Remove test here.
30990
30991 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30992
30993 2011-05-29 Ulrich Drepper <drepper@gmail.com>
30994
30995 [BZ #12350]
30996 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30997 bit from old_res_options.
30998 (gaih_inet): Likewise.
30999
31000 [BZ #11099]
31001 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
31002 as signed.
31003
31004 * resolv/res_init.c (res_setoptions): Make the code more compact.
31005
31006 [BZ #11558]
31007 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31008 set RES_USEVC.
31009
31010 [BZ #11634]
31011 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31012
31013 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31014
31015 [BZ #11781]
31016 * malloc/malloc.h: Declare malloc hook variables as volatile.
31017
31018 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31019 in last patch.
31020
31021 [BZ #11799]
31022 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
31023 raise in the comment.
31024 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31025 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31026 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
31027
31028 2011-05-28 Ulrich Drepper <drepper@gmail.com>
31029
31030 [BZ #12811]
31031 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31032 grow the buffers more if it already has to be sufficient.
31033 (build_wcs_upper_buffer): Likewise.
31034 * posix/regexec.c (check_matching): Likewise.
31035 (clean_state_log_if_needed): Likewise.
31036 (extend_buffers): Don't enlarge buffers beyond size of the input
31037 buffer.
31038 Patches mostly by Emil Wojak <emil@wojak.eu>.
31039 * posix/bug-regex32.c: New file.
31040 * posix/Makefile (tests): Add bug-regex32.
31041
31042 * locale/findlocale.c (_nl_find_locale): Return right away if
31043 _nl_explode_name failed.
31044 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31045
31046 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31047
31048 * debug/xtrace.sh: Unify messages.
31049 * malloc/memusage.sh: Likewise.
31050
31051 [BZ #12813]
31052 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31053 time symbol from vDSO. Substitute with vsyscall if not available.
31054 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31055 __vdso_time.
31056
31057 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31058 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31059 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31060 Add sendmmsg and internal_sendmmsg.
31061 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31062 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31063 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31064
31065 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31066 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31067 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31068
31069 2011-05-27 Ulrich Drepper <drepper@gmail.com>
31070
31071 [BZ #12813]
31072 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31073 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31074 available.
31075 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31076 __vdso_getcpu.
31077
31078 [BZ #12814]
31079 * iconvdata/Makefile (tests): Add bug-iconv9.
31080 * iconvdata/bug-iconv9.c: New file.
31081
31082 2011-05-27 Andreas Schwab <schwab@redhat.com>
31083
31084 [BZ #12814]
31085 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31086
31087 2011-05-25 Jakub Jelinek <jakub@redhat.com>
31088
31089 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31090 (struct user_regs_struct): Change intcs field back to cs.
31091
31092 2011-05-25 Ulrich Drepper <drepper@gmail.com>
31093
31094 * po/ja.po: Update from translation team.
31095
31096 2011-05-23 Ulrich Drepper <drepper@gmail.com>
31097
31098 [BZ #12795]
31099 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31100 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31101
31102 2011-05-20 Andreas Schwab <schwab@redhat.com>
31103
31104 * stdlib/longlong.h: Update from GCC.
31105
31106 2011-05-23 Andreas Schwab <schwab@redhat.com>
31107
31108 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31109 parameter name.
31110 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31111 Add parameter name.
31112 (__sysconf): Pass it down.
31113
31114 2011-05-22 Ulrich Drepper <drepper@gmail.com>
31115
31116 [BZ #12671]
31117 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31118 some situations.
31119 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31120 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31121 add in in __libc_use_alloca calls. Adjust callers.
31122 (glob): Use malloc in some situations.
31123
31124 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31125 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31126 pltexit.
31127
31128 2011-05-21 Ulrich Drepper <drepper@gmail.com>
31129
31130 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31131 and CLOCK_BOOTTIME_ALARM.
31132
31133 [BZ #12782]
31134 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31135 is returned.
31136
31137 * string/_strerror.c (__strerror_r): Print negative errors as signed
31138 numbers.
31139
31140 [BZ #12777]
31141 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31142 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31143 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31144
31145 * configure.in: Fix typo in redirection and correct removal of test
31146 files in two cases.
31147
31148 [BZ #12788]
31149 * locale/setlocale.c (new_composite_name): Fix test to check for
31150 identical name of all categories.
31151
31152 [BZ #12792]
31153 * libio/filedoalloc.c (local_isatty): New function.
31154 (_IO_file_doallocate): Use local_isatty.
31155 * stdio-common/perror.c (perror): In case a new stream is used
31156 forward the stream error.
31157 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31158 error flag.
31159
31160 2011-05-20 Ulrich Drepper <drepper@gmail.com>
31161
31162 [BZ #11869]
31163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31164 alloca.
31165 * include/alloca.h (extend_alloca_account): Define.
31166
31167 [BZ #11857]
31168 * posix/regex.h: Fix comments with documentation of user-accessible
31169 fields after compilation and describe correct free'ing of pattern
31170 after re_compile_pattern.
31171 Patch by Reuben Thomas <rrt@sc3d.org>.
31172
31173 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31174
31175 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31176 and -mno-altivec to prevent the compiler from using Altivec and/or
31177 VSX instructions when the corresponding registers are not available.
31178
31179 2011-05-19 Andreas Schwab <schwab@redhat.com>
31180
31181 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31182
31183 2011-05-19 Ulrich Drepper <drepper@gmail.com>
31184
31185 * libio/freopen.c (freopen): Use __dup2, not dup2.
31186 * libio/freopen64.c (freopen64): Likewise.
31187
31188 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31189
31190 [BZ #12775]
31191 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31192 * math/Makefile (tests): Add test-powl.
31193 (CFLAGS-test-powl.c): Define.
31194 * math/test-powl.c: New file.
31195
31196 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31197
31198 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31199
31200 2011-05-17 Ulrich Drepper <drepper@gmail.com>
31201
31202 [BZ #11837]
31203 * iconvdata/gb18030.c: Update to GB18020-2005.
31204
31205 2011-05-16 Ulrich Drepper <drepper@gmail.com>
31206
31207 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31208 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31209 Patch by Aharon Robbins <arnold@skeeve.com>.
31210
31211 [BZ #11892]
31212 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31213 on the stack.
31214
31215 [BZ #11895]
31216 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31217 through underflows.
31218
31219 [BZ #12766]
31220 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31221 point to strings before performing equality test for error_one_per_line
31222 mode.
31223
31224 [BZ #11697]
31225 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31226
31227 [BZ #11820]
31228 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31229 (struct user_fpregs_struct): Avoid __uint*_t types.
31230
31231 [BZ #6420]
31232 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31233 symbol info. Use it instead of calling _dl_addr locally.
31234 (lock_and_info): New function.
31235 (tr_freehook): Call lock_and_info and pass symbol info as additional
31236 parameter to tr_where.
31237 (tr_mallochook): Likewise.
31238 (tr_reallochook): Likewise.
31239 (tr_memalignhook): Likewise.
31240
31241 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31242 used and couldn't be at all thread-safe.
31243
31244 2011-05-15 Ulrich Drepper <drepper@gmail.com>
31245
31246 * libio/freopen.c (freopen): Don't close old file descriptor
31247 before the new one is opened. Instead dup the new file descriptor
31248 to the old one after the new stream is created.
31249 * libio/freopen64.c (freopen64): Likewise.
31250 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31251 * libio/fileops.c (_IO_new_file_close_it): Handle new
31252 _IO_FLAGS2_NOCLOSE flag.
31253 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31254 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31255 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31256 _IO_FLAGS2_NOCLOSE flag.
31257 * include/unistd.h: Add hidden_proto for dup3.
31258 Define __have_dup3.
31259 * io/dup3.c: Define hidden symbol.
31260 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31261
31262 [BZ #7101]
31263 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31264 when an incomplete long option is used.
31265 * posix/tst-getopt_long1.c: New file.
31266 * posix/Makefile (tests): Add tst-getopt_long1.
31267
31268 [BZ #10138]
31269 * scripts/config.guess: Update from autoconf-2.68.
31270 * scripts/config.sub: Likewise.
31271
31272 [BZ #10157]
31273 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31274 tests into ...
31275 (has_cpuclock): ...this. New function.
31276 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31277 macro here based on has_cpuclock code.
31278
31279 [BZ #10149]
31280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31281 First byte (not low byte) is now always NUL.
31282 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31283
31284 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31285 Use non-cancelable interfaces.
31286
31287 [BZ #9809]
31288 * locale/iso-639.def: Add entry for Sorani.
31289
31290 [BZ #11901]
31291 * include/stdlib.h: Move include protection to the right place.
31292 Define abort_msg_s. Declare __abort_msg with it.
31293 * stdlib/abort.c (__abort_msg): Adjust type.
31294 * assert/assert.c (__assert_fail_base): New function. Majority
31295 of code from __assert_fail. Allocate memory for __abort_msg with
31296 mmap.
31297 (__assert_fail): Now call __assert_fail_base.
31298 * assert/assert-perr.c: Remove bulk of implementation. Use
31299 __assert_fail_base.
31300 * include/assert.hL Declare __assert_fail_base.
31301 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31302 mmap.
31303 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31304
31305 2011-05-14 Ulrich Drepper <drepper@gmail.com>
31306
31307 [BZ #11952]
31308 [BZ #12453]
31309 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31310 until all modules are registered in the DTV.
31311 * elf/Makefile: Add rules to build and run tst-tls19.
31312 * elf/tst-tls19.c: New file.
31313 * elf/tst-tls19mod1.c: New file.
31314 * elf/tst-tls19mod2.c: New file.
31315 * elf/tst-tls19mod3.c: New file.
31316 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31317
31318 [BZ #12083]
31319 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31320 correctly.
31321
31322 [BZ #12601]
31323 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31324 two-byte sequence errors.
31325 * iconvdata/Makefile (tests): Add bug-iconv8.
31326 * iconvdata/bug-iconv8.c: New file.
31327
31328 [BZ #12626]
31329 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31330 buf2 definition.
31331
31332 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31333
31334 [BZ #12432]
31335 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31336 (dummy_getcfa): New function.
31337 (init): Get _Unwind_GetCFA address, use dummy if not found.
31338 (backtrace_helper): In recursion check, also check whether CFA changes.
31339 (__backtrace): Completely initialize arg.
31340
31341 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31342 storing incomplete byte sequence in state object. Avoid testing for
31343 guaranteed too small input if we know there is enough data available.
31344
31345 2011-05-11 Andreas Schwab <schwab@redhat.com>
31346
31347 * Makeconfig (+link-pie): Indent.
31348 * Rules (binaries-pie): Define if $(have-fpie) and
31349 $(build-shared).
31350 (binaries-shared): Also filter out $(binaries-pie).
31351 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31352 * nscd/Makefile (others-pie): Add nscd.
31353 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31354 ($(objpfx)nscd): Remove command override.
31355 * login/Makefile (others-pie): Add pt_chown.
31356 ($(objpfx)pt_chown): Remove command override.
31357 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31358 remove command overrides.
31359
31360 2011-05-13 Ulrich Drepper <drepper@gmail.com>
31361
31362 * libio/tst_putwc.c: Fix error messages.
31363
31364 [BZ #12724]
31365 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31366 currently writing and seek to current position when not.
31367 * libio/Makefile (tests): Add bug-fclose1.
31368 * libio/bug-fclose1.c: New file.
31369
31370 2011-05-12 Ulrich Drepper <drepper@gmail.com>
31371
31372 [BZ #12511]
31373 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31374 don't set DF_1_NODELETE here.
31375 (do_lookup_x): When entering new entry test for copy relocation
31376 and if necessary set DF_1_NODELETE flag.
31377 * elf/tst-unique4.cc: New file.
31378 * elf/tst-unique4.h: New file.
31379 * elf/tst-unique4lib.cc: New file.
31380 * elf/Makefile: Add rules to build and run tst-unique4.
31381 Patch by Piotr Bury <pbury@goahead.com>.
31382
31383 2011-05-11 Ulrich Drepper <drepper@gmail.com>
31384
31385 [BZ #12052]
31386 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31387
31388 [BZ #12625]
31389 * misc/mntent_r.c (addmntent): Flush the stream after the output
31390
31391 [BZ #12393]
31392 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31393 (is_trusted_path_normalize): Skip initial colon. Append slash
31394 to empty buffer. Duplicate is_trusted_path code but allow
31395 constructed patch to be prefix.
31396 (is_dst): Allow $ORIGIN followed by /.
31397 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31398 Correct testing of result of is_trusted_path_normalize
31399 (decompose_rpath): Fix warning.
31400
31401 2011-05-10 Ulrich Drepper <drepper@gmail.com>
31402
31403 [BZ #11257]
31404 * grp/initgroups.c (internal_getgrouplist): When we found the service
31405 list through the initgroups entry in nsswitch.conf do not always
31406 continue on a successful lookup. Don't always use the
31407 __nss_group_database value if it is set.
31408 * nss/nsswitch.conf (initgroups): Change action for successful db
31409 lookup to continue for compatibility.
31410
31411 2011-05-09 Ulrich Drepper <drepper@gmail.com>
31412
31413 [BZ #11532]
31414 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31415 and CP774 modules.
31416 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31417 and CP774 modules.
31418 * iconvdata/tst-tables.sh: Likewise.
31419 * iconvdata/cp770.c: New file.
31420 * iconvdata/cp771.c: New file.
31421 * iconvdata/cp772.c: New file.
31422 * iconvdata/cp773.c: New file.
31423 * iconvdata/cp774.c: New file.
31424 * iconvdata/testdata/CP770: New file.
31425 * iconvdata/testdata/CP770..UTF8: New file.
31426 * iconvdata/testdata/CP771: New file.
31427 * iconvdata/testdata/CP771..UTF8: New file.
31428 * iconvdata/testdata/CP772: New file.
31429 * iconvdata/testdata/CP772..UTF8: New file.
31430 * iconvdata/testdata/CP773: New file.
31431 * iconvdata/testdata/CP773..UTF8: New file.
31432 * iconvdata/testdata/CP774: New file.
31433 * iconvdata/testdata/CP774..UTF8: New file.
31434
31435 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31436 END CHARMAP line.
31437 * iconvdata/gen-8bit-gap.sh: Likewise.
31438 * iconvdata/gen-8bit.sh: Likewise.
31439
31440 * locale/iso-639.def: Add ary entry.
31441
31442 [BZ #11258]
31443 * locale/C-translit.h.in: Add U20A1 transliteration.
31444
31445 [BZ #12178]
31446 * locale/iso-639.def: Add wae entry.
31447 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31448
31449 [BZ #12545]
31450 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31451 for n.
31452
31453 [BZ #12711]
31454 * locale/C-translit.h.in: Add entry for U20B9.
31455 Patch by pravin.d.s@gmail.com.
31456
31457 2011-05-08 Ulrich Drepper <drepper@gmail.com>
31458
31459 [BZ #12713]
31460 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31461 ENAMETOOLONG use generic getcwd.
31462 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31463 in rtld. Use *stat64.
31464 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31465 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31466 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31467 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31468 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31469 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31470 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31471 __fstatat64 macros.
31472 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31473 * dirent/rewinddir.c: Add libc_hidden_def.
31474 * sysdeps/mach/hurd/rewinddir.c: Likewise.
31475 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
31476
31477 * include/dirent.h (__alloc_dir): Add flags parameter.
31478 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31479 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31480 __alloc_dir.
31481 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31482 from fdopendir if O_CLOEXEC is already set.
31483
31484 2011-03-15 Alan Modra <amodra@gmail.com>
31485
31486 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31487 l_tls_firstbyte_offset non-zero. Save padding offset in
31488 l_tls_firstbyte_offset for later use.
31489 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31490 freeing static tls block.
31491
31492 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31493
31494 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31495 where #ifdef was intended. The intent is to prevent ARG_MAX from
31496 being defined by the kernel headers.
31497
31498 2011-05-07 Ulrich Drepper <drepper@gmail.com>
31499
31500 [BZ #12734]
31501 * resolv/resolv.h: Define RES_NOTLDQUERY.
31502 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31503 no-tld-query and set RES_NOTLDQUERY.
31504 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31505 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31506 modern BIND to search name as TLD unless forbidden.
31507
31508 2011-05-07 Petr Baudis <pasky@suse.cz>
31509 Ulrich Drepper <drepper@gmail.com>
31510
31511 [BZ #12393]
31512 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31513 (is_trusted_path): ...to here.
31514 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31515 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31516 using is_trusted_path_normalize() in setuid scripts.
31517
31518 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31519
31520 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31521 __BEGIN/__END_DECLS.
31522
31523 2011-05-06 Ulrich Drepper <drepper@gmail.com>
31524
31525 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31526 NSS_STATUS_NOTFOUND if no record was found.
31527
31528 2011-05-05 Andreas Schwab <schwab@redhat.com>
31529
31530 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31531 (headers-not-in-tirpc): Remove rpc/netdb.h
31532 * resolv/netdb.h: Revert last change.
31533
31534 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31535
31536 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31537 circular dependency between libgcc.a and libc.a.
31538
31539 2011-05-05 Andreas Schwab <schwab@redhat.com>
31540
31541 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31542 * nis/Makefile: Don't install rpcsvc/*.
31543 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31544 instead of <rpc/types.h>.
31545 (MAXHOSTNAMELEN): Define.
31546
31547 2011-05-03 Andreas Schwab <schwab@redhat.com>
31548
31549 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31550
31551 2011-04-28 Maciej Babinski <mbabinski@google.com>
31552
31553 [BZ #12714]
31554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31555 gethostbyname4_r when IPv6 results are possible.
31556
31557 2011-05-02 Ulrich Drepper <drepper@gmail.com>
31558
31559 [BZ #12723]
31560 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31561 _PC_PIPE_BUF handling.
31562
31563 2011-04-30 Bruno Haible <bruno@clisp.org>
31564
31565 [BZ #12717]
31566 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31567 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31568 to 'int'.
31569 * inet/getnameinfo.c (getnameinfo): Likewise.
31570
31571 2011-04-29 Ulrich Drepper <drepper@gmail.com>
31572
31573 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31574 to groups setting in database lookup.
31575 * nss/nsswitch.conf: Add initgroups entry.
31576
31577 2011-04-22 Ulrich Drepper <drepper@gmail.com>
31578
31579 [BZ #12685]
31580 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31581 mode string.
31582 Patch by Eric Blake <eblake@redhat.com>.
31583
31584 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31585
31586 * sunrpc/Makefile (need-export-routines): Add svc_run.
31587 (routines): Remove svc_run.
31588 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31589 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31590 * sunrpc/svc_run.c (svc_run): Likewise.
31591 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31592
31593 2011-04-21 Ulrich Drepper <drepper@gmail.com>
31594
31595 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31596 problem in reallocation in last patch.
31597
31598 2011-04-20 Ulrich Drepper <drepper@gmail.com>
31599
31600 * sunrpc/Makefile: Move inclusion of Rules.
31601
31602 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31603
31604 * nss/nss_files/files-initgroups.c: New file.
31605 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31606 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31607 _nss_files_initgroups_dyn.
31608
31609 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31610
31611 * elf/elf.h (R_ARM_IRELATIVE): Define.
31612
31613 2011-04-19 Ulrich Drepper <drepper@gmail.com>
31614
31615 * po/ru.po: Update from translation team.
31616
31617 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31618
31619 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31620 dependencies.
31621
31622 2011-02-06 Mike Frysinger <vapier@gentoo.org>
31623
31624 [BZ #12653]
31625 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31626 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31627 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31628 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31629 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31630
31631 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31632
31633 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31634 differing bytes.
31635 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31636 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31637 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31638
31639 2011-04-17 Ulrich Drepper <drepper@gmail.com>
31640
31641 [BZ #12420]
31642 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31643 storing it.
31644 * stdlib/bug-getcontext.c: New file.
31645 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31646
31647 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31648
31649 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31650 instructions into .machine "z9-109".
31651 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31652 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31653
31654 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31655
31656 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31657 between environment variables and auxiliary vector.
31658
31659 2011-04-16 Ulrich Drepper <drepper@gmail.com>
31660
31661 * Makefile: Add rules to build linkobj/libc.so.
31662 * include/libc-symbols.h: Define libc_hidden_nolink.
31663 * include/rpc/auth.h: Mark functions which are to be hidden.
31664 * include/rpc/auth_des.h: Likewise.
31665 * include/rpc/auth_unix.h: Likewise.
31666 * include/rpc/clnt.h: Likewise.
31667 * include/rpc/des_crypt.h: Likewise.
31668 * include/rpc/key_prot.h: Likewise.
31669 * include/rpc/pmap_clnt.h: Likewise.
31670 * include/rpc/pmap_prot.h: Likewise.
31671 * include/rpc/pmap_rmt.h: Likewise.
31672 * include/rpc/rpc_msg.h: Likewise.
31673 * include/rpc/svc.h: Likewise.
31674 * include/rpc/svc_auth.h: Likewise.
31675 * include/rpc/xdr.h: Likewise.
31676 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31677 * nss/Makefile: Likewise.
31678 * sunrpc/Makefile: Don't install headers. Build library with normal
31679 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31680 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31681 for the compat linking library. Remove use of INTDEF/INTUSE.
31682 * sunrpc/auth_none.c: Likewise.
31683 * sunrpc/auth_unix.c: Likewise.
31684 * sunrpc/authdes_prot.c: Likewise.
31685 * sunrpc/authuxprot.c: Likewise.
31686 * sunrpc/clnt_gen.c: Likewise.
31687 * sunrpc/clnt_perr.c: Likewise.
31688 * sunrpc/clnt_raw.c: Likewise.
31689 * sunrpc/clnt_simp.c: Likewise.
31690 * sunrpc/clnt_tcp.c: Likewise.
31691 * sunrpc/clnt_udp.c: Likewise.
31692 * sunrpc/clnt_unix.c: Likewise.
31693 * sunrpc/des_crypt.c: Likewise.
31694 * sunrpc/des_soft.c: Likewise.
31695 * sunrpc/get_myaddr.c: Likewise.
31696 * sunrpc/key_call.c: Likewise.
31697 * sunrpc/key_prot.c: Likewise.
31698 * sunrpc/netname.c: Likewise.
31699 * sunrpc/pm_getmaps.c: Likewise.
31700 * sunrpc/pm_getport.c: Likewise.
31701 * sunrpc/pmap_clnt.c: Likewise.
31702 * sunrpc/pmap_prot.c: Likewise.
31703 * sunrpc/pmap_prot2.c: Likewise.
31704 * sunrpc/pmap_rmt.c: Likewise.
31705 * sunrpc/publickey.c: Likewise.
31706 * sunrpc/rpc_cmsg.c: Likewise.
31707 * sunrpc/rpc_common.c: Likewise.
31708 * sunrpc/rpc_dtable.c: Likewise.
31709 * sunrpc/rpc_prot.c: Likewise.
31710 * sunrpc/rpc_thread.c: Likewise.
31711 * sunrpc/rtime.c: Likewise.
31712 * sunrpc/svc.c: Likewise.
31713 * sunrpc/svc_auth.c: Likewise.
31714 * sunrpc/svc_authux.c: Likewise.
31715 * sunrpc/svc_raw.c: Likewise.
31716 * sunrpc/svc_run.c: Likewise.
31717 * sunrpc/svc_simple.c: Likewise.
31718 * sunrpc/svc_tcp.c: Likewise.
31719 * sunrpc/svc_udp.c: Likewise.
31720 * sunrpc/svc_unix.c: Likewise.
31721 * sunrpc/svcauth_des.c: Likewise.
31722 * sunrpc/xcrypt.c: Likewise.
31723 * sunrpc/xdr.c: Likewise.
31724 * sunrpc/xdr_array.c: Likewise.
31725 * sunrpc/xdr_float.c: Likewise.
31726 * sunrpc/xdr_intXX_t.c: Likewise.
31727 * sunrpc/xdr_mem.c: Likewise.
31728 * sunrpc/xdr_rec.c: Likewise.
31729 * sunrpc/xdr_ref.c: Likewise.
31730 * sunrpc/xdr_sizeof.c: Likewise.
31731 * sunrpc/xdr_stdio.c: Likewise.
31732
31733 2011-04-10 Ulrich Drepper <drepper@gmail.com>
31734
31735 [BZ #12650]
31736 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31737 * sysdeps/ia64/dl-tls.h: Likewise.
31738 * sysdeps/powerpc/dl-tls.h: Likewise.
31739 * sysdeps/s390/dl-tls.h: Likewise.
31740 * sysdeps/sh/dl-tls.h: Likewise.
31741 * sysdeps/sparc/dl-tls.h: Likewise.
31742 * sysdeps/x86_64/dl-tls.h: Likewise.
31743 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31744
31745 2011-03-14 Andreas Schwab <schwab@redhat.com>
31746
31747 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31748 rpath element also skip the following colon.
31749 (expand_dynamic_string_token): Add is_path parameter and pass
31750 down to DL_DST_REQUIRED and _dl_dst_substitute.
31751 (decompose_rpath): Call expand_dynamic_string_token with
31752 non-zero is_path. Ignore empty rpaths.
31753 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31754 with zero is_path.
31755
31756 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31757
31758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31759 Make cancelable.
31760
31761 2011-04-09 Ulrich Drepper <drepper@gmail.com>
31762
31763 [BZ #12655]
31764 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31765 Patch by Filipe David Manana <fdmanana@apache.org>.
31766
31767 2011-04-07 Andreas Schwab <schwab@redhat.com>
31768
31769 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31770 Maintain aligned stack.
31771 (CHECK_RSP): Remove unused macro.
31772
31773 2011-04-03 Ulrich Drepper <drepper@gmail.com>
31774
31775 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31776 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31777
31778 2011-04-02 Ulrich Drepper <drepper@gmail.com>
31779
31780 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31781
31782 * include/features.h: Mention __USE_XOPEN2K8 in comment.
31783
31784 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31785
31786 [BZ #12518]
31787 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31788 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31789 * sysdeps/x86_64/memmove.c: New file.
31790 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31791 (memcpy): Renamed to ...
31792 (__new_memcpy): This.
31793 (memcpy): Provide GLIBC_2_14 memcpy.
31794 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31795 (memcpy): Provide GLIBC_2_2_5 memcpy.
31796
31797 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31798
31799 [BZ #12631]
31800 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31801
31802 2011-03-30 Andreas Schwab <schwab@redhat.com>
31803
31804 * misc/syncfs.c: New file.
31805 * misc/Makefile (routines): Add syncfs.
31806 * posix/unistd.h: Declare syncfs.
31807 * sysdeps/unix/syscalls.list: Add syncfs.
31808
31809 2011-04-01 Andreas Schwab <schwab@redhat.com>
31810
31811 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31812 open_by_handle_at.
31813 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31814 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31816 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31818 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31819 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31820
31821 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31822
31823 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31824 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31825 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31827 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31828 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31829 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31830
31831 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31832 sync_file_range.c with -fexceptions.
31833 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31834 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31835 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31836 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31837 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31838 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31839 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31840 sync_file_range as cancellation point
31841 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31842 now a wrapper around __call_sync_file_range with cancellation handling.
31843 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31844 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31845 function name to __call_sync_file_range.
31846 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31847 Add call_sync_file_range.
31848
31849 2011-04-01 Andreas Schwab <schwab@redhat.com>
31850
31851 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31852 bits/timex.h.
31853
31854 2011-04-01 Ulrich Drepper <drepper@gmail.com>
31855
31856 * iconv/iconv.h: Fix typo in comment.
31857 * io/fcntl.h: Likewise.
31858 * libio/stdio.h: Likewise.
31859 * posix/spawn.h: Likewise.
31860 * posix/unistd.h: Likewise.
31861 * stdlib/stdlib.h: Likewise.
31862 * time/time.h: Likewise.
31863 * wcsmbs/wchar.h: Likewise.
31864
31865 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31866 open_by_handle): Add.
31867 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31868 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31869 Augment a few comments.
31870 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31871 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31872 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31873 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31874 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31875 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31876 open_by_handle.
31877
31878 * io/fcntl.h (AT_EMPTY_PATH): Define.
31879
31880 2011-03-30 Ulrich Drepper <drepper@gmail.com>
31881
31882 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31883 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31884 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31885 to...
31886 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
31887 * Versions.def: Add GLIBC_2.14.
31888 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31889 Export.
31890
31891 2011-03-22 Ulrich Drepper <drepper@gmail.com>
31892
31893 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31894 round counter.
31895 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31896
31897 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31898
31899 [BZ #12597]
31900 * string/test-strncmp.c (do_page_test): New function.
31901 (check2): Likewise.
31902 (test_main): Call check2.
31903 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31904
31905 2011-03-20 Ulrich Drepper <drepper@gmail.com>
31906
31907 [BZ #12587]
31908 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31909 Handle cache information in CPU leaf 4.
31910 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31911
31912 2011-03-18 Ulrich Drepper <drepper@gmail.com>
31913
31914 [BZ #12583]
31915 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31916 character representation.
31917 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31918
31919 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31920
31921 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31922 END(__isnan) to END(__isnanf) to match function entry point/label
31923 EALIGN(__isnanf,...).
31924
31925 2011-03-10 Jakub Jelinek <jakub@redhat.com>
31926
31927 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31928
31929 2011-03-10 Ulrich Drepper <drepper@gmail.com>
31930
31931 [BZ #12510]
31932 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31933 copy from the symbol referenced in the relocation to initialize the
31934 used variable.
31935 Patch by Piotr Bury <pbury@goahead.com>.
31936 * elf/Makefile: Add rules to build and tst-unique3.
31937 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31938 * elf/tst-unique3.cc: New file.
31939 * elf/tst-unique3.h: New file.
31940 * elf/tst-unique3lib.cc: New file.
31941 * elf/tst-unique3lib2.cc: New file.
31942
31943 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31944
31945 2011-03-10 Mike Frysinger <vapier@gentoo.org>
31946
31947 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31948 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31949 to _start.
31950
31951 2011-03-06 Ulrich Drepper <drepper@gmail.com>
31952
31953 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31954 to-be-loaded object along a path to loader is ld.so.
31955
31956 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31957 Ulrich Drepper <drepper@gmail.com>
31958
31959 * sysdeps/x86_64/memset.S: After aligning destination, code
31960 branches to different locations depending on the value of
31961 misalignment, when multiarch is enabled. Fix this.
31962
31963 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31964
31965 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31966 Set _x86_64_preferred_memory_instruction for AMD processsors.
31967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31968 Set bit_Prefer_SSE_for_memop for AMD processors.
31969
31970 2011-03-04 Ulrich Drepper <drepper@gmail.com>
31971
31972 * libio/fmemopen.c (fmemopen): Optimize a bit.
31973
31974 2011-03-03 Andreas Schwab <schwab@redhat.com>
31975
31976 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31977
31978 2011-03-03 Roland McGrath <roland@redhat.com>
31979
31980 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31981
31982 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31983
31984 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31985 __bzero_ultra1 instead of __memset_ultra1.
31986
31987 2011-02-23 Andreas Schwab <schwab@redhat.com>
31988 Ulrich Drepper <drepper@gmail.com>
31989
31990 [BZ #12509]
31991 * include/link.h (struct link_map): Add l_orig_initfini.
31992 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31993 returning unsuccessfully.
31994 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31995 close of a file loaded at startup, restore the original l_initfini
31996 list.
31997 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31998 list, store the pointer.
31999 * elf/Makefile ($(objpfx)noload-mem): New rule.
32000 (noload-ENV): Define.
32001 (tests): Add $(objpfx)noload-mem.
32002 * elf/noload.c: Include <memcheck.h>.
32003 (main): Call mtrace. Close all opened handles.
32004
32005 2011-02-17 Andreas Schwab <schwab@redhat.com>
32006
32007 [BZ #12454]
32008 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32009 dependencies are missing.
32010
32011 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32012
32013 Fix __if_freereq crash: Unlike the generic version which uses free,
32014 Hurd needs munmap.
32015 * sysdeps/mach/hurd/ifreq.h: New file.
32016
32017 2011-01-27 Petr Baudis <pasky@suse.cz>
32018 Ulrich Drepper <drepper@gmail.com>
32019
32020 [BZ 12445]#
32021 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32022 to extend_alloca().
32023 * stdio-common/bug23.c: New file.
32024 * stdio-common/Makefile (tests): Add bug23.
32025
32026 2010-09-28 Andreas Schwab <schwab@redhat.com>
32027 Ulrich Drepper <drepper@gmail.com>
32028
32029 [BZ #12489]
32030 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32031 before performing relro protection. At old place add assertion
32032 to make sure nothing changed.
32033
32034 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32035 Glauber de Oliveira Costa <glommer@gmail.com>
32036
32037 * elf/elf.h: Add new ARM TLS relocs.
32038
32039 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32040
32041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32042 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32043 cast from r3.
32044 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32045 'tests' variable.
32046 * sysdeps/wordsize-64/tst-writev.c: New file.
32047
32048 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32049
32050 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32051 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32052 insns in _dl_start to prevent a TOC reference before relocs are
32053 resolved.
32054
32055 2011-02-15 Ulrich Drepper <drepper@gmail.com>
32056
32057 [BZ #12469]
32058 * Makeconfig: Remove RANLIB definition.
32059 * Makerules: Don't use RANLIB.
32060 * aclocal.m4: Remove ranlib test.
32061 * configure.in: No need to check for ranlib.
32062 * elf/rtld-Rules: Don't use RANLIB.
32063
32064 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32065
32066 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32067 protection macro.
32068 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32069 inclusion protection macro.
32070
32071 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32072 SIGRTMIN and SIGRTMAX and print information in that case only when
32073 SIGRTMIN is defined.
32074
32075 2011-02-11 Jakub Jelinek <jakub@redhat.com>
32076
32077 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32078 arginfo fn returning -1.
32079
32080 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32081 and thousands string is zero terminated.
32082
32083 2011-02-03 Andreas Schwab <schwab@redhat.com>
32084
32085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32086 sysdeps/unix/sysv/linux/bits/socket.h.
32087
32088 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32089
32090 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32091 (__CPU_COUNT): Remove old macros.
32092 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32093 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32094 (__CPU_ALLOC, __CPU_FREE): Add macros.
32095 (__sched_cpualloc, __sched_cpufree): Add declarations.
32096
32097 2011-02-05 Ulrich Drepper <drepper@gmail.com>
32098
32099 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32100 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32101 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32102 (readdhstai): Return value of addhstaiX call.
32103 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32104 (addgrbyX): Return value returned by cache_addgr.
32105 (readdgrbyname): Return value returned by addgrbyX.
32106 (readdgrbygid): Likewise.
32107 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32108 (addpwbyX): Return value returned by cache_addpw.
32109 (readdpwbyname): Return value returned by addhstbyX.
32110 (readdpwbyuid): Likewise.
32111 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32112 (addservbyX): Return value returned by cache_addserv.
32113 (readdservbyname): Return value returned by addservbyX:
32114 (readdservbyport): Likewise.
32115 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32116 (addhstbyX): Return value returned by cache_addhst.
32117 (readdhstbyname): Return value returned by addhstbyX.
32118 (readdhstbyaddr): Likewise.
32119 (readdhstbynamev6): Likewise.
32120 (readdhstbyaddrv6): Likewise.
32121 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32122 (readdinitgroups): Return value returned by addinitgroupsX.
32123 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32124 (prune_cache): Keep track of timeout value of re-added entries.
32125 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32126 * nscd/nscd.h: Adjust prototypes of readd* functions.
32127
32128 2011-02-04 Roland McGrath <roland@redhat.com>
32129
32130 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32131 (nis_stats): Likewise.
32132 * nis/nis_modify.c (nis_modify): Likewise.
32133 * nis/nis_remove.c (nis_remove): Likewise.
32134 * nis/nis_add.c (nis_add): Likewise.
32135
32136 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32137
32138 * posix/fnmatch_loop.c: Add some consts.
32139
32140 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32141
32142 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32143
32144 [BZ #12460]
32145 * config.make.in (config-cflags-novzeroupper): Define.
32146 * configure.in: Substitute libc_cv_cc_novzeroupper.
32147 * elf/Makefile (AVX-CFLAGS): Define.
32148 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32149 (CFLAGS-tst-auditmod4a.c): Likewise.
32150 (CFLAGS-tst-auditmod4b.c): Likewise.
32151 (CFLAGS-tst-auditmod6b.c): Likewise.
32152 (CFLAGS-tst-auditmod6c.c): Likewise.
32153 (CFLAGS-tst-auditmod7b.c): Likewise.
32154 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32155
32156 2011-02-02 Ulrich Drepper <drepper@gmail.com>
32157
32158 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32159 function to the callback.
32160 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32161
32162 2011-02-02 Andreas Schwab <schwab@redhat.com>
32163
32164 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32165 of errno.
32166
32167 2011-01-19 Ulrich Drepper <drepper@gmail.com>
32168
32169 [BZ #11724]
32170 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32171 of constructors.
32172 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32173 of destructors.
32174 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32175
32176 [BZ #11724]
32177 * elf/Makefile: Add rules to build and run new test.
32178 * elf/tst-initorder.c: New file.
32179 * elf/tst-initorder.exp: New file.
32180 * elf/tst-initordera1.c: New file.
32181 * elf/tst-initordera2.c: New file.
32182 * elf/tst-initordera3.c: New file.
32183 * elf/tst-initordera4.c: New file.
32184 * elf/tst-initorderb1.c: New file.
32185 * elf/tst-initorderb2.c: New file.
32186 * elf/tst-order-a1.c: New file.
32187 * elf/tst-order-a2.c: New file.
32188 * elf/tst-order-a3.c: New file.
32189 * elf/tst-order-a4.c: New file.
32190 * elf/tst-order-b1.c: New file.
32191 * elf/tst-order-b2.c: New file.
32192 * elf/tst-order-main.c: New file.
32193 New test case by George Gensure <werkt0@gmail.com>.
32194
32195 2010-10-01 Andreas Schwab <schwab@redhat.com>
32196
32197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32198 decoding ACE if AI_CANONIDN.
32199
32200 2011-01-18 Ulrich Drepper <drepper@gmail.com>
32201
32202 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32203
32204 2011-01-17 Ulrich Drepper <drepper@gmail.com>
32205
32206 * version.h (RELEASE): Bump for 2.13 release.
32207 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32208
32209 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32210
32211 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32212 MADV_NOHUGEPAGE.
32213 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32214 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32215 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32216 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32217 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32218 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32219
32220 * posix/getconf.c: Update copyright year.
32221 * catgets/gencat.c: Likewise.
32222 * csu/version.c: Likewise.
32223 * debug/catchsegv.sh: Likewise.
32224 * debug/xtrace.sh: Likewise.
32225 * elf/ldconfig.c: Likewise.
32226 * elf/ldd.bash.in: Likewise.
32227 * elf/sprof.c (print_version): Likewise.
32228 * iconv/iconv_prog.c: Likewise.
32229 * iconv/iconvconfig.c: Likewise.
32230 * locale/programs/locale.c: Likewise.
32231 * locale/programs/localedef.c: Likewise.
32232 * malloc/memusage.sh: Likewise.
32233 * malloc/mtrace.pl: Likewise.
32234 * nscd/nscd.c (print_version): Likewise.
32235 * nss/getent.c: Likewise.
32236
32237 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32238 PF_CAIF, and PF_ALG.
32239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32240
32241 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32242
32243 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32244 (modules-names): Use them.
32245 (ifunc-test-modules, ifunc-pie-tests): Define.
32246 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32247 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32248 (test-extras): Likewise.
32249 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32250 $(compile-command.c).
32251 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32252 (all-built-dso): Define.
32253 (check-textrel.out, check-execstack.out): Depend on it.
32254
32255 * configure.in: Don't override --enable-multi-arch.
32256
32257 2011-01-15 Ulrich Drepper <drepper@gmail.com>
32258
32259 [BZ #6812]
32260 * nscd/hstcache.c (tryagain): Define.
32261 (cache_addhst): Return tryagain not notfound for temporary errors.
32262 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32263 failed.
32264
32265 2011-01-14 Ulrich Drepper <drepper@gmail.com>
32266
32267 [BZ #10563]
32268 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32269 to make the syscall.
32270 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32271
32272 [BZ #12378]
32273 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32274 and fall back to matching as normal character if the string ends before
32275 the matching ']' is found. This is what POSIX requires.
32276 * posix/testfnm.c: Adjust test result.
32277 * posix/globtest.sh: Adjust test result. Add new test.
32278 * posix/tst-fnmatch.input: Likewise.
32279 * posix/tst-fnmatch2.c: Add new test.
32280
32281 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32282
32283 * elf/Makefile (check-execstack): Revert last change. Depend on
32284 check-execstack.h.
32285 (check-execstack.h): New target.
32286 (generated): Add check-execstack.h.
32287 * elf/check-execstack.c: Include "check-execstack.h".
32288 (main): Revert last change.
32289 (handle_file): Return zero if GNU_STACK is absent and
32290 DEFAULT_STACK_PERMS doesn't include PF_X.
32291
32292 2011-01-13 Ulrich Drepper <drepper@gmail.com>
32293
32294 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32295 in child fails because the descriptor is already closed.
32296 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32297 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32298 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32299
32300 [BZ #12397]
32301 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32302 syscall.
32303
32304 [BZ #10484]
32305 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32306 temporary buffer used to handle multi lookups locally.
32307 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32308
32309 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32310
32311 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32312 loader is ld.so.
32313
32314 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32315
32316 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32317 alignment for SSE2.
32318
32319 2011-01-12 Ulrich Drepper <drepper@gmail.com>
32320
32321 [BZ #12394]
32322 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32323 characters. When rounding increased number of integer digits recompute
32324 number of groups.
32325 * stdio-common/tst-grouping.c: New file.
32326 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32327
32328 2011-01-09 Ulrich Drepper <drepper@gmail.com>
32329
32330 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32331 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32332
32333 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32334 void.
32335 * bits/select.h: Likewise.
32336
32337 2011-01-08 Ulrich Drepper <drepper@gmail.com>
32338
32339 * po/ja.po: Update from translation team.
32340
32341 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
32342
32343 [BZ #11155]
32344 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32345 implementation just like for lxstat, fxstatat, et al.
32346
32347 2010-12-27 Jim Meyering <meyering@redhat.com>
32348
32349 [BZ #12348]
32350 * posix/regexec.c (build_trtable): Return failure indication upon
32351 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32352
32353 2010-12-25 Ulrich Drepper <drepper@gmail.com>
32354
32355 [BZ #12201]
32356 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32357 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32358 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32359 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32360
32361 [BZ #12207]
32362 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32363
32364 [BZ #12204]
32365 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32366 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32367
32368 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32369
32370 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32371 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32372 script has SORT_BY_INIT_PRIORITY.
32373 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32374 NO_CTORS_DTORS_SECTIONS is defined.
32375 * elf/soinit.c: Likewise.
32376 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32377 NO_CTORS_DTORS_SECTIONS is defined.
32378 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32379 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32380 * sysdeps/sh/init-first.c: Likewise.
32381 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32382
32383 2010-12-24 Ulrich Drepper <drepper@gmail.com>
32384
32385 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32386 always use the slow path.
32387
32388 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32389
32390 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32391 similar rule which adds the sysdep directories to the header search in
32392 order to pick up the correct platform stackinfo.h.
32393 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32394 perform test if it is, otherwise return successfully without testing.
32395 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32396 DEFAULT_STACK_PERMS define in stackinfo.h.
32397 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32398 defined in stackinfo.h.
32399 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32400 DEFAULT_STACK_PERMS defined in stackinfo.h.
32401 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32402 * sysdeps/ia64/stackinfo.h: Likewise.
32403 * sysdeps/s390/stackinfo.h: Likewise.
32404 * sysdeps/sh/stackinfo.h: Likewise.
32405 * sysdeps/sparc/stackinfo.h: Likewise.
32406 * sysdeps/x86_64/stackinfo.h: Likewise.
32407 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32408 PF_X for powerpc64. Retain PF_X for powerpc32.
32409
32410 2010-12-19 Ulrich Drepper <drepper@gmail.com>
32411
32412 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32413 accurately.
32414 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32415 GETDENTS_64BIT_ALIGNED.
32416
32417 2010-12-14 Ulrich Drepper <dreper@gmail.com>
32418
32419 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32420
32421 2010-12-10 Andreas Schwab <schwab@redhat.com>
32422
32423 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32424 _GNU_SOURCE.
32425
32426 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32427 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32428 Remove __restrict.
32429 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32430 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32431
32432 2010-12-09 Ulrich Drepper <drepper@gmail.com>
32433
32434 [BZ #11655]
32435 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32436 are initialized.
32437
32438 2010-12-09 Jakub Jelinek <jakub@redhat.com>
32439
32440 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32441
32442 2010-12-03 Ulrich Drepper <drepper@gmail.com>
32443
32444 * po/it.po: Update from translation team.
32445
32446 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32447
32448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32449 unused codes.
32450
32451 2010-11-30 Ulrich Drepper <drepper@gmail.com>
32452
32453 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32454
32455 2010-11-24 Andreas Schwab <schwab@redhat.com>
32456
32457 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32458 specially.
32459 (gaih_getanswer_slice): Likewise.
32460
32461 2010-10-20 Jakub Jelinek <jakub@redhat.com>
32462
32463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32464
32465 2010-05-31 Petr Baudis <pasky@suse.cz>
32466
32467 [BZ #11149]
32468 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32469 silently even in the chroot mode.
32470
32471 2010-11-22 Ulrich Drepper <drepper@gmail.com>
32472
32473 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32474 last patch a bit. Pretty printing
32475
32476 2010-05-31 Petr Baudis <pasky@suse.cz>
32477
32478 [BZ #10085]
32479 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32480 initialization of skip_initgroups_dyn.
32481
32482 2010-11-19 Ulrich Drepper <drepper@gmail.com>
32483
32484 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32485 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32486
32487 2010-11-16 Ulrich Drepper <drepper@gmail.com>
32488
32489 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32490
32491 2010-11-11 Andreas Schwab <schwab@redhat.com>
32492
32493 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32494 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32495 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32496 ($(objpfx)tst-fnmatch-mem): New rule.
32497 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32498 * posix/tst-fnmatch.c (main): Call mtrace.
32499
32500 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32501
32502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32503 Support Intel processor model 6 and model 0x2c.
32504
32505 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
32506
32507 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32508 signed comparison.
32509
32510 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32511
32512 [BZ #12205]
32513 * string/test-strncasecmp.c (check_result): New function.
32514 (do_one_test): Use it.
32515 (check1): New function.
32516 (test_main): Use it.
32517 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32518 Support strcasecmp and strncasecmp.
32519
32520 2010-11-08 Ulrich Drepper <drepper@gmail.com>
32521
32522 [BZ #12194]
32523 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32524 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32525
32526 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32527
32528 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32529 IFUNC support.
32530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32531 memset-x86-64.
32532 * sysdeps/x86_64/multiarch/bzero.S: New file.
32533 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32534 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32535 * sysdeps/x86_64/multiarch/memset.S: New file.
32536 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32538 Set bit_Prefer_SSE_for_memop for Intel processors.
32539 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32540 Define.
32541 (index_Prefer_SSE_for_memop): Define.
32542 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32543
32544 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
32545
32546 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32547 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32548
32549 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32550
32551 [BZ #12191]
32552 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32553 (__x86_64_raw_data_cache_size_half): Likewise.
32554 (__x86_64_raw_shared_cache_size): Likewise.
32555 (__x86_64_raw_shared_cache_size_half): Likewise.
32556
32557 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32558 (__x86_64_raw_data_cache_size_half): Likewise.
32559 (__x86_64_raw_shared_cache_size): Likewise.
32560 (__x86_64_raw_shared_cache_size_half): Likewise.
32561 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32562 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32563 and __x86_64_raw_shared_cache_size_half. Round
32564 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32565 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32566 to multiple of 256 bytes.
32567
32568 2010-11-03 Ulrich Drepper <drepper@gmail.com>
32569
32570 [BZ #12167]
32571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32572 of inacessible symlinks. Verify result of symlink before returning it.
32573 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32574 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32575
32576 2010-10-28 Erich Ritz <erichritz@gmail.com>
32577
32578 * math/math.h (isinf): Fix typo in comment.
32579
32580 2010-11-01 Ulrich Drepper <drepper@gmail.com>
32581
32582 * po/da.po: Update from translation team.
32583
32584 2010-10-26 Ulrich Drepper <drepper@gmail.com>
32585
32586 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32587 is added to the list.
32588
32589 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32590 Ulrich Drepper <drepper@gmail.com>
32591
32592 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32593 the global list here. Move code to...
32594 (_dl_add_to_namespace_list): ...here. New function.
32595 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32596 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32597 * elf/dl-load.c (lose): Don't remove the element from the list.
32598 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32599 (_dl_map_object): Likewise.
32600
32601 2010-10-25 Ulrich Drepper <drepper@gmail.com>
32602
32603 [BZ #12159]
32604 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32605 into all bytes of SSE register.
32606 Patch by Richard Li <richardpku@gmail.com>.
32607
32608 2010-10-24 Ulrich Drepper <drepper@gmail.com>
32609
32610 [BZ #12140]
32611 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32612 perturbing.
32613
32614 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32615
32616 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32617 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32618 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32619 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32621 submachine.
32622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32623
32624 2010-10-22 Andreas Schwab <schwab@redhat.com>
32625
32626 * include/dlfcn.h (__RTLD_SECURE): Define.
32627 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32628 mode & __RTLD_SECURE instead.
32629 (open_path): Rename preloaded parameter to secure.
32630 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32631 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32632 * elf/dl-deps.c (openaux): Likewise.
32633 * elf/rtld.c (struct map_args): Remove is_preloaded.
32634 (map_doit): Don't use it.
32635 (dl_main): Likewise.
32636 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32637 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32638
32639 2010-09-09 Andreas Schwab <schwab@redhat.com>
32640
32641 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32642 (sysd-rules-targets): Remove duplicates.
32643 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32644 rtld-%.$o dependency.
32645
32646 2010-10-18 Andreas Schwab <schwab@redhat.com>
32647
32648 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32649 _dl_map_object do it.
32650
32651 2010-10-19 Ulrich Drepper <drepper@gmail.com>
32652
32653 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32654 fast fma builtins, define the macros in the C99 standard.
32655 (FP_FAST_FMAF): Likewise.
32656 (FP_FAST_FMAL): Likewise.
32657 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32658
32659 * bits/mathdef.h: Update copyright year.
32660 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32661
32662 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32663
32664 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32665 builtins, define the macros in the C99 standard.
32666 (FP_FAST_FMAF): Likewise.
32667 (FP_FAST_FMAL): Likewise.
32668 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32669 multiply/add.
32670 (FP_FAST_FMAF): Likewise.
32671
32672 2010-10-15 Jakub Jelinek <jakub@redhat.com>
32673
32674 [BZ #3268]
32675 * math/libm-test.inc (fma_test): Some new testcases.
32676 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32677 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32678 y and infinite z. Do multiplication by C already in long double.
32679 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32680 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32681 y and infinite z. Do bitwise or of inexact bit into u.d.
32682 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32683 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32684 * sysdeps/i386/fpu/s_fma.S: Removed.
32685 * sysdeps/i386/fpu/s_fmal.S: Removed.
32686
32687 2010-10-16 Jakub Jelinek <jakub@redhat.com>
32688
32689 [BZ #3268]
32690 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32691 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32692 computation is not scheduled after fetestexcept. Fix value
32693 of minimum denormal long double.
32694
32695 2010-10-14 Jakub Jelinek <jakub@redhat.com>
32696
32697 [BZ #3268]
32698 * math/libm-test.inc (fma_test): Add some more tests.
32699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32700 correctly.
32701
32702 2010-10-15 Andreas Schwab <schwab@redhat.com>
32703
32704 * scripts/data/localplt-s390-linux-gnu.data: New file.
32705 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32706
32707 2010-10-13 Jakub Jelinek <jakub@redhat.com>
32708
32709 [BZ #3268]
32710 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32711 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32712 instead of dbl-64.
32713 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32714 inlines.
32715 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32717 if one of x and y is very large and the other is subnormal.
32718 * sysdeps/s390/fpu/s_fmaf.c: New file.
32719 * sysdeps/s390/fpu/s_fma.c: New file.
32720 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32721 * sysdeps/powerpc/fpu/s_fma.S: New file.
32722 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32723 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32724 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32725
32726 2010-10-12 Jakub Jelinek <jakub@redhat.com>
32727
32728 [BZ #3268]
32729 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32730 fma tests.
32731 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32732 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32733 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32734 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32735 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32736 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32738
32739 2010-10-12 Ulrich Drepper <drepper@redhat.com>
32740
32741 [BZ #12078]
32742 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32743 * posix/bug-regex31.input: Add test case.
32744
32745 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32746
32747 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32748 * posix/bug-regex31.input: New file.
32749
32750 [BZ #12078]
32751 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32752 (parse_sub_exp): Fix last change, use postorder.
32753
32754 * posix/bug-regex31.c: New file.
32755 * posix/Makefile: Add rules to build and run bug-regex31.
32756
32757 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32758
32759 [BZ #12078]
32760 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32761
32762 [BZ #12108]
32763 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32764 to have entries in sys_siglist.
32765
32766 [BZ #12093]
32767 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32768 be NULL.
32769
32770 2010-10-07 Jakub Jelinek <jakub@redhat.com>
32771
32772 [BZ #3268]
32773 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32774 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32775 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32776 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32777 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32778 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32779 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32780 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32781 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32782 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32783 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32784 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32785 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32786 * math/ftestexcept.c (fetestexcept): Likewise.
32787 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32788 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32789 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32790 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32791 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32792 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32793 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32794
32795 2010-10-11 Ulrich Drepper <drepper@gmail.com>
32796
32797 [BZ #12107]
32798 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32799 newline.
32800
32801 2010-10-06 Ulrich Drepper <drepper@gmail.com>
32802
32803 * string/bug-strstr1.c: New file.
32804 * string/Makefile: Add rules to build and run bug-strstr1.
32805
32806 2010-10-05 Eric Blake <eblake@redhat.com>
32807
32808 [BZ #12092]
32809 * string/str-two-way.h (two_way_long_needle): Always clear memory
32810 when skipping input due to the shift table.
32811
32812 2010-10-03 Ulrich Drepper <drepper@gmail.com>
32813
32814 [BZ #12005]
32815 * malloc/mcheck.c: Handle large requests.
32816
32817 [BZ #12077]
32818 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32819 for strncmp and strncasecmp.
32820 * string/stratcliff.c: Add tests for strcmp and strncmp.
32821 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32822
32823 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32824
32825 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32826 __set_fpscr.
32827
32828 2010-09-30 Andreas Jaeger <aj@suse.de>
32829
32830 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32831 (CGROUP_SUPER_MAGIC): Define.
32832 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32833 Handle btrfs and cgroup file systems.
32834 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32835 Likewise.
32836
32837 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
32838
32839 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32840 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32841
32842 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32843
32844 [BZ #12067]
32845 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32846 trying to locate the ELF header.
32847
32848 2010-09-27 Andreas Schwab <schwab@redhat.com>
32849
32850 [BZ #11611]
32851 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32852 Mask out sign-bit copies when constructing f_fsid.
32853
32854 2010-09-24 Petr Baudis <pasky@suse.cz>
32855
32856 * debug/stack_chk_fail_local.c: Add missing licence exception.
32857 * debug/warning-nop.c: Likewise.
32858
32859 2010-09-15 Joseph Myers <joseph@codesourcery.com>
32860
32861 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32862 implementing getdents64 using getdents syscall, set d_type if
32863 __ASSUME_GETDENTS32_D_TYPE.
32864
32865 2010-09-16 Andreas Schwab <schwab@redhat.com>
32866
32867 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32868 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32869
32870 2010-09-21 Ulrich Drepper <drepper@redhat.com>
32871
32872 [BZ #12037]
32873 * posix/unistd.h: Undo change of feature selection for ftruncate from
32874 2010-01-11.
32875
32876 2010-09-20 Ulrich Drepper <drepper@redhat.com>
32877
32878 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32879 detection.
32880
32881 2010-09-20 Andreas Schwab <schwab@redhat.com>
32882
32883 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32884 fanotify_mark.
32885 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32886
32887 2010-09-14 Andreas Schwab <schwab@redhat.com>
32888
32889 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32890 variables after CHECK_SP call.
32891 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32892
32893 2010-09-13 Andreas Schwab <schwab@redhat.com>
32894 Ulrich Drepper <drepper@redhat.com>
32895
32896 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32897 re-relocationg ld.so.
32898 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32899 _dl_init_paths call.
32900 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32901 here anymore.
32902
32903 2010-09-14 Ulrich Drepper <drepper@redhat.com>
32904
32905 * resolv/res_init.c (__res_vinit): Count the default server we added.
32906
32907 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32908 Ulrich Drepper <drepper@redhat.com>
32909
32910 [BZ #11968]
32911 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32912 (____longjmp_chk): Use %ebx for saving value across system call.
32913 Add unwind info.
32914
32915 2010-09-06 Andreas Schwab <schwab@redhat.com>
32916
32917 * manual/Makefile: Don't mix pattern rules with normal rules.
32918
32919 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32920
32921 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32922 operation.
32923 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32924 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32925 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32926 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32927 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32928 Likewise.
32929
32930 2010-09-04 Ulrich Drepper <drepper@redhat.com>
32931
32932 [BZ #11979]
32933 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32934 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32935
32936 2010-09-02 Ulrich Drepper <drepper@redhat.com>
32937
32938 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32939 * sysdeps/x86_64/addmul_1.S: Likewise.
32940 * sysdeps/x86_64/lshift.S: Likewise.
32941 * sysdeps/x86_64/mul_1.S: Likewise.
32942 * sysdeps/x86_64/rshift.S: Likewise.
32943 * sysdeps/x86_64/sub_n.S: Likewise.
32944 * sysdeps/x86_64/submul_1.S: Likewise.
32945
32946 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32947
32948 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32949 Define __sched_param instead of SCHED_* and sched_param when
32950 <bits/sched.h> is included with __need_schedparam defined.
32951 * bits/sched.h [__need_schedparam]
32952 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32953 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32954 (__defined_schedparam): Define to 1.
32955 (__sched_param): New structure, identical to sched_param.
32956 (__need_schedparam): Undefine.
32957
32958 2010-08-31 Mike Frysinger <vapier@gentoo.org>
32959
32960 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32961 (epoll_create1): Declare.
32962
32963 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32964
32965 2010-08-31 Andreas Schwab <schwab@redhat.com>
32966
32967 [BZ #7066]
32968 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32969 shifting retval into place.
32970
32971 2010-09-01 Ulrich Drepper <drepper@redhat.com>
32972
32973 * nis/rpcsvc/nis.h: Update copyright notice.
32974 * nis/rpcsvc/nis.x: Likewise.
32975 * nis/rpcsvc/nis_callback.h: Likewise.
32976 * nis/rpcsvc/nis_callback.x: Likewise.
32977 * nis/rpcsvc/nis_object.x: Likewise.
32978 * nis/rpcsvc/nis_tags.h: Likewise.
32979 * nis/rpcsvc/yp.h: Likewise.
32980 * nis/rpcsvc/yp.x: Likewise.
32981 * nis/rpcsvc/ypupd.h: Likewise.
32982 * nis/yp_xdr.c: Likewise.
32983 * nis/ypupdate_xdr.c: Likewise.
32984
32985 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32986 mainly the body of pmap_getport. Add parameters to specify timeouts.
32987 (pmap_getport): Use __libc_rpc_getport.
32988 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32989 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32990 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32991
32992 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32993
32994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32995 fanotify_mark.
32996
32997 2010-08-27 Roland McGrath <roland@redhat.com>
32998
32999 * sysdeps/i386/i686/multiarch/Makefile
33000 (CFLAGS-varshift.c): New variable.
33001
33002 2010-08-27 Ulrich Drepper <drepper@redhat.com>
33003
33004 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33005 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33006
33007 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33008
33009 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33010
33011 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33012
33013 * sysdeps/x86_64/strlen.S: Unroll the loop.
33014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33015 strlen-sse2 strlen-sse2-bsf.
33016 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33017 __strlen_no_bsf if bit_Slow_BSF is set.
33018 (__strlen_sse42): Removed.
33019 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33020 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33021
33022 2010-08-25 Roland McGrath <roland@redhat.com>
33023
33024 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33025 * sysdeps/x86_64/multiarch/varshift.c: New file.
33026 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33027 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33028 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33029 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33030
33031 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33032
33033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33034 strlen-sse2 strlen-sse2-bsf.
33035 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33036 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33037 (__strlen_sse2): Removed.
33038 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33039 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33041 bit_Slow_BSF for Atom.
33042 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33043 (index_Slow_BSF): Define.
33044 (HAS_SLOW_BSF): Define.
33045
33046 2010-08-25 Ulrich Drepper <drepper@redhat.com>
33047
33048 [BZ #10851]
33049 * resolv/res_init.c (__res_vinit): When no server address at all
33050 is given default to loopback.
33051
33052 2010-08-24 Roland McGrath <roland@redhat.com>
33053
33054 * configure.in: Remove config-name.h generation.
33055 * configure: Regenerated.
33056 * config-name.in: File removed.
33057 * scripts/config-uname.sh: New file.
33058 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33059 ($(objdir)config-name.h): New target.
33060
33061 * sunrpc/rpc_parse.h: Avoid nested comment.
33062
33063 2010-08-24 Richard Henderson <rth@redhat.com>
33064 Ulrich Drepper <drepper@redhat.com>
33065 H.J. Lu <hongjiu.lu@intel.com>
33066
33067 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33069 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33070 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33071 _mm_alignr_epi8 with _mm_loadu_si128.
33072 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33073 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33074 (__m128i_shift_right): Removed.
33075 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33076 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33077 * sysdeps/x86_64/multiarch/varshift.h: New file.
33078 * sysdeps/x86_64/multiarch/varshift.S: New file.
33079
33080 2010-08-21 Mike Frysinger <vapier@gentoo.org>
33081
33082 * configure.in: Move assembler checks to before sysdep dir checking.
33083
33084 2010-08-20 Petr Baudis <pasky@suse.cz>
33085
33086 * LICENSES: Sync the sunrpc license.
33087
33088 2010-08-19 Ulrich Drepper <drepper@redhat.com>
33089
33090 * sunrpc/auth_des.c: Update copyright notice once again.
33091 * sunrpc/auth_none.c: Likewise.
33092 * sunrpc/auth_unix.c: Likewise.
33093 * sunrpc/authdes_prot.c: Likewise.
33094 * sunrpc/authuxprot.c: Likewise.
33095 * sunrpc/bindrsvprt.c: Likewise.
33096 * sunrpc/clnt_gen.c: Likewise.
33097 * sunrpc/clnt_perr.c: Likewise.
33098 * sunrpc/clnt_raw.c: Likewise.
33099 * sunrpc/clnt_simp.c: Likewise.
33100 * sunrpc/clnt_tcp.c: Likewise.
33101 * sunrpc/clnt_udp.c: Likewise.
33102 * sunrpc/clnt_unix.c: Likewise.
33103 * sunrpc/des_crypt.c: Likewise.
33104 * sunrpc/des_soft.c: Likewise.
33105 * sunrpc/get_myaddr.c: Likewise.
33106 * sunrpc/getrpcport.c: Likewise.
33107 * sunrpc/key_call.c: Likewise.
33108 * sunrpc/key_prot.c: Likewise.
33109 * sunrpc/openchild.c: Likewise.
33110 * sunrpc/pm_getmaps.c: Likewise.
33111 * sunrpc/pm_getport.c: Likewise.
33112 * sunrpc/pmap_clnt.c: Likewise.
33113 * sunrpc/pmap_prot.c: Likewise.
33114 * sunrpc/pmap_prot2.c: Likewise.
33115 * sunrpc/pmap_rmt.c: Likewise.
33116 * sunrpc/rpc/auth.h: Likewise.
33117 * sunrpc/rpc/auth_unix.h: Likewise.
33118 * sunrpc/rpc/clnt.h: Likewise.
33119 * sunrpc/rpc/des_crypt.h: Likewise.
33120 * sunrpc/rpc/key_prot.h: Likewise.
33121 * sunrpc/rpc/netdb.h: Likewise.
33122 * sunrpc/rpc/pmap_clnt.h: Likewise.
33123 * sunrpc/rpc/pmap_prot.h: Likewise.
33124 * sunrpc/rpc/pmap_rmt.h: Likewise.
33125 * sunrpc/rpc/rpc.h: Likewise.
33126 * sunrpc/rpc/rpc_des.h: Likewise.
33127 * sunrpc/rpc/rpc_msg.h: Likewise.
33128 * sunrpc/rpc/svc.h: Likewise.
33129 * sunrpc/rpc/svc_auth.h: Likewise.
33130 * sunrpc/rpc/types.h: Likewise.
33131 * sunrpc/rpc/xdr.h: Likewise.
33132 * sunrpc/rpc_clntout.c: Likewise.
33133 * sunrpc/rpc_cmsg.c: Likewise.
33134 * sunrpc/rpc_common.c: Likewise.
33135 * sunrpc/rpc_cout.c: Likewise.
33136 * sunrpc/rpc_dtable.c: Likewise.
33137 * sunrpc/rpc_hout.c: Likewise.
33138 * sunrpc/rpc_main.c: Likewise.
33139 * sunrpc/rpc_parse.c: Likewise.
33140 * sunrpc/rpc_parse.h: Likewise.
33141 * sunrpc/rpc_prot.c: Likewise.
33142 * sunrpc/rpc_sample.c: Likewise.
33143 * sunrpc/rpc_scan.c: Likewise.
33144 * sunrpc/rpc_scan.h: Likewise.
33145 * sunrpc/rpc_svcout.c: Likewise.
33146 * sunrpc/rpc_tblout.c: Likewise.
33147 * sunrpc/rpc_util.c: Likewise.
33148 * sunrpc/rpc_util.h: Likewise.
33149 * sunrpc/rpcinfo.c: Likewise.
33150 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33151 * sunrpc/rpcsvc/key_prot.x: Likewise.
33152 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33153 * sunrpc/rpcsvc/mount.x: Likewise.
33154 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33155 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33156 * sunrpc/rpcsvc/rex.x: Likewise.
33157 * sunrpc/rpcsvc/rstat.x: Likewise.
33158 * sunrpc/rpcsvc/rusers.x: Likewise.
33159 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33160 * sunrpc/rpcsvc/spray.x: Likewise.
33161 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33162 * sunrpc/rtime.c: Likewise.
33163 * sunrpc/svc.c: Likewise.
33164 * sunrpc/svc_auth.c: Likewise.
33165 * sunrpc/svc_authux.c: Likewise.
33166 * sunrpc/svc_raw.c: Likewise.
33167 * sunrpc/svc_run.c: Likewise.
33168 * sunrpc/svc_simple.c: Likewise.
33169 * sunrpc/svc_tcp.c: Likewise.
33170 * sunrpc/svc_udp.c: Likewise.
33171 * sunrpc/svc_unix.c: Likewise.
33172 * sunrpc/svcauth_des.c: Likewise.
33173 * sunrpc/xcrypt.c: Likewise.
33174 * sunrpc/xdr.c: Likewise.
33175 * sunrpc/xdr_array.c: Likewise.
33176 * sunrpc/xdr_float.c: Likewise.
33177 * sunrpc/xdr_mem.c: Likewise.
33178 * sunrpc/xdr_rec.c: Likewise.
33179 * sunrpc/xdr_ref.c: Likewise.
33180 * sunrpc/xdr_sizeof.c: Likewise.
33181 * sunrpc/xdr_stdio.c: Likewise.
33182
33183 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33184 handling.
33185
33186 2010-08-19 Andreas Schwab <schwab@redhat.com>
33187
33188 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33189
33190 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
33191
33192 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33193 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33194 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33195 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33196 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33197 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33198 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33199 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33200 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33201 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33202 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33203 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33204 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33205 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33206
33207 2010-07-26 Anton Blanchard <anton@samba.org>
33208
33209 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33210 * malloc/arena.c (heap_trim): Likewise.
33211
33212 2010-08-16 Ulrich Drepper <drepper@redhat.com>
33213
33214 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33215 here. Not...
33216 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33217 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33218
33219 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33220
33221 * sysdeps/i386/elf/Makefile: New file.
33222
33223 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33224
33225 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33226 from fanotify_init.
33227 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33228 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33229
33230 2010-08-15 Ulrich Drepper <drepper@redhat.com>
33231
33232 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33233 of strncasecmp_l.
33234 * sysdeps/multiarch/strcmp.S: Likewise.
33235
33236 2010-08-14 Ulrich Drepper <drepper@redhat.com>
33237
33238 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33239 strncase_l-nonascii.
33240 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33241 Add strncase_l-ssse3.
33242 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33243 * sysdeps/x86_64/strcmp.S: Likewise.
33244 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33245 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33246 * sysdeps/x86_64/strncase.S: New file.
33247 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33248 * sysdeps/x86_64/strncase_l.S: New file.
33249 * string/Makefile (strop-tests): Add strncasecmp.
33250 * string/test-strncasecmp.c: New file.
33251
33252 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33253 warning.
33254
33255 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33256 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33257
33258 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33259
33260 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33261
33262 2010-08-12 Ulrich Drepper <drepper@redhat.com>
33263
33264 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33265 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33266 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33267
33268 2010-05-01 Alan Modra <amodra@gmail.com>
33269
33270 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33271 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33272 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33273 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33274 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33275 tidying. Don't tail-call __sigjmp_save for static lib.
33276 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33277 save location.
33278 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33279 (CALL_MCOUNT): Add eh info, and nop after bl.
33280 (TAIL_CALL_SYSCALL_ERROR): New macro.
33281 (PSEUDO_RET): Use it.
33282 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33283 Correct save location of integer regs and cr.
33284 (_dl_profile_resolve): Correct cr save location. Delete nops
33285 after bl when SHARED. Reduce cfi size a little by better
33286 placement of cfi directives.
33287 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33288 make a stack frame. Instead use parm save area as a temp.
33289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33290 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33292 Don't make a stack frame for parent, use parm save area.
33293 Increase child stack frame to 112 bytes. Don't save unused reg,
33294 and adjust reg usage. Set up cfi on error recovery and
33295 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33297 (__makecontext): Add dummy nop after jump to exit.
33298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33299 Use correct parm save area and cr save, reduce stack frame.
33300 Correct cfi for possible PSEUDO_RET frame setup.
33301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33302 Branch to local label emitted by PSEUDO_RET rather than
33303 __syscall_error.
33304
33305 2010-08-12 Andreas Schwab <schwab@redhat.com>
33306
33307 [BZ #11904]
33308 * locale/programs/locale.c (print_assignment): New function.
33309 (show_locale_vars): Use it.
33310
33311 2010-08-11 Ulrich Drepper <drepper@redhat.com>
33312
33313 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33314 field.
33315 (struct statfs64): Likewise.
33316 (_STATFS_F_FLAGS): Define.
33317 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33318 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33319 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33320 (ST_VALID): Define locally.
33321 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33322 __statvfs_getflags, use the provided value.
33323 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33324 __ASSUME_STATFS_F_FLAGS.
33325
33326 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33327
33328 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33329 Add sys/fanotify.h.
33330 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33331 fanotify_mask for GLIBC_2.13.
33332 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33333 fanotify_init and fanotify_mark.
33334 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33335 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33336
33337 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33338 Add prlimit.
33339 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33340 prlimit64 for GLIBC_2.13.
33341 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33342 prlimit64.
33343 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33344 syscall.
33345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33346 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33347 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33348 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33349 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33350 add prlimit alias.
33351 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33352
33353 [BZ #11903]
33354 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33355 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33356
33357 * nss/Makefile: Add rules to build and run tst-nss-test1.
33358 * shlib-versions: Add entry for libnss_test1.
33359 * nss/nss_test1.c: New file.
33360 * nss/tst-nss-test1.c: New file.
33361
33362 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33363 (__nss_configure_lookup): Set appropriate entry in
33364 __nss_configure_lookup to true.
33365 * nss/nsswitch.h: Define enum with indeces of databases in
33366 databases and __nss_database_custom arrays. Declare
33367 __nss_database_custom.
33368 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33369 to avoid using nscd when custom rules are installed.
33370 * nss/getXXbyYY_r.c: Likewise.
33371 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33372
33373 * nss/nss_files/files-parse.c: Whitespace fixes.
33374
33375 2010-08-09 Ulrich Drepper <drepper@redhat.com>
33376
33377 [BZ #11883]
33378 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33379 * posix/fnmatch_loop.c: Likewise.
33380
33381 2010-07-17 Andi Kleen <ak@linux.intel.com>
33382
33383 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33384 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33385 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33386 * Versions.def [GLIBC_2.13]: Add.
33387
33388 2010-08-06 Ulrich Drepper <drepper@redhat.com>
33389
33390 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33391 Also fail if tpwd after pwuid call is NULL.
33392
33393 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33394
33395 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33396 when converting to ms.
33397
33398 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33399
33400 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33401 EOPNOTSUPP errors with ENOTTY.
33402 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33403 EOPNOTSUPP errors with ENOTTY.
33404
33405 2010-07-31 Ulrich Drepper <drepper@redhat.com>
33406
33407 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33408 Add strcasecmp_l-ssse3.
33409 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33410 strcasecmp.
33411 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33412 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33413 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33414
33415 2010-07-30 Ulrich Drepper <drepper@redhat.com>
33416
33417 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33418
33419 * string/Makefile (strop-tests): Add strcasecmp.
33420 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33421 strcasecmp_l-nonascii.
33422 (gen-as-const-headers): Add locale-defines.sym.
33423 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33424 * sysdeps/x86_64/strcasecmp.S: New file.
33425 * sysdeps/x86_64/strcasecmp_l.S: New file.
33426 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33427 * sysdeps/x86_64/locale-defines.sym: New file.
33428 * string/test-strcasecmp.c: New file.
33429
33430 * string/test-strcasestr.c: Test both ends of the range of characters.
33431 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33432
33433 2010-07-29 Roland McGrath <roland@redhat.com>
33434
33435 [BZ #11856]
33436 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33437
33438 2010-07-27 Ulrich Drepper <drepper@redhat.com>
33439
33440 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33441 for ld.so.
33442
33443 2010-07-27 Andreas Schwab <schwab@redhat.com>
33444
33445 * manual/memory.texi (Malloc Tunable Parameters): Document
33446 M_PERTURB.
33447
33448 2010-07-26 Roland McGrath <roland@redhat.com>
33449
33450 [BZ #11840]
33451 * configure.in (-fgnu89-inline check): Set and substitute
33452 gnu89_inline, not libc_cv_gnu89_inline.
33453 * configure: Regenerated.
33454 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33455
33456 2010-07-26 Ulrich Drepper <drepper@redhat.com>
33457
33458 * string/test-strnlen.c: New file.
33459 * string/Makefile (strop-tests): Add strnlen.
33460 * string/tester.c (test_strnlen): Add a few more test cases.
33461 * string/tst-strlen.c: Better error reporting.
33462
33463 * sysdeps/x86_64/strnlen.S: New file.
33464
33465 2010-07-24 Ulrich Drepper <drepper@redhat.com>
33466
33467 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33468 lower-latency instructions.
33469
33470 2010-07-23 Ulrich Drepper <drepper@redhat.com>
33471
33472 * string/test-strcasestr.c: New file.
33473 * string/test-strstr.c: New file.
33474 * string/Makefile (strop-tests): Add strstr and strcasestr.
33475 * string/str-two-way.h: Don't undefine MAX.
33476 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33477
33478 2010-07-21 Andreas Schwab <schwab@redhat.com>
33479
33480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33481 strcasestr-nonascii.
33482 (CFLAGS-strcasestr-nonascii.c): Define.
33483 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33484 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33485 Remove unused attribute.
33486
33487 2010-07-20 Roland McGrath <roland@redhat.com>
33488
33489 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33490 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33491 ld.so.cache was broken. With it, there is no way to disable dsocaps
33492 like LD_HWCAP_MASK can disable hwcaps.
33493
33494 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33495
33496 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33497
33498 2010-07-16 Ulrich Drepper <drepper@redhat.com>
33499
33500 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33501 call in strcasestr.
33502 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33503 __strcasestr_sse42_nonascii.
33504 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33505 strcasestr-nonascii.c.
33506 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33507
33508 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
33509
33510 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33511 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33512 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33513 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33514
33515 2010-07-09 Ulrich Drepper <drepper@redhat.com>
33516
33517 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33518 fcntl.
33519
33520 2010-07-06 Andreas Schwab <schwab@redhat.com>
33521
33522 [BZ #11577]
33523 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33524 dl_signal_cerror.
33525
33526 2010-07-06 Ulrich Drepper <drepper@redhat.com>
33527
33528 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33529 _PC_PIPE_BUF using F_GETPIPE_SZ.
33530
33531 2010-07-05 Roland McGrath <roland@redhat.com>
33532
33533 * manual/arith.texi (Rounding Functions): Fix rint description
33534 implicit in round description.
33535
33536 2010-07-02 Ulrich Drepper <drepper@redhat.com>
33537
33538 * elf/Makefile: Fix linking for a few tests to make recent linker
33539 happy.
33540
33541 2010-06-30 Andreas Schwab <schwab@redhat.com>
33542
33543 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33544 $(common-objpfx)libc_nonshared.a.
33545
33546 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
33547
33548 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33549 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33550 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33551 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33552 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33553 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33554 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33555 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33570 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33571 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33572 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33573 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33574 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33575 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33576 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33577 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33578 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33579 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33580 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33581 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33596
33597 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33598
33599 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33600 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33601 * string/memmove.c (memmove): Renamed to ...
33602 (MEMMOVE): ...this. Default to memmove.
33603 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33604 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33605 (END_CHK): Define.
33606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33607 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33608 mempcpy-ssse3-back memmove-ssse3-back.
33609 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33610 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33611 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33612 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33613 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33614 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33615 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33616 * sysdeps/x86_64/multiarch/memmove.c: New file.
33617 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33618 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33619 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33620 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33621 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33622 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33623 Define.
33624 (index_Fast_Copy_Backward): Define.
33625 (HAS_ARCH_FEATURE): Define.
33626 (HAS_FAST_REP_STRING): Define.
33627 (HAS_FAST_COPY_BACKWARD): Define.
33628
33629 2010-06-21 Andreas Schwab <schwab@redhat.com>
33630
33631 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33632 Restore proper fallback handling.
33633
33634 2010-06-19 Ulrich Drepper <drepper@redhat.com>
33635
33636 [BZ #11701]
33637 * posix/group_member.c (__group_member): Correct checking loop.
33638
33639 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33640 OOM in getpwuid_r correctly. Return error number when the caller
33641 should return, otherwise -1.
33642 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33643 call returning > 0 value.
33644 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33645
33646 2010-06-07 Andreas Schwab <schwab@redhat.com>
33647
33648 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33649 libc_nonshared.a from targets in modules-names.
33650
33651 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33652
33653 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33654 requires it.
33655
33656 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
33657
33658 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33659 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33660 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33661 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33662
33663 2010-06-02 Andreas Schwab <schwab@redhat.com>
33664
33665 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33666
33667 2010-06-14 Ulrich Drepper <drepper@redhat.com>
33668
33669 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33670 and F_GETPIPE_SZ.
33671 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33672 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33673 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33675 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33676 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33677
33678 2010-06-14 Roland McGrath <roland@redhat.com>
33679
33680 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33681
33682 2010-06-07 Jakub Jelinek <jakub@redhat.com>
33683
33684 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33685 __REDIRECT followed by __THROW.
33686 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33687 * posix/getopt.h (getopt): Likewise.
33688
33689 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33690
33691 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33692 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33693 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33694 in AT_FLAGS.
33695 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33696 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33697
33698 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
33699
33700 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33701
33702 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33703
33704 [BZ #11640]
33705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33706 Properly check family and model.
33707
33708 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33709
33710 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33711
33712 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
33713
33714 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33715
33716 2010-05-21 Ulrich Drepper <drepper@redhat.com>
33717
33718 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33719 symbol reference.
33720
33721 2010-05-19 Andreas Schwab <schwab@redhat.com>
33722
33723 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33724 symbol reference.
33725
33726 2010-05-21 Andreas Schwab <schwab@redhat.com>
33727
33728 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33729 and internal_recvmmsg.
33730 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33731 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33732 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33733 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33734
33735 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33736 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33737 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33738
33739 2010-05-20 Andreas Schwab <schwab@redhat.com>
33740
33741 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33742
33743 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
33744
33745 POWER7 optimizations.
33746 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33747 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33748
33749 2010-05-19 Ulrich Drepper <drepper@redhat.com>
33750
33751 * version.h: Update for 2.13 development version.
33752
33753 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
33754
33755 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33756 exceptions. Return 0.
33757
33758 2010-05-07 Roland McGrath <roland@redhat.com>
33759
33760 * elf/ldconfig.c (main): Add a const.
33761
33762 2010-05-06 Ulrich Drepper <drepper@redhat.com>
33763
33764 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33765 (args_options): Add no-idn option.
33766 (ahosts_keys_int): Add idn_flags to ai_flags.
33767 (parse_option): Handle 'i' option to clear idn_flags.
33768
33769 * malloc/malloc.c (_int_free): Possible race in the most recently
33770 added check. Only act on the data if no current modification
33771 happened.
33772
33773 See ChangeLog.17 for earlier changes.