]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC LE strchr
[thirdparty/glibc.git] / ChangeLog
CommitLineData
664318c3
AM
12013-10-04 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4 support. Correct typos, formatting. Optimize tail. Use insrdi
5 rather than rlwimi.
6 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
7 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8 little-endian support. Correct typos.
9 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
10 rather than rlwimi.
11 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12 in loop and entry code to keep "and." results.
13 (strchr): Add little-endian support. Comment. Move cntlzd
14 earlier in tail.
15 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16
43b84013
AM
172013-10-04 Alan Modra <amodra@gmail.com>
18
19 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23
8a7413f9
AM
242013-10-04 Alan Modra <amodra@gmail.com>
25
26 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27 (rTMP): Define as r11.
28 (strcmp): Add little-endian support. Optimise tail.
29 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
30 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36
33ee81de
AM
372013-10-04 Alan Modra <amodra@gmail.com>
38
39 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
40 little-endian support. Remove unnecessary "are we done" tests.
41 Handle "s" wrapping around zero and extremely large "size".
42 Correct main loop count. Handle single left-over word from main
43 loop inline rather than by using small_loop. Correct comments.
44 Delete "zero" tail, use "end_max" instead.
45 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
46
db9b4570
AM
472013-10-04 Alan Modra <amodra@gmail.com>
48
49 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
50 support. Don't branch over align.
51 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
53 support. Rearrange tmp reg use to suit. Comment.
54 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55
f7c399cf
AM
562013-10-04 Alan Modra <amodra@gmail.com>
57
58 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59
0b2c2ace
AM
602013-10-04 Alan Modra <amodra@gmail.com>
61
62 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
63 conditional form of branch and link when obtaining pc.
64 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
65
02f04a6c
AM
662013-10-04 Alan Modra <amodra@gmail.com>
67
68 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
69 HIWORD/LOWORD.
70 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
71 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
72
9b874b2f
AM
732013-10-04 Alan Modra <amodra@gmail.com>
74
75 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
76 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
77 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
78 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
79 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
80 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
81 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
82 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
83 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
84 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
85
be1e5d31
AB
862013-10-04 Anton Blanchard <anton@au1.ibm.com>
87 Alistair Popple <alistair@ozlabs.au.ibm.com>
88 Alan Modra <amodra@gmail.com>
89
90 [BZ #15723]
91 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
92 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
93 _dl_hwcap access for little-endian.
94 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
95 destroy vmx regs when saving unaligned.
96 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
97 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
98 destroy vmx regs when saving unaligned.
99
fef13a78
AM
1002013-10-04 Alan Modra <amodra@gmail.com>
101
102 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
103 Don't use a union to pack hi/low value.
104
76a66d51
AB
1052013-10-04 Anton Blanchard <anton@au1.ibm.com>
106
107 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
108 for little-endian.
109 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
110 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
111 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
112 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
113 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
114
6a31fe7f
AM
1152013-10-04 Alan Modra <amodra@gmail.com>
116
117 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
118 constants to usual value for .cst8 section, and remove redundant
119 high address load.
120 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
121 constant for 0x1p52. Load little-endian words of double from
122 correct stack offsets.
123
7b88401f
AM
1242013-10-04 Alan Modra <amodra@gmail.com>
125
126 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
127 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
128 words of double from correct stack offsets.
129 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
130 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
131 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
132 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
133 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
134 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
135 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
136 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
137 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
138 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
139 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
140 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
141 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
142 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
143 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
144 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
145 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
146
9c008155
AM
1472013-10-04 Alan Modra <amodra@gmail.com>
148
149 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
150 64-bit int/double union.
151 (_FPU_SETCW): Likewise.
152 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
153 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
154
da13146d
AM
1552013-10-04 Alan Modra <amodra@gmail.com>
156
157 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
158 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
159
603e8410
AM
1602013-10-04 Alan Modra <amodra@gmail.com>
161
162 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
163 use vector int constants.
164 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
165
4a28b3ca
AB
1662013-10-04 Anton Blanchard <anton@au1.ibm.com>
167
168 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
169 array with long long.
170 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
171 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
172 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
173 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
174 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
175 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
176 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
177 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
178 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
179 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
180 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
181 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
182 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
183
2ca85d2b
AB
1842013-10-04 Anton Blanchard <anton@au1.ibm.com>
185
186 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
187 (__signbit): Likewise. Correct for little-endian.
188 (__signbitl): Call __signbit.
189 (lrint): Correct for little-endian.
190 (lrintf): Call lrint.
191
62a728ae
AM
1922013-10-04 Alan Modra <amodra@gmail.com>
193
194 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
195 union 32-bit int array member with 64-bit int array.
196 (t515, tm256): Double rather than long double.
197 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
198
32c301df
AM
1992013-10-04 Alan Modra <amodra@gmail.com>
200
201 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
202 Delete.
203 (IEEE854_LONG_DOUBLE_BIAS): Delete.
204 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
205 version of math_ldbl.h.
206
650ef4bd
AM
2072013-10-04 Alan Modra <amodra@gmail.com>
208
209 [BZ #15734], [BZ #15735]
210 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
211 all uses of ieee875 long double macros and unions. Simplify test
212 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
213 ldbl_extract_mantissa value for ix,iy exponents. Properly
214 normalize after ldbl_extract_mantissa, and don't add hidden bit
215 already handled. Don't treat low word of ieee854 mantissa like
216 low word of IBM long double and mask off bit when testing for
217 zero.
218 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
219 all uses of ieee875 long double macros and unions. Simplify tests
220 for 0.0L and inf. Correct double adjustment of k. Delete dead code
221 adjusting ha,hb. Simplify code setting kld. Delete two600 and
222 two1022, instead use their values. Recognise that tests for large
223 "a" and small "b" are mutually exclusive. Rename vars. Comment.
224 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
225 Rewrite all uses of ieee875 long double macros and unions. Simplify
226 test for 0.0L and nan. Correct negation.
227 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
228 ieee875 long double macros and unions. Correct output for large
229 magnitude x. Correct absolute value calculation.
230 (__erfcl): Likewise.
231 * math/libm-test.inc: Add tests for errors discovered in IBM long
232 double versions of fmodl, remainderl, erfl and erfcl.
233
765714ca
AM
2342013-10-04 Alan Modra <amodra@gmail.com>
235
236 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
237 all uses of ieee854 long double macros and unions. Simplify tests
238 for long doubles that are fully specified by the high double.
239 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
240 Likewise.
241 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
242 Remove dead code too.
243 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
244 (__ieee754_ynl): Likewise.
245 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
246 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
248 Remove dead code too.
249 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
250 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
252 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
253 Simplify.
254 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
255 Simplify.
256 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
257 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
258 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
259 Comment on variable precision.
260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
261 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
262 Likewise.
263 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
266 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
267 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
268
4ebd120c
AM
2692013-10-04 Alan Modra <amodra@gmail.com>
270
271 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
272 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
273 all uses of ieee854 long double macros and unions.
274 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
275 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
276 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
278 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
279 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
280 Likewise.
281 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
282 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
283 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
284 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
285 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
286 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
287 Simplify sign and nan test too.
288 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
289 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
290 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
291 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
292 Likewise.
293 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
294 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
295 Likewise.
296 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
297 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
298 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
299 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
300 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
301 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
302
1b6adf88
AM
3032013-10-04 Alan Modra <amodra@gmail.com>
304
305 * stdio-common/printf_size.c (__printf_size): Don't use
306 union ieee854_long_double in fpnum union.
307 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
308 signbit macro to retrieve sign from long double.
309 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
310 retrieve sign from long double.
311 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
312 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
313 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
314 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
315 * math/test-misc.c (main): Don't use union ieee854_long_double.
316
4cf69995
AM
3172013-10-04 Alan Modra <amodra@gmail.com>
318
319 [BZ #15680]
320 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
321 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
322 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
323 calculation. Remove unnecessary test for denormal exponent.
324 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
325 Correct handling of denormals. Avoid undefined shift behaviour.
326 Correct normalisation of low mantissa when low double is denormal.
327 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
328 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
329 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
330 Correct normalisation of low mantissa. Test for overflow of high
331 mantissa and normalise.
332 (ldbl_nearbyint): Use more readable constant for two52.
333 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
334 (__mpn_construct_long_double): Fix test for overflow of high
335 mantissa and correct normalisation. Avoid undefined shift.
336
9605ca6c
AM
3372013-10-04 Alan Modra <amodra@gmail.com>
338
339 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
340 (union ibm_extended_long_double): Define as an array of ieee754_double.
341 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
342 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
343 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
344 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
346 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
347 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
348 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
349 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
350 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
351 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
352
975569d0
JM
3532013-10-03 Joseph Myers <joseph@codesourcery.com>
354
d3d23756
JM
355 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
356 page size instead of calling getpagesize.
357
975569d0
JM
358 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
359 (LOCFILE_ALIGN_MASK): Likewise.
360 (LOCFILE_ALIGN_UP): Likewise.
361 (LOCFILE_ALIGNED_P): Likewise.
362 * locale/programs/ld-collate.c (collate_output): Use the new
363 macros instead of __alignof__ (int32_t).
364 * locale/weight.h (findidx): Likewise.
365
b1fe1f2b
OB
3662013-10-03 Ondřej Bílka <neleai@seznam.cz>
367
368 [BZ #431]
369 * manual/string.texi: Fix strncat and wcsncat.
370
5f855e35
BM
3712013-10-03 Brooks Moses <bmoses@google.com>
372
373 [BZ #15915]
374 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
375 * Makerules: ...here, and adjust associated comments.
376
3cef6009
WN
3772013-10-02 Will Newton <will.newton@linaro.org>
378
379 * malloc/Makefile: Add tst-pvalloc.
380 * malloc/tst-pvalloc.c: New file.
381
7815420b
WN
3822013-10-02 Will Newton <will.newton@linaro.org>
383
384 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
385 improve test coverage.
386
4868b204
WN
3872013-10-02 Will Newton <will.newton@linaro.org>
388
389 * malloc/Makefile: Add tst-posix_memalign.
390 * malloc/tst-posix_memalign.c: New file.
391
29c793b3
EB
3922013-10-01 Eric Blake <eblake@redhat.com>
393
394 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
395 Use __THROWNL rather than __THROW on static functions.
396
fd967522
PM
3972013-09-30 Petr Machata <pmachata@redhat.com>
398
399 * elf/elf.h (R_AARCH64_ABS16): New macro.
400 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
401 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
402 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
403 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
404 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
405 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
406 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
407 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
408 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
409 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
410 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
411 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
412 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
413 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
414 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
415 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
416 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
417 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
418 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
419 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
420 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
421 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
422 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
423 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
424 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
425 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
426 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
427 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
428 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
429 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
430 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
431 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
432 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
433 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
434 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
435 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
436 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
437 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
438 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
439 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
440 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
441 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
442 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
443 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
444 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
445 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
446 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
447 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
448 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
449 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
450 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
451 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
452 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
453 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
454 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
455 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
456 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
457 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
458 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
459 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
460 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
461 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
462 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
463 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
464 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
465 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
466 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
467 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
468 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
469 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
470 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
471 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
472 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
473 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
474 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
475 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
476 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
477 (R_AARCH64_TLSDESC_LDR): Likewise.
478 (R_AARCH64_TLSDESC_ADD): Likewise.
479 (R_AARCH64_TLSDESC_CALL): Likewise.
480
b2179107
AS
4812013-09-30 Andreas Schwab <schwab@suse.de>
482
483 [BZ #15048]
484 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
485 the nss database lookup.
486 * nscd/initgrcache.c (addinitgroupsX): Likewise.
487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
488
47f28d0a
MF
4892013-09-28 Mike Frysinger <vapier@gentoo.org>
490
491 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
492
4932013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
494
495 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
496 ${Bash-specific parameter/pattern/string} parameter expansion.
497 * sysdeps/unix/make-syscalls.sh: Likewise.
498
f4518a17
KK
4992013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
500
501 * sysdeps/sh/stackguard-macros.h: New file.
502
dc1a95c7
OB
5032013-09-26 Ondřej Bílka <neleai@seznam.cz>
504
505 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
506 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
507 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
508 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
509 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
510 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
511
5ebbff8f
AZ
5122013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
513
514 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
515 Fix thread ID register.
516
4fd2cf9f
JM
5172013-09-25 Joseph Myers <joseph@codesourcery.com>
518
519 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
520 [POSIX || UNIX98]: Require rather than permitting all symbols from
521 <time.h>.
522 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
523 element of struct sched_param.
524 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
525 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
526 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
527 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
528 constant.
529
12c22bc4
OL
5302013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
531
532 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
533 argument calculation.
534
a03d8ea7
JM
5352013-09-24 Joseph Myers <joseph@codesourcery.com>
536
537 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
538 Expect macro.
539 [POSIX] (pthread_attr_t): Do not require type.
540 [POSIX] (pthread_cond_t): Likewise.
541 [POSIX] (pthread_condattr_t): Likewise.
542 [POSIX] (pthread_key_t): Likewise.
543 [POSIX] (pthread_mutex_t): Likewise.
544 [POSIX] (pthread_mutexattr_t): Likewise.
545 [POSIX] (pthread_once_t): Likewise.
546 [POSIX] (pthread_t): Likewise.
547 [POSIX-based standards] (pthread_atfork): Expect function.
548
6055173a
JM
5492013-09-24 Joseph Myers <joseph@codesourcery.com>
550 Richard Sandiford <richard@codesourcery.com>
551
552 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
553 (swap_endianness_p): New extern variable.
554 (set_big_endian): New inline function.
555 (maybe_swap_uint32): Likewise.
556 (maybe_swap_uint32_array): Likewise.
557 (maybe_swap_uint32_obstack): Likewise.
558 * locale/programs/locfile.c: Include <stdbool.h>.
559 (swap_endianness_p): New variable.
560 (add_locale_uint32): Call maybe_swap_uint32.
561 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
562 (write_locale_data): Call maybe_swap_uint32_array.
563 * locale/programs/ld-collate.c (obstack_int32_grow): Call
564 maybe_swap_uint32.
565 (obstack_int32_grow_fast): Likewise.
566 (output_weightwc): Call maybe_swap_uint32_obstack.
567 (collate_output): Likewise.
568 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
569 (OPT_LITTLE_ENDIAN): Likewise.
570 (options): Add --little-endian and --big-endian options.
571 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
572 * locale/programs/locarchive.c: Include "locfile.h".
573 (GET): New macro.
574 (SET): Likewise.
575 (INC): Likewise.
576 (create_archive): Use the new macros to access fields of
577 structures directly mapped from or written to locale archives.
578 (oldlocrecentcmp): Likewise.
579 (enlarge_archive): Likewise.
580 (insert_name): Likewise.
581 (add_alias): Likewise.
582 (add_locale): Likewise.
583 (delete_locales_from_archive): Likewise.
584 (show_archive_content): Likewise.
585 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
586 locale data.
587
39bf0bb4
RM
5882013-09-24 Roland McGrath <roland@hack.frob.com>
589
590 * manual/freemanuals.texi: Updated from (newly) canonical copy at
591 http://www.gnu.org/doc/freemanuals.texi.
592 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
593
f02eed10
WN
5942013-09-24 Will Newton <will.newton@linaro.org>
595
596 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
597 macro.
598
a3a6c312
JM
5992013-09-23 Joseph Myers <joseph@codesourcery.com>
600
601 * locale/hashval.h (compute_hashval): Interpret bytes of key as
602 unsigned char.
603
107375ac
MR
6042013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
605
606 * manual/threads.texi (POSIX Threads): Fix a typo.
607
141f3a77
SP
6082013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
609
303e567a
SP
610 [BZ #14547]
611 * string/tst-strcoll-overflow.c: New test case.
612 * string/Makefile (xtests): Add tst-strcoll-overflow.
613 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
614 cache if string sizes may cause integer overflow.
615
141f3a77
SP
616 [BZ #14547]
617 * string/strcoll_l.c (coll_seq): New members rule, idx,
618 save_idx and back_us.
619 (get_next_seq_nocache): New function.
620 (do_compare_nocache): New function.
621 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
622 when malloc fails.
623
c61b4d41
CD
6242013-09-23 Carlos O'Donell <carlos@redhat.com>
625
0b1f8e35
CD
626 [BZ #15754]
627 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
628 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
629 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
630
c61b4d41
CD
631 [BZ #15754]
632 * elf/Makefile (tests): Add tst-ptrguard1.
633 (tests-static): Add tst-ptrguard1-static.
634 (tst-ptrguard1-ARGS): Define.
635 (tst-ptrguard1-static-ARGS): Define.
636 * elf/tst-ptrguard1.c: New file.
637 * elf/tst-ptrguard1-static.c: New file.
638 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
639 * sysdeps/i386/stackguard-macros.h: Likewise.
640 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
641 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
642 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
643 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
644 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
645 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
646
6472013-09-23 Hector Marco <hecmargi@upv.es>
648 Ismael Ripoll <iripoll@disca.upv.es>
649 Carlos O'Donell <carlos@redhat.com>
650
651 [BZ #15754]
652 * sysdeps/generic/stackguard-macros.h: Define
653 __pointer_chk_guard_local and POINTER_CHK_GUARD.
654 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
655 Define __pointer_chk_guard_local.
656 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
657 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
658
f5f4e7b4
VV
6592013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
660
661 [BZ #15859]
662 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
663
5bb43a43
AS
6642013-09-20 Andreas Schwab <schwab@linux-m68k.org>
665
666 * include/string.h (__ffs): Declare as hidden.
667 * string/ffs.c (__ffs): Define as hidden.
668 * sysdeps/i386/ffs.c (__ffs): Likewise.
669 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
670 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
671 * sysdeps/s390/ffs.c (__ffs): Likewise.
672 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
673
3ea5be54
AO
6742013-09-20 Alexandre Oliva <aoliva@redhat.com>
675
ffb89e53
AO
676 * NEWS: Mention malloc probes.
677
322dea08
AO
678 * malloc/arena.c (new_heap): New memory_heap_new probe.
679 (grow_heap): New memory_heap_more probe.
680 (shrink_heap): New memory_heap_less probe.
681 (heap_trim): New memory_heap_free probe.
682 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
683 (systrim): New memory_sbrk_less probe.
684 * manual/probes.texi: Document them.
685
655673f3
AO
686 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
687 * manual/probes.texi: Document it.
688
35fed6f1
AO
689 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
690 (__libc_realloc): Add memory_realloc_retry probe.
691 (__libc_memalign): Add memory_memalign_retry probe.
692 (__libc_valloc): Add memory_valloc_retry probe.
693 (__libc_pvalloc): Add memory_pvalloc_retry probe.
694 (__libc_calloc): Add memory_calloc_retry probe.
695 * manual/probes.texi: Document them.
696
6999d38c
AO
697 * malloc/arena.c (get_free_list): Add probe
698 memory_arena_reuse_free_list.
699 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
700 and memory_arena_reuse.
701 (arena_get2) [!PER_THREAD]: Likewise.
702 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
703 memory_arena_reuse_realloc.
704 * manual/probes.texi: Document them.
705
0653427f
AO
706 * malloc/malloc.c (__libc_free): Add
707 memory_mallopt_free_dyn_thresholds probe.
708 (__libc_mallopt): Add multiple memory_mallopt probes.
709 * manual/probes.texi: Document them.
710
3ea5be54
AO
711 * malloc/malloc.c: Include stap-probe.h.
712 (__libc_mallopt): Add memory_mallopt probe.
713 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
714 * manual/probes.texi: New.
715 * manual/Makefile (chapters): Add probes.
716 * manual/threads.texi: Set next node.
717
e35696c3 7182013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 719
e35696c3
CL
720 [BZ #15963, #13985]
721 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
722 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
723 Add `Chinese' to `nan' entry name.
724
4aafb73c
SP
7252013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
726
727 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
728 (POLYNOMIAL): Likewise.
729 (TAYLOR_SINCOS): Likewise.
730 (TAYLOR_SLOW): Likewise.
731 (__sin): Use TAYLOR_SINCOS.
732 (__cos): Likewise.
733 (slow): Use TAYLOR_SLOW.
734 (sloww): Likewise.
735 (bsloww): Likewise.
736 (csloww): Likewise.
737
d84f25c7
LD
7382013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
739
740 * stdlib/strtod_l.c: Fix buffer overrun.
741
5eea0404
SP
7422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
743
7849ff93
SP
744 * benchtests/Makefile (bench): Add sincos.
745 * benchtests/bench-sincos.c: New file.
746
cfa3c886
SP
747 * math/libm-test.inc (cos_test_data): New test inputs.
748 (sin_test_data): Likewise.
749
b348e1e3
SP
750 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
751 macro.
752 (__sin): Use it.
753 (__cos): Likewise.
754 (slow1): Likewise.
755 (slow2): Likewise.
756 (sloww1): Likewise.
757 (sloww2): Likewise.
758 (bsloww1): Likewise.
759 (bsloww2): Likewise.
760 (cslow2): Likewise.
761 (csloww1): Likewise.
762 (csloww2): Likewise.
763
6cce25f8
SP
764 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
765 function.
766 (__sin): Use it.
767 (__cos): Likewise.
768
5eea0404
SP
769 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
770 gotos.
771 (__cos): Likewise.
772
9c21573c
MR
7732013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
774
775 * config.h.in (HAVE_MIPS_NAN2008): New macro.
776 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
777 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
778 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
779 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
780 * elf/cache.c (print_entry): Handle the new cache flags.
781
24d22e65
JM
7822013-09-18 Joseph Myers <joseph@codesourcery.com>
783 Aldy Hernandez <aldyh@redhat.com>
784
785 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
786 Change condition to [_SOFT_FLOAT].
787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
794 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
797 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
798 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
799 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
800 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
801 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
802 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
803 declaration.
804
d13ef066
JM
8052013-09-18 Joseph Myers <joseph@codesourcery.com>
806
2e071de0
JM
807 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
808 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
809 (__longjmp): Use LOAD_GP to load saved GPRs.
810 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
811 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
812 (__sigsetjmp): Use SAVE_GP to save GPRs.
813
d13ef066
JM
814 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
815 Do not append -msoft-float.
816 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
817
97a0650b
SP
8182013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
819
820 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
821
11ca09e9
JM
8222013-09-17 Joseph Myers <joseph@codesourcery.com>
823
824 [BZ #15966]
825 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
826 (_FPU_GETCW): Use initial "__" on variable and field names but not
827 on macro parameter name.
828 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
829 parentheses around reference to macro parameter.
830
08ffcf34
RS
8312013-09-13 Richard Sandiford <richard@codesourcery.com>
832
833 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
834 prototype.
835 (ctype_startup): Use uint32_t in cast and sizeof for
836 ctype->charnames.
837
ae7080d3
JL
8382013-09-11 Jia Liu <proljc@gmail.com>
839
840 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
841 __daddr_t_defined.
842 [__FreeBSD__]: Likewise.
843
5905e7b3
OB
8442013-09-11 Ondřej Bílka <neleai@seznam.cz>
845
846 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
847 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
848 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
849 (strchr): Remove __strchr_sse42 ifunc selection.
850 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
851 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
852
b987c776
WN
8532013-09-11 Will Newton <will.newton@linaro.org>
854
855 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
856 parameter to RES. Remove hardcoded 1000 value.
857 * benchtests/bench-skeleton.c (main): Pass RES parameter
858 to TIMING_INIT and multiply result by 1000.
859
ddf985af
AZ
8602013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
861
862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
863
ffdd3181
AS
8642013-09-11 Andreas Schwab <schwab@suse.de>
865
866 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
867 if not defined.
868 (O_TMPFILE) [__USE_GNU]: Define.
869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
870 Define.
871
b73ed247
WN
8722013-09-11 Will Newton <will.newton@linaro.org>
873
874 [BZ #15857]
875 * malloc/malloc.c (__libc_memalign): Check the value of bytes
876 does not overflow.
877
55e17aad
WN
8782013-09-11 Will Newton <will.newton@linaro.org>
879
880 [BZ #15856]
881 * malloc/malloc.c (__libc_valloc): Check the value of bytes
882 does not overflow.
883
1159a193
WN
8842013-09-11 Will Newton <will.newton@linaro.org>
885
886 [BZ #15855]
887 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
888 does not overflow.
889
5905e7b3 8902013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
891
892 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
893 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
894 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
895 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
896 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
897
cdfc721b
AM
8982013-09-10 Allan McRae <allan@archlinux.org>
899
aa04af00
AM
900 [BZ #15748]
901 * manual/arith.texi (Parsing of Floats): Clarify
902 cross-reference.
903
cdfc721b
AM
904 [BZ #15849]
905 * manual/install.texi (Running make install): Mention
906 --enable-pt-chown.
907 * INSTALL: Regenerated.
908
95e7cf29
MR
9092013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
910
911 * csu/init-first.c (_init): Remove the !SHARED condition around
912 FPU control word initialization.
913 * elf/dl-support.c (_dl_fpu_control): New variable.
914 (_dl_aux_init) <AT_FPUCW>: Initialize it.
915 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
916 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
917 * math/test-fpucw-static.c: New file.
918 * math/test-fpucw-ieee.c: New file.
919 * math/test-fpucw-ieee-static.c: New file.
920 * math/Makefile (tests): Add `test-fpucw-ieee' and
921 `$(tests-static)'.
922 (tests-static): New variable.
923 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
924 dependency to...
925 [($(build-shared),yes)]
926 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
927 ... this.
928 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
929 New dependency.
930
83e43bf0
AM
9312013-09-09 Allan McRae <allan@archlinux.org>
932
a9f5ce09
AM
933 [BZ #15939]
934 * manual/string.texi (Collation Functions): Fix typo in
935 strcoll example.
936 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
937
34829bc2
AM
938 [BZ #15893]
939 * stdlib/isomac.c (get_null_defines): Fix memory leak.
940
3932737d
AM
941 [BZ #15892]
942 * libio/memstream.c (open_memstream): Fix memory leak.
943 * libio/wmemstream.c (open_wmemstream): Likewise.
944
83e43bf0
AM
945 [BZ #15895]
946 * nscd/netgroupcache.c: Fix nesting of ifdefs.
947
0c66b8e9
WN
9482013-09-09 Will Newton <will.newton@linaro.org>
949
950 * malloc/Makefile: Add tst-realloc to tests.
951 * malloc/tst-realloc.c: New file.
952
f6b00fd1
AM
9532013-09-09 Allan McRae <allan@archlinux.org>
954
955 [BZ #15844]
956 * COPYING: Update from GNU website to fix FSF address.
957 * COPYING.LIB: Likewise.
958
eec55e16
DM
9592013-09-06 David S. Miller <davem@davemloft.net>
960
961 * po/zh_TW.po: Update Chinese (traditional) translation from
962 translation project.
963
1ecbb381
RS
9642013-09-06 Richard Sandiford <richard@codesourcery.com>
965 Joseph Myers <joseph@codesourcery.com>
966
967 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
968 "localeinfo.h".
969 (obstack_chunk_alloc): New macro.
970 (obstack_chunk_free): Likewise.
971 (record_offset): New function.
972 (init_locale_data): Likewise.
973 (align_locale_data): Likewise.
974 (add_locale_empty): Likewise.
975 (add_locale_raw_data): Likewise.
976 (add_locale_raw_obstack): Likewise.
977 (add_locale_string): Likewise.
978 (add_locale_wstring): Likewise.
979 (add_locale_uint32): Likewise.
980 (add_locale_uint32_array): Likewise.
981 (add_locale_char): Likewise.
982 (start_locale_structure): Likewise.
983 (end_locale_structure): Likewise.
984 (start_locale_prelude): Likewise.
985 (end_locale_prelude): Likewise.
986 (write_locale_data): Take locale_file structure rather than an
987 iovec.
988 * locale/programs/locfile.h: Include "obstack.h".
989 (struct locale_file): Change to store locale file contents instead
990 of header.
991 (init_locale_data): New prototype.
992 (align_locale_data): Likewise.
993 (add_locale_empty): Likewise.
994 (add_locale_raw_data): Likewise.
995 (add_locale_raw_obstack): Likewise.
996 (add_locale_string): Likewise.
997 (add_locale_wstring): Likewise.
998 (add_locale_uint32): Likewise.
999 (add_locale_uint32_array): Likewise.
1000 (add_locale_char): Likewise.
1001 (start_locale_structure): Likewise.
1002 (end_locale_structure): Likewise.
1003 (start_locale_prelude): Likewise.
1004 (end_locale_prelude): Likewise.
1005 (write_locale_data): Update prototype.
1006 * locale/programs/3level.h (struct TABLE): Remove result field.
1007 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
1008 Use new locale_file interface.
1009 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
1010 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
1011 * locale/programs/ld-address.c (address_output): Use new
1012 locale_file interface.
1013 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
1014 NO_ADD_LOCALE.
1015 (collate_finish): Don't call collseq_table_finalize.
1016 (collate_output): Use new locale_file interface.
1017 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
1018 in file.
1019 (NO_FINALIZE): Change to NO_ADD_LOCALE.
1020 (TABLE): Move defines earlier in file.
1021 (ELEMENT): Likewise.
1022 (DEFAULT): Likewise.
1023 (wctrans_table_add): Move macro and inline function earlier in
1024 file.
1025 (struct wctype_table): Move type earlier in file.
1026 (add_locale_wctype_table): New static prototype.
1027 (struct locale_ctype_t): Use logical types instead of struct iovec
1028 pointers for members.
1029 (ctype_output): Use new locale_file interface.
1030 (wctype_table_finalize): Change to add_locale_wctype_table. Use
1031 new locale_file interface.
1032 (allocate_arrays): Update for use of new locale_file interface.
1033 * locale/programs/ld-identification.c (identification_output): Use
1034 new locale_file interface.
1035 * locale/programs/ld-measurement.c (measurement_output): Likewise.
1036 * locale/programs/ld-messages.c (messages_output): Likewise.
1037 * locale/programs/ld-monetary.c (monetary_output): Likewise.
1038 * locale/programs/ld-name.c (name_output): Likewise.
1039 * locale/programs/ld-numeric.c (numeric_output): Likewise.
1040 * locale/programs/ld-paper.c (paper_output): Likewise.
1041 * locale/programs/ld-telephone.c (telephone_output): Likewise.
1042 * locale/programs/ld-time.c (time_output): Likewise.
1043
e029e2e5
AZ
10442013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1045
1046 * benchtests/Makefile: Add memrchr benchmark.
1047 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
1048 benchmark as memrchr.
1049 * benchtests/bench-memrchr-ifunc.c: New file.
1050 * benchtests/bench-memrchr.c: New file.
1051
bbf6e8e4
WN
10522013-09-06 Will Newton <will.newton@linaro.org>
1053
1054 * benchtests/Makefile (string-bench): Add memcpy.
1055
6c82a2f8
CD
10562013-09-05 Carlos O'Donell <carlos@redhat.com>
1057 Cong Wang <amwang@redhat.com>
1058
1059 * sysdeps/unix/sysv/linux/bits/in.h
1060 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1061 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1062 before __USE_KERNEL_IPV6_DEFS uses.
1063 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1064 IPPROTO_BEETPH.
1065 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1066 sockaddr_in6, or ipv6_mreq.
1067
5430fc65
AZ
10682013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1069
1070 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1071 memory access for final bytes in some large inputs.
1072 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1073
4660856c
AZ
10742013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1075
1076 * string/test-memrchr.c: New file.
1077 * string/test-memrchr-ifunc.c: New file.
1078 * string/Makefile: Add new memrchr testcase.
1079
bb8ea713
MF
10802013-09-05 Mike Frysinger <vapier@gentoo.org>
1081
1082 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1083 fanotify_init returns EPERM.
1084
b92a20b5
JM
10852013-09-04 Joseph Myers <joseph@codesourcery.com>
1086
1087 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1088 errors.
1089 (top level): Treat second token from macro or constant entries for
1090 allowed headers as allowed.
1091 * include/complex.h: Condition internal declarations on
1092 [!_ISOMAC].
1093 * include/fenv.h: Condition include of <stdbool.h> and internal
1094 declarations on [!_ISOMAC].
7447ccd9
CL
1095
10962013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1097
3e181dda 1098 [BZ #15923]
7447ccd9
CL
1099 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1100
3f2e46a4
JM
11012013-09-04 Joseph Myers <joseph@codesourcery.com>
1102
1103 * configure.in (--enable-versioning): Remove configure option.
1104 (libc_cv_asm_symver_directive): Remove configure test.
1105 (libc_cv_ld_version_script_option): Likewise.
1106 (VERSIONING): Remove variable and AC_SUBST.
1107 (DO_VERSIONING): Remove AC_DEFINE.
1108 * configure: Regenerated.
1109 * config.h.in (DO_VERSIONING): Remove macro.
1110 * Makerules [$(versioning) = yes]: Change conditionals to
1111 [$(build-shared) = yes].
1112 * config.make.in (versioning): Remove variable.
1113 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1114 [$(build-shared) = yes].
1115 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1116 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1117 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1118 [$(build-shared) = yes].
1119 * extra-lib.mk [$(versioning) = yes]: Likewise.
1120 * hurd/Makefile [$(versioning) = yes]: Likewise.
1121 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1122 [SHARED].
1123 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1124 [SHARED].
1125 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1126 [SHARED && !NO_HIDDEN].
1127 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1128 [SHARED].
1129 [SHARED && DO_VERSIONING]: Likewise..
1130 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1131 [$(build-shared) = yes].
1132 * manual/install.texi (--disable-versioning): Remove
1133 documentation.
1134 * INSTALL: Regenerated.
1135 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1136 to [SHARED].
1137 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1138 [$(build-shared) = yes].
1139 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1140 * sysdeps/i386/i686/multiarch/strstr-c.c
1141 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1142 [SHARED && !NO_HIDDEN].
1143 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1144 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1145 * sysdeps/powerpc/powerpc32/dl-machine.c
1146 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1147 * sysdeps/powerpc/powerpc32/sysdep.h
1148 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1149 to [SHARED && PIC && !NO_HIDDEN].
1150 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1151 conditional to [SHARED].
1152
44558701
WN
11532013-09-04 Will Newton <will.newton@linaro.org>
1154
1155 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1156 * benchtests/bench-string.h: Include bench-timing.h instead
1157 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1158 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1159 call to HP_TIMING_DIFF_INIT.
1160 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1161 instead of hp-timing.h macros.
1162 * benchtests/bench-memchr.c: Likewise.
1163 * benchtests/bench-memcmp.c: Likewise.
1164 * benchtests/bench-memcpy.c: Likewise.
1165 * benchtests/bench-memmem.c: Likewise.
1166 * benchtests/bench-memmove.c: Likewise.
1167 * benchtests/bench-memset.c: Likewise.
1168 * benchtests/bench-rawmemchr.c: Likewise.
1169 * benchtests/bench-strcasecmp.c: Likewise.
1170 * benchtests/bench-strcasestr.c: Likewise.
1171 * benchtests/bench-strcat.c: Likewise.
1172 * benchtests/bench-strchr.c: Likewise.
1173 * benchtests/bench-strcmp.c: Likewise.
1174 * benchtests/bench-strcpy.c: Likewise.
1175 * benchtests/bench-strcpy_chk.c: Likewise.
1176 * benchtests/bench-strlen.c: Likewise.
1177 * benchtests/bench-strncasecmp.c: Likewise.
1178 * benchtests/bench-strncat.c: Likewise.
1179 * benchtests/bench-strncmp.c: Likewise.
1180 * benchtests/bench-strncpy.c: Likewise.
1181 * benchtests/bench-strnlen.c: Likewise.
1182 * benchtests/bench-strpbrk.c: Likewise.
1183 * benchtests/bench-strrchr.c: Likewise.
1184 * benchtests/bench-strspn.c: Likewise.
1185 * benchtests/bench-strstr.c: Likewise.
1186
cae16d66
WN
11872013-09-04 Will Newton <will.newton@linaro.org>
1188
1189 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1190
ffa3cd7f
JM
11912013-09-03 Joseph Myers <joseph@codesourcery.com>
1192
1193 [BZ #15427]
1194 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1195 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1196 * math/libm-test.inc (lgamma_test_data): Add more tests.
1197 * sysdeps/i386/fpu/libm-test-ulps: Update.
1198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1199
8f02859f
OB
12002013-09-03 Ondřej Bílka <neleai@seznam.cz>
1201
1202 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1203 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1204 Add ifunc.
1205 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1206 Add strcmp-sse2-unaligned
1207 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1208
18d43716
MF
12092013-09-02 Mike Frysinger <vapier@gentoo.org>
1210
1211 * Versions.def (libc): Add GLIBC_2.19.
1212
ac444012
MF
12132013-09-02 Mike Frysinger <vapier@gentoo.org>
1214
1215 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1216 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1217
b7835e32
JM
12182013-09-02 Joseph Myers <joseph@codesourcery.com>
1219
1220 [BZ #14155]
1221 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1222 intermediate calculations in recurrence.
1223 (__ieee754_ynf): Likewise.
1224 * math/libm-test.inc (jn_test_data): Do not allow spurious
1225 underflow exception. Add more tests.
1226 (yn_test_data): Add more tests.
1227 * sysdeps/i386/fpu/libm-test-ulps: Update.
1228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1229
8220f4f0
OB
12302013-09-02 Ondřej Bílka <neleai@seznam.cz>
1231
1232 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1233
f24a6d08
OB
12342013-08-30 Ondřej Bílka <neleai@seznam.cz>
1235
1236 * csu/init-first.c: Fix then/than typos.
1237 * locale/programs/ld-collate.c: Likewise.
1238 * locale/programs/linereader.h: Likewise.
1239 * manual/charset.texi: Likewise.
1240 * manual/filesys.texi: Likewise.
1241 * manual/stdio.texi: Likewise.
1242 * manual/string.texi: Likewise.
1243 * stdlib/fmtmsg.c: Likewise.
1244 * sysdeps/i386/stpncpy.S: Likewise.
1245 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1246 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1247 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1248 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1249
382466e0
OB
12502013-08-30 Ondřej Bílka <neleai@seznam.cz>
1251
1252 * elf/dl-open.c: Fix typos.
1253 * iconvdata/gbbig5.c: Likewise.
1254 * iconvdata/iso-2022-jp.c: Likewise.
1255 * iconv/gconv_int.h: Likewise.
1256 * iconv/loop.c: Likewise.
1257 * nis/rpcsvc/nis.h: Likewise.
1258 * resolv/ns_name.c: Likewise.
1259 * stdio-common/vfscanf.c: Likewise.
1260 * streams/stropts.h: Likewise.
1261 * sunrpc/rpc_thread.c: Likewise.
1262 * sysdeps/i386/strpbrk.S: Likewise.
1263 * sysdeps/ieee754/k_standard.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1266 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1267 * sysdeps/mach/hurd/profil.c: Likewise.
1268 * sysdeps/s390/dl-procinfo.h: Likewise.
1269 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1270 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1271 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1272 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1273 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1274
0186c6e9
OB
12752013-08-30 Ondřej Bílka <neleai@seznam.cz>
1276
1277 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1279
d4e16af1
OB
12802013-08-29 Ondřej Bílka <neleai@seznam.cz>
1281
1282 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1283 aix specific files.
1284 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1285 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1286 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1287 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1288 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1289 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1290 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1291 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1292
88335980
TS
12932013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1294 Roland McGrath <roland@hack.frob.com>
1295
1296 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1297 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1298
ed479b02
ST
12992013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1300
1301 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1302 __executable_start symbol instead of _start.
1303
f1cc4c86
TS
13042013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1305
d821f07c
TS
1306 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1307 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1308 Move macros to...
1309 * sysdeps/gnu/ldsodefs.h: ... this new file.
1310
c54290cf
TS
1311 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1312 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1313 instead of ELFOSABI_LINUX.
1314
0007fc9b 1315 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1316 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1317 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1318 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1319 Likewise.
1320 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1321 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1322 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1323 Likewise.
1324 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1325 (ibm_extended_long_double): Add ieee_nan member.
1326 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1327 (do_test): New function.
1328
f1cc4c86
TS
1329 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1330 TEST_TRUNC.
1331 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1332 functions, renamed from truncdfsf_test, trunctfsf_test,
1333 trunctfdf_test.
1334 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1335 functions.
1336 (do_test): Run all these.
1337
6f65e668
OB
13382013-08-29 Ondřej Bílka <neleai@seznam.cz>
1339
1340 * argp/argp-help.c: Fix typos.
1341 * argp/argp-parse.c: Likewise.
1342 * debug/backtracesyms.c: Likewise.
1343 * elf/elf.h: Likewise.
1344 * malloc/malloc.c: Likewise.
1345 * nis/nis_print.c: Likewise.
1346 * resolv/res_comp.c: Likewise.
1347 * stdlib/stdlib.h: Likewise.
1348 * sunrpc/clnt_tcp.c: Likewise.
1349 * sunrpc/clnt_udp.c: Likewise.
1350 * sunrpc/clnt_unix.c: Likewise.
1351 * sysdeps/unix/bsd/ptsname.c: Likewise.
1352 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1353 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1355 Likewise.
1356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1357 Likewise.
1358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1359 Likewise.
6f65e668
OB
1360 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1361
3a309239
SP
13622013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1363
1364 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1366
3b813b29
MF
13672013-08-27 Mike Frysinger <vapier@gentoo.org>
1368
1369 [BZ #15897]
1370 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1371 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1372 ($(objpfx)bug-dl-leaf): New rule.
1373 ($(objpfx)bug-dl-leaf.so): Likewise.
1374 ($(objpfx)bug-dl-leaf.out): Likewise.
1375 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1376 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1377 * dlfcn/bug-dl-leaf.c: New test.
1378 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1379 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1380 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1381 (dlclose): Likewise.
1382 (dlmopen): Likewise.
1383
8cc3269f
RM
13842013-08-27 Roland McGrath <roland@hack.frob.com>
1385
7f9d0034
RM
1386 * include/netdb.h [!_ISOMAC]:
1387 Don't include <tls.h>.
1388 (h_errno, __libc_h_errno): Move declaration and macros out of
1389 [_LIBC_REENTRANT].
1390
fb431262
RM
1391 * include/resolv.h [_RESOLV_H_]:
1392 Don't include <tls.h>.
1393 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1394 * resolv/res_libc.c: Don't include <tls.h>.
1395 (_res): Use __attribute__ ((nocommon)) in place of
1396 __attribute__ ((section (".bss"))).
1397
bd81123a
RM
1398 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1399 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1400
c4e42566
RM
1401 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1402
f890a59b
RM
1403 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1404 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1405
1406 * resolv/res_mkquery.c: Include <sys/time.h>.
1407
5d1f0a09
RM
1408 * inet/ifreq.c: Moved to ...
1409 * sysdeps/unix/ifreq.c: ... here.
1410 * inet/ifreq.c: New file, true stub version.
1411
6fcf28b3
RM
1412 * socket/sa_len.c: New file.
1413 * socket/Makefile (aux): Add it.
1414 * sysdeps/unix/sysv/linux/Makefile
1415 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1416 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1417 and #include <socket/sa_len.c>.
1418 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1419 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1420
e041fb8b
RM
1421 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1422 * bits/socket.h: ... here.
1423
8cc3269f
RM
1424 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1425 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1426 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1427
5d228a43
AS
14282013-08-27 Andreas Schwab <schwab@suse.de>
1429
45b8accc
AS
1430 [BZ #15736]
1431 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1432 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1433 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1434 * string/test-strcasecmp.c (test_main): Run tests in several
1435 locales.
1436 * string/test-strncasecmp.c (test_main): Likewise.
1437
5d228a43
AS
1438 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1439 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1440 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1442 (__strncasecmp_ssse3) [PIC]: Likewise.
1443
59d112a4
RM
14442013-08-26 Roland McGrath <roland@hack.frob.com>
1445
53234cc3
RM
1446 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1447
59d112a4
RM
1448 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1449 instead of explicitly declaring xdecrypt.
1450 * nis/nss_nis/nis-publickey.c: Likewise.
1451
595aba70
SP
14522013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1453
1454 [BZ #15890]
1455 * nscd/aicache.c: Include res_hconf.h.
1456 (addhstaiX): Initialize res_hconf.
1457
ffabd393
AS
14582013-08-26 Andreas Schwab <schwab@suse.de>
1459
1460 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1461 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1462
e0a69f5c
SP
14632013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1464
1465 * nscd/aicache.c (addhstaiX): Fix indentation.
1466
8c12f01d
MF
14672013-08-25 Mike Frysinger <vapier@gentoo.org>
1468
1469 * configure.ac: Quote $build_pt_chown test.
1470 * configure: Regenerated.
1471
8fe89494
JM
14722013-08-23 Joseph Myers <joseph@codesourcery.com>
1473
1474 [BZ #15532]
1475 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1476 * math/s_cexpf.c (__cexpf): Likewise.
1477 * math/s_cexpl.c (__cexpl): Likewise.
1478 * math/libm-test.inc (cexp_test_data): Correct expected return
1479 value for NaN + i0. Add another test.
1480
75b181d6
DM
14812013-08-22 David S. Miller <davem@davemloft.net>
1482
1483 * po/ca.po: Update Catalan translation from translation project.
936241e4 1484 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1485
acd06bb1
JM
14862013-08-21 Joseph Myers <joseph@codesourcery.com>
1487
1488 [BZ #15797]
1489 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1490 is infinite, not alongside NaN test.
1491 * math/s_fdimf.c (__fdimf): Likewise.
1492 * math/s_fdiml.c (__fdiml): Likewise.
1493 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1494 errno is unchanged.
1495
c0c3f78a
OB
14962013-08-21 Ondřej Bílka <neleai@seznam.cz>
1497
1498 * argp/argp-help.c: Fix typos.
1499 * crypt/speeds.c: Likewise.
1500 * csu/check_fds.c: Likewise.
1501 * elf/dl-load.c: Likewise.
1502 * elf/dl-open.c: Likewise.
1503 * elf/reldep3.c: Likewise.
1504 * elf/reldep.c: Likewise.
1505 * elf/sprof.c: Likewise.
1506 * iconv/iconv_charmap.c: Likewise.
1507 * iconv/skeleton.c: Likewise.
1508 * iconv/strtab.c: Likewise.
1509 * io/lockf64.c: Likewise.
1510 * libio/libioP.h: Likewise.
1511 * resolv/gai_notify.c: Likewise.
1512 * resolv/ns_name.c: Likewise.
1513 * resolv/ns_samedomain.c: Likewise.
1514 * resolv/res_send.c: Likewise.
1515 * stdlib/random.c: Likewise.
1516 * sunrpc/rpc/xdr.h: Likewise.
1517 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1518 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1519 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1520 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1521 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1522 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1524 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1525 * sysdeps/mach/hurd/check_fds.c: Likewise.
1526 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1527 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1528 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1529 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1530 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1532 * sysdeps/pthread/aio_notify.c: Likewise.
1533 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1534 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1535 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1536 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1537 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1538
46ed1038
LD
15392013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1540
1541 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1542 version if bit_Slow_SSE4_2 is set.
1543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1544 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1545
d400dcac
AZ
15462013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1547
1548 [BZ #15867]
1549 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1550 trampoline stack frame information.
1551 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1552 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1553 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1554 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1555 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1556 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1557 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1558 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1559 sa_flags value.
1560 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1561 interrupting a syscall and set with option SA_SIGINFO.
1562
42c8fdd8
JM
15632013-08-20 Joseph Myers <joseph@codesourcery.com>
1564
c980f2f4
JM
1565 [BZ #15531]
1566 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1567 argument is infinite.
1568 * math/s_cprojf.c (__cprojf): Likewise.
1569 * math/s_cprojl.c (__cprojl): Likewise.
1570 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1571 * math/libm-test.inc (cproj_test_data): Add more tests.
1572
0716c4fc
JM
1573 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1574
42c8fdd8
JM
1575 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1576 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1577 size. Use __ffs to determine corresponding shift.
1578
b31469d0
JM
15792013-08-20 Joseph Myers <joseph@codesourcery.com>
1580 Roland McGrath <roland@hack.frob.com>
1581
1582 * Makefile (INSTALL): Remove trailing blank lines from output of
1583 makeinfo.
1584
4e39af6e
AK
15852013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1586
1587 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1588 Align 32 bit compat elf_greg to 8 bytes.
1589
f315524e
AA
15902013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1591
1592 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1593
1326ba1a
SP
15942013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1595
1596 * string/strcoll_l.c (coll_seq): New structure.
1597 (get_next_seq_cached): New function.
1598 (get_next_seq): New function.
1599 (do_compare): New function.
1600 (STRCOLL): Use GNU style definition. Simplify implementation
1601 by using get_next_seq, get_next_seq_cached and do_compare.
1602
91ce4085
FW
16032013-08-16 Florian Weimer <fweimer@redhat.com>
1604
1605 [BZ #14699]
1606 CVE-2013-4237
1607 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1608 member.
1609 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1610 member.
1611 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1612 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1613 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1614 conditional.
1615 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1616 GETDENTS_64BIT_ALIGNED.
1617 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1618 * manual/filesys.texi (Reading/Closing Directory): Document
1619 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1620 strongly.
1621 * manual/conf.texi (Limits for Files): Add portability note to
1622 NAME_MAX, PATH_MAX.
1623 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1624
ca0a6bc4
AS
16252013-08-13 Andreas Schwab <schwab@suse.de>
1626
1627 [BZ #15749]
1628 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1629 of fabs.
1630 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1631 LDBL_MAX_EXP >= 16384]: Add tests for it.
1632
6c1fd795
DM
16332013-08-12 David S. Miller <davem@davemloft.net>
1634
1635 * version.h (RELEASE): Set to "development".
1636 (VERSION): Set to "2.18.90".
1637 * NEWS: Add 2.19 section.
1638
31ad488d
DM
16392013-08-03 David S. Miller <davem@davemloft.net>
1640
1641 * po/ko.po: Update Korean translation from translation project.
1642
db24e684
DM
16432013-08-01 David S. Miller <davem@davemloft.net>
1644
1645 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1646 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1647 Bilka.
1648
f723285b
DM
16492013-07-30 David S. Miller <davem@davemloft.net>
1650
1651 * po/fr.po: Update French translation from translation project.
1652
3cbc52db
DM
16532013-07-28 David S. Miller <davem@davemloft.net>
1654
30bbc0cc
DM
1655 * po/cs.po: Update Czech translation from translation project.
1656
3cbc52db
DM
1657 * po/sv.po: Update Swedish translation from translation project.
1658
d492e6d0
DM
16592013-07-27 David S. Miller <davem@davemloft.net>
1660
f1a7f492
DM
1661 * po/eo.po: Update Esperanto translation from translation project.
1662
90e62a4a
DM
1663 * po/vi.po: Update Vietnamese translation from translation project.
1664
d492e6d0
DM
1665 * po/de.po: Update German translation from translation project.
1666
d4baa62d
DM
16672013-07-26 David S. Miller <davem@davemloft.net>
1668
641aa7b4
DM
1669 * po/bg.po: Update Bulgarian translation from translation project.
1670
d4baa62d
DM
1671 * po/nl.po: Update Dutch translation from translation project.
1672 * po/pl.po: Update Polish translation from translation project.
1673 * po/ru.po: Update Russian translation from translation project.
1674
61a9dcb9
DM
16752013-07-24 David S. Miller <davem@davemloft.net>
1676
1677 * po/libc.pot: Update.
1678
7b1f8b58
AZ
16792013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1680
1681 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1682 variable page size.
1683 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1684 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1685 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1686
a8fc7a03
AK
16872013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1688
1689 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1690
e4608715
CD
16912013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1692 Andreas Schwab <schwab@suse.de>
1693 Roland McGrath <roland@hack.frob.com>
1694 Joseph Myers <joseph@codesourcery.com>
1695 Carlos O'Donell <carlos@redhat.com>
1696
1697 [BZ #15755]
1698 * config.h.in: Define HAVE_PT_CHOWN.
1699 * config.make.in (build-pt-chown): New variable.
1700 * configure.in (--enable-pt_chown): New configure option.
1701 * configure: Regenerate.
1702 * login/Makefile: Include Makeconfig. Build pt_chown only if
1703 build-pt-chown is enabled.
1704 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1705 pt_chown to fix pty ownership.
1706 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1707 CLOSE_ALL_FDS.
1708 * manual/install.texi (Configuring and compiling): Mention
1709 --enable-pt_chown. Add @findex for grantpt.
1710 * INSTALL: Regenerate.
1711
da2d62df
DM
17122013-07-20 David S. Miller <davem@davemloft.net>
1713
1714 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1715 difference between 32-bit and 64-bit.
1716
d7e06450
CD
17172013-07-15 Carlos O'Donell <carlos@redhat.com>
1718
1719 [BZ #15711]
1720 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1721 Avoid system header dependency with -ffreestanding.
1722 ($(objpfx)bits/syscall%d): Likewise.
1723
f959cfd7
DM
17242013-07-13 David S. Miller <davem@davemloft.net>
1725
1726 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1727 underflows from atanl/atan2l due to bug 15319.
1728 (casinh_test_data): Likewise.
1729
c61f8513
DM
17302013-07-07 David S. Miller <davem@davemloft.net>
1731
1732 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1733
72c90ed0
JA
17342013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1735
1736 * sysdeps/i386/fpu/libm-test-ulps: Update.
1737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1738
52dfbe13
SP
17392013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1740
1741 * configure.in (--enable-lock-elision): Fix message text.
1742 * INSTALL: Regenerate.
1743 * configure: Regenerate.
1744
3f169543
AZ
17452013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1746
1747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1748
521c6785
AJ
17492013-07-03 Andreas Jaeger <aj@suse.de>
1750
1751 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1752 define.
1753 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1754 (ptrace_peeksiginfo_args): Add.
1755 (__ptrace_peeksiginfo_flags): Add.
1756 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1757 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1758 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1759
d2cc15cb
AM
17602013-07-03 Allan McRae <allan@archlinux.org>
1761
1762 * sysdeps/i386/fpu/libm-test-ulps: Update.
1763
3aaeeca7
DM
17642013-07-02 David S. Miller <davem@davemloft.net>
1765
1766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1767
5314ed1a
MT
17682013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1769
1770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1771
67338156
JM
17722013-07-02 Joseph Myers <joseph@codesourcery.com>
1773
1774 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1776
1717da59
AK
17772013-07-02 Andi Kleen <ak@linux.intel.com>
1778
1779 * config.h.in (ENABLE_LOCK_ELISION): Add.
1780 * configure.in (--enable-lock-elision): Add option.
1781 * manual/install.texi: Document --enable lock elision.
1782 * configure: Regenerate
1783 * INSTALL: Regenerate.
1784
1c81621c
L
17852013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1788 SSE4.2 strcasecmp for libc.a.
1789 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1790
77f01ab5
JM
17912013-07-02 Joseph Myers <joseph@codesourcery.com>
1792
1793 [BZ #13304]
1794 * soft-fp/op-common.h (_FP_FMA): New macro.
1795 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1796 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1797 (_FP_MUL_MEAT_1_imm): ... here.
1798 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1799 (_FP_MUL_MEAT_1_wide): ... here.
1800 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1801 (_FP_MUL_MEAT_1_hard): ... here.
1802 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1803 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1804 (_FP_MUL_MEAT_2_wide): ... here.
1805 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1806 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1807 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1808 (_FP_MUL_MEAT_2_gmp): ... here.
1809 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1810 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1811 (_FP_MUL_MEAT_4_wide): ... here.
1812 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1813 (_FP_MUL_MEAT_4_gmp): ... here.
1814 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1815 (_FP_WFRACBITS_DW_S): Likewise.
1816 (_FP_WFRACXBITS_DW_S): Likewise.
1817 (_FP_HIGHBIT_DW_S): Likewise.
1818 (FP_FMA_S): Likewise.
1819 (_FP_FRAC_HIGH_DW_S): Likewise.
1820 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1821 (_FP_WFRACBITS_DW_D): Likewise.
1822 (_FP_WFRACXBITS_DW_D): Likewise.
1823 (_FP_HIGHBIT_DW_D): Likewise.
1824 (FP_FMA_D): Likewise.
1825 (_FP_FRAC_HIGH_DW_D): Likewise.
1826 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1827 (_FP_WFRACBITS_DW_E): Likewise.
1828 (_FP_WFRACXBITS_DW_E): Likewise.
1829 (_FP_HIGHBIT_DW_E): Likewise.
1830 (FP_FMA_E): Likewise.
1831 (_FP_FRAC_HIGH_DW_E): Likewise.
1832 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1833 (_FP_WFRACBITS_DW_Q): Likewise.
1834 (_FP_WFRACXBITS_DW_Q): Likewise.
1835 (_FP_HIGHBIT_DW_Q): Likewise.
1836 (FP_FMA_Q): Likewise.
1837 (_FP_FRAC_HIGH_DW_Q): Likewise.
1838 * soft-fp/fmasf4.c: New file.
1839 * soft-fp/fmadf4.c: Likewise.
1840 * soft-fp/fmatf4.c: Likewise.
1841
6308fd9a
LD
18422013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1843
1844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1845 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1846 Silvermont.
1847 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1848 macro.
1849 (index_Slow_SSE4_2): Likewise.
1850 (index_Prefer_PMINUB_for_stringop): Likewise.
1851 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1852 bit_Slow_SSE4_2 is set.
1853 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1854 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1855
89cd9569
RA
18562013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1857
1858 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1859 rtld_global._dl_hwcap2.
1860 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1861 POWER8.
1862 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1863 POWER8 feature descriptions defined in _dl_hwcap2.
1864 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1865 string handling for POWER8 feature bits.
1866 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1867 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1868 _dl_powerpc_cap_flags.
1869 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1870 * sysdeps/powerpc/rtld-global-offsets.sym
1871 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1872 _dl_hwcap2 in the rtld_global_ro structure.
1873
1ae8bfe0
RA
18742013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1875
1876 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1877 hardware capabilities in support of AT_HWCAP2.
1878 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1879 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1880 GLRO(dl_hwcap2).
1881 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1882 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1883 explicitly the unknown a_type display mechanism is used.
1884 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1885 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1886 struct member.
1887 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1888 to macro prototype for AT_HWCAP2 support.
1889 * sysdeps/i386/dl-procinfo.h: Likewise.
1890 * sysdeps/s390/dl-procinfo.h: Likewise.
1891 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1892 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1893 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1894 return -1 for unknown a_type display fallback.
1895 * sysdeps/sparc/dl-procinfo.h: Likewise.
1896 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1897 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1898
8fbec010
JM
18992013-06-28 Joseph Myers <joseph@codesourcery.com>
1900
1901 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1902 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1903
0432680e
PY
19042013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1905
1906 [BZ #12492]
1907 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1908 mprotect making __stack_prot writable.
1909
ce61a2ad
NF
19102013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1911 Joseph Myers <joseph@codesourcery.com>
1912
1913 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1914 as being properly aligned.
1915
f91f1c0f
MR
19162013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1917
3d0f5d0c
MR
1918 * dlfcn/modstatic5.c: New file.
1919 * dlfcn/tststatic5.c: New file.
1920 * dlfcn/Makefile (tests): Add tststatic5.
1921 (tests-static): Likewise.
1922 (modules-names): Add modstatic5.
1923 (tststatic5-ENV): New variable.
1924 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1925
f91f1c0f
MR
1926 [BZ #15022]
1927 * elf/dl-support.c (_dl_main_map): New variable.
1928 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1929 (_dl_nns, _dl_load_adds): Set to 1.
1930 (_dl_initial_searchlist): Refer to _dl_main_map.
1931 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1932 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1933 call to _dl_get_origin.
1934 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1935 around call_map.
1936 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1937 * dlfcn/modstatic3.c: New file.
1938 * dlfcn/tststatic3.c: New file.
1939 * dlfcn/tststatic4.c: New file.
1940 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1941 (tests-static): Likewise.
1942 (modules-names): Add modstatic3.
1943 (tststatic3-ENV, tststatic4-ENV): New variables.
1944 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1945 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1946
cbe7d24b
JM
19472013-06-26 Joseph Myers <joseph@codesourcery.com>
1948
1949 * configure.in (CC): Require GCC version 4.4 or later.
1950 * configure: Regenerated.
1951 * manual/install.texi (Tools for Compilation): Update GCC version
1952 requirement.
1953 * INSTALL: Regenerated.
1954
11b8a0e1
LD
19552013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1956
1957 [BZ #15674]
bb5bb87c
L
1958 * string/test-memcmp.c (check2): New.
1959 (main): Call check2.
1960
11b8a0e1
LD
1961 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1962
b0037103
MR
19632013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1964
1965 [BZ #15022]
1966 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1967 over to...
1968 (dl_open_worker) [!SHARED]: ... here.
1969
c18c701d
RA
19702013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1971
1972 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1973
1d17fa5f
RH
19742013-06-25 Richard Henderson <rth@redhat.com>
1975
1976 * locale/programs/locarchive.c: Include <libc-internal.h>
1977
8fcb833a
JM
19782013-06-25 Joseph Myers <joseph@codesourcery.com>
1979
1980 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1981 trailing whitespace removed.
1982
17db6e8d
MF
19832013-06-24 Mike Frysinger <vapier@gentoo.org>
1984
1985 [BZ #10283]
17db6e8d
MF
1986 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1987 * locale/programs/locarchive.c: Include libc-mmap.h.
1988 (prepare_address_space): Take two new outputs (the mmap base and len).
1989 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1990 values.
1991 (create_archive): Declare new mmap base and len values for
1992 prepare_address_space, and store the result in ah.
1993 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1994 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1995 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1996 Declare new mmap base and len values for
1997 prepare_address_space, and store the result in new_ah.
1998 (open_archive): Declare new mmap base and len values for
1999 prepare_address_space, and store the result in ah.
2000 (close_archive): If ah->mmap_base is not NULL, use that and
2001 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2002 * sysdeps/generic/libc-mmap.h: New file.
2003
d605071e
MF
20042013-06-24 Mike Frysinger <vapier@gentoo.org>
2005
2006 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2007 (ALIGN_UP): Likewise.
2008 (PTR_ALIGN_DOWN): Likewise.
2009 (PTR_ALIGN_UP): Likewise.
2010
2f063a6e
RA
20112013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2012
2013 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
2014 entry mapped to PPC_PLATFORM_POWER8.
2015 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
2016 POWER8.
2017 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
2018 (_dl_string_platform): Add case for exporting platform position for
2019 POWER8.
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
2021 search path to sysdeps/powerpc/powerpc32/power8 directory.
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
2023 search path to sysdeps/powerpc/powerpc64/power8 directory.
2024 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
2025 power7 directories.
2026 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
2027 power7 directories.
2028
a31ee4b3
SP
20292013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2030
a74ca98f
SP
2031 * INSTALL: Regenerate.
2032
a31ee4b3
SP
2033 * nscd/connections.c (nscd_init): Fix comment.
2034
695c378f
JM
20352013-06-22 Joseph Myers <joseph@codesourcery.com>
2036
d8412221
JM
2037 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
2038
695c378f
JM
2039 [BZ #15667]
2040 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
2041 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
2042
d1d54715
MR
20432013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2044
2045 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
2046 DL_DST_REQ_STATIC.
2047 (DL_DST_REQ_STATIC): Remove macro.
2048
8fdda7af
JM
20492013-06-21 Joseph Myers <joseph@codesourcery.com>
2050
2051 [BZ #7006]
2052 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
2053 with a shift of 0 bits.
2054
f3bc5e5a
MR
20552013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
2056
2057 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
2058 $(tststatic-ENV).
2059
be09e8c9
KK
20602013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2061
2062 [BZ #15655]
2063 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2064
85c2e611
AZ
20652013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2066
2067 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2068 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2069 accepts -fno-tree-loop-distribute-patterns.
2070 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2071 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2072 recursive call.
2073 * string/memset.c (memset): Likewise.
2074 * string/test-memmove.c (simple_memmove): Disable loop transformation
2075 to library calls.
2076 * string/test-memset.c (simple_memset): Likewise.
2077 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2078 * benchtests/bench-memset.c (simple_memset): Likewise.
2079 * configure: Regenerated.
2080
c91e0825
JM
20812013-06-20 Joseph Myers <joseph@codesourcery.com>
2082
b8c792af
JM
2083 * math/test-misc.c (main): Ignore fesetround failure when failures
2084 of subsequent rounding tests would be ignored.
2085
c91e0825
JM
2086 [BZ #15654]
2087 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2088 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2089 * math/fegetenv.c (__fegetenv): Return 0.
2090 * math/fegetexcept.c (fegetexcept): Return 0.
2091 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2092 FE_TONEAREST.
2093 * math/feholdexcpt.c (feholdexcept): Return 0.
2094 * math/fesetenv.c (__fesetenv): Return 0.
2095 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2096 argument FE_TONEAREST.
2097 * math/feupdateenv.c (__feupdateenv): Return 0.
2098 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2099
bfcacbde
RM
21002013-06-18 Roland McGrath <roland@hack.frob.com>
2101
2102 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2103 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2104 ($(objpfx)rtld-%.os rules): Use them.
2105
e55a9b25
AZ
21062013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2107
2108 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2109 fields.
2110
346d65b3
RM
21112013-06-17 Roland McGrath <roland@hack.frob.com>
2112
12086fb4
RM
2113 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2114 length of target pattern, then descending length of dependency pattern.
2115 * configure.in (AWK): Require gawk 3.1.2 or newer.
2116 * manual/install.texi (Tools for Compilation): Say that we do.
2117 * configure: Regenerated.
2118
346d65b3
RM
2119 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2120 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2121 * scripts/sysd-rules.awk: ... this new script.
2122 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2123 than a glob-style pattern.
2124
1a846317
JM
21252013-06-17 Joseph Myers <joseph@codesourcery.com>
2126
2127 * math/test-misc.c (main): Do not treat incorrectly rounded
2128 conversions as failure unless ROUNDING_TESTS passes.
2129
8fc75e6f
JM
21302013-06-15 Joseph Myers <joseph@codesourcery.com>
2131
3711a167
JM
2132 [BZ #15631]
2133 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2134 restore exception state around main square root computation, then
2135 check for inexactness explicitly.
2136
8fc75e6f
JM
2137 * math/libm-test.inc (fma_test_data): Add another test.
2138
61dd6208
SP
21392013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2140
adf23d2c
SP
2141 * manual/threads.texi (Non-POSIX Extensions): New document
2142 node. Document pthread_getattr_default_np and
2143 pthread_setattr_default_np.
2144
61dd6208
SP
2145 * Versions.def (libpthread): Add GLIBC_2.18.
2146 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2148 Likewise.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2150 Likewise.
2151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2152 Likewise.
2153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2154 Likewise.
2155 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2156 Likewise.
2157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2158 Likewise.
2159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2160 Likewise.
2161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2162 Likewise.
2163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2164 Likewise.
2165
d086fc7b
LD
21662013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2167
2168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2169 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2170
747ef469
SP
21712013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2172 H.J. Lu <hjl.tools@gmail.com>
2173
2174 [BZ #15627]
2175 * sysdeps/x86_64/rtld-memset.c: Remove file.
2176 * sysdeps/x86_64/rtld-memset.S: New file.
2177
1b2feed2
JM
21782013-06-14 Joseph Myers <joseph@codesourcery.com>
2179
2180 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2181 (test_in_one_mode): Take arguments for whether the rounding mode
2182 is supported for each floating-point type.
2183 (do_test): Pass new arguments to test_in_one_mode using
2184 ROUNDING_TESTS.
2185
a58ad3f8
RM
21862013-06-13 Roland McGrath <roland@hack.frob.com>
2187
2188 * posix/tst-waitid.c (do_test): Distinguish different instances of
2189 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2190 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2191 before entering the kernel for waitpid.
2192
c204ab28
SP
21932013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2194
2195 * NEWS: Fix note on clock function precision. Text by Roland
2196 McGrath.
2197
f4a29fba
RM
21982013-06-13 Roland McGrath <roland@hack.frob.com>
2199
2200 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2201 it into place only when and if the sanity check passes.
2202
1f24b9ad
JM
22032013-06-13 Joseph Myers <joseph@codesourcery.com>
2204
2205 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2206 output for whether conversion result is exact. Take argument
2207 indicating whether type is IBM long double.
2208 (round_for_all): Change need_exact field to ibm_ld.
2209 * stdlib/tst-strtod-round.c (struct exactness): New type.
2210 (struct test): Change bool ld_ok field to struct exactness exact.
2211 (TEST): Update all definitions for change to field.
2212 (tests): Regenerate array contents.
2213 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2214 field value. Check for IBM long double here.
2215 (do_test): Update calls to test_in_one_mode.
2216
58206c68
SP
22172013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2218
2219 [BZ #12515]
2220 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2221 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2222
2d6f4c5b 22232013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2224
2225 [BZ #15605]
2226 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2227 generated by the compiler on loop optimizations.
2228 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2229 general definitions.
2230
94f2c076
JM
22312013-06-12 Joseph Myers <joseph@codesourcery.com>
2232
2233 * math/bug-nextafter.c: Include <math-tests.h>.
2234 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2235 the relevant type.
2236 * math/bug-nexttoward.c: Include <math-tests.h>.
2237 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2238 the relevant type.
2239 * math/test-misc.c: Include <math-tests.h>.
2240 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2241 the relevant type.
2242
e0e50a0a
AJ
22432013-06-12 Andreas Jaeger <aj@suse.de>
2244
2245 * po/ia.po: Update Interlingua translation from translation
2246 project.
2247
25061094
SP
22482013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2249
2250 * include/fenv.h: Include stdbool.h.
2251 (struct rm_ctx): New structure.
2252 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2253 Define macro.
2254 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2255 (SET_RESTORE_ROUNDF): Likewise.
2256 (SET_RESTORE_ROUNDL): Likewise.
2257 (SET_RESTORE_ROUND_NOEX): Likewise.
2258 (SET_RESTORE_ROUND_NOEXF): Likewise.
2259 (SET_RESTORE_ROUND_NOEXL): Likewise.
2260 (SET_RESTORE_ROUND_53BIT): Likewise.
2261 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2262 (libc_feresetround_noexf_ctx): Likewise.
2263 (libc_feresetround_noexl_ctx): Likewise.
2264 (libc_feholdsetround_53bit_ctx): Likewise.
2265 (libc_feresetround_53bit_ctx): Likewise.
2266 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2267 (libc_feholdexcept_setround_sse_ctx): New function.
2268 (libc_fesetenv_sse_ctx): Likewise.
2269 (libc_feupdateenv_sse_ctx): Likewise.
2270 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2271 (libc_feholdexcept_setround_387_ctx): Likewise.
2272 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2273 (libc_feholdsetround_387_prec_ctx): Likewise.
2274 (libc_feholdsetround_387_ctx): Likewise.
2275 (libc_feholdsetround_387_53bit_ctx): Likewise.
2276 (libc_feholdsetround_sse_ctx): Likewise.
2277 (libc_feresetround_sse_ctx): Likewise.
2278 (libc_feresetround_387_ctx): Likewise.
2279 (libc_feupdateenv_387_ctx): Likewise.
2280 (libc_feholdexcept_setroundf_ctx): Define macro.
2281 (libc_fesetenvf_ctx): Likewise.
2282 (libc_feupdateenvf_ctx): Likewise.
2283 (libc_feholdsetroundf_ctx): Likewise.
2284 (libc_feresetroundf_ctx): Likewise.
2285 (libc_feholdexcept_setround_ctx): Likewise.
2286 (libc_fesetenv_ctx): Likewise.
2287 (libc_feupdateenv_ctx): Likewise.
2288 (libc_feholdsetround_ctx): Likewise.
2289 (libc_feresetround_ctx): Likewise.
2290 (libc_feholdexcept_setroundl_ctx): Likewise.
2291 (libc_feupdateenvl_ctx): Likewise.
2292 (libc_feholdsetroundl_ctx): Likewise.
2293 (libc_feresetroundl_ctx): Likewise.
2294 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2295 (libc_feresetround_53bit_ctx): Likewise.
2296
59b30555
SP
22972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2298
2299 * locale/iso-639.def: Convert to UTF-8.
2300
f1d73d30
JM
23012013-06-11 Joseph Myers <joseph@codesourcery.com>
2302
2303 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2304 (EXCEPTION_TESTS_double): Likewise.
2305 (EXCEPTION_TESTS_long_double): Likewise.
2306 (EXCEPTION_TESTS): Likewise.
2307 * math/libm-test.inc (test_exceptions): Only test exceptions if
2308 EXCEPTION_TESTS (FLOAT).
2309
94aca5e7
SP
23102013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2311
2312 * benchtests/Makefile (string-bench): Add strcpy_chk and
2313 stpcpy_chk.
2314 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2315 * benchtests/bench-stpcpy_chk.c: New file.
2316 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2317 * benchtests/bench-strcpy_chk.c: New file.
2318 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2319 code.
2320 (do_test): Likewise.
2321
fac0c5f2
RA
23222013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2323
2324 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2325 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2326 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2327 with tabs where appropriate.
2328 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2329 dl-procinfo.h.
2330 [PPC_PLATFORM_PPC440]: Likewise.
2331 [PPC_PLATFORM_PPC464]: Likewise.
2332 [PPC_PLATFORM_PPC476]: Likewise.
2333 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2334 ppc464, and ppc476 platform strings merging from ports/
2335 dl-procinfo.h.
2336
f22bc486
AS
23372013-06-11 Andreas Schwab <schwab@suse.de>
2338
2339 [BZ #14991]
2340 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2341 (from_ucs4_idx): Regenerate.
2342 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2343 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2344 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2345 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2346 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2347 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2348 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2349 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2350 from FROM_LOOP and TO_LOOP specific macros.
2351 (BODY): Handle combining characters.
2352 * iconvdata/BIG5HKSCS.irreversible: Update.
2353 * iconvdata/BIG5HKSCS.precomposed: New file.
2354 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2355 characters.
2356 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2357
c1f75dc3
SP
23582013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2359
4eacded2
SP
2360 * include/sys/time.h: Fix indentation and add copyright header.
2361
fec799f8
SP
2362 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2363 (do_test): Likewise.
2364 * string/test-memchr.c (do_one_test): Likewise.
2365 (do_test): Likewise.
2366 * string/test-memcmp.c (do_one_test): Likewise.
2367 (do_test): Likewise.
2368 * string/test-memcpy.c (do_one_test): Likewise.
2369 (do_test): Likewise.
2370 * string/test-memmem.c (do_one_test): Likewise.
2371 (do_test): Likewise.
2372 (do_random_tests): Likewise.
2373 * string/test-memmove.c (do_one_test): Likewise.
2374 (do_test): Likewise.
2375 * string/test-memset.c (do_one_test): Likewise.
2376 (do_test): Likewise.
2377 * string/test-rawmemchr.c (do_one_test): Likewise.
2378 (do_test): Likewise.
2379 * string/test-strcasecmp.c (do_one_test): Likewise.
2380 (do_test): Likewise.
2381 * string/test-strcasestr.c (do_one_test): Likewise.
2382 (do_test): Likewise.
2383 * string/test-strcat.c (do_one_test): Likewise.
2384 (do_test): Likewise.
2385 * string/test-strchr.c (do_one_test): Likewise.
2386 (do_test): Likewise.
2387 * string/test-strcmp.c (do_one_test): Likewise.
2388 (do_test): Likewise.
2389 * string/test-strcpy.c (do_one_test): Likewise.
2390 (do_test): Likewise.
2391 * string/test-string.h: Likewise.
2392 (test_init): Likewise.
2393 * string/test-strlen.c (do_one_test): Likewise.
2394 (do_test): Likewise.
2395 * string/test-strncasecmp.c (do_one_test): Likewise.
2396 (do_test): Likewise.
2397 * string/test-strncat.c (do_one_test): Likewise.
2398 (do_test): Likewise.
2399 * string/test-strncmp.c (do_one_test): Likewise.
2400 (do_test_limit): Likewise.
2401 (do_test): Likewise.
2402 * string/test-strncpy.c (do_one_test): Likewise.
2403 (do_test): Likewise.
2404 * string/test-strnlen.c (do_one_test): Likewise.
2405 (do_test): Likewise.
2406 * string/test-strpbrk.c (do_one_test): Likewise.
2407 (do_test): Likewise.
2408 * string/test-strrchr.c (do_one_test): Likewise.
2409 (do_test): Likewise.
2410 * string/test-strspn.c (do_one_test): Likewise.
2411 (do_test): Likewise.
2412 * string/test-strstr.c (do_one_test): Likewise.
2413 (do_test): Likewise.
2414
97020474
SP
2415 * benchtests/Makefile (string-bench): Add string benchmarks.
2416 * benchtests/bench-bcopy-ifunc.c: New file.
2417 * benchtests/bench-bcopy.c: New file.
2418 * benchtests/bench-bzero-ifunc.c: New file.
2419 * benchtests/bench-bzero.c: New file.
2420 * benchtests/bench-memccpy-ifunc.c: New file.
2421 * benchtests/bench-memccpy.c: New file.
2422 * benchtests/bench-memchr-ifunc.c: New file.
2423 * benchtests/bench-memchr.c: New file.
2424 * benchtests/bench-memcmp-ifunc.c: New file.
2425 * benchtests/bench-memcmp.c: New file.
2426 * benchtests/bench-memmem-ifunc.c: New file.
2427 * benchtests/bench-memmem.c: New file.
2428 * benchtests/bench-memmove-ifunc.c: New file.
2429 * benchtests/bench-memmove.c: New file.
2430 * benchtests/bench-mempcpy-ifunc.c: New file.
2431 * benchtests/bench-mempcpy.c: New file.
2432 * benchtests/bench-memset-ifunc.c: New file.
2433 * benchtests/bench-memset.c: New file.
2434 * benchtests/bench-rawmemchr-ifunc.c: New file.
2435 * benchtests/bench-rawmemchr.c: New file.
2436 * benchtests/bench-stpcpy-ifunc.c: New file.
2437 * benchtests/bench-stpcpy.c: New file.
2438 * benchtests/bench-stpncpy-ifunc.c: New file.
2439 * benchtests/bench-stpncpy.c: New file.
2440 * benchtests/bench-strcasecmp-ifunc.c: New file.
2441 * benchtests/bench-strcasecmp.c: New file.
2442 * benchtests/bench-strcasestr-ifunc.c: New file.
2443 * benchtests/bench-strcasestr.c: New file.
2444 * benchtests/bench-strcat-ifunc.c: New file.
2445 * benchtests/bench-strcat.c: New file.
2446 * benchtests/bench-strchr-ifunc.c: New file.
2447 * benchtests/bench-strchr.c: New file.
2448 * benchtests/bench-strchrnul-ifunc.c: New file.
2449 * benchtests/bench-strchrnul.c: New file.
2450 * benchtests/bench-strcmp-ifunc.c: New file.
2451 * benchtests/bench-strcmp.c: New file.
2452 * benchtests/bench-strcpy-ifunc.c: New file.
2453 * benchtests/bench-strcpy.c: New file.
2454 * benchtests/bench-strcspn-ifunc.c: New file.
2455 * benchtests/bench-strcspn.c: New file.
2456 * benchtests/bench-strlen-ifunc.c: New file.
2457 * benchtests/bench-strlen.c: New file.
2458 * benchtests/bench-strncasecmp-ifunc.c: New file.
2459 * benchtests/bench-strncasecmp.c: New file.
2460 * benchtests/bench-strncat-ifunc.c: New file.
2461 * benchtests/bench-strncat.c: New file.
2462 * benchtests/bench-strncmp-ifunc.c: New file.
2463 * benchtests/bench-strncmp.c: New file.
2464 * benchtests/bench-strncpy-ifunc.c: New file.
2465 * benchtests/bench-strncpy.c: New file.
2466 * benchtests/bench-strnlen-ifunc.c: New file.
2467 * benchtests/bench-strnlen.c: New file.
2468 * benchtests/bench-strpbrk-ifunc.c: New file.
2469 * benchtests/bench-strpbrk.c: New file.
2470 * benchtests/bench-strrchr-ifunc.c: New file.
2471 * benchtests/bench-strrchr.c: New file.
2472 * benchtests/bench-strspn-ifunc.c: New file.
2473 * benchtests/bench-strspn.c: New file.
2474 * benchtests/bench-strstr-ifunc.c: New file.
2475 * benchtests/bench-strstr.c: New file.
2476
c1f75dc3
SP
2477 * benchtests/Makefile: Disable parallel execution of targets.
2478 (string-bench): Add memcpy.
2479 (benchset): New variable to store a list of benchmark sets.
2480 (bench-func): Renamed from bench.
2481 (bench-set): New target.
2482 (bench): Depend on bench-func and bench-set.
2483 * benchtests/README: Add section on benchmark sets.
2484 * benchtests/bench-memcpy-ifunc.c: New file.
2485 * benchtests/bench-memcpy.c: New file.
2486 * benchtests/bench-string.h: New file.
2487
50fd745b
AS
24882013-06-11 Andreas Schwab <schwab@suse.de>
2489
2490 [BZ #15577]
2491 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2492 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2493 values in the triple.
2494 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2495 terminator in the group key.
2496
3ee7e9fe
AJ
24972013-06-11 Andreas Jaeger <aj@suse.de>
2498
2499 * po/zh_TW.po: Update Chinese (traditional) translation from
2500 translation project.
2501
89fb6835
SP
25022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2503
2504 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2505 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2506 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2507 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2508 (clock_getcpuclockid): Likewise.
2509 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2510 Add weak_alias and libc_hidden_def.
2511 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2512 * rt/clock_gettime.c (clock_gettime): Rename to
2513 __clock_gettime. Add weak_alias and libc_hidden_def.
2514 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2515 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2516 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2517 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2518 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2519 Likewise.
2520 * rt/clock_settime.c (clock_settime): Rename to
2521 __clock_settime. Add weak_alias and libc_hidden_def.
2522 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2523
0efa6f8b
JM
25242013-06-10 Joseph Myers <joseph@codesourcery.com>
2525
b8c61b4b
JM
2526 * mach/err_boot.sub: Remove trailing whitespace.
2527 * mach/err_ipc.sub: Likewise.
2528 * mach/err_mach.sub: Likewise.
2529
0efa6f8b
JM
2530 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2531 (ROUNDING_TESTS_double): Likewise.
2532 (ROUNDING_TESTS_long_double): Likewise.
2533 (ROUNDING_TESTS): Likewise.
2534 * math/libm-test.inc: Include <math-tests.h>.
2535 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2536 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2537 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2538 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2539
50b818bf
SP
25402013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2541
2542 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2543 of assigning.
2544
60d2f8f3
JM
25452013-06-08 Joseph Myers <joseph@codesourcery.com>
2546
4902d2c3
JM
2547 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2548 otherwise empty TRANS lines.
2549 * sysdeps/gnu/errlist.c: Regenerated.
2550
60d2f8f3
JM
2551 * catgets/gencat.c (error_print): Use (void) in function
2552 definition.
2553 * crypt/crypt_util.c (__init_des): Likewise.
2554 * crypt/speeds.c (Stop): Likewise.
2555 (main): Likewise.
2556 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2557 * inet/ruserpass.c (token): Likewise.
2558 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2559 * intl/localealias.c (extend_alias_table): Likewise.
2560 * intl/plural-exp.c (init_germanic_plural): Likewise.
2561 * libio/fcloseall.c (__fcloseall): Likewise.
2562 * libio/genops.c (_IO_flush_all): Likewise.
2563 (_IO_flush_all_linebuffered): Likewise.
2564 (_IO_cleanup): Likewise.
2565 (_IO_iter_begin): Likewise.
2566 (_IO_iter_end): Likewise.
2567 (_IO_list_lock): Likewise.
2568 (_IO_list_unlock): Likewise.
2569 (_IO_list_resetlock): Likewise.
2570 * libio/getchar.c (getchar): Likewise.
2571 * libio/getchar_u.c (getchar_unlocked): Likewise.
2572 * libio/getwchar.c (getwchar): Likewise.
2573 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2574 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2575 * login/getpt.c (__getpt): Likewise.
2576 * login/tst-utmp.c (main): Likewise.
2577 * malloc/hooks.c (__malloc_check_init): Likewise.
2578 * malloc/malloc.c (__malloc_stats): Likewise.
2579 * malloc/mtrace.c (tr_break): Likewise.
2580 (mtrace): Likewise.
2581 (muntrace): Likewise.
2582 * misc/fstab.c (endfsent): Likewise.
2583 * misc/getclktck.c (__getclktck): Likewise.
2584 * misc/getdtsz.c (__getdtablesize): Likewise.
2585 * misc/gethostid.c (gethostid): Likewise.
2586 * misc/getpagesize.c (__getpagesize): Likewise.
2587 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2588 (__get_nprocs): Likewise.
2589 (__get_phys_pages): Likewise.
2590 (__get_avphys_pages): Likewise.
2591 * misc/getttyent.c (getttyent): Likewise.
2592 (setttyent): Likewise.
2593 (endttyent): Likewise.
2594 * misc/getusershell.c (getusershell): Likewise.
2595 (endusershell): Likewise.
2596 (setusershell): Likewise.
2597 (initshells): Likewise.
2598 * misc/hsearch.c (__hdestroy): Likewise.
2599 * misc/sync.c (sync): Likewise.
2600 * misc/syslog.c (closelog_internal): Likewise.
2601 (closelog): Likewise.
2602 * misc/ttyslot.c (ttyslot): Likewise.
2603 * misc/vhangup.c (vhangup): Likewise.
2604 * posix/fork.c (__fork): Likewise.
2605 * posix/getegid.c (__getegid): Likewise.
2606 * posix/geteuid.c (__geteuid): Likewise.
2607 * posix/getgid.c (__getgid): Likewise.
2608 * posix/getpid.c (__getpid): Likewise.
2609 * posix/getppid.c (__getppid): Likewise.
2610 * posix/getuid.c (__getuid): Likewise.
2611 * posix/pause.c (pause): Likewise.
2612 * posix/setpgrp.c (setpgrp): Likewise.
2613 * posix/setsid.c (__setsid): Likewise.
2614 * posix/test-vfork.c (noop): Likewise.
2615 * resolv/gethnamaddr.c (_endhtent): Likewise.
2616 (_gethtent): Likewise.
2617 (ht_endhostent): Likewise.
2618 (gethostent): Likewise.
2619 (dns_service): Likewise.
2620 * stdlib/drand48.c (drand48): Likewise.
2621 * stdlib/lrand48.c (lrand48): Likewise.
2622 * stdlib/mrand48.c (mrand48): Likewise.
2623 * stdlib/rand.c (rand): Likewise.
2624 * stdlib/random.c (__random): Likewise.
2625 * stdlib/setenv.c (clearenv): Likewise.
2626 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2627 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2628 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2629 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2630 (__get_nprocs): Likewise.
2631 (__get_phys_pages): Likewise.
2632 (__get_avphys_pages): Likewise.
2633 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2634 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2635 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2636 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2637 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2638 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2639 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2640 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2641 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2642 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2643 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2644 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2645 * sysdeps/posix/clock.c (clock): Likewise.
2646 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2647 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2648 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2649 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2650 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2651 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2652 (__get_nprocs_conf): Likewise.
2653 (__get_phys_pages): Likewise.
2654 (__get_avphys_pages): Likewise.
2655 * time/clock.c (clock): Likewise.
2656 * time/tzset.c (__tzname_max): Likewise.
2657
2e09a79a
JM
26582013-06-07 Joseph Myers <joseph@codesourcery.com>
2659
2660 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2661 (__bswap_32): Do not use "register".
2662 * crypt/crypt.c (_ufc_doit_r): Likewise.
2663 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2664 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2665 * gmon/gmon.c (__monstartup): Likewise.
2666 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2667 * hurd/hurdmalloc.c (more_memory): Likewise.
2668 (malloc): Likewise.
2669 (free): Likewise.
2670 (realloc): Likewise.
2671 (malloc_fork_prepare): Likewise.
2672 (malloc_fork_parent): Likewise.
2673 (malloc_fork_child): Likewise.
2674 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2675 (_svcauth_des): Likewise.
2676 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2677 * inet/inet_net.c (inet_network): Likewise.
2678 * inet/inet_netof.c (inet_netof): Likewise.
2679 * inet/rcmd.c (__validuser2_sa): Likewise.
2680 * io/fts.c (fts_open): Likewise.
2681 (fts_load): Likewise.
2682 (fts_close): Likewise.
2683 (fts_read): Likewise.
2684 (fts_children): Likewise.
2685 (fts_build): Likewise.
2686 (fts_stat): Likewise.
2687 (fts_sort): Likewise.
2688 (fts_alloc): Likewise.
2689 (fts_lfree): Likewise.
2690 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2691 (_IO_file_xsgetn): Likewise.
2692 (_IO_file_xsgetn_mmap): Likewise.
2693 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2694 (_IO_cookie_write): Likewise.
2695 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2696 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2697 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2698 * malloc/obstack.c (_obstack_begin): Likewise.
2699 (_obstack_begin_1): Likewise.
2700 (_obstack_newchunk): Likewise.
2701 (_obstack_allocated_p): Likewise.
2702 (obstack_free): Likewise.
2703 (_obstack_memory_used): Likewise.
2704 * misc/getttyent.c (getttynam): Likewise.
2705 (getttyent): Likewise.
2706 (skip): Likewise.
2707 (value): Likewise.
2708 * misc/getusershell.c (initshells): Likewise.
2709 * misc/syslog.c (__vsyslog_chk): Likewise.
2710 * misc/ttyslot.c (ttyslot): Likewise.
2711 * nis/nis_hash.c (__nis_hash): Likewise.
2712 * posix/fnmatch_loop.c (FCT): Likewise.
2713 * posix/getconf.c (print_all): Likewise.
2714 (main): Likewise.
2715 * posix/getopt.c (exchange): Likewise.
2716 * posix/glob.c (globfree): Likewise.
2717 (prefix_array): Likewise.
2718 (__glob_pattern_type): Likewise.
2719 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2720 (NS_GET32): Likewise.
2721 (NS_PUT16): Likewise.
2722 (NS_PUT32): Likewise.
2723 * resolv/gethnamaddr.c (getanswer): Likewise.
2724 (gethostbyname2): Likewise.
2725 (gethostbyaddr): Likewise.
2726 (_gethtent): Likewise.
2727 (_gethtbyname2): Likewise.
2728 (_gethtbyaddr): Likewise.
2729 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2730 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2731 * resolv/res_init.c (__res_vinit): Likewise.
2732 (net_mask): Likewise.
2733 * resolv/res_mkquery.c (outchar): Likewise.
2734 (PRINT): Likewise.
2735 * stdio-common/printf_fp.c (outchar): Likewise.
2736 (PRINT): Likewise.
2737 * stdio-common/printf_fphex.c (outchar): Likewise.
2738 (PRINT): Likewise.
2739 * stdio-common/printf_size.c (outchar): Likewise.
2740 (PRINT): Likewise.
2741 * stdio-common/test_rdwr.c (main): Likewise.
2742 * stdio-common/tfformat.c (matches): Likewise.
2743 * stdio-common/vfprintf.c (outchar): Likewise.
2744 (printf_unknown): Likewise.
2745 (buffered_vfprintf): Likewise.
2746 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2747 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2748 (ReadFile): Likewise.
2749 * stdlib/qsort.c (SWAP): Likewise.
2750 (_quicksort): Likewise.
2751 * stdlib/setenv.c (__add_to_environ): Likewise.
2752 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2753 * stdlib/strtol_l.c (__strtol_l): Likewise.
2754 * stdlib/tst-strtod.c (main): Likewise.
2755 * stdlib/tst-strtol.c (main): Likewise.
2756 * stdlib/tst-strtoll.c (main): Likewise.
2757 * string/bits/string2.h (__strcmp_cc): Likewise.
2758 (__strcmp_cg): Likewise.
2759 (__strcspn_c1): Likewise.
2760 (__strcspn_c2): Likewise.
2761 (__strcspn_c3): Likewise.
2762 (__strspn_c1): Likewise.
2763 (__strspn_c2): Likewise.
2764 (__strspn_c3): Likewise.
2765 (__strsep_1c): Likewise.
2766 (__strsep_2c): Likewise.
2767 (__strsep_3c): Likewise.
2768 * string/memccpy.c (__memccpy): Likewise.
2769 * string/stpcpy.c (__stpcpy): Likewise.
2770 * string/strcmp.c (strcmp): Likewise.
2771 * string/strrchr.c (strrchr): Likewise.
2772 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2773 Likewise.
2774 * sysdeps/mach/hurd/getcwd.c
2775 (_hurd_canonicalize_directory_name_internal): Likewise.
2776 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2777 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2778 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2779 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2780 Likewise, in both definitions.
2781 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2782 definitions.
2783 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2784 64] (__bswap_64): Likewise.
2785 * time/test_time.c (main): Likewise.
2786 * time/tzfile.c (__tzfile_read): Likewise.
2787 (__tzfile_compute): Likewise.
2788 * time/tzset.c (__tzset_parse_tz): Likewise.
2789 (tzset_internal): Likewise.
2790 (compute_change): Likewise.
2791 * wcsmbs/wcscat.c (__wcscat): Likewise.
2792 * wcsmbs/wcschr.c (wcschr): Likewise.
2793 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2794 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2795 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2796 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2797 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2798 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2799 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2800 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2801 * wcsmbs/wmemset.c (wmemset): Likewise.
2802
9e54314b
JM
28032013-06-06 Joseph Myers <joseph@codesourcery.com>
2804
2805 * scripts/config.guess: Update to version 2013-05-16.
2806 * scripts/config.sub: Update to version 2013-04-24.
2807 * scripts/install-sh: Update to version 2011-11-20.07.
2808 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2809 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2810
350635a5
OB
28112013-06-06 Ondřej Bílka <neleai@seznam.cz>
2812
2813 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2814 * elf/sln.c: Likewise.
2815 * hurd/hurd/ioctl.h: Likewise.
2816 * hurd/hurdmalloc.c: Likewise.
2817 * hurd/xattr.c: Likewise.
2818 * include/shlib-compat.h: Likewise.
2819 * inet/ruserpass.c: Likewise.
2820 * libio/iofgets_u.c: Likewise.
2821 * libio/iofgetws_u.c: Likewise.
2822 * locale/programs/ld-identification.c: Likewise.
2823 * locale/programs/ld-time.c: Likewise.
2824 * mach/msg-destroy.c: Likewise.
2825 * nss/nss_files/files-netgrp.c: Likewise.
2826 * resolv/res_data.c: Likewise.
2827 * soft-fp/op-1.h: Likewise.
2828 * soft-fp/op-2.h: Likewise.
2829 * soft-fp/op-4.h: Likewise.
2830 * soft-fp/op-common.h: Likewise.
2831 * stdio-common/printf_fphex.c: Likewise.
2832 * stdlib/strtod_l.c: Likewise.
2833 * sunrpc/rpc/clnt.h: Likewise.
2834 * sysdeps/generic/framestate.c: Likewise.
2835 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2836 * sysdeps/i386/bsd-setjmp.S: Likewise.
2837 * sysdeps/i386/__longjmp.S: Likewise.
2838 * sysdeps/i386/setjmp.S: Likewise.
2839 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2840 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2841 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2842 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2843 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2844 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2845 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2846 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2847 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2848 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2849 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2850 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2851 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2852 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2853 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2856 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2857 * sysdeps/ieee754/support.c: Likewise.
2858 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2859 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2860 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2861 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2862 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2863 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2864 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2865 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2866 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2867 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2868 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2869 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2870 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2871 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2872 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2873 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2874 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2876
44a988af
OB
28772013-06-05 Ondřej Bílka <neleai@seznam.cz>
2878
25506f09 2879 * posix/transbug.c: Remove executable mode.
44a988af 2880
9c84384c
JM
28812013-06-05 Joseph Myers <joseph@codesourcery.com>
2882
2883 * crypt/speeds.c: Remove trailing whitespace.
2884 * dlfcn/default.c: Likewise.
2885 * elf/ifuncdep2.c: Likewise.
2886 * elf/ifuncmain1.c: Likewise.
2887 * elf/ifuncmain1vis.c: Likewise.
2888 * elf/testobj.h: Likewise.
2889 * elf/tst-stackguard1.c: Likewise.
2890 * gmon/sys/gmon.h: Likewise.
2891 * hurd/hurdmsg.c: Likewise.
2892 * hurd/new-fd.c: Likewise.
2893 * hurd/ports-get.c: Likewise.
2894 * iconvdata/ibm1008_420.c: Likewise.
2895 * inet/tst-getni1.c: Likewise.
2896 * inet/tst-getni2.c: Likewise.
2897 * libio/ioungetc.c: Likewise.
2898 * libio/wfiledoalloc.c: Likewise.
2899 * manual/libm-err-tab.pl: Likewise.
2900 * math/w_dremf.c: Likewise.
2901 * misc/ftruncate.c: Likewise.
2902 * posix/bug-glob2.c: Likewise.
2903 * posix/tst-pcre.c: Likewise.
2904 * posix/wait4.c: Likewise.
2905 * resolv/README: Likewise.
2906 * resolv/res_debug.h: Likewise.
2907 * resolv/tst-inet_ntop.c: Likewise.
2908 * setjmp/bug269-setjmp.c: Likewise.
2909 * soft-fp/extended.h: Likewise.
2910 * soft-fp/op-1.h: Likewise.
2911 * soft-fp/op-2.h: Likewise.
2912 * soft-fp/op-4.h: Likewise.
2913 * soft-fp/op-8.h: Likewise.
2914 * soft-fp/testit.c: Likewise.
2915 * stdio-common/bug16.c: Likewise.
2916 * stdlib/random.c: Likewise.
2917 * sunrpc/rpcsvc/rquota.x: Likewise.
2918 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2919 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2920 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2921 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2922 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2923 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2924 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2925 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2926 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2927 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2928 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2931 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2932 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2934 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2935 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2936 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2937 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2938 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2939 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2940 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2941 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2942 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2943 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2944 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2945 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2946 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2947 * sysdeps/ieee754/s_lib_version.c: Likewise.
2948 * sysdeps/mach/hurd/check_fds.c: Likewise.
2949 * sysdeps/mach/hurd/getsockname.c: Likewise.
2950 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2951 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2952 * sysdeps/powerpc/bits/link.h: Likewise.
2953 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2954 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2955 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2956 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2957 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2958 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2959 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2960 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2961 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2962 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2963 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2964 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2965 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2966 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2967 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2968 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2969 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2970 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2971 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2972 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2973 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2974 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2975 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2976 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2977 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2978 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2979 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2980 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2981 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2982 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2983 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2984 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2985 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2986 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2987 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2988 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2989 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2990 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2991 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2992 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2993 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2994 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2995 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2996 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2997 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2998 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2999 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3000 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3001 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3002 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3003 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3004 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3005 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3006 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3007 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
3008 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3009 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3010 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3011 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
3012 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3013 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
3014 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
3015 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3016 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3017 * sysdeps/powerpc/sysdep.h: Likewise.
3018 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
3019 * sysdeps/s390/s390-64/sub_n.S: Likewise.
3020 * sysdeps/sh/dl-trampoline.S: Likewise.
3021 * sysdeps/sh/memset.S: Likewise.
3022 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
3023 * sysdeps/sh/strlen.S: Likewise.
3024 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
3025 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
3026 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
3027 * sysdeps/sparc/sparc32/rem.S: Likewise.
3028 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
3029 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
3030 * sysdeps/sparc/sparc32/strchr.S: Likewise.
3031 * sysdeps/sparc/sparc32/udiv.S: Likewise.
3032 * sysdeps/sparc/sparc32/urem.S: Likewise.
3033 * sysdeps/sparc/sparc64/add_n.S: Likewise.
3034 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3035 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
3036 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
3037 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
3038 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
3039 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3040 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
3041 * sysdeps/unix/bsd/times.c: Likewise.
3042 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
3043 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
3044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
3045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
3046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3047 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
3048 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3049 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3050 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
3051 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
3052 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
3053 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
3054 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3055 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3056 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
3057 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
3058 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3059 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3060 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3061 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3062 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3063 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3064 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3065 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3066 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3067 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3068 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3069 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3070 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3071 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3072 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3073 * sysdeps/x86_64/strcspn.S: Likewise.
3074
869378a5
RA
30752013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3076
3077 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3078 generated file. Regenerate properly from gen-translit.pl.
3079 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3080 locale/C-translit.h.
3081
840e2943
AS
30822013-06-05 Andreas Schwab <schwab@suse.de>
3083
3084 [BZ #15100]
3085 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3086 week as 6 instead of -1.
3087 * time/tst-strptime.c (day_tests): Add test case.
3088
4c60cb0c
SP
30892013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3090
3091 * sysdeps/generic/math_private.h
3092 (libc_feholdexcept_setround_53bit): Replace with
3093 libc_feholdsetround_53bit.
3094 (libc_feupdateenv_53bit): Replace with
3095 libc_feresetround_53bit.
3096 (SET_RESTORE_ROUND_53BIT): Adjust.
3097
d180203e
SP
30982013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3099
96df079a
SP
3100 * string/test-strchrnul.c: Add copyright header.
3101
d180203e
SP
3102 * posix/tst-getaddrinfo4.c: Increase test timeout.
3103
8b0ccb2d
CD
31042013-06-03 Carlos O'Donell <carlos@redhat.com>
3105
3106 [BZ #15536]
3107 * math/libm-test.inc (MAX_EXP): Remove
3108 (MIN_EXP): Define.
3109 (ulp): Use MIN_EXP - MANT_DIG.
3110 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3111
3b3c4d40
CD
31122013-05-31 Carlos O'Donell <carlos@redhat.com>
3113
3114 * po/be.po: Revert last change.
3115 * po/zh_CN.po: Likewise.
3116 * po/header.pot: Likewise.
3117
fab7ce3f
JM
31182013-05-31 Joseph Myers <joseph@codesourcery.com>
3119
3120 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3121 link-libc-deps to empty as target-specific variable.
3122 * Makerules (link-libc-args): New variable.
3123 (libc-for-link): Likewise.
3124 (link-libc-deps): Likewise.
3125 (lib%.so): Depend on $(link-libc-deps). Link with
3126 $(link-libc-args).
3127 (build-module): Link with $(link-libc-args).
3128 (build-module-asneeded): Likewise.
3129 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3130 list of objects.
3131 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3132 target-specific variable.
3133 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3134 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3135 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3136 libc.
3137 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3138 libc and ld.so.
3139 ($(objpfx)libpcprofile.so): Likewise.
3140 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3141 libc_nonshared.a.
3142 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3143 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3144 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3145 $(link-libc-deps).
3146 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3147 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3148 * login/Makefile ($(objpfx)libutil.so): Likewise.
3149 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3150 * math/Makefile ($(objpfx)libm.so): Likewise.
3151 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3152 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3153 variable instead of depending directly on libc.
3154 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3155 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3156 $(link-libc-deps).
3157 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3158 libc.
3159 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3160 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3161 ($(objpfx)libanl.so): Likewise.
3162 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3163 ld.so.
3164 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3165 $(link-libc-deps).
3166 * sysdeps/i386/fpu/Makefile: Remove file.
3167 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3168 ($(objpfx)libm.so): Remove dependency on ld.so.
3169
eca5920c
PF
31702013-05-30 Patsy Franklin <pfrankli@redhat.com>
3171
3172 [BZ # 15553]
3173 * nis/yp_xdr.c (XDRMAXNAME): Define.
3174 (XDRMAXRECORD): Define.
3175 (xdr_domainname): Use XDRMAXNAME.
3176 (xdr_mapname): Likewise.
3177 (xdr_peername): Likewise.
3178 (xdr_keydat): Use XDRMAXRECORD.
3179 (xdr_valdat): Likewise.
3180
31812013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3182
3183 [BZ #14256]
3184 * manual/errno.texi (ESTALE): Update to account for more than
3185 just NFS file systems.
3186 * sysdeps/gnu/errlist.c: Regenerated.
3187
b9375348
SP
31882013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3189
3190 [BZ #15465]
3191 * elf/Makefile (tests): Add tst-null-argv.
3192 (modules-names): Add tst-null-argv-lib.
3193 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3194 (tst-null-argv-ENV): Set environment for tst-null-argv.
3195 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3196 (RTLD_PROGNAME): New macro.
3197 * elf/tst-null-argv.c: New test case.
3198 * elf/tst-null-argv-lib.c: Library for test case.
3199 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3200 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3201 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3202 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3203 * elf/dl-init.c (call_init): Likewise.
3204 (_dl_init): Likewise.
3205 * elf/dl-load.c (print_search_path): Likewise.
3206 (_dl_map_object): Likewise.
3207 * elf/dl-lookup.c (do_lookup_x): Likewise.
3208 (add_dependency): Likewise.
3209 (_dl_lookup_symbol_x): Likewise.
3210 (_dl_debug_bindings): Likewise.
3211 * elf/dl-open.c (_dl_show_scope): Likewise.
3212 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3213 * elf/dl-version.c (match_symbol): Likewise.
3214 (_dl_check_map_versions): Likewise.
3215 * elf/rtld.c (dl_main): Likewise.
3216 (print_unresolved): Use RTLD_PROGNAME.
3217 (print_missing_version): Likewise.
3218 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3219 (elf_machine_rela): Likewise.
3220 * sysdeps/powerpc/powerpc32/dl-machine.c
3221 (__process_machine_rela): Likewise.
3222 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3223 Likewise.
3224 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3225 Likewise.
3226 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3227 Likewise.
3228 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3229 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3230 Likewise.
3231 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3232 Likewise.
3233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3234
8a9f20c8
CD
32352013-05-28 Carlos O'Donell <carlos@redhat.com>
3236
3237 * po/be.po: Add descriptive title.
3238 * po/zh_CN.po: Likewise.
3239 * po/header.pot: Likewise.
3240
0e60d68e
MF
32412013-05-28 Mike Frysinger <vapier@gentoo.org>
3242
3243 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3244 error message.
3245 (enlarge_archive): Likewise.
3246
56b672e9
BN
32472013-05-28 Ben North <ben@redfrontdoor.org>
3248
3249 * manual/arith.texi (frexp): It is the magnitude of the return
3250 value which lies in [0.5, 1), not the return value itself.
3251
5e056687
AZ
32522013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3253
3254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3255
2b66ef5d
TS
32562013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3257
528c2405
TS
3258 * stdio-common/bug26.c (main): Correct fscanf template.
3259
07b4c13d
TS
3260 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3261 declare _dl_skip_args.
3262
ec9dd97c
TS
3263 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3264 Don't declare.
3265
2b66ef5d
TS
3266 * manual/platform.texi: Add missing @end deftypefun.
3267
4f8dfe27
JM
32682013-05-24 Joseph Myers <joseph@codesourcery.com>
3269
0323d086
JM
3270 [BZ #15529]
3271 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3272 bit of mantissa of 2^16382.
3273 * math/libm-test.inc (hypot_test_data): Add more tests.
3274
dd4259b9
JM
3275 * math/libm-test.inc: Add drem and pow10 to list of tested
3276 functions.
3277 (pow10_test): New function.
3278 (drem_test): Likewise.
3279 (drem_test_tonearest): Likewise.
3280 (drem_test_towardzero): Likewise.
3281 (drem_test_downward): Likewise.
3282 (drem_test_upward): Likewise.
3283 (main): Call the new functions.
3284
4f8dfe27
JM
3285 * math/libm-test.inc (finite_test_data): Remove.
3286 (finite_test): Run tests from isfinite_test_data.
3287 (gamma_test_data): Remove.
3288 (gamma_test): Run tests from lgamma_test_data.
3289 * sysdeps/i386/fpu/libm-test-ulps: Update.
3290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3291
d116b7c4
AZ
32922013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3293
3294 * manual/platform.texi: Add PowerPC PPR function set documentation.
3295 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3296 implementation.
3297
e96e3767
CD
32982013-05-24 Carlos O'Donell <carlos@redhat.com>
3299
3300 * math/libm-test.inc (MAX_EXP): Define.
3301 (ULPDIFF): Define.
3302 (ulp): New function.
3303 (check_float_internal): Use ULPDIFF.
3304 (cpow_test): Disable failing test.
3305 (check_ulp): Test ulp() implemetnation.
3306 (main): Call check_ulp before starting tests.
3307
b679a606
JM
33082013-05-24 Joseph Myers <joseph@codesourcery.com>
3309
e8bdba36
JM
3310 * math/gen-libm-test.pl (generate_testfile): Do not handle
3311 START_DATA and END_DATA.
3312 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3313 END_DATA.
3314 (acos_tonearest_test_data): Likewise.
3315 (acos_towardzero_test_data): Likewise.
3316 (acos_downward_test_data): Likewise.
3317 (acos_upward_test_data): Likewise.
3318 (acosh_test_data): Likewise.
3319 (asin_test_data): Likewise.
3320 (asin_tonearest_test_data): Likewise.
3321 (asin_towardzero_test_data): Likewise.
3322 (asin_downward_test_data): Likewise.
3323 (asin_upward_test_data): Likewise.
3324 (asinh_test_data): Likewise.
3325 (atan_test_data): Likewise.
3326 (atanh_test_data): Likewise.
3327 (atan2_test_data): Likewise.
3328 (cabs_test_data): Likewise.
3329 (cacos_test_data): Likewise.
3330 (cacosh_test_data): Likewise.
3331 (carg_test_data): Likewise.
3332 (casin_test_data): Likewise.
3333 (casinh_test_data): Likewise.
3334 (catan_test_data): Likewise.
3335 (catanh_test_data): Likewise.
3336 (cbrt_test_data): Likewise.
3337 (ccos_test_data): Likewise.
3338 (ccosh_test_data): Likewise.
3339 (ceil_test_data): Likewise.
3340 (cexp_test_data): Likewise.
3341 (cimag_test_data): Likewise.
3342 (clog_test_data): Likewise.
3343 (clog10_test_data): Likewise.
3344 (conj_test_data): Likewise.
3345 (copysign_test_data): Likewise.
3346 (cos_test_data): Likewise.
3347 (cos_tonearest_test_data): Likewise.
3348 (cos_towardzero_test_data): Likewise.
3349 (cos_downward_test_data): Likewise.
3350 (cos_upward_test_data): Likewise.
3351 (cosh_test_data): Likewise.
3352 (cosh_tonearest_test_data): Likewise.
3353 (cosh_towardzero_test_data): Likewise.
3354 (cosh_downward_test_data): Likewise.
3355 (cosh_upward_test_data): Likewise.
3356 (cpow_test_data): Likewise.
3357 (cproj_test_data): Likewise.
3358 (creal_test_data): Likewise.
3359 (csin_test_data): Likewise.
3360 (csinh_test_data): Likewise.
3361 (csqrt_test_data): Likewise.
3362 (ctan_test_data): Likewise.
3363 (ctan_tonearest_test_data): Likewise.
3364 (ctan_towardzero_test_data): Likewise.
3365 (ctan_downward_test_data): Likewise.
3366 (ctan_upward_test_data): Likewise.
3367 (ctanh_test_data): Likewise.
3368 (ctanh_tonearest_test_data): Likewise.
3369 (ctanh_towardzero_test_data): Likewise.
3370 (ctanh_downward_test_data): Likewise.
3371 (ctanh_upward_test_data): Likewise.
3372 (erf_test_data): Likewise.
3373 (erfc_test_data): Likewise.
3374 (exp_test_data): Likewise.
3375 (exp_tonearest_test_data): Likewise.
3376 (exp_towardzero_test_data): Likewise.
3377 (exp_downward_test_data): Likewise.
3378 (exp_upward_test_data): Likewise.
3379 (exp10_test_data): Likewise.
3380 (exp2_test_data): Likewise.
3381 (expm1_test_data): Likewise.
3382 (fabs_test_data): Likewise.
3383 (fdim_test_data): Likewise.
3384 (finite_test_data): Likewise.
3385 (floor_test_data): Likewise.
3386 (fma_test_data): Likewise.
3387 (fma_towardzero_test_data): Likewise.
3388 (fma_downward_test_data): Likewise.
3389 (fma_upward_test_data): Likewise.
3390 (fmax_test_data): Likewise.
3391 (fmin_test_data): Likewise.
3392 (fmod_test_data): Likewise.
3393 (fpclassify_test_data): Likewise.
3394 (frexp_test_data): Likewise.
3395 (gamma_test_data): Likewise.
3396 (hypot_test_data): Likewise.
3397 (ilogb_test_data): Likewise.
3398 (isfinite_test_data): Likewise.
3399 (isgreater_test_data): Likewise.
3400 (isgreaterequal_test_data): Likewise.
3401 (isinf_test_data): Likewise.
3402 (isless_test_data): Likewise.
3403 (islessequal_test_data): Likewise.
3404 (islessgreater_test_data): Likewise.
3405 (isnan_test_data): Likewise.
3406 (isnormal_test_data): Likewise.
3407 (issignaling_test_data): Likewise.
3408 (isunordered_test_data): Likewise.
3409 (j0_test_data): Likewise.
3410 (j1_test_data): Likewise.
3411 (jn_test_data): Likewise.
3412 (ldexp_test_data): Likewise.
3413 (lgamma_test_data): Likewise.
3414 (lrint_test_data): Likewise.
3415 (lrint_tonearest_test_data): Likewise.
3416 (lrint_towardzero_test_data): Likewise.
3417 (lrint_downward_test_data): Likewise.
3418 (lrint_upward_test_data): Likewise.
3419 (llrint_test_data): Likewise.
3420 (llrint_tonearest_test_data): Likewise.
3421 (llrint_towardzero_test_data): Likewise.
3422 (llrint_downward_test_data): Likewise.
3423 (llrint_upward_test_data): Likewise.
3424 (log_test_data): Likewise.
3425 (log10_test_data): Likewise.
3426 (log1p_test_data): Likewise.
3427 (log2_test_data): Likewise.
3428 (logb_test_data): Likewise.
3429 (logb_downward_test_data): Likewise.
3430 (lround_test_data): Likewise.
3431 (llround_test_data): Likewise.
3432 (modf_test_data): Likewise.
3433 (nearbyint_test_data): Likewise.
3434 (nextafter_test_data): Likewise.
3435 (nexttoward_test_data): Likewise.
3436 (pow_test_data): Likewise.
3437 (pow_tonearest_test_data): Likewise.
3438 (pow_towardzero_test_data): Likewise.
3439 (pow_downward_test_data): Likewise.
3440 (pow_upward_test_data): Likewise.
3441 (remainder_test_data): Likewise.
3442 (remainder_tonearest_test_data): Likewise.
3443 (remainder_towardzero_test_data): Likewise.
3444 (remainder_downward_test_data): Likewise.
3445 (remainder_upward_test_data): Likewise.
3446 (remquo_test_data): Likewise.
3447 (rint_test_data): Likewise.
3448 (rint_tonearest_test_data): Likewise.
3449 (rint_towardzero_test_data): Likewise.
3450 (rint_downward_test_data): Likewise.
3451 (rint_upward_test_data): Likewise.
3452 (round_test_data): Likewise.
3453 (scalb_test_data): Likewise.
3454 (scalbn_test_data): Likewise.
3455 (scalbln_test_data): Likewise.
3456 (signbit_test_data): Likewise.
3457 (sin_test_data): Likewise.
3458 (sin_tonearest_test_data): Likewise.
3459 (sin_towardzero_test_data): Likewise.
3460 (sin_downward_test_data): Likewise.
3461 (sin_upward_test_data): Likewise.
3462 (sincos_test_data): Likewise.
3463 (sinh_test_data): Likewise.
3464 (sinh_tonearest_test_data): Likewise.
3465 (sinh_towardzero_test_data): Likewise.
3466 (sinh_downward_test_data): Likewise.
3467 (sinh_upward_test_data): Likewise.
3468 (sqrt_test_data): Likewise.
3469 (tan_test_data): Likewise.
3470 (tan_tonearest_test_data): Likewise.
3471 (tan_towardzero_test_data): Likewise.
3472 (tan_downward_test_data): Likewise.
3473 (tan_upward_test_data): Likewise.
3474 (tanh_test_data): Likewise.
3475 (tgamma_test_data): Likewise.
3476 (trunc_test_data): Likewise.
3477 (y0_test_data): Likewise.
3478 (y1_test_data): Likewise.
3479 (yn_test_data): Likewise.
3480 (significand_test_data): Likewise.
3481
b679a606
JM
3482 * math/gen-libm-test.pl (@functions): Remove variable.
3483 (generate_testfile): Don't handle START and END lines.
3484 * math/libm-test.inc (START): New macro.
3485 (END): Likewise.
3486 (END_COMPLEX): Likewise.
3487 (acos_test): Use END macro without arguments.
3488 (acos_test_tonearest): Likewise.
3489 (acos_test_towardzero): Likewise.
3490 (acos_test_downward): Likewise.
3491 (acos_test_upward): Likewise.
3492 (acosh_test): Likewise.
3493 (asin_test): Likewise.
3494 (asin_test_tonearest): Likewise.
3495 (asin_test_towardzero): Likewise.
3496 (asin_test_downward): Likewise.
3497 (asin_test_upward): Likewise.
3498 (asinh_test): Likewise.
3499 (atan_test): Likewise.
3500 (atanh_test): Likewise.
3501 (atan2_test): Likewise.
3502 (cabs_test): Likewise.
3503 (cacos_test): Use END_COMPLEX macro without arguments.
3504 (cacosh_test): Likewise.
3505 (carg_test): Use END macro without arguments.
3506 (casin_test): Use END_COMPLEX macro without arguments.
3507 (casinh_test): Likewise.
3508 (catan_test): Likewise.
3509 (catanh_test): Likewise.
3510 (cbrt_test): Use END macro without arguments.
3511 (ccos_test): Use END_COMPLEX macro without arguments.
3512 (ccosh_test): Likewise.
3513 (ceil_test): Use END macro without arguments.
3514 (cexp_test): Use END_COMPLEX macro without arguments.
3515 (cimag_test): Use END macro without arguments.
3516 (clog_test): Use END_COMPLEX macro without arguments.
3517 (clog10_test): Likewise.
3518 (conj_test): Likewise.
3519 (copysign_test): Use END macro without arguments.
3520 (cos_test): Likewise.
3521 (cos_test_tonearest): Likewise.
3522 (cos_test_towardzero): Likewise.
3523 (cos_test_downward): Likewise.
3524 (cos_test_upward): Likewise.
3525 (cosh_test): Likewise.
3526 (cosh_test_tonearest): Likewise.
3527 (cosh_test_towardzero): Likewise.
3528 (cosh_test_downward): Likewise.
3529 (cosh_test_upward): Likewise.
3530 (cpow_test): Use END_COMPLEX macro without arguments.
3531 (cproj_test): Likewise.
3532 (creal_test): Use END macro without arguments.
3533 (csin_test): Use END_COMPLEX macro without arguments.
3534 (csinh_test): Likewise.
3535 (csqrt_test): Likewise.
3536 (ctan_test): Likewise.
3537 (ctan_test_tonearest): Likewise.
3538 (ctan_test_towardzero): Likewise.
3539 (ctan_test_downward): Likewise.
3540 (ctan_test_upward): Likewise.
3541 (ctanh_test): Likewise.
3542 (ctanh_test_tonearest): Likewise.
3543 (ctanh_test_towardzero): Likewise.
3544 (ctanh_test_downward): Likewise.
3545 (ctanh_test_upward): Likewise.
3546 (erf_test): Use END macro without arguments.
3547 (erfc_test): Likewise.
3548 (exp_test): Likewise.
3549 (exp_test_tonearest): Likewise.
3550 (exp_test_towardzero): Likewise.
3551 (exp_test_downward): Likewise.
3552 (exp_test_upward): Likewise.
3553 (exp10_test): Likewise.
3554 (exp2_test): Likewise.
3555 (expm1_test): Likewise.
3556 (fabs_test): Likewise.
3557 (fdim_test): Likewise.
3558 (finite_test): Likewise.
3559 (floor_test): Likewise.
3560 (fma_test): Likewise.
3561 (fma_test_towardzero): Likewise.
3562 (fma_test_downward): Likewise.
3563 (fma_test_upward): Likewise.
3564 (fmax_test): Likewise.
3565 (fmin_test): Likewise.
3566 (fmod_test): Likewise.
3567 (fpclassify_test): Likewise.
3568 (frexp_test): Likewise.
3569 (gamma_test): Likewise.
3570 (hypot_test): Likewise.
3571 (ilogb_test): Likewise.
3572 (isfinite_test): Likewise.
3573 (isgreater_test): Likewise.
3574 (isgreaterequal_test): Likewise.
3575 (isinf_test): Likewise.
3576 (isless_test): Likewise.
3577 (islessequal_test): Likewise.
3578 (islessgreater_test): Likewise.
3579 (isnan_test): Likewise.
3580 (isnormal_test): Likewise.
3581 (issignaling_test): Likewise.
3582 (isunordered_test): Likewise.
3583 (j0_test): Likewise.
3584 (j1_test): Likewise.
3585 (jn_test): Likewise.
3586 (ldexp_test): Likewise.
3587 (lgamma_test): Likewise.
3588 (lrint_test): Likewise.
3589 (lrint_test_tonearest): Likewise.
3590 (lrint_test_towardzero): Likewise.
3591 (lrint_test_downward): Likewise.
3592 (lrint_test_upward): Likewise.
3593 (llrint_test): Likewise.
3594 (llrint_test_tonearest): Likewise.
3595 (llrint_test_towardzero): Likewise.
3596 (llrint_test_downward): Likewise.
3597 (llrint_test_upward): Likewise.
3598 (log_test): Likewise.
3599 (log10_test): Likewise.
3600 (log1p_test): Likewise.
3601 (log2_test): Likewise.
3602 (logb_test): Likewise.
3603 (logb_test_downward): Likewise.
3604 (lround_test): Likewise.
3605 (llround_test): Likewise.
3606 (modf_test): Likewise.
3607 (nearbyint_test): Likewise.
3608 (nextafter_test): Likewise.
3609 (nexttoward_test): Likewise.
3610 (pow_test): Likewise.
3611 (pow_test_tonearest): Likewise.
3612 (pow_test_towardzero): Likewise.
3613 (pow_test_downward): Likewise.
3614 (pow_test_upward): Likewise.
3615 (remainder_test): Likewise.
3616 (remainder_test_tonearest): Likewise.
3617 (remainder_test_towardzero): Likewise.
3618 (remainder_test_downward): Likewise.
3619 (remainder_test_upward): Likewise.
3620 (remquo_test): Likewise.
3621 (rint_test): Likewise.
3622 (rint_test_tonearest): Likewise.
3623 (rint_test_towardzero): Likewise.
3624 (rint_test_downward): Likewise.
3625 (rint_test_upward): Likewise.
3626 (round_test): Likewise.
3627 (scalb_test): Likewise.
3628 (scalbn_test): Likewise.
3629 (scalbln_test): Likewise.
3630 (signbit_test): Likewise.
3631 (sin_test): Likewise.
3632 (sin_test_tonearest): Likewise.
3633 (sin_test_towardzero): Likewise.
3634 (sin_test_downward): Likewise.
3635 (sin_test_upward): Likewise.
3636 (sincos_test): Likewise.
3637 (sinh_test): Likewise.
3638 (sinh_test_tonearest): Likewise.
3639 (sinh_test_towardzero): Likewise.
3640 (sinh_test_downward): Likewise.
3641 (sinh_test_upward): Likewise.
3642 (sqrt_test): Likewise.
3643 (tan_test): Likewise.
3644 (tan_test_tonearest): Likewise.
3645 (tan_test_towardzero): Likewise.
3646 (tan_test_downward): Likewise.
3647 (tan_test_upward): Likewise.
3648 (tanh_test): Likewise.
3649 (tgamma_test): Likewise.
3650 (trunc_test): Likewise.
3651 (y0_test): Likewise.
3652 (y1_test): Likewise.
3653 (yn_test): Likewise.
3654 (significand_test): Likewise.
3655
bae143d2
OB
36562013-05-24 Ondřej Bílka <neleai@seznam.cz>
3657
3658 [BZ #15381]
3659 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3660
9323d39b
EM
36612013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3662
d4ea44a0 3663 [BZ #14894]
9323d39b
EM
3664 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3665 __ppc_mdoio and __ppc_mdoom.
3666 * manual/platform.texi: Document new functions __ppc_yield,
3667 __ppc_mdoio and __ppc_mdoom.
3668
13e23af7
CD
36692013-05-22 Carlos O'Donell <carlos@redhat.com>
3670
3671 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3672 (main): Mention "tls" pseudo-hwcap is legacy.
3673 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3674
351fe550
JM
36752013-05-22 Joseph Myers <joseph@codesourcery.com>
3676
3677 * math/gen-libm-test.pl (parse_args): Output only string of
3678 arguments as text for test name, not full call or descriptions of
3679 tests for extra outputs.
3680 (generate_testfile): Do not pass function name to parse_args.
3681 Generate this_func variable from START.
3682 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3683 field to arg_str.
3684 (struct test_ff_f_data): Likewise.
3685 (test_ff_f_data_nexttoward): Likewise.
3686 (struct test_fi_f_data): Likewise.
3687 (struct test_fl_f_data): Likewise.
3688 (struct test_if_f_data): Likewise.
3689 (struct test_fff_f_data): Likewise.
3690 (struct test_c_f_data): Likewise.
3691 (struct test_f_f1_data): Likewise. Remove field extra_name.
3692 (struct test_fF_f1_data): Likewise.
3693 (struct test_ffI_f1_data): Likewise.
3694 (struct test_c_c_data): Rename test_name field to arg_str.
3695 (struct test_cc_c_data): Likewise.
3696 (struct test_f_i_data): Likewise.
3697 (struct test_ff_i_data): Likewise.
3698 (struct test_f_l_data): Likewise.
3699 (struct test_f_L_data): Likewise.
3700 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3701 and extra2_name.
3702 (COMMON_TEST_SETUP): New macro.
3703 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3704 (COMMON_TEST_CLEANUP): Likewise.
3705 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3706 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3707 macros.
3708 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3709 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3710 macros.
3711 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3712 (RUN_TEST_fff_f): Take argument string. Call new setup and
3713 cleanup macros.
3714 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3715 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3716 macros.
3717 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3718 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3719 macros.
3720 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3721 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3722 cleanup macros.
3723 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3724 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3725 cleanup macros.
3726 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3727 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3728 cleanup macros.
3729 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3730 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3731 macros.
3732 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3733 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3734 macros.
3735 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3736 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3737 macros.
3738 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3739 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3740 cleanup macros.
3741 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3742 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3743 cleanup macros.
3744 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3745 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3746 macros.
3747 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3748 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3749 cleanup macros.
3750 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3751 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3752 macros.
3753 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3754 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3755 macros.
3756 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3757 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3758 cleanup macros.
3759 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3760
85118d4d
EBM
37612013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3762
3763 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3764 to _sifields.sigfault.
3765 (si_addr_lsb): Define new macro.
3766 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3767 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3768 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3769
7a44c18f
CD
37702013-05-03 Carlos O'Donell <carlos at redhat.com>
3771
3772 [BZ #15441]
3773 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3774 returns -1.
3775 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3776 null return -1.
3777 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3778 loading the domain.
3779
b50a7181
JM
37802013-05-22 Joseph Myers <joseph@codesourcery.com>
3781
3782 * math/gen-libm-test.pl (parse_args): Do not include expected
3783 result in test name.
3784 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3785 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3786 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3787 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3788 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3790
051063c8
SP
37912013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3792
3ce9e010
SP
3793 * benchtests/Makefile: Sort function entries.
3794
051063c8
SP
3795 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3796 tanh, asinh, acosh, atanh.
3797 * benchtests/acos-inputs: New file.
3798 * benchtests/acosh-inputs: New file.
3799 * benchtests/asin-inputs: New file.
3800 * benchtests/asinh-inputs: New file.
3801 * benchtests/atanh-inputs: New file.
3802 * benchtests/cosh-inputs: New file.
3803 * benchtests/log-inputs: New file.
3804 * benchtests/sinh-inputs: New file.
3805 * benchtests/tanh-inputs: New file.
3806
47c22455
DL
38072013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3808
3809 [BZ #15339]
3810 * posix/tst-getaddrinfo4.c: New test.
3811 * posix/Makefile (tests): Add it.
3812
3d04f5db
SP
38132013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3814
3815 [BZ #15339]
3816 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3817 when no services were used.
3818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3819 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3820
d5dd6189
AS
38212013-05-21 Andreas Schwab <schwab@suse.de>
3822
3823 [BZ #15014]
3824 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3825 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3826 successful.
3827 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3828 redundant variable declarations and reallocation of buffer when
3829 parsing as IPv6 address. Always set NSS status when called from
3830 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3831 buffer too small. Correct computation of needed size.
3832 * nss/Makefile (tests): Add test-digits-dots.
3833 * nss/test-digits-dots.c: New test.
3834
fef94eab
SP
38352013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3836
3837 * benchtests/Makefile: Remove instructions for adding
3838 benchmark tests.
3839 * benchtests/README: New file to explain how to execute and
3840 enhance the benchmark tests.
3841
e39adf43
AS
38422013-05-21 Andreas Schwab <schwab@suse.de>
3843
3844 [BZ #15493]
3845 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3846 * setjmp/tst-sigsetjmp.c: New test.
3847
b2b671b6
OB
38482013-05-20 Ondřej Bílka <neleai@seznam.cz>
3849
3850 * sysdeps/x86_64/memset.S (memset): New implementation.
3851 (__bzero): Likewise.
3852 (__memset_tail): New function.
3853
2d48b41c
OB
38542013-05-20 Ondřej Bílka <neleai@seznam.cz>
3855
3856 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3857 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3858 __memcpy_sse2_unaligned ifunc selection.
3859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3860 Add memcpy-sse2-unaligned.S.
3861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3862 Add: __memcpy_sse2_unaligned.
3863
f16cc3eb
JM
38642013-05-19 Joseph Myers <joseph@codesourcery.com>
3865
3e694268
JM
3866 [BZ #15490]
3867 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3868 math_force_eval before restoring floating-point envrionment.
3869 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3870 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3871 Likewise.
3872 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3873 <math_private.h>.
3874 (__nearbyintl): Use math_force_eval before restoring
3875 floating-point environment.
3876 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3877
db62a907
JM
3878 * math/gen-libm-test.pl (special_functions): Remove.
3879 (parse_args): Don't handle TEST_extra. Handle functions with no
3880 return value.
3881 * math/libm-test.inc (struct test_sincos_data): Replace with
3882 struct test_fFF_11_data.
3883 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3884 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3885 (sincos_test_data): Change element type to struct
3886 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3887 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3888 RUN_TEST_LOOP_sincos.
3889 * math/README.libm-test: Don't mention special handling of
3890 individual functions.
3891 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3892 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3893 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3894 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3895 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3897
f16cc3eb
JM
3898 * math/gen-libm-test.pl (get_variable): Remove function.
3899 (parse_args): Don't show pointer parameters to call in test
3900 names. Use "extra output N" in test names for extra outputs
3901 rather than naming variables.
3902
3779b5b6
JM
39032013-05-18 Joseph Myers <joseph@codesourcery.com>
3904
2ee094ff
JM
3905 [BZ #15488]
3906 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3907 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3908 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3909 double tests.
3910 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3911 disable.
3912 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3913 check_long_double.
3914
3779b5b6
JM
3915 * math/gen-libm-test.pl (@tests): Remove variable.
3916 ($count): Likewise.
3917 (new_test): Remove function.
3918 (show_exceptions): New function.
3919 (special_functions): Use show_exceptions instead of new_test.
3920 (parse_args): Likewise.
3921 (generate_testfile): Pass only function name in generated call to
3922 print_max_error or print_complex_max_error.
3923 (get_ulps): Do not handle complex tests specially.
3924 (output_test): Rename to ...
3925 (get_all_ulps_for_test): ... this. Return a string rather than
3926 printing to a file. Require ulps to be present.
3927 (output_ulps): Generate arrays rather than #defines.
3928 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3929 (struct ulp_data): New type.
3930 (BUILD_COMPLEX_ULP): Remove macro.
3931 (compare_ulp_data): New function.
3932 (find_ulps): Likewise.
3933 (find_test_ulps): Likewise.
3934 (find_function_ulps): Likewise.
3935 (find_complex_function_ulps): Likewise.
3936 (print_max_error): Determine allowed ulps using
3937 find_function_ulps.
3938 (print_complex_max_error): Determine allowed ulps using
3939 find_complex_function_ulps.
3940 (check_float_internal): Determine max ulps using find_test_ulps.
3941 (check_float): Do not take max_ulp parameter. Update call to
3942 check_float_internal.
3943 (check_complex): Likewise.
3944 (check_int): Do not take max_ulp parameter.
3945 (check_long): Likewise.
3946 (check_bool): Likewise.
3947 (check_longlong): Likewise.
3948 (struct test_f_f_data): Remove max_ulp field.
3949 (struct test_ff_f_data): Likewise.
3950 (struct test_ff_f_data_nexttoward): Likewise.
3951 (struct test_fi_f_data): Likewise.
3952 (struct test_fl_f_data): Likewise.
3953 (struct test_if_f_data): Likewise.
3954 (struct test_fff_f_data): Likewise.
3955 (struct test_c_f_data): Likewise.
3956 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3957 (struct test_fF_f1_data): Likewise.
3958 (struct test_ffI_f1_data): Likewise.
3959 (struct test_c_c_data): Remove max_ulp field.
3960 (struct test_cc_c_data): Likewise.
3961 (struct test_f_i_data): Likewise.
3962 (struct test_ff_i_data): Likewise.
3963 (struct test_f_l_data): Likewise.
3964 (struct test_f_L_data): Likewise.
3965 (struct test_sincos_data): Likewise.
3966 (RUN_TEST_f_f): Do not handle ulps.
3967 (RUN_TEST_LOOP_f_f): Likewise.
3968 (RUN_TEST_2_f): Likewise.
3969 (RUN_TEST_LOOP_2_f): Likewise.
3970 (RUN_TEST_fff_f): Likewise.
3971 (RUN_TEST_LOOP_fff_f): Likewise.
3972 (RUN_TEST_c_f): Likewise.
3973 (RUN_TEST_LOOP_c_f): Likewise.
3974 (RUN_TEST_f_f1): Likewise.
3975 (RUN_TEST_LOOP_f_f1): Likewise.
3976 (RUN_TEST_fF_f1): Likewise.
3977 (RUN_TEST_LOOP_fF_f1): Likewise.
3978 (RUN_TEST_fI_f1): Likewise.
3979 (RUN_TEST_LOOP_fI_f1): Likewise.
3980 (RUN_TEST_ffI_f1): Likewise.
3981 (RUN_TEST_LOOP_ffI_f1): Likewise.
3982 (RUN_TEST_c_c): Likewise.
3983 (RUN_TEST_LOOP_c_c): Likewise.
3984 (RUN_TEST_cc_c): Likewise.
3985 (RUN_TEST_LOOP_cc_c): Likewise.
3986 (RUN_TEST_f_i): Likewise.
3987 (RUN_TEST_LOOP_f_i): Likewise.
3988 (RUN_TEST_f_i_tg): Likewise.
3989 (RUN_TEST_LOOP_f_i_tg): Likewise.
3990 (RUN_TEST_ff_i_tg): Likewise.
3991 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3992 (RUN_TEST_f_b): Likewise.
3993 (RUN_TEST_LOOP_f_b): Likewise.
3994 (RUN_TEST_f_b_tg): Likewise.
3995 (RUN_TEST_LOOP_f_b_tg): Likewise.
3996 (RUN_TEST_f_l): Likewise.
3997 (RUN_TEST_LOOP_f_l): Likewise.
3998 (RUN_TEST_f_L): Likewise.
3999 (RUN_TEST_LOOP_f_L): Likewise.
4000 (RUN_TEST_sincos): Likewise.
4001 (RUN_TEST_LOOP_sincos): Likewise.
4002
8269107f
JM
40032013-05-17 Joseph Myers <joseph@codesourcery.com>
4004
bb38759d
JM
4005 [BZ #15480]
4006 [BZ #15485]
4007 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
4008 main case of finite arguments, set rounding mode to FE_TONEAREST
4009 and discard exceptions.
4010 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
4011 exceptions.
4012 (remainder_tonearest_test_data): New variable.
4013 (remainder_test_tonearest): New function.
4014 (remainder_towardzero_test_data): New variable.
4015 (remainder_test_towardzero): New function.
4016 (remainder_downward_test_data): New variable.
4017 (remainder_test_downward): New function.
4018 (remainder_upward_test_data): New variable.
4019 (remainder_test_upward): New function.
4020 (main): Call the new test functions.
4021
a00bdcf0
JM
4022 * math/libm-test.inc (struct test_f_f1_data): Remove field
4023 extra_init.
4024 (struct test_fF_f1_data): Likewise.
4025 (struct test_ffI_f1_data): Likewise.
4026 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
4027 based on value of EXTRA_EXPECTED.
4028 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4029 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
4030 EXTRA_VAR based on value of EXTRA_EXPECTED.
4031 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4032 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
4033 EXTRA_VAR based on value of EXTRA_EXPECTED.
4034 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4035 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
4036 EXTRA_VAR based on value of EXTRA_EXPECTED.
4037 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4038 * math/gen-libm-test.pl (parse_args): Don't output initializers
4039 for extra output values.
4040
de407f79
JM
4041 * math/libm-test.inc (check_int): Expect result to be exactly
4042 equal to expected value and do not handle ulps.
4043 (check_long): Likewise.
4044 (check_longlong): Likewise.
4045
8269107f
JM
4046 * math/libm-test.inc (ceil_test_data): Test for "inexact"
4047 exceptions.
4048 (cimag_test_data): Likewise.
4049 (conj_test_data): Likewise.
4050 (copysign_test_data): Likewise.
4051 (cproj_test_data): Likewise.
4052 (creal_test_data): Likewise.
4053 (fabs_test_data): Likewise.
4054 (fdim_test_data): Likewise.
4055 (finite_test_data): Likewise.
4056 (floor_test_data): Likewise.
4057 (fmax_test_data): Likewise.
4058 (fmin_test_data): Likewise.
4059 (fmod_test_data): Likewise.
4060 (fpclassify_test_data): Likewise.
4061 (frexp_test_data): Likewise.
4062 (ilogb_test_data): Likewise.
4063 (isfinite_test_data): Likewise.
4064 (isgreater_test_data): Likewise.
4065 (isgreaterequal_test_data): Likewise.
4066 (isinf_test_data): Likewise.
4067 (isless_test_data): Likewise.
4068 (islessequal_test_data): Likewise.
4069 (islessgreater_test_data): Likewise.
4070 (isnan_test_data): Likewise.
4071 (isnormal_test_data): Likewise.
4072 (issignaling_test_data): Likewise.
4073 (isunordered_test_data): Likewise.
4074 (ldexp_test_data): Likewise.
4075 (lrint_test_data): Likewise.
4076 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4077 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4078 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4079 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4080 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4081 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4082 test input.
4083 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4084 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4085 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4086 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4087 that test input.
4088 (lrint_downward_test_data): Test for "inexact" exceptions.
4089 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4090 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4091 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4092 test input.
4093 (lrint_upward_test_data): Test for "inexact" exceptions.
4094 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4095 test input.
4096 (llrint_test_data): Test for "inexact" exceptions.
4097 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4098 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4099 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4100 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4101 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4102 (llrint_downward_test_data): Test for "inexact" exceptions.
4103 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4104 (llrint_upward_test_data): Test for "inexact" exceptions.
4105 (logb_test_data): Likewise.
4106 (logb_downward_test_data): Likewise.
4107 (nextafter_test_data): Likewise.
4108 (nexttoward_test_data): Likewise.
4109 (remainder_test_data): Likewise.
4110 (remquo_test_data): Likewise.
4111 (scalbn_test_data): Likewise.
4112 (scalbln_test_data): Likewise.
4113 (signbit_test_data): Likewise.
4114 (sqrt_test_data): Likewise.
4115 (significand_test_data): Likewise.
4116
48a18de1
SP
41172013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4118
4119 [BZ #15424]
4120 * benchtests/bench-modf.c (struct args): Mark arg0 as
4121 volatile.
4122 * scripts/bench.pl: Mark members of struct args as volatile.
4123
13d3b41a
AZ
41242013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4125
68191c1d 4126 [BZ # 15497]
13d3b41a
AZ
4127 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4128 negative infinity on POWER6 or lower.
4129 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4130
2848b105
MR
41312013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4132
4133 [BZ #15442]
4134 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4135 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4136 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4137 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4138 (_FP_SETQNAN): New macro.
4139 (_FP_SETQNAN_SEMIRAW): Likewise.
4140 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4141 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4142 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4143 (FP_EXTEND): Use _FP_FRAC_SNANP.
4144 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4145 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4146 into account.
4147 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4148 New macro.
4149 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4150 Likewise.
4151
323e5cb7
JM
41522013-05-16 Joseph Myers <joseph@codesourcery.com>
4153
c58b274f
JM
4154 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4155 with DIVIDE_BY_ZERO_EXCEPTION.
4156 (gamma_test_data): Likewise.
4157 (lgamma_test_data): Likewise.
4158 (log_test_data): Likewise.
4159 (log10_test_data): Likewise.
4160 (log2_test_data): Likewise.
4161 (tgamma_test_data): Likewise.
4162
0ab34904
JM
4163 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4164 (acos_test_tonearest): Likewise.
4165 (acos_test_towardzero): Likewise.
4166 (acos_test_downward): Likewise.
4167 (acos_test_upward): Likewise.
4168 (acosh_test): Likewise.
4169 (asin_test): Likewise.
4170 (asin_test_tonearest): Likewise.
4171 (asin_test_towardzero): Likewise.
4172 (asin_test_downward): Likewise.
4173 (asin_test_upward): Likewise.
4174 (asinh_test): Likewise.
4175 (atan_test): Likewise.
4176 (atanh_test): Likewise.
4177 (atan2_test): Likewise.
4178 (cabs_test): Likewise.
4179 (cacos_test): Likewise.
4180 (cacosh_test): Likewise.
4181 (casin_test): Likewise.
4182 (casinh_test): Likewise.
4183 (catan_test): Likewise.
4184 (catanh_test): Likewise.
4185 (cbrt_test): Likewise.
4186 (ccos_test): Likewise.
4187 (ccosh_test): Likewise.
4188 (cexp_test): Likewise.
4189 (clog_test): Likewise.
4190 (clog10_test): Likewise.
4191 (cos_test): Likewise.
4192 (cos_test_tonearest): Likewise.
4193 (cos_test_towardzero): Likewise.
4194 (cos_test_downward): Likewise.
4195 (cos_test_upward): Likewise.
4196 (cosh_test): Likewise.
4197 (cosh_test_tonearest): Likewise.
4198 (cosh_test_towardzero): Likewise.
4199 (cosh_test_downward): Likewise.
4200 (cosh_test_upward): Likewise.
4201 (cpow_test): Likewise.
4202 (csin_test): Likewise.
4203 (csinh_test): Likewise.
4204 (csqrt_test): Likewise.
4205 (ctan_test): Likewise.
4206 (ctan_test_tonearest): Likewise.
4207 (ctan_test_towardzero): Likewise.
4208 (ctan_test_downward): Likewise.
4209 (ctan_test_upward): Likewise.
4210 (ctanh_test): Likewise.
4211 (ctanh_test_tonearest): Likewise.
4212 (ctanh_test_towardzero): Likewise.
4213 (ctanh_test_downward): Likewise.
4214 (ctanh_test_upward): Likewise.
4215 (erf_test): Likewise.
4216 (erfc_test): Likewise.
4217 (exp_test): Likewise.
4218 (exp_test_tonearest): Likewise.
4219 (exp_test_towardzero): Likewise.
4220 (exp_test_downward): Likewise.
4221 (exp_test_upward): Likewise.
4222 (exp10_test): Likewise.
4223 (exp2_test): Likewise.
4224 (expm1_test): Likewise.
4225 (fmod_test): Likewise.
4226 (gamma_test): Likewise.
4227 (hypot_test): Likewise.
4228 (j0_test): Likewise.
4229 (j1_test): Likewise.
4230 (jn_test): Likewise.
4231 (lgamma_test): Likewise.
4232 (log_test): Likewise.
4233 (log10_test): Likewise.
4234 (log1p_test): Likewise.
4235 (log2_test): Likewise.
4236 (logb_test_downward): Likewise.
4237 (pow_test): Likewise.
4238 (pow_test_tonearest): Likewise.
4239 (pow_test_towardzero): Likewise.
4240 (pow_test_downward): Likewise.
4241 (pow_test_upward): Likewise.
4242 (remainder_test): Likewise.
4243 (remquo_test): Likewise.
4244 (sin_test): Likewise.
4245 (sin_test_tonearest): Likewise.
4246 (sin_test_towardzero): Likewise.
4247 (sin_test_downward): Likewise.
4248 (sin_test_upward): Likewise.
4249 (sincos_test): Likewise.
4250 (sinh_test): Likewise.
4251 (sinh_test_tonearest): Likewise.
4252 (sinh_test_towardzero): Likewise.
4253 (sinh_test_downward): Likewise.
4254 (sinh_test_upward): Likewise.
4255 (sqrt_test): Likewise.
4256 (tan_test): Likewise.
4257 (tan_test_tonearest): Likewise.
4258 (tan_test_towardzero): Likewise.
4259 (tan_test_downward): Likewise.
4260 (tan_test_upward): Likewise.
4261 (tanh_test): Likewise.
4262 (tgamma_test): Likewise.
4263 (y0_test): Likewise.
4264 (y1_test): Likewise.
4265 (yn_test): Likewise.
4266
323e5cb7
JM
4267 * math/gen-libm-test.pl (adjust_arg): Remove function.
4268 (special_function): Remove argument $in_func. Only handle
4269 generating output for tables of tests, not inside functions.
4270 (parse_args): Likewise.
4271 (generate_testfile): Remove variable $in_func. Update call to
4272 parse_args.
4273 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4274 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4275 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4276 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4277 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4278 (MAX_VALUE_INIT): Rename macro to max_value.
4279 (MIN_VALUE_INIT): Rename macro to min_value.
4280 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4281 (plus_zero): Remove variable.
4282 (minus_zero): Likewise.
4283 (plus_infty): Likewise.
4284 (minus_infty): Likewise.
4285 (qnan_value): Likewise.
4286 (max_value): Likewise.
4287 (min_value): Likewise.
4288 (min_subnorm_value): Likewise.
4289
e054f494
RA
42902013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4291
4292 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4293 uint64_t or uint32_t usage.
4294 * crypt/sha256-block.c: Likewise.
4295 * crypt/sha256-crypt.c: Likewise.
4296 * crypt/sha256.c: Likewise.
4297 * crypt/sha512-block.c: Likewise.
4298 * crypt/sha512-crypt.c: Likewise.
4299 * crypt/sha512.c: Likewise.
4300 * debug/backtrace-tst.c: Likewise.
4301 * debug/pcprofiledump.c: Likewise.
4302 * elf/cache.c: Likewise.
4303 * elf/dl-cache.c: Likewise.
4304 * elf/dl-misc.c: Likewise.
4305 * elf/dl-profile.c: Likewise.
4306 * elf/dl-support.c: Likewise.
4307 * elf/ldconfig.c: Likewise.
4308 * elf/sprof.c: Likewise.
4309 * iconv/dummy-repertoire.c: Likewise.
4310 * iconv/iconv_charmap.c: Likewise.
4311 * iconv/skeleton.c: Likewise.
4312 * iconvdata/8bit-generic.c: Likewise.
4313 * iconvdata/cp737.h: Likewise.
4314 * iconvdata/cp775.h: Likewise.
4315 * iconvdata/ibm1008.h: Likewise.
4316 * iconvdata/ibm1025.h: Likewise.
4317 * iconvdata/ibm1046.h: Likewise.
4318 * iconvdata/ibm1097.h: Likewise.
4319 * iconvdata/ibm1112.h: Likewise.
4320 * iconvdata/ibm1122.h: Likewise.
4321 * iconvdata/ibm1123.h: Likewise.
4322 * iconvdata/ibm1124.h: Likewise.
4323 * iconvdata/ibm1129.h: Likewise.
4324 * iconvdata/ibm1130.h: Likewise.
4325 * iconvdata/ibm1132.h: Likewise.
4326 * iconvdata/ibm1133.h: Likewise.
4327 * iconvdata/ibm1137.h: Likewise.
4328 * iconvdata/ibm1140.h: Likewise.
4329 * iconvdata/ibm1141.h: Likewise.
4330 * iconvdata/ibm1142.h: Likewise.
4331 * iconvdata/ibm1143.h: Likewise.
4332 * iconvdata/ibm1144.h: Likewise.
4333 * iconvdata/ibm1145.h: Likewise.
4334 * iconvdata/ibm1146.h: Likewise.
4335 * iconvdata/ibm1147.h: Likewise.
4336 * iconvdata/ibm1148.h: Likewise.
4337 * iconvdata/ibm1149.h: Likewise.
4338 * iconvdata/ibm1153.h: Likewise.
4339 * iconvdata/ibm1154.h: Likewise.
4340 * iconvdata/ibm1155.h: Likewise.
4341 * iconvdata/ibm1156.h: Likewise.
4342 * iconvdata/ibm1157.h: Likewise.
4343 * iconvdata/ibm1158.h: Likewise.
4344 * iconvdata/ibm1160.h: Likewise.
4345 * iconvdata/ibm1161.h: Likewise.
4346 * iconvdata/ibm1162.h: Likewise.
4347 * iconvdata/ibm1163.h: Likewise.
4348 * iconvdata/ibm1164.h: Likewise.
4349 * iconvdata/ibm1166.h: Likewise.
4350 * iconvdata/ibm1167.h: Likewise.
4351 * iconvdata/ibm12712.h: Likewise.
4352 * iconvdata/ibm1390.h: Likewise.
4353 * iconvdata/ibm1399.h: Likewise.
4354 * iconvdata/ibm16804.h: Likewise.
4355 * iconvdata/ibm4517.h: Likewise.
4356 * iconvdata/ibm4899.h: Likewise.
4357 * iconvdata/ibm4909.h: Likewise.
4358 * iconvdata/ibm4971.h: Likewise.
4359 * iconvdata/ibm5347.h: Likewise.
4360 * iconvdata/ibm803.h: Likewise.
4361 * iconvdata/ibm856.h: Likewise.
4362 * iconvdata/ibm901.h: Likewise.
4363 * iconvdata/ibm902.h: Likewise.
4364 * iconvdata/ibm9030.h: Likewise.
4365 * iconvdata/ibm9066.h: Likewise.
4366 * iconvdata/ibm921.h: Likewise.
4367 * iconvdata/ibm922.h: Likewise.
4368 * iconvdata/ibm9448.h: Likewise.
4369 * iconvdata/isiri-3342.h: Likewise.
4370 * iconvdata/jis0201.h: Likewise.
4371 * include/link.h: Likewise.
4372 * include/netdb.h: Likewise.
4373 * inet/check_native.c: Likewise.
4374 * inet/check_pf.c: Likewise.
4375 * inet/getipv4sourcefilter.c: Likewise.
4376 * inet/getnameinfo.c: Likewise.
4377 * inet/getsourcefilter.c: Likewise.
4378 * inet/htonl.c: Likewise.
4379 * inet/setipv4sourcefilter.c: Likewise.
4380 * inet/setsourcefilter.c: Likewise.
4381 * inet/test-inet6_opt.c: Likewise.
4382 * inet/tst-network.c: Likewise.
4383 * locale/C-collate.c: Likewise.
4384 * locale/C-ctype.c: Likewise.
4385 * locale/C-time.c: Likewise.
4386 * locale/C-translit.h: Likewise.
4387 * locale/loadarchive.c: Likewise.
4388 * locale/programs/3level.h: Likewise.
4389 * locale/programs/charmap.c: Likewise.
4390 * locale/programs/charmap.h: Likewise.
4391 * locale/programs/ld-address.c: Likewise.
4392 * locale/programs/ld-collate.c: Likewise.
4393 * locale/programs/ld-ctype.c: Likewise.
4394 * locale/programs/ld-identification.c: Likewise.
4395 * locale/programs/ld-measurement.c: Likewise.
4396 * locale/programs/ld-messages.c: Likewise.
4397 * locale/programs/ld-monetary.c: Likewise.
4398 * locale/programs/ld-name.c: Likewise.
4399 * locale/programs/ld-numeric.c: Likewise.
4400 * locale/programs/ld-paper.c: Likewise.
4401 * locale/programs/ld-telephone.c: Likewise.
4402 * locale/programs/ld-time.c: Likewise.
4403 * locale/programs/linereader.c: Likewise.
4404 * locale/programs/locale.c: Likewise.
4405 * locale/programs/locarchive.c: Likewise.
4406 * locale/programs/locfile.h: Likewise.
4407 * locale/programs/repertoire.c: Likewise.
4408 * locale/programs/simple-hash.c: Likewise.
4409 * locale/programs/simple-hash.h: Likewise.
4410 * malloc/memusage.c: Likewise.
4411 * malloc/memusagestat.c: Likewise.
4412 * nis/nis_defaults.c: Likewise.
4413 * nis/nis_hash.c: Likewise.
4414 * nis/nis_print.c: Likewise.
4415 * nis/nis_xdr.c: Likewise.
4416 * nscd/connections.c: Likewise.
4417 * nscd/hstcache.c: Likewise.
4418 * nscd/nscd_gethst_r.c: Likewise.
4419 * nscd/nscd_getserv_r.c: Likewise.
4420 * nscd/nscd_helper.c: Likewise.
4421 * nscd/servicescache.c: Likewise.
4422 * nss/makedb.c: Likewise.
4423 * nss/nss_db/db-XXX.c: Likewise.
4424 * nss/nss_db/db-initgroups.c: Likewise.
4425 * nss/nss_db/db-netgrp.c: Likewise.
4426 * nss/nss_files/files-network.c: Likewise.
4427 * nss/nss_files/files-parse.c: Likewise.
4428 * posix/bug-regex5.c: Likewise.
4429 * posix/fnmatch_loop.c: Likewise.
4430 * posix/regcomp.c: Likewise.
4431 * posix/regexec.c: Likewise.
4432 * posix/tst-rfc3484-2.c: Likewise.
4433 * posix/tst-rfc3484-3.c: Likewise.
4434 * posix/tst-rfc3484.c: Likewise.
4435 * resolv/nss_dns/dns-canon.c: Likewise.
4436 * resolv/nss_dns/dns-network.c: Likewise.
4437 * resolv/res_init.c: Likewise.
4438 * resolv/res_mkquery.c: Likewise.
4439 * resolv/tst-aton.c: Likewise.
4440 * stdlib/cxa_atexit.c: Likewise.
4441 * stdlib/cxa_finalize.c: Likewise.
4442 * stdlib/gen-fpioconst.c: Likewise.
4443 * stdlib/strtol_l.c: Likewise.
4444 * string/tst-endian.c: Likewise.
4445 * sunrpc/auth_des.c: Likewise.
4446 * sunrpc/clnt_udp.c: Likewise.
4447 * sunrpc/rtime.c: Likewise.
4448 * sunrpc/svcauth_des.c: Likewise.
4449 * sunrpc/xdr.c: Likewise.
4450 * sunrpc/xdr_intXX_t.c: Likewise.
4451 * sunrpc/xdr_rec.c: Likewise.
4452 * sysdeps/generic/ldconfig.h: Likewise.
4453 * sysdeps/generic/ldsodefs.h: Likewise.
4454 * sysdeps/generic/memusage.h: Likewise.
4455 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4456 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4457 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4458 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4461 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4462 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4463 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4465 * sysdeps/posix/getaddrinfo.c: Likewise.
4466 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4467 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4468 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4469 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4470 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4471 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4472 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4473 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4474 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4475 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4476 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4477 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4478 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4479 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4480 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4481 * sysdeps/x86_64/dl-tls.h: Likewise.
4482 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4483 * time/alt_digit.c: Likewise.
4484 * time/era.c: Likewise.
4485 * wcsmbs/tst-c16c32-1.c: Likewise.
4486
8c75f674
JM
44872013-05-16 Joseph Myers <joseph@codesourcery.com>
4488
4489 * math/libm-test.inc (struct test_sincos_data): New type.
4490 (RUN_TEST_LOOP_sincos): New macro.
4491 (sincos_test_data): New variable.
4492 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4493
e6e49e59
RH
44942013-05-16 Richard Henderson <rth@redhat.com>
4495
4496 * math/atest-exp2.c (LIMB64): New macro.
4497 (CONSTSZ): New macro.
4498 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4499 (hexdig): Move ...
4500 (print_mpn_fp): ... to function scope.
4501 (read_mpn_hex): Remove.
4502 (get_log2): Remove.
4503 (exp2_mpn): Use mp_log2.
4504 (main): Use mp_exp1.
4505
15c7c18d
JM
45062013-05-16 Joseph Myers <joseph@codesourcery.com>
4507
105a07df
JM
4508 * math/libm-test.inc: Remove comment about not testing "inexact"
4509 exceptions.
4510 (INEXACT_EXCEPTION): New macro.
4511 (NO_INEXACT_EXCEPTION): Likewise.
4512 (INVALID_EXCEPTION_OK): Update value.
4513 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4514 (OVERFLOW_EXCEPTION_OK): Likewise.
4515 (UNDERFLOW_EXCEPTION_OK): Likewise.
4516 (IGNORE_ZERO_INF_SIGN): Likewise.
4517 (ERRNO_UNCHANGED): Likewise.
4518 (ERRNO_EDOM): Likewise.
4519 (ERRNO_ERANGE): Likewise.
4520 (test_exceptions): Handle testing "inexact" exceptions.
4521 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4522 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4523 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4524 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4525 INEXACT_EXCEPTION.
4526 (rint_towardzero_test_data): Likewise.
4527 (rint_downward_test_data): Likewise.
4528 (rint_upward_test_data): Likewise.
4529
e9eee333
JM
4530 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4531 with OVERFLOW_EXCEPTION.
4532 (exp10_test_data): Likewise.
4533 (exp2_test_data): Likewise.
4534 (expm1_test_data): Likewise.
4535 (lgamma_test_data): Likewise.
4536 (pow_test_data): Likewise.
4537 (tgamma_test_data): Likewise.
4538 (yn_test_data): Remove duplicate test of overflow.
4539
1c38ff73
JM
4540 * math/libm-test.inc (struct test_cc_c_data): New type.
4541 (RUN_TEST_LOOP_cc_c): New macro.
4542 (cpow_test_data): New variable.
4543 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4544
15c7c18d
JM
4545 * math/libm-test.inc (struct test_f_L_data): New type.
4546 (RUN_TEST_LOOP_f_L): New macro.
4547 (llrint_test_data): New variable.
4548 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4549 (llrint_tonearest_test_data): New variable.
4550 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4551 (llrint_towardzero_test_data): New variable.
4552 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4553 (llrint_downward_test_data): New variable.
4554 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4555 (llrint_upward_test_data): New variable.
4556 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4557 (llround_test_data): New variable.
4558 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4559
f137ff13
PC
45602013-05-13 Peter Collingbourne <pcc@google.com>
4561
4562 * math/atest-exp2.c (get_log2): Remove const attribute.
4563
3608cb24
JM
45642013-05-15 Joseph Myers <joseph@codesourcery.com>
4565
4566 * math/libm-test.inc (struct test_f_l_data): New type.
4567 (RUN_TEST_LOOP_f_l): New macro.
4568 (lrint_test_data): New variable.
4569 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4570 (lrint_tonearest_test_data): New variable.
4571 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4572 (lrint_towardzero_test_data): New variable.
4573 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4574 (lrint_downward_test_data): New variable.
4575 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4576 (lrint_upward_test_data): New variable.
4577 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4578 (lround_test_data): New variable.
4579 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4580
39b1f617
PC
45812013-05-15 Peter Collingbourne <pcc@google.com>
4582
1deff3dc
PC
4583 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4584 (EXTRACT_WORDS64) Use where appropriate.
4585 (INSERT_WORDS64) Likewise.
4586
791f3ba0
PC
4587 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4588 constraints with x constraints.
4589 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4590
39b1f617
PC
4591 * malloc/obstack.c (_obstack_compat): Add initializer.
4592
12fba011
EM
45932013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4594
4595 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4596 si_trapno and add si_addr_lsb to _sifields.sigfault.
4597 (si_trapno): Remove macro.
4598 (si_addr_lsb): Define new macro.
4599 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4600
d369f531
JM
46012013-05-15 Joseph Myers <joseph@codesourcery.com>
4602
b861c6c4
JM
4603 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4604 instead of TEST_f_l.
4605 (llrint_test_tonearest): Likewise.
4606 (llrint_test_towardzero): Likewise.
4607 (llrint_test_downward): Likewise.
4608 (llrint_test_upward): Likewise.
4609 (llround_test): Likewise.
4610
7abeee12
JM
4611 * math/libm-test.inc (struct test_f_i_data): Add comment.
4612 (RUN_TEST_LOOP_f_b): New macro.
4613 (RUN_TEST_LOOP_f_b_tg): Likewise.
4614 (finite_test_data): New variable.
4615 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4616 (isfinite_test_data): New variable.
4617 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4618 (isinf_test_data): New variable.
4619 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4620 (isnan_test_data): New variable.
4621 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4622 (isnormal_test_data): New variable.
4623 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4624 (issignaling_test_data): New variable.
4625 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4626 (signbit_test_data): New variable.
4627 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4628
cbe8c4d3
JM
4629 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4630 with INVALID_EXCEPTION.
4631 (acosh_test_data): Likewise.
4632 (asin_test_data): Likewise.
4633 (atanh_test_data): Likewise.
4634 (fmod_test_data): Likewise.
4635 (log_test_data): Likewise.
4636 (log10_test_data): Likewise.
4637 (log2_test_data): Likewise.
4638 (pow_test_data): Likewise.
4639 (sqrt_test_data): Likewise.
4640 (y0_test_data): Likewise.
4641 (y1_test_data): Likewise.
4642 (yn_test_data): Likewise.
4643
5575c0e5
JM
4644 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4645 function contents.
4646
d369f531
JM
4647 * math/libm-test.inc (struct test_ff_i_data): New type.
4648 (RUN_TEST_LOOP_ff_i_tg): New macro.
4649 (isgreater_test_data): New variable.
4650 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4651 (isgreaterequal_test_data): New variable.
4652 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4653 (isless_test_data): New variable.
4654 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4655 (islessequal_test_data): New variable.
4656 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4657 (islessgreater_test_data): New variable.
4658 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4659 (isunordered_test_data): New variable.
4660 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4661
781fd748
DM
46622013-05-14 David S. Miller <davem@davemloft.net>
4663
4664 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4665
87aa21df
JM
46662013-05-14 Joseph Myers <joseph@codesourcery.com>
4667
5e908270
JM
4668 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4669
f71172e5
JM
4670 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4671 extra_test to int.
4672 (struct test_f_i_data): Change type of max_ulp to int.
4673
8cfa635a
JM
4674 * math/libm-test.inc (test_ffI_f1_data): New type.
4675 (RUN_TEST_LOOP_ffI_f1): New macro.
4676 (remquo_test_data): New variable.
4677 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4678
2bcb36b2
JM
4679 * setjmp/tst-setjmp-fp.c: New file.
4680 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4681 (link-libm): New variable.
4682 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4683
acbd839a
JM
4684 * math/libm-test.inc (struct test_f_i_data): New type.
4685 (RUN_TEST_LOOP_f_i): New macro.
4686 (RUN_TEST_LOOP_f_i_tg): Likewise.
4687 (fpclassify_test_data): New variable.
4688 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4689 (ilogb_test_data): New variable.
4690 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4691
e414d745
JM
4692 * math/libm-test.inc (scalbln_test): Correct function name in END
4693 call.
4694
d9c2a0fd
JM
4695 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4696 (RUN_TEST_LOOP_fI_f1): New macro.
4697 (frexp_test_data): New variable.
4698 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4699
9dc9095d
JM
4700 * math/libm-test.inc (struct test_fF_f1_data): New type.
4701 (RUN_TEST_LOOP_fF_f1): New macro.
4702 (modf_test_data): New variable.
4703 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4704
87aa21df
JM
4705 * math/libm-test.inc (struct test_f_f1_data): New type.
4706 (RUN_TEST_LOOP_f_f1): New macro.
4707 (gamma_test_data): New variable.
4708 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4709 (lgamma_test_data): New variable.
4710 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4711
141af660
CD
47122013-05-13 Carlos O'Donell <carlos@redhat.com>
4713
4714 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4715 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4716 (main): Comment "tls" pseudo-hwcap.
4717
6d33265c
JM
47182013-05-13 Joseph Myers <joseph@codesourcery.com>
4719
68fc074c
JM
4720 * math/libm-test.inc (struct test_fl_f_data): New type.
4721 (RUN_TEST_LOOP_fl_f): New variable.
4722 (scalbln_test_data): New variable.
4723 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4724
243216e1
JM
4725 * math/libm-test.inc (struct test_fi_f_data): New type.
4726 (RUN_TEST_LOOP_fi_f): New macro.
4727 (ldexp_test_data): New variable.
4728 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4729 (scalbn_test_data): New variable.
4730 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4731
6a1992e2
JM
4732 * math/libm-test.inc (struct test_c_f_data): New type.
4733 (RUN_TEST_LOOP_c_f): New macro.
4734 (cabs_test_data): New variable.
4735 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4736 (carg_test_data): New variable.
4737 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4738 (cimag_test_data): New variable.
4739 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4740 (creal_test_data): New variable.
4741 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4742
0e400df5
JM
4743 * math/libm-test.inc (struct test_if_f_data): New type.
4744 (RUN_TEST_LOOP_if_f): New macro.
4745 (jn_test_data): New variable.
4746 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4747 (yn_test_data): New variable.
4748 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4749
6d33265c
JM
4750 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4751
f98ece5f
AZ
47522013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4753
4754 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4755 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4756
0f7d347b
SP
47572013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4758
43fe811b
SP
4759 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4760 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4761 (bench-deps): Add bench-timing.h.
4762 * benchtests-bench-skeleton.c: Include bench-timing.h.
4763 (main): Use TIMING_* macros instead of clock_gettime.
4764 * benchtests/bench-timing.h: New file.
4765
0f7d347b
SP
4766 [BZ #14582]
4767 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4768 Renamed from _LIB_VERSION.
4769 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4770
601a3a5f
JM
47712013-05-12 Joseph Myers <joseph@codesourcery.com>
4772
4f184d30
JM
4773 * math/libm-test.inc (struct test_fff_f_data): New type.
4774 (RUN_TEST_LOOP_fff_f): New macro.
4775 (fma_test_data): New variable.
4776 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4777 (fma_towardzero_test_data): New variable.
4778 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4779 (fma_downward_test_data): New variable.
4780 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4781 (fma_upward_test_data): New variable.
4782 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4783
08198877
JM
4784 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4785 (struct test_c_c_data): New type.
4786 (RUN_TEST_LOOP_c_c): New macro.
4787 (cacos_test_data): New variable.
4788 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4789 (cacosh_test_data): New variable.
4790 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4791 (casin_test_data): New variable.
4792 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4793 (casinh_test_data): New variable.
4794 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4795 (catan_test_data): New variable.
4796 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4797 (catanh_test_data): New variable.
4798 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4799 (ccos_test_data): New variable.
4800 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4801 (ccosh_test_data): New variable.
4802 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4803 (cexp_test_data): New variable.
4804 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4805 (clog_test_data): New variable.
4806 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4807 (clog10_test_data): New variable.
4808 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4809 (conj_test_data): New variable.
4810 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4811 (cproj_test_data): New variable.
4812 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4813 (csin_test_data): New variable.
4814 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4815 (csinh_test_data): New variable.
4816 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4817 (csqrt_test_data): New variable.
4818 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4819 (ctan_test_data): New variable.
4820 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4821 (ctan_tonearest_test_data): New variable.
4822 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4823 (ctan_towardzero_test_data): New variable.
4824 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4825 (ctan_downward_test_data): New variable.
4826 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4827 (ctan_upward_test_data): New variable.
4828 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4829 (ctanh_test_data): New variable.
4830 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4831 (ctanh_tonearest_test_data): New variable.
4832 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4833 (ctanh_towardzero_test_data): New variable.
4834 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4835 (ctanh_downward_test_data): New variable.
4836 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4837 (ctanh_upward_test_data): New variable.
4838 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4839 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4840 of BUILD_COMPLEX.
4841
601a3a5f
JM
4842 * math/libm-test.inc (struct test_ff_f_data): New type.
4843 (struct test_ff_f_data_nexttoward): Likewise.
4844 (RUN_TEST_LOOP_2_f): New macro.
4845 (RUN_TEST_LOOP_ff_f): Likewise.
4846 (atan2_test_data): New variable.
4847 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4848 (copysign_test_data): New variable.
4849 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4850 (fdim_test_data): New variable.
4851 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4852 (fmax_test_data): New variable.
4853 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4854 (fmin_test_data): New variable.
4855 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4856 (fmod_test_data): New variable.
4857 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4858 (hypot_test_data): New variable.
4859 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4860 (nextafter_test_data): New variable.
4861 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4862 (nexttoward_test_data): New variable.
4863 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4864 (pow_test_data): New variable.
4865 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4866 (pow_tonearest_test_data): New variable.
4867 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4868 (pow_towardzero_test_data): New variable.
4869 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4870 (pow_downward_test_data): New variable.
4871 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4872 (pow_upward_test_data): New variable.
4873 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4874 (remainder_test_data): New variable.
4875 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4876 (scalb_test_data): New variable.
4877 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4878 * sysdeps/i386/fpu/libm-test-ulps: Update.
4879
74c57478
JM
48802013-05-11 Joseph Myers <joseph@codesourcery.com>
4881
8329e4da
JM
4882 * math/libm-test.inc (fma_test): Use max_value instead of local
4883 variable fltmax.
4884 (nextafter_test): Likewise.
4885
74c57478
JM
4886 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4887 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4888 (acos_downward_test_data): New variable.
4889 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4890 (acos_upward_test_data): New variable.
4891 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4892 (acosh_test_data): New variable.
4893 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4894 (asin_test_data): New variable.
4895 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4896 (asin_tonearest_test_data): New variable.
4897 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4898 (asin_towardzero_test_data): New variable.
4899 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4900 (asin_downward_test_data): New variable.
4901 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4902 (asin_upward_test_data): New variable.
4903 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4904 (asinh_test_data): New variable.
4905 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4906 (atan_test_data): New variable.
4907 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4908 (atanh_test_data): New variable.
4909 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4910 (cbrt_test_data): New variable.
4911 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4912 (ceil_test_data): New variable.
4913 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4914 (cos_test_data): New variable.
4915 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4916 (cos_tonearest_test_data): New variable.
4917 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4918 (cos_towardzero_test_data): New variable.
4919 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4920 (cos_downward_test_data): New variable.
4921 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4922 (cos_upward_test_data): New variable.
4923 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4924 (cosh_test_data): New variable.
4925 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4926 (cosh_tonearest_test_data): New variable.
4927 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4928 (cosh_towardzero_test_data): New variable.
4929 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4930 (cosh_downward_test_data): New variable.
4931 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4932 (cosh_upward_test_data): New variable.
4933 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4934 (erf_test_data): New variable.
4935 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4936 (erfc_test_data): New variable.
4937 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4938 (exp_test_data): New variable.
4939 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4940 (exp_tonearest_test_data): New variable.
4941 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4942 (exp_towardzero_test_data): New variable.
4943 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4944 (exp_downward_test_data): New variable.
4945 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4946 (exp_upward_test_data): New variable.
4947 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4948 (exp10_test_data): New variable.
4949 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4950 (exp2_test_data): New variable.
4951 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4952 (expm1_test_data): New variable.
4953 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4954 (fabs_test_data): New variable.
4955 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4956 (floor_test_data): New variable.
4957 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4958 (j0_test_data): New variable.
4959 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4960 (j1_test_data): New variable.
4961 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4962 (log_test_data): New variable.
4963 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4964 (log10_test_data): New variable.
4965 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4966 (log1p_test_data): New variable.
4967 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4968 (log2_test_data): New variable.
4969 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4970 (logb_test_data): New variable.
4971 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4972 (logb_downward_test_data): New variable.
4973 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4974 (nearbyint_test_data): New variable.
4975 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4976 (rint_test_data): New variable.
4977 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4978 (rint_tonearest_test_data): New variable.
4979 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4980 (rint_towardzero_test_data): New variable.
4981 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4982 (rint_downward_test_data): New variable.
4983 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4984 (rint_upward_test_data): New variable.
4985 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4986 (round_test_data): New variable.
4987 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4988 (sin_test_data): New variable.
4989 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4990 (sin_tonearest_test_data): New variable.
4991 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4992 (sin_towardzero_test_data): New variable.
4993 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4994 (sin_downward_test_data): New variable.
4995 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4996 (sin_upward_test_data): New variable.
4997 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4998 (sinh_test_data): New variable.
4999 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5000 (sinh_tonearest_test_data): New variable.
5001 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5002 (sinh_towardzero_test_data): New variable.
5003 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5004 (sinh_downward_test_data): New variable.
5005 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5006 (sinh_upward_test_data): New variable.
5007 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5008 (sqrt_test_data): New variable.
5009 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
5010 (tan_test_data): New variable.
5011 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
5012 (tan_tonearest_test_data): New variable.
5013 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5014 (tan_towardzero_test_data): New variable.
5015 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5016 (tan_downward_test_data): New variable.
5017 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5018 (tan_upward_test_data): New variable.
5019 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5020 (tanh_test_data): New variable.
5021 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
5022 (tgamma_test_data): New variable.
5023 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
5024 (trunc_test_data): New variable.
5025 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
5026 (y0_test_data): New variable.
5027 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
5028 (y1_test_data): New variable.
5029 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
5030 (significand_test_data): New variable.
5031 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
5032
7187d844
CG
50332013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
5034
5035 [BZ #12387]
5036 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
5037
f63fae73
PT
50382013-05-10 Pino Toscano <toscano.pino@tiscali.it>
5039
5040 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
5041
8a67a4b3
AJ
50422013-05-10 Andreas Jaeger <aj@suse.de>
5043
5044 [BZ #15448]
5045 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
5046 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
5047
51df539d
JM
50482013-05-10 Joseph Myers <joseph@codesourcery.com>
5049
5050 * math/gen-libm-test.pl (adjust_arg): New function.
5051 (special_functions): Handle generating output in both functions
5052 and arrays.
5053 (parse_args): Likewise.
5054 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
5055 $in_func argument to parse_args.
5056 * math/libm-test.inc (struct test_f_f_data): New type.
5057 (IF_ROUND_INIT_): New macro.
5058 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5059 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5060 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5061 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5062 (ROUND_RESTORE_): Likewise.
5063 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5064 (ROUND_RESTORE_FE_TONEAREST): Likewise.
5065 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5066 (ROUND_RESTORE_FE_UPWARD): Likewise.
5067 (RUN_TEST_LOOP_f_f): New macro.
5068 (acos_test_data): New variable.
5069 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5070 (acos_tonearest_test_data): New variable.
5071 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5072
5c637fe5
SP
50732013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5074
5075 * benchtests/bench-skeleton.c (startup): Fix coding style.
5076
ab2b9461
JM
50772013-05-10 Joseph Myers <joseph@codesourcery.com>
5078
5079 [BZ #6809]
5080 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5081 negative infinity argument.
5082 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5083 negative infinity argument.
5084 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5085 negative infinity argument.
5086 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5087 domain errors.
5088
4c0fe6fe
FW
50892013-05-10 Florian Weimer <fweimer@redhat.com>
5090
5091 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5092 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5093 * iconv/iconv_prog.c (main): Likewise.
5094 * locale/programs/charmap-dir.c (charmap_readdir)
5095 (fopen_uncompressed): Likewise.
5096 * locale/programs/locfile.c (siblings_uncached)
5097 (write_locale_data): Use lstat64 instead of lstat.
5098 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5099 stat.
5100
a3375d29
AJ
51012013-05-10 Andreas Jaeger <aj@suse.de>
5102
5103 [BZ #15395]
5104 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5105 localization.
5106 Include <locale.h>.
5107
36129722
CD
51082013-05-09 Carlos O'Donell <carlos@redhat.com>
5109
5110 * elf/dl-close.c (_dl_close_worker): Add comments.
5111
faa7f811
JM
51122013-05-09 Joseph Myers <joseph@codesourcery.com>
5113
ed41ffef
JM
5114 [BZ #15359]
5115 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5116 high part of pi/2.
5117 (__ieee754_rem_pio2l): Update comments.
5118
d0213cd0
JM
5119 [BZ #15429]
5120 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5121 high part of pi/2.
5122 (__ieee754_rem_pio2l): Update comments.
5123
0d3e777a
JM
5124 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5125 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5126
24f56066
JM
5127 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5128 M_PI_4l.
5129
faa7f811
JM
5130 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5131 (M_PI_34_LOG10El): Likewise.
5132 (M_PI2_LOG10El): Likewise.
5133 (M_PI4_LOG10El): Likewise.
5134 (M_PI_LOG10El): Likewise.
5135
e9a5e0fd
AZ
51362013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5137
5138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5139
d8cd06db
JM
51402013-05-08 Joseph Myers <joseph@codesourcery.com>
5141
a0d9f9d7
JM
5142 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5143 (MINUS_ZERO_INIT): Likewise.
5144 (PLUS_INFTY_INIT): Likewise.
5145 (MINUS_INFTY_INIT): Likewise.
5146 (QNAN_VALUE_INIT): Likewise.
5147 (MAX_VALUE_INIT): Likewise.
5148 (MIN_VALUE_INIT): Likewise.
5149 (MIN_SUBNORM_VALUE_INIT): Likewise.
5150 (plus_zero): Initialize with PLUS_ZERO_INIT.
5151 (minus_zero): Initialize with MINUS_ZERO_INIT.
5152 (plus_infty): Initialize with PLUS_INFTY_INIT.
5153 (minus_infty): Initialize with MINUS_INFTY_INIT.
5154 (qnan_value): Initialize with QNAN_VALUE_INIT.
5155 (max_value): Initialize with MAX_VALUE_INIT.
5156 (min_value): Initialize with MIN_VALUE_INIT.
5157 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5158
ae08db3b
JM
5159 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5160 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5161 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5162 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5163
f44bf14a
JM
5164 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5165 (RUN_TEST_2_f): Likewise.
5166 (RUN_TEST_ff_f): Likewise.
5167 (RUN_TEST_fi_f): Likewise.
5168 (RUN_TEST_fl_f): Likewise.
5169 (RUN_TEST_fff_f): Likewise.
5170 (RUN_TEST_c_f): Likewise.
5171 (RUN_TEST_f_f1): Likewise.
5172 (RUN_TEST_fF_f1): Likewise.
5173 (RUN_TEST_fI_f1): Likewise.
5174 (RUN_TEST_ffI_f1): Likewise.
5175 (RUN_TEST_c_c): Likewise.
5176 (RUN_TEST_cc_c): Likewise.
5177 (RUN_TEST_f_i): Likewise.
5178 (RUN_TEST_f_i_tg): Likewise.
5179 (RUN_TEST_ff_i_tg): Likewise.
5180 (RUN_TEST_f_b): Likewise.
5181 (RUN_TEST_f_b_tg): Likewise.
5182 (RUN_TEST_f_l): Likewise.
5183 (RUN_TEST_f_L): Likewise.
5184 (RUN_TEST_sincos): Likewise.
5185 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5186 whether to show exceptions. Do not include ");\n" in return
5187 value.
5188 (special_functions): Output call to RUN_TEST_sincos instead of
5189 check_float calls. Update calls to new_test.
5190 (parse_args): Output call to single RUN_TEST_* macro instead of
5191 check_* calls and other assignments. Update calls to new_test.
5192
d8cd06db
JM
5193 [BZ #2546]
5194 [BZ #2560]
5195 [BZ #5159]
5196 [BZ #15426]
5197 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5198 input to result for tgamma overflow.
5199 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5200 (gamma_coeff): New variable.
5201 (NCOEFF): New macro.
5202 (gamma_positive): New function.
5203 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5204 underflow here. Use gamma_positive instead of exp (lgamma) for
5205 other arguments.
5206 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5207 (gamma_coeff): New variable.
5208 (NCOEFF): New macro.
5209 (gammaf_positive): New function.
5210 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5211 underflow here. Use gamma_positive instead of exp (lgamma) for
5212 other arguments.
5213 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5214 (gamma_coeff): New variable.
5215 (NCOEFF): New macro.
5216 (gammal_positive): New function.
5217 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5218 underflow here. Use gamma_positive instead of exp (lgamma) for
5219 other arguments.
5220 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5221 (gamma_coeff): New variable.
5222 (NCOEFF): New macro.
5223 (gammal_positive): New function.
5224 (__ieee754_gammal_r): Handle positive infinity, overflow and
5225 underflow here. Handle NaN the same as positive infinity. Remove
5226 check x < 0xffffffff for negative integers. Use gamma_positive
5227 instead of exp (lgamma) for other arguments.
5228 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5229 (gamma_coeff): New variable.
5230 (NCOEFF): New macro.
5231 (gammal_positive): New function.
5232 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5233 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5237 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5238 * sysdeps/generic/math_private.h (__gamma_productf): New
5239 prototype.
5240 (__gamma_product): Likewise.
5241 (__gamma_productl): Likewise.
5242 * math/Makefile (libm-calls): Add gamma_product.
5243 * math/libm-test.inc (tgamma_test): Add more tests.
5244 * sysdeps/i386/fpu/libm-test-ulps: Update.
5245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5246
bb7cf681
OB
52472013-05-08 Ondřej Bílka <neleai@seznam.cz>
5248
5249 * benchtests/bench-skeleton.c (main): Preheat CPU.
5250
ba853947
AJ
52512013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5252
5253 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5254
8347c74c
RM
52552013-05-07 Roland McGrath <roland@hack.frob.com>
5256
5257 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5258 and _dl_skip_args_internal.
5259
e8dd4791
CD
52602013-05-07 Carlos O'Donell <carlos@redhat.com>
5261
5262 * manual/message.texi (Message Translation): Talk about users.
5263 Message to key mapping impacts design.
5264
c7405830
RM
52652013-05-06 Roland McGrath <roland@hack.frob.com>
5266
a9173057
RM
5267 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5268
976e2f03
RM
5269 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5270
9723ffc5
RM
5271 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5272 * sysdeps/wordsize-64/glob64.c: ... here.
5273
962e6658
RM
5274 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5275 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5276 New macros.
5277
ee586a6d
RM
5278 * debug/getlogin_r_chk.c: Moved to ...
5279 * login/getlogin_r_chk.c: ... here.
5280 * debug/Makefile (routines): Move getlogin_r_chk to ...
5281 * login/Makefile (routines): ... here.
5282 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5283 * login/Versions (libc: GLIBC_2.4): ... here.
5284
355f9165
RM
5285 * io/poll.c (__poll): Renamed from poll.
5286 Add libc_hidden_def.
5287 (poll): Define as weak alias.
5288
bd9ffde6
RM
5289 * debug/ptsname_r_chk.c: Moved to ...
5290 * login/ptsname_r_chk.c: ... here.
5291 * debug/Makefile (routines): Move ptsname_r_chk to ...
5292 * login/Makefile (routines): ... here.
5293 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5294 * login/Versions (libc: GLIBC_2.4): ... here.
5295
8fb16a04
RM
5296 * posix/getlogin.c: Moved to ...
5297 * login/getlogin.c: ... here.
5298 * posix/getlogin_r.c: Moved to ...
5299 * login/getlogin_r.c: ... here.
5300 * posix/getlogin_r.c: Moved to ...
5301 * login/getlogin_r.c: ... here.
5302 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5303 * login/Makefile (routines): ... here.
5304 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5305 * login/Versions (libc: GLIBC_2.0): ... here.
5306
b99b892f
RM
5307 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5308 (setrlimit): Define as weak alias.
5309
c7405830
RM
5310 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5311 Call __ names for open, ftruncate, and close.
5312 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5313 (truncate): Define as weak alias.
5314
5bf96de5
JM
53152013-05-06 Joseph Myers <joseph@codesourcery.com>
5316
9ea3513c
JM
5317 * math/gen-libm-test.pl (parse_args): Initialize x before each
5318 test of frexp, modf and remquo.
5319
5bf96de5
JM
5320 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5321 test signgam value.
5322
16e616a7
AZ
53232013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5324
5325 [BZ #15418]
5326 [BZ #15419]
5327 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5328 internal tests.
5329 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5330
d5e82754
RM
53312013-05-06 Roland McGrath <roland@hack.frob.com>
5332
5333 * elf/dl-writev.h: New file.
5334 * elf/dl-misc.c: Include it.
5335 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5336 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5337
a7548d41
JM
53382013-05-04 Joseph Myers <joseph@codesourcery.com>
5339
b7dab1e4
JM
5340 * math/libm-test.inc (noXFails): Remove variable.
5341 (noXPasses): Likewise.
5342 (BUILD_COMPLEX_INT): Remove macro.
5343 (print_screen): Remove xfail argument.
5344 (print_screen_max_error): Likewise.
5345 (update_stats): Likewise.
5346 (print_max_error): Likewise. Update calls to other affected
5347 functions.
5348 (print_complex_max_error): Likewise.
5349 (test_single_exception): Update calls to print_screen.
5350 (test_single_errno): Likewise.
5351 (check_float_internal): Remove xfail argument. Update calls to
5352 other affected functions.
5353 (check_float): Likewise.
5354 (check_complex): Likewise.
5355 (check_int): Likewise.
5356 (check_long): Likewise.
5357 (check_bool): Likewise.
5358 (check_longlong): Likewise.
5359 (main): Don't print noXFails and noXPasses.
5360 * math/gen-libm-test.pl (top level): Don't mention expected
5361 failure handling in comment.
5362 (new_test): Don't handle expected failures.
5363 (parse_args): Don't mention expected failure handling in comment.
5364 (generate_testfile): Don't handle expected failures.
5365 (parse_ulps): Likewise.
5366 (print_ulps_file): Likewise.
5367 (get_failure): Remove function.
5368 (output_test): Don't handle expected failures.
5369 * make/README.libm-test: Don't mention expected failure handling.
5370
a7548d41
JM
5371 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5372 (minus_zero): Likewise.
5373 (plus_infty): Likewise.
5374 (minus_infty): Likewise.
5375 (qnan_value): Likewise.
5376 (max_value): Likewise.
5377 (min_value): Likewise.
5378 (min_subnorm_value): Likewise.
5379 (initialize): Do not initialize those variables dynamically.
5380
60bfd54c
RM
53812013-05-03 Roland McGrath <roland@hack.frob.com>
5382
cc0e6ed8
RM
5383 * io/open.c (__open_2): Moved to ...
5384 * io/open_2.c: ... this new file.
5385 * io/open64.c (__open64_2): Moved to ...
5386 * io/open64_2.c: ... this new file.
5387 * io/openat.c (__openat_2): Moved to ...
5388 * io/openat_2.c: ... this new file.
5389 * io/openat64.c (__openat64_2): Moved to ...
5390 * io/openat64_2.c: ... this new file.
5391 * io/Makefile (routines): Add them.
5392 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5393 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5394 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5395 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5396 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5397 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5398 (__openat64): Add hidden_ver.
5399 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5400 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5401
60bfd54c
RM
5402 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5403 Separately conditionalize setting of GLRO(dl_sysinfo) so
5404 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5405 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5406
83e7640f
AZ
54072013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5408
5409 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5410 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5411 definition.
5412 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5413 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5414 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5415 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5416 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5417
d5dc2af3
JM
54182013-05-03 Joseph Myers <joseph@codesourcery.com>
5419
c31a5b1e
JM
5420 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5421 test signgam value.
5422
d5dc2af3
JM
5423 * math/libm-test.inc (hypot_test): Do not use
5424 IGNORE_ZERO_INF_SIGN.
5425
164fd39d
AJ
54262013-05-03 Andreas Jaeger <aj@suse.de>
5427
5428 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5429 Linux 3.9.
5430 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5431 (PF_MAX): Adjust for VSOCK change.
5432
8237f48c
AZ
54332013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5434
5435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5436
9df02941
CD
54372013-05-02 Carlos O'Donell <carlos@redhat.com>
5438
5439 [BZ #15264]
5440 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5441 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5442 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5443
d422395e
DM
54442013-05-02 David S. Miller <davem@davemloft.net>
5445
5446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5447
a07c5731
OB
54482013-05-01 Ondřej Bílka <neleai@seznam.cz>
5449
5450 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5451
1324e37f
RM
54522013-05-01 Roland McGrath <roland@hack.frob.com>
5453
5454 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5455
0695940b
RS
54562013-05-01 Richard Smith <richard@metafoo.co.uk>
5457
bb5f27ad 5458 [BZ #14952]
0695940b
RS
5459 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5460 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5461 Use __attribute__ ((__gnu_inline__)).
5462 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5463 Don't use __attribute__ ((__gnu_inline__)).
5464
10de07f5
JM
54652013-05-01 Joseph Myers <joseph@codesourcery.com>
5466
5467 [BZ #15423]
5468 * math/s_catan.c (__catan): Handle small real or imaginary part of
5469 input specially to avoid spurious underflow.
5470 * math/s_catanf.c (__catanf): Likewise.
5471 * math/s_catanh.c (__catanh): Likewise.
5472 * math/s_catanhf.c (__catanhf): Likewise.
5473 * math/s_catanhl.c (__catanhl): Likewise.
5474 * math/s_catanl.c (__catanl): Likewise.
5475 * math/libm-test.inc (catan_test): Add more tests.
5476 (catanh_test): Likewise.
5477 * sysdeps/i386/fpu/libm-test-ulps: Update.
5478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5479
cb4d5414
AZ
54802013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481
5482 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5483
caf84319
JM
54842013-04-30 Joseph Myers <joseph@codesourcery.com>
5485
5486 [BZ #15416]
5487 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5488 accurately for denominator in atan2.
5489 * math/s_catanf.c (__catanf): Likewise.
5490 * math/s_catanh.c (__catanh): Likewise.
5491 * math/s_catanhf.c (__catanhf): Likewise.
5492 * math/s_catanhl.c (__catanhl): Likewise.
5493 * math/s_catanl.c (__catanl): Likewise.
5494 * math/libm-test.inc (catan_test): Add more tests.
5495 (catanh_test): Likewise.
5496 * sysdeps/i386/fpu/libm-test-ulps: Update.
5497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5498
d569c6ee
SP
54992013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5500
6dbe713d
SP
5501 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5502
f0ee064b
SP
5503 * benchtests/Makefile (bench): Remove slow benchmarks.
5504 * benchtests/atan-inputs: Add slow benchmark inputs.
5505 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5506 (BENCH_FUNC): Accept variant offset.
5507 (VARIANT): Define.
5508 * benchtests/bench-skeleton.c (main): Run benchmark for each
5509 variant.
5510 * benchtests/cos-inputs: Add slow benchmark inputs.
5511 * benchtests/exp-inputs: Likewise.
5512 * benchtests/pow-inputs: Likewise.
5513 * benchtests/sin-inputs: Likewise.
5514 * benchtests/slowatan-inputs: Remove.
5515 * benchtests/slowatan.c: Remove.
5516 * benchtests/slowcos-inputs: Remove.
5517 * benchtests/slowcos.c: Remove.
5518 * benchtests/slowexp-inputs: Remove.
5519 * benchtests/slowexp.c: Remove.
5520 * benchtests/slowpow-inputs: Remove.
5521 * benchtests/slowpow.c: Remove.
5522 * benchtests/slowsin-inputs: Remove.
5523 * benchtests/slowsin.c: Remove.
5524 * benchtests/slowtan-inputs: Remove.
5525 * benchtests/slowtan.c: Remove.
5526 * benchtests/tan-inputs: Add slow benchmark inputs.
5527 * scripts/bench.pl: Parse comments and directives.
5528
d569c6ee
SP
5529 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5530 in CPPFLAGS.
5531 ($(objpfx)bench-%.c): Remove *-ITER.
5532 * benchtests/bench-modf.c: Remove definition of ITER.
5533 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5534 (main): Loop for DURATION seconds instead of fixed number of
5535 iterations.
5536 * scripts/bench.pl: Don't expect iterations in parameters.
5537
a6a242fe
RM
55382013-04-29 Roland McGrath <roland@hack.frob.com>
5539
5540 * io/fchdir.c (__fchdir): Renamed from fchdir.
5541 (fchdir): Define as weak alias.
5542
f2da7793
JM
55432013-04-29 Joseph Myers <joseph@codesourcery.com>
5544
5545 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5546 (ERRNO_EDOM): Likewise.
5547 (ERRNO_ERANGE): Likewise.
5548 (noErrnoTests): New variable.
5549 (init_max_error): Set errno to 0.
5550 (test_single_errno): New function.
5551 (test_errno): Likewise.
5552 (check_float_internal): Call test_errno. Set errno to 0.
5553 (check_complex): Refer to errno tests in comment.
5554 (check_int): Call test_errno. Set errno to 0.
5555 (check_long): Likewise.
5556 (check_bool): Likewise.
5557 (check_longlong): Likewise.
5558 (cos_test): Use ERRNO_* flags for errno tests instead of
5559 check_int.
5560 (expm1_test): Likewise.
5561 (fmod_test): Likewise.
5562 (ilogb_test): Likewise.
5563 (lgamma_test): Likewise.
5564 (pow_test): Likewise.
5565 (remainder_test): Likewise.
5566 (sin_test): Likewise.
5567 (tan_test): Likewise.
5568 (yn_test): Likewise.
5569 (initialize): Set errno to 0.
5570 (main): Print number of errno tests.
5571 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5572
b1a36ceb
AJ
55732013-04-29 Andreas Jaeger <aj@suse.de>
5574
c3ed8088
AJ
5575 [BZ #15084]
5576 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5577 and RES_USEVC.
5578
f1a24198
AJ
5579 [BZ #15085]
5580 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5581 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5582 unimplemented.
5583
9ce3b2cb
AJ
5584 [BZ #15380]
5585 * stdlib/random.c (__initstate): Return NULL if
5586 __initstate fails.
5587
f1a24198 5588 [BZ #15086]
b1a36ceb
AJ
5589 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5590 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5591 RES_SNGLKUPREOP.
5592
7e7b6f36
AZ
55932013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5594
5595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5596
4d14f449
JM
55972013-04-29 Joseph Myers <joseph@codesourcery.com>
5598
5599 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5600 of individual tests.
5601 (casin_test): Likewise.
5602 (casinh_test): Likewise.
5603
5b4217d7
JM
56042013-04-27 Joseph Myers <joseph@codesourcery.com>
5605
5606 [BZ #15409]
5607 * math/s_catan.c (__catan): Handle arguments with large real or
5608 imaginary part separately without squaring.
5609 * math/s_catanf.c (__catanf): Likewise.
5610 * math/s_catanh.c (__catanh): Likewise.
5611 * math/s_catanhf.c (__catanhf): Likewise.
5612 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5613 and redefine.
5614 (__catanhl): Handle arguments with large real or imaginary part
5615 separately without squaring.
5616 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5617 and redefine.
5618 (__catanl): Handle arguments with large real or imaginary part
5619 separately without squaring.
5620 * math/libm-test.inc (catan_test): Add more tests.
5621 (catanh_test): Likewise.
5622 * sysdeps/i386/fpu/libm-test-ulps: Update.
5623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5624
4220c3ef
AJ
56252013-04-27 Andreas Jaeger <aj@suse.de>
5626
5627 [BZ #15007]
5628 * stdlib/stdlib.h: Update guards for qecvt.
5629 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5630 <stdlib.h>.
5631
4721b2d1
AM
56322013-04-27 Allan McRae <allan@archlinux.org>
5633
5634 * sysdeps/i386/fpu/libm-test-ulps: Update.
5635
f0302940
JM
56362013-04-26 Joseph Myers <joseph@codesourcery.com>
5637
9457fd95
JM
5638 [BZ #15406]
5639 * math/s_catan.c: Include <float.h>.
5640 (__catan): Ensure underflow exception occurs for underflowed
5641 result.
5642 * math/s_catanf.c: Include <float.h>.
5643 (__catanf): Ensure underflow exception occurs for underflowed
5644 result.
5645 * math/s_catanh.c: Include <float.h>.
5646 (__catanh): Ensure underflow exception occurs for underflowed
5647 result.
5648 * math/s_catanhf.c: Include <float.h>.
5649 (__catanhf): Ensure underflow exception occurs for underflowed
5650 result.
5651 * math/s_catanhl.c: Include <float.h>.
5652 (__catanhl): Ensure underflow exception occurs for underflowed
5653 result.
5654 * math/s_catanl.c: Include <float.h>.
5655 (__catanl): Ensure underflow exception occurs for underflowed
5656 result.
5657 * math/libm-test.inc (catan_test): Add more tests.
5658 (catanh_test): Likewise.
5659
f0302940
JM
5660 [BZ #15405]
5661 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5662 underflowed result.
5663 * math/s_ccoshf.c (__ccoshf): Likewise.
5664 * math/s_ccoshl.c (__ccoshl): Likewise.
5665 * math/s_csin.c (__csin): Likewise.
5666 * math/s_csinf.c (__csinf): Likewise.
5667 * math/s_csinh.c (__csinh): Likewise.
5668 * math/s_csinhf.c (__csinhf): Likewise.
5669 * math/s_csinhl.c (__csinhl): Likewise.
5670 * math/s_csinl.c (__csinl): Likewise.
5671 * math/libm-test.inc (ccos_test): Add more tests.
5672 (ccosh_test): Likewise.
5673 (csin_test): Likewise.
5674 (csinh_test): Likewise.
5675
aa630f59
AZ
56762013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5677
5678 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5679 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5680 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5681 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5682 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5683 powerpc/power5+/fpu folders.
5684 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5685
5686
1b835983
MT
56872013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5688
5689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5690
73709b26
JM
56912013-04-25 Joseph Myers <joseph@codesourcery.com>
5692
5693 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5694 additions to variable.
5695 [$(config-machine) = x86_64] (modules-names): Likewise.
5696 ($(objpfx)tst-audit3): Remove dependency.
5697 ($(objpfx)tst-audit3.out): Likewise.
5698 ($(objpfx)tst-audit4): Likewise.
5699 ($(objpfx)tst-audit4.out): Likewise.
5700 ($(objpfx)tst-audit5): Likewise.
5701 ($(objpfx)tst-audit5.out): Likewise.
5702 ($(objpfx)tst-audit6): Likewise.
5703 ($(objpfx)tst-audit6.out): Likewise.
5704 ($(objpfx)tst-audit7): Likewise.
5705 ($(objpfx)tst-audit7.out): Likewise.
5706 (tst-audit3-ENV): Remove variable.
5707 (tst-audit4-ENV): Likewise.
5708 (tst-audit5-ENV): Likewise.
5709 (tst-audit6-ENV): Likewise.
5710 (tst-audit7-ENV): Likewise.
5711 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5712 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5713 addition to variable.
5714 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5715 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5716 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5717 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5718 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5719 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5720 tst-audit3, tst-audit4 and tst-audit5.
5721 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5722 tst-audit6 and tst-audit7.
5723 [$(subdir) = elf] (modules-names): Add audit modules for those
5724 tests.
5725 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5726 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5727 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5728 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5729 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5730 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5731 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5732 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5733 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5734 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5735 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5736 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5737 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5738 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5739 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5740 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5741 Likewise.
5742 [$(subdir) = elf && $(config-cflags-avx) = yes]
5743 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5744 [$(subdir) = elf && $(config-cflags-avx) = yes]
5745 (CFLAGS-tst-auditmod4a.c): Likewise.
5746 [$(subdir) = elf && $(config-cflags-avx) = yes]
5747 (CFLAGS-tst-auditmod4b.c): Likewise.
5748 [$(subdir) = elf && $(config-cflags-avx) = yes]
5749 (CFLAGS-tst-auditmod6b.c): Likewise.
5750 [$(subdir) = elf && $(config-cflags-avx) = yes]
5751 (CFLAGS-tst-auditmod6c.c): Likewise.
5752 [$(subdir) = elf && $(config-cflags-avx) = yes]
5753 (CFLAGS-tst-auditmod7b.c): Likewise.
5754 * elf/tst-audit3.c: Move to ...
5755 * sysdeps/x86_64/tst-audit3.c: ... here.
5756 * elf/tst-audit4.c: Move to ...
5757 * sysdeps/x86_64/tst-audit4.c: ... here.
5758 * elf/tst-audit5.c: Move to ...
5759 * sysdeps/x86_64/tst-audit5.c: ... here.
5760 * elf/tst-audit6.c: Move to ...
5761 * sysdeps/x86_64/tst-audit6.c: ... here.
5762 * elf/tst-audit7.c: Move to ...
5763 * sysdeps/x86_64/tst-audit7.c: ... here.
5764 * elf/tst-auditmod3a.c: Move to ...
5765 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5766 * elf/tst-auditmod3b.c: Move to ...
5767 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5768 * elf/tst-auditmod4a.c: Move to ...
5769 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5770 * elf/tst-auditmod4b.c: Move to ...
5771 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5772 * elf/tst-auditmod5a.c: Move to ...
5773 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5774 * elf/tst-auditmod5b.c: Move to ...
5775 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5776 * elf/tst-auditmod6a.c: Move to ...
5777 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5778 * elf/tst-auditmod6b.c: Move to ...
5779 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5780 * elf/tst-auditmod6c.c: Move to ...
5781 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5782 * elf/tst-auditmod7a.c: Move to ...
5783 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5784 * elf/tst-auditmod7b.c: Move to ...
5785 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5786
1ef74943
PP
57872013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5788
5789 [BZ #15366]
5790 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5791 define unconditionally.
5792 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5793 define unconditionally.
5794 (INT8_C, INT16_C, etc.): Likewise.
5795
93fd48c5
MR
57962013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5797
ae9552cf
MR
5798 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5799 __ehdr_start with hidden visibility.
5800
93fd48c5
MR
5801 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5802
418601aa
CD
58032013-04-24 Carlos O'Donell <carlos@redhat.com>
5804
5805 * math/libm-test.inc (cos_test): Use accurate hex constants.
5806 (sincost_test): Likewise.
5807
2f38fbfe
JM
58082013-04-24 Joseph Myers <joseph@codesourcery.com>
5809
5e221800
JM
5810 * math/libm-test.inc (catan_test): Add more tests.
5811 (catanh_test): Likewise.
5812
77f143fd
JM
5813 * math/s_catanf.c (__catanf): Use suffixed floating-point
5814 constants.
5815 * math/s_catanhf.c (__catanhf): Likewise.
5816 * math/s_catanhl.c (__catanhl): Likewise.
5817 * math/s_catanl.c (__catanl): Likewise.
5818
2f38fbfe
JM
5819 [BZ #15394]
5820 * math/s_catan.c (__catan): Calculate imaginary part of result
5821 with log1p not log unless computing log of number close to 0.
5822 * math/s_catanf.c (__catanf): Likewise.
5823 * math/s_catanl.c (__catanl): Likewise.
5824 * math/s_catanh.c (__catanh): Calculate real part of result with
5825 log1p not log unless computing log of number close to 0.
5826 * math/s_catanhf.c (__catanhf): Likewise.
5827 * math/s_catanhl.c (__catanhl): Likewise.
5828 * math/libm-test.inc (catan_test): Add more tests.
5829 (catanh_test): Likewise.
5830 * sysdeps/i386/fpu/libm-test-ulps: Update.
5831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5832
45d69176
SP
58332013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5834
5835 * benchtests/Makefile: Mention files in which fast and slow
5836 paths of math functions are implemented.
5837
87f51853
RM
58382013-04-23 Roland McGrath <roland@hack.frob.com>
5839
5840 * sysdeps/posix/timespec_get.c: New file.
5841
3c026539
AZ
58422013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5843
5844 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5845 POWER.
5846 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5847 for POWER.
5848 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5849 powerpc/power5/fpu folders.
5850 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5851 * benchtests/Makefile: Add modf testcase.
5852 * benchtests/bench-modf.c: New file: Benchmark test for mo
5853
ff491d14
SP
58542013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5855
5856 [BZ #14888]
5857 * time/Makefile (tests): Add tst-strptime-whitespace.
5858 * time/strptime_l.c (get_number): Use ISSPACE.
5859 (__strptime_internal): Likewise.
5860 * time/tst-strptime-whitespace.c: New test case.
5861
7ed3f4e8
AS
58622013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5863
5864 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5865 member.
5866 (_nss_files_init): Set it here.
5867
5c95f7b6
HC
58682013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5869
5870 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5871 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5872 unsigned.
5873
d34c9158
JBG
58742013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5875
5876 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5877
2169712d
SP
58782013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5879
5880 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5881 size just once.
5882
29c5de99
DM
58832013-04-21 David S. Miller <davem@davemloft.net>
5884
5885 * po/ru.po: Update Russion translation from translation project.
5886
ccdad15d
AC
58872013-04-17 Adam Conrad <adconrad@0c3.net>
5888
5889 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5890 and setfsgid.
5891
0f122b8d
CD
58922013-04-17 Carlos O'Donell <carlos@redhat.com>
5893
5c5b07da 5894 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5895 * configure: Regenerate.
5c5b07da 5896 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5897 Add example to error message.
5898 * sysdeps/i386/configure: Regenerate.
5899
037714dd
SP
59002013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5901
5902 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5903 slowtan.
5904 * benchtests/cos-inputs: New file.
5905 * benchtests/slowcos-inputs: New file.
5906 * benchtests/slowcos.c: New file.
5907 * benchtests/slowtan-inputs: New file.
5908 * benchtests/slowtan.c: New file.
5909 * benchtests/tan-inputs: New file.
5910
e913141d
RM
59112013-04-16 Roland McGrath <roland@hack.frob.com>
5912
5913 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5914 considered kosher.
5915
a2964074
SP
59162013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5917
4856bcd2
SP
5918 * benchtests/Makefile: Include cppflags-iterator.mk to add
5919 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5920
a2964074
SP
5921 * Makefile.in (bench-clean): New target.
5922 * benchtests/Makefile (bench-clean): Likewise.
5923
9fbf9aca
DH
59242013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5925
5926 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5927
207d1e2a
TS
59282013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5929
5930 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5931
306dfba9
AS
59322013-04-15 Andreas Schwab <schwab@suse.de>
5933
5934 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5936 * nscd/pwdcache.c (cache_addpw): Likewise.
5937 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5938 more than recsize.
5939
206a6699
SP
59402013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5941
5942 * benchtests/Makefile (bench): Write all output to
5943 bench-out.tmp together.
5944
0582f6b3
AS
59452013-04-15 Andreas Schwab <schwab@suse.de>
5946
5947 * nscd/nscd.c (main): Don't fork again after closing files.
5948
acb4325f
SP
59492013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5950
5cb26d0a
SP
5951 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5952
acb4325f
SP
5953 * benchtests/Rules (bench-deps): Collect dependencies into a
5954 single variable. Add Makefile to dependencies.
5955 ($(objpfx)bench-%.c): Depend on bench-deps.
5956
47792506
RM
59572013-04-12 Roland McGrath <roland@hack.frob.com>
5958 Xavier Roche <roche+kml2@exalead.com>
5959
5960 [BZ #15361]
5961 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5962 just that it's a file descriptor.
5963 * manual/llio.texi (Synchronizing AIO Operations): Update description
5964 for EBADF error from aio_fsync.
5965
8fc1bee5
SP
59662013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5967
5968 * Rules (bench): Move target definition...
5969 * benchtests/Makefile: ... here.
5970
aba5e333
CD
59712013-04-11 Carlos O'Donell <carlos@redhat.com>
5972
5973 * math/libm-test.inc (cos_test): Fix PI/2 test.
5974 (sincos_test): Likewise.
5975 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5976 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5977
273cdee8
AS
59782013-04-11 Andreas Schwab <schwab@suse.de>
5979
6ecec3b6
AS
5980 [BZ #13988]
5981 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5982 accept exponent character only when digits were seen.
5983 * stdio-common/Makefile (tests): Add bug26.
5984 * stdio-common/bug26.c: New file.
5985
273cdee8
AS
5986 [BZ #14293]
5987 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5988 non-freeable.
5989
8da491f5
SP
59902013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5991
01dc6df9
SP
5992 * Makeconfig (rtld-prefix): Define built linker prefix.
5993 * Rules (run-bench): Use it.
5994 * math/Makefile (run-regen-ulps): Likewise.
5995
8da491f5
SP
5996 * Rules (bench): Remove eval.
5997
abe7f530
SP
59982013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5999 Roland McGrath <roland@hack.frob.com>
6000 Ondrej Bilka <neleai@seznam.cz>
6001
6002 [BZ #15346]
6003 * time/getdate.c: Include ctype.h and alloca.h.
6004 (__getdate_r): Trim leading and trailing spaces of input.
6005 * time/tst-getdate.c (tests): Add tests with leading and
6006 trailing spaces.
6007
61c23e62
RM
60082013-04-08 Roland McGrath <roland@hack.frob.com>
6009
6010 [BZ #14280]
6011 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
6012 when computing value.
6013
7208a313
CD
60142013-04-06 Carlos O'Donell <carlos@redhat.com>
6015
085b2d41
CD
6016 * math/README.libm-test (How can I generate "libm-test-ulps"?):
6017 Use testrun.sh to run libm tests.
6018
7208a313
CD
6019 [BZ #15309]
6020 * elf/dl-open.c (dl_open_worker): memset all of seen array.
6021
872c0acd
MM
60222013-04-06 Marko Myllynen <myllynen@redhat.com>
6023
6024 [BZ #15264]
6025 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
6026
26510bdd
CD
60272013-04-06 Carlos O'Donell <carlos@redhat.com>
6028
6029 * Makefile.in (regen-ulps): New target.
6030 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
6031 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6032 [ifneq (no,$(PERL)] (regen-ulps): New target.
6033 [ifeq (no,$(PERL)] (regen-ulps): New target.
6034 * math/libm-test.inc (ulps_file_name): Define.
6035 (output_dir): New variable.
6036 (options): Add "output-dir" option.
6037 (parse_opt): Handle 'o' case.
6038 (main): If output_dir is non-NULL use it as a prefix
6039 otherwise use "".
6040 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
6041
a01f19c8
CD
60422013-04-06 Carlos O'Donell <carlos@redhat.com>
6043
6044 [BZ #10060, #10062]
6045 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
6046 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
6047 fail configure if __sync_val_compare_and_swap is not inlined.
6048 * sysdeps/i386/configure: Regenerate.
6049 * configure.in: Build for i686 when configured for i386.
6050 * configure: Regenerate.
6051 * README: Remove i386 reference.
6052
b7a329a5
CD
60532013-04-06 Carlos O'Donell <carlos@redhat.com>
6054
6055 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
6056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6057
bf0f50df
TS
60582013-04-05 Thomas Schwinge <thomas@codesourcery.com>
6059
ee091edf
TS
6060 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6061 (lmsnanval): New variables.
6062 (F): Add conversion tests.
6063 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6064 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6065
a8b792d6
TS
6066 * stdio-common/tstdiomisc.c (F): Properly collect individual
6067 tests' results.
6068
a1cbf437
TS
6069 [BZ #14686, #15336]
6070 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6071 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6072 Instead, use input NaN values or generate a qNaN by arithmetic
6073 operation. Also fix bugs to comply with the standard.
6074 * math/libm-test.inc (remainder_test): Add more tests.
6075
8b43a0c9
TS
6076 [BZ #15335, #15342]
6077 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6078 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6079 input NaN values or generate a qNaN by arithmetic operation.
6080
d91da4ce
TS
6081 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6082 unreachable code.
6083
bf0f50df
TS
6084 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6085 definitions.
6086
05e166c8
JM
60872013-04-03 Joseph Myers <joseph@codesourcery.com>
6088
6089 [BZ #14478]
6090 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6091 underflowed result.
6092 * math/s_cexpf.c (__cexpf): Likewise.
6093 * math/s_cexpl.c (__cexpl): Likewise.
6094 * math/libm-test.inc (cexp_test): Add more tests.
6095
1cef1b19
AS
60962013-04-03 Andreas Schwab <schwab@suse.de>
6097
6098 [BZ #15330]
6099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6100 order arrays from heap if bigger than alloca cutoff.
6101
74d87055
TS
61022013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6103
6104 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6105 (SNAN_TESTS_double): Refer to GCC PR56831.
6106 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6107 GCC PR56828.
6108
d755bba4
SP
61092013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6110
90d5d5bb
SP
6111 * Rules (bench): Move bench.out after the run is complete.
6112
73e0cd5d
SP
6113 * Rules (bench): Echo currently running benchmark.
6114
64aabd4b
SP
6115 * benchtests/Makefile (bench): Add atan and slowatan.
6116 * benchtests/atan-inputs: New file.
6117 * benchtests/slowatan-inputs: New file.
6118 * benchtests/slowatan.c: New file.
6119
c871eccd
SP
6120 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6121 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6122 its value.
6123
d755bba4
SP
6124 [BZ #15305]
6125 * sysdeps/unix/sysv/linux/kernel-features.h
6126 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6127 __ASSUME_XFS_RESTRICTED_CHOWN.
6128 * sysdeps/unix/sysv/linux/pathconf.c
6129 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6130 Save and restore errno.
6131
52ce4860
JM
61322013-04-02 Joseph Myers <joseph@codesourcery.com>
6133
6134 [BZ #15327]
6135 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6136 arguments using __kernel_casinh.
6137 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6138 arguments using __kernel_casinhf.
6139 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6140 arguments using __kernel_casinhl.
6141 * math/libm-test.inc (cacosh_test): Add more tests.
6142 * sysdeps/i386/fpu/libm-test-ulps: Update.
6143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6144
81f311c2
SP
61452013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6146
e7906a47
SP
6147 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6149
92e3664b
SP
6150 * bench/Makefile (bench): Add sin and slowsin.
6151 * benchtests/sin-inputs: New file.
6152 * benchtests/slowsin-inputs: New file.
6153 * benchtests/slowsin.c: New file.
6154
81f311c2
SP
6155 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6156 (bench): Add slowexp and slowpow.
6157 (exp-ITER): Increase iterations.
6158 (pow-ITER): Likewise.
6159 * benchtests/exp-inputs: Change input.
6160 * benchtests/pow-inputs: Likewise.
6161 * benchtests/slowexp-inputs: New file.
6162 * benchtests/slowexp.c: New file.
6163 * benchtests/slowpow-inputs: New file.
6164 * benchtests/slowpow.c: New file.
6165
ab0f1aa9
AZ
61662013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6167
6168 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6169 instructions.
6170 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6171 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6172 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6173 * benchtests/Makefile: Add rint benchtest.
6174 * benchtests/rint-inputs: Input for rint benchtest.
6175
57267616
TS
61762013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6177
6178 * Versions.def (libm): Add GLIBC_2.18.
6179 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6180 hidden libm prototypes.
6181 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6182 * math/Makefile (libm-calls): Add s_issignaling.
6183 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6184 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6185 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6186 declaration.
6187 * math/math.h [__USE_GNU] (issignaling): New macro.
6188 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6189 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6191 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6193 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6194 * manual/arith.texi (issignaling): New section.
6195 * manual/libm-err-tab.pl (@all_functions): Update comment.
6196 * math/gen-libm-test.pl (parse_args): Apply special handling for
6197 issignaling.
6198 * math/libm-test.inc (print_float, issignaling_test): New
6199 functions.
6200 (check_float_internal): Add issignaling checks.
6201 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6202 default definition.
6203 * sysdeps/powerpc/math-tests.h: New file.
6204 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6205 tests.
6206 * math/test-snan.c (TEST_FUNC): Likewise.
6207
6142896d
DM
62082013-03-30 David S. Miller <davem@davemloft.net>
6209
6210 * po/de.po: Update from translation team.
6211
ccc8cadf
JM
62122013-03-30 Joseph Myers <joseph@codesourcery.com>
6213
6214 [BZ #10357]
6215 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6216 imaginary part less than 1.0 and real part less than 0.5
6217 specially.
6218 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6219 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6220 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6221 (cacos_test): Add more tests.
6222 (casin_test): Likewise.
6223 (casinh_test): Likewise.
6224 * sysdeps/i386/fpu/libm-test-ulps: Update.
6225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6226
0f6a8d4b
SP
62272013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6228
0d1029de
SP
6229 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6230 ONE with its value.
6231
c2d94018
SP
6232 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6233 (__pow_mp): Replace ONE and MONE with their values.
6234 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6235 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6236 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6237 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6238 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6239 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6240
27ec37f1
SP
6241 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6242
a64d7e0e
SP
6243 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6244 (__pow_mp): Replace ZERO and MZERO with their values.
6245 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6246 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6247 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6249 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6250 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6251 (__sqr): Likewise.
6252
d26dd3eb
SP
6253 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6254
0f6a8d4b
SP
6255 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6256
e57b0c61
RM
62572013-03-28 Roland McGrath <roland@hack.frob.com>
6258
6259 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6260 Declare with __attribute__ ((weak)).
6261 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6262 Call __call_tls_dtors only if it's not NULL.
6263
356b3480
RM
62642013-03-28 Roland McGrath <roland@hack.frob.com>
6265
288f7d79
RM
6266 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6267 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6268 magic __ehdr_start linker symbol if it's defined.
6269 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6270 them up here if it was already done.
6271
dc0a0263
RM
6272 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6273 (_dl_aux_init): Use const in cast when setting it.
6274 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6275 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6276 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6277
3d3436ae
RM
6278 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6279 Declare them here.
6280 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6281 * csu/libc-tls.c: Nor here.
6282 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6283
356b3480
RM
6284 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6285 (__libc_message): Never call vsyslog.
6286
b0f1246a
AM
62872013-03-28 Alan Modra <amodra@gmail.com>
6288
6289 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6290 Define as empty.
6291 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6292 Likewise.
6293
fbbe2b9a
AZ
62942013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6295
6296 [BZ #15214]
6297 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6298 underflow.
6299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6300
1728ab37
SP
63012013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6302
7a86be6e
SP
6303 [BZ #15304]
6304 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6305 Don't add gid passed as argument.
6306
1728ab37
SP
6307 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6308
3a7182a1
JM
63092013-03-27 Joseph Myers <joseph@codesourcery.com>
6310
6311 [BZ #15307]
6312 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6313 imaginary part between 1.0 and 1.5 and real part less than 0.5
6314 specially.
6315 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6316 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6317 * math/libm-test.inc (cacos_test): Add more tests.
6318 (casin_test): Likewise.
6319 (casinh_test): Likewise.
6320 * sysdeps/i386/fpu/libm-test-ulps: Update.
6321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6322
6f2e90e7
SP
63232013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6324
5739f705
SP
6325 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6326 constants.
6327 (norm): Likewise.
6328 (denorm): Likewise.
6329 (__dbl_mp): Likewise.
6330 (add_magnitudes): Likewise.
6331 (sub_magnitudes): Likewise.
6332 (__add): Likewise.
6333 (__sub): Likewise.
6334 (__mul): Likewise.
6335 (__sqr): Likewise.
6336 (__inv): Likewise.
6337 (__dvd): Likewise.
6338
e375e83d
SP
6339 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6340 commented code.
6341 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6342 (__dubcos): Likewise.
6343 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6344 (__ieee754_acos): Likewise.
6345 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6346 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6347 (__exp1): Likewise.
6348 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6350 (log1): Likewise.
6351 (my_log2): Likewise.
6352 (checkint): Likewise.
6353 * sysdeps/ieee754/dbl-64/e_remainder.c
6354 (__ieee754_remainder): Likewise.
6355 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6356 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6357 (bsloww): Likewise.
6358 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6359
6f2e90e7
SP
6360 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6361 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6362 MANTISSA_STORE_T to store computations on mantissa. Use
6363 macros for rounding and division.
6364 (denorm): Likewise.
6365 (__dbl_mp): Likewise.
6366 (add_magnitudes): Likewise.
6367 (sub_magnitudes): Likewise.
6368 (__mul): Likewise.
6369 (__sqr): Likewise.
6370 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6371 powers of two in terms of TWOPOW macro.
6372 (mp_no): Make type of mantissa as MANTISSA_T.
6373 [!RADIXI]: Define RADIXI.
6374 [!TWO52]: Define TWO52.
6375 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6376
fce14d4e
AZ
63772013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378
6379 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6380 llroundl symbol when building for PPC32.
6381
9ad027fb
MW
63822013-03-24 Mark H Weaver <mhw@netris.org>
6383
6384 * manual/arith.texi (Normalization Functions): Fix prototypes for
6385 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6386
e42a38dd
AZ
63872013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6388
6389 [BZ #13889]
6390 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6391 high value to check if expl overflow.
6392 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6393 to check for underflow and overflow.
6394 * math/libm-test.inc: Add exp test.
6395
2e0fb521
DL
63962013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6397
6398 [BZ #11120]
6399 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6400 with NOT_IN_libc.
6401
b5784d95
AZ
64022013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6403
6404 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6405 symbol.
6406
5aa4a1a1
TS
64072013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6408
bdef0be7
TS
6409 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6410 wrap blocks consisting of several statements.
6411
5aa4a1a1
TS
6412 * sysdeps/generic/math-tests.h: New file.
6413 * sysdeps/i386/fpu/math-tests.h: Likewise.
6414 * math/test-snan.c: Include it.
6415 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6416
98c48fe5
JM
64172013-03-21 Joseph Myers <joseph@codesourcery.com>
6418
6419 [BZ #15285]
6420 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6421 (__ieee754_j0l): Do not improve calculations using cos of twice
6422 input for inputs above LDBL_MAX / 2.0L.
6423 (__ieee754_y0l): Likewise.
6424 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6425 (__ieee754_j1l): Do not improve calculations using cos of twice
6426 input for inputs above LDBL_MAX / 2.0L.
6427 (__ieee754_y1l): Likewise.
6428 * math/libm-test.inc (j0_test): Add another test.
6429 (j1_test): Likewise.
6430 (y0_test): Likewise.
6431 (y1_test): Likewise.
6432 * sysdeps/i386/fpu/libm-test-ulps: Update.
6433
3775a8bc
SP
64342013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6435
6436 * Rules ($(objpfx)bench-%.c): Include code from a C source
6437 file.
6438
0a1b2ae6
JM
64392013-03-21 Joseph Myers <joseph@codesourcery.com>
6440
6441 [BZ #15287]
6442 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6443 imaginary part 1.0 and real part less than 0.5 specially.
6444 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6445 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6446 * math/libm-test.inc (cacos_test): Add more tests.
6447 (casin_test): Likewise.
6448 (casinh_test): Likewise.
6449 * sysdeps/i386/fpu/libm-test-ulps: Update.
6450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6451
b33d4ce4
SP
64522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6453
6454 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6455 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6456
bef0b507
JM
64572013-03-20 Joseph Myers <joseph@codesourcery.com>
6458
6459 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6460 * config.make.in (config-cflags-sse4): Remove variable.
6461 (config-cflags-avx): Likewise.
6462 (config-cflags-sse2avx): Likewise.
6463 (config-cflags-novzeroupper): Likewise.
6464 (config-asflags-i686): Likewise.
6465 (have-mfma4): Likewise.
6466 (have-as-vis3): Likewise.
6467 (MIG): Likewise.
6468 * configure.in (MIG): Do not AC_SUBST.
6469 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6470 (libc_cv_cc_sse4): Do not AC_SUBST.
6471 (libc_cv_cc_avx): Likewise.
6472 (libc_cv_cc_sse2avx): Likewise.
6473 (libc_cv_cc_novzeroupper): Likewise.
6474 (libc_cv_cc_fma4): Likewise.
6475 (libc_cv_as_i686): Likewise.
6476 (libc_cv_sparc_as_vis3): Likewise.
6477 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6478 LIBC_CONFIG_VAR.
6479 (config-asflags-i686): Likewise.
6480 (config-cflags-avx): Likewise.
6481 (config-cflags-sse2avx): Likewise.
6482 (have-mfma4): Likewise.
6483 (config-cflags-novzeroupper): Likewise.
6484 * sysdeps/mach/configure.in (MIG): Likewise.
6485 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6486 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6487 LIBC_CONFIG_VAR.
6488 (config-cflags-avx): Likewise.
6489 (config-cflags-sse2avx): Likewise.
6490 (have-mfma4): Likewise.
6491 (config-cflags-novzeroupper): Likewise.
6492 * configure: Regenerated.
6493 * sysdeps/i386/configure: Likewise.
6494 * sysdeps/mach/configure: Likewise.
6495 * sysdeps/sparc/configure: Likewise.
6496 * sysdeps/x86_64/configure: Likewise.
6497
912cc4b3
RM
64982013-03-20 Roland McGrath <roland@hack.frob.com>
6499
6500 [BZ #14812]
6501 * locale/programs/localedef.c (options): Put N_ translation marker
6502 on argument names, not just descriptions.
6503
04eed2b0
MS
65042013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6505
6506 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6507
a065ceff
OB
65082013-03-20 Ondřej Bílka <neleai@seznam.cz>
6509
9bb2a810 6510 [BZ #14176]
a065ceff
OB
6511 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6512
a600e5ce
RM
65132013-03-19 Roland McGrath <roland@hack.frob.com>
6514
6515 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6516 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6517 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6518 [!BEFORE_ABORT] (before_abort): New function.
6519 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6520 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6521 (writev_for_fatal): New function.
6522 (WRITEV_FOR_FATAL): New macro; call that.
6523 (backtrace_and_maps): New function.
6524 (BEFORE_ABORT): New macro; call that.
6525 (struct str_list): Type removed.
6526 (__libc_message, __libc_fatal): Functions removed.
6527 Include <sysdeps/posix/libc_fatal.c> instead.
6528
6b18bea6
JM
65292013-03-19 Joseph Myers <joseph@codesourcery.com>
6530
6531 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6532 constants.
6533 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6534 double constants.
6535
aaa8cb4b
AS
65362013-03-19 Andreas Schwab <schwab@suse.de>
6537
44673770
AS
6538 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6539 * sysdeps/gnu/configure: Regenerate.
6540
aaa8cb4b
AS
6541 * configure.in: Substitute libc_cv_rtlddir.
6542 * configure: Regenerate.
6543 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6544 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6545 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6546 * elf/Makefile (install-others, CFLAGS-interp.c)
6547 (ldso_install, common-ldd-rewrite): Likewise.
6548 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6549 $(inst_slibdir)/$(rtld-installed-name).
6550 * scripts/rellns-sh: Add -p option.
6551 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6552 for source.
6553
d3cfc668
SP
65542013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6555
6556 * manual/nptl.texi: Renamed to ...
6557 * manual/threads.texi: ... this.
6558 * manual/Makefile (chapters): Update.
6559
0e2b9cdd
RM
65602013-03-18 Roland McGrath <roland@hack.frob.com>
6561
6562 [BZ #14812]
6563 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6564 on argument names, not just descriptions.
0e2b9cdd
RM
6565 * malloc/memusagestat.c (options): Likewise.
6566 * nss/getent.c (options): Likewise.
63270c24
RM
6567
65682013-03-18 Benno Schulenberg <bensberg@justemail.net>
6569
6570 [BZ #14812]
6571 * iconv/iconv_prog.c (options): Put N_ translation marker
6572 on argument names, not just descriptions.
6573 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6574
b2e1393c
OB
65752013-03-18 Ondrej Bilka <neleai@seznam.cz>
6576
6577 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6578 implementation which is faster on all x86_64 architectures.
6579 Tested on AMD, Intel Nehalem, SNB, IVB.
6580 * sysdeps/x86_64/strnlen.S: Likewise.
6581
6582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6583 Remove all multiarch strlen and strnlen versions.
6584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6585 Remove strlen and strnlen related parts.
6586
6587 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6588 Inline strlen part.
6589 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6590
6591 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6592 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6593 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6594 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6595 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6596 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6597
ec4ff04d
CD
65982013-03-17 Carlos O'Donell <carlos@redhat.com>
6599
6600 * manual/memory.texi (Malloc Tunable Parameters):
6601 Sort parameters alphabetically. Add comments for missing entries.
6602
cd18e90a
DM
66032013-03-17 David S. Miller <davem@davemloft.net>
6604
6605 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6606
2a185d32
JM
66072013-03-16 Joseph Myers <joseph@codesourcery.com>
6608
d2f9799e
JM
6609 [BZ #15283]
6610 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6611 for arguments at most half maximum finite value.
6612 * math/libm-test.inc (j0_test): Add more tests.
6613 (j1_test): Likewise.
6614 (y0_test): Likewise.
6615 (y1_test): Likewise.
6616 * sysdeps/i386/fpu/libm-test-ulps: Update.
6617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6618
2a185d32
JM
6619 [BZ #14155]
6620 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6621 1 / x and functions P and Q for arguments above 0x1p256L.
6622 (__ieee754_y0l): Likewise.
6623 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6624 (__ieee754_y1l): Likewise.
6625 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6626 (j1_test): Likewise.
6627 (y0_test): Likewise.
6628 (y1_test): Likewise.
6629
6cbec759
TS
66302013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6631
6632 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6633 variable.
6634
bc16e260
RM
66352013-03-15 Roland McGrath <roland@hack.frob.com>
6636
aefc9b8c
RM
6637 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6638 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6639 zero since it's initialized to EXEC_PAGESIZE.
6640
bc16e260
RM
6641 * sysdeps/unix/sysv/linux/ldsodefs.h
6642 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6643 * sysdeps/generic/ldsodefs.h: ... here.
6644
a57da955
TS
66452013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6646
af00a34d
TS
6647 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6648
495ded2c
TS
6649 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6650 math/test-snan.c.
6651 * math/test-snan.c: Renamed from
6652 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6653 * math/Makefile (tests): Add test-snan.
6654 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6655 test-powerpc-snan.
6656
777b0332
TS
6657 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6658 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6659 functions.
6660 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6661 __builtin_nan family of functions.
6662 * math/libm-test.inc (initialize): Initialize qnan_value with
6663 __builtin_nan family of functions.
6664 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6665 Remove variables.
6666 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6667 Remove functions.
6668 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6669 storage class. Initialize qNaN_var and sNaN_var with
6670 __builtin_nan and __builtin_nans families of functions,
6671 respectively.
6672
64d063b8
TS
6673 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6674 (sqrt_test): Remove duplicate test with qNaN input.
6675 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6676 (round_test, signbit_test, significand_test): Note missing +/-Inf
6677 as well as qNaN tests.
6678
67e971f1
TS
6679 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6680 qNaN_var. Fix a few strings, too.
6681 * math/libm-test.inc (nan_value): Rename to qnan_value.
6682 * math/gen-libm-test.pl (%beautify): Adjust to that.
6683 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6684 * math/test-misc.c (main): Likewise.
6685 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6686 to __qnan_bytes, and __qnan_union, respectively.
6687 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6688 Likewise.
6689 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6690 and lqnanval, respectively.
6691 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6692 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6693 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6694 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6695
64487e12
TS
6696 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6697 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6698 doubles.
6699
e015e27b
TS
6700 * math/test-misc.c (main): Fix copy'n'pastos.
6701 * misc/tst-efgcvt.c (special): Likewise.
6702
a57da955
TS
6703 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6704 Remove declarations.
6705
1e380345
SP
67062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6707
6708 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6709 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6710 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6711 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6712
ef26eece
AZ
67132013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6714
6715 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6716 macro to return vdso values correctly in IFUNC implementations.
6717 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6718 Optimization by using IFUNC.
6719
8cfdb7e0
SP
67202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6721 Richard Henderson <rth@redhat.com>
6722 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6723
6724 * Makefile.in (bench): New target.
6725 * NEWS: Mention the benchmark framework.
6726 * Rules (bench): Likewise.
6727 (binaries-bench): Generate binaries for functions to
6728 benchmark.
6729 * benchtests/Makefile: New makefile for benchmark tests.
6730 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6731 programs.
6732 * benchtests/exp-inputs: New input file for EXP function.
6733 * benchtests/pow-inputs: New input file for POW function.
6734 * scripts/bench.pl: New script to generate source files for
6735 benchmark programs.
6736
bcda9880
SP
67372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6738
d22ca8cd
SP
6739 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6740 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6741 computations on mantissa. Use macros for rounding and
6742 division.
6743 (denorm): Likewise.
6744 (__dbl_mp): Likewise.
6745 (add_magnitudes): Likewise.
6746 (sub_magnitudes): Likewise.
6747 (__mul): Likewise.
6748 (__sqr): Likewise.
6749 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6750 powers of two in terms of TWOPOW macro.
6751 (mp_no): Make type of mantissa as MANTISSA_T.
6752 [!RADIXI]: Define RADIXI.
6753 [!TWO52]: Define TWO52.
6754 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6755
bcda9880
SP
6756 * manual/nptl.texi (cindex): Modify threads to pthreads.
6757
06d5adfb
JM
67582013-03-15 Joseph Myers <joseph@codesourcery.com>
6759
6760 * sysdeps/x86_64/preconfigure: Regenerated.
6761
41c7328e
JM
67622013-03-14 Joseph Myers <joseph@codesourcery.com>
6763
6764 [BZ #14155]
6765 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6766 0x1p28 and above.
6767 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6768 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6769 0x1p28 and above.
6770 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6771 * math/libm-test.inc (j0_test): Do not allow one spurious
6772 underflow exception.
6773 (y1_test): Likewise.
6774
e25cfa60
SP
67752013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6776
0409959c
SP
6777 * manual/Makefile (chapters): Add nptl.
6778 * manual/debug.texi (Debugging Support): Add link to Threads
6779 chapter.
6780 * manual/nptl.texi: New file.
6781
e25cfa60
SP
6782 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6783
58a1335e
PB
67842013-03-14 Petr Baudis <pasky@ucw.cz>
6785
6786 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6787 for non-NULL pointer before the memory validity test. Pointed
6788 out by Holger Brunck <holger.brunck@keymile.com>.
6789
9dc7c64f
AS
67902013-03-13 Andreas Schwab <schwab@suse.de>
6791
6792 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6793 instead of .os.
6794
54206aa6
JM
67952013-03-13 Joseph Myers <joseph@codesourcery.com>
6796
6797 * timezone/zic.c: Update from tzcode 2013b.
6798
e98cdb38
CD
67992013-03-12 Carlos O'Donell <carlos@redhat.com>
6800
6801 * manual/install.texi (Configuring and compiling):
6802 Mention i686 and i586.
6803 * INSTALL: Regenerate.
6804
9967e003
RM
68052013-03-12 Roland McGrath <roland@hack.frob.com>
6806
6807 * sysdeps/init_array/elf-init.c: New file.
6808 * csu/elf-init.c
6809 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6810 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6811
6812 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6813 __gmon_start__ as global, but as static with a .preinit_array pointer.
6814 * sysdeps/init_array/gmon-start.c: New file. Use that.
6815 * sysdeps/init_array/crti.S: New file, empty except for comments.
6816 * sysdeps/init_array/crtn.S: Likewise.
6817
e6b5a293 68182013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6819
6820 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6821 definining bcopy.
80f844c9
OB
6822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6823 Remove Prefer_SSE_for_memop.
6824 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6825 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6826 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6827 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6828 memset-x86-64.
80f844c9 6829 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6830 Remove bzero, memset ifunc support.
80f844c9
OB
6831 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6832 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6833 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6834 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6835
fb6b0fcb
AS
68362013-03-11 Andreas Schwab <schwab@suse.de>
6837
6838 [BZ #15234]
6839 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6840 by SHLIB_COMPAT.
6841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6842 (GLIBC_2.16): Remove pthread_atfork.
6843
3e6bd4b1
PP
68442013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6845
6846 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6847 (ptestcases.h): Likewise.
6848
222d7f00
RM
68492013-03-08 Roland McGrath <roland@hack.frob.com>
6850
6851 * Makeconfig ($(common-objpfx)config.status): Depend on
6852 sysdeps/*/preconfigure{,.in} too.
6853
1ba4f030
JM
68542013-03-08 Joseph Myers <joseph@codesourcery.com>
6855
a222d91a
JM
6856 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6857 (__free_hook): Use void * instead of __malloc_ptr_t.
6858 (__malloc_hook): Likewise.
6859 (__realloc_hook): Likewise.
6860 (__memalign_hook): Likewise.
6861 (__after_morecore_hook): Likewise.
6862 * malloc/arena.c (save_malloc_hook): Likewise.
6863 (save_free_hook): Likewise.
6864 * malloc/hooks.c (malloc_hook_ini): Likewise.
6865 (realloc_hook_ini): Likewise.
6866 (memalign_hook_ini): Likewise.
6867 * malloc/malloc.c (malloc_hook_ini): Likewise.
6868 (realloc_hook_ini): Likewise.
6869 (memalign_hook_ini): Likewise.
6870 (__free_hook): Likewise.
6871 (__malloc_hook): Likewise.
6872 (__realloc_hook): Likewise.
6873 (__memalign_hook): Likewise.
6874 (__libc_malloc): Likewise.
6875 (__libc_free): Likewise.
6876 (__libc_realloc): Likewise.
6877 (__libc_memalign): Likewise.
6878 (__libc_valloc): Likewise.
6879 (__libc_pvalloc): Likewise.
6880 (__libc_calloc): Likewise.
6881 (__posix_memalign): Likewise.
6882 * malloc/morecore.c (__sbrk): Likewise.
6883 (__default_morecore): Likewise.
6884
5cc45e10
JM
6885 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6886
dd54b864
JM
6887 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6888 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6889 __malloc_ptrdiff_t.
6890
1ba4f030
JM
6891 * malloc/malloc.h (__malloc_size_t): Remove macro.
6892 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6893 __malloc_size_t.
6894 (old_memalign_hook): Likewise.
6895 (old_realloc_hook): Likewise.
6896 (struct hdr): Likewise.
6897 (flood): Likewise.
6898 (mallochook): Likewise.
6899 (memalignhook): Likewise.
6900 (reallochook): Likewise.
6901 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6902 (tr_old_realloc_hook): Likewise.
6903 (tr_old_memalign_hook): Likewise.
6904 (tr_mallochook): Likewise.
6905 (tr_reallochook): Likewise.
6906 (tr_memalignhook): Likewise.
6907
edf66e57
AZ
69082013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6909
6910 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6911 default_ldbl_pack and using as default implementation.
6912 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6913 implementation.
6914 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6915 redundant definition.
6916 (ldbl_insert_mantissa): Likewise.
6917 (ldbl_canonicalize): Likewise.
6918 (ldbl_nearbyint): Likewise.
6919 (ldbl_pack): Rename to ldbl_pack_ppc.
6920 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6921 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6922 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6923
6d9145d8
SP
69242013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6925
6926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6927 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6928 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6929 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6930 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6931 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6932 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6933 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6934
4dd4e157
AJ
69352013-03-07 Andreas Jaeger <aj@suse.de>
6936
6937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6938 bits/mman-linux.h.
6939
adbb8027
SP
69402013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6941
ce544b5b
SP
6942 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6943 Include mpa.h and declare __MPEXP.
6944 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6945 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6946 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6947 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6948 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6949 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6950 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6951
4cc149fd
SP
6952 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6953 (__slowpow): Use long double EXPL and LOGL functions to
6954 compute POW.
6955 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6956 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6957 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6958 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6959 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6960 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6961
e6ebd4a7
SP
6962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6963 intermediate variable to calculate exponent.
6964 (__sqr): Likewise.
6965 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6966 Likewise.
6967 (__sqr): Likewise.
6968
82a9811d
SP
6969 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6970 [!NO__SQR]: Define __sqr.
6971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6972 and NO__SQR. Remove all code except __mul and __sqr. Include
6973 sysdeps/ieee754/dbl-64/mpa.c.
6974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6975
adbb8027
SP
6976 [BZ #12723]
6977 * posix/Makefile (tests): Add tst-pathconf.
6978 * posix/tst-pathconf.c: New test case.
6979 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6980 _PC_PIPE_BUF.
6981 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6982
39120df9
PF
69832013-03-06 Patsy Franklin <pfrankli@redhat.com>
6984
6985 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6986
67525cb8
AJ
69872013-03-06 Andreas Jaeger <aj@suse.de>
6988
664a9ce4
AJ
6989 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6990 definition via __MAP_ANONYMOUS.
6991
8e39047d
AJ
6992 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6993 it's not part of Linux headers.
6994
67525cb8
AJ
6995 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6996 (MAP_HUGE_MASK): Define.
6997
6998 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6999 Define.
7000 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7002 Define.
7003 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7004 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7005 Define.
7006 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7007 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
7008 Define.
7009 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7010
7011 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
7012 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
7013 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
7014 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
7015 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
7016 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
7017
7018 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
7019 Handle f2fs.
7020
7021 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7022 Handle f2fs and efivarfs.
7023
7024 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
7025 f2fs.
7026
7027 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
7028 (EFIVARFS_MAGIC): Add.
7029 (F2FS_LINK_MAX): Add.
7030
e1b42695
PP
70312013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7032
7033 * stdio-common/vfprintf.c: Replace __builtin_expect with
7034 __glibc_unlikely.
7035
2d67d91a
JM
70362013-03-06 Joseph Myers <joseph@codesourcery.com>
7037
7038 [BZ #13550]
7039 * sysdeps/generic/bp-sym.h: Remove file.
7040 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
7041 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
7042 <bp-sym.h> and <bp-asm.h>.
7043 (__longjmp): Don't use BP_SYM.
7044 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
7045 and <bp-asm.h>.
7046 (memcpy): Don't use BP_SYM.
7047 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
7048 <bp-sym.h> and <bp-asm.h>.
7049 (memcpy): Don't use BP_SYM.
7050 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
7051 <bp-asm.h>.
7052 (memcpy): Don't use BP_SYM.
7053 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
7054 <bp-asm.h>.
7055 (memset): Don't use BP_SYM.
7056 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7057 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7058 (__bzero): Don't use BP_SYM.
7059 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7060 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7061 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7062 <bp-sym.h> and <bp-asm.h>.
7063 (memcmp): Don't use BP_SYM. Remove comment about bounded
7064 pointers.
7065 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7066 <bp-sym.h> and <bp-asm.h>.
7067 (memcpy): Don't use BP_SYM.
7068 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7069 <bp-sym.h> and <bp-asm.h>.
7070 (memset): Don't use BP_SYM.
7071 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7072 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7073 (__bzero): Don't use BP_SYM.
7074 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7075 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7076 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7077 <bp-sym.h> and <bp-asm.h>.
7078 (strncmp): Don't use BP_SYM. Remove comment about bounded
7079 pointers.
7080 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7081 <bp-sym.h> and <bp-asm.h>.
7082 (memcpy): Don't use BP_SYM.
7083 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7084 <bp-sym.h> and <bp-asm.h>.
7085 (memset): Don't use BP_SYM.
7086 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7087 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7088 (__bzero): Don't use BP_SYM.
7089 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7090 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7091 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7092 <bp-sym.h> and <bp-asm.h>.
7093 (__memchr): Don't use BP_SYM.
7094 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7095 <bp-sym.h> and <bp-asm.h>.
7096 (memcmp): Don't use BP_SYM. Remove comment about bounded
7097 pointers.
7098 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7099 <bp-sym.h> and <bp-asm.h>.
7100 (memcpy): Don't use BP_SYM.
7101 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7102 <bp-sym.h> and <bp-asm.h>.
7103 (__mempcpy): Don't use BP_SYM.
7104 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7105 <bp-sym.h> and <bp-asm.h>.
7106 (__memrchr): Don't use BP_SYM.
7107 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7108 <bp-sym.h> and <bp-asm.h>.
7109 (memset): Don't use BP_SYM.
7110 (__bzero): Likewise.
7111 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7112 <bp-sym.h> and <bp-asm.h>.
7113 (__rawmemchr): Don't use BP_SYM.
7114 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7115 <bp-sym.h> and <bp-asm.h>.
7116 (__STRCMP): Don't use BP_SYM.
7117 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7118 <bp-sym.h> and <bp-asm.h>.
7119 (strchr): Don't use BP_SYM.
7120 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7121 <bp-sym.h> and <bp-asm.h>.
7122 (__strchrnul): Don't use BP_SYM.
7123 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7124 <bp-sym.h> and <bp-asm.h>.
7125 (strlen): Don't use BP_SYM.
7126 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7127 <bp-sym.h> and <bp-asm.h>.
7128 (strncmp): Don't use BP_SYM. Remove comment about bounded
7129 pointers.
7130 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7131 <bp-sym.h> and <bp-asm.h>.
7132 (__strnlen): Don't use BP_SYM.
7133 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7134 <bp-sym.h> and <bp-asm.h>.
7135 (__GI__setjmp): Don't use BP_SYM.
7136 (_setjmp): Likewise.
7137 (__sigsetjmp): Likewise.
7138 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7139 (L(start_addresses)): Don't use BP_SYM.
7140 (_start): Likewise.
7141 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7142 <bp-asm.h>.
7143 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7144 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7145 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7146 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7147 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7148 <bp-asm.h>.
7149 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7150 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7151 about bounded pointers.
7152 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7153 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7154 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7155 <bp-asm.h>.
7156 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7157 about bounded pointers. Remove GKM FIXME comments.
7158 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7159 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7160 <bp-asm.h>.
7161 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7162 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7163 Remove GKM FIXME comments.
7164 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7165 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7166 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7167 <bp-asm.h>.
7168 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7169 about bounded pointers. Remove GKM FIXME comment.
7170 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7171 and <bp-asm.h>.
7172 (strncmp): Don't use BP_SYM. Remove comment about bounded
7173 pointers.
7174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7175 <bp-sym.h> and <bp-asm.h>.
7176 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7178 <bp-sym.h> and <bp-asm.h>.
7179 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7180 comment.
7181
cdcf361f
PP
71822013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7183
7184 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7185 call free(NULL).
7186
3c4a2b15
DM
71872013-03-05 David S. Miller <davem@davemloft.net>
7188
7189 * po/es.po: Update from translation team.
7190
cdcf361f 71912013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7192
7193 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7194 <bits/mman-linux.h>.
7195 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7196 is fine.
7197 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7198 <bits/mman-linux.h> to end of file.
7199 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7200 is fine.
7201 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7202 <bits/mman-linux.h> to end of file.
7203 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7204 is fine.
7205 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7206 <bits/mman-linux.h> to end of file.
7207
7208 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7209 (MCL_CURRENT, MCL_FUTURE): Define here.
7210
5f67c04f
AK
72112013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7212
8a4473cc 7213 [BZ #15232]
5f67c04f
AK
7214 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7215 attribute_hidden.
7216 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7217
c3e94a95
AK
72182013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7219
7220 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7221 fourth parameter needed for rt_sigprocmask syscall.
7222 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7223 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7224 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7225 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7226 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7227 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7228
cfb6382a
JM
72292013-03-04 Joseph Myers <joseph@codesourcery.com>
7230
7231 [BZ #13550]
7232 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7233 comment about bounded pointers.
7234 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7235 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7236
539d8e01
AJ
72372013-03-04 Andreas Jaeger <aj@suse.de>
7238
7239 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7240 common definitions.
7241
7242 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7243 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7244 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7245 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7246 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7247 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7248
2e167a70 72492013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7250
7251 [BZ #15055]
7252 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7253 __ieee754_sqrl instead of __sqrl.
7254
68508633
JM
72552013-03-01 Joseph Myers <joseph@codesourcery.com>
7256
7257 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7258 * sysdeps/powerpc/fpu_control.h: ... here.
7259 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7260 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7261 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7262 * sysdeps/powerpc/bits/mathinline.h: ... here.
7263
7775448e
RM
72642013-03-01 Roland McGrath <roland@hack.frob.com>
7265
7266 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7267 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7268 to just [NEED_DL_SYSINFO_DSO].
7269 * elf/dl-support.c: Likewise.
7270 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7271 * elf/rtld.c (dl_main): Likewise.
7272 * elf/setup-vdso.h (setup_vdso): Likewise.
7273 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7274 * sysdeps/unix/sysv/linux/dl-sysdep.c
7275 (_dl_discover_osversion): Likewise.
7276
4e9b5995
CD
72772013-03-01 Carlos O'Donell <carlos@redhat.com>
7278
7279 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7280 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7281
e23872c8
SP
72822013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7283
e5c74c63
SP
7284 * NEWS: Mention libm performance improvements and non-x86 PI
7285 futex support.
7286
e23872c8
SP
7287 * csu/libc-start.c (__pthread_initialize_minimal): Change
7288 function arguments.
7289 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7290
b5510883
JM
72912013-02-28 Joseph Myers <joseph@codesourcery.com>
7292
7293 [BZ #13550]
7294 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7295 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7296 <bp-sym.h> and <bp-asm.h>.
7297 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7298 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7299 and <bp-asm.h>.
7300 (memcpy): Don't use BP_SYM.
7301 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7302 <bp-asm.h>.
7303 (__mpn_add_n): Don't use BP_SYM.
7304 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7305 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7306 and <bp-asm.h>.
7307 (__mpn_addmul_1): Don't use BP_SYM.
7308 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7309 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7310 <bp-sym.h>.
7311 (_setjmp): Don't use BP_SYM.
7312 (__novmx_setjmp): Likewise.
7313 (__GI__setjmp): Likewise.
7314 (__vmx_setjmp): Likewise.
7315 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7316 <bp-sym.h>.
7317 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7318 (__bzero): Don't use BP_SYM.
7319 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7320 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7321 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7322 <bp-sym.h> and <bp-asm.h>.
7323 (memcpy): Don't use BP_SYM.
7324 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7325 <bp-sym.h> and <bp-asm.h>.
7326 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7327 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7328 <bp-sym.h> and <bp-asm.h>.
7329 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7330 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7331 <bp-asm.h>.
7332 (__mpn_lshift): Don't use BP_SYM.
7333 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7334 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7335 <bp-asm.h>.
7336 (memset): Don't use BP_SYM.
7337 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7338 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7339 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7340 <bp-asm.h>.
7341 (__mpn_mul_1): Don't use BP_SYM.
7342 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7343 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7344 <bp-sym.h> and <bp-asm.h>.
7345 (memcmp): Don't use BP_SYM.
7346 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7347 <bp-sym.h> and <bp-asm.h>.
7348 (memcpy): Don't use BP_SYM.
7349 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7350 <bp-sym.h> and <bp-asm.h>.
7351 (memset): Don't use BP_SYM.
7352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7353 <bp-sym.h> and <bp-asm.h>.
7354 (strncmp): Don't use BP_SYM.
7355 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7356 <bp-sym.h> and <bp-asm.h>.
7357 (memcpy): Don't use BP_SYM.
7358 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7359 <bp-sym.h> and <bp-asm.h>.
7360 (memset): Don't use BP_SYM.
7361 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7362 <bp-sym.h> and <bp-asm.h>.
7363 (__memchr): Don't use BP_SYM.
7364 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7365 <bp-sym.h> and <bp-asm.h>.
7366 (memcmp): Don't use BP_SYM.
7367 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7368 <bp-sym.h> and <bp-asm.h>.
7369 (memcpy): Don't use BP_SYM.
7370 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7371 <bp-sym.h> and <bp-asm.h>.
7372 (__mempcpy): Don't use BP_SYM.
7373 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7374 <bp-sym.h> and <bp-asm.h>.
7375 (__memrchr): Don't use BP_SYM.
7376 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7377 <bp-sym.h> and <bp-asm.h>.
7378 (memset): Don't use BP_SYM.
7379 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7380 <bp-sym.h> and <bp-asm.h>.
7381 (__rawmemchr): Don't use BP_SYM.
7382 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7383 <bp-sym.h> and <bp-asm.h>.
7384 (__STRCMP): Don't use BP_SYM.
7385 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7386 <bp-sym.h> and <bp-asm.h>.
7387 (strchr): Don't use BP_SYM.
7388 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7389 <bp-sym.h> and <bp-asm.h>.
7390 (__strchrnul): Don't use BP_SYM.
7391 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7392 <bp-sym.h> and <bp-asm.h>.
7393 (strlen): Don't use BP_SYM.
7394 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7395 <bp-sym.h> and <bp-asm.h>.
7396 (strncmp): Don't use BP_SYM.
7397 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7398 <bp-sym.h> and <bp-asm.h>.
7399 (__strnlen): Don't use BP_SYM.
7400 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7401 <bp-asm.h>.
7402 (__mpn_rshift): Don't use BP_SYM.
7403 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7404 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7405 <bp-sym.h> and <bp-asm.h>.
7406 (__sigsetjmp): Don't use BP_SYM.
7407 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7408 (L(start_addresses)): Don't use BP_SYM.
7409 (_start): Likewise.
7410 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7411 <bp-asm.h>.
7412 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7413 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7414 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7415 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7416 <bp-asm.h>.
7417 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7418 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7419 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7420 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7421 <bp-asm.h>.
7422 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7423 comments.
7424 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7425 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7426 <bp-asm.h>.
7427 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7428 FIXME comments.
7429 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7430 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7431 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7432 <bp-asm.h>.
7433 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7434 comment.
7435 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7436 and <bp-asm.h>.
7437 (strncmp): Don't use BP_SYM,
7438 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7439 <bp-asm.h>.
7440 (__mpn_sub_n): Don't use BP_SYM.
7441 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7442 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7443 and <bp-asm.h>.
7444 (__mpn_submul_1): Don't use BP_SYM.
7445 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7447 <bp-sym.h> and <bp-asm.h>.
7448 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7450 <bp-sym.h> and <bp-asm.h>.
7451 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7452 comment.
7453
8d19fe64
SP
74542013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7455
7456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7457 Use ZK to minimize writes to Z.
7458 (sub_magnitudes): Simplify code a bit.
7459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7460 Use ZK to minimize writes to Z.
7461 (sub_magnitudes): Simplify code a bit.
7462
85bd816a
RM
74632013-02-27 Roland McGrath <roland@hack.frob.com>
7464
7465 * csu/gmon-start.c: Add special exception to license text.
7466
b5977bf2
RH
74672013-02-27 Richard Henderson <rth@redhat.com>
7468
7469 * scripts/config.guess: Update from config.git.
7470 * scripts/config.sub: Likewise.
7471
11d6e2f2
SP
74722013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7473
09c14ed2
SP
7474 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7475
a688864e
SP
7476 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7477
6295157a
SP
7478 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7479
b8de2202
SP
7480 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7481
11d6e2f2
SP
7482 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7483
7e80ddb8
RM
74842013-02-26 Roland McGrath <roland@hack.frob.com>
7485
7486 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7487 [$(build-shared = yes].
7e80ddb8 7488
7da6d9ed
SP
74892013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7490
45f05884
SP
7491 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7492 (__mul): Reduce iterations for calculating mantissa.
7493
2236d359
SP
7494 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7495 MPTWO.
7496 (__mpranred): Likewise.
7497
7da6d9ed
SP
7498 [BZ #15160]
7499 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7500 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7501
b7688c42
PE
75022013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7503
7504 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7505 Define __attribute__.
7506
53a5c423
SP
75072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7508
7509 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7510 unused.
7511 * posix/regex_internal.h (__attribute): Remove.
7512 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7513 (re_string_context_at): Likewise.
7514 (bitset_not): Use __attribute__ and mark function as possibly
7515 unused.
7516 (bitset_merge): Likewise.
7517 (bitset_mask): Likewise.
7518 (re_string_char_size_at): Likewise.
7519 (re_string_wchar_at): Likewise.
7520 (re_string_elem_size_at): Likewise.
7521
60f5a8b5
SP
75222013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7523
2a983a2e
SP
7524 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7525 code.
7526 (cc32): Likewise.
7527
e69804d1
SP
7528 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7529 (__acr): Likewise.
7530 (__cpy): Likewise.
7531 (norm): Likewise.
7532 (denorm): Likewise.
7533 (__dbl_mp): Likewise.
7534 (add_magnitudes): Likewise.
7535 (sub_magnitudes): Likewise.
7536 (__mul): Likewise.
7537 (__inv): Likewise.
7538
2f22a1e8
SP
7539 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7540 style.
7541
8930ddc7
SP
7542 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7543 style.
7544
dc60cb11
SP
7545 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7546 code.
7547
60f5a8b5
SP
7548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7549 up changes with default code.
7550 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7551 Likewise.
7552
b4d1fd33
AM
75532013-02-24 Allan McRae <allan@archlinux.org>
7554
faf6f8bc
AM
7555 * manual/socket.texi (The Internet Namespace): Order menu items
7556 to match that in the file.
7557
b4d1fd33
AM
7558 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7559 node listing of the info page menu.
7560
2366713d
JM
75612013-02-21 Joseph Myers <joseph@codesourcery.com>
7562
7563 [BZ #13550]
7564 * sysdeps/i386/bp-asm.h: Remove file.
7565 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7566 (PARMS): Do not use macros from bp-asm.h.
7567 (S1): Likewise.
7568 (S2): Likewise.
7569 (SIZE): Likewise.
7570 (__mpn_add_n): Do not use BP_SYM
7571 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7572 "bp-asm.h".
7573 (PARMS): Do not use macros from bp-asm.h.
7574 (S1): Likewise.
7575 (SIZE): Likewise.
7576 (__mpn_addmul_1): Do not use BP_SYM
7577 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7578 "bp-asm.h".
7579 (PARMS): Do not use macros from bp-asm.h.
7580 (SIGMSK): Likewise.
7581 (_setjmp): Likewise. Do not use BP_SYM.
7582 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7583 "bp-asm.h".
7584 (PARMS): Do not use macros from bp-asm.h.
7585 (SIGMSK): Likewise.
7586 (setjmp): Likewise. Do not use BP_SYM.
7587 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7588 "bp-asm.h".
7589 (PARMS): Do not use macros from bp-asm.h.
7590 (__frexp): Do not use BP_SYM.
7591 (frexp): Likewise.
7592 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7593 "bp-asm.h".
7594 (PARMS): Do not use macros from bp-asm.h.
7595 (__frexpf): Do not use BP_SYM.
7596 (frexpf): Likewise.
7597 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7598 "bp-asm.h".
7599 (PARMS): Do not use macros from bp-asm.h.
7600 (__frexpl): Do not use BP_SYM.
7601 (frexpl): Likewise.
7602 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7603 "bp-asm.h".
7604 (PARMS): Do not use macros from bp-asm.h.
7605 (__remquo): Do not use BP_SYM.
7606 (remquo): Likewise.
7607 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7608 "bp-asm.h".
7609 (PARMS): Do not use macros from bp-asm.h.
7610 (__remquof): Do not use BP_SYM.
7611 (remquof): Likewise.
7612 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7613 "bp-asm.h".
7614 (PARMS): Do not use macros from bp-asm.h.
7615 (__remquol): Do not use BP_SYM.
7616 (remquol): Likewise.
7617 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7618 "bp-asm.h".
7619 (PARMS): Do not use macros from bp-asm.h.
7620 (DEST): Likewise.
7621 (SRC): Likewise.
7622 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7623 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7624 "bp-asm.h".
7625 (PARMS): Do not use macros from bp-asm.h.
7626 (strlen): Do not use BP_SYM.
7627 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7628 "bp-asm.h".
7629 (PARMS): Do not use macros from bp-asm.h.
7630 (S1): Likewise.
7631 (S2): Likewise.
7632 (SIZE): Likewise.
7633 (__mpn_add_n): Do not use BP_SYM.
7634 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7635 "bp-asm.h".
7636 (PARMS): Do not use macros from bp-asm.h.
7637 (S1): Likewise.
7638 (SIZE): Likewise.
7639 (__mpn_addmul_1): Do not use BP_SYM.
7640 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7641 weak_alias.
7642 (bzero): Likewise.
7643 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7644 "bp-asm.h".
7645 (PARMS): Do not use macros from bp-asm.h.
7646 (S): Likewise.
7647 (SIZE): Likewise.
7648 (__mpn_lshift): Do not use BP_SYM.
7649 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7650 "bp-asm.h".
7651 (PARMS): Do not use macros from bp-asm.h.
7652 (DEST): Likewise.
7653 (SRC): Likewise.
7654 (LEN): Likewise.
7655 (memcpy): Likewise. Do not use BP_SYM.
7656 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7657 libc_hidden_def and weak_alias.
7658 (mempcpy): Do not use BP_SYM in weak_alias.
7659 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7660 "bp-asm.h".
7661 (PARMS): Do not use macros from bp-asm.h.
7662 (DEST): Likewise.
7663 (LEN): Likewise.
7664 [!BZERO_P] (CHR): Likewise.
7665 (memset): Likewise. Do not use BP_SYM.
7666 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7667 "bp-asm.h".
7668 (PARMS): Do not use macros from bp-asm.h.
7669 (S1): Likewise.
7670 (SIZE): Likewise.
7671 (__mpn_mul_1): Do not use BP_SYM.
7672 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7673 "bp-asm.h".
7674 (PARMS): Do not use macros from bp-asm.h.
7675 (S): Likewise.
7676 (SIZE): Likewise.
7677 (__mpn_rshift): Do not use BP_SYM.
7678 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7679 "bp-asm.h".
7680 (PARMS): Do not use macros from bp-asm.h.
7681 (STR): Likewise.
7682 (CHR): Likewise.
7683 (strchr): Likewise. Do not use BP_SYM.
7684 (index): Do not use BP_SYM in weak_alias.
7685 * sysdeps/i386/i586/strcpy.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 (SRC): Likewise.
7690 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7691 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7692 "bp-asm.h".
7693 (PARMS): Do not use macros from bp-asm.h.
7694 (strlen): Do not use BP_SYM.
7695 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7696 "bp-asm.h".
7697 (PARMS): Do not use macros from bp-asm.h.
7698 (S1): Likewise.
7699 (S2): Likewise.
7700 (SIZE): Likewise.
7701 (__mpn_sub_n): Do not use BP_SYM.
7702 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7703 "bp-asm.h".
7704 (PARMS): Do not use macros from bp-asm.h.
7705 (S1): Likewise.
7706 (SIZE): Likewise.
7707 (__mpn_submul_1): Do not use BP_SYM.
7708 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7709 "bp-asm.h".
7710 (PARMS): Do not use macros from bp-asm.h.
7711 (S1): Likewise.
7712 (S2): Likewise.
7713 (SIZE): Likewise.
7714 (__mpn_add_n): Do not use BP_SYM.
7715 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7716 weak_alias.
7717 (bzero): Likewise.
7718 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7719 "bp-asm.h".
7720 (PARMS): Do not use macros from bp-asm.h.
7721 (BLK2): Likewise.
7722 (LEN): Likewise.
7723 (memcmp): Do not use BP_SYM.
7724 (bcmp): Do not use BP_SYM in weak_alias.
7725 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7726 "bp-asm.h".
7727 (PARMS): Do not use macros from bp-asm.h.
7728 (DEST): Likewise.
7729 (SRC): Likewise.
7730 (LEN): Likewise.
7731 (memcpy): Likewise. Do not use BP_SYM.
7732 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7733 "bp-asm.h".
7734 (PARMS): Do not use macros from bp-asm.h.
7735 (DEST): Likewise.
7736 (SRC): Likewise.
7737 (LEN): Likewise.
7738 (memmove): Likewise. Do not use BP_SYM.
7739 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7740 "bp-asm.h".
7741 (PARMS): Do not use macros from bp-asm.h.
7742 (DEST): Likewise.
7743 (SRC): Likewise.
7744 (LEN): Likewise.
7745 (__mempcpy): Likewise. Do not use BP_SYM.
7746 (mempcpy): Do not use BP_SYM in weak_alias.
7747 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7748 "bp-asm.h".
7749 (PARMS): Do not use macros from bp-asm.h.
7750 (DEST): Likewise.
7751 (LEN): Likewise.
7752 [!BZERO_P] (CHR): Likewise.
7753 (memset): Likewise. Do not use BP_SYM.
7754 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7755 "bp-asm.h".
7756 (PARMS): Do not use macros from bp-asm.h.
7757 (STR2): Likewise.
7758 (strcmp): Do not use BP_SYM.
7759 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7760 "bp-asm.h".
7761 (PARMS): Do not use macros from bp-asm.h.
7762 (STR): Likewise.
7763 (DELIM): Likewise.
7764 [USE_AS_STRTOK_R] (SAVE): Likewise.
7765 (FUNCTION): Likewise. Do not use BP_SYM.
7766 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7767 aliases.
7768 (strtok_r): Likewise.
7769 (__GI___strtok_r): Likewise.
7770 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7771 (PARMS): Do not use macros from bp-asm.h.
7772 (S): Likewise.
7773 (SIZE): Likewise.
7774 (__mpn_lshift): Do not use BP_SYM.
7775 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7776 (PARMS): Do not use macros from bp-asm.h.
7777 (STR): Likewise.
7778 (CHR): Likewise.
7779 (__memchr): Do not use BP_SYM.
7780 (memchr): Do not use BP_SYM in weak_alias.
7781 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7782 (PARMS): Do not use macros from bp-asm.h.
7783 (BLK2): Likewise.
7784 (LEN): Likewise.
7785 (memcmp): Do not use BP_SYM.
7786 (bcmp): Do not use BP_SYM in weak_alias.
7787 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7788 (PARMS): Do not use macros from bp-asm.h.
7789 (S1): Likewise.
7790 (SIZE): Likewise.
7791 (__mpn_mul_1): Do not use BP_SYM.
7792 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7793 "bp-asm.h".
7794 (PARMS): Do not use macros from bp-asm.h.
7795 (STR): Likewise.
7796 (CHR): Likewise.
7797 (__rawmemchr): Do not use BP_SYM.
7798 (rawmemchr): Do not use BP_SYM in weak_alias.
7799 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7800 (PARMS): Do not use macros from bp-asm.h.
7801 (S): Likewise.
7802 (SIZE): Likewise.
7803 (__mpn_rshift): Do not use BP_SYM.
7804 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7805 (PARMS): Do not use macros from bp-asm.h.
7806 (SIGMSK): Likewise.
7807 (__sigsetjmp): Likewise. Do not use BP_SYM.
7808 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7809 (_start): Do not use BP_SYM.
7810 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7811 (PARMS): Do not use macros from bp-asm.h.
7812 (DEST): Likewise.
7813 (SRC): Likewise.
7814 (__stpcpy): Likewise. Do not use BP_SYM.
7815 (stpcpy): Do not use BP_SYM in weak_alias.
7816 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7817 "bp-asm.h".
7818 (PARMS): Do not use macros from bp-asm.h.
7819 (DEST): Likewise.
7820 (SRC): Likewise.
7821 (LEN): Likewise.
7822 (__stpncpy): Likewise. Do not use BP_SYM.
7823 (stpncpy): Do not use BP_SYM in weak_alias.
7824 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7825 (PARMS): Do not use macros from bp-asm.h.
7826 (STR): Likewise.
7827 (CHR): Likewise.
7828 (strchr): Likewise. Do not use BP_SYM.
7829 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7830 "bp-asm.h".
7831 (PARMS): Do not use macros from bp-asm.h.
7832 (STR): Likewise.
7833 (CHR): Likewise.
7834 (__strchrnul): Likewise. Do not use BP_SYM.
7835 (strchrnul): Do not use BP_SYM in weak_alias.
7836 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7837 "bp-asm.h".
7838 (PARMS): Do not use macros from bp-asm.h.
7839 (STOP): Likewise.
7840 (strcspn): Do not use BP_SYM.
7841 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7842 "bp-asm.h".
7843 (PARMS): Do not use macros from bp-asm.h.
7844 (STR): Likewise.
7845 (STOP): Likewise.
7846 (strpbrk): Likewise. Do not use BP_SYM.
7847 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7848 "bp-asm.h".
7849 (PARMS): Do not use macros from bp-asm.h.
7850 (STR): Likewise.
7851 (CHR): Likewise.
7852 (strrchr): Likewise. Do not use BP_SYM.
7853 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7854 (PARMS): Do not use macros from bp-asm.h.
7855 (SKIP): Likewise.
7856 (strspn): Do not use BP_SYM.
7857 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7858 (PARMS): Do not use macros from bp-asm.h.
7859 (STR): Likewise.
7860 (DELIM): Likewise.
7861 (SAVE): Likewise.
7862 (FUNCTION): Likewise. Do not use BP_SYM.
7863 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7864 aliases.
7865 (strtok_r): Likewise.
7866 (__GI___strtok_r): Likewise.
7867 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7868 (PARMS): Do not use macros from bp-asm.h.
7869 (S1): Likewise.
7870 (S2): Likewise.
7871 (SIZE): Likewise.
7872 (__mpn_sub_n): Do not use BP_SYM.
7873 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7874 "bp-asm.h".
7875 (PARMS): Do not use macros from bp-asm.h.
7876 (S1): Likewise.
7877 (SIZE): Likewise.
7878 (__mpn_submul_1): Do not use BP_SYM.
7879 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7880 <bp-sym.h>.
7881 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7882 and <bp-asm.h>.
7883 (PARMS): Do not use macros from bp-asm.h.
7884 (FLAGS): Likewise.
7885 (PTID): Likewise.
7886 (TLS): Likewise.
7887 (CTID): Likewise.
7888 (__clone): Do not use BP_SYM.
7889 (clone): Do not use BP_SYM in weak_alias.
7890 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7891 and <bp-asm.h>.
7892 (PARMS): Do not use macros from bp-asm.h.
7893 (LEN): Likewise.
7894 (__mmap64): Do not use BP_SYM.
7895 (mmap64): Do not use BP_SYM in weak_alias.
7896 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7897 <bp-sym.h> and <bp-asm.h>.
7898 (PARMS): Do not use macros from bp-asm.h.
7899 (__posix_fadvise64_l64): Do not use BP_SYM.
7900 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7901 (PARMS): Do not use macros from bp-asm.h.
7902 (NSOPS): Likewise.
7903 (semtimedop): Do not use BP_SYM.
7904 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7905 and <bp-asm.h>.
7906
582a3cff
AM
79072013-02-21 Allan McRae <allan@archlinux.org>
7908
7909 * manual/message.texi (Charset conversion in gettext):
7910 Move @end statement to beginning of line.
7911
bab8a695
SP
79122013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7913
80945231
SP
7914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7915 static.
7916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7917 Likewise.
7918
bab8a695
SP
7919 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7920 (denorm): Likewise.
7921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7923
e21d7aa7
AK
79242013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7925
7926 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7927 tail-call to the resolved function if pltexit isn't needed.
7928
4c7a4263
SP
79292013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7930
7931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7932 or Y being zero as being unlikely.
7933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7934 Likewise.
7935
41f49342
CD
79362013-02-20 Carlos O'Donell <carlos@redhat.com>
7937
7938 * manual/nss.texi (System Databases and Name Service Switch):
7939 Remove frobnicate @pxref.
7940
50022a93
TS
79412013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7942
7943 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7944 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7945
08cbd996
PM
79462013-02-20 Petr Machata <pmachata@redhat.com>
7947
7948 * elf/elf.h (R_ARM_TARGET1): New macro.
7949 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7950 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7951 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7952 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7953 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7954 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7955 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7956 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7957 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7958 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7959 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7960 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7961 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7962 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7963 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7964 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7965 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7966 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7967 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7968 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7969 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7970 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7971 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7972 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7973 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7974 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7975 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7976 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7977 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7978 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7979 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7980 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7981 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7982 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7983 (R_ARM_THM_GOT_BREL12): Likewise.
7984 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7985 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7986 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7987 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7988 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7989 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7990 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7991 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7992 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7993
c7b275d6
TS
79942013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7995
7996 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7997 __attribute_used__ to __attribute__ ((unused)).
7998
20cd7fb3
SP
79992013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8000
8001 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8002 powerpc mpa.c.
8003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8004 comment formatting.
8005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8006
92945b52
JM
80072013-02-19 Joseph Myers <joseph@codesourcery.com>
8008
8009 [BZ #13550]
8010 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
8011 Remove macro.
8012 (ENTER): Remove both macro definitions.
8013 (LEAVE): Likewise.
8014 (CHECK_BOUNDS_LOW): Likewise.
8015 (CHECK_BOUNDS_HIGH): Likewise.
8016 (CHECK_BOUNDS_BOTH): Likewise.
8017 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
8018 (RETURN_BOUNDED_POINTER): Likewise.
8019 (RETURN_NULL_BOUNDED_POINTER): Likewise.
8020 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
8021 (POP_ERRNO_LOCATION_RETURN): Likewise.
8022 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
8023 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8024 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
8025 macros.
8026 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8027 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
8028 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
8029 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
8030 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
8031 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
8032 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
8033 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
8034 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
8035 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
8036 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
8037 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
8038 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8039 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
8040 removed macros.
8041 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8042 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
8043 macros.
8044 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8045 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
8046 * sysdeps/i386/i586/memset.S (memset): Likewise.
8047 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
8048 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8049 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
8050 macros.
8051 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8052 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
8053 Change uses of L(2) to L(out).
8054 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
8055 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
8056 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
8057 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8058 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8059 removed macros.
8060 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8061 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8062 macros.
8063 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8064 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8065 (RETURN): Do not use macro LEAVE.
8066 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8067 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8068 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8069 * sysdeps/i386/i686/memset.S (memset): Likewise.
8070 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8071 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8072 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8073 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8074 Likewise.
8075 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8076 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8077 L(1_2) and L(1_3) into L(1).
8078 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8079 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8080 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8081 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8082 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8083 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8084 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8085 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8086 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8087 macros.
8088 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8089 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8090 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8091 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8092 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8093 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8094 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8095 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8096 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8097 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8098 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8099 * sysdeps/i386/strspn.S (strspn): Likewise.
8100 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8101 conditional code.
8102 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8103 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8104 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8105 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8106 L(1_3) into L(1_1).
8107 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8108 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8109 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8110 macros.
8111 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8112
2389741a
JJ
81132013-02-19 Jakub Jelinek <jakub@redhat.com>
8114
8115 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8116 macro.
8117
2016b3cd
SP
81182013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8119
e4f22324
SP
8120 * math/atest-exp.c (exp_mpn): Remove ROUND.
8121 * math/atest-exp2.c (exp_mpn): Likewise.
8122 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8123
2016b3cd
SP
8124 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8125 * stdlib/tst-tls-atexit-lib.c: Likewise.
8126 * stdlib/tst-tls-atexit.c: Likewise.
8127
4be9b544
MF
81282013-02-18 Mike Frysinger <vapier@gentoo.org>
8129
8130 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8131 and __attribute_alloc_size__.
8132
2f62b9ee
MF
81332013-02-18 Mike Frysinger <vapier@gentoo.org>
8134
8135 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8136 __attribute_alloc_size__.
8137 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8138 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8139
6ff444c4
MF
81402013-02-18 Mike Frysinger <vapier@gentoo.org>
8141
8142 * include/programs/xmalloc.h: New file.
8143 * catgets/gencat.c: Include it.
8144 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8145 * elf/pldd.c: Likewise.
8146 * iconv/iconv_charmap.c: Likewise.
8147 * iconv/iconvconfig.c: Likewise.
8148 * iconv/strtab.c: Likewise.
8149 * locale/programs/locale.c: Likewise.
8150 * locale/programs/localedef.h: Likewise.
8151 * locale/programs/simple-hash.c: Likewise.
8152 * nscd/nscd.h: Likewise.
8153 * nss/makedb.c: Likewise.
8154 * sysdeps/generic/ldconfig.h: Likewise.
8155
be179c8a
SP
81562013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8157
ba384f6e
SP
8158 * Versions.def: Add GLIBC_2.18.
8159 * include/link.h (struct link_map): New member l_tls_dtor_count.
8160 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8161 (__call_tls_dtors): Likewise.
8162 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8163 __cxa_thread_atexit_impl.
8164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8165 Likewise.
8166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8167 Likewise.
8168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8169 Likewise.
8170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8171 Likewise.
8172 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8174 Likewise.
8175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8176 Likewise.
8177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8179 Likewise.
8180 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8181 (tests): Add test case tst-tls-atexit.
8182 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8183 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8184 (GLIBC_PRIVATE): Add __call_tls_dtors.
8185 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8186 for libstdc++.
8187 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8188 * stdlib/tst-tls-atexit.c: New test case.
8189 * stdlib/tst-tls-atexit-lib.c: New test case.
8190
ffaa74cf 8191 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8192
be179c8a
SP
8193 * elf/Versions (ld): Add _dl_find_dso_for_object.
8194 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8195 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8196 (dl_open_worker): Use _dl_find_dso_for_object.
8197 * elf/dl-sym.c (do_sym): Likewise.
8198 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8199
f78b5caa
AK
82002013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8201
8202 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8203 Syntactic changes only.
8204 (_dl_runtime_profile): Do a tail-call to the resolved function.
8205
29691210
JM
82062013-02-17 Joseph Myers <joseph@codesourcery.com>
8207
8208 [BZ #13550]
8209 * sysdeps/x86_64/bp-asm.h: Remove file.
8210 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8211 <bp-sym.h> and <bp-asm.h>.
8212 (__clone): Do not use BP_SYM.
8213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8214 <bp-sym.h> and <bp-asm.h>.
8215 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8216 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8217 "bp-asm.h".
8218 (_setjmp): Do not use BP_SYM.
8219 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8220 "bp-asm.h".
8221 (setjmp): Do not use BP_SYM.
8222 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8223 libc_hidden_def.
8224 (mempcpy): Do not use BP_SYM in weak_alias.
8225 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8226 "bp-asm.h".
8227 (strchr): Do not use BP_SYM.
8228 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8229 "bp-asm.h".
8230 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8231 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8232 (_start): Do not use BP_SYM.
8233 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8234 "bp-asm.h".
8235 (strcat): Do not use BP_SYM.
8236 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8237 "bp-asm.h".
8238 (STRCMP): Do not use BP_SYM.
8239 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8240 "bp-asm.h".
8241 (STRCPY): Do not use BP_SYM.
8242 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8243 "bp-asm.h".
8244 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8245 "bp-asm.h".
8246 (FUNCTION): Do not use BP_SYM.
8247 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8248 weak_alias.
8249 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8250
f238fd19
AJ
82512013-02-17 Andreas Jaeger <aj@suse.de>
8252
8253 * time/Versions: Sort entries.
8254 * string/Versions: Likewise.
8255 * resolv/Versions: Likewise.
8256 * posix/Versions: Likewise.
8257 * iconv/Versions: Likewise.
8258 * elf/Versions: Likewise.
8259 * wcsmbs/Versions: Likewise.
8260
bd07f23c 82612013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8262
22af19f9
SP
8263 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8264 loop termination condition.
8265
4709fe76
SP
8266 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8267 variable to calculate EZ.
8268 (__sqr): Likewise.
2d0e0f29
SP
8269
8270 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8271 the lower precision input.
8272
daaa7713
JM
82732013-02-15 Joseph Myers <joseph@codesourcery.com>
8274
8275 [BZ #13550]
8276 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8277 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8278 (run-via-rtld-prefix): Do not handle %-bp tests.
8279 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8280 (all-object-suffixes): Remove .ob.
8281 (bppfx): Remove variable.
8282 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8283 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8284 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8285 [$(build-bounded) = yes] (libtype.ob): Likewise.
8286 * Makerules (elide-routines.ob): Remove variable.
8287 (do-tests-clean): Do not handle *-bp.out.
8288 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8289 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8290 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8291 (tests): Do not include $(tests-bp.out).
8292 (xtests): Do not include $(xtests-bp.out).
8293 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8294 [$(build-bounded) = yes] ($(addprefix
8295 $(objpfx),$(binaries-bounded))): Remove rule.
8296 ($(objpfx)%-bp.out): Remove rule.
8297 * config.make.in (build-bounded): Remove variable.
8298 * crypt/Makefile [$(build-bounded) = yes]
8299 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8300 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8301 append to variable.
8302 [$(build-bounded) = yes] (install-lib): Likewise.
8303 [$(build-bounded) = yes] (generated): Likewise.
8304 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8305 Remove rule.
8306 * intl/Makefile [$(build-bounded) = yes]
8307 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8308 * math/Makefile [$(build-bounded) = yes]
8309 ($(tests:%=$(objpfx)%-bp): Likewise.
8310 * misc/Makefile [$(build-bounded) = yes]
8311 ($(objpfx)tst-tsearch-bp): Likewise.
8312 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8313 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8314 Remove dependency.
8315 * string/Makefile (o-objects.ob): Remove variable.
8316 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8317 (CFLAGS-.ob): Remove variable.
8318 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8319 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8320 both definitions of variable.
8321 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8322 (ASFLAGS-.ob): Remove variable.
8323
e97ed6dd
JM
83242013-02-14 Joseph Myers <joseph@codesourcery.com>
8325
2bdd4ca6
JM
8326 [BZ #13550]
8327 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8328 Remove __BOUNDED_POINTERS__ from condition.
8329 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8330 * string/bits/string2.h [!__NO_STRING_INLINES &&
8331 !__BOUNDED_POINTERS__]: Likewise.
8332 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8333 Likewise.
8334 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8335 Remove conditional code.
8336 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8337 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8338 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8339 condition.
8340
e97ed6dd
JM
8341 [BZ #13550]
8342 * csu/libc-start.c: Do not include <bp-sym.h>.
8343 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8344 * elf/dl-open.c: Do not include <bp-sym.h>.
8345 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8346 * math/fegetenv.c: Do not include <bp-sym.h>.
8347 (fegetenv): Do not use BP_SYM in versioned symbols.
8348 * nptl/sysdeps/pthread/bits/libc-lockP.h
8349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8350 <bp-sym.h>.
8351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8352 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8354 (__pthread_mutex_destroy): Likewise.
8355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8356 (__pthread_mutex_lock): Likewise.
8357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8358 (__pthread_mutex_trylock): Likewise.
8359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8360 (__pthread_mutex_unlock): Likewise.
8361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8362 (__pthread_mutexattr_init): Likewise.
8363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8364 (__pthread_mutexattr_destroy): Likewise.
8365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8366 (__pthread_mutexattr_settype): Likewise.
8367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8368 (__pthread_rwlock_init): Likewise.
8369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8370 (__pthread_rwlock_destroy): Likewise.
8371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8372 (__pthread_rwlock_rdlock): Likewise.
8373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8374 (__pthread_rwlock_tryrdlock): Likewise.
8375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8376 (__pthread_rwlock_wrlock): Likewise.
8377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8378 (__pthread_rwlock_trywrlock): Likewise.
8379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8380 (__pthread_rwlock_unlock): Likewise.
8381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8382 (__pthread_key_create): Likewise.
8383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8384 (__pthread_setspecific): Likewise.
8385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8386 (__pthread_getspecific): Likewise.
8387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8388 Likewise.
8389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8390 (_pthread_cleanup_push_defer): Likewise.
8391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8392 (_pthread_cleanup_pop_restore): Likewise.
8393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8394 (pthread_setcancelstate): Likewise.
8395 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8396 <bp-sym.h>.
8397 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8398 (memchr): Do not use BP_SYM in weak_alias.
8399 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8400 (fegetenv): Do not use BP_SYM in versioned symbols.
8401 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8402 (fesetenv): Do not use BP_SYM in versioned symbols.
8403 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8404 (feupdateenv): Do not use BP_SYM in versioned symbols.
8405 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8406 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8407 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8408 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8409 (open64): Do not use BP_SYM in weak_alias.
8410 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8411 (fegetenv): Do not use BP_SYM in versioned symbols.
8412 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8413 (fesetenv): Do not use BP_SYM in versioned symbols.
8414 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8415 (feupdateenv): Do not use BP_SYM in versioned symbols.
8416 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8417 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8418 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8419 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8420 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8421 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8422 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8423 <bp-sym.h>.
8424 (__libc_start_main): Do not use BP_SYM.
8425
d6752ccd
SP
84262013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8427
cb57ce60
SP
8428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8429 redundant return line.
8430 (norm): Likewise.
8431 (denorm): Likewise.
8432 (dbl_mp): Likewise.
8433 (sub_magnitudes): Likewise.
8434 (__add): Likewise.
8435 (__sub): Likewise.
8436 (__mul): Likewise.
8437 (__inv): Likewise.
8438 (__dvd): Likewise.
8439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8440 (norm): Likewise.
8441 (denorm): Likewise.
8442 (dbl_mp): Likewise.
8443 (sub_magnitudes): Likewise.
8444 (__add): Likewise.
8445 (__sub): Likewise.
8446 (__mul): Likewise.
8447 (__inv): Likewise.
8448 (__dvd): Likewise.
8449
f414520d
SP
8450 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8451 instead of __mul.
8452 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8453 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8454 (cc32): Likewise.
8455
d6752ccd
SP
8456 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8457 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8458 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8459 of __mul for squares.
8460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8461 function
8462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8463 Likewise.
8464 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8465 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8466
70d9946a
JM
84672013-02-13 Joseph Myers <joseph@codesourcery.com>
8468
8469 [BZ #13550]
8470 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8471 code.
8472 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8473 prototype or function definition. Rename ubp_* variables and
8474 parameters. Remove argv definitions conditional on
8475 [__BOUNDED_POINTERS__].
8476 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8477 * elf/dl-runtime.c (_dl_fixup): Likewise.
8478 * include/set-hooks.h (RUN_HOOK): Likewise.
8479 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8480 definition.
8481 * string/strcpy.c (strcpy): Do not use __unbounded.
8482 * sysdeps/generic/frame.h (struct layout): Likewise.
8483 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8484 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8485 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8486 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8487 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8488 (__backtrace): Likewise.
8489 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8490 use __ptrvalue.
8491 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8492 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8493 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8494 Likewise.
8495 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8496 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8497 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8498 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8499 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8500 Do not use __unbounded.
8501 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8502 Rename __unboundedrlimits parameter to rlimits in prototype.
8503 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8504 Do not use __unbounded.
8505 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8506 not use __ptrvalue.
8507 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8508 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8509 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8510 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8511 __ptrvalue or __unbounded.
8512 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8513 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8514 use __unbounded.
8515 (__new_msgctl): Do not use __ptrvalue.
8516 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8517 __unbounded.
8518 (__libc_msgrcv): Do not use __ptrvalue.
8519 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8520 startup_info): Do not use __unbounded.
8521 (__libc_start_main): Likewise. Rename ubp_* variables and
8522 parameters. Remove argv definitions conditional on
8523 [__BOUNDED_POINTERS__].
8524 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8525 __ptrvalue.
8526 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8527 use __unbounded.
8528 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8529 or __ptrvalue.
8530 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8531 use __unbounded.
8532 (__new_shmctl): Do not use __ptrvalue.
8533 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8534 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8535 Likewise.
8536 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8537 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8538 (__libc_sigaction): Likewise.
8539 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8540 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8541 Likewise.
8542 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8543
cc7834d6
OB
85442013-02-13 Ondřej Bílka <neleai@seznam.cz>
8545
ffb1ec7b 8546 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8547
8548 * string/mempcpy.c: Implement by calling memcpy.
8549
bdf02814
SP
85502013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8551
c2af38aa
SP
8552 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8553
4e92d59e
SP
8554 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8555 evaluation.
8556
909279a5
SP
8557 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8558 values in the mantissa.
8559
bdf02814
SP
8560 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8561 minimize writes to Z.
8562 (sub_magnitudes): Simplify code a bit.
8563
cd525923
RM
85642013-02-12 Roland McGrath <roland@hack.frob.com>
8565
8566 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8567 from the message. The linker prefixes all warnings with that already.
8568
7e2f0d2d
AS
85692013-02-12 Andreas Schwab <schwab@suse.de>
8570
a445af0b
AS
8571 [BZ #15078]
8572 * posix/regexec.c (extend_buffers): Add parameter min_len.
8573 (check_matching): Pass minimum needed length.
8574 (clean_state_log_if_needed): Likewise.
8575 (get_subexp): Likewise.
8576 * posix/Makefile (tests): Add bug-regex34.
8577 (bug-regex34-ENV): Define.
8578 * posix/bug-regex34.c: New file.
8579
7e2f0d2d
AS
8580 [BZ #11561]
8581 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8582 elements compare against the byte sequence of it, not its name.
8583 * posix/Makefile (tests): Add bug-regex35.
8584 (bug-regex35-ENV): Define.
8585 * posix/bug-regex35.c: New file.
8586
a175b684
TV
85872013-02-11 Tom de Vries <tom@codesourcery.com>
8588
8589 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8590 comment.
8591 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8592 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8593 (CHECK_EOL): Add undef.
8594
310998fe 85952013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8596
8597 * bits/stdlib-bsearch.h: New file.
8598 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8599 * stdlib/stdlib.h: Likewise.
41eda41d 8600
8ded91fb
RM
86012013-02-11 Roland McGrath <roland@hack.frob.com>
8602
8603 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8604 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8605 declaration.
8606 * manual/search.texi (Array Search Function): Add missing const in
8607 lfind prototype.
8608 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8609 declaration to use rlim_t.
8610 (Basic Scheduling Functions): Remove erroneous const from
8611 sched_getparam prototype. Remove erroneous * from
8612 sched_get_priority_max and sched_get_priority_min prototypes.
8613 (Resource Usage): Fix summary @comment on vtimes to refer to
8614 sys/vtimes.h rather than vtimes.h.
8615 Add missing *s in vtimes prototype.
8616 (Limits on Resources): Fix ulimit prototype to return long int.
8617 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8618 prototypes to use long int rather than double.
8619 (BSD Random): Fix initstate and setstate to use char *, not void *.
8620 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8621 prototype to make second argument 'struct aiocb64 *const[]'.
8622 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8623 (Status of AIO Operations): Remove erroneous const in aio_return and
8624 aio_return64 prototypes.
8625 (Synchronizing I/O): Fix sync prototype to return void.
8626 * manual/startup.texi (Suboptions): Remove an erroneous const in
8627 getsubopt prototype.
8628 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8629 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8630 use size_t rather than int.
8631 (Scanning All Users): Likewise for getpwent_r.
8632 (Setting Groups): Add missing const to setgroups prototype.
8633 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8634 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8635 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8636 'const void *' rather than 'const char *'.
8637 (Host Address Functions): Likewise for inet_ntop.
8638 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8639 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8640 ssize_t for return value.
8641 (Sending Data): Likewise for send, sendto, sendmsg.
8642 (Socket Option Functions): Add a missing const in setsockopt prototype.
8643 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8644 use wchar_t for the argument.
8645 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8646 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8647 take no arguments.
8648 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8649 double/float/long double for second argument.
8650 Fix return types of significand, significandf, significandl.
8651 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8652 argument in fchmod prototype.
8653 (File Owner): Use uid_t and gid_t in fchown prototype.
8654 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8655 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8656 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8657 use 'const struct dirent **' as argument types to CMP function pointer
8658 argument.
8659 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8660 (File Times): Fix summary magic @comment for struct utimbuf and utime
8661 to refer to utime.h, not time.h.
8662 * manual/string.texi (Argz Functions): Add missing const in
8663 argz_extract and argz_next prototypes.
8664 (Finding Tokens in a String): Likewise for basename.
8665 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8666 (Copying and Concatenation): Fix typo in wmemmove prototype.
8667 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8668 (Signal Stack): Remove erroneous const in sigstack prototype.
8669 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8670 prototype.
8671 (Simple Calendar Time): Likewise for stime.
8672 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8673 prototype.
8674 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8675 say sys/sysctl.h instead.
8676 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8677 and vsyslog prototypes.
8678
fe77fe6d
TV
86792013-02-11 Tom de Vries <tom@codesourcery.com>
8680
8681 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8682 Remove.
8683
3a09b620
RM
86842013-02-11 Roland McGrath <roland@hack.frob.com>
8685
8686 * misc/sys/mman.h: Fix typo in mremap comment.
8687
550a0b89
RM
86882013-02-08 Roland McGrath <roland@hack.frob.com>
8689
8690 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8691 the '\0' terminator.
8692
a2da1673
JM
86932013-02-08 Joseph Myers <joseph@codesourcery.com>
8694
8695 [BZ #13550]
8696 * debug/segfault.c: Don't include <bp-checks.h>.
8697 * sysdeps/generic/bp-checks.h: Remove file.
8698 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8699 (__GETDENTS): Don't use CHECK_N.
8700 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8701 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8702 (__getgroups): Don't use CHECK_N.
8703 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8704 (setgroups): Don't use CHECK_N.
8705 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8706 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8707 (__libc_msgrcv): Don't use CHECK_N.
8708 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8709 (__libc_msgsnd): Don't use CHECK_N.
8710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8711 <bp-checks.h>.
8712 (__libc_pread): Don't use CHECK_N.
8713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8714 include <bp-checks.h>.
8715 (__libc_pread64): Don't use CHECK_N.
8716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8717 include <bp-checks.h>.
8718 (__libc_pwrite): Don't use CHECK_N.
8719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8720 include <bp-checks.h>.
8721 (__libc_pwrite64): Don't use CHECK_N.
8722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8723 <bp-checks.h>.
8724 (__libc_pread): Don't use CHECK_N.
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8726 include <bp-checks.h>.
8727 (__libc_pread64): Don't use CHECK_N.
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8729 include <bp-checks.h>.
8730 (__libc_pwrite): Don't use CHECK_N.
8731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8732 include <bp-checks.h>.
8733 (__libc_pwrite64): Don't use CHECK_N.
8734 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8735 (do_pread): Don't use CHECK_N.
8736 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8737 (do_pread64): Don't use CHECK_N.
8738 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8739 (do_pwrite): Don't use CHECK_N.
8740 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8741 (do_pwrite64): Don't use CHECK_N.
8742 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8743 (__libc_readv): Don't use CHECK_N.
8744 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8745 (semop): Don't use CHECK_N.
8746 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8747 <bp-checks.h>.
8748 (semtimedop): Don't use CHECK_N.
8749 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8750 (__libc_pread): Don't use CHECK_N.
8751 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8752 <bp-checks.h>.
8753 (__libc_pread64): Don't use CHECK_N.
8754 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8755 <bp-checks.h>.
8756 (__libc_pwrite): Don't use CHECK_N.
8757 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8758 <bp-checks.h>.
8759 (__libc_pwrite64): Don't use CHECK_N.
8760 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8761 <bp-checks.h>.
8762 (__libc_msgrcv): Don't use CHECK_N.
8763 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8764 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8765 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8766 (__libc_writev): Don't use CHECK_N.
8767
b84660a8
RM
87682013-02-08 Roland McGrath <roland@hack.frob.com>
8769
7f3e75f8
RM
8770 * string/strcpy.c: Removed unused variable.
8771
b84660a8
RM
8772 * Makeconfig (+sysdep-includes): Define with := rather than =.
8773 Use an existing include/ subdir of each sysdeps dir before it.
8774
471514d3
CD
87752013-02-08 Carlos O'Donell <carlos@redhat.com>
8776
8777 * nscd/connection.c (register_traced_file): Comment function.
8778 [HAVE_INOTIFY] (union __inev): Define.
8779 [HAVE_INOTIFY] (inotify_check_files): New function.
8780 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8781 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8782 clear_db_cache.
8783 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8784
b2d3c3be
CD
87852013-02-08 Carlos O'Donell <carlos@redhat.com>
8786
8787 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8788 loaded if not already and that a failure is permanent.
8789
b39949d2
CD
87902013-02-08 Carlos O'Donell <carlos@redhat.com>
8791
ddacd1db 8792 [BZ #15006]
b39949d2
CD
8793 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8794 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8795
b2c9eff4
JM
87962013-02-08 Joseph Myers <joseph@codesourcery.com>
8797
f3aae3f3
JM
8798 [BZ #13550]
8799 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8800 (CHECK_1_NULL_OK): Likewise.
8801 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8802 (__fxstat): Do not use CHECK_1.
8803 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8804 <bp-checks.h>.
8805 (___fxstat64): Do not use CHECK_1.
8806 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8807 <bp-checks.h>.
8808 (__fxstatat): Do not use CHECK_1.
8809 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8810 <bp-checks.h>.
8811 (__fxstatat64): Do not use CHECK_1.
8812 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8813 <bp-checks.h>.
8814 (__fxstat): Do not use CHECK_1.
8815 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8816 <bp-checks.h>.
8817 (__fxstatat): Do not use CHECK_1.
8818 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8819 <bp-checks.h>.
8820 (__getresgid): Do not use CHECK_1.
8821 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8822 <bp-checks.h>.
8823 (__getresuid): Do not use CHECK_1.
8824 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8825 <bp-checks.h>.
8826 (__lxstat): Do not use CHECK_1.
8827 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8828 <bp-checks.h>.
8829 (__old_msgctl): Do not use CHECK_1.
8830 (__new_msgctl): Likewise.
8831 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8832 <bp-checks.h>.
8833 (__new_setrlimit): Do not use CHECK_1.
8834 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8835 <bp-checks.h>.
8836 (__old_shmctl): Do not use CHECK_1.
8837 (__new_shmctl): Likewise.
8838 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8839 <bp-checks.h>.
8840 (__xstat): Do not use CHECK_1.
8841 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8842 (__lxstat): Do not use CHECK_1.
8843 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8844 <bp-checks.h>.
8845 (___lxstat64): Do not use CHECK_1.
8846 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8847 (__old_msgctl): Do not use CHECK_1.
8848 (__new_msgctl): Likewise.
8849 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8850 <bp-checks.h>.
8851 (__gettimeofday): Do not use CHECK_1.
8852 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8853 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8854 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8855 <bp-checks.h>.
8856 (__gettimeofday): Do not use CHECK_1.
8857 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8858 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8859 (__new_shmctl): Do not use CHECK_1.
8860 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8861 <bp-checks.h>.
8862 (do_sigtimedwait): Do not use CHECK_1.
8863 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8864 <bp-checks.h>.
8865 (do_sigwaitinfo): Do not use CHECK_1.
8866 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8867 <bp-checks.h>.
8868 (msgctl): Do not use CHECK_1.
8869 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8870 <bp-checks.h>.
8871 (shmctl): Do not use CHECK_1.
8872 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8873 (ustat): Do not use CHECK_1.
8874 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8875 <bp-checks.h>.
8876 (__fxstat): Do not use CHECK_1.
8877 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8878 <bp-checks.h>.
8879 (__fxstatat): Do not use CHECK_1.
8880 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8881 <bp-checks.h>.
8882 (__lxstat): Do not use CHECK_1.
8883 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8884 <bp-checks.h>.
8885 (__xstat): Do not use CHECK_1.
8886 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8887 (__xstat): Do not use CHECK_1.
8888 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8889 (___xstat64): Do not use CHECK_1.
8890
b2c9eff4
JM
8891 [BZ #13550]
8892 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8893 definitions.
8894 (CHECK_BOUNDS_HIGH): Likewise.
8895 * string/strcpy.c: Do not include <bp-checks.h>.
8896 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8897
f1d70dad
RM
88982013-02-07 Roland McGrath <roland@hack.frob.com>
8899
8900 * nscd/nscd-client.h (__nscd_drop_map_ref):
8901 Add __attribute__ ((unused)).
8902 * nis/nss-nisplus.h (niserr2nss): Likewise.
8903
8904 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8905 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8906
8907 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8908 Remove inline keyword.
8909 * include/rounding-mode.h (round_away): Likewise.
8910 * libio/wfileops.c (adjust_wide_data): Likewise.
8911 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8912 (__m128i_strloadu_tolower): Likewise.
8913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8914 (__m128i_strloadu_tolower): Likewise.
8915 * time/mktime.c (ydhms_diff): Likewise.
8916 * locale/elem-hash.h (elem_hash): Likewise.
8917 * locale/setlocale.c (setdata): Likewise.
8918 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8919 (re_string_wchar_at): Likewise.
8920 (bitset_not, bitset_merge, bitset_mask): Likewise.
8921 [!(__GNUC__ > 3)] (inline): Remove macro.
8922 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8923 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8924 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8925 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8926 * string/memcmp.c (memcmp_bytes): Likewise.
8927 * locale/programs/locarchive.c (compute_hashval): Likewise.
8928 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8929 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8930 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8931 * nss/getent.c (print_rpc, print_protocols): Likewise.
8932 (print_passwd, print_group, print_aliases): Likewise.
8933 * nis/nss-nisplus.h (niserr2nss): Likewise.
8934 * nscd/connections.c (restart_p): Likewise.
8935 Change return type to bool.
8936
eab55bfb
RM
89372013-02-05 Roland McGrath <roland@hack.frob.com>
8938
7bd642f5
RM
8939 * Makeconfig (all-Depend-files): Add existing
8940 $(sorted-subdirs:=/Depend) files.
8941 (all-subdirs): Remove nss.
8942 * sysdeps/unix/inet/Subdirs: Add it here instead.
8943 * hesiod/Depend: New file.
8944
573c29b2
RM
8945 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8946 instead of calling alloca.
8947
b2e25af0
RM
8948 * io/lseek.c (__lseek): Rename to __libc_lseek.
8949 Define __lseek as an alias.
8950
eab55bfb
RM
8951 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8952
9a0d1941
CD
89532013-02-04 Carlos O'Donell <carlos@redhat.com>
8954
8955 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8956 else clause and remove check for non-standard endianness.
8957
b83bbec4
DM
89582013-02-04 David S. Miller <davem@davemloft.net>
8959
8960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8961
6277fdab
JM
89622013-02-04 Joseph Myers <joseph@codesourcery.com>
8963
8964 [BZ #13550]
8965 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8966 (__ubp_memchr): Remove prototype.
8967 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8968 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8969 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8970 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8971 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8972 Remove alias.
8973 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8974 (__ubp_memchr): Likewise.
8975 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8976 (__ubp_memchr): Likewise.
8977 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8978 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8979 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8980 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8981 CHECK_STRING.
8982 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8983 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8984 (__getcwd): Do not use CHECK_STRING.
8985 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8986 <bp-checks.h>.
8987 (__real_chown): Do not use CHECK_STRING.
8988 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8989 <bp-checks.h>.
8990 (fchownat): Do not use CHECK_STRING.
8991 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8992 CHECK_STRING.
8993 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8994 <bp-checks.h>.
8995 (__lchown): Do not use CHECK_STRING.
8996 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8997 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8998 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8999 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9001 include <bp-checks.h>.
9002 (truncate64): Do not use CHECK_STRING.
9003 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9004 <bp-checks.h>.
9005 (__real_chown): Do not use CHECK_STRING.
9006 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9007 <bp-checks.h>.
9008 (__lchown): Do not use CHECK_STRING.
9009 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
9010 <bp-checks.h>.
9011 (__chown): Do not use CHECK_STRING.
9012 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
9013 <bp-checks.h>.
9014 (truncate64): Do not use CHECK_STRING.
9015 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
9016 Likewise.
9017 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
9018 (__xmknod): Do not use CHECK_STRING.
9019 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9020 <bp-checks.h>.
9021 (__xmknodat): Do not use CHECK_STRING.
9022 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9023 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9024
903ae060
AS
90252013-02-04 Andreas Schwab <schwab@suse.de>
9026
9027 [BZ #14142]
9028 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
9029 * include/netdb.h: Likewise for h_errno.
9030 * elf/tst-stackguard1.c: Include <tls.h>.
9031
542f9466
JK
90322013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9033
9034 * elf/link.h (struct link_map): Extend the l_addr comment.
9035 * include/link.h (struct link_map): Likewise.
9036
e782a927
JM
90372013-02-01 Joseph Myers <joseph@codesourcery.com>
9038
9039 [BZ #13550]
9040 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
9041 (BOUNDED_1): Remove macro.
9042 * debug/backtrace.c: Don't include <bp-checks.h>.
9043 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
9044 (__backtrace): Likewise.
9045 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
9046 <bp-checks.h>.
9047 (__backtrace): Don't use BOUNDED_1.
9048 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
9049 <bp-checks.h>.
9050 (__backtrace): Don't use BOUNDED_1.
9051 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
9052 (__backtrace): Don't use BOUNDED_1.
9053 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
9054 (shmat): Don't use BOUNDED_N.
9055
8cf28c5e
JM
90562013-01-31 Joseph Myers <joseph@codesourcery.com>
9057
3a7ac8a0
JM
9058 [BZ #13550]
9059 * sysdeps/generic/bp-start.h: Remove file.
9060 * csu/libc-start.c: Don't include <bp-start.h>.
9061 (LIBC_START_MAIN): Set up __environ directly instead of using
9062 INIT_ARGV_and_ENVIRON.
9063 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9064 <bp-start.h>.
9065
f3499f95
JM
9066 [BZ #13550]
9067 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9068 definitions.
9069 (CHECK_FCNTL): Likewise.
9070 (CHECK_N_PAGES): Likewise.
9071
32a45bea
JM
9072 [BZ #13550]
9073 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9074 definitions.
9075 (CHECK_SIGSET_NULL_OK): Likewise.
9076 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9077 <bp-checks.h>.
9078 (sigpending): Don't use CHECK_SIGSET.
9079 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9080 <bp-checks.h>.
9081 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9082 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9083 <bp-checks.h>.
9084 (do_sigsuspend): Don't use CHECK_SIGSET.
9085 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9086 use CHECK_SIGSET.
9087 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9088 (do_sigwait): Don't use CHECK_SIGSET.
9089 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9090 use CHECK_SIGSET.
9091 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9092 include <bp-checks.h>.
9093 (sigpending): Don't use CHECK_SIGSET.
9094 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9095 include <bp-checks.h>.
9096 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9097 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9098 <bp-checks.h>.
9099 (sigpending): Don't use CHECK_SIGSET.
9100 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9101 <bp-checks.h>.
9102 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9103
2e8a5c8c
JM
9104 [BZ #13550]
9105 * sysdeps/generic/bp-semctl.h: Remove file.
9106 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9107 <bp-checks.h> and <bp-semctl.h>.
9108 (__old_semctl): Don't use CHECK_SEMCTL.
9109 (__new_semctl): Likewise.
9110 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9111 and <bp-semctl.h>.
9112 (__old_semctl): Don't use CHECK_SEMCTL.
9113 (__new_semctl): Likewise.
9114 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9115 <bp-checks.h> and <bp-semctl.h>.
9116 (__old_semctl): Don't use CHECK_SEMCTL.
9117 (__new_semctl): Likewise.
9118 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9119 <bp-checks.h> and <bp-semctl.h>.
9120 (semctl): Don't use CHECK_SEMCTL.
9121
c2d54929
JM
9122 [BZ #13550]
9123 * Makerules (elide-bp-thunks): Remove variable.
9124 (elide-routines.oS): Don't use $(elide-bp-thunks).
9125 (elide-routines.os): Likewise.
9126 (elide-routines.o): Likewise.
9127 (elide-routines.op): Likewise.
9128 (elide-routines.og): Likewise.
9129 (objects): Don't use $(bp-thunks).
9130 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9131 include.
9132 (common-generated): Do not add s-proto-bp.d.
9133 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9134 (int): Likewise.
9135 (typ): Likewise.
9136 Do not generate makefile rules for bounded-pointer thunks.
9137 * sysdeps/generic/bp-thunks.h: Remove file.
9138 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9139 * sysdeps/unix/s-proto-bp.S: Likewise.
9140
8cf28c5e
JM
9141 [BZ #15062]
9142 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9143 parts of result separately when argument is not close to line from
9144 -i to i and one part of argument is small.
9145 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9146 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9147 * math/libm-test.inc (cacos_test): Add more tests.
9148 (casin_test): Likewise.
9149 (casinh_test): Likewise.
9150 * sysdeps/i386/fpu/libm-test-ulps: Update.
9151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9152
c4e33b8d
DM
91532013-01-31 David S. Miller <davem@davemloft.net>
9154
9155 * po/de.po: Update from translation team.
9156
3b60b421
MK
91572013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9158
9159 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9160
bb931195
TS
91612013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9162
b5a5da23
TS
9163 * configure.in (_AC_PROG_CC_C89): New definition.
9164 * configure: Regenerate.
9165
bb931195
TS
9166 * configure.in (AC_PROG_CPP): New definition.
9167 * configure: Regenerate.
9168
8c53a12c
JM
91692013-01-23 Joseph Myers <joseph@codesourcery.com>
9170
9171 * debug/tst-backtrace.h: New file.
9172 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9173 (ret): Remove variable.
9174 (x): Likewise.
9175 (FAIL): Remove macro.
9176 (NO_INLINE): Likewise.
9177 (fn1): Use match function instead of strstr.
9178 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9179 (ret): Remove variable.
9180 (x): Likewise.
9181 (FAIL): Remove macro.
9182 (NO_INLINE): Likewise.
9183 (fn): Use match function instead of strstr.
9184 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9185 (ret): Remove variable.
9186 (x): Likewise.
9187 (FAIL): Remove macro.
9188 (NO_INLINE): Likewise.
9189 (handle_signal): Use match function instead of strstr.
9190 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9191 (ret): Remove variable.
9192 (x): Likewise.
9193 (FAIL): Remove macro.
9194 (NO_INLINE): Likewise.
9195 (handle_signal): Use match function instead of strstr.
9196
4858fa2a
RM
91972013-01-23 Roland McGrath <roland@hack.frob.com>
9198
9199 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9200
bae8e7f5
DM
92012013-01-23 David S. Miller <davem@davemloft.net>
9202
9203 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9204 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9205 argument of CAS if possible.
9206 * sysdeps/sparc/sparc64/bits/atomic.h
9207 (__arch_compare_and_exchange_val_32_acq): Likewise.
9208 (__arch_compare_and_exchange_val_64_acq): Likewise.
9209
9cbbc4ae
PT
92102013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9211
9212 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9213 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9214 Include <limits.h>.
67b3f58c 9215 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9216
5655a0b5
AC
92172013-01-23 Adam Conrad <adconrad@0c3.net>
9218
9219 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9220 (LDFLAGS-tst-array5): Likewise.
9221
052aff95
JM
92222013-01-23 Joseph Myers <joseph@codesourcery.com>
9223
9224 [BZ #15036]
9225 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9226 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9227 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9228 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9229
7c1e01aa
DM
92302013-01-21 David S. Miller <davem@davemloft.net>
9231
9232 * sysdeps/sparc/backtrace.c: New file.
9233 * sysdeps/sparc/sparc32/backtrace.h: New file.
9234 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9235 * sysdeps/sparc/sparc64/backtrace.h: New file.
9236 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9237 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9238 -funwind-tables.
9239
ab087e0a
AS
92402013-01-21 Andreas Schwab <schwab@suse.de>
9241
9242 [BZ #15020]
9243 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9244 closed its stdout.
9245
ed689c2f
AS
92462013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9247
9248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9249 "mpa2.h".
9250 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9251
31d470ac
JM
92522013-01-18 Joseph Myers <joseph@codesourcery.com>
9253 Mark Mitchell <mark@codesourcery.com>
9254 Tom de Vries <tom@codesourcery.com>
9255 Paul Pluzhnikov <ppluzhnikov@google.com>
9256
9257 * debug/tst-backtrace2.c: New file.
9258 * debug/tst-backtrace3.c: Likewise.
9259 * debug/tst-backtrace4.c: Likewise.
9260 * debug/tst-backtrace5.c: Likewise.
9261 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9262 (CFLAGS-tst-backtrace3.c): Likewise.
9263 (CFLAGS-tst-backtrace4.c): Likewise.
9264 (CFLAGS-tst-backtrace5.c): Likewise.
9265 (LDFLAGS-tst-backtrace2): Likewise.
9266 (LDFLAGS-tst-backtrace3): Likewise.
9267 (LDFLAGS-tst-backtrace4): Likewise.
9268 (LDFLAGS-tst-backtrace5): Likewise.
9269 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9270 tst-backtrace4 and tst-backtrace5.
9271
90567f30 92722013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9273 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9274
9275 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9276 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9277 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9278 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9280 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9281 "+r" and remove output regs list as redundant. Add explicit inline
9282 asm to specify register of return val to work around compiler codegen
9283 bug. Remove (int) cast on return value. Add return type parameter to
9284 use in macro so that this macro does not truncate return value for
9285 64-bit values.
9286 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9287 pass to INTERNAL_VSYSCALL_NCS.
9288 (INLINE_VSYSCALL): Add 'long int' as return type to
9289 INTERNAL_VSYSCALL_NCS macro invocation.
9290 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9291 INTERNAL_VSYSCALL_NCS macro invocation.
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9293
d3b9ea61
SP
92942013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9295
0b57daeb
SP
9296 [BZ #14496]
9297 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9298 Fix application of SIMD FP exception mask.
9299
caa99d06
SP
9300 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9301 mp_no from a power of two.
9302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9303 __mpexp_twomm1. Use __pow_mp.
9304
d3b9ea61
SP
9305 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9306 multiplication.
9307
1dbaee3c
DM
93082013-01-17 David S. Miller <davem@davemloft.net>
9309
9310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9311
728d7b43
JM
93122013-01-17 Joseph Myers <joseph@codesourcery.com>
9313
9314 [BZ #15023]
9315 * include/complex.h: Condition contents on [!_COMPLEX_H].
9316 (__kernel_casinhf): New prototype.
9317 (__kernel_casinh): Likewise.
9318 (__kernel_casinhl): Likewise.
9319 * math/Makefile (libm_calls): Add k_casinh.
9320 * math/k_casinh.c: New file.
9321 * math/k_casinhf.c: Likewise.
9322 * math/k_casinhl.c: Likewise.
9323 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9324 finite nonzero arguments.
9325 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9326 finite nonzero arguments.
9327 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9328 finite nonzero arguments.
9329 * math/s_casinh.c: Do not include <float.h>.
9330 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9331 * math/s_casinhf.c: Do not include <float.h>.
9332 (__casinhf): Move code for finite nonzero arguments to
9333 k_casinhf.c.
9334 * math/s_casinhl.c: Do not include <float.h>.
9335 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9336 redefine.
9337 (__casinhl): Move code for finite nonzero arguments to
9338 k_casinhl.c.
9339 * math/libm-test.inc (cacos_test): Add more tests.
9340 * sysdeps/i386/fpu/libm-test-ulps: Update.
9341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9342
2a26ef3a
PT
93432013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9344
9345 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9346 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9347 [!HAVE_MREMAP]: Remove [defined linux] case.
9348 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9349
a897655d
SP
93502013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9351
9352 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9353
881ebe89 93542013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9355
9356 * elf/elf.h (R_386_SIZE32): New relocation.
9357 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9358 R_386_SIZE32.
9359 (elf_machine_rela): Likewise.
9360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9361 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9362
59981e9b
JM
93632013-01-17 Joseph Myers <joseph@codesourcery.com>
9364
9365 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9366 (FP_FAST_FMA): Do not define.
9367 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9368 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9369 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9370 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9371 !_SOFT_FLOAT]: Likewise.
9372 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9373 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9374 value.
9375 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9376 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9377 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9378 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9379 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9380 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9381 file.
9382
cfa8054f
AS
93832013-01-16 Andreas Schwab <schwab@suse.de>
9384
9385 [BZ #14327]
9386 * include/stdlib.h (__mktemp): Add declaration.
9387 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9388 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9389
dd930cc5
SP
93902013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9391
881ebe89
SP
9392 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9393 definitions.
9394 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9395 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9396 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9397 definitions here.
9398 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9399 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9400 definitions.
9401 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9402 and ONE.
9403 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9404 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9405 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9406 definitions.
9407 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9408 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9409 definitions.
9410 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9411
dd930cc5
SP
9412 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9413
c19a9f89
DM
94142013-01-15 David S. Miller <davem@davemloft.net>
9415
1aa61767
DM
9416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9417 trunc{,f} to libm-sysdep_routes.
9418 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9420 file.
9421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9423 file.
9424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9425 file.
9426 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9428 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9429 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9430 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9431 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9432 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9433 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9434
c42d5e98
DM
9435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9436 nearbyint{,f} to libm-sysdep_routes.
9437 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9439 New file.
9440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9441 file.
9442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9443 New file.
9444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9445 file.
9446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9448 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9449 file.
9450 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9451 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9452 file.
9453 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9454 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9455 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9456
c19a9f89
DM
9457 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9458 libc_feholdexcept and libc_fesetenv.
9459
357679d2
MF
94602013-01-15 Mike Frysinger <vapier@gentoo.org>
9461
9462 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9463
65a82e3d
DM
94642013-01-14 David S. Miller <davem@davemloft.net>
9465
8b954ab9
DM
9466 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9467 (SPARC_ASM_VIS2_IFUNC): Likewise.
9468 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9470 use of 'siam' instruction.
9471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9472 Likewise.
9473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9474 Likewise.
9475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9476 Likewise.
9477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9482 file.
9483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9484 file.
9485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9486 file.
9487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9488 file.
9489 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9490 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9492 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9494 new VIS2 routines.
9495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9498 Likewise.
9499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9500 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9501 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9502 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9504 routines to libm-sysdep_routines.
9505 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9506
65a82e3d
DM
9507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9508 fdim/fdimf to libm-sysdep_routines.
9509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9510 file.
9511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9513 file.
9514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9517 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9518 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9519 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9520 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9521
e34ab705
SP
95222013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9523
2a91b573
SP
9524 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9525 to optimize copies.
9526
1066a534
SP
9527 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9528 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9530
e34ab705
SP
9531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9532 local variable MPTWO.
9533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9534 Likewise.
9535
aba5e596
MF
95362013-01-13 Mike Frysinger <vapier@gentoo.org>
9537
9538 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9539 GLOB_NOESCAPE.
9540
e557e9e5
MF
95412013-01-13 Mike Frysinger <vapier@gentoo.org>
9542
9543 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9544
0428cec9
MF
95452013-01-13 Mike Frysinger <vapier@gentoo.org>
9546
9547 * manual/pattern.texi (glob_t): Document gl_flags.
9548 (glob64_t): Likewise.
9549
8794a964
DM
95502013-01-11 David S. Miller <davem@davemloft.net>
9551
66438c3f
RM
9552 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9553 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9554 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9555 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9556 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9557 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9558 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9559 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9560 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9561 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9562 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9563 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9564 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9565
4ae4244d
DM
9566 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9567 sparc V9 rather than using V8 code.
9568 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9569 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9570
8794a964
DM
9571 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9572 Move to...
9573 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9574 Here.
9575
6270516e
RM
95762013-01-11 Roland McGrath <roland@hack.frob.com>
9577
9578 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9579 not in the main loop.
9580 * configure: Regenerated.
9581
6a57d931
JM
95822013-01-11 Joseph Myers <joseph@codesourcery.com>
9583
9584 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9585 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9586 to just #else.
9587 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9588 [!__GLIBC_HAVE_LONG_LONG] case.
9589 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9590 condition to just #else.
9591 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9592 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9593 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9594 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9595 unconditional.
9596 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9597 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9598 #elif condition to just #else.
9599 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9600 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9601 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9602 #elif condition to just #else.
9603
0e8529e9
SE
96042013-01-11 Steve Ellcey <sellcey@mips.com>
9605
9606 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9607 (EF_MIPS_ARCH_64): Fix value.
9608 (EF_MIPS_ARCH_32R2): New.
9609 (EF_MIPS_ARCH_64R2): New.
9610
740b3dbe
L
96112013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9612
9613 * Makeconfig (+link-pie-before-libc): New.
9614 (+link-pie-after-libc): Likewise.
9615 (+link-pie-tests): Likewise.
9616 (+link-pie): Rewritten.
9617 (link-before-libc): Remove $(config-LDFLAGS).
9618 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9619 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9620 (config-LDFLAGS): Renamed to ...
9621 (rtld-LDFLAGS): This.
9622 (rtld-tests-LDFLAGS): New macro.
9623 (link-libc-rpath-link): Likewise.
9624 (link-libc-tests-rpath-link): Likewise.
9625 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9626 (link-libc): Prepand $(link-libc-rpath-link).
9627 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9628 (test-program-prefix): New macro.
9629 (test-via-rtld-prefix): Likewise.
9630 (test-program-cmd): Likewise.
9631 (host-test-program-cmd): Likewise.
9632 * Makefile ($(common-objpfx)testrun.sh): Replace
9633 $(run-program-prefix) with $(test-program-prefix).
9634 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9635 $(rtld-LDFLAGS).
9636 ($(common-objpfx)shlib.lds): Likewise.
9637 (build-module-helper): Likewise.
9638 ($(common-objpfx)format.lds): Likewise.
9639 * Rules (binaries-pie-tests): New.
9640 (binaries-pie-notests): Likewise.
9641 (binaries-pie): Rewritten.
9642 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9643 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9644 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9645 (make-test-out): Replace $(host-built-program-cmd) with
9646 $(host-test-program-cmd).
9647 * config.make.in (build-hardcoded-path-in-tests): New variable.
9648 * configure.in (--enable-hardcoded-path-in-tests): New configure
9649 option.
9650 (hardcoded_path_in_tests): New AC_SUBST.
9651 * configure: Regenerated.
9652 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9653 $(built-program-cmd) with $(test-program-cmd).
9654 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9655 (test_program_cmd): This.
9656 * elf/Makefile ($(objpfx)order.out): Run test with
9657 $(test-program-prefix).
9658 ($(objpfx)order2.out): Likewise.
9659 ($(objpfx)tst-initorder.out): Likewise.
9660 ($(objpfx)tst-initorder2.out): Likewise.
9661 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9662 $(test-program-cmd).
9663 ($(objpfx)tst-array1-static.out): Likewise.
9664 ($(objpfx)tst-array2.out): Likewise.
9665 ($(objpfx)tst-array3.out): Likewise.
9666 ($(objpfx)tst-array4.out): Likewise.
9667 ($(objpfx)tst-array5.out): Likewise.
9668 ($(objpfx)tst-array5-static.out): Likewise.
9669 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9670 $(test-program-cmd).
9671 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9672 $(run-program-prefix) with $(test-program-prefix).
9673 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9674 (test_program_prefix): This.
9675 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9676 $(run-program-prefix) with $(test-program-prefix).
9677 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9678 (test_program_prefix): This.
9679 * iconvdata/tst-tables.sh: Likewise.
9680 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9681 $(run-program-prefix) with $(test-program-prefix).
9682 ($(objpfx)tst-translit.out): Likewise.
9683 ($(objpfx)tst-gettext2.out): Likewise.
9684 ($(objpfx)tst-gettext4.out): Likewise.
9685 ($(objpfx)tst-gettext6.out): Likewise.
9686 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9687 (test_program_prefix): This.
9688 * intl/tst-gettext2.sh: Likewise.
9689 * intl/tst-gettext4.sh Likewise.
9690 * intl/tst-gettext6.sh: Likewise.
9691 * intl/tst-translit.sh: Likewise.
9692 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9693 with $(test-program-cmd).
9694 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9695 $(run-program-prefix) with $(test-program-prefix).
9696 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9697 (test_program_prefix): This.
9698 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9699 $(run-program-prefix) with $(test-program-prefix).
9700 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9701 (test_program_prefix): This.
9702 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9703 * posix/Makefile ($(objpfx)globtest.out): Replace
9704 $(run-via-rtld-prefix) and $(test-wrapper) with
9705 $(test-program-prefix) and $(test-via-rtld-prefix).
9706 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9707 $(test-program-prefix).
9708 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9709 $(host-test-program-cmd).
9710 (tst-spawn-ARGS): Likewise.
9711 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9712 $(test-program-prefix).
9713 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9714 (test_via_rtld_prefix): This.
9715 (test_wrapper): Renamed to ...
9716 (test_program_prefix): This.
9717 (run_program_prefix): Replaced by test_program_prefix.
9718 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9719 (test_program_prefix): This.
9720 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9721 with $(host-test-program-cmd).
9722 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9723 $(run-program-prefix) with $(test-program-prefix).
9724 ($(objpfx)tst-printf.out): Likewise.
9725 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9726 $(test-program-cmd).
9727 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9728 (test_program_prefix): This.
9729 * stdio-common/tst-unbputc.sh: Likewise.
9730 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9731 $(run-program-prefix) with $(test-program-prefix).
9732 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9733 (test_program_prefix): This.
9734 * string/Makefile ($(objpfx)tst-svc.out): Replace
9735 $(built-program-cmd) with $(test-program-cmd).
9736
c6fe55cf
AJ
97372013-01-11 Andreas Jaeger <aj@suse.de>
9738
9739 [BZ #15003]
9740 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9741 value. Sync with Linux 3.7.
9742
9e6919c8
DM
97432013-01-10 David S. Miller <davem@davemloft.net>
9744
9745 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9746 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9747 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9748
1c9f1a02
RM
97492013-01-10 Roland McGrath <roland@hack.frob.com>
9750
9751 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9752 never set.
9753 * configure: Regenerated.
9754
b9de2dde
DM
97552013-01-10 David S. Miller <davem@davemloft.net>
9756
9757 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9758 sparc V9 rather than using V8 code.
9759 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9760 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9761
e7f68ef4
RM
97622013-01-10 Roland McGrath <roland@hack.frob.com>
9763
9764 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9765 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9766 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9767 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9768 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9769 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9770 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9771 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9772 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9773 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9774 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9775 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9776 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9777 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9778 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9779 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9780 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9781 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9782 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9783 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9784 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9785 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9786 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9787 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9788 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9789 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9790 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9791
5a47cc9c
DM
97922013-01-10 David S. Miller <davem@davemloft.net>
9793
9794 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9795
4cf8f209
L
97962013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9797
9798 * posix/Makefile (tests-static): New variable.
9799 (tests): Add $(tests-static).
9800 (tst-exec-static-ARGS): New variable.
9801 (tst-spawn-static-ARGS): Likewise.
9802 * posix/tst-exec-static.c: New file.
9803 * posix/tst-spawn-static.c: Likewise.
9804 * posix/tst-exec.c: Support run directly.
9805 * posix/tst-spawn.c: Likewise.
9806
fed0faa1
JM
98072013-01-10 Joseph Myers <joseph@codesourcery.com>
9808
828beb13
JM
9809 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9810 long.
9811 * math/bits/mathcalls.h (llrint): Likewise.
9812 (llround): Likewise.
9813 * stdlib/stdlib.h (struct drand48_data): Likewise.
9814 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9815 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9816 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9817 Likewise.
9818 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9819 Likewise.
9820 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9821 (elf_greg_t): Likewise.
9822 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9823 (__jmp_buf): Likewise.
9824 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9825 definitions.
9826 (llrint): Likewise, for all definitions.
9827 (llrintl): Likewise.
9828
fed0faa1
JM
9829 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9830 Remove [__GNUC__] condition.
9831 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9832 condition to just [__USE_ISOC99].
9833 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9834
1a20cb20
L
98352013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9836
9837 [BZ #14200]
9838 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9839 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9840 defined.
9841 (_POSIX_V6_ILP32_OFF32): Likewise.
9842 (_XBS5_ILP32_OFF32): Likewise.
9843 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9844 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9845
751b85f7
SP
98462013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9847
7490eb81
SP
9848 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9849
751b85f7
SP
9850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9851 doubles __mpexp_twomm1. Adjust usage.
9852 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9853 Remove.
9854
988197f0
AS
98552013-01-10 Andreas Schwab <schwab@suse.de>
9856
9857 [BZ #14964]
9858 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9859 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9860
e83d7298
DM
98612013-01-09 David S. Miller <davem@davemloft.net>
9862
034ed64b 9863 [BZ #15003]
e83d7298
DM
9864 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9865 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9866 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9867 TCP_FASTOPEN): Define.
9868 (tcp_repair_opt): New structure.
9869 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9870 enum values.
9871 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9872 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9873 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9874 (tcp_cookie_transactions): New structure.
9875
d5e0b9bd
AB
98762013-01-09 Anton Blanchard <anton@samba.org>
9877
9878 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9879 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9880 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9881 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9882
0c07e3ea
JM
98832013-01-09 Joseph Myers <joseph@codesourcery.com>
9884
9885 * include/features.h (__USE_ANSI): Remove.
9886
232f7002
RM
98872013-01-09 Roland McGrath <roland@hack.frob.com>
9888
ad98e30c
RM
9889 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9890
232f7002
RM
9891 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9892
950c99ca
SP
98932013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9894
b5792741
SP
9895 * sysdeps/s390/fpu/libm-test-ulps: Update.
9896
47cf2278
SP
9897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9898
950c99ca
SP
9899 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9900 (__acr): Likewise.
9901 (__cpy): Likewise.
9902 (norm): Likewise.
9903 (denorm): Likewise.
9904 (__mp_dbl): Likewise.
9905 (__dbl_mp): Likewise.
9906 (add_magnitudes): Likewise.
9907 (sub_magnitudes): Likewise.
9908 (__add): Likewise.
9909 (__sub): Likewise.
9910 (__mul): Likewise.
9911 (__inv): Likewise.
9912 (__dvd): Likewise.
9913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9914 (__acr): Likewise.
9915 (__cpy): Likewise.
9916 (norm): Likewise.
9917 (denorm): Likewise.
9918 (__mp_dbl): Likewise.
9919 (__dbl_mp): Likewise.
9920 (add_magnitudes): Likewise.
9921 (sub_magnitudes): Likewise.
9922 (__add): Likewise.
9923 (__sub): Likewise.
9924 (__mul): Likewise.
9925 (__inv): Likewise.
9926 (__dvd): Likewise.
9927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9928 (__acr): Likewise.
9929 (__cpy): Likewise.
9930 (norm): Likewise.
9931 (denorm): Likewise.
9932 (__mp_dbl): Likewise.
9933 (__dbl_mp): Likewise.
9934 (add_magnitudes): Likewise.
9935 (sub_magnitudes): Likewise.
9936 (__add): Likewise.
9937 (__sub): Likewise.
9938 (__mul): Likewise.
9939 (__inv): Likewise.
9940 (__dvd): Likewise.
9941
eede9df9
JM
99422013-01-08 Joseph Myers <joseph@codesourcery.com>
9943
9944 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9945 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9946 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9947 2 && __USE_EXTERN_INLINES]: Likewise.
9948
c40ea3d9
AJ
99492013-01-08 Andreas Jaeger <aj@suse.de>
9950
9951 [BZ# 14985]
9952 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9953 Remove.
9954 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9955 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9956
2ccdea26
AB
99572013-01-07 Anton Blanchard <anton@samba.org>
9958
9959 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9960 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9961 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9962 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9963 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9964 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9965 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9966 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9968 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9969 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9970 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9971 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9972 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9973 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9974 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9975 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9976 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9977 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9978 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9979 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9980 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9981 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9982 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9983 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9984 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9985 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9986 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9987 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9988 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9989 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9990 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9991 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9992 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9993 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9994 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9995 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9996 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9997 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9998 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9999 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10000 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10001 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10002
a9708fed
JM
100032013-01-07 Joseph Myers <joseph@codesourcery.com>
10004
375607b9
JM
10005 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10006 (__MALLOC_PMT): Likewise.
10007 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
10008 [__GNUC__], only on [_LIBC].
10009 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10010 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
10011 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
10012 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
10013 forward declaration.
10014 (realloc_hook_ini): Likewise.
10015 (memalign_hook_ini): Likewise.
10016 (__libc_memalign): Do not use __MALLOC_PMT in variable
10017 declaration.
10018 (__libc_valloc): Likewise.
10019 (__libc_pvalloc): Likewise.
10020 (__libc_calloc): Likewise.
10021 (__posix_memalign): Likewise.
10022
a9708fed
JM
10023 [BZ #14996]
10024 * math/s_casinh.c: Include <float.h>.
10025 (__casinh): Do not do computation with squaring and square root
10026 for large arguments.
10027 * math/s_casinhf.c: Include <float.h>.
10028 (__casinhf): Do not do computation with squaring and square root
10029 for large arguments.
10030 * math/s_casinhl.c: Include <float.h>.
10031 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
10032 (__casinhl): Do not do computation with squaring and square root
10033 for large arguments.
10034 * math/libm-test.inc (casin_test): Add more tests.
10035 (casinh_test): Likewise.
10036 * sysdeps/i386/fpu/libm-test-ulps: Update.
10037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10038
afec409a
L
100392013-01-04 H.J. Lu <hongjiu.lu@intel.com>
10040
10041 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
10042 (__x86_64_raw_data_cache_size): Likewise.
10043 (__x86_64_data_cache_size_half): Likewise.
10044 (__x86_64_raw_data_cache_size_half): Likewise.
10045 (__x86_64_shared_cache_size): Likewise.
10046 (__x86_64_raw_shared_cache_size): Likewise.
10047 (__x86_64_shared_cache_size_half): Likewise.
10048 (__x86_64_raw_shared_cache_size_half): Likewise.
10049 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
10050 to ...
10051 (__x86_data_cache_size): This.
10052 (__x86_64_raw_data_cache_size): Renamed to ...
10053 (__x86_raw_data_cache_size): This.
10054 (__x86_64_data_cache_size_half): Renamed to ...
10055 (__x86_data_cache_size_half): This.
10056 (__x86_64_raw_data_cache_size_half): Renamed to ...
10057 (__x86_raw_data_cache_size_half): This.
10058 (__x86_64_shared_cache_size): Renamed to ...
10059 (__x86_shared_cache_size): This.
10060 (__x86_64_raw_shared_cache_size): Renamed to ...
10061 (__x86_raw_shared_cache_size): This.
10062 (__x86_64_shared_cache_size_half): Renamed to ...
10063 (__x86_shared_cache_size_half): This.
10064 (__x86_64_raw_shared_cache_size_half): Renamed to ...
10065 (__x86_raw_shared_cache_size_half): This.
10066 * sysdeps/x86_64/memcpy.S: Updated.
10067 * sysdeps/x86_64/memset.S: Likewise.
10068 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10069 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10070 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10071
0b3986d0
DM
100722013-01-04 David S. Miller <davem@davemloft.net>
10073
10074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10075
e47686e9
AS
100762013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10077
d643bac1
AS
10078 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10079 1 to avoid redefinition warning.
10080 (__USE_GNU): Don't define.
10081 (init_signaling_nan): Protoize.
10082
e47686e9
AS
10083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10084
b18decba
SP
100852013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10086
fffb407f
SP
10087 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10089 (__cpymn): Likewise.
10090 (norm): Remove commented code.
10091 (denorm): Likewise.
10092 (__mp_dbl): Likewise.
10093 (__inv): Likewise.
10094 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10095 (__cpymn): Likewise.
10096 (norm): Remove commented code.
10097 (denorm): Likewise.
10098 (__mp_dbl): Likewise.
10099 (__inv): Likewise.
10100
b18decba
SP
10101 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10102 mp_no value for 1.0 and 2.0.
10103 (norm): Use RADIXI instead of radixi.d.
10104 (denorm): Likewise.
10105 (__mul): Use 0.0 instead of zero.d.
10106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10107 mp_no value for 1.0 and 2.0.
10108 (norm): Use RADIXI instead of radixi.d.
10109 (denorm): Likewise.
10110 (__mul): Use 0.0 instead of zero.d.
10111
cdc1c96f
JM
101122013-01-04 Joseph Myers <joseph@codesourcery.com>
10113
10114 [BZ #14994]
10115 * math/s_casinh.c (__casinh): Reduce finite argument to first
10116 quadrant then set signs of results at the end.
10117 * math/s_casinhf.c (__casinhf): Likewise.
10118 * math/s_casinhl.c (__casinhl): Likewise.
10119 * math/libm-test.inc (casin_test): Add more tests.
10120 (casinh_test): Likewise.
10121 * sysdeps/i386/fpu/libm-test-ulps: Update.
10122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10123
302913e1
SP
101242013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10125
6420d207
SP
10126 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10127
a9e48ab4
SP
10128 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10129
b7837264
SP
10130 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10131 declarations.
10132 (denorm): Likewise.
10133 (__mp_dbl): Likewise.
10134 (__inv): Likewise.
10135
f8af25d2
SP
10136 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10137 and adjust the header comment.
10138
302913e1
SP
10139 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10140 variable name from declaration.
10141
5d7dd1ca
L
101422013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10143
10144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10145 Initialize COMMON_CPUID_INDEX_7 element.
10146 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10147 (CPUID_RTM): Likewise.
10148 (HAS_RTM): Likewise.
10149 (COMMON_CPUID_INDEX_7): New enum.
10150
2f5f40f4
AS
101512013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10152
10153 [BZ #14981]
10154 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10155 size is zero, record memory as freed.
10156
4056f4a0
AJ
101572013-01-03 Andreas Jaeger <aj@suse.de>
10158
10159 * po/ia.po: Add new Interlingua translation.
10160
ab15736f 101612012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10162
10163 * locale/programs/localedef.c: Fix description of '--posix' flag.
10164
568035b7
JM
101652013-01-02 Joseph Myers <joseph@codesourcery.com>
10166
e6898b8d
JM
10167 * NEWS: Update dates in second copyright notice.
10168 * README: Update copyright dates in example.
10169 * manual/libc.texinfo: Update copyright dates.
10170 * scripts/test-installation.pl: Update copyright date in --version
10171 output.
10172
0e2f9562
JM
10173 * hurd/ctty-input.c: Fix copyright notice formatting.
10174 * hurd/ctty-output.c: Likewise.
10175 * hurd/dtable.c: Likewise.
10176 * hurd/hurd-raise.c: Likewise.
10177 * hurd/hurdprio.c: Likewise.
10178 * hurd/msgportdemux.c: Likewise.
10179 * misc/sys/file.h: Likewise.
10180 * misc/sys/ioctl.h: Likewise.
10181 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10182 * sysdeps/mach/hurd/chdir.c: Likewise.
10183 * sysdeps/mach/hurd/fchdir.c: Likewise.
10184 * sysdeps/mach/hurd/rename.c: Likewise.
10185 * sysdeps/mach/hurd/rmdir.c: Likewise.
10186 * sysdeps/mach/hurd/seekdir.c: Likewise.
10187 * sysdeps/mach/hurd/setsid.c: Likewise.
10188 * sysdeps/posix/wait3.c: Likewise.
10189
568035b7
JM
10190 * All files with FSF copyright notices: Update copyright dates
10191 using scripts/update-copyrights.
10192 * intl/plural.c: Regenerated.
10193 * locale/programs/charmap-kw.h: Likewise.
10194 * locale/programs/locfile-kw.h: Likewise.
10195
da08f647
SP
101962013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10197
0f5477af
SP
10198 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10199 four values.
10200
44e0d4c2
SP
10201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10202 calculation loop and add branch prediction.
10203
4d55b4e5
SP
10204 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10205 check access beyond bounds of m1np.
10206
da08f647
SP
10207 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10208 MPTWO.
10209 (__inv): Remove local variable MPTWO to use the global
10210 constant.
10211 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10212 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10213 variable MPTWO.
10214 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10215 MP3HALFS static const.
10216
8e051029
DM
102172013-01-01 David S. Miller <davem@davemloft.net>
10218
10219 * po/ca.po: Update from translation team.
10220
f4cf5f2d
JM
102212013-01-01 Joseph Myers <joseph@codesourcery.com>
10222
10223 * scripts/update-copyrights: New file.
10224 * Makeconfig: Reformat copyright notice.
10225 * ctype/ctype.h: Likewise.
10226 * debug/swprintf_chk.c: Likewise.
10227 * elf/dl-cache.c: Likewise.
10228 * elf/dl-debug.c: Likewise.
10229 * elf/dl-object.c: Likewise.
10230 * grp/initgroups.c: Likewise.
10231 * hurd/Makefile: Likewise.
10232 * hurd/hurd/signal.h: Likewise.
10233 * hurd/hurdfault.c: Likewise.
10234 * hurd/hurdioctl.c: Likewise.
10235 * hurd/hurdlookup.c: Likewise.
10236 * hurd/intr-msg.c: Likewise.
10237 * iconv/gconv_open.c: Likewise.
10238 * libio/swprintf.c: Likewise.
10239 * locale/lc-ctype.c: Likewise.
10240 * locale/nl_langinfo.c: Likewise.
10241 * mach/Machrules: Likewise.
10242 * mach/Makefile: Likewise.
10243 * malloc/obstack.h: Likewise.
10244 * manual/Makefile: Likewise.
10245 * manual/tsort.awk: Likewise.
10246 * misc/bits/stab.def: Likewise.
10247 * nis/nis_print_group_entry.c: Likewise.
10248 * nis/nis_table.c: Likewise.
10249 * nis/nss_compat/compat-pwd.c: Likewise.
10250 * nis/nss_compat/compat-spwd.c: Likewise.
10251 * po/Makefile: Likewise.
10252 * posix/fnmatch.c: Likewise.
10253 * posix/regex.h: Likewise.
10254 * resolv/Makefile: Likewise.
10255 * resolv/nss_dns/dns-network.c: Likewise.
10256 * resolv/res_hconf.c: Likewise.
10257 * scripts/gen-sorted.awk: Likewise.
10258 * soft-fp/soft-fp.h: Likewise.
10259 * stdio-common/printf.h: Likewise.
10260 * stdlib/monetary.h: Likewise.
10261 * stdlib/random.c: Likewise.
10262 * stdlib/random_r.c: Likewise.
10263 * sysdeps/generic/Makefile: Likewise.
10264 * sysdeps/gnu/Makefile: Likewise.
10265 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10267 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10269 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10273 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10274 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10275 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10277 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10278 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10279 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10280 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10281 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10283 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10288 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10289 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10290 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10291 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10292 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10293 * sysdeps/mach/hurd/errnos.awk: Likewise.
10294 * sysdeps/mach/hurd/fork.c: Likewise.
10295 * sysdeps/mach/hurd/getcwd.c: Likewise.
10296 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10297 * sysdeps/mach/hurd/mmap.c: Likewise.
10298 * sysdeps/mach/hurd/utimes.c: Likewise.
10299 * sysdeps/mach/hurd/xmknod.c: Likewise.
10300 * sysdeps/posix/profil.c: Likewise.
10301 * sysdeps/posix/readdir_r.c: Likewise.
10302 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10303 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10304 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10305 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10307 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10308 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10309 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10311 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10312 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10313 * sysdeps/pthread/lio_listio.c: Likewise.
10314 * sysdeps/sparc/dl-procinfo.h: Likewise.
10315 * sysdeps/unix/i386/sysdep.S: Likewise.
10316 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10317 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10318 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10319 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10321 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10322 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10323 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10324 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10325 * sysdeps/wordsize-32/divdi3.c: Likewise.
10326 * time/sys/time.h: Likewise.
10327 * wcsmbs/Makefile: Likewise.
10328
0549fbba
DM
103292013-01-01 David S. Miller <davem@davemloft.net>
10330
a141f1a7
DM
10331 * po/fr.po: Update from translation team.
10332
0549fbba
DM
10333 * catgets/gencat.c: Update copyright year.
10334 * csu/version.c: Likewise.
10335 * debug/catchsegv.sh: Likewise.
10336 * debug/pcprofiledump.c: Likewise.
10337 * debug/xtrace.sh: Likewise.
10338 * elf/ldconfig.c: Likewise.
10339 * elf/ldd.bash.in: Likewise.
10340 * elf/pldd.c: Likewise.
10341 * elf/sotruss.ksh: Likewise.
10342 * elf/sprof.c: Likewise.
10343 * iconv/iconv_prog.c: Likewise.
10344 * iconv/iconvconfig.c: Likewise.
10345 * locale/programs/locale.c: Likewise.
10346 * locale/programs/localedef.c: Likewise.
10347 * login/programs/pt_chown.c: Likewise.
10348 * malloc/memusage.sh: Likewise.
10349 * malloc/memusagestat.c: Likewise.
10350 * malloc/mtrace.pl: Likewise.
10351 * nscd/nscd.c: Likewise.
10352 * nss/getent.c: Likewise.
10353 * nss/makedb.c: Likewise.
10354 * posix/getconf.c: Likewise.
10355
18ea052c
SP
103562012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10357
10358 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10359 numbers.
10360
9c89fca6
MF
103612012-12-30 Mike Frysinger <vapier@gentoo.org>
10362
10363 * math/bits/mathcalls.h (modf): Use __nonnull.
10364
085ec079
SP
103652012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10366
10367 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10368 (split): Use macro CN instead of the bare value.
10369 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10370 could be used.
10371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10372 instead of the bare value.
10373 (power1): Likewise.
10374
6d9f97e1
SP
103752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10376
d63f73be
SP
10377 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10378 __ATAN_TWOM.
10379 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10380
6d9f97e1
SP
10381 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10382 their values.
10383 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10384 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10385 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10386 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10387
4c4febf5
AJ
103882012-12-28 Andreas Jaeger <aj@suse.de>
10389
af5843ef
AJ
10390 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10391 values are from Linux 3.7.
10392
4c4febf5
AJ
10393 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10394 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10395
99136f82
SP
103962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10397
2f216c3c 10398 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10399 TRUE case.
10400
99136f82
SP
10401 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10402 (norm): Likewise.
10403 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10404 variables with preprocessor constants.
10405 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10406 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10407 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10408
7fffbdff
BH
104092012-12-27 Bruno Haible <bruno@clisp.org>
10410
10411 [BZ #14317]
10412 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10413 only if needed.
10414
b76eb5f0
SP
104152012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10416
31a7fe5c
SP
10417 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10418 and use variable directly.
10419 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10420
b76eb5f0
SP
10421 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10422 MPONE.
10423 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10424 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10425 variable MPONE.
10426 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10428 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10429 include directive. Remove local variable MPONE.
10430 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10431 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10432 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10433
2c8bfe7d
DM
104342012-12-25 David S. Miller <davem@davemloft.net>
10435
10436 * version.h (RELEASE): Set to "development".
10437 (VERSION): Set to "2.17.90".
10438 * NEWS: Add 2.18 section.
10439
147d03b0
DM
104402012-12-21 David S. Miller <davem@davemloft.net>
10441
10442 * po/hr.po: Update from translation team.
10443
a8ebb2b9
AK
104442012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10445
10446 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10447
95b4f1b6
SE
104482012-12-19 Steve Ellcey <sellcey@mips.com>
10449
b2d94007 10450 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10451
cedb2a90
MS
104522012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10453
10454 * manual/contrib.texi (Contributors): Spelling correction.
10455
bbf527d6
DM
104562012-12-15 David S. Miller <davem@davemloft.net>
10457
10458 * po/ru.po: Update from translation team.
10459
bc38c906
DM
104602012-12-13 David S. Miller <davem@davemloft.net>
10461
85429b1a
DM
10462 * NEWS: Mention IFUNC testsuite enhancements.
10463
d283e353
DM
10464 * po/pl.po: Update from translation team.
10465 * po/bg.po: Likewise.
10466
bc38c906
DM
10467 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10468 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10469
a181b0d7
DM
104702012-12-11 David S. Miller <davem@davemloft.net>
10471
4641d57e
DM
10472 * po/sv.po: Update from translation team.
10473
f7bc6495
DM
10474 * po/vi.po: Update from translation team.
10475
6fc9048f
DM
10476 * po/cs.po: Update from translation team.
10477
a181b0d7
DM
10478 * po/de.po: Update from translation team.
10479 * po/eo.po: Likewise.
10480 * po/nl.po: Likewise.
10481
f70bfe80
SP
104822012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10483
3c8b4190
SP
10484 [BZ #14246]
10485 * manual/argp.texi (Argp Helper Functions): Move node to follow
10486 Argp Parsing State.
10487
f70bfe80
SP
10488 [BZ #14872]
10489 * manual/conf.texi (Limits on File System Capacity): Mention if
10490 terminating null is included in the max size.
10491
188f0adf
AJ
104922012-12-10 Andreas Jaeger <aj@suse.de>
10493
10494 * po/cs.po: Update from translation team.
10495
56e7d3ad
SP
104962012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10497
10498 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10499 void pointer and cast to uintptr_t.
10500 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10501 path.
10502 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10503 * sysdeps/s390/s390-64/memset.S: Likewise.
10504
76f2d2ea 105052012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10506
10507 [BZ #14833]
10508 * menual/message.texi (Message Translation): Fix typos.
10509 (Helper programs for gettext): Likewise.
10510
67cbf9a2
AS
105112012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10512
10513 [BZ #14898]
10514 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10515 Change to -1.
10516
682d0e9a
DM
105172012-12-07 David S. Miller <davem@davemloft.net>
10518
10519 * po/libc.pot: Update.
10520
573cd484
RH
105212012-12-07 Richard Henderson <rth@redhat.com>
10522
7e9da188 10523 [BZ #10114]
573cd484
RH
10524 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10525 normal/normal case to before the switch.
10526 (_FP_DIV): Likewise.
10527
e933a943
MF
105282012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10529 Mike Frysinger <vapier@gentoo.org>
10530
10531 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10532 check for __NR_fadvise64_64.
10533
82123268
CM
105342012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10535
10536 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10537 0, not just to plain "0" as a statement.
10538 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10539 with cw.
10540
d9814526
JM
105412012-12-06 Joseph Myers <joseph@codesourcery.com>
10542
10543 * NEWS: Use sourceware.org in Bugzilla URL.
10544
7728c574
SP
105452012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10546
f16946dd
SP
10547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10548 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10549
5704bbcb
SP
10550 * stdio-common/tst-put-error.c (do_test): Add newline to the
10551 padded test to ensure flush.
10552
17aa0516
JL
105532012-12-05 Jeff Law <law@redhat.com>
10554
10555 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10556
363313b5
JM
105572012-12-05 Joseph Myers <joseph@codesourcery.com>
10558
effbd42a
JM
10559 * README: Don't refer to ports add-on as distributed separately.
10560 Mention AArch64 in list of systems supported in the ports add-on.
10561
87600365
JM
10562 * LICENSES: Add more non-FSF copyright and license notices.
10563
a0d7066a
JM
10564 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10565 ((unused)).
10566
66ca5a5b
JM
10567 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10568
363313b5
JM
10569 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10570 10000 as width of padded output.
10571
b37984ad
JM
105722012-12-04 Joseph Myers <joseph@codesourcery.com>
10573
9003570a
JM
10574 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10575
b37984ad
JM
10576 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10577 variable LX with __attribute__ ((unused)).
10578 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10579 Likewise.
10580 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10582 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10583 with __attribute__ ((unused)).
10584
c8df52ec
DM
105852012-12-04 David S. Miller <davem@abraco.davemloft.net>
10586
10587 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10588
b3b099af
JM
105892012-12-04 Joseph Myers <joseph@codesourcery.com>
10590
c33aa6e3
JM
10591 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10592 (CFLAGS-nldbl-acos.c): New variable.
10593 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10594 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10595 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10596 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10597 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10598 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10599 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10600 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10601 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10602 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10603 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10604 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10605 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10606 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10607 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10608 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10609 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10610 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10611 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10612 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10613 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10614 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10615 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10616 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10617 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10618 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10619 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10620 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10621 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10622 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10623 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10624 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10625 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10626 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10627 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10628 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10629 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10630 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10631 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10632 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10633 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10634 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10635 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10636 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10637 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10638 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10639 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10640 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10641 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10642 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10643 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10644 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10645 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10646 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10647 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10648 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10649 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10650 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10651 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10652 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10653 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10654 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10655 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10656 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10657 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10658 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10659 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10660 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10661 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10662 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10663 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10664 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10665 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10666 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10667 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10668 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10669 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10670 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10671 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10672 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10673 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10674 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10675 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10676 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10677 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10678 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10679 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10680 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10681 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10682 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10683 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10684 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10685 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10686 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10687 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10688 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10689 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10690
20f0018d
JM
10691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10692 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10693
b3b099af
JM
10694 [BZ #14914]
10695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10696 whole low double instead of just low 47 bits when splitting values
10697 into two parts.
10698
029264d1
AM
106992012-12-03 Allan McRae <allan@archlinux.org>
10700
10701 * manual/stdio.texi (Predefined Printf Handlers): Remove
10702 @hsep and @vsep usage.
10703
c9d6789e
MF
107042012-12-03 Mike Frysinger <vapier@gentoo.org>
10705
10706 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10707 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10708
4b7634a5
JL
107092012-12-03 Jeff Law <law@redhat.com>
10710
10711 * time/sys/time.h (settimeofday): Do not mark TV argument
10712 as __nonnull.
10713
eb6cbd24
MF
107142012-12-01 Mike Frysinger <vapier@gentoo.org>
10715
10716 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10717 when currently writing and seek to current position when not.
10718 * libio/Makefile (tests): Remove bug-fclose1.
10719 * libio/bug-fclose1.c: Delete.
10720
f638872a
JM
107212012-12-01 Joseph Myers <joseph@codesourcery.com>
10722
10723 * manual/arith.texi (feenableexcept): Fix typo.
10724 (fedisableexcept): Likewise.
10725
48085d14
RM
107262012-11-30 Roland McGrath <roland@hack.frob.com>
10727
10728 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10729 second, differently-typed declaration, rather than a cast.
10730
1a538b9f
SP
107312012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10732
10733 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10734 * include/rpc/svc.h: ... here.
10735
d07f2ff1 107362012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10737
10738 [BZ #13013]
10739 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10740 depending n and resplen2 to catch cases where answer
10741 equals answerp2.
10742
c93ec1f0
CD
107432012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10744
10745 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10746 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10747
37db69de
MF
107482012-11-29 Mike Frysinger <vapier@gentoo.org>
10749
10750 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10751
e10c4e4f
RM
107522012-11-29 Roland McGrath <roland@hack.frob.com>
10753
10754 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10755
2af1b328
JL
107562012-11-28 Jeff Law <law@redhat.com>
10757
10758 [BZ #13761]
10759 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10760 dataset_temporary. Track alloca usage into alloca_used.
10761 If dataset is large allocate and release it via malloc/free.
10762
111db5b1
FW
107632012-06-04 Florian Weimer <fweimer@redhat.com>
10764
f06cc227 10765 [BZ #14197]
111db5b1
FW
10766 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10767
dd694abd
DM
107682012-11-28 David S. Miller <davem@davemloft.net>
10769
10770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10771
9984dd01
JM
107722012-11-28 Joseph Myers <joseph@codesourcery.com>
10773
10774 [BZ #14803]
10775 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10776 of pi/2 rounded to nearest to 64 bits.
10777 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10778 nearest to 64 bits.
10779 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10780 bits.
10781
14bc93a9
JL
107822012-11-28 Jeff Law <law@redhat.com>
10783 Martin Osvald <mosvald@redhat.com>
10784
10785 [BZ #14889]
10786 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10787 * sunrpc/svc.c: Include time.h.
10788 (__svc_accept_failed): New function.
10789 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10790 any reason other than EINTR, call __svc_accept_failed.
10791 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10792 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10793
e3c6aa3a
AS
107942012-11-28 Andreas Schwab <schwab@suse.de>
10795
10796 * scripts/abilist.awk: Also handle indirect functions in .opd
10797 section.
10798
1bead169
JM
107992012-11-28 Joseph Myers <joseph@codesourcery.com>
10800
10801 [BZ #13881]
10802 * sysdeps/x86/fpu/powl_helper.c: New file.
10803 * sysdeps/x86/fpu/Makefile: Likewise.
10804 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10805 (p3): New object.
10806 (__ieee754_powl): Use __powl_helper for finite arguments except
10807 integer exponents below 8.
10808 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10809 (p3): New object.
10810 (__ieee754_powl): Use __powl_helper for finite arguments except
10811 integer exponents below 8.
10812 * math/libm-test.inc (pow_test): Add more tests and enable some
10813 previously disabled tests.
10814 * sysdeps/i386/fpu/libm-test-ulps: Update.
10815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10816
0817d63d
SP
108172012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10818 Carlos O'Donell <carlos_odonell@mentor.com>
10819
10820 * nss/makedb.c (is_prime): Assert that input is odd and greater
10821 than 4. Note that fact in a comment too.
10822 (next_prime): Add 4 to input.
10823
de2fd463
SP
108242012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10825
10826 [BZ #11741]
10827 * libio/Makefile (tests): Add test case tst-fwrite-error.
10828 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10829 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10830 * libio/tst-fwrite-error.c: New test case.
10831
c515fb51
L
108322012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10833
10834 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10835 before casting to void *.
10836 * include/libc-internal.h (__pointer_type): New macro.
10837 (__integer_if_pointer_type_sub): Likewise.
10838 (__integer_if_pointer_type): Likewise.
10839 (cast_to_integer): Likewise.
10840 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10841 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10842 before casting to atomic64_t.
10843 (atomic_exchange_acq): Likewise.
10844 (__arch_exchange_and_add_body): Likewise.
10845 (__arch_add_body): Likewise.
10846 (atomic_add_negative): Likewise.
10847 (atomic_add_zero): Likewise.
10848
4cf77aa9
JM
108492012-11-26 Joseph Myers <joseph@codesourcery.com>
10850
10851 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10852 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10853 (add_fdes): Likewise.
10854 (linear_search_fdes): Likewise.
10855 (binary_search_unencoded_fdes): Likewise.
10856
d260b3b4
AS
108572012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10858
10859 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10860
67060746
AC
108612012-11-24 Adam Conrad <adconrad@0c3.net>
10862
10863 * configure.in: Autodetect C++ header directories.
10864 * configure: Regenerated.
10865
800938a1
MF
108662012-11-23 Mike Frysinger <vapier@gentoo.org>
10867
10868 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10869
4e6e34e6
AS
108702012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10871
10872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10873
7c7feb47
JM
108742012-11-22 Joseph Myers <joseph@codesourcery.com>
10875
7184dcdf
JM
10876 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10877 LDBL_MANT_DIG == 106]: Disable some tests.
10878 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10879 Likewise.
10880 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10881 Likewise.
10882
0a42601f
JM
10883 [BZ #14871]
10884 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10885 input for small inputs. Return +/- pi/2 for large inputs.
10886 * math/libm-test.inc (atan_test): Add more tests.
10887
79c9b9fe
JM
10888 * sysdeps/generic/unwind-dw2-fde-glibc.c
10889 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10890 __attribute__ ((unused)).
10891
c60d3bf2
JM
10892 [BZ #14645]
10893 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10894 x * y if x and y are nonzero and z is zero.
10895
ef1e0867
JM
10896 [BZ #14811]
10897 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10898 nonzero exponents with absolute value below 0x1p-117 to +/-
10899 0x1p-117.
10900
1468ded3
JM
10901 [BZ #14869]
10902 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10903 up arguments below 2**-450, not just those below 2**-500.
10904 * math/libm-test.inc (hypot_test): Add another test.
10905
8e27e3cc
JM
10906 [BZ #14868]
10907 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10908 Return a+b for ratio over 2**120, not 2**60.
10909 * math/libm-test.inc (hypot_test): Add another test.
10910
c9c0279b
JM
10911 * math/libm-test.inc (clog_test): Use
10912 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10913 (clog10_test): Likewise.
10914
7c7feb47
JM
10915 [BZ #6778]
10916 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10917
fff1530e
AS
109182012-11-22 Andreas Schwab <schwab@suse.de>
10919
10920 * sysdeps/i386/fpu/libm-test-ulps: Update.
10921
94558d30
PT
109222012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10923
10924 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10925 printf output with newline.
10926
7e1be741
L
109272012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10928
6bfea974
L
10929 [BZ #14865]
10930 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10931 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10932 -z nodlopen, -z initfirst and -z execstack support.
10933 * configure: Regenerated.
10934
7e1be741
L
10935 * elf/elf.h (DF_1_NODIRECT): New macro.
10936 (DF_1_IGNMULDEF): Likewise.
10937 (DF_1_NOKSYMS): Likewise.
10938 (DF_1_NOHDR): Likewise.
10939 (DF_1_EDITED): Likewise.
10940 (DF_1_NORELOC): Likewise.
10941 (DF_1_SYMINTPOSE): Likewise.
10942 (DF_1_GLOBAUDIT): Likewise.
10943 (DF_1_SINGLETON): Likewise.
10944 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10945 DT_1_SUPPORTED_MASK bits.
10946 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10947
105ce2ce
CD
109482012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10949
10950 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10951
123be9de
TS
109522012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10953
d072f3f7
TS
10954 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10955 macro.
10956
123be9de
TS
10957 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10958 (sendmmsg): Move declarations...
10959 * socket/sys/socket.h: ... here.
10960 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10961 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10962 include it from...
10963 * socket/recvmmsg.c: ... this new file.
10964 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10965 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10966 definition of __sendmmsg hidden.
10967 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10968 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10969 Move ENOSYS stub into and include it from...
10970 * socket/sendmmsg.c: ... this new file.
10971 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10972 (sysdep_routines): Move recvmmsg and sendmmsg...
10973 * socket/Makefile (routines): ... here.
10974 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10975 (GLIBC_PRIVATE): Add __sendmmsg.
10976 * include/sys/socket.h (__sendmmsg): Add declarations.
10977 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10978 sendmmsg.
10979
cf9a5d18
JM
109802012-11-20 Joseph Myers <joseph@codesourcery.com>
10981
10982 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10983 variable I1 with __attribute__ ((unused)).
10984 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10985
ecd4caf9
JM
109862012-11-19 Joseph Myers <joseph@codesourcery.com>
10987
be14d48f
JM
10988 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10989 DUMMY variables with __attribute__ ((unused)).
10990
ecd4caf9
JM
10991 * bits/byteswap.h: Include <bits/types.h>.
10992 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10993
986cab95
PT
109942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10995
10996 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10997 string_t. Do not manually set errno.
10998 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10999 length with __strnlen. Make sure to both set errno and return it on
11000 failure.
11001
6d33cc9d
DM
110022012-11-19 David S. Miller <davem@davemloft.net>
11003
11004 With help from Joseph Myers.
11005 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11006 very large arguments properly.
11007 * math/libm-test.inc (atan_test): New tests.
11008 (atan2_test): New tests.
11009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11011
ee663277
JM
110122012-11-19 Joseph Myers <joseph@codesourcery.com>
11013
877f2d8e
JM
11014 [BZ #14856]
11015 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
11016 Define to 3.
11017
116fc08a
JM
11018 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
11019 [POSIX] (EADDRNOTAVAIL): Likewise.
11020 [POSIX] (EAFNOSUPPORT): Likewise.
11021 [POSIX] (EALREADY): Likewise.
11022 [POSIX] (ECONNABORTED): Likewise.
11023 [POSIX] (ECONNREFUSED): Likewise.
11024 [POSIX] (ECONNRESET): Likewise.
11025 [POSIX] (EDESTADDRREQ): Likewise.
11026 [POSIX] (EDQUOT): Likewise.
11027 [POSIX] (EHOSTUNREACH): Likewise.
11028 [POSIX] (EIDRM): Likewise.
11029 [POSIX] (EISCONN): Likewise.
11030 [POSIX] (ELOOP): Likewise.
11031 [POSIX] (EMULTIHOP): Likewise.
11032 [POSIX] (ENETDOWN): Likewise.
11033 [POSIX] (ENETUNREACH): Likewise.
11034 [POSIX] (ENOBUFS): Likewise.
11035 [POSIX] (ENODATA): Likewise.
11036 [POSIX] (ENOLINK): Likewise.
11037 [POSIX] (ENOMSG): Likewise.
11038 [POSIX] (ENOPROTOOPT): Likewise.
11039 [POSIX] (ENOSR): Likewise.
11040 [POSIX] (ENOSTR): Likewise.
11041 [POSIX] (ENOTCONN): Likewise.
11042 [POSIX] (ENOTSOCK): Likewise.
11043 [POSIX] (EOPNOTSUPP): Likewise.
11044 [POSIX] (EOVERFLOW): Likewise.
11045 [POSIX] (EPROTO): Likewise.
11046 [POSIX] (EPROTONOSUPPORT): Likewise.
11047 [POSIX] (EPROTOTYPE): Likewise.
11048 [POSIX] (ESTALE): Likewise.
11049 [POSIX] (ETIME): Likewise.
11050 [POSIX] (ETXTBSY): Likewise.
11051 [POSIX] (EWOULDBLOCK): Likewise.
11052 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
11053 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
11054 [POSIX] (SEEK_CUR): Likewise.
11055 [POSIX] (SEEK_END): Likewise.
11056 [POSIX || UNIX98] (mode_t): Do not require.
11057 [POSIX] (off_t): Likewise.
11058 [POSIX] (pid_t): Likewise.
11059 [POSIX] (sys/stat.h): Do not allow header.
11060 [POSIX] (unistd.h): Likewise.
11061 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11062 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11063 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11064 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11065 require.
11066 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11067 sigevent): Specify elements.
11068 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11069 entry.
11070 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11071 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11072
a483863f
JM
11073 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11074 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11075 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11076 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11077 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11078 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11079 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11080 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11081 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11082 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11083 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11084 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11085 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11086 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11087 Likewise.
11088 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11089 Likewise.
11090 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11091 Likewise.
11092 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11093 Likewise.
11094 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11095 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11096 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11097 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11098 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11099 Specify lower bound on value.
11100 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11101 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11102 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11103 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11104 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11105 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11106 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11107 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11108 value.
11109 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11110 as optional.
11111 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11112 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11113 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11114 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11115 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11116 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11117 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11118 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11119 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11120 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11121 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11122 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11123 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11124 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11125 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11126 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11127 entry.
11128 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11129 optional.
11130 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11131 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11132 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11133 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11134 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11135 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11136 Likewise.
11137 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11138 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11139 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11140 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11141 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11142 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11143 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11144 as optional.
11145 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11146 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11147 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11148 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11149 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11150 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11151 specify as optional.
11152 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11153 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11154 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11155 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11156 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11157 [XPG3] (NL_LANGMAX): Likewise.
11158 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11159 [POSIX || XPG3] (NL_NMAX): Likewise.
11160 [POSIX || XPG3] (NL_SETMAX): Likewise.
11161 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11162 [XPG3] (NZERO): Likewise.
11163 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11164 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11165 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11166 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11167 (REG_ERANGE): Expect.
11168 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11169 optional-constant.
11170 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11171 Use (void) in prototype.
11172 [POSIX] (*_t): Allow.
11173 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11174 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11175 (WRDE_BADVAL): Expect.
11176
5ba924e3
JM
11177 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11178 expect.
11179 [XPG3 || XPG4] (O_RSYNC): Likewise.
11180 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11181 Likewise.
11182 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11183 [XPG3 || XPG4] (sigqueue): Likewise.
11184 [XPG3 || XPG4] (sigtimedwait): Likewise.
11185 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11186 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11187 [XPG3 || XPG4] (vsnprintf): Likewise.
11188 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11189 Likewise.
11190 [XPG3 || XPG4] (blksize_t): Likewise.
11191 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11192 Likewise.
11193 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11194 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11195 [XPG3 || XPG4] (struct itimerspec): Likewise.
11196 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11197 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11198 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11199 [XPG3 || XPG4] (clockid_t): Likewise.
11200 [XPG3 || XPG4] (timer_t): Likewise.
11201 [XPG3 || XPG4] (clock_getres): Likewise.
11202 [XPG3 || XPG4] (clock_gettime): Likewise.
11203 [XPG3 || XPG4] (clock_settime): Likewise.
11204 [XPG3 || XPG4] (nanosleep): Likewise.
11205 [XPG3 || XPG4] (timer_create): Likewise.
11206 [XPG3 || XPG4] (timer_delete): Likewise.
11207 [XPG3 || XPG4] (timer_gettime): Likewise.
11208 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11209 [XPG3 || XPG4] (timer_settime): Likewise.
11210 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11211 [XPG3 || XPG4] (getlogin_r): Likewise.
11212 [XPG3 || XPG4] (pread): Likewise.
11213 [XPG3 || XPG4] (pthread_atfork): Likewise.
11214 [XPG3 || XPG4] (pwrite): Likewise.
11215
ee663277
JM
11216 [BZ #14835]
11217 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11218 <bits/siginfo.h>.
11219
942caa16
PT
112202012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11221
e19af380
PT
11222 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11223 finalizing MALLSTREAM.
11224
942caa16
PT
11225 * sysdeps/mach/hurd/syncfs.c: New file.
11226
cfde9b46
SP
112272012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11228
11229 [BZ #14719]
11230 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11231 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11232 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11233 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11234 (_nss_dns_gethostbyname4_r): Likewise.
11235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11236 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11237
f6da27e5
PH
112382012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11239
11240 [BZ #13763]
11241 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11242
6665d4a2
SM
112432012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11244
1f51ee92
SM
11245 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11246 * elf/cache.c (print_entry): Print ",AArch64" for
11247 FLAG_AARCH64_LIB64
11248
6665d4a2
SM
11249 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11250 * elf/cache.c (print_entry): Print ",hard-float" for
11251 FLAG_ARM_LIBHF.
11252
05b227bd
DM
112532012-11-18 David S. Miller <davem@davemloft.net>
11254
11255 With help from Joseph Myers.
11256 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11257 cutoff to 2**-13.
11258 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11259 cutoff to 2**-25.
11260 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11261 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11262 small.
11263 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11264 * math/libm-test.inc (y0_test): New tests.
11265 (y1_test): New tests.
11266 * sysdeps/i386/fpu/libm-test-ulps: Update.
11267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11269
786b0b67
AS
112702012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11271
11272 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11273 64-bit targets.
11274 * configure: Regenerated.
11275
8e18b86d
DM
112762012-11-17 David S. Miller <davem@davemloft.net>
11277
11278 [BZ #14811]
11279 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11280 nonzero exponents with absolute value below 0x1p-128 to +/-
11281 0x1p-128.
11282
531f1ae0
JM
112832012-11-17 Joseph Myers <joseph@codesourcery.com>
11284
12df29e2
JM
11285 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11286
150dc1a0
JM
11287 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11288
531f1ae0
JM
11289 * posix/getconf-speclist.c: New file.
11290 * posix/posix-envs.def: Likewise.
11291 * posix/confstr.c (START_ENV_GROUP): New macro.
11292 (END_ENV_GROUP): Likewise.
11293 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11294 (KNOWN_PRESENT_ENV_STRING): Likewise.
11295 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11296 (UNKNOWN_ENVIRONMENT): Likewise.
11297 (confstr): Include posix-envs.def instead of handling
11298 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11299 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11300 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11301 (END_ENV_GROUP): Likewise.
11302 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11303 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11304 (UNKNOWN_ENVIRONMENT): Likewise.
11305 (__sysconf): Include posix-envs.def instead of handling associated
11306 cases directly here.
11307 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11308 preprocessing getconf-speclist.c rather than running getconf or
11309 generating empty file.
11310
a93f9cbc
PT
113112012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11312
11313 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11314
d64d9f87
AL
113152012-11-16 Andrej Lajovic <natrij@gmail.com>
11316
11317 [BZ #14672]
11318 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11319
447885eb
DM
113202012-11-16 David S. Miller <davem@davemloft.net>
11321
11322 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11323 smaller than LDBL_EPSILON/2.0L, just return xm1.
11324
bcbf9830
L
113252012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11326
11327 * elf/tst-array1.c (init): Set constructor priority to 1000.
11328 (fini): Set destructor priority to 1000.
11329 * elf/tst-array2dep.c: Likewise.
11330
2b766585
SP
113312012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11332
11333 [BZ #11741]
11334 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11335 (_IO_new_file_xsputn): Also return EOF if none of the input
11336 data was written when overflow failed.
11337 * libio/iopadn.c (_IO_padn): Likewise.
11338 * libio/iowpadn.c (_IO_wpadn): Likewise.
11339 * stdio-common/tst-put-error.c: Add copyright notice.
11340 (do_test): Add case for printing padded string.
11341 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11342 _IO_padn returned error.
11343 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11344 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11345 return EOF.
11346
b1848fde
SP
113472012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11348
11349 * libio/libioP.h: Add comment note that the references to C++
11350 bits are now obsolete.
11351
2fd89785
MS
113522012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11353
11354 * math/libm-test.inc (check_complex): Use asprintf.
11355
e3ea5409
JM
113562012-11-14 Joseph Myers <joseph@codesourcery.com>
11357
11358 * debug/pcprofiledump.c (print_version): Update copyright year.
11359 * malloc/memusagestat.c (print_version): Likewise.
11360
2e64d265
L
113612012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11362
11363 [BZ #14831]
11364 * elf/Makefile (tests): Add tst-audit8.
11365 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11366 ($(objpfx)tst-audit8.out): New target.
11367 (tst-audit8-ENV): New variable.
11368 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11369 audit if l_reloc_result is NULL.
11370 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11371 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11372 * elf/tst-audit8.c: New file.
11373
c485e4d2
MS
113742012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11375
11376 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11377 * misc/Makefile (CFLAGS-select.c): Define.
11378 * posix/Makefile (CFLAGS-pause.c): Define.
11379
3a0d900a
DM
113802012-11-13 David S. Miller <davem@davemloft.net>
11381
11382 * crypt/Makefile: Move test targets after toplevel Rules
11383 inclusion. Grab any necessary sysdep routines when linking.
11384 * crypt/md5.c (md5_process_block): Remove define, we will always
11385 name it __md5_process_block.
11386 (md5_finish_ctx): Update md5_process_block call.
11387 (md5_stream): Likewise.
11388 (md5_process_bytes): Likewise.
11389 (md5_process_block): Rename to __md5_process_block and move to ...
11390 * crypt/md5-block.c: ... here.
11391 * crypt/sha256.c (sha256_process_block): Move to ...
11392 * crypt/sha256-block.c: ... here.
11393 * crypt/sha512.c (sha512_process_block): Move to ...
11394 * crypt/sha512-block.c: ... here.
11395 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11396 path.
11397 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11398 * sysdeps/sparc/sparc64/multiarch/Makefile
11399 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11400 crypt subdir.
11401 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11402 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11403 multiarch changes.
11404 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11405 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11406 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11407 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11408 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11409 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11410 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11411 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11412 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11413 file.
11414 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11415 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11416 file.
11417 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11418
8ca89318
JM
114192012-11-13 Joseph Myers <joseph@codesourcery.com>
11420
e27d476a
JM
11421 * timezone/tzselect.ksh: Update from tzcode git revision
11422 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11423 * timezone/zdump.c: Likewise.
11424 * timezone/zic.c: Likewise.
11425 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11426 in TZVERSION setting, not $(PKGVERSION).
11427 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11428 REPORT_BUGS_TO settings.
11429
8ca89318
JM
11430 [BZ #14838]
11431 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11432 macro.
11433
47594329
MS
114342012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11435
11436 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11437 detection to immediately after _FP_ROUND().
11438 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11439 bits are 0.
11440
640ac3f1
DM
114412012-11-11 David S. Miller <davem@davemloft.net>
11442
11443 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11444 inttypes.h
11445 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11446 __close rather than their public counterparts.
11447
3d2577bb
JM
114482012-11-10 Joseph Myers <joseph@codesourcery.com>
11449
11450 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11451 file.
11452 [UNIX98] (sem_timedwait): Do not expect.
11453 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11454 [XPG4 || UNIX98] (sockatmark): Do not expect.
11455 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11456 (clock_getcpuclockid): Do not expect.
11457 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11458 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11459 Do not expect.
11460 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11461 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11462 [UNIX98] (vwscanf): Likewise.
11463 [UNIX98] (vswscanf): Likewise.
11464
fb1ae1ee
JM
114652012-11-09 Joseph Myers <joseph@codesourcery.com>
11466
9ec6f8bd
JM
11467 * timezone/version.h: Remove file.
11468 * timezone/README: Do not refer to version.h.
11469 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11470 $(objpfx)version.h.
11471 ($(objpfx)zdump.o): Likewise.
c3f81911 11472 ($(objpfx)version.h): New target.
9ec6f8bd 11473
0aa8f8a1
JM
11474 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11475 2012i.
11476 * timezone/README: Don't mention modification to tzselect.ksh.
11477 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11478 work on unmodified tzselect.ksh. Substitute version numbers in
11479 tzselect.ksh.
11480
4e87147f
JM
11481 * Makefile (format-me): Remove.
11482 (INSTALL): Adjust indentation. Use commands directly instead of
11483 using $(format-me).
11484
8b748aed
JM
11485 * aclocal.m4 (ACX_PKGVERSION): New macro.
11486 (ACX_BUGURL): Likewise.
11487 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11488 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11489 (REPORT_BUGS_TO): Likewise.
11490 * configure: Regenerated.
11491 * config.h.in (PKGVERSION): New macro.
11492 (REPORT_BUGS_TO): Likewise.
11493 * config.make.in (PKGVERSION): New variable.
11494 (PKGVERSION_TEXI): Likewise.
11495 (REPORT_BUGS_TO): Likewise.
11496 (REPORT_BUGS_TEXI): Likewise.
11497 * Makefile (format-me): Use -I$(common-objpfx)manual.
11498 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11499 ($(common-objpfx)manual/%): New target.
11500 (manual/%): Remove target.
11501 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11502 (print_version): Use PKGVERSION.
11503 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11504 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11505 and REPORT_BUGS_TO.
11506 ($(objpfx)xtrace): Likewise.
11507 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11508 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11509 (print_version): Use PKGVERSION.
11510 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11511 (do_version): Use PKGVERSION.
11512 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11513 REPORT_BUGS_TO.
11514 (common-ldd-rewrite): Likewise.
11515 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11516 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11517 (print_version): Use PKGVERSION.
11518 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11519 * elf/pldd.c (argp_program_bug_address): Remove variable.
11520 (more_help): New function.
11521 (argp): Use more_help.
11522 (print_version): Use PKGVERSION.
11523 * elf/sln.c (main): Use PKGVERSION.
11524 (usage): Use REPORT_BUGS_TO.
11525 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11526 (top level): Use PKGVERSION.
11527 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11528 (print_version): Use PKGVERSION.
11529 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11530 (print_version): Use PKGVERSION.
11531 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11532 (print_version): Use PKGVERSION.
11533 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11534 (print_version): Use PKGVERSION.
11535 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11536 (print_version): Use PKGVERSION.
11537 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11538 (print_version): Use PKGVERSION.
11539 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11540 and BUGURL.
11541 ($(objpfx)memusage): Likewise.
11542 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11543 (do_version): Use PKGVERSION.
11544 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11545 (print_version): Use PKGVERSION.
11546 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11547 ($PKGVERSION): New variable.
11548 ($REPORT_BUGS_TO): Likewise.
11549 (usage): Use $REPORT_BUGS_TO.
11550 (top level): Use $PKGVERSION.
11551 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11552 ($(objpfx)pkgvers.texi): New rule.
11553 ($(objpfx)stamp-pkgvers): Likewise.
11554 * manual/install.texi: Include pkgvers.texi.
11555 (--with-pkgversion): Document new configure option.
11556 (--with-bugurl): Likewise.
11557 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11558 than necessarily for this particular distribution. Use
11559 REPORT_BUGS_TO for where to report bugs.
11560 * INSTALL: Regenerated.
11561 * manual/libc.texinfo: Include pkgvers.texi.
11562 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11563 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11564 (print_version): Use PKGVERSION.
11565 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11566 (print_version): Use PKGVERSION.
11567 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11568 (print_version): Use PKGVERSION.
11569 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11570 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11571 macro.
11572 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11573 (print_version): Use PKGVERSION.
11574 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11575 (print_version): Use PKGVERSION.
11576 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11577 and PKGVERSION.
11578
92e4b6a9
JM
11579 * timezone/checktab.awk: Update from tzcode 2012i.
11580 * timezone/ialloc.c: Likewise.
11581 * timezone/private.h: Likewise.
11582 * timezone/scheck.c: Likewise.
11583 * timezone/tzfile.h: Likewise.
11584 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11585 (TZVERSION): Hardcode tzcode version number.
11586 * timezone/zdump.c: Update from tzcode 2012i.
11587 * timezone/zic.c: Likewise.
11588 * timezone/version.h: New file.
11589 * timezone/README: Describe version.h. Update upstream location.
11590
9bde902c
JM
11591 [BZ #14824]
11592 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11593 (mktemp): Enable declaration.
11594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11595 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11596 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11598 Likewise.
11599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11600 Likewise.
11601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11602 Likewise.
11603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11604 Likewise.
11605 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11606 Likewise.
11607 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11608 Likewise.
11609
fb1ae1ee
JM
11610 [BZ #14821]
11611 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11612 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11613 for copies of such integer values.
11614 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11615 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11616
2c1adbcb
AJ
116172012-11-09 Andreas Jaeger <aj@suse.de>
11618
11619 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11620 definitions and declarations that are provided by
11621 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11622
d0f8457e
AK
116232012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11624
3a235abb 11625 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11626 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11627 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11628 definition.
11629
57241e26
MS
116302012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11631
11632 * elf/elf.h: Update comment before AArch64 relocations.
11633
60e8270d
DM
116342012-11-07 David S. Miller <davem@davemloft.net>
11635
11636 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11637 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11638 (__start_context): Declare.
11639 (__makecontext_ret): Delete.
11640 (__makecontext): Hook up __start_context instead of
11641 __makecontext_ret.
11642 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11643 (sysdep_routines): Add __start_context when in stdlib.
11644
0fbb0fbc
JM
116452012-11-07 Joseph Myers <joseph@codesourcery.com>
11646
11647 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11648 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11649 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11650 hardcoded "nm".
11651 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11652 (READELF): New variable. Use it instead of hardcoded "readelf".
11653
eb48db7e
L
116542012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11655
11656 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11657 * sysdeps/x86/Makefile: Here.
11658 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11659 * sysdeps/x86/tst-xmmymm.sh: This.
11660
05bcf62a
JM
116612012-11-07 Joseph Myers <joseph@codesourcery.com>
11662
c4b6cf53
JM
11663 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11664 expectations.
11665 [UNIX98] (pthread_barrier_t): Do not expect.
11666 [UNIX98] (pthread_barrierattr_t): Likewise.
11667 [UNIX98] (pthread_spinlock_t): Likewise.
11668 [UNIX98] (pthread_barrier_destroy): Likewise.
11669 [UNIX98] (pthread_barrier_init): Likewise.
11670 [UNIX98] (pthread_barrier_wait): Likewise.
11671 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11672 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11673 [UNIX98] (pthread_barrierattr_init): Likewise.
11674 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11675 [UNIX98] (pthread_getcpuclockid): Likewise.
11676 [UNIX98] (pthread_mutex_timedlock): Likewise.
11677 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11678 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11679 [UNIX98] (pthread_sigmask): Likewise.
11680 [UNIX98] (pthread_spin_destroy): Likewise.
11681 [UNIX98] (pthread_spin_init): Likewise.
11682 [UNIX98] (pthread_spin_lock): Likewise.
11683 [UNIX98] (pthread_spin_trylock): Likewise.
11684 [UNIX98] (pthread_spin_unlock): Likewise.
11685 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11686 Do not expect.
11687 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11688 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11689 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11690 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11691 [XPG3 || XPG4] (pthread_key_t): Likewise.
11692 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11693 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11694 [XPG3 || XPG4] (pthread_once_t): Likewise.
11695 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11696 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11697 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11698 [XPG3 || XPG4] (pthread_t): Likewise.
11699
cbe6e120
JM
11700 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11701 not expect.
11702 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11703
1b126443
JM
11704 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11705 Change function return type to int.
11706
b961a573
JM
11707 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11708 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11709 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11710 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11711 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11712 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11713 [!POSIX] (posix_madvise): Likewise.
11714 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11715 && !UNIX98].
11716 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11717 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11718 (mode_t): Likewise.
11719 (posix_mem_offset): Likewise.
11720 (posix_typed_mem_get_info): Likewise.
11721 (posix_typed_mem_open): Likewise.
11722
9e188909
JM
11723 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11724 Change condition to [XOPEN2K8].
11725
05bcf62a
JM
11726 * conform/conformtest.pl: Preprocess allow-header data with -x c
11727 instead of from stdin.
11728 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11729 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11730 [C99-based standards] (cerfc): Likewise.
11731 [C99-based standards] (cexp2): Likewise.
11732 [C99-based standards] (cexpm1): Likewise.
11733 [C99-based standards] (clog10): Likewise.
11734 [C99-based standards] (clog1p): Likewise.
11735 [C99-based standards] (clog2): Likewise.
11736 [C99-based standards] (clgamma): Likewise.
11737 [C99-based standards] (ctgamma): Likewise.
11738 [C99-based standards] (cerff): Likewise.
11739 [C99-based standards] (cerfcf): Likewise.
11740 [C99-based standards] (cexp2f): Likewise.
11741 [C99-based standards] (cexpm1f): Likewise.
11742 [C99-based standards] (clog10f): Likewise.
11743 [C99-based standards] (clog1pf): Likewise.
11744 [C99-based standards] (clog2f): Likewise.
11745 [C99-based standards] (clgammaf): Likewise.
11746 [C99-based standards] (ctgammaf): Likewise.
11747 [C99-based standards] (cerfl): Likewise.
11748 [C99-based standards] (cerfcl): Likewise.
11749 [C99-based standards] (cexp2l): Likewise.
11750 [C99-based standards] (cexpm1l): Likewise.
11751 [C99-based standards] (clog10l): Likewise.
11752 [C99-based standards] (clog1pl): Likewise.
11753 [C99-based standards] (clog2l): Likewise.
11754 [C99-based standards] (clgammal): Likewise.
11755 [C99-based standards] (ctgammal): Likewise.
11756 * conform/data/inttypes.h-data [C99-based standards]: Include
11757 stdint.h-data. Remove all expectations for stdint.h contents.
11758 [C99-based standards] (PRI*): Do not allow.
11759 [C99-based standards] (SCN*): Likewise.
11760 [C99-based standards] (*_t): Likewise.
11761 [C99-based-standards] (PRId8): Expect macro.
11762 [C99-based-standards] (PRIi8): Likewise.
11763 [C99-based-standards] (PRIo8): Likewise.
11764 [C99-based-standards] (PRIu8): Likewise.
11765 [C99-based-standards] (PRIx8): Likewise.
11766 [C99-based-standards] (PRIX8): Likewise.
11767 [C99-based-standards] (SCNd8): Likewise.
11768 [C99-based-standards] (SCNi8): Likewise.
11769 [C99-based-standards] (SCNo8): Likewise.
11770 [C99-based-standards] (SCNu8): Likewise.
11771 [C99-based-standards] (SCNx8): Likewise.
11772 [C99-based-standards] (PRIdLEAST8): Likewise.
11773 [C99-based-standards] (PRIiLEAST8): Likewise.
11774 [C99-based-standards] (PRIoLEAST8): Likewise.
11775 [C99-based-standards] (PRIuLEAST8): Likewise.
11776 [C99-based-standards] (PRIxLEAST8): Likewise.
11777 [C99-based-standards] (PRIXLEAST8): Likewise.
11778 [C99-based-standards] (SCNdLEAST8): Likewise.
11779 [C99-based-standards] (SCNiLEAST8): Likewise.
11780 [C99-based-standards] (SCNoLEAST8): Likewise.
11781 [C99-based-standards] (SCNuLEAST8): Likewise.
11782 [C99-based-standards] (SCNxLEAST8): Likewise.
11783 [C99-based-standards] (PRIdFAST8): Likewise.
11784 [C99-based-standards] (PRIiFAST8): Likewise.
11785 [C99-based-standards] (PRIoFAST8): Likewise.
11786 [C99-based-standards] (PRIuFAST8): Likewise.
11787 [C99-based-standards] (PRIxFAST8): Likewise.
11788 [C99-based-standards] (PRIXFAST8): Likewise.
11789 [C99-based-standards] (SCNdFAST8): Likewise.
11790 [C99-based-standards] (SCNiFAST8): Likewise.
11791 [C99-based-standards] (SCNoFAST8): Likewise.
11792 [C99-based-standards] (SCNuFAST8): Likewise.
11793 [C99-based-standards] (SCNxFAST8): Likewise.
11794 [C99-based-standards] (PRId16): Likewise.
11795 [C99-based-standards] (PRIi16): Likewise.
11796 [C99-based-standards] (PRIo16): Likewise.
11797 [C99-based-standards] (PRIu16): Likewise.
11798 [C99-based-standards] (PRIx16): Likewise.
11799 [C99-based-standards] (PRIX16): Likewise.
11800 [C99-based-standards] (SCNd16): Likewise.
11801 [C99-based-standards] (SCNi16): Likewise.
11802 [C99-based-standards] (SCNo16): Likewise.
11803 [C99-based-standards] (SCNu16): Likewise.
11804 [C99-based-standards] (SCNx16): Likewise.
11805 [C99-based-standards] (PRIdLEAST16): Likewise.
11806 [C99-based-standards] (PRIiLEAST16): Likewise.
11807 [C99-based-standards] (PRIoLEAST16): Likewise.
11808 [C99-based-standards] (PRIuLEAST16): Likewise.
11809 [C99-based-standards] (PRIxLEAST16): Likewise.
11810 [C99-based-standards] (PRIXLEAST16): Likewise.
11811 [C99-based-standards] (SCNdLEAST16): Likewise.
11812 [C99-based-standards] (SCNiLEAST16): Likewise.
11813 [C99-based-standards] (SCNoLEAST16): Likewise.
11814 [C99-based-standards] (SCNuLEAST16): Likewise.
11815 [C99-based-standards] (SCNxLEAST16): Likewise.
11816 [C99-based-standards] (PRIdFAST16): Likewise.
11817 [C99-based-standards] (PRIiFAST16): Likewise.
11818 [C99-based-standards] (PRIoFAST16): Likewise.
11819 [C99-based-standards] (PRIuFAST16): Likewise.
11820 [C99-based-standards] (PRIxFAST16): Likewise.
11821 [C99-based-standards] (PRIXFAST16): Likewise.
11822 [C99-based-standards] (SCNdFAST16): Likewise.
11823 [C99-based-standards] (SCNiFAST16): Likewise.
11824 [C99-based-standards] (SCNoFAST16): Likewise.
11825 [C99-based-standards] (SCNuFAST16): Likewise.
11826 [C99-based-standards] (SCNxFAST16): Likewise.
11827 [C99-based-standards] (PRId32): Likewise.
11828 [C99-based-standards] (PRIi32): Likewise.
11829 [C99-based-standards] (PRIo32): Likewise.
11830 [C99-based-standards] (PRIu32): Likewise.
11831 [C99-based-standards] (PRIx32): Likewise.
11832 [C99-based-standards] (PRIX32): Likewise.
11833 [C99-based-standards] (SCNd32): Likewise.
11834 [C99-based-standards] (SCNi32): Likewise.
11835 [C99-based-standards] (SCNo32): Likewise.
11836 [C99-based-standards] (SCNu32): Likewise.
11837 [C99-based-standards] (SCNx32): Likewise.
11838 [C99-based-standards] (PRIdLEAST32): Likewise.
11839 [C99-based-standards] (PRIiLEAST32): Likewise.
11840 [C99-based-standards] (PRIoLEAST32): Likewise.
11841 [C99-based-standards] (PRIuLEAST32): Likewise.
11842 [C99-based-standards] (PRIxLEAST32): Likewise.
11843 [C99-based-standards] (PRIXLEAST32): Likewise.
11844 [C99-based-standards] (SCNdLEAST32): Likewise.
11845 [C99-based-standards] (SCNiLEAST32): Likewise.
11846 [C99-based-standards] (SCNoLEAST32): Likewise.
11847 [C99-based-standards] (SCNuLEAST32): Likewise.
11848 [C99-based-standards] (SCNxLEAST32): Likewise.
11849 [C99-based-standards] (PRIdFAST32): Likewise.
11850 [C99-based-standards] (PRIiFAST32): Likewise.
11851 [C99-based-standards] (PRIoFAST32): Likewise.
11852 [C99-based-standards] (PRIuFAST32): Likewise.
11853 [C99-based-standards] (PRIxFAST32): Likewise.
11854 [C99-based-standards] (PRIXFAST32): Likewise.
11855 [C99-based-standards] (SCNdFAST32): Likewise.
11856 [C99-based-standards] (SCNiFAST32): Likewise.
11857 [C99-based-standards] (SCNoFAST32): Likewise.
11858 [C99-based-standards] (SCNuFAST32): Likewise.
11859 [C99-based-standards] (SCNxFAST32): Likewise.
11860 [C99-based-standards] (PRId64): Likewise.
11861 [C99-based-standards] (PRIi64): Likewise.
11862 [C99-based-standards] (PRIo64): Likewise.
11863 [C99-based-standards] (PRIu64): Likewise.
11864 [C99-based-standards] (PRIx64): Likewise.
11865 [C99-based-standards] (PRIX64): Likewise.
11866 [C99-based-standards] (SCNd64): Likewise.
11867 [C99-based-standards] (SCNi64): Likewise.
11868 [C99-based-standards] (SCNo64): Likewise.
11869 [C99-based-standards] (SCNu64): Likewise.
11870 [C99-based-standards] (SCNx64): Likewise.
11871 [C99-based-standards] (PRIdLEAST64): Likewise.
11872 [C99-based-standards] (PRIiLEAST64): Likewise.
11873 [C99-based-standards] (PRIoLEAST64): Likewise.
11874 [C99-based-standards] (PRIuLEAST64): Likewise.
11875 [C99-based-standards] (PRIxLEAST64): Likewise.
11876 [C99-based-standards] (PRIXLEAST64): Likewise.
11877 [C99-based-standards] (SCNdLEAST64): Likewise.
11878 [C99-based-standards] (SCNiLEAST64): Likewise.
11879 [C99-based-standards] (SCNoLEAST64): Likewise.
11880 [C99-based-standards] (SCNuLEAST64): Likewise.
11881 [C99-based-standards] (SCNxLEAST64): Likewise.
11882 [C99-based-standards] (PRIdFAST64): Likewise.
11883 [C99-based-standards] (PRIiFAST64): Likewise.
11884 [C99-based-standards] (PRIoFAST64): Likewise.
11885 [C99-based-standards] (PRIuFAST64): Likewise.
11886 [C99-based-standards] (PRIxFAST64): Likewise.
11887 [C99-based-standards] (PRIXFAST64): Likewise.
11888 [C99-based-standards] (SCNdFAST64): Likewise.
11889 [C99-based-standards] (SCNiFAST64): Likewise.
11890 [C99-based-standards] (SCNoFAST64): Likewise.
11891 [C99-based-standards] (SCNuFAST64): Likewise.
11892 [C99-based-standards] (SCNxFAST64): Likewise.
11893 [C99-based-standards] (PRIdMAX): Likewise.
11894 [C99-based-standards] (PRIiMAX): Likewise.
11895 [C99-based-standards] (PRIoMAX): Likewise.
11896 [C99-based-standards] (PRIuMAX): Likewise.
11897 [C99-based-standards] (PRIxMAX): Likewise.
11898 [C99-based-standards] (PRIXMAX): Likewise.
11899 [C99-based-standards] (SCNdMAX): Likewise.
11900 [C99-based-standards] (SCNiMAX): Likewise.
11901 [C99-based-standards] (SCNoMAX): Likewise.
11902 [C99-based-standards] (SCNuMAX): Likewise.
11903 [C99-based-standards] (SCNxMAX): Likewise.
11904 [C99-based-standards] (PRIdPTR): Likewise.
11905 [C99-based-standards] (PRIiPTR): Likewise.
11906 [C99-based-standards] (PRIoPTR): Likewise.
11907 [C99-based-standards] (PRIuPTR): Likewise.
11908 [C99-based-standards] (PRIxPTR): Likewise.
11909 [C99-based-standards] (PRIXPTR): Likewise.
11910 [C99-based-standards] (SCNdPTR): Likewise.
11911 [C99-based-standards] (SCNiPTR): Likewise.
11912 [C99-based-standards] (SCNoPTR): Likewise.
11913 [C99-based-standards] (SCNuPTR): Likewise.
11914 [C99-based-standards] (SCNxPTR): Likewise.
11915 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11916 allow.
11917 * conform/data/stdint.h-data: Update comments to clarify
11918 requirements.
11919 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11920 type.
11921 [C99-based standards] (INT8_MAX): Likewise.
11922 [C99-based standards] (INT16_MIN): Likewise.
11923 [C99-based standards] (INT16_MAX): Likewise.
11924 [C99-based standards] (INT32_MIN): Likewise.
11925 [C99-based standards] (INT32_MAX): Likewise.
11926 [C99-based standards] (INT64_MIN): Likewise.
11927 [C99-based standards] (INT64_MAX): Likewise.
11928 [C99-based standards] (UINT8_MAX): Likewise.
11929 [C99-based standards] (UINT16_MAX): Likewise.
11930 [C99-based standards] (UINT32_MAX): Likewise.
11931 [C99-based standards] (UINT64_MAX): Likewise.
11932 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11933 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11934 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11935 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11936 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11937 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11938 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11939 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11940 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11941 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11942 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11943 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11944 [C99-based standards] (INT_FAST8_MIN): Likewise.
11945 [C99-based standards] (INT_FAST8_MAX): Likewise.
11946 [C99-based standards] (INT_FAST16_MIN): Likewise.
11947 [C99-based standards] (INT_FAST16_MAX): Likewise.
11948 [C99-based standards] (INT_FAST32_MIN): Likewise.
11949 [C99-based standards] (INT_FAST32_MAX): Likewise.
11950 [C99-based standards] (INT_FAST64_MIN): Likewise.
11951 [C99-based standards] (INT_FAST64_MAX): Likewise.
11952 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11953 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11954 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11955 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11956 [C99-based standards] (INTPTR_MIN): Likewise.
11957 [C99-based standards] (INTPTR_MAX): Likewise.
11958 [C99-based standards] (UINTPTR_MAX): Likewise.
11959 [C99-based standards] (INTMAX_MIN): Likewise.
11960 [C99-based standards] (INTMAX_MAX): Likewise.
11961 [C99-based standards] (UINTMAX_MAX): Likewise.
11962 [C99-based standards] (PTRDIFF_MIN): Likewise.
11963 [C99-based standards] (PTRDIFF_MAX): Likewise.
11964 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11965 [C99-based standards] (SIZE_MAX): Likewise.
11966 [C99-based standards] (WCHAR_MAX): Likewise.
11967 [C99-based standards] (WINT_MAX): Likewise.
11968 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11969 constraint on value.
11970 [C99-based standards] (WCHAR_MIN): Likewise.
11971 [C99-based standards] (WINT_MIN): Likewise.
11972 [C99-based standards] (*_t): Allow.
11973 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11974 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11975 Include math.h-data and complex.h-data. Remove all expectations
11976 of math.h and complex.h contents.
11977 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11978 at end of line.
11979 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11980 (struct tm): Expect tag.
11981 [C99-based-standards] (wcstof): Expect function.
11982 [C99-based-standards] (wcstold): Likewise.
11983 [C99-based-standards] (wcstoll): Likewise.
11984 [C99-based-standards] (wcstoull): Likewise.
11985 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11986 macro-int-constant. Specify type.
11987 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11988 constraint on value.
11989 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11990 Specify type.
11991 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11992 Specify value.
11993 [ISO C standards]: Do not allow headers.
11994 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11995 wcs[abcdefghijklmnopqrstuvwxyz]*.
11996 [ISO C standards] (*_t): Do not allow.
11997 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11998 Expect function.
11999 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12000 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12001 Specify type.
12002 [ISO C standards]: Do not allow headers.
12003 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12004 is[abcdefghijklmnopqrstuvwxyz]*.
12005 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12006 to[abcdefghijklmnopqrstuvwxyz]*.
12007 [ISO C standards] (*_t): Do not allow.
12008 * conform/data/stdalign.h-data: New file.
12009 * conform/data/stdbool.h-data: Likewise.
12010 * conform/data/stdnoreturn.h-data: Likewise.
12011
7514feb8
RM
120122012-11-07 Roland McGrath <roland@hack.frob.com>
12013
12014 [BZ #14815]
12015 * manual/filesys.texi (Directory Entries): Typo fix.
12016 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
12017
19b2ecfc
MS
120182012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12019
12020 * elf/elf.h (EM_AARCH64): New macro.
12021 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
12022 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
12023 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
12024 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
12025 (R_AARCH64_TLSDESC): Likewise.
12026 (NT_ARM_TLS): Likewise.
12027 (NT_ARM_HW_BREAK): Likewise.
12028 (NT_ARM_HW_WATCH): Likewise.
12029
60e235ee
JM
120302012-11-07 Joseph Myers <joseph@codesourcery.com>
12031
12032 [BZ #14811]
12033 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
12034 (__ieee754_powl): Saturate nonzero exponents with absolute value
12035 below 0x1p-79 to +/- 0x1p-79.
12036 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
12037 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
12038 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
12039 nonzero exponents with absolute value below 0x1p-32 to +/-
12040 0x1p-32.
12041 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
12042 (__ieee754_powl): Saturate nonzero exponents with absolute value
12043 below 0x1p-79 to +/- 0x1p-79.
12044 * math/libm-test.inc (pow_test): Add more tests.
12045
0ab234b7
AK
120462012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12047
12048 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
12049 _dl_s390_cap_flags with kernel. Increase string length.
12050 (_dl_s390_platforms): Add z196 and zEC12.
12051
45832f74
JM
120522012-11-07 Joseph Myers <joseph@codesourcery.com>
12053
12054 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
12055 Change XOPEN21K to XOPEN2K.
12056
19218757
MK
120572012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
12058
12059 * string/memmove.c: Use memcpy when possible.
12060
c5f45721
AJ
120612012-11-06 Andreas Jaeger <aj@suse.de>
12062
12063 * po/eo.po: Update from translation team.
12064
82477c28
JM
120652012-11-06 Joseph Myers <joseph@codesourcery.com>
12066
12067 [BZ #14793]
12068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12069 exponent and small x and y exponents, scale x or y up. Increase
12070 by 2 the exponent used in scaling up.
12071 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12072 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12073 * math/libm-test.inc (fma_test): Add more tests.
12074 (fma_test_towardzero): Likewise.
12075 (fma_test_downward): Likewise.
12076 (fma_test_upward): Likewise.
12077
99252c8c
JM
120782012-11-05 Joseph Myers <joseph@codesourcery.com>
12079
acfa885f
JM
12080 [BZ #14805]
12081 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12082 fenv_t *.
12083
99252c8c
JM
12084 [BZ #14801]
12085 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12086 namespace for names of struct fields.
12087 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12088 fenv_t fields.
12089 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12090 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12091
d6d98dea
ST
120922012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12093
12094 [BZ #3665]
12095 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12096
e10bb107
TS
120972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12098
12099 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12100 PTR_DEMANGLE.
12101
12102 [BZ #5246]
12103 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12104 PTR_DEMANGLE.
12105
a0c2940d
JM
121062012-11-04 Joseph Myers <joseph@codesourcery.com>
12107
12108 [BZ #14797]
12109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12110 definitely overflow as x * y not x * y + z.
12111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12112 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12113 * math/libm-test.inc (fma_test): Add more tests.
12114 (fma_test_towardzero): Likewise.
12115 (fma_test_downward): Likewise.
12116 (fma_test_upward): Likewise.
12117
b830319d
TS
121182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12119
12120 [BZ #157]
12121
12122 * include/stub-tag.h: Remove file.
12123 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12124 '#include' of it.
12125 * manual/maint.texi (Porting): Don't reference it.
12126 * Makerules ($(objpfx)stubs): Likewise.
12127 * dirent/closedir.c: Don't include <stub-tag.h>.
12128 * dirent/dirfd.c: Likewise.
12129 * dirent/fdopendir.c: Likewise.
12130 * dirent/getdents.c: Likewise.
12131 * dirent/getdents64.c: Likewise.
12132 * dirent/opendir.c: Likewise.
12133 * dirent/readdir.c: Likewise.
12134 * dirent/readdir64.c: Likewise.
12135 * dirent/readdir64_r.c: Likewise.
12136 * dirent/readdir_r.c: Likewise.
12137 * dirent/rewinddir.c: Likewise.
12138 * dirent/seekdir.c: Likewise.
12139 * dirent/telldir.c: Likewise.
12140 * gmon/profil.c: Likewise.
12141 * grp/setgroups.c: Likewise.
12142 * inet/if_index.c: Likewise.
12143 * io/access.c: Likewise.
12144 * io/chdir.c: Likewise.
12145 * io/chmod.c: Likewise.
12146 * io/chown.c: Likewise.
12147 * io/close.c: Likewise.
12148 * io/dup.c: Likewise.
12149 * io/dup2.c: Likewise.
12150 * io/dup3.c: Likewise.
12151 * io/euidaccess.c: Likewise.
12152 * io/faccessat.c: Likewise.
12153 * io/fchdir.c: Likewise.
12154 * io/fchmod.c: Likewise.
12155 * io/fchmodat.c: Likewise.
12156 * io/fchown.c: Likewise.
12157 * io/fchownat.c: Likewise.
12158 * io/fcntl.c: Likewise.
12159 * io/flock.c: Likewise.
12160 * io/fstatfs.c: Likewise.
12161 * io/fstatfs64.c: Likewise.
12162 * io/fstatvfs.c: Likewise.
12163 * io/fstatvfs64.c: Likewise.
12164 * io/futimens.c: Likewise.
12165 * io/fxstat.c: Likewise.
12166 * io/fxstat64.c: Likewise.
12167 * io/fxstatat.c: Likewise.
12168 * io/fxstatat64.c: Likewise.
12169 * io/getcwd.c: Likewise.
12170 * io/isatty.c: Likewise.
12171 * io/lchmod.c: Likewise.
12172 * io/lchown.c: Likewise.
12173 * io/link.c: Likewise.
12174 * io/linkat.c: Likewise.
12175 * io/lseek.c: Likewise.
12176 * io/lseek64.c: Likewise.
12177 * io/lxstat64.c: Likewise.
12178 * io/mkdir.c: Likewise.
12179 * io/mkdirat.c: Likewise.
12180 * io/mkfifo.c: Likewise.
12181 * io/mkfifoat.c: Likewise.
12182 * io/open.c: Likewise.
12183 * io/open64.c: Likewise.
12184 * io/openat.c: Likewise.
12185 * io/openat64.c: Likewise.
12186 * io/pipe.c: Likewise.
12187 * io/pipe2.c: Likewise.
12188 * io/poll.c: Likewise.
12189 * io/posix_fadvise.c: Likewise.
12190 * io/posix_fadvise64.c: Likewise.
12191 * io/posix_fallocate.c: Likewise.
12192 * io/posix_fallocate64.c: Likewise.
12193 * io/read.c: Likewise.
12194 * io/readlink.c: Likewise.
12195 * io/readlinkat.c: Likewise.
12196 * io/rmdir.c: Likewise.
12197 * io/sendfile.c: Likewise.
12198 * io/sendfile64.c: Likewise.
12199 * io/statfs.c: Likewise.
12200 * io/statfs64.c: Likewise.
12201 * io/statvfs.c: Likewise.
12202 * io/statvfs64.c: Likewise.
12203 * io/symlink.c: Likewise.
12204 * io/symlinkat.c: Likewise.
12205 * io/ttyname.c: Likewise.
12206 * io/ttyname_r.c: Likewise.
12207 * io/umask.c: Likewise.
12208 * io/unlink.c: Likewise.
12209 * io/unlinkat.c: Likewise.
12210 * io/utime.c: Likewise.
12211 * io/utimensat.c: Likewise.
12212 * io/write.c: Likewise.
12213 * io/xmknod.c: Likewise.
12214 * io/xmknodat.c: Likewise.
12215 * io/xstat.c: Likewise.
12216 * io/xstat64.c: Likewise.
12217 * login/getpt.c: Likewise.
12218 * login/grantpt.c: Likewise.
12219 * login/unlockpt.c: Likewise.
12220 * math/e_acoshl.c: Likewise.
12221 * math/e_acosl.c: Likewise.
12222 * math/e_asinl.c: Likewise.
12223 * math/e_atan2l.c: Likewise.
12224 * math/e_atanhl.c: Likewise.
12225 * math/e_coshl.c: Likewise.
12226 * math/e_expl.c: Likewise.
12227 * math/e_fmodl.c: Likewise.
12228 * math/e_gammal_r.c: Likewise.
12229 * math/e_hypotl.c: Likewise.
12230 * math/e_j0l.c: Likewise.
12231 * math/e_j1l.c: Likewise.
12232 * math/e_jnl.c: Likewise.
12233 * math/e_lgammal_r.c: Likewise.
12234 * math/e_log10l.c: Likewise.
12235 * math/e_log2l.c: Likewise.
12236 * math/e_logl.c: Likewise.
12237 * math/e_powl.c: Likewise.
12238 * math/e_rem_pio2l.c: Likewise.
12239 * math/e_sinhl.c: Likewise.
12240 * math/e_sqrtl.c: Likewise.
12241 * math/fclrexcpt.c: Likewise.
12242 * math/fedisblxcpt.c: Likewise.
12243 * math/feenablxcpt.c: Likewise.
12244 * math/fegetenv.c: Likewise.
12245 * math/fegetexcept.c: Likewise.
12246 * math/fegetround.c: Likewise.
12247 * math/feholdexcpt.c: Likewise.
12248 * math/fesetenv.c: Likewise.
12249 * math/fesetround.c: Likewise.
12250 * math/feupdateenv.c: Likewise.
12251 * math/fgetexcptflg.c: Likewise.
12252 * math/fraiseexcpt.c: Likewise.
12253 * math/fsetexcptflg.c: Likewise.
12254 * math/ftestexcept.c: Likewise.
12255 * math/k_cosl.c: Likewise.
12256 * math/k_rem_pio2l.c: Likewise.
12257 * math/k_sinl.c: Likewise.
12258 * math/k_tanl.c: Likewise.
12259 * math/s_asinhl.c: Likewise.
12260 * math/s_atanl.c: Likewise.
12261 * math/s_cbrtl.c: Likewise.
12262 * math/s_erfl.c: Likewise.
12263 * math/s_expm1l.c: Likewise.
12264 * math/s_log1pl.c: Likewise.
12265 * math/s_tanhl.c: Likewise.
12266 * misc/acct.c: Likewise.
12267 * misc/brk.c: Likewise.
12268 * misc/chflags.c: Likewise.
12269 * misc/chroot.c: Likewise.
12270 * misc/fchflags.c: Likewise.
12271 * misc/fgetxattr.c: Likewise.
12272 * misc/flistxattr.c: Likewise.
12273 * misc/fremovexattr.c: Likewise.
12274 * misc/fsetxattr.c: Likewise.
12275 * misc/fsync.c: Likewise.
12276 * misc/ftruncate.c: Likewise.
12277 * misc/futimes.c: Likewise.
12278 * misc/futimesat.c: Likewise.
12279 * misc/getdomain.c: Likewise.
12280 * misc/getdtsz.c: Likewise.
12281 * misc/gethostid.c: Likewise.
12282 * misc/gethostname.c: Likewise.
12283 * misc/getloadavg.c: Likewise.
12284 * misc/getpagesize.c: Likewise.
12285 * misc/getsysstats.c: Likewise.
12286 * misc/getxattr.c: Likewise.
12287 * misc/gtty.c: Likewise.
12288 * misc/ioctl.c: Likewise.
12289 * misc/lgetxattr.c: Likewise.
12290 * misc/listxattr.c: Likewise.
12291 * misc/llistxattr.c: Likewise.
12292 * misc/lremovexattr.c: Likewise.
12293 * misc/lsetxattr.c: Likewise.
12294 * misc/lutimes.c: Likewise.
12295 * misc/madvise.c: Likewise.
12296 * misc/mincore.c: Likewise.
12297 * misc/mlock.c: Likewise.
12298 * misc/mlockall.c: Likewise.
12299 * misc/mmap.c: Likewise.
12300 * misc/mprotect.c: Likewise.
12301 * misc/msync.c: Likewise.
12302 * misc/munlock.c: Likewise.
12303 * misc/munlockall.c: Likewise.
12304 * misc/munmap.c: Likewise.
12305 * misc/preadv.c: Likewise.
12306 * misc/preadv64.c: Likewise.
12307 * misc/ptrace.c: Likewise.
12308 * misc/pwritev.c: Likewise.
12309 * misc/pwritev64.c: Likewise.
12310 * misc/readv.c: Likewise.
12311 * misc/reboot.c: Likewise.
12312 * misc/remap_file_pages.c: Likewise.
12313 * misc/removexattr.c: Likewise.
12314 * misc/revoke.c: Likewise.
12315 * misc/select.c: Likewise.
12316 * misc/setdomain.c: Likewise.
12317 * misc/setegid.c: Likewise.
12318 * misc/seteuid.c: Likewise.
12319 * misc/sethostid.c: Likewise.
12320 * misc/sethostname.c: Likewise.
12321 * misc/setregid.c: Likewise.
12322 * misc/setreuid.c: Likewise.
12323 * misc/setxattr.c: Likewise.
12324 * misc/sstk.c: Likewise.
12325 * misc/stty.c: Likewise.
12326 * misc/swapoff.c: Likewise.
12327 * misc/swapon.c: Likewise.
12328 * misc/sync.c: Likewise.
12329 * misc/syncfs.c: Likewise.
12330 * misc/syscall.c: Likewise.
12331 * misc/truncate.c: Likewise.
12332 * misc/ualarm.c: Likewise.
12333 * misc/usleep.c: Likewise.
12334 * misc/ustat.c: Likewise.
12335 * misc/utimes.c: Likewise.
12336 * misc/vhangup.c: Likewise.
12337 * misc/writev.c: Likewise.
12338 * posix/_exit.c: Likewise.
12339 * posix/alarm.c: Likewise.
12340 * posix/execve.c: Likewise.
12341 * posix/fexecve.c: Likewise.
12342 * posix/fork.c: Likewise.
12343 * posix/fpathconf.c: Likewise.
12344 * posix/getaddrinfo.c: Likewise.
12345 * posix/getegid.c: Likewise.
12346 * posix/geteuid.c: Likewise.
12347 * posix/getgid.c: Likewise.
12348 * posix/getgroups.c: Likewise.
12349 * posix/getlogin.c: Likewise.
12350 * posix/getlogin_r.c: Likewise.
12351 * posix/getpgid.c: Likewise.
12352 * posix/getpid.c: Likewise.
12353 * posix/getppid.c: Likewise.
12354 * posix/getresgid.c: Likewise.
12355 * posix/getresuid.c: Likewise.
12356 * posix/getsid.c: Likewise.
12357 * posix/getuid.c: Likewise.
12358 * posix/glob64.c: Likewise.
12359 * posix/nanosleep.c: Likewise.
12360 * posix/pathconf.c: Likewise.
12361 * posix/pause.c: Likewise.
12362 * posix/posix_madvise.c: Likewise.
12363 * posix/pread.c: Likewise.
12364 * posix/pread64.c: Likewise.
12365 * posix/pwrite.c: Likewise.
12366 * posix/pwrite64.c: Likewise.
12367 * posix/sched_getaffinity.c: Likewise.
12368 * posix/sched_getp.c: Likewise.
12369 * posix/sched_gets.c: Likewise.
12370 * posix/sched_primax.c: Likewise.
12371 * posix/sched_primin.c: Likewise.
12372 * posix/sched_rr_gi.c: Likewise.
12373 * posix/sched_setaffinity.c: Likewise.
12374 * posix/sched_setp.c: Likewise.
12375 * posix/sched_sets.c: Likewise.
12376 * posix/sched_yield.c: Likewise.
12377 * posix/setgid.c: Likewise.
12378 * posix/setlogin.c: Likewise.
12379 * posix/setpgid.c: Likewise.
12380 * posix/setresgid.c: Likewise.
12381 * posix/setresuid.c: Likewise.
12382 * posix/setsid.c: Likewise.
12383 * posix/setuid.c: Likewise.
12384 * posix/sleep.c: Likewise.
12385 * posix/spawni.c: Likewise.
12386 * posix/sysconf.c: Likewise.
12387 * posix/times.c: Likewise.
12388 * posix/wait.c: Likewise.
12389 * posix/wait3.c: Likewise.
12390 * posix/wait4.c: Likewise.
12391 * posix/waitpid.c: Likewise.
12392 * resolv/gai_sigqueue.c: Likewise.
12393 * resource/getpriority.c: Likewise.
12394 * resource/getrlimit.c: Likewise.
12395 * resource/getrusage.c: Likewise.
12396 * resource/nice.c: Likewise.
12397 * resource/setpriority.c: Likewise.
12398 * resource/setrlimit.c: Likewise.
12399 * resource/ulimit.c: Likewise.
12400 * rt/aio_cancel.c: Likewise.
12401 * rt/aio_fsync.c: Likewise.
12402 * rt/aio_read.c: Likewise.
12403 * rt/aio_sigqueue.c: Likewise.
12404 * rt/aio_suspend.c: Likewise.
12405 * rt/aio_write.c: Likewise.
12406 * rt/clock_getres.c: Likewise.
12407 * rt/clock_gettime.c: Likewise.
12408 * rt/clock_nanosleep.c: Likewise.
12409 * rt/clock_settime.c: Likewise.
12410 * rt/lio_listio.c: Likewise.
12411 * rt/mq_close.c: Likewise.
12412 * rt/mq_getattr.c: Likewise.
12413 * rt/mq_notify.c: Likewise.
12414 * rt/mq_open.c: Likewise.
12415 * rt/mq_receive.c: Likewise.
12416 * rt/mq_send.c: Likewise.
12417 * rt/mq_setattr.c: Likewise.
12418 * rt/mq_timedreceive.c: Likewise.
12419 * rt/mq_timedsend.c: Likewise.
12420 * rt/mq_unlink.c: Likewise.
12421 * rt/shm_open.c: Likewise.
12422 * rt/shm_unlink.c: Likewise.
12423 * rt/timer_create.c: Likewise.
12424 * rt/timer_delete.c: Likewise.
12425 * rt/timer_getoverr.c: Likewise.
12426 * rt/timer_gettime.c: Likewise.
12427 * rt/timer_settime.c: Likewise.
12428 * setjmp/__longjmp.c: Likewise.
12429 * setjmp/setjmp.c: Likewise.
12430 * signal/kill.c: Likewise.
12431 * signal/killpg.c: Likewise.
12432 * signal/raise.c: Likewise.
12433 * signal/sigaction.c: Likewise.
12434 * signal/sigaltstack.c: Likewise.
12435 * signal/sigblock.c: Likewise.
12436 * signal/sigignore.c: Likewise.
12437 * signal/sigintr.c: Likewise.
12438 * signal/signal.c: Likewise.
12439 * signal/sigpause.c: Likewise.
12440 * signal/sigpending.c: Likewise.
12441 * signal/sigqueue.c: Likewise.
12442 * signal/sigreturn.c: Likewise.
12443 * signal/sigset.c: Likewise.
12444 * signal/sigsetmask.c: Likewise.
12445 * signal/sigstack.c: Likewise.
12446 * signal/sigsuspend.c: Likewise.
12447 * signal/sigtimedwait.c: Likewise.
12448 * signal/sigvec.c: Likewise.
12449 * signal/sigwait.c: Likewise.
12450 * signal/sigwaitinfo.c: Likewise.
12451 * signal/sysv_signal.c: Likewise.
12452 * socket/accept.c: Likewise.
12453 * socket/accept4.c: Likewise.
12454 * socket/bind.c: Likewise.
12455 * socket/connect.c: Likewise.
12456 * socket/getpeername.c: Likewise.
12457 * socket/getsockname.c: Likewise.
12458 * socket/getsockopt.c: Likewise.
12459 * socket/isfdtype.c: Likewise.
12460 * socket/listen.c: Likewise.
12461 * socket/recv.c: Likewise.
12462 * socket/recvfrom.c: Likewise.
12463 * socket/recvmsg.c: Likewise.
12464 * socket/send.c: Likewise.
12465 * socket/sendmsg.c: Likewise.
12466 * socket/sendto.c: Likewise.
12467 * socket/setsockopt.c: Likewise.
12468 * socket/shutdown.c: Likewise.
12469 * socket/sockatmark.c: Likewise.
12470 * socket/socket.c: Likewise.
12471 * socket/socketpair.c: Likewise.
12472 * stdio-common/ctermid.c: Likewise.
12473 * stdio-common/cuserid.c: Likewise.
12474 * stdio-common/remove.c: Likewise.
12475 * stdio-common/rename.c: Likewise.
12476 * stdio-common/renameat.c: Likewise.
12477 * stdio-common/tempname.c: Likewise.
12478 * stdlib/getcontext.c: Likewise.
12479 * stdlib/makecontext.c: Likewise.
12480 * stdlib/setcontext.c: Likewise.
12481 * stdlib/swapcontext.c: Likewise.
12482 * stdlib/system.c: Likewise.
12483 * streams/fattach.c: Likewise.
12484 * streams/fdetach.c: Likewise.
12485 * streams/getmsg.c: Likewise.
12486 * streams/getpmsg.c: Likewise.
12487 * streams/putmsg.c: Likewise.
12488 * streams/putpmsg.c: Likewise.
12489 * sysdeps/unix/bsd/getpt.c: Likewise.
12490 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12491 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12492 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12494 Likewise.
12495 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12496 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12497 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12498 * sysvipc/msgctl.c: Likewise.
12499 * sysvipc/msgget.c: Likewise.
12500 * sysvipc/msgrcv.c: Likewise.
12501 * sysvipc/msgsnd.c: Likewise.
12502 * sysvipc/semctl.c: Likewise.
12503 * sysvipc/semget.c: Likewise.
12504 * sysvipc/semop.c: Likewise.
12505 * sysvipc/semtimedop.c: Likewise.
12506 * sysvipc/shmat.c: Likewise.
12507 * sysvipc/shmctl.c: Likewise.
12508 * sysvipc/shmdt.c: Likewise.
12509 * sysvipc/shmget.c: Likewise.
12510 * termios/tcdrain.c: Likewise.
12511 * termios/tcflow.c: Likewise.
12512 * termios/tcflush.c: Likewise.
12513 * termios/tcgetattr.c: Likewise.
12514 * termios/tcgetpgrp.c: Likewise.
12515 * termios/tcsendbrk.c: Likewise.
12516 * termios/tcsetattr.c: Likewise.
12517 * termios/tcsetpgrp.c: Likewise.
12518 * time/adjtime.c: Likewise.
12519 * time/clock.c: Likewise.
12520 * time/getitimer.c: Likewise.
12521 * time/gettimeofday.c: Likewise.
12522 * time/setitimer.c: Likewise.
12523 * time/settimeofday.c: Likewise.
12524 * time/stime.c: Likewise.
12525 * time/time.c: Likewise.
12526
125272012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12528
a20492cf
PT
12529 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12530 /usr/old/bin.
12531
72e182e3
PT
12532 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12533 instead of spaces.
12534 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12535
fbeafede
JM
125362012-11-03 Joseph Myers <joseph@codesourcery.com>
12537
5b5b04d6
JM
12538 [BZ #14796]
12539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12540 FE_TONEAREST before applying Dekker multiplication and Knuth
12541 addition. Clear inexact exceptions and check for exact zero
12542 results afterwards.
12543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12544 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12545 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12546 * math/libm-test.inc (fma_test): Add more tests.
12547 (fma_test_towardzero): Likewise.
12548 (fma_test_downward): Likewise.
12549 (fma_test_upward): Likewise.
12550 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12551 function.
12552 (libc_fesetround): New macro.
12553 (libc_fesetroundf): Likewise.
12554 (libc_fesetroundl): Likewise.
12555 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12556 function.
12557 (libc_fesetround_387): Likewise.
12558 (libc_fesetroundf): New macro.
12559 (libc_fesetround): Likewise.
12560 (libc_fesetroundl): Likewise.
12561 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12562 function.
12563 (libc_fesetroundf): New macro.
12564 (libc_fesetround): Likewise.
12565 (libc_fesetroundl): Likewise.
12566 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12567 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12568 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12569 libm_hidden_ver.
12570 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12571 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12572 libm_hidden_def.
12573 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12574 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12575 libm_hidden_ver.
12576 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12577 libm_hidden_def.
12578
fbeafede
JM
12579 [BZ #3439]
12580 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12581 integer constant usable in #if and use that to give value to enum
12582 constant.
12583 (FE_DIVBYZERO): Likewise.
12584 (FE_UNDERFLOW): Likewise.
12585 (FE_OVERFLOW): Likewise.
12586 (FE_INVALID): Likewise.
12587 (FE_INVALID_SNAN): Likewise.
12588 (FE_INVALID_ISI): Likewise.
12589 (FE_INVALID_IDI): Likewise.
12590 (FE_INVALID_ZDZ): Likewise.
12591 (FE_INVALID_IMZ): Likewise.
12592 (FE_INVALID_COMPARE): Likewise.
12593 (FE_INVALID_SOFTWARE): Likewise.
12594 (FE_INVALID_SQRT): Likewise.
12595 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12596 (FE_TONEAREST): Likewise.
12597 (FE_TOWARDZERO): Likewise.
12598 (FE_UPWARD): Likewise.
12599 (FE_DOWNWARD): Likewise.
12600 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12601 (FE_DIVBYZERO): Likewise.
12602 (FE_OVERFLOW): Likewise.
12603 (FE_UNDERFLOW): Likewise.
12604 (FE_INEXACT): Likewise.
12605 (FE_TONEAREST): Likewise.
12606 (FE_DOWNWARD): Likewise.
12607 (FE_UPWARD): Likewise.
12608 (FE_TOWARDZERO): Likewise.
12609 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12610 (FE_UNDERFLOW): Likewise.
12611 (FE_OVERFLOW): Likewise.
12612 (FE_DIVBYZERO): Likewise.
12613 (FE_INVALID): Likewise.
12614 (FE_TONEAREST): Likewise.
12615 (FE_TOWARDZERO): Likewise.
12616 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12617 (FE_OVERFLOW): Likewise.
12618 (FE_UNDERFLOW): Likewise.
12619 (FE_DIVBYZERO): Likewise.
12620 (FE_INEXACT): Likewise.
12621 (FE_TONEAREST): Likewise.
12622 (FE_TOWARDZERO): Likewise.
12623 (FE_UPWARD): Likewise.
12624 (FE_DOWNWARD): Likewise.
12625 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12626 (FE_DIVBYZERO): Likewise.
12627 (FE_OVERFLOW): Likewise.
12628 (FE_UNDERFLOW): Likewise.
12629 (FE_INEXACT): Likewise.
12630 (FE_TONEAREST): Likewise.
12631 (FE_DOWNWARD): Likewise.
12632 (FE_UPWARD): Likewise.
12633 (FE_TOWARDZERO): Likewise.
12634
105ca950
CM
126352012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12636
12637 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12638
a542b389
AS
126392012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12640
12641 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12642 commands. Quote $PWD.
12643 (blacklist_exports): Don't use remove_newlines. Replace "declare
12644 -x" by "export".
12645 (remove_newlines): Remove.
12646
f62c8abc
L
126472012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12648
12649 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12650 * stdlib/stdlib.h (atof): Moved to ...
12651 * include/bits/stdlib-float.h: Here. New file.
12652 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12653 * stdlib/bits/stdlib-float.h: New file.
12654 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12655 -mno-sse -mno-mmx.
12656 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12657 <xmmintrin.h>.
12658
0155d5b2
JM
126592012-11-02 Joseph Myers <joseph@codesourcery.com>
12660
a68d0680
JM
12661 * conform/conformtest.pl (@headers): Add fenv.h.
12662 * conform/data/fenv.h-data: New file.
12663 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12664 include of <math/fenv.h>.
12665
caf7f573
JM
12666 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12667 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12668 && !UNIX98]. Enables tests for XOPEN2K8.
12669 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12670 POSIX2008]: Likewise.
12671
6c073ad6
JM
12672 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12673 (struct rusage): Do not expect type or its members.
12674
0155d5b2
JM
12675 [BZ #3439]
12676 * math/math.h (FP_NAN): Define macro to integer constant usable in
12677 #if and use that to give value to enum constant.
12678 (FP_INFINITE): Likewise.
12679 (FP_ZERO): Likewise.
12680 (FP_SUBNORMAL): Likewise.
12681 (FP_NORMAL): Likewise.
12682
b5dcacb4
AS
126832012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12684
12685 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12686 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12687 arguments.
12688
f7934be8
RM
126892012-11-02 Roland McGrath <roland@hack.frob.com>
12690
12691 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12692 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12693 autoconf-time if not.
12694 * configure.in: Remove AC_PREREQ.
12695
d7d08bde
TMQMF
126962012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12697
12698 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12699 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12700 of the internal implementation.
12701
dcdae19a
JM
127022012-11-02 Joseph Myers <joseph@codesourcery.com>
12703
12704 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12705 except include of <misc/sys/syslog.h>.
12706
d6cffd3e
AS
127072012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12708
12709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12710 function returns with a NULL context exit with zero.
12711
b3563932
TMQMF
127122012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12713
12714 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12715
b288a93d
L
127162012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12717
12718 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12719 (run_program_cmd): This.
12720 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12721 (tst_langinfo): New variable. Use it.
12722
a2421a68
SAS
127232012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12724
12725 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12726 floating point opcodes.
12727
6f796e1b
TS
127282012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12729
7402596b
TS
12730 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12731 variable.
12732
d0d4f868
TS
12733 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12734
6f796e1b
TS
12735 * sysdeps/mach/hurd/powerpc: Remove directory.
12736 * sysdeps/mach/powerpc: Likewise.
12737
4da224a2
AS
127382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12739
12740 * scripts/check-local-headers.sh: Ignore c++ headers.
12741
341dd673
TS
127422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12743
12744 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12745 __libc_cleanup_region_start argument.
12746
473611b2
JM
127472012-11-01 Joseph Myers <joseph@codesourcery.com>
12748
12749 [BZ #14784]
12750 [BZ #14785]
12751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12752 x * y using scaling, not as x * y + z.
12753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12754 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12755 * math/libm-test.inc (fma_test): Add more tests.
12756 (fma_test_towardzero): Likewise.
12757 (fma_test_downward): Likewise.
12758 (fma_test_upward): Likewise.
12759
4078da3d
TS
127602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12761
12762 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12763
903252aa
JM
127642012-10-31 Joseph Myers <joseph@codesourcery.com>
12765
12766 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12767 New variable.
12768
cbc818d0
TS
127692012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12770
12771 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12772
5a03cb1e
AS
127732012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12774
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12776 Fix sort order.
12777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12778 Likewise.
12779
90aff2ff
TMQMF
127802012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12781
12782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12783 Fix the order of the list for glibc 2.17.
12784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12785 Likewise.
12786
1818fcb7
AS
127872012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12788
12789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12790
ef82f4da
JM
127912012-10-31 Joseph Myers <joseph@codesourcery.com>
12792
16a0e2ec
JM
12793 [BZ #14610]
12794 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12795 for low part of x being zero before using __atanl (y).
12796 * math/libm-test.inc (atan2_test): Add another test.
12797
0eb69512
JM
12798 * manual/install.texi (Configuring and compiling): Document
12799 general use of test-wrapper and test-wrapper-env.
12800 * INSTALL: Regenerated.
12801
ef82f4da
JM
12802 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12803 (__fma): Do not extract and scale down low bits on after-rounding
12804 systems when result rounded to normal precision would have normal
12805 exponent.
12806 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12807 (__fmal): Do not extract and scale down low bits on after-rounding
12808 systems when result rounded to normal precision would have normal
12809 exponent.
12810 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12811 (__fmal): Do not extract and scale down low bits on after-rounding
12812 systems when result rounded to normal precision would have normal
12813 exponent.
12814 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12815 macro.
12816 (fma_test): Add more tests.
12817 (fma_test_towardzero): Likewise.
12818 (fma_test_downward): Likewise.
12819 (fma_test_upward): Likewise.
12820
954ef0d9
L
128212012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12822
12823 * sysdeps/i386/tininess.h: Renamed to ...
12824 * sysdeps/x86/tininess.h: This.
12825 * sysdeps/x86_64/tininess.h: Removed.
12826
df61ffb2
JM
128272012-10-30 Joseph Myers <joseph@codesourcery.com>
12828
12829 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12830 input. Use $(build-program-cmd).
12831 ($(objpfx)tst-array1-static.out): Likewise.
12832 ($(objpfx)tst-array2.out): Likewise.
12833 ($(objpfx)tst-array3.out): Likewise.
12834 ($(objpfx)tst-array4.out): Likewise.
12835 ($(objpfx)tst-array5.out): Likewise.
12836 ($(objpfx)tst-array5-static.out): Likewise.
12837
01767843
CM
128382012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12839
47cc1490
CM
12840 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12841 if defined.
12842
01767843
CM
12843 * nss/nsswitch.h (nss_interface_function): Provide new
12844 macro for use with NSS functions.
12845 * grp/initgroups.c: Use new macro.
12846 * nss/getXXbyYY.c: Likewise.
12847 * nss/getXXbyYY_r.c: Likewise.
12848 * nss/getXXent.c: Likewise.
12849 * nss/getXXent_r.c: Likewise.
12850 * sysdeps/posix/getaddrinfo.c: Likewise.
12851
8321aa97
AJ
128522012-10-30 Andreas Jaeger <aj@suse.de>
12853
12854 * po/ru.po: Update Russion translation from translation project.
12855
2a27fd6d
JM
128562012-10-30 Joseph Myers <joseph@codesourcery.com>
12857
8627a232
JM
12858 [BZ #14152]
12859 [BZ #14783]
12860 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12861 result and shift together with sticky bit instead of replicating
12862 round-to-nearest rounding.
12863 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12864 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12865 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12866 missing underflow exceptions.
12867 (fma_test_towardzero): Add more tests.
12868 (fma_test_downward): Likewise.
12869 (fma_test_upward): Likewise.
12870
2a27fd6d
JM
12871 [BZ #14047]
12872 * sysdeps/generic/tininess.h: New file.
12873 * sysdeps/i386/tininess.h: Likewise.
12874 * sysdeps/sh/tininess.h: Likewise.
12875 * sysdeps/x86_64/tininess.h: Likewise.
12876 * stdlib/tst-strtod-underflow.c: Likewise.
12877 * stdlib/tst-tininess.c: Likewise.
12878 * stdlib/strtod_l.c: Include <tininess.h>.
12879 (round_and_return): Do not set errno for exact underflow cases.
12880 Force an underflow exception when setting errno for underflow.
12881 Determine underflow based on rounding to normal precision if
12882 TININESS_AFTER_ROUNDING.
12883 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12884 ERANGE for exact underflow cases.
12885 * stdlib/Makefile (tests): Add tst-tininess and
12886 tst-strtod-underflow.
12887 ($(objpfx)tst-tininess): Use $(link-libm).
12888 ($(objpfx)tst-strtod-underflow): Likewise.
12889
e7170363
AJ
128902012-10-30 Andreas Jaeger <aj@suse.de>
12891
e5088dc6
AJ
12892 [BZ#14767]
12893 * elf/Makefile (tests): Remove conditional for have-initfini-array
12894 since this is now always required and the variable does not exist
12895 anymore.
12896 (tests-static): Likewise.
12897 (modules-names): Likewise.
12898
e7170363 12899 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12900
12901 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12902 merged with constructor/destructor.
12903 (init_array): Likewise.
12904 * elf/tst-array2dep.c (fini_array): Likewise.
12905 (init_array): Likewise.
12906
60457d8a
MF
129072012-10-29 Mike Frysinger <vapier@gentoo.org>
12908
12909 * manual/message.texi: Delete @cartouche tags.
12910
8bece752
PT
129112012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12912
94ce799f
PT
12913 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12914 EOPNOTSUPP.
12915 * sysdeps/mach/hurd/fsync.c: Likewise.
12916
8bece752
PT
12917 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12918 [_POSIX_REALTIME_SIGNALS]: Change condition to
12919 [_POSIX_REALTIME_SIGNALS > 0].
12920
86ebe6b1
AJ
129212012-10-27 Andreas Jaeger <aj@suse.de>
12922
12923 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12924 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12925 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12926 [__WORDSIZE != 64]: Likewise.
12927
54399c08
L
129282012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12929
12930 * iconvdata/tst-table.sh: Remove ${SHELL}.
12931 * iconvdata/tst-tables.sh: Likewise.
12932
e2211bed
DM
129332012-10-25 David S. Miller <davem@davemloft.net>
12934
12935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12936 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12937 of strtoull.
12938
f303f97c
DM
12939 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12940 ifunc-impl-list.c
12941 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12942 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12943 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12944 file.
12945
1e9d84cd
RM
129462012-10-25 Roland McGrath <roland@hack.frob.com>
12947
12948 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12949 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12950 __getdirentries.
12951
df381762
JM
129522012-10-25 Joseph Myers <joseph@codesourcery.com>
12953 Jim Blandy <jimb@codesourcery.com>
12954
12955 * scripts/cross-test-ssh.sh: New file.
12956 * manual/install.texi (Configuring and compiling): Document use of
12957 cross-test-ssh.sh.
12958 * INSTALL: Regenerated.
12959
bff64913
PT
129602012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12961
12962 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12963 EOPNOTSUPP.
12964
25fe8932
JM
129652012-10-25 Joseph Myers <joseph@codesourcery.com>
12966
12967 * Makeconfig (run-program-prefix): Fix comment.
12968
cc1290d0
JM
129692012-10-24 Joseph Myers <joseph@codesourcery.com>
12970 Jim Blandy <jimb@codesourcery.com>
12971
12972 * Makeconfig (test-wrapper): New variable,
12973 (test-wrapper-env): Likewise.
12974 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12975 (run-built-tests): Define to yes.
12976 (run-program-prefix): Use $(test-wrapper).
12977 (built-program-cmd): Likewise.
12978 * Rules (make-test-out): Use $(test-wrapper-env) and
12979 $(host-built-program-cmd).
12980 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12981 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12982 tst-pathopt.sh.
12983 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12984 $(test-wrapper-env) to tst-rtld-load-self.sh.
12985 ($(objpfx)order2.out): Use $(test-wrapper).
12986 ($(objpfx)tst-initorder.out): Likewise.
12987 ($(objpfx)tst-initorder2.out): Likewise.
12988 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12989 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12990 (test_wrapper_env): New variable. Use it to run ld.so.
12991 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12992 Use it to run ld.so.
12993 (test_wrapper_env): Likewise.
12994 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12995 $(test-wrapper) to run-iconv-test.sh.
12996 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12997 (ICONV): Use $test_wrapper.
12998 * posix/Makefile ($(objpfx)globtest.out): Pass
12999 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13000 globtest.sh, not $(run-program-prefix).
13001 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13002 (test_wrapper): Likewise.
13003 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13004 set together with run_via_rtld_prefix.
13005 (run_program_prefix): Define in terms of test_wrapper and
13006 run_via_rtld_prefix.
13007
6e6249d0
RM
130082012-10-24 Roland McGrath <roland@hack.frob.com>
13009
13010 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
13011 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
13012 Targets removed.
13013
13014 [BZ #14743]
13015 * include/time.h: Remove librt_hidden_proto (clock_gettime).
13016 Declare __clock_getres, __clock_gettime, __clock_settime,
13017 __clock_nanosleep, and __clock_getcpuclockid.
13018 * rt/clock_gettime.c: Define __clock_gettime as an alias.
13019 Remove librt_hidden_def (clock_gettime).
13020 * sysdeps/unix/clock_gettime.c: Likewise.
13021 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
13022 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13023 * rt/clock_getres.c: Define __clock_getres as an alias.
13024 * sysdeps/posix/clock_getres.c: Likewise.
13025 * rt/clock_settime.c: Define __clock_settime as an alias.
13026 * sysdeps/unix/clock_settime.c: Likewise.
13027 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
13028 * sysdeps/unix/clock_nanosleep.c: Likewise.
13029 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13030 * rt/clock-compat.c: New file.
13031 * rt/Makefile (librt-routines): Add clock-compat and move
13032 $(clock-routines) to ...
13033 (routines): ... here, new variable.
13034 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
13035 Don't add get_clockfreq here.
13036 * rt/Versions (libc: GLIBC_2.17): New version set.
13037 Add clock_* symbols here.
13038 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
13039 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
13040 (GLIBC_2.17): Add clock_* symbols.
13041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
13042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
13043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13045 Likewise.
13046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13047 Likewise.
13048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
13050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
13051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
13052 * NEWS: Mention the move.
13053
13054 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13055 Use __open, __read, __close rather than their public counterparts.
13056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13057 (__get_clockfreq_via_cpuinfo): Likewise.
13058 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13059 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13060
13061 * config.h.in (HAVE_IFUNC): New #undef.
13062 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13063 was successful.
13064 * configure: Regenerated.
13065
0cae3f4b
MF
130662012-10-24 Mike Frysinger <vapier@gentoo.org>
13067
13068 * configure.in: Move READELF check to start of file.
13069 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13070 libc_cv_asm_gnu_indirect_function in the process.
13071 * configure: Regenerated.
13072
8175a253
MF
130732012-10-24 Mike Frysinger <vapier@gentoo.org>
13074
13075 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13076 send the output to /dev/null.
13077 (libc_cv_cc_with_libunwind): Likewise.
13078 (libc_cv_as_noexecstack): Likewise.
13079 * configure: Regenerate.
13080
0708a7d1
JM
130812012-10-24 Joseph Myers <joseph@codesourcery.com>
13082
10b40d85
JM
13083 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13084
0708a7d1
JM
13085 * posix/globtest.sh (TMPDIR): Do not set.
13086 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13087 (testout): Likewise.
13088
9fddec1a
AJ
130892012-10-24 Andreas Jaeger <aj@suse.de>
13090
3a8db22f
AJ
13091 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13092 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13093 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13094 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13095 posix_fadvise64, posix_fallocate64.
13096
9fddec1a
AJ
13097 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13098 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13099 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13100 Likewise.
13101 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13102 Likewise.
13103 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13104
13105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13106 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13107 <bits/fcntl-linux.h>.
13108 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13109
13110 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13111 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13112 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13113 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13114 [__WORDSIZE != 64]: Likewise.
13115
ebfd1bbd
JM
131162012-10-23 Joseph Myers <joseph@codesourcery.com>
13117
03ac099f
JM
13118 * Makeconfig (run-built-tests): New variable.
13119 * Rules [$(cross-compiling) = yes]: Change condition to
13120 [$(run-built-tests) = no].
13121 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13122 to [$(run-built-tests) = yes].
13123 * elf/Makefile [$(cross-compiling) = no]: Likewise
13124 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13125 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13126 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13127 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13128 * io/Makefile [$(cross-compiling) = no]: Likewise.
13129 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13130 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13131 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13132 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13133 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13134 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13135 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13136 * string/Makefile [$(cross-compiling) = no]: Likewise.
13137
ebfd1bbd
JM
13138 * posix/Makefile ($(objpfx)globtest.out): Pass
13139 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13140 $(rtld-installed-name).
13141 * posix/globtest.sh (elf_objpfx): Remove variable.
13142 (rtld_installed_name): Likewise.
13143 (library_path): Likewise.
13144 (run_program_prefix): New variable. Use for running globtest
13145 binary.
13146
166bca24
JB
131472012-10-23 Jim Blandy <jimb@codesourcery.com>
13148 Joseph Myers <joseph@codesourcery.com>
13149
13150 * Makeconfig (host-built-program-cmd): New variable.
13151 * elf/Makefile (tst-stackguard1-ARGS): Use
13152 $(host-built-program-cmd).
13153 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13154 (tst-spawn-ARGS): Likewise.
13155 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13156
88866099
JM
131572012-10-23 Joseph Myers <joseph@codesourcery.com>
13158 Jim Blandy <jimb@codesourcery.com>
13159
13160 * Makeconfig (run-via-rtld-prefix): New variable.
13161 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13162 (built-program-cmd): Likewise.
13163
b4b4c296
AJ
131642012-10-22 Andreas Jaeger <aj@suse.de>
13165
13166 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13167 __O_RSYNC if it exists, otherwise to O_SYNC.
13168
6fb54a22
JB
131692012-10-22 Jim Blandy <jimb@codesourcery.com>
13170 Joseph Myers <joseph@codesourcery.com>
13171
13172 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13173 /dev/null.
13174 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13175 from /dev/null
13176 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13177 /dev/null.
13178
481b90b9
AJ
131792012-10-22 Andreas Jaeger <aj@suse.de>
13180
2a0e2669
AJ
13181 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13182 Define always.
13183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13184
76e38f9a
AJ
13185 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13186 bits/fcntl-linux.h.
13187
7cd37b43
AJ
13188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13189 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13190
481b90b9
AJ
13191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13192 to __O_LARGEFILE.
13193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13194 to __O_LARGEFILE.
13195
aba75984
JB
131962012-10-21 Jim Blandy <jimb@codesourcery.com>
13197 Joseph Myers <joseph@codesourcery.com>
13198
13199 * config.make.in (NM): New variable.
13200
88d4247f
AJ
132012012-10-21 Andreas Jaeger <aj@suse.de>
13202
13203 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13204 definitions and declarations that are provided by
13205 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13206
f2eed205
L
132072012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13208
13209 [BZ #14683]
13210 * elf/Makefile (tests-static): Add tst-leaks1-static.
13211 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13212 ($(objpfx)tst-leaks1-static): New rule.
13213 ($(objpfx)tst-leaks1-static-mem): Likewise.
13214 (tst-leaks1-static-ENV): New macro.
13215 * elf/dl-open.c (dl_open_worker): Check the main application
13216 only if SHARED is defined.
13217 * elf/tst-leaks1-static.c: New file.
13218
335e6931
AJ
132192012-10-20 Andreas Jaeger <aj@suse.de>
13220
13221 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13222 generic values for Linux.
13223 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13224 and declarations that are provided by <bits/fcntl-linux.h> and
13225 include <bits/fcntl-linux.h>.
13226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13228
ac5c94d3
RM
132292012-10-20 Roland McGrath <roland@hack.frob.com>
13230
13231 * io/fcntl.h: Move include of <bits/types.h> to the top and
13232 include it unconditionally.
13233
de54b33a
L
132342012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13235
228cfb01
L
13236 * wcsmbs/Makefile (tests-ifunc): New variable.
13237 (tests): Add $(tests-ifunc).
13238 * wcsmbs/test-wcschr-ifunc.c: New file.
13239 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13240 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13241 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13242 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13243 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13244
69f07e5f
L
13245 * string/Makefile (tests-ifunc): New variable.
13246 (tests): Add $(tests-ifunc).
13247 * string/test-memccpy.c (TEST_NAME): New macro.
13248 * string/test-memchr.c (TEST_NAME): Likewise.
13249 * string/test-memcmp.c (TEST_NAME): Likewise.
13250 * string/test-memcpy.c (TEST_NAME): Likewise.
13251 * string/test-memmem.c (TEST_NAME): Likewise.
13252 * string/test-memmove.c (TEST_NAME): Likewise.
13253 * string/test-memset.c (TEST_NAME): Likewise.
13254 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13255 * string/test-stpcpy.c (TEST_NAME): Likewise.
13256 * string/test-stpncpy.c (TEST_NAME): Likewise.
13257 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13258 * string/test-strcasestr.c (TEST_NAME): Likewise.
13259 * string/test-strcat.c (TEST_NAME): Likewise.
13260 * string/test-strchr.c (TEST_NAME): Likewise.
13261 * string/test-strcmp.c(TEST_NAME): Likewise.
13262 * string/test-strcpy.c (TEST_NAME): Likewise.
13263 * string/test-strcspn.c (TEST_NAME): Likewise.
13264 * string/test-strlen.c (TEST_NAME): Likewise.
13265 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13266 * string/test-strncmp.c (TEST_NAME): Likewise.
13267 * string/test-strncpy.c (TEST_NAME): Likewise.
13268 * string/test-strnlen.c (TEST_NAME): Likewise.
13269 * string/test-strpbrk.c (TEST_NAME): Likewise.
13270 * string/test-strrchr.c (TEST_NAME): Likewise.
13271 * string/test-strspn.c (TEST_NAME): Likewise.
13272 * string/test-strstr.c (TEST_NAME): Likewise.
13273 * string/test-bcopy-ifunc.c: New file.
13274 * string/test-bzero-ifunc.c: Likewise.
13275 * string/test-memccpy-ifunc.c: Likewise.
13276 * string/test-memchr-ifunc.c: Likewise.
13277 * string/test-memcmp-ifunc.c: Likewise.
13278 * string/test-memcpy-ifunc.c: Likewise.
13279 * string/test-memmem-ifunc.c: Likewise.
13280 * string/test-memmove-ifunc.c: Likewise.
13281 * string/test-mempcpy-ifunc.c: Likewise.
13282 * string/test-memset-ifunc.c: Likewise.
13283 * string/test-rawmemchr-ifunc.c: Likewise.
13284 * string/test-stpcpy-ifunc.c: Likewise.
13285 * string/test-stpncpy-ifunc.c: Likewise.
13286 * string/test-strcasecmp-ifunc.c: Likewise.
13287 * string/test-strcasestr-ifunc.c: Likewise.
13288 * string/test-strcat-ifunc.c: Likewise.
13289 * string/test-strchr-ifunc.c: Likewise.
13290 * string/test-strchrnul-ifunc.c: Likewise.
13291 * string/test-strcmp-ifunc.c: Likewise.
13292 * string/test-strcpy-ifunc.c: Likewise.
13293 * string/test-strcspn-ifunc.c: Likewise.
13294 * string/test-strlen-ifunc.c: Likewise.
13295 * string/test-strncasecmp-ifunc.c: Likewise.
13296 * string/test-strncat-ifunc.c: Likewise.
13297 * string/test-strncmp-ifunc.c: Likewise.
13298 * string/test-strncpy-ifunc.c: Likewise.
13299 * string/test-strnlen-ifunc.c: Likewise.
13300 * string/test-strpbrk-ifunc.c: Likewise.
13301 * string/test-strrchr-ifunc.c: Likewise.
13302 * string/test-strspn-ifunc.c: Likewise.
13303 * string/test-strstr-ifunc.c: Likewise.
13304
de54b33a
L
13305 * debug/Makefile (tests-ifunc): New variable.
13306 (tests): Add $(tests-ifunc).
13307 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13308 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13309 * debug/test-stpcpy_chk-ifunc.c: New file.
13310 * debug/test-strcpy_chk-ifunc.c: Likewise.
13311
88481c16
SP
133122012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13313
13314 [BZ #13601]
13315 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13316 header is not read in.
13317
135948bd
JM
133182012-10-19 Joseph Myers <joseph@codesourcery.com>
13319
89f1c388
JM
13320 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13321 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13322 directly. Pass built executable to script as
13323 $(built-program-cmd).
13324 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13325 $testprogram without using LD_LIBRARY_PATH and $ldso.
13326
e40a0d21
JM
13327 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13328 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13329 $(rtld-installed-name).
13330 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13331 (rtld_installed_name): Likewise.
13332 (library_path): Likewise.
13333 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13334 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13335 $(run-program-prefix) to tst-tables.sh.
13336 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13337 it to run tst-table-from and tst-table-to.
13338 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13339 Pass it to tst-table.sh.
13340 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13341 $(run-program-prefix) to tst-gettext.sh.
13342 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13343 tst-translit.sh.
13344 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13345 tst-gettext2.sh.
13346 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13347 to run tst-gettext.
13348 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13349 to run tst-gettext2.
13350 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13351 to run tst-translit.
13352 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13353 $(run-program-prefix) to tst-mtrace.sh.
13354 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13355 to run tst-mtrace.
13356 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13357 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13358 $(rtld-installed-name).
13359 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13360 (rtld_installed_name): Likewise.
13361 (run_program_prefix): New variable. Use it to run wordexp-test.
13362
728e272a
JM
13363 * Makeconfig (ARCH): Remove all definitions.
13364 (machine): Likewise.
13365 [ARCH]: Remove conditional code.
13366 [!objdir]: Give error.
13367 [!objdir] (objpfx): Remove.
13368 [!objdir] (common-objpfx): Likewise.
13369 [!objdir] (common-objdir): Likewise.
13370 * configure.in (config_makefile): Remove. Hardcode Makefile in
13371 AC_CONFIG_FILES call.
13372 * configure: Regenerated.
13373
d528cdcf
JM
13374 [BZ #13888]
13375 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13376 or TMPDIR.
13377 (testout): Likewise.
13378
135948bd
JM
13379 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13380 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13381 $(rtld-installed-name).
13382 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13383 (rtld_installed_name): Likwise.
13384 (runit): Remove function.
13385 (run_getconf): New variable, Use it for running getconf binary.
13386
38c78296
L
133872012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13388
13389 [BZ #14716]
13390 * string/test-memmem.c (check_result): New function.
13391 (do_one_test): Use it.
13392 (check1): New function.
13393 (test_main): Use it.
13394
d077f65f
MT
133952012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13396
13397 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13398
ced52c71
JM
133992012-10-18 Joseph Myers <joseph@codesourcery.com>
13400
13401 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13402 (_G_LSEEK64): Likewise.
13403 (_G_MMAP64): Likewise.
13404 (_G_FSTAT64): Likewise.
13405 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13406 (_G_LSEEK64): Likewise.
13407 (_G_MMAP64): Likewise.
13408 (_G_FSTAT64): Likewise.
13409 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13410 unconditional. Call __mmap64 directly.
13411 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13412 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13413 __lseek64 directly.
13414 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13415 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13416 __mmap64 directly.
13417 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13418 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13419 __lseek64 directly.
13420 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13421 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13422 __lseek64 directly.
13423 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13424 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13425 __lseek64 directly.
13426 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13427 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13428 __fxstat64 directly.
13429 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13430 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13431 unconditional.
13432 (freopen64) [!_G_OPEN64]: Remove conditional code.
13433 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13434 unconditional.
13435 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13436 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13437 unconditional.
13438 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13439 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13440 unconditional.
13441 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13442 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13443 unconditional.
13444 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13445 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13446 unconditional.
13447 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13448 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13449 unconditional.
13450 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13451 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13452 unconditional.
13453 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13454
b741de23
SP
134552012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13456
13457 [BZ #12140]
13458 * manual/memory.texi (Malloc Tunable Parameters): Add note
13459 about free list pointers overwriting some perturb bytes.
13460 Wording suggested by Roland McGrath.
13461
f9b9d9c9
JM
134622012-10-17 Joseph Myers <joseph@codesourcery.com>
13463
13464 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13465 (lgamma_test): Likewise.
13466 (tgamma_test): Likewise.
13467
172a631a
FW
134682012-10-16 Florian Weimer <fweimer@redhat.com>
13469
13470 [BZ #14700]
13471 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13472 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13473
e9f37252
MK
134742012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13475
13476 * NEWS: Mention BZ #14716.
13477 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13478 when removing AVAILABLE1_USES_J macro.
13479
d394eb74
L
134802012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13481
13482 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13483 (__bswap_64): __uint64_t for unsigned 64-bit int.
13484
ca38dc17
AS
134852012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13486
13487 * include/string.h (memmem): Declare libc hidden alias.
13488 * string/memmem.c (memmem): Define libc hidden alias.
13489 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13490 __read, __close instead of open, read, close.
13491
9a387d1f
L
134922012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13493
ac49ecaf
L
13494 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13495 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13496 global and hidden.
13497 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13498 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13499 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13500 Likewise.
13501 (__rawmemchr_sse2): Likewise.
13502 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13503 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13504 (__strchr_sse2): Likewise.
13505 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13506 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13507 (__strcasecmp_sse2): Likewise.
13508 (__strncasecmp_sse2): Likewise.
13509 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13510 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13511 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13512 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13513 (__strrchr_sse2): Likewise.
13514 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13515 ifunc-impl-list.c.
13516 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13517 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13518 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13519 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13520 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13521 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13522 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13523 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13524 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13525 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13526 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13527 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13528 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13529 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13530 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13531 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13532 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13533 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13534 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13535 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13536 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13537 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13538 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13539 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13540 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13541 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13542 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13543 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13544 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13545 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13546
b090e8ea
L
13547 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13548 global and hidden.
13549 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13550 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13551 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13552 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13553 Likewise.
13554 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13555 Likewise.
13556 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13557 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13558 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13559 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13560 ifunc-impl-list.c.
13561 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13562 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13563 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13564 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13565 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13566 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13567 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13568 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13569 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13570 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13571 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13572 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13573 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13574 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13575 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13576 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13577 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13578 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13579 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13580 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13581 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13582 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13583 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13584 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13585 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13586 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13587 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13588 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13589 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13590 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13591 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13592 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13593 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13594 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13595 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13596 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13597 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13598 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13599 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13600 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13601 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13602
11dd4af6
L
13603 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13604 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13605 * include/ifunc-impl-list.h: New file.
13606 * misc/ifunc-impl-list.c: Likewise.
13607 * misc/Makefile (routines): Add ifunc-impl-list.
13608 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13609 * string/test-string.h: Include <ifunc-impl-list.h>.
13610 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13611 impl_array): New variables.
13612 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13613 are defined.
13614 (test_init): Call __libc_ifunc_impl_list to initialize
13615 func_list if TEST_IFUNC and TEST_NAME are defined.
13616
9a387d1f
L
13617 * string/Makefile (strop-tests): Add bcopy and bzero.
13618 * string/test-bcopy.c: New file.
13619 * string/test-bzero.c: Likewise.
13620 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13621 defined.
13622 * string/test-memset.c: Support bzero test if TEST_BZERO is
13623 defined.
13624 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13625 __libc_memmove.
13626 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13627 __libc_memset.
13628 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13629 of memset.
13630
472371b9
JM
136312012-10-10 Joseph Myers <joseph@codesourcery.com>
13632
1e4a9536
JM
13633 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13634 * configure: Regenerated.
13635
d173d12e
JM
13636 * Makeconfig (+link-static-before-libc): Don't include
13637 $(link-static-libc).
13638
472371b9
JM
13639 * libio/libio.h (_IO_pos_t): Remove.
13640
89a3ad0b
AO
136412012-10-10 Alexandre Oliva <aoliva@redhat.com>
13642
13643 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13644 McGrath.
13645
e7451425
AO
136462012-10-10 Alexandre Oliva <aoliva@redhat.com>
13647
13648 * crypt/crypt-entry.c: Include fips-private.h.
13649 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13650 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13651 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13652 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13653
4ba74a35
AO
136542012-10-10 Alexandre Oliva <aoliva@redhat.com>
13655
13656 * crypt/crypt-private.h: Include stdbool.h.
13657 (_ufc_setup_salt_r): Return bool.
13658 * crypt/crypt-entry.c: Include errno.h.
13659 (__crypt_r): Return NULL with EINVAL for bad salt.
13660 * crypt/crypt_util.c (bad_for_salt): New.
13661 (_ufc_setup_salt_r): Check that salt is long enough and within
13662 the specified alphabet.
13663 * crypt/badsalttest.c: New file.
13664 * crypt/Makefile (tests): Add it.
13665 ($(objpfx)badsalttest): New.
13666
f96f1242
MK
136672012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13668
13669 * NEWS: Add entry for BZ #14602.
13670
0e8e0c1c
JM
136712012-10-09 Joseph Myers <joseph@codesourcery.com>
13672
13673 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13674 type-generic.
13675 * math/libm-test.inc: Update comment listing what functions and
13676 macros are tested.
13677 (isgreater_test): New function.
13678 (isgreaterequal_test): Likewise.
13679 (isless_test): Likewise.
13680 (islessequal_test): Likewise.
13681 (islessgreater_test): Likewise.
13682 (isunordered_test): Likewise.
13683 (main): Call the new functions.
13684
273edc5e
RM
136852012-10-09 Roland McGrath <roland@hack.frob.com>
13686
b8493de0
RM
13687 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13688 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13689 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13690 * sysdeps/i386/configure: Regenerated.
13691 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13692 * sysdeps/mach/configure: Regenerated.
13693 * sysdeps/mach/hurd/configure: Regenerated.
13694 * sysdeps/powerpc/configure: Regenerated.
13695 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13696 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13697 * sysdeps/s390/s390-32/configure: Regenerated.
13698 * sysdeps/s390/s390-64/configure: Regenerated.
13699 * sysdeps/sh/configure: Regenerated.
13700 * sysdeps/sparc/configure: Regenerated.
13701 * sysdeps/unix/sysv/linux/configure: Regenerated.
13702 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13703 * sysdeps/x86_64/configure: Regenerated.
13704
273edc5e
RM
13705 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13706 defined. Don't check if MAP is NULL.
13707
c8450f70
JM
137082012-10-09 Joseph Myers <joseph@codesourcery.com>
13709
13710 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13711 (_G_stat64): Likewise.
13712 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13713 (_G_stat64): Likewise.
13714 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13715 instead of struct _G_stat64.
13716 * libio/fileops.c (mmap_remap_check): Likewise.
13717 (decide_maybe_mmap): Likewise.
13718 (_IO_new_file_seekoff): Likewise.
13719 (_IO_file_stat): Likewise.
13720 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13721 _G_off64_t.
13722 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13723 instead of struct _G_stat64.
13724 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13725
57e605ba
MK
137262012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13727
13728 [BZ #14602]
13729 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13730 Replace with ...
13731 (CHECK_EOL): New macro.
13732 (two_way_short_needle): Check beginning of haystack for EOL. Use
13733 CHECK_EOL.
13734 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13735 Replace with CHECK_EOL.
13736 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13737 Replace with CHECK_EOL.
13738
ef1bb361
JM
137392012-10-08 Joseph Myers <joseph@codesourcery.com>
13740
13741 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13742 type-generic.
13743 * math/libm-test.inc: Update comment listing what functions and
13744 macros are tested.
13745 (finite_test): New function.
13746 (isinf_test): Likewise.
13747 (isnan_test): Likewise.
13748 (fpclassify_test): Test subnormal input.
13749 (isfinite_test): Likewise.
13750 (isnormal_test): Likewise.
13751 (main): Call the new functions.
13752
55f11534
JN
137532012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13754
13755 [BZ #14660]
13756 * Makerules (%.dynsym): Force C locale when running
13757 $(OBJDUMP) --dynamic-syms.
13758
1ab29350
AS
137592012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13760
13761 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13762 <stdint.h>.
13763
f1ecb7ef
DM
137642012-10-06 David S. Miller <davem@davemloft.net>
13765
13766 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13767 upper 32-bits of the length value in %o2 since we use branch-on-register
13768 tests which consider the entire 64-bit register.
13769
5d41d91a
L
137702012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13771
13772 * string/test-strstr.c (check2): Add a test for page boundary.
13773
3baddb72
DM
137742012-10-05 David S. Miller <davem@davemloft.net>
13775
13776 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13777 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13778 file.
13779 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13780 sysdep_routines.
13781 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13782 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13783 and bzero when HWCAP_SPARC_CRYPTO is present.
13784
9cee5585
L
137852012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13786
d7e0dab9
L
13787 [BZ #14602]
13788 * string/test-strstr.c (check2): New function.
13789 (test_main): Call check2.
13790
03759f47
L
13791 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13792 and bug-strchr1.
13793 * string/bug-strcasestr1.c (do_test): Moved to ...
13794 * string/test-strcasestr.c (check1): Here. New function.
13795 (do_one_test): Break out result checking code into ...
13796 (check_result): This. New function.
13797 (do_one_test): Call check_result.
13798 (test_main): Call check1.
13799 * string/bug-strchr1.c (do_test): Moved to ...
13800 * string/test-strchr.c (check1): Here. New function.
13801 (do_one_test): Break out result checking code into ...
13802 (check_result): This. New function.
13803 (do_one_test): Call check_result.
13804 (test_main): Call check1.
13805 * string/bug-strstr1.c (main): Moved to ...
046f153e 13806 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13807 (do_one_test): Break out result checking code into ...
13808 (check_result): This. New function.
13809 (do_one_test): Call check_result.
13810 (test_main): Call check1.
13811 * string/bug-strcasestr1.c: Removed.
13812 * string/bug-strchr1.c: Likewise.
13813 * string/bug-strstr1.c: Likewise.
13814
53cea63e
L
13815 * elf/Makefile (dl-routines): Add hwcaps.
13816 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13817 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13818 (_dl_important_hwcaps): Moved to ...
13819 * elf/dl-hwcaps.c: Here. New file.
13820 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13821
9cee5585 13822 [BZ #14557]
bb859b06
L
13823 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13824 if IS_IN_rtld isn't defined.
13825
9cee5585
L
13826 * elf/dl-support.c (_dl_sysinfo_map): New.
13827 Include "get-dynamic-info.h" and "setup-vdso.h".
13828 (_dl_non_dynamic_init): Call setup_vdso.
13829 * elf/dynamic-link.h: Don't include <assert.h>.
13830 (elf_get_dynamic_info): Moved to ...
13831 * elf/get-dynamic-info.h: Here. New file.
13832 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13833 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13834 * elf/setup-vdso.h: Here. New file.
13835 * elf/rtld.c: Include "setup-vdso.h".
13836 (dl_main): Call setup_vdso.
13837
23c31b76
JM
138382012-10-05 Joseph Myers <joseph@codesourcery.com>
13839
28234b07
JM
13840 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13841 creal in comment listing functions tested. List finite, isinf,
13842 isnan, isless, islessequal, isgreater, isgreaterequal,
13843 islessgreater, isunordered, lgamma_r and pow10 as functions and
13844 macros not tested. Mention which functions not tested are aliases
13845 for other functions. Fix typo. Note that signs of NaNs are not
13846 tested.
13847
23c31b76
JM
13848 * scripts/config.guess: Update from config.git.
13849 * scripts/config.sub: Likewise.
13850
9043e228
RM
138512012-10-04 Roland McGrath <roland@hack.frob.com>
13852
13853 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13854 * misc/madvise.c (madvise): Renamed to __madvise.
13855 Make madvise a weak alias.
13856 * include/sys/mman.h: Declare __madvise.
13857 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13858 * sysdeps/unix/syscalls.list
13859 (madvise): Make __madvise the strong name, and madvise a weak alias.
13860 * sysdeps/unix/sysv/linux/syscalls.list
13861 (madvise, mmap): Remove redundant entries.
13862 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13863 * malloc/malloc.c (mtrim): Likewise.
13864 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13865
f57f8055
RM
138662012-10-03 Roland McGrath <roland@hack.frob.com>
13867
13868 * sysdeps/mach/hurd/dl-cache.c: File removed.
13869 * config.h.in (USE_LDCONFIG): New #undef.
13870 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13871 * configure: Regenerated.
13872 * elf/Makefile (dl-routines): Add dl-cache only under
13873 [$(use-ldconfig) = yes].
13874 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13875 cache on [USE_LDCONFIG].
13876 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13877 [USE_LDCONFIG].
13878 * elf/rtld.c (dl_main): Likewise.
13879
5bb0c10a
PT
138802012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13881
13882 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13883 _SC_LEVEL4_CACHE_LINESIZE.
13884
010188c6
RM
138852012-10-03 Roland McGrath <roland@hack.frob.com>
13886
13887 * sysdeps/unix/bsd/confstr.h: File removed.
13888
b6c5ec07
AO
138892012-10-02 Alexandre Oliva <aoliva@redhat.com>
13890
13891 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13892 sys/sdt-config.h.
13893
408223d4
RM
138942012-10-02 Roland McGrath <roland@hack.frob.com>
13895
13896 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13897 Make 'mapoff' field ElfW(Off) rather than off_t.
13898
bb9510dc
DL
138992012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13900
fc997c6e
DL
13901 * nscd/Makefile: Remove nscd-cflags and all its users.
13902 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13903 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13904
bb9510dc
DL
13905 [BZ #10631]
13906 * malloc.c (malloc_printerr): Clarify error message.
13907
05699367
L
139082012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13909
13910 [BZ #14648]
13911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13912 Set bit_FMA_Usable if FMA is supported.
13913 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13914 macro.
13915 (bit_FMA4_Usable): Updated.
13916 (index_FMA_Usable): New macro.
13917 (CPUID_FMA): Likewise
13918 (HAS_FMA): Defined with bit_FMA_Usable.
13919
51367701
RM
139202012-10-01 Roland McGrath <roland@hack.frob.com>
13921
13922 * bits/types.h (__swblk_t): Type removed.
13923 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13924 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13925 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13926 (__SWBLK_T_TYPE): Likewise.
13927 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13928 (__SWBLK_T_TYPE): Likewise.
13929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13930 (__SWBLK_T_TYPE): Likewise.
13931 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13932 (__SWBLK_T_TYPE): Likewise.
13933
4d57bf63 139342012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13935 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13936
13937 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13938 (xdr_mapname): Use YPMAXMAP as maxsize.
13939 (xdr_peername): Use YPMAXPEER as maxsize.
13940 (xdr_keydat): Use YPAXRECORD as maxsize.
13941 (xdr_valdat): Use YPMAXRECORD as maxsize.
13942
93c65d43
RM
139432012-10-01 Roland McGrath <roland@hack.frob.com>
13944
497a03d6
RM
13945 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13946
93c65d43
RM
13947 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13948 * csu/init-first.c: ... here.
13949 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13950 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13951 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13952 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13953 * sysdeps/i386/init-first.c: File removed.
13954 * sysdeps/sh/init-first.c: File removed.
13955
bec749fd
JM
139562012-10-01 Joseph Myers <joseph@codesourcery.com>
13957
13958 [BZ #14645]
13959 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13960 if x * y might underflow to zero and z is zero.
13961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13962 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13963 * math/libm-test.inc (min_subnorm_value): New variable.
13964 (fma_test): Add more tests.
13965 (fma_test_towardzero): Likewise.
13966 (fma_test_downward): Likewise
13967 (fma_test_upward): Likewise.
13968 (initialize): Set min_subnorm_value.
13969
8ec5b013
JM
139702012-09-29 Joseph Myers <joseph@codesourcery.com>
13971
13972 [BZ #14638]
13973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13974 0 + 0.
13975 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13976 mode for addition resulting in exact zero.
13977 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13978 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13979 exact 0 + 0.
13980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13982 * math/libm-test.inc (fma_test): Add more tests.
13983 (fma_test_towardzero): New function.
13984 (fma_test_downward): Likewise.
13985 (fma_test_upward): Likewise.
13986 (main): Call the new functions.
13987
b1fa802e
DM
139882012-09-28 David S. Miller <davem@davemloft.net>
13989
13990 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13991
d3b9fd9e
RM
139922012-09-28 Roland McGrath <roland@hack.frob.com>
13993
ea4d37b3
RM
13994 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13995 instead of SIGALRM.
13996
ac51c949
RM
13997 * sysdeps/gnu/_G_config.h: Moved to ...
13998 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13999 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14000 * sysdeps/generic/_G_config.h: ... here.
14001
28c195f7
RM
14002 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14003
848917f9
RM
14004 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14005
6bacf05b
RM
14006 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14007 Conditionalize target on [libnss_test1.so-version].
14008
91363dbb
RM
14009 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
14010
cc87f7d8
RM
14011 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
14012 (elfobjdir): Move out of conditionals.
14013
b1c608fe
RM
14014 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
14015 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
14016 (__nss_lookup_function): Conditionalize label remove_from_tree on
14017 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 14018
1d9a6d96
DM
140192012-09-28 David S. Miller <davem@davemloft.net>
14020
14021 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
14022 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
14023 file.
14024 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14025 sysdep_routines.
14026 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
14028 when HWCAP_SPARC_CRYPTO is present.
14029
72581615
PT
140302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14031
14032 * io/tst-mknodat.c: Create a FIFO instead of a socket.
14033
715a900c
JL
140342012-09-28 Andreas Schwab <schwab@linux-m68k.org>
14035
14036 [BZ #6530]
14037 * stdio-common/vfprintf.c (process_string_arg): Revert
14038 2000-07-22 change.
14039
140402011-09-28 Jonathan Nieder <jrnieder@gmail.com>
14041
14042 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
14043 for testcase.
14044 * stdio-common/tst-sprintf.c: Include <locale.h>
14045 (main): Test sprintf's handling of incomplete multibyte
14046 characters.
14047
9bac1d86
L
140482012-09-28 H.J. Lu <hongjiu.lu@intel.com>
14049
14050 * elf/dl-runtime.c (VERSYMIDX): Removed.
14051 * elf/dl-version.c (VERSYMIDX): Likewise.
14052 * elf/do-rel.h (VERSYMIDX): Likewise.
14053 (VALIDX): Likewise.
14054 * elf/dynamic-link.h (VERSYMIDX): Likewise.
14055 * elf/rtld.c (VALIDX): Likewise.
14056 (ADDRIDX): Likewise.
9bac1d86
L
14057 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
14058 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14059 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
14060 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14061 (VALIDX): Likewise.
14062 (ADDRIDX): Likewise.
9bac1d86 14063
b31606c0
PT
140642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14065
14066 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14067
11541177
JL
140682012-09-28 Dmitry V. Levin <ldv@altlinux.org>
14069
14070 [BZ #11438]
14071 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14072 to global scope.
14073 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14074 addresses are in the same scope as 192.0.2/24.
14075 * posix/gai.conf: Document new scope table defaults.
14076
adb26fae
SP
140772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14078
14079 [BZ #5298]
14080 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14081 for ftell. Compute offsets from write pointers instead.
14082 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14083
4573c6b0
SP
140842012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14085
14086 [BZ #14543]
14087 * libio/Makefile (tests): New test case tst-fseek.
14088 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14089 combination works in wide mode.
14090 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14091 state when the external buffer state changes.
14092
aa9bbfe6
DM
140932012-09-27 David S. Miller <davem@davemloft.net>
14094
14095 [BZ #14376]
14096 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14097 pass reloc->r_addend in as the 'high' argument to
14098 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14099
784421e7
DM
14100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14101
c39bc8b8
PT
141022012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14103
14104 * rt/tst-aio2.c: Include <pthread.h>.
14105 * rt/tst-aio3.c: Likewise.
14106
1ccc2399
SE
141072012-09-27 Steve Ellcey <sellcey@mips.com>
14108
14109 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14110
31ed4153
L
141112012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14112
25f5f885
L
14113 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14114 contents on [SHARED].
31ed4153 14115
b7bfe116
MP
141162012-09-26 Marek Polacek <polacek@redhat.com>
14117
14118 [BZ #14530]
14119 [BZ #13741]
14120 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14121 for C++ and GCC <4.3 as well as for non GCC compilers.
14122
43c4edba
MT
141232012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14124
14125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14126
6a1bf82f
RM
141272012-09-25 Roland McGrath <roland@hack.frob.com>
14128
14129 * Makefile.in (all, install): Declare with .PHONY.
14130 Reported by Michael Hope <michael.hope@linaro.org>.
14131
8ad11b9a
TMQMF
141322012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14133
14134 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14135 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14136 system header.
14137 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14138 Likewise.
14139 (sydep_routines): Add the new and the internal functions.
14140 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14141 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14143 (GLIBC_2.17): Add the new function.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14145 (GLIBC_2.17): Likewise.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14147 (GLIBC_2.17): Likewise.
14148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14149 (GLIBC_2.17): Likewise.
14150 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14151
7e2fca8d
AM
141522012-09-25 Alan Modra <amodra@gmail.com>
14153
14154 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14155 Add release barrier before setting once_control to say
14156 initialisation is done. Add hints on lwarx. Use macro in
14157 place of isync.
14158 (clear_once_control): Add release barrier.
14159
b87c4b24
JM
141602012-09-25 Joseph Myers <joseph@codesourcery.com>
14161
d032e0d2
JM
14162 [BZ #13629]
14163 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14164 specially.
14165 * math/s_clog10.c (__clog10): Likewise.
14166 * math/s_clog10f.c (__clog10f): Likewise.
14167 * math/s_clog10l.c (__clog10l): Likewise.
14168 * math/s_clogf.c (__clogf): Likewise.
14169 * math/s_clogl.c (__clogl): Likewise.
14170 * math/Makefile (libm-calls): Add x2y2m1.
14171 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14172 (__x2y2m1): Likewise.
14173 (__x2y2m1l): Likewise.
14174 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14175 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14178 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14179 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14180 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14181 * sysdeps/i386/fpu/libm-test-ulps: Update.
14182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14183
b87c4b24
JM
14184 [BZ #14621]
14185 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14186 int as type of variable DEPTH.
14187 (glob): Use size_t instead of int as type of variables NEWCOUNT
14188 and OLD_PATHC.
14189
6d3bf199
LD
141902012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14191
22bf5c17
LD
14192 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14193 Add s_sincosf-sse2.
14194 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14195 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14196 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14197 macros for using routine as __sincosf_ia32.
14198 Use macro for function declaration and weak_alias.
14199 * sysdeps/i386/fpu/libm-test-ulps: Update.
14200
14201 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14203
14204 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14205 subnormal argument.
14206 * math/s_cexpf.c (__cexpf): Likewise.
14207 * math/s_csinf.c (__csinf): Likewise.
14208 * math/s_csinhf.c (__csinhf): Likewise.
14209 * math/s_ctanf.c (__ctanf): Likewise.
14210 * math/s_ctanhf.c (__ctanhf): Likewise.
14211 * math/s_ccosh.c (__ccoshf): Likewise.
14212 * math/s_cexp.c (__cexpl): Likewise.
14213 * math/s_csin.c (__csin): Likewise.
14214 * math/s_csinh.c (__csinh): Likewise.
14215 * math/s_ctan.c (__ctan): Likewise.
14216 * math/s_ctanh.c (ctanh): Likewise.
14217 * math/s_ccoshl.c (__ccoshl): Likewise.
14218 * math/s_cexpl.c (__cexpl): Likewise.
14219 * math/s_csinl.c (__csinl): Likewise.
14220 * math/s_csinhl.c (__csinhl): Likewise.
14221 * math/s_ctanl.c (__ctanl): Likewise.
14222 * math/s_ctanhl.c (__ctanhl): Likewise.
14223
203e5603
JM
142242012-09-25 Joseph Myers <joseph@codesourcery.com>
14225
14226 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14227 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14228 (_IO_off_t): Define to __off_t, not _G_off_t.
14229 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14230 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14231 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14232 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14233 type of __dummy and __dummy2 fields.
14234 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14235 (_G_ssize_t): Likewise.
14236 (_G_off_t): Likewise.
14237 (_G_pid_t): Likewise.
14238 (_G_uid_t): Likewise.
14239 (_G_wchar_t): Likewise.
14240 (_G_wint_t): Likewise.
14241 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14242 (_G_ssize_t): Likewise.
14243 (_G_off_t): Likewise.
14244 (_G_pid_t): Likewise.
14245 (_G_uid_t): Likewise.
14246 (_G_wchar_t): Likewise.
14247 (_G_wint_t): Likewise.
14248 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14249 (_G_ssize_t): Likewise.
14250 (_G_off_t): Likewise.
14251 (_G_pid_t): Likewise.
14252 (_G_uid_t): Likewise.
14253 (_G_wchar_t): Likewise.
14254 (_G_wint_t): Likewise.
14255
9fab36eb
SP
142562012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14257
14258 * malloc/arena.c: Include malloc-sysdep.h.
14259 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14260 is sufficient to shrink the heap or an unmap is needed.
14261 * sysdeps/generic/malloc-sysdep.h: New file. Define
14262 new function check_may_shrink_heap.
14263 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14264 new function check_may_shrink_heap.
14265
2b4f00d1
SP
142662012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14267
14268 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14269 comments.
14270
9a9028b1
DL
142712012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14272
57c69bef
DL
14273 * catgets/test-gencat.sh: Add "set -e".
14274 * elf/tst-pathopt.sh: Likewise.
14275 * grp/tst_fgetgrent.sh: Likewise.
14276 * iconvdata/run-iconv-test.sh: Likewise.
14277 * intl/tst-gettext.sh: Likewise.
14278 * intl/tst-gettext2.sh: Likewise.
14279 * intl/tst-gettext4.sh: Likewise.
14280 * intl/tst-gettext6.sh: Likewise.
14281 * intl/tst-translit.sh: Likewise.
14282 * io/ftwtest-sh: Likewise.
14283 * libio/test-freopen.sh: Likewise.
14284 * malloc/tst-mtrace.sh: Likewise.
14285 * posix/globtest.sh: Likewise.
14286 * posix/tst-getconf.sh: Likewise.
14287 * posix/wordexp-tst.sh: Likewise.
14288 * stdio-common/tst-printf.sh: Likewise.
14289 * stdio-common/tst-unbputc.sh: Likewise.
14290 * stdlib/tst-fmtmsg.sh: Likewise.
14291 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14292 * catgets/Makefile: Do not specify -e option when running
14293 testsuite shell scripts.
14294 * elf/Makefile: Likewise.
14295 * grp/Makefile: Likewise.
14296 * iconvdata/Makefile: Likewise.
14297 * intl/Makefile: Likewise.
14298 * io/Makefile: Likewise.
14299 * libio/Makefile: Likewise.
14300 * malloc/Makefile: Likewise.
14301 * posix/Makefile: Likewise.
14302 * stdio-common/Makefile: Likewise.
14303 * stdlib/Makefile: Likewise.
14304 * sysdeps/x86_64/Makefile: Likewise.
14305
9a9028b1
DL
14306 * io/ftwtest-sh: Add copyright header.
14307 * posix/globtest.sh: Likewise.
14308 * posix/tst-getconf.sh: Likewise.
14309 * posix/wordexp-tst.sh: Likewise.
14310 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14311
ced6f16e
L
143122012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14313
94b32c39
L
14314 [BZ #13679]
14315 * Makeconfig (+link): Defined as $(+link-static) if
14316 $(build-shared) isn't yes.
14317 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14318 isn't yes.
14319 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14320
189e935b
L
14321 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14322
ced6f16e
L
14323 [BZ #14562]
14324 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14325 new chunk size with MALLOC_ALIGN_MASK.
14326
a9f8e53a
JM
143272012-09-24 Joseph Myers <joseph@codesourcery.com>
14328
14329 [BZ #5044]
14330 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14331 <rounding-mode.h>.
14332 (__printf_fphex): Determine rounding using get_rounding_mode and
14333 round_away.
14334 * stdio-common/tst-printf-round.c (struct hex_test): New
14335 structure.
14336 (hex_tests): New variable.
14337 (test_hex_in_one_mode): New function.
14338 (do_test): Also run tests for hex float output.
14339
43153109
JM
143402012-09-21 Joseph Myers <joseph@codesourcery.com>
14341
14342 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14343 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14344 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14345 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14346 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14347 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14348 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14349 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14350
8a26625d
JM
143512012-09-20 Joseph Myers <joseph@codesourcery.com>
14352
14353 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14354 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14355 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14356 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14357
f3fd569c
DL
143582012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14359
14360 [BZ #14579]
14361 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14362 mode only.
14363 * elf/tst-rtld-load-self.sh: New test.
14364 * elf/Makefile: Run it.
14365
63bbedd4
JM
143662012-09-18 Joseph Myers <joseph@codesourcery.com>
14367
14368 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14369 (tst-writev-ENV): Remove.
14370 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14371
626f8b6a
CM
143722012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14373
14374 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14375
b7aaa4d6
JM
143762012-09-17 Joseph Myers <joseph@codesourcery.com>
14377
14378 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14379 unconditional.
14380 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14381 Likewise.
14382 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14383 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14384 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14385 Likewise.
14386
65513990
L
143872012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14388
14389 [BZ #14587]
14390 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14391 * config.make.in (have-cpp-asm-debuginfo): Removed.
14392 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14393 * configure: Regenerated.
14394
784761be
JM
143952012-09-14 Joseph Myers <joseph@codesourcery.com>
14396
14397 [BZ #5044]
14398 * stdio-common/printf_fp.c: Include <stdbool.h> and
14399 <rounding-mode.h>.
14400 (___printf_fp): Determine rounding using get_rounding_mode and
14401 round_away.
14402 * stdio-common/tst-printf-round.c: New file.
14403 * stdio-common/Makefile (tests): Add tst-printf-round.
14404 (link-libm): New variable.
14405 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14406
9503345f
L
144072012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14408
14409 [BZ #14576]
14410 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14411 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14412 Likewise.
14413 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14414 Likewise.
14415
ad35fc00
JM
144162012-09-13 Joseph Myers <joseph@codesourcery.com>
14417
14418 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14419 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14420 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14421 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14422
6c9b0f68
JM
144232012-09-12 Joseph Myers <joseph@codesourcery.com>
14424
14425 [BZ #14518]
14426 * include/rounding-mode.h: New file.
14427 * sysdeps/generic/get-rounding-mode.h: Likewise.
14428 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14429 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14430 (MAX_VALUE): New macro.
14431 (MIN_VALUE): Likewise.
14432 (overflow_value): New function.
14433 (underflow_value): Likewise.
14434 (round_and_return): Use overflow_value and underflow_value to
14435 determine return values in overflow and underflow cases. Use
14436 round_away to determine rounding depending on rounding mode.
14437 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14438 determine return values in overflow and underflow cases.
14439 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14440 (struct test_results): New structure.
14441 (struct test): Use struct test_results to store expected results
14442 for all rounding modes.
14443 (TEST): Include expected results for all rounding modes.
14444 (test_in_one_mode): New function.
14445 (do_test): Use test_in_one_mode to compute and check results.
14446 Check results for all rounding modes.
14447 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14448 $(link-libm).
14449
19fcedd5
AM
144502012-12-09 Allan McRae <allan@archlinux.org>
14451
1e9d84cd 14452 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14453
8bbfd2f1
JM
144542012-09-11 Joseph Myers <joseph@codesourcery.com>
14455
14456 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14457 (_G_int32_t): Likewise.
14458 (_G_uint16_t): Likewise.
14459 (_G_uint32_t): Likewise.
14460 (_G_HAVE_BOOL): Likewise.
14461 (_G_HAVE_ATEXIT): Likewise.
14462 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14463 (_G_HAVE_IO_FILE_OPEN): Likewise.
14464 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14465 (_G_int32_t): Likewise.
14466 (_G_uint16_t): Likewise.
14467 (_G_uint32_t): Likewise.
14468 (_G_HAVE_BOOL): Likewise.
14469 (_G_HAVE_ATEXIT): Likewise.
14470 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14471 (_G_HAVE_IO_FILE_OPEN): Likewise.
14472 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14473 (_G_int32_t): Likewise.
14474 (_G_uint16_t): Likewise.
14475 (_G_uint32_t): Likewise.
14476 (_G_HAVE_BOOL): Likewise.
14477 (_G_HAVE_ATEXIT): Likewise.
14478 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14479 (_G_HAVE_IO_FILE_OPEN): Likewise.
14480
b1dc5912
L
144812012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14482
14483 * csu/libc-tls.c: Update copyright years.
14484
0e886ef9
JM
144852012-09-10 Joseph Myers <joseph@codesourcery.com>
14486
28361c5e
JM
14487 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14488 [!_G_USING_THUNKS]: Remove conditional code.
14489 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14490 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14491
0e886ef9
JM
14492 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14493 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14494 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14495 (_G_VTABLE_LABEL_PREFIX): Likewise.
14496 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14497 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14498 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14499 (_G_VTABLE_LABEL_PREFIX): Likewise.
14500 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14501 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14502 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14503 (_G_VTABLE_LABEL_PREFIX): Likewise.
14504 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14505
bcba7aa2
L
145062012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14507
14508 * libio/Makefile: Include ../Makeconfig before tests.
14509 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14510 only if $(build-shared) is yes.
14511
06585ee8
L
14512 * iconv/gconv_db.c: Update copyright years.
14513
80ccd52c
LD
145142012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14515
14516 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14517 unwind info if defined PIC. Fix special cases description.
14518 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14519
14520 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14521 DP_HI_MASK entry.
14522 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14523
691bc9c1
L
145242012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14525
3d9b46b3
L
14526 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14527
de2139a9
L
14528 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14529 is NULL.
14530
5ca78dd0
L
14531 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14532 (LDLIBS-tst-chk4): This.
14533 (LDFLAGS-tst-chk5): Renamed to ...
14534 (LDLIBS-tst-chk5): This.
14535 (LDFLAGS-tst-chk6): Renamed to ...
14536 (LDLIBS-tst-chk6): This.
14537 (LDFLAGS-tst-lfschk4): Renamed to ...
14538 (LDLIBS-tst-lfschk4): This.
14539 (LDFLAGS-tst-lfschk5): Renamed to ...
14540 (LDLIBS-tst-lfschk5): This.
14541 (LDFLAGS-tst-lfschk6): Renamed to ...
14542 (LDLIBS-tst-lfschk6): This.
14543
691bc9c1
L
14544 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14545 on $(common-objpfx)soversions.mk.
14546
65cafb1c
JM
145472012-09-07 Joseph Myers <joseph@codesourcery.com>
14548
14549 [BZ #10014]
14550 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14551 example host name.
14552
c78ab094
SP
145532012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14554
14555 * malloc/arena.c (arena_get_retry): New function that gets
14556 another arena for the caller to try its request on.
14557 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14558 current arena cannot fulfill the request.
14559 (__libc_memalign): Likewise.
14560 (__libc_memalign): Likewise.
14561 (__libc_pvalloc): Likewise.
14562 (__libc_calloc): Likewise.
14563
01f49f59
JT
145642012-09-05 John Tobey <john.tobey@gmail.com>
14565
14566 [BZ #13542]
14567 * manual/arith.texi (Operations on Complex): Fix description
14568 of carg branch cut.
14569
4c23fed5
JM
145702012-09-06 Joseph Myers <joseph@codesourcery.com>
14571
1d3c8572
JM
14572 [BZ #10014]
14573 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14574 host name.
14575
4c23fed5
JM
14576 [BZ #10038]
14577 * manual/memory.texi (Memory): Make order of menu items match
14578 order of sections.
14579
04570aaa
L
145802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14581
14582 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14583 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14584 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14585
b80af2f4
L
145862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14587
14588 * csu/libc-tls.c (static_dtv): Renamed to ...
14589 (_dl_static_dtv): This. Make it global.
14590 (_dl_initial_dtv): Removed.
14591 (__libc_setup_tls): Updated.
14592 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14593 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14594 DL_INITIAL_DTV.
14595
2abe9f15
PM
145962012-09-06 Petr Machata <pmachata@redhat.com>
14597
14598 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14599 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14600 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14601 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14602
0948c3af
L
146032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14604
14605 [BZ #14545]
14606 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14607 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14608 freeing dtv[-1].
14609
a5055ad1
L
146102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14611
14612 [BZ #14544]
14613 * Makeconfig (link-static-before-libc): Replace $(+prector)
14614 with $(+prectorT).
14615 (link-static-after-libc): Replace $(+postctor) with
14616 $(+postctorT).
14617 (link-bounded): Replace $(+prector)/$(+postctor) with
14618 $(+prectorT)/$(+postctorT).
14619 (+prectorT): New macro.
14620 (+postctorT): Likewise.
14621
ed8c2ecd
JM
146222012-09-06 Joseph Myers <joseph@codesourcery.com>
14623
14624 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14625 (round_str): Handle values above the maximum for IBM long double
14626 as inexact.
14627 * stdlib/tst-strtod-round.c (tests): Regenerated.
14628
14c996c8
AK
146292012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14630
14631 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14632 assembler flag.
14633 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14634 zarch_nohighgprs around the zarch optimized routines.
14635 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14636 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14637 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14638 for zarch.
14639
430d6ce6
DM
146402012-09-05 David S. Miller <davem@davemloft.net>
14641
14642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14643
ff04dda4
DM
14644 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14645 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14646 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14647 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14648 entries.
14649
24d4e01b
AO
146502012-09-05 Alexandre Oliva <aoliva@redhat.com>
14651
14652 * malloc/arena.c: Fold copyright years.
14653 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14654
61d58174
AO
146552012-09-05 Alexandre Oliva <aoliva@redhat.com>
14656
14657 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14658
20196a5e
AO
146592012-09-05 Alexandre Oliva <aoliva@redhat.com>
14660
14661 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14662
5c447383
AO
146632012-09-05 Alexandre Oliva <aoliva@redhat.com>
14664
14665 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14666 change internal state upon failure.
14667
fad64255
AO
146682012-09-05 Alexandre Oliva <aoliva@redhat.com>
14669
14670 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14671 * malloc/memusage.c (mmap): Likewise.
14672 (mmap64, mremap): Likewise. Adjust name in comment.
14673
1ffb8c90
SP
146742012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14675
14676 * libio/fileops.c: Fix typos in comments.
14677 * libio/oldfileops.c: Likewise.
14678 * libio/wfileops.c: Likewise.
14679
6ef9cc37
SP
146802012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14681
14682 [BZ #1349]
14683 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14684 (tst-malloc-usable-ENV): Set environment for test case.
14685 * malloc/hooks.c (malloc_check_get_size): New function to get
14686 requested size.
14687 * malloc/malloc.c (musable): Use malloc_check_get_size.
14688 * malloc/tst-malloc-usable.c: New test case.
14689
4d038ae3
AS
146902012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14691
14692 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14693
c4e85184
AM
146942012-09-05 Allan McRae <allan@archlinux.org>
14695
b9dafc56 14696 [BZ #13966]
c4e85184
AM
14697 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14698 determine header location.
14699 * configure: Regenerated.
14700
e1343020
AS
147012012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14702
14703 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14704 float format.
14705 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14706 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14707 format.
e1343020
AS
14708 (test): Regenerate.
14709
0a9f1987
DM
147102012-09-04 David S. Miller <davem@davemloft.net>
14711
14712 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14713 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14714 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14715
29237804
FW
147162012-09-04 Florian Weimer <fweimer@redhat.com>
14717
14718 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14719 failures.
14720
edb3cb88
FW
14721 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14722
60160d83
JM
147232012-09-04 Joseph Myers <joseph@codesourcery.com>
14724
14725 [BZ #9914]
14726 * libio/iogetdelim.c: Include <limits.h>.
14727 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14728 + len + 1 would overflow.
14729
bcd6c8dc
AJ
147302012-09-03 Andreas Jaeger <aj@suse.de>
14731
14732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14733 * sysdeps/i386/fpu/libm-test-ulps: Update.
14734
4ffffbd2
LD
147352012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14736
14737 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14738 Add s_sinf-sse2, s_conf-sse2.
14739
14740 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14741 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14742 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14743 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14744
14745 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14746 for using routine as __sinf_ia32.
14747 Use macro for function declaration and weak_alias.
14748 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14749 for using routine as __cosf_ia32.
14750 Use macro for function declaration and weak_alias.
14751
14752 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14753 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14754
14755 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14756 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14758
14759 * math/libm-test.inc (cos_test): Add more test cases.
14760 (sin_test): Likewise.
14761 (sincos_test): Likewise.
14762
511fa286
AK
147632012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14764
14765 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14766 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14767 hidden.
14768 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14769
5f30cfec
L
147702012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14771
14772 [BZ #14538]
14773 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14774 first element of the GOT.
14775 (elf_machine_load_address): Return the difference between
14776 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14777
0786794f
AM
147782012-09-01 Allan McRae <allan@archlinux.org>
14779
5f30cfec
L
14780 [BZ #13412]
14781 * configure.in (AWK): Require gawk version 3.0 or later.
14782 * configure: Regenerated.
0786794f 14783
26889eac
JM
147842012-09-01 Joseph Myers <joseph@codesourcery.com>
14785
14786 * sysdeps/unix/sysv/linux/kernel-features.h
14787 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14788 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14789 [__NR_clock_getres]: Make code unconditional.
14790 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14791 (clock_getcpuclockid): Remove code left unreachable by removal of
14792 conditionals.
14793 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14794 code unconditional.
14795 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14796 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14797 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14798 Make code unconditional.
14799 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14800 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14801 * sysdeps/unix/sysv/linux/clock_settime.c
14802 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14803 conditional code.
14804 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14805 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14806
d22e28b0
L
148072012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14808
14809 [BZ #14476]
14810 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14811 scripts/test-installation.pl.
14812
14813 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14814 and $ld_so_version if it is set.
14815
050af9c4
SP
148162012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14817
14818 [BZ #14516]
14819 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14820 failure if reading from procfs failed.
14821 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14822
ad845c0b
JM
148232012-08-27 Joseph Myers <joseph@codesourcery.com>
14824
14825 * sysdeps/unix/sysv/linux/kernel-features.h
14826 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14827 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14828 Remove conditional code.
14829 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14830 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14831 Remove conditional code.
14832 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14833 * sysdeps/unix/sysv/linux/i386/fxstat.c
14834 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14835 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14836 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14837 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14838 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14839 * sysdeps/unix/sysv/linux/i386/lxstat.c
14840 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14841 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14842 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14843 Remove conditional code.
14844 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14845 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14846 Remove conditional code.
14847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14848 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14849 <kernel-features.h>.
14850 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14851 Remove.
14852 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14853 Remove conditional code.
14854 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14855 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14856 Remove conditional.
14857
5dbf56af
MF
148582012-08-27 Mike Frysinger <vapier@gentoo.org>
14859
14860 [BZ #5400]
14861 * NEWS: Add fixed bug number.
14862
d6e70f43
JM
148632012-08-27 Joseph Myers <joseph@codesourcery.com>
14864
7efb4737
JM
14865 [BZ #14519]
14866 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14867 underflowing exponent in case of negative sign.
14868 * stdlib/tst-strtod-round-data: Add more tests.
14869 * stdlib/tst-strtod-round.c (tests): Regenerated.
14870
af92131a
JM
14871 [BZ #3479]
14872 * stdlib/strtod_l.c (NDIG): Remove.
14873 (HEXNDIG): Likewise.
14874 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14875 smallest representable value.
14876 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14877 lie within an exact representation of 1/2 ulp of the result.
14878 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14879 unconditionally.
14880 (TENS_P9_IDX): Define unconditionally.
14881 (TENS_P9_SIZE): Likewise.
14882 (TENS_P10_IDX): Likewise.
14883 (TENS_P10_SIZE): Likewise.
14884 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14885 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14886 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14887 entries for 10^2^13 and 10^2^14.
14888 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14889 (TENS_P13_IDX): Define.
14890 (TENS_P13_SIZE): Likewise.
14891 (TENS_P14_IDX): Likewise.
14892 (TENS_P14_SIZE): Likewise.
14893 (_fpioconst_pow10): Change array size to
14894 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14895 unconditional.
14896 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14897 1024]: Add entries for 10^2^13 and 10^2^14.
14898 [LAST_POW10 > _LAST_POW10]: Remove #error.
14899 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14900 (_fpioconst_pow10): Change array size to
14901 FPIOCONST_POW10_ARRAY_SIZE.
14902 * stdlib/gen-fpioconst.c: New file.
14903 * stdlib/gen-tst-strtod-round.c: Likewise.
14904 * stdlib/tst-strtod-round-data: Likewise.
14905 * stdlib/tst-strtod-round.c: Likewise.
14906 * stdlib/Makefile (tests): Add tst-strtod-round.
14907
d6e70f43
JM
14908 [BZ #14459]
14909 * stdlib/strtod_l.c: Include <stdint.h>.
14910 (NDEBUG): Do not define.
14911 (round_and_return): Change EXPONENT parameter to type intmax_t.
14912 Rearrange calculations to avoid internal overflow possibilities.
14913 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14914 Rearrange calculations to avoid internal overflow possibilities.
14915 Assert that number fits inside MPNSIZE limbs.
14916 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14917 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14918 calculations and add assertions to avoid internal overflow
14919 possibilities. Add casts to avoid signed/unsigned operations.
14920 * stdlib/tst-strtod-overflow.c: New file.
14921 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14922
1f529f7d
MP
149232012-08-25 Marek Polacek <polacek@redhat.com>
14924
14925 * time/time.h: Fix some typos in comments.
14926
59a629f1
RM
149272012-08-23 Roland McGrath <roland@hack.frob.com>
14928
14929 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14930 * posix/tst-rfc3484-2.c: Likewise.
14931 * posix/tst-rfc3484-3.c: Likewise.
14932
d3bafbc9
SM
149332012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14934
14935 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14936 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14937
4efcc022
JM
149382012-08-23 Joseph Myers <joseph@codesourcery.com>
14939
14940 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14941 #include of fxstatat64.c.
14942
3cc3ef96
RM
149432012-08-22 Roland McGrath <roland@hack.frob.com>
14944
f04e2132
RM
14945 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14946 * shadow/getspent_r.c: Likewise.
14947 * shadow/getspnam.c: Likewise.
14948 * shadow/getspnam_r.c: Likewise.
14949 * gshadow/getsgent.c: Likewise.
14950 * gshadow/getsgent_r.c: Likewise.
14951 * gshadow/getsgnam.c: Likewise.
14952 * gshadow/getsgnam_r.c: Likewise.
14953 * inet/getnetbyad.c: Likewise.
14954 * inet/getnetbyad_r.c: Likewise.
14955 * inet/getnetbynm.c: Likewise.
14956 * inet/getnetbynm_r.c: Likewise.
14957 * inet/getnetent.c: Likewise.
14958 * inet/getnetent_r.c: Likewise.
14959 * inet/getproto.c: Likewise.
14960 * inet/getproto_r.c: Likewise.
14961 * inet/getprtent.c: Likewise.
14962 * inet/getprtent_r.c: Likewise.
14963 * inet/getprtname.c: Likewise.
14964 * inet/getprtname_r.c: Likewise.
14965 * inet/getrpcbyname.c: Likewise.
14966 * inet/getrpcbyname_r.c: Likewise.
14967 * inet/getrpcbynumber.c: Likewise.
14968 * inet/getrpcbynumber_r.c: Likewise.
14969 * inet/getrpcent.c: Likewise.
14970 * inet/getrpcent_r.c: Likewise.
14971 * inet/getaliasent.c: Likewise.
14972 * inet/getaliasent_r.c: Likewise.
14973 * inet/getaliasname.c: Likewise.
14974 * inet/getaliasname_r.c: Likewise.
14975 * nscd/getgrgid_r.c: Likewise.
14976 * nscd/getgrnam_r.c: Likewise.
14977 * nscd/gethstbyad_r.c: Likewise.
14978 * nscd/gethstbynm3_r.c: Likewise.
14979 * nscd/getpwnam_r.c: Likewise.
14980 * nscd/getpwuid_r.c: Likewise.
14981 * nscd/getsrvbynm_r.c: Likewise.
14982 * nscd/getsrvbypt_r.c: Likewise.
14983 * nscd/gai.c: Likewise.
14984
c53d909c
RM
14985 * configure.in (build_nscd): New substituted variable, set
14986 by --disable-build-nscd and defaults to $use_nscd.
14987 * configure: Regenerated.
14988 * config.make.in (build-nscd): New substituted variable.
14989 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14990 Change conditional to require [$(build-nscd) = yes] as well.
14991 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14992
3cc3ef96
RM
14993 [BZ# 13696]
14994 * configure.in (use_nscd): New substituted variable, set by
14995 --disable-nscd. If enabled, define USE_NSCD.
14996 * configure: Regenerated.
14997 * config.h.in: Add USE_NSCD.
14998 * config.make.in (use-nscd): New substituted variable.
14999 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15000 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15001 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15002 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15003 (CFLAGS-getgrnam_r.c): Likewise.
15004 (CFLAGS-initgroups.c): Likewise.
15005 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15006 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15007 Variables removed.
15008 * inet/getnetgrent_r.c
15009 (nscd_setnetgrent): New function, broken out of ...
15010 (setnetgrent): ... here. Call it.
15011 (innetgr): Conditionalize nscd bits on [USE_NSCD].
15012 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
15013 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
15014 * nscd/Makefile (routines, aux): Move definitions after include of
15015 Makeconfig. Conditionalize on [$(use-nscd) != no].
15016 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
15017 Conditionalize on [USE_NSCD].
15018 (is_nscd, nscd_init_cb): Likewise.
15019 (nss_load_library): Conditionalize init callback on [USE_NSCD].
15020 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
15021 * nss/nss_db/db-init.c: Likewise.
15022 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
15023 [USE_NSCD].
15024 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
15025 (make_request): Use it.
15026 (cache_valid_p): New function.
15027 (__check_pf): Use it.
15028 * NEWS: Add item for --disable-nscd.
15029
07e51550
DL
150302012-08-22 Dmitry V. Levin <ldv@altlinux.org>
15031
15032 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
15033 to support sed >= 4.2.1-20-ga9bf076.
15034 * configure: Regenerated.
15035
35a5b08b
RM
150362012-08-22 Roland McGrath <roland@hack.frob.com>
15037
15038 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
15039 Conditionalize whole body on [IREL].
15040
8479f23a
JL
150412012-08-22 Jeff Law <law@redhat.com>
15042
15043 [BZ #14505]
15044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
15045 if the family is PF_UNSPEC.
15046
48da0b21
MF
150472012-08-22 Mike Frysinger <vapier@gentoo.org>
15048
15049 * Makerules (lib-version): Rename from V.
15050 (install-lib-nosubdir): Change V to lib-version.
15051
15d0da8c
WS
150522012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
15053
15054 [BZ #14252]
15055 * powerpc32/power6/wcschr.c: New file.
15056 * powerpc32/power6/wcscpy.c: New file.
15057 * powerpc32/power6/wcsrchr.c: New file.
15058 * powerpc64/power6/wcschr.c: New file.
15059 * powerpc64/power6/wcscpy.c: New file.
15060 * powerpc64/power6/wcsrchr.c: New file.
15061
bcca0895
MK
150622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15063
15064 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15065 (two_way_short_needle): Use it.
5a4aaa33
RM
15066 * string/strstr.c (AVAILABLE1_USES_J): Define.
15067 * string/strcasestr.c: Likewise.
99677e57
MK
15068
15069 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15070 array references.
15071 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15072
400726de
MK
15073 [BZ #11607]
15074 * NEWS: Add an entry.
15075 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15076 define their defaults.
15077 (two_way_short_needle): Detect end-of-string on-the-fly.
15078 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15079 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15080 * string/bug-strcasestr1.c: New test.
15081 * string/Makefile: Run it.
15082
20a71f2c
MK
150832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15084
15085 [BZ #11607]
15086 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15087 the first character.
15088
21ad0558
RM
150892012-08-21 Roland McGrath <roland@hack.frob.com>
15090
15091 * csu/elf-init.c (__libc_csu_irel): Function removed.
15092 * csu/libc-start.c (apply_irel): New function.
15093 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15094
0e1d9911
JM
150952012-08-21 Joseph Myers <joseph@codesourcery.com>
15096
15097 * sysdeps/unix/sysv/linux/kernel-features.h
15098 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15099 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15100 <kernel-features.h>.
15101 [__NR_fadvise64_64]: Make code unconditional.
15102 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15103 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15104 !__NR_fadvise64_64)]: Likewise.
15105 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15106 !__NR_fadvise64_64))]: Likewise.
15107 [__NR_fadvise64]: Make code unconditional.
15108 [!__NR_fadvise64]: Remove conditional code.
15109 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15110 <kernel-features.h>.
15111 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15112 unconditional.
15113 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15114 conditional code.
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15116 not include <kernel-features.h>.
15117 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15118 unconditional.
15119 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15120 conditional code.
15121 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15122 include <kernel-features.h>.
15123 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15124 unconditional.
15125 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15126 conditional code.
15127
14a50c9d
WS
151282012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15129
15130 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15131 slight instruction rearrangements per scrollpipe analysis.
15132 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15133
c0f4faf0
RM
151342012-08-20 Roland McGrath <roland@hack.frob.com>
15135
696da859
RM
15136 * manual/syslog.texi (syslog; vsyslog, closelog):
15137 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15138 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15139
c0f4faf0
RM
15140 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15141 DSOCAPS to match condition on defining it.
15142
348363b2
JM
151432012-08-20 Joseph Myers <joseph@codesourcery.com>
15144
a35cbf28
JM
15145 * sysdeps/unix/sysv/linux/kernel-features.h
15146 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15148 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15149 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15151 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15152 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15154 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15155 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15156
445f7ecd
JM
15157 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15158 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15159
348363b2
JM
15160 * sysdeps/unix/sysv/linux/kernel-features.h
15161 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15162 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15163 unconditional.
15164 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15165 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15166 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15167 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15168 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15169 Make code unconditional.
15170 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15171 (__mmap64) [!__NR_mmap2]: Likewise.
15172 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15173 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15174 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15175 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15176 [__NR_mmap2]: Make code unconditional.
15177 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15178 (__mmap64) [!__NR_mmap2]: Likewise.
15179
bc5bc0e5
AK
151802012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15181
15182 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15183
88d506de
AJ
151842012-08-18 Andreas Jaeger <aj@suse.de>
15185
15186 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15187
493387d2
MF
151882012-08-18 Mike Frysinger <vapier@gentoo.org>
15189
15190 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15191 * include/unistd.h (__have_sock_cloexec): Likewise.
15192 (__have_pipe2): Likewise.
15193 (__have_dup3): Likewise.
15194
a277af22
MF
151952012-08-18 Mike Frysinger <vapier@gentoo.org>
15196
15197 [BZ #9685]
15198 * include/unistd.h (__have_pipe2): Change define into an extern int.
15199 (__have_dup3): Likewise.
15200 * socket/have_sock_cloexec.c: Include fcntl.h.
15201 (__have_pipe2): New variable.
15202 (__have_dup3): Likewise.
15203
fdab8fd3
MF
152042012-08-17 Mike Frysinger <vapier@gentoo.org>
15205
15206 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15207
31035e80
MP
152082012-08-17 Marek Polacek <polacek@redhat.com>
15209
15210 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15211 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15212
3bd9e993
RM
152132012-08-17 Roland McGrath <roland@hack.frob.com>
15214
c91c505f
RM
15215 * configure.in: Add AC_SUBST for sysheaders.
15216 * configure: Regenerated.
15217 * config.make.in (sysheaders): New substituted variable.
15218
7c6f9d53
RM
15219 * sysdeps/unix/mkfifo.c: Moved ...
15220 * sysdeps/posix/mkfifo.c: ... here.
15221 * sysdeps/unix/mkfifoat.c: Moved ...
15222 * sysdeps/posix/mkfifoat.c: ... here.
15223
15224 * sysdeps/unix/utime.c: Moved ...
15225 * sysdeps/posix/utime.c: ... here.
15226
15227 * sysdeps/unix/time.c: Moved ...
15228 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15229 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15230 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15231
15232 * sysdeps/unix/nice.c: Moved ...
15233 * sysdeps/posix/nice.c: ... here.
15234
15235 * sysdeps/unix/alarm.c: Moved ...
15236 * sysdeps/posix/alarm.c: ... here.
15237
3bd9e993
RM
15238 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15239
d1f09384
JL
152402012-08-17 Jeff Law <law@redhat.com>
15241
15242 * intl/Makefile (codeset_mo): New variable.
15243 ($(codeset_mo)): New target.
15244 (tst-codeset.out): Depend on that. Remove explicit rule.
15245 (tst-gettext3.out, tst-gettext5.out): Likewise.
15246 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15247 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15248 * intl/tst-codeset.sh: Remove.
15249 * intl/tst-gettext3.sh: Likewise.
15250 * intl/tst-gettext5.sh: Likewise.
15251
2ae1ae5c
RM
152522012-08-17 Roland McGrath <roland@hack.frob.com>
15253
c31fdb83
RM
15254 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15255 * sysdeps/unix/syscalls.list: ... here.
15256
a0844057
RM
15257 * sysdeps/posix/getaddrinfo.c
15258 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15259 (gaiconf_init, gaiconf_reload): Use them.
15260 [!_STATBUF_ST_NSEC]
15261 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15262 Define using time_t rather than struct timespec.
15263
750c1f2a
RM
15264 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15265 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15266 Macros removed.
15267 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15268 [!NO_THREADS].
15269 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15270 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15271 Likewise.
15272
2ae1ae5c
RM
15273 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15274 __libc_cleanup_push argument.
15275
e66a42f5
RM
15276 * bits/param.h: New file.
15277 * misc/sys/param.h: New file.
15278 * include/sys/param.h: New file.
15279 * misc/Makefile (headers): Add bits/param.h.
15280 * sysdeps/generic/sys/param.h: File removed.
15281 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15282 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15283 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15284 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15285
b7c08a66
RM
15286 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15287 last change.
15288
b2e1c562
RM
15289 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15290 [_IO_MTSAFE_IO].
15291 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15292 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15293 New macros.
15294
c75ccd4c
RM
15295 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15296 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15297 rather than -D_IO_MTSAFE_IO conditionally.
15298 * stdio-common/Makefile (CPPFLAGS): Likewise.
15299 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15300 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15301 Use $(libio-mtsafe).
15302 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15303 of -D_IO_MTSAFE_IO.
15304 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15305 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15306 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15307 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15308 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15309 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15310 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15311 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15312 (CFLAGS-fread_u_chk.c): Likewise.
15313 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15314 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15315 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15316 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15317 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15318 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15319 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15320 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15321 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15322
15323 * libio/Makefile: Test [$(libc-reentrant) = yes]
15324 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15325
15326 * Makeconfig
15327 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15328 * sysdeps/pthread/configure: File removed.
15329 * sysdeps/pthread/Makeconfig: New file.
15330 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15331 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15332
d9195db8
GB
153332012-08-16 Gary Benson <gbenson@redhat.com>
15334
15335 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15336 unmapping the first object in a namespace.
15337
86466cd9
RM
153382012-08-16 Roland McGrath <roland@hack.frob.com>
15339
15340 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15341 (__internal_setnetgrent): ... this. Add internal_function to
15342 definition. Add libc_hidden_def.
15343 (setnetgrent): Update caller.
15344 (internal_endnetgrent): Renamed to ...
15345 (__internal_endnetgrent): ... this. Add internal_function to
15346 definition. Add libc_hidden_def.
15347 (endnetgrent): Update caller.
15348 (internal_getnetgrent_r): Renamed to ...
15349 (__internal_getnetgrent_r): ... this. Add internal_function to
15350 definition. Add libc_hidden_def.
15351 (__getnetgrent_r): Update caller.
15352 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15353
c3c8283c
JM
153542012-08-16 Joseph Myers <joseph@codesourcery.com>
15355
15356 * stdlib/longlong.h: Update from GCC.
15357
db1ee0a8
RM
153582012-08-16 Roland McGrath <roland@hack.frob.com>
15359
15360 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15361 on _QL, which is set by umul_ppmm but never used.
15362 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15363 variables, which are set by GMP macros but never used.
15364 * stdio-common/_itowa.c (_itowa): Likewise.
15365 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15366 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15367
30f69637
CD
153682012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15369
15370 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15371 struct La_sh_regs is not constant.
15372 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15373 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15374 and struct La_sparc64_regs are not constant.
15375
93a78ac4
JM
153762012-08-16 Joseph Myers <joseph@codesourcery.com>
15377
15378 * sysdeps/unix/sysv/linux/kernel-features.h
15379 (__ASSUME_POSIX_TIMERS): Remove.
15380 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15381 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15382 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15383 Make code unconditional.
15384 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15385 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15386 Make code unconditional.
15387 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15388 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15389 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15390 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15391 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15392 Make code unconditional.
15393 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15394 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15395 (__libc_missing_posix_timers): Remove.
15396
dd924cd7
RM
153972012-08-15 Roland McGrath <roland@hack.frob.com>
15398
4b4f2771
RM
15399 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15400 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15401
601c888b
RM
15402 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15403
176790a7
RM
15404 * elf/dl-sym.c: Include <stdlib.h>.
15405
329bc018
RM
15406 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15407 constants, which avoids warnings in 32-bit builds.
15408
e04e272d
RM
15409 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15410 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15411
952bf94a
RM
15412 * misc/lseek.c: File moved to ...
15413 * io/lseek.c: ... here.
15414
7c99b50a
RM
15415 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15416
dd924cd7
RM
15417 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15418 shifting LEN more than 31 bits at once.
15419
b3f479a8
LD
154202012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15421
15422 [BZ #14195]
8c4ae0d4
RM
15423 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15424 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15425 * string/test-strncasecmp.c (check1): Renamed to...
15426 (bz12205): ...this.
15427 (bz14195): Add new testcase for two empty input strings and N > 0.
15428 (test_main): Call new testcase, adapt for renamed function.
15429
9c55864e
AJ
154302012-08-15 Andreas Jaeger <aj@suse.de>
15431
15432 [BZ #14090]
15433 * crypt/md5test2.c: New test, based on test supplied by Serge
15434 Belyshev <belyshev@depni.sinp.msu.ru>.
15435 * crypt/Makefile (xtests): Add md5test-giant..
15436 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15437
02dcb6c5
PE
154382012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15439
15440 [BZ #14090]
15441 * crypt/md5.c (md5_process_block): Don't assume the buffer
15442 length is less than 2**32.
15443 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15444 length is less than 2**64.
15445
a3f95dcc
RM
154462012-08-15 Roland McGrath <roland@hack.frob.com>
15447
be75d758
RM
15448 * string/str-two-way.h: Include <sys/param.h>.
15449 (MAX): Macro removed.
15450
7312ca90
RM
15451 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15452 Move #define and #undef of memmove to just before and after
15453 including <string.h>.
15454
9a0a5486
RM
15455 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15456 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15457 and after including <string.h>. Move declarations of
15458 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15459 to before #include "string/memmove.c".
15460
67cc348d
RM
15461 * include/dirent.h: Declare __getdirentries.
15462
a3f95dcc
RM
15463 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15464 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15465
ca98e171
MF
154662012-08-14 Mike Frysinger <vapier@gentoo.org>
15467
15468 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15469 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15470 * sysdeps/i386/configure: Regenerated.
15471 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15472 STABS_CURRENT_FILE, and STABS_FUN.
15473 (END): Remove call to STABS_FUN_END.
15474 (STABS_CURRENT_FILE1): Delete.
15475 (STABS_CURRENT_FILE): Likewise.
15476 (STABS_FUN): Likewise.
15477 (STABS_FUN_END): Likewise.
15478 (STABS_FUN2): Likewise.
15479 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15480 * sysdeps/x86_64/configure: Regenerated.
15481
5908bf46
RM
154822012-08-14 Roland McGrath <roland@hack.frob.com>
15483
15484 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15485 * elf/dl-lookup.c: Likewise.
5908bf46 15486
f2c05b9e
JM
154872012-08-14 Joseph Myers <joseph@codesourcery.com>
15488
15489 * sysdeps/unix/sysv/linux/kernel-features.h
15490 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15491 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15492 unconditionally.
15493 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15494 unconditionally.
15495 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15496 condition on __ASSUME_CLONE_THREAD_FLAGS.
15497
e11f5155
AJ
154982012-08-14 Andreas Jaeger <aj@suse.de>
15499
15500 * sysdeps/i386/fpu/libm-test-ulps: Update.
15501
51a9ba86
MK
155022012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15503
2fdd4f78
AJ
15504 * include/atomic.h (atomic_exchange_and_add): Split into ...
15505 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15506 New atomic macros.
51a9ba86 15507
ba6cba9e
MT
155082012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15509
15510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15511
42443a47
JL
155122012-08-13 Jeff Law <law@redhat.com>
15513
15514 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15515 null byte in the output string.
15516
121dce05
JM
155172012-08-10 Joseph Myers <joseph@codesourcery.com>
15518
15519 * sysdeps/unix/sysv/linux/kernel-features.h
15520 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15521 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15522 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15523 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15524 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15525 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15526 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15527
bf51f568
JL
155282012-08-09 Jeff Law <law@redhat.com>
15529
15530 [BZ #13939]
15531 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15532 When avoid_arena is set, don't retry in the that arena. Pick the
15533 next one, whatever it might be.
15534 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15535 (arena_lock): Pass in new parameter to arena_get2.
15536 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15537 arena_get2.
15538 (__libc_malloc): Unify retrying after main arena failure with
15539 __libc_memalign version.
15540 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15541
f85fa270
L
155422012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15543
15544 [BZ #14166]
15545 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15546 to __redirect_strstr.
15547 (__strstr_sse42): Use typeof __redirect_strstr.
15548 (__strstr_ia32): Likewise.
15549 (__libc_strstr): New prototype.
15550 (strstr): Renamed to ...
15551 (__libc_strstr): This.
15552 (strstr): New strong alias of __libc_strstr.
15553 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15554 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15555 __redirect_time.
15556 Include <time.h>.
15557 (__libc_time): New prototype.
15558 (time_ifunc): Replace time with __libc_time.
15559 (time): New strong alias and hidden definition of __libc_time.
15560 (__GI_time): Remove strong alias.
15561 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15562 Include <stddef.h>.
15563 (memmove): Redefined to __redirect_memmove.
15564 (__memmove_sse2): Use typeof __redirect_memmove.
15565 (__memmove_ssse3): Likewise.
15566 (__memmove_ssse3_back): Likewise.
15567 (__libc_memmove): New prototype.
15568 (memmove): Renamed to ...
15569 (__libc_memmove): This.
15570 (memmove): New strong alias of __libc_memmove.
15571
33b4a91e
MS
155722012-08-08 Mark Salter <msalter@redhat.com>
15573
15574 * elf/elf.h
15575 (R_MN10300_TLS_GD): Define.
15576 (R_MN10300_TLS_LD): Likewise.
15577 (R_MN10300_TLS_LDO): Likewise.
15578 (R_MN10300_TLS_GOTIE): Likewise.
15579 (R_MN10300_TLS_IE): Likewise.
15580 (R_MN10300_TLS_LE): Likewise.
15581 (R_MN10300_TLS_DTPMOD): Likewise.
15582 (R_MN10300_TLS_DTPOFF): Likewise.
15583 (R_MN10300_TLS_TPOFF): Likewise.
15584 (R_MN10300_SYM_DIFF): Likewise.
15585 (R_MN10300_ALIGN): Likewise.
15586 (R_MN10300_NUM): Update.
15587
b36137f1
JM
155882012-08-08 Joseph Myers <joseph@codesourcery.com>
15589
15590 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15591 Remove.
15592
cdd915fd
RM
155932012-08-08 Roland McGrath <roland@hack.frob.com>
15594
a2433aac
RM
15595 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15596
cdd915fd
RM
15597 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15598 sysdeps/unix -> sysdeps/posix move.
15599 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15600
bf9b740a
AM
156012012-08-07 Allan McRae <allan@archlinux.org>
15602
15603 [BZ #14303]
15604 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15605 (SUNOS_CPP): Likewise.
15606 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15607 not found.
15608 (open_input): Call CPP using execvp.
15609
93df14ee
JM
156102012-08-07 Joseph Myers <joseph@codesourcery.com>
15611
15612 * sysdeps/unix/sysv/linux/kernel-features.h
15613 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15614 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15615 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15616 (__ASSUME_WAITID_SYSCALL): Likewise.
15617 * sysdeps/unix/sysv/linux/dl-execstack.c
15618 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15619 code unconditional.
15620 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15621 conditional code.
15622 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15623 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15624 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15625 code.
15626 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15627 unconditional.
15628 [__ASSUME_WAITID_SYSCALL]: Likewise.
15629 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15630
d34689de
RM
156312012-08-07 Roland McGrath <roland@hack.frob.com>
15632
a281decc
RM
15633 * sysdeps/unix/closedir.c: Renamed to ...
15634 * sysdeps/posix/closedir.c: ... here.
15635 * sysdeps/unix/dirfd.c: Renamed to ...
15636 * sysdeps/posix/dirfd.c: ... here.
15637 * sysdeps/unix/dirstream.h: Renamed to ...
15638 * sysdeps/posix/dirstream.h: ... here.
15639 * sysdeps/unix/fdopendir.c: Renamed to ...
15640 * sysdeps/posix/fdopendir.c: ... here.
15641 * sysdeps/unix/opendir.c: Renamed to ...
15642 * sysdeps/posix/opendir.c: ... here.
15643 * sysdeps/unix/readdir.c: Renamed to ...
15644 * sysdeps/posix/readdir.c: ... here.
15645 * sysdeps/unix/readdir_r.c: Renamed to ...
15646 * sysdeps/posix/readdir_r.c: ... here.
15647 * sysdeps/unix/rewinddir.c: Renamed to ...
15648 * sysdeps/posix/rewinddir.c: ... here.
15649 * sysdeps/unix/seekdir.c: Renamed to ...
15650 * sysdeps/posix/seekdir.c: ... here.
15651 * sysdeps/unix/telldir.c: Renamed to ...
15652 * sysdeps/posix/telldir.c: ... here.
15653 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15654 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15655 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15656 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15657
22895b47
RM
15658 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15659 * bits/fcntl.h: ... here.
15660
707a53b6
RM
15661 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15662 not 0.
15663 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15664 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15665 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15666 (struct flock): Move l_start, l_len to the beginning.
15667 Use __pid_t for l_pid.
15668 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15669 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15670 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15671 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15672 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15673 [__USE_LARGEFILE64] (struct flock64): New type.
15674 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15675
f0bd3e25
RM
15676 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15677 * bits/dirent.h: ... here.
15678
d34689de
RM
15679 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15680 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15681
6dad2c06
JM
156822012-08-07 Joseph Myers <joseph@codesourcery.com>
15683
15684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15685 Change from 2.6.0 to 2.6.16.
15686 * sysdeps/unix/sysv/linux/configure: Regenerated.
15687 * sysdeps/unix/sysv/linux/kernel-features.h
15688 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15689 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15690 version.
15691 (__ASSUME_UTIMES): Likewise.
15692 (__ASSUME_CLONE_STOPPED): Remove.
15693 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15694 architectures, not kernel version.
15695 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15696 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15697 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15698 (__ASSUME_WAITID_SYSCALL): Likewise.
15699 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15700 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15701 * README: State 2.6.16 as minimum Linux kernel version. Do not
15702 refer to older versions.
15703
03af9520
RM
157042012-08-06 Roland McGrath <roland@hack.frob.com>
15705
8e49df1d
RM
15706 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15707 Define alphasort64 as an alias.
15708 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15709 Define versionsort64 as an alias.
15710 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15711 Define scandir64 as an alias.
15712 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15713 Define scandirat64 as an alias.
15714 * dirent/alphasort64.c (alphasort64):
15715 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15716 * dirent/versionsort64.c: Likewise.
15717 * dirent/scandir64.c: Likewise.
15718 * dirent/scandirat64.c: Likewise.
15719 * sysdeps/wordsize-64/alphasort.c: File removed.
15720 * sysdeps/wordsize-64/alphasort64.c: File removed.
15721 * sysdeps/wordsize-64/scandir.c: File removed.
15722 * sysdeps/wordsize-64/scandir64.c: File removed.
15723 * sysdeps/wordsize-64/scandirat.c: File removed.
15724 * sysdeps/wordsize-64/scandirat64.c: File removed.
15725 * sysdeps/wordsize-64/versionsort.c: File removed.
15726 * sysdeps/wordsize-64/versionsort64.c: File removed.
15727 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15728 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15729 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15730 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15731 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15732 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15733 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15734 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15735
15736 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15737 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15738 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15739 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15740 [defined __arch64__ || defined __sparcv9]
15741 (__INO_T_MATCHES_INO64_T): New macro.
15742 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15743 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15744 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15745 * sysdeps/unix/sysv/linux/bits/dirent.h
15746 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15747 (_DIRENT_MATCHES_DIRENT64): New macro.
15748
03af9520
RM
15749 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15750 Define lockf64 as an alias.
15751 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15752 Define fseeko64 as an alias.
15753 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15754 Define ftello64 as an alias.
15755 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15756 Define _IO_fgetpos64 and fgetpos64 as aliases.
15757 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15758 Define _IO_fsetpos64 and fsetpos64 as aliases.
15759 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15760 Conditionalize body on this.
15761 * libio/fseeko64.c: Likewise.
15762 * libio/ftello64.c: Likewise.
15763 * libio/iofgetpos64.c: Likewise.
15764 * libio/iofsetpos64.c: Likewise.
15765 * sysdeps/wordsize-64/lockf.c: File removed.
15766 * sysdeps/wordsize-64/lockf64.c: File removed.
15767 * sysdeps/wordsize-64/fseeko.c: File removed.
15768 * sysdeps/wordsize-64/fseeko64.c: File removed.
15769 * sysdeps/wordsize-64/ftello.c: File removed.
15770 * sysdeps/wordsize-64/ftello64.c: File removed.
15771 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15772 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15773 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15774 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15775 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15776 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15777 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15778 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15779 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15780 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15781 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15782 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15783 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15784 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15785
15786 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15787 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15788 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15790 [defined __arch64__ || defined __sparcv9]
15791 (__OFF_T_MATCHES_OFF64_T): New macro.
15792 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15793 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15794 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15795 (__OFF_T_MATCHES_OFF64_T): New macro.
15796
c5757acd
L
157972012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15798
15799 * stdlib/secure-getenv.c (__secure_getenv): Replace
15800 GLIBC_2_16 with GLIBC_2_17.
15801
3a31811e
L
158022012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15803
15804 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15805 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15806
faa2bccb
DM
158072012-08-03 David S. Miller <davem@davemloft.net>
15808
15809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15810
85fe1997
JM
158112012-08-03 Joseph Myers <joseph@codesourcery.com>
15812
15813 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15814 Remove.
15815 (__ASSUME_CORRECT_SI_PID): Likewise.
15816 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15817 (__ASSUME_TMPFS_NAME): Likewise.
15818 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15819 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15820 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15821 (HAVE_AUX_SECURE): Make definition unconditional.
15822 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15823 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15824
4f75b7a0
RM
158252012-08-03 Roland McGrath <roland@hack.frob.com>
15826
15827 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15828 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15829 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15830 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15831 __eloop_threshold instead of SYMLOOP_MAX.
15832
15833 * sysdeps/generic/eloop-threshold.h: New file.
15834 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15835 of MAXSYMLINKS.
15836 * elf/chroot_canon.c (chroot_canon): Likewise.
15837
7aab07e4
JM
158382012-08-03 Joseph Myers <joseph@codesourcery.com>
15839
15840 [BZ #13717]
15841 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15842 Change to 2.6.0 everywhere.
15843 * sysdeps/unix/sysv/linux/configure: Regenerated.
15844 * sysdeps/unix/sysv/linux/kernel-features.h
15845 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15846 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15847 kernel versions.
15848 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15849 (__ASSUME_FUTEX_REQUEUE): Remove.
15850 (__ASSUME_STATFS64): Define unconditionally.
15851 (__ASSUME_AT_SECURE): Likewise.
15852 (__ASSUME_CORRECT_SI_PID): Likewise.
15853 (__ASSUME_TGKILL): Define without depending on kernel version for
15854 i386.
15855 (__ASSUME_UTIMES): Likewise.
15856 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15857 kernel version.
15858 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15859 (__ASSUME_TMPFS_NAME): Likewise.
15860 * README: Update reference to Linux kernel versions.
15861
b67e9372
MP
158622012-08-02 Marek Polacek <polacek@redhat.com>
15863
1f529f7d 15864 [BZ# 14150]
b67e9372
MP
15865 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15866 libc_cv_asm_type_prefix with %.
15867 * configure: Regenerated.
d2441631
RM
15868 * include/libc-symbols.h: Remove comment about
15869 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15870 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15871 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15872 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15873 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15874 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15875 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15876 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15877 * elf/tst-unique2mod1.c: Likewise.
15878 * elf/tst-unique1mod2.c: Likewise.
15879 * elf/tst-unique1mod1.c: Likewise.
15880 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15881 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15882 Replace ASM_TYPE_DIRECTIVE with .type.
15883 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15884 * sysdeps/i386/sysdep.h: Likewise.
15885 * sysdeps/x86_64/sysdep.h: Likewise.
15886 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15888 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15889 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15890 * sysdeps/powerpc/powerpc32/sysdep.h:
15891 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15892 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15893 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15894 * sysdeps/i386/fpu/e_powf.S: Likewise.
15895 * sysdeps/i386/fpu/e_expl.S: Likewise.
15896 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15897 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15898 * sysdeps/i386/fpu/e_pow.S: Likewise.
15899 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15900 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15901 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15902 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15903 * sysdeps/i386/fpu/e_log2.S: Likewise.
15904 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15905 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15906 * sysdeps/i386/fpu/e_powl.S: Likewise.
15907 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15908 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15909 * sysdeps/i386/fpu/e_logl.S: Likewise.
15910 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15911 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15912 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15913 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15914 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15915 * sysdeps/i386/fpu/e_log.S: Likewise.
15916 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15917 * sysdeps/i386/fpu/e_logf.S: Likewise.
15918 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15919 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15920 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15921 * sysdeps/i386/fpu/e_log10.S: Likewise.
15922 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15923 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15924 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15925 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15926 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15927 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15928 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15929 * sysdeps/i386/i686/strtok.S: Likewise.
15930 * sysdeps/i386/i386-mcount.S: Likewise.
15931 * sysdeps/i386/strtok.S: Likewise.
15932 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15933 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15934 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15935 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15936 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15937 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15938 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15939 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15940 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15941 * sysdeps/x86_64/_mcount.S: Likewise.
15942 * sysdeps/x86_64/strtok.S: Likewise.
15943 * sysdeps/sh/_mcount.S: Likewise.
15944
2747bf9a
RM
159452012-08-01 Roland McGrath <roland@hack.frob.com>
15946
15947 * libio/iofopen.c: Include <fcntl.h>.
15948 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15949 (_IO_fopen64, fopen64): Define as aliases.
15950 * libio/iofopen64.c: Include <fcntl.h>.
15951 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15952 Conditionalize body on this.
15953 * sysdeps/wordsize-64/iofopen.c: File removed.
15954 * sysdeps/wordsize-64/iofopen64.c: File removed.
15955
3fb791b8
MP
159562012-08-01 Marek Polacek <polacek@redhat.com>
15957
15958 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15959 Use dlfcn directly instead of a variable.
15960 (binfmt-subdir): Do not define.
15961 (dlfcn): Likewise.
15962
a9f1039f
JM
159632012-08-01 Joseph Myers <joseph@codesourcery.com>
15964
23bddc06
JM
15965 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15966 Remove all definitions.
15967 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15968 <kernel-features.h>.
15969 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15970 (miss_F_GETOWN_EX): Remove all definitions.
15971 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15972 macro definition.
15973 [!__ASSUME_FCNTL64]: Remove conditional code.
15974 [__ASSUME_FCNTL64]: Make code unconditional.
15975 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15976 <kernel-features.h>.
15977 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15978 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15979 (lockf64) [__NR_fcntl64]: Make code unconditional.
15980 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15981
a9f1039f
JM
15982 * sysdeps/unix/sysv/linux/kernel-features.h
15983 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15984 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15985 Make code unconditional.
15986 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15987 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15989 [__NR_vfork]: Make code unconditional.
15990 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15991 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15993 [__NR_vfork]: Make code unconditional.
15994 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15995 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15996
09c0ee5f
RM
159972012-08-01 Roland McGrath <roland@hack.frob.com>
15998
48aec5b9
RM
15999 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16000 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16001
cd97c966
RM
16002 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16003 Define mkstemp64 as an alias.
3f55550c
RM
16004 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16005 Define mkstemps64 as an alias.
cd97c966
RM
16006 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16007 Define mkostemp64 as an alias.
b8625cfc
RM
16008 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16009 Define mkostemps64 as an alias.
cd97c966
RM
16010 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
16011 Conditionalize body on this.
16012 * misc/mkostemp64.c: Likewise.
b8625cfc 16013 * misc/mkostemps64.c: Likewise.
3f55550c 16014 * misc/mkstemps64.c: Likewise.
cd97c966
RM
16015 * sysdeps/wordsize-64/mkstemp64.c: File removed.
16016 * sysdeps/wordsize-64/mkostemp64.c: File removed.
16017 * sysdeps/wordsize-64/mkostemp.c: File removed.
16018 * sysdeps/wordsize-64/mkstemp.c: File removed.
16019 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
16020 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
16021 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
16022 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
16023
09c0ee5f
RM
16024 [BZ #14138]
16025 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
16026 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
16027 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
16028 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
16029
16030 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
16031 compat_symbol macros from <shlib-compat.h> rather than the underlying
16032 default_symbol_version and symbol_version macros, so that DEFAULT
16033 lines in shlib-versions are respected.
16034 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
16035
7e66ee51
FW
160362012-08-01 Florian Weimer <fweimer@redhat.com>
16037
16038 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
16039 Declare with warn_unused_result.
16040 (setgid, setregid, setegid, setresgid): Likewise.
16041 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
16042 Likewise.
16043 * WUR-REPORT: Remove set*id functions.
16044
d2a54255
PT
160452012-07-31 Pino Toscano <toscano.pino@tiscali.it>
16046
16047 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
16048
7ecdb005
RM
160492012-07-31 Roland McGrath <roland@hack.frob.com>
16050
b4180a5e 16051 [BZ #10191]
789bd351
RM
16052 * include/sys/socket.h (__libc_accept, __libc_accept4):
16053 Add attribute_hidden.
16054 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
16055
40ce302d
RM
16056 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
16057 use of PTR_MANGLE.
16058 * inet/getnetgrent_r.c (setup): Likewise.
16059
7ecdb005
RM
16060 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16061
e2eabb2c
DM
160622012-07-31 David S. Miller <davem@davemloft.net>
16063
16064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16065
d0419dbf
JM
160662012-07-31 Joseph Myers <joseph@codesourcery.com>
16067
16068 [BZ #13629]
16069 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16070 value between 1.0 and 2.0 and smaller part has absolute value less
16071 than 1.0.
16072 * math/s_clog10.c (__clog10): Likewise.
16073 * math/s_clog10f.c (__clog10f): Likewise.
16074 * math/s_clog10l.c (__clog10l): Likewise.
16075 * math/s_clogf.c (__clogf): Likewise.
16076 * math/s_clogl.c (__clogl): Likewise.
16077 * math/libm-test.inc (clog_test): Add more tests.
16078 (clog10_test): Likewise.
16079 * sysdeps/i386/fpu/libm-test-ulps: Update.
16080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16081
2bc13872
FW
160822012-07-31 Florian Weimer <fweimer@redhat.com>
16083
16084 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16085 Exit with zero in case no suitable GID is found, and write a
16086 message to standard error.
16087
bea9b193
RM
160882012-07-30 Roland McGrath <roland@hack.frob.com>
16089
16090 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16091 rather than to 1.
16092 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16093 (MAXPATHLEN): Removed.
16094 (NOGROUP, NODEV): New macros.
16095 (setbit, clrbit, isset, isclr): New macros.
16096 (howmany, roundup, powerof2): New macros.
16097 (DEV_BSIZE): New macro.
16098
16099 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16100 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16101
16102 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16103 definition on [!__NO_LONG_DOUBLE_MATH].
16104
16105 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16106 PTR_MANGLE and PTR_DEMANGLE.
16107
16108 * socket/accept4.c (accept4): Rename to __libc_accept4.
16109 Define accept4 as a weak alias.
16110
16111 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16112 on [_DIRENT_HAVE_D_TYPE].
16113 * io/ftw.c (ftw_dir): Likewise.
16114
16115 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16116
16117 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16118
16119 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16120 Use the BSD numbers rather than the arbitrary ones we had.
16121 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16122 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16123 (SIGXCPU, SIGXFSZ): New macros.
16124 (_NSIG): Now 32.
16125
16126 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16127 initializer on [_LIBC_REENTRANT].
16128
16129 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16130 definitions inside [_POSIX_MAPPED_FILES].
16131
16132 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16133
16134 * dirent/opendir.c: Include <fcntl.h>.
16135
16136 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16137 (__libc_getspecific): Likewise.
16138 (__libc_key_create): Likewise.
16139
16140 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16141 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16142 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16143 (tmpfile64): Define as alias.
16144 * sysdeps/wordsize-64/tmpfile.c: File removed.
16145 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16146 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16147 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16148
16149 * stdio-common/vfscanf.c: Include <stdbool.h>.
16150 * nss/makedb.c: Likewise.
16151 * stdio-common/_i18n_number.h: Likewise.
16152 * argp/argp-help.c: Likewise.
16153 * posix/wordexp.c: Likewise.
16154 * sysdeps/posix/spawni.c: Likewise.
16155 * nss/nss_files/files-initgroups.c: Likewise.
16156 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16157 * nss/nss_files/files-initgroups.c: Likewise.
16158 * nss/nss_db/db-netgrp.c: Likewise.
16159 * nss/nss_db/db-initgroups.c: Likewise.
16160 * io/fchmodat.c: Include <sys/stat.h>.
16161
16162 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16163 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16164
16165 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16166 [HAVE_MMAP].
16167
16168 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16169 Add multiple inclusion protection.
16170
e5abc686
DM
161712012-07-27 David S. Miller <davem@davemloft.net>
16172
16173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16174
815e6fa3
GB
161752012-07-27 Gary Benson <gbenson@redhat.com>
16176
16177 [BZ #14298]
16178 * elf/rtld.c: Include <stap-probe.h>.
16179 (dl_main): Added static probes "init_start" and "init_complete".
16180 * elf/dl-load.c: Include <stap-probe.h>.
16181 (lose): Take new parameter "nsid".
16182 Added static probe "map_failed".
16183 (_dl_map_object_from_fd): Pass namespace id to lose.
16184 Added static probe "map_start".
16185 (open_verify): Pass namespace id to lose.
16186 * elf/dl-open.c: Include <stap-probe.h>.
16187 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16188 and "reloc_complete".
16189 * elf/dl-close.c: Include <stap-probe.h>.
16190 (_dl_close_worker): Added static probes "unmap_start" and
16191 "unmap_complete".
16192 * elf/rtld-debugger-interface.txt: New file documenting the above.
16193
9f98c16c
RM
161942012-07-26 Roland McGrath <roland@hack.frob.com>
16195
16196 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16197 rather than a string variable.
16198 * sunrpc/rpc_main.c (h_output): Likewise.
16199 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16200
f3c22df3
PT
162012012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16202
16203 * inet/check_native.c: New file.
16204
3129cfc6
JM
162052012-07-26 Joseph Myers <joseph@codesourcery.com>
16206
da865e95
JM
16207 [BZ #13629]
16208 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16209 if larger part has absolute value 1.0.
16210 * math/s_clog10.c (__clog10): Likewise.
16211 * math/s_clog10f.c (__clog10f): Likewise.
16212 * math/s_clog10l.c (__clog10l): Likewise.
16213 * math/s_clogf.c (__clogf): Likewise.
16214 * math/s_clogl.c (__clogl): Likewise.
16215 * math/libm-test.inc (clog_test): Add more tests.
16216 (clog10_test): Likewise.
16217 * sysdeps/i386/fpu/libm-test-ulps: Update.
16218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16219
3129cfc6
JM
16220 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16221 (pltexit): Likewise.
16222 (La_regs): Likewise.
16223 (La_retval): Likewise.
16224 (int_retval): Likewise.
16225 Update #error for removed macros to refer only to definitions in
16226 tst-audit.h.
16227 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16228 macro.
16229 (pltexit): Likewise.
16230 (La_regs): Likewise.
16231 (La_retval): Likewise.
16232 (int_retval): Likewise.
16233 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16234 macro.
16235 (pltexit): Likewise.
16236 (La_regs): Likewise.
16237 (La_retval): Likewise.
16238 (int_retval): Likewise.
16239 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16240 macro.
16241 (pltexit): Likewise.
16242 (La_regs): Likewise.
16243 (La_retval): Likewise.
16244 (int_retval): Likewise.
16245 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16246 macro.
16247 (pltexit): Likewise.
16248 (La_regs): Likewise.
16249 (La_retval): Likewise.
16250 (int_retval): Likewise.
16251 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16252 macro.
16253 (pltexit): Likewise.
16254 (La_regs): Likewise.
16255 (La_retval): Likewise.
16256 (int_retval): Likewise.
16257 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16258 macro.
16259 (pltexit): Likewise.
16260 (La_regs): Likewise.
16261 (La_retval): Likewise.
16262 (int_retval): Likewise.
16263 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16264 macro definitions in tst-audit.h.
16265 * sysdeps/i386/tst-audit.h: New file.
16266 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16267 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16268 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16269 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16270 * sysdeps/sh/tst-audit.h: Likewise.
16271 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16272 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16273 * sysdeps/x86_64/tst-audit.h: Likewise.
16274
bfc07087
AJ
162752012-07-26 Andreas Jaeger <aj@suse.de>
16276
b1b2aaf8
AJ
16277 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16278 ptrace.
16279
16280 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16281 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16282 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16283 PTRACE_O_MASK.
16284 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16285 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16286 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16287
bfc07087
AJ
16288 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16289 value.
16290
16291 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16292 _sigsys.
16293 (si_call_addr, si_syscall, si_arch): Define new macro.
16294 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16295 _sigsys.
16296 (si_call_addr, si_syscall, si_arch): Define new marcro.
16297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16298 _sigsys.
16299 (si_call_addr, si_syscall, si_arch): Define new macro.
16300 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16301 _sigsys.
16302 (si_call_addr, si_syscall, si_arch): Define new macro.
16303
89b4b02f
JM
163042012-07-25 Joseph Myers <joseph@codesourcery.com>
16305
16306 [BZ #13717]
16307 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16308 Change to 2.4.21 where previously 2.4.1.
16309 * sysdeps/unix/sysv/linux/configure: Regenerated.
16310 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16311 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16312 Linux kernel version.
16313 (__ASSUME_STD_AUXV): Remove.
16314 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16315 kernel version.
16316 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16317 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16318 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16319 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16320 (__ASSUME_NETLINK_SUPPORT): Likewise.
16321 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16322 (__no_netlink_support): Remove conditional definition.
16323 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16324 Remove.
16325 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16326 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16327 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16328 (if_nameindex_ioctl): Remove.
16329 (if_nameindex_netlink): Do not handle __no_netlink_support.
16330 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16331 code.
16332 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16333 Remove conditional code.
16334 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16335 code.
16336 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16337 unconditional.
16338 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16339 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16340 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16341 Remove.
16342 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16343 [!__ASSUME_STD_AUXV]: Remove conditional code.
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16345 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16346 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16348 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16349 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16350 code.
16351 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16353 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16354 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16355 conditional code.
16356 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16358 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16359 code.
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16361 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16362 conditional code.
16363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16364 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16365 code unconditional.
16366 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16367 conditional code.
16368 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16369 unconditional.
16370 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16371 conditional code.
16372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16373 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16374 unconditional.
16375 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16376 conditional code.
16377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16378 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16379 code unconditional.
16380 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16381 conditional code.
16382 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16383 unconditional.
16384 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16385 conditional code.
16386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16387 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16388 code unconditional.
16389 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16390 conditional code.
16391 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16392 unconditional.
16393 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16394 conditional code.
16395
842a39cd
AS
163962012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16397
16398 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16399 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16400 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16401 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16402 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16403 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16404 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16405 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16406 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16407 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16408 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16409 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16410 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16411 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16412 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16413 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16414 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16415 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16416 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16418 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16419 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16420 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16421
84b3fd84
FW
164222012-07-25 Florian Weimer <fweimer@redhat.com>
16423
16424 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16425 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16426 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16427 Introduce __libc_secure_getenv.
0c7936d5
FW
16428 * stdlib/Versions (2.17): Add secure_getenv
16429 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16430 * stdlib/secure-getenv.c: Rename __secure_getenv to
16431 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16432 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16433 * stdlib/tst-secure-getenv.c: New.
16434 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16435 * manual/startup.texi (Environment Access): Document
16436 secure_getenv.
84b3fd84
FW
16437 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16438 __libc_secure_getenv.
16439 * inet/ruserpass.c (ruserpass): Likewise.
16440 * malloc/mtrace.c (mtrace): Likewise.
16441 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16442 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16443 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16444 * sysdeps/posix/tempname.c: Likewise. Evaluate
16445 HAVE_SECURE_GETENV.
16446 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16447 __secure_getenv to __libc_secure_getenv.
84b3fd84 16448 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16450 Likewise.
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16452 Likewise.
16453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16460
56e49b71
JM
164612012-07-25 Joseph Myers <joseph@codesourcery.com>
16462
16463 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16464 (struct La_i86_retval): Likewise.
16465 (struct La_x86_64_regs): Likewise.
16466 (struct La_x86_64_retval): Likewise.
16467 (struct La_x32_regs): Likewise.
16468 (struct La_x32_retval): Likewise.
16469 (struct La_ppc32_regs): Likewise.
16470 (struct La_ppc32_retval): Likewise.
16471 (struct La_ppc64_regs): Likewise.
16472 (struct La_ppc64_retval): Likewise.
16473 (struct La_sh_regs): Likewise.
16474 (struct La_sh_retval): Likewise.
16475 (struct La_s390_32_regs): Likewise.
16476 (struct La_s390_32_retval): Likewise.
16477 (struct La_s390_64_regs): Likewise.
16478 (struct La_s390_64_retval): Likewise.
16479 (struct La_sparc32_regs): Likewise.
16480 (struct La_sparc32_retval): Likewise.
16481 (struct La_sparc64_regs): Likewise.
16482 (struct La_sparc64_retval): Likewise.
16483 (struct audit_ifaces): Remove architecture-specific pltenter and
16484 pltexit members.
16485 * sysdeps/i386/ldsodefs.h: New file.
16486 * sysdeps/powerpc/ldsodefs.h: Likewise.
16487 * sysdeps/s390/ldsodefs.h: Likewise.
16488 * sysdeps/sh/ldsodefs.h: Likewise.
16489 * sysdeps/sparc/ldsodefs.h: Likewise.
16490 * sysdeps/x86_64/ldsodefs.h: Likewise.
16491
354691b7
MP
164922012-07-25 Marek Polacek <polacek@redhat.com>
16493
16494 [BZ #6808]
16495 * math/libm-test.inc (yn_test): Add another test.
16496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16497 to ERANGE when the result is +-Inf.
16498 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16499 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16500 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16501 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16502
bf9e2071
JM
165032012-07-24 Joseph Myers <joseph@codesourcery.com>
16504
16505 * conform/data/time.h-data (NULL): Use macro-constant. Require
16506 equal to 0.
16507 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16508 clock_t.
16509 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16510
57633811
TS
165112012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16512
16513 * configure.in <sysdeps resolving>: Correct printing
16514 Implies_before.
16515 * configure: Regenerate.
16516
c23c33b0
TS
165172012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16518
16519 * math/w_ilogb.c: Include <limits.h>.
16520 * math/w_ilogbl.c: Likewise.
16521
b5982523
JM
165222012-07-20 Joseph Myers <joseph@codesourcery.com>
16523
16524 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16525 va_copy. Document allowing for unavailable va_copy only as
16526 pre-C99 compatibility.
16527 * manual/string.texi (Copying and Concatenation): Use va_copy
16528 instead of __va_copy in concat example.
16529
ac4ea442
PT
165302012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16531
16532 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16533 (__sendto): Use create_address_port. Initialize APORT and deallocate
16534 it if not null.
16535
f98eafbd
PT
16536 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16537 with O_NOLINK passed to __file_name_lookup.
16538
898c7aab
PT
16539 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16540 with O_NOLINK passed to __file_name_lookup.
16541
0ced335a
PT
16542 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16543 negative N or less than NGIDS.
16544
b3404dbd
PT
16545 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16546 type to string_t. Set ERANGE as errno and return it if NAME is not big
16547 enough. Use memcpy instead of strncpy.
16548
0f48659e
JM
165492012-07-20 Joseph Myers <joseph@codesourcery.com>
16550
16551 * elf/Makefile (check-data): Remove.
16552 (localplt.data): New vpath directive.
16553 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16554 instead of $(check-data).
16555 * scripts/data/localplt-generic.data: Move to ...
16556 * sysdeps/generic/localplt.data: ... here.
16557 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16558 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16559 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16561 ... here.
16562 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16564 ... here.
16565 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16567 ... here.
16568 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16570 ... here.
16571 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16572 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16573 ... here.
16574 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16576 ... here.
16577
d37cbdaa
AZ
165782012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16579
16580 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16581 PPC32 and PPC64 files.
16582 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16583 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16584
46f85fc2
AK
165852012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16586
16587 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16588 __makecontext_ret to ...
16589 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16590 ... here and call exit if uc_link is NULL. New file.
16591 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16592 __makecontext_ret.S.
16593 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16594 __makecontext_ret to ...
16595 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16596 ... here and call exit if uc_link is NULL. New file.
16597 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16598 __makecontext_ret.S.
16599
08f43f9b
AK
166002012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16601
16602 * elf/elf.h (R_390_IRELATIVE): New definition.
16603 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16604 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16605 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16606 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16607 (elf_machine_lazy_rel): Likewise.
16608 * sysdeps/s390/dl-irel.h: New file.
16609 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16610 * sysdeps/s390/s390-64/memset.S: New asm code.
16611 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16612 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16613 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16614 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16615 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16616 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16617 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16618 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16619 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16620 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16621 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16622 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16623 * sysdeps/s390/s390-32/memset.S: New asm code.
16624 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16625
3b05db33
MP
166262012-07-17 Marek Polacek <polacek@redhat.com>
16627
16628 [BZ #14349]
16629 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16630 * sysdeps/s390/s390-64/configure.in: Likewise.
16631 * sysdeps/sparc/configure.in: Likewise.
16632 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16633 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16634 * sysdeps/i386/configure.in: Likewise.
16635 * sysdeps/x86_64/configure.in: Likewise.
16636 * sysdeps/sh/configure.in: Likewise.
16637 * sysdeps/s390/s390-32/configure: Regenerated.
16638 * sysdeps/s390/s390-64/configure: Likewise.
16639 * sysdeps/x86_64/configure: Likewise.
16640 * sysdeps/sh/configure: Likewise.
16641 * sysdeps/powerpc/powerpc64/configure: Likewise.
16642 * sysdeps/powerpc/powerpc32/configure: Likewise.
16643 * sysdeps/sparc/configure: Likwise.
16644 * sysdeps/i386/configure: Likewise.
16645
a66877c6
MP
16646 * elf/dl-open.c: Comment fixes.
16647
cfc82fd8
JM
166482012-07-17 Joseph Myers <joseph@codesourcery.com>
16649
bd29910a
JM
16650 * Makefile [CXX] (check-data): Remove.
16651 [CXX] (c++-types.data): New vpath directive.
16652 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16653 vpath. Do not allow for C++ type data being missing.
16654 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16655 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16656 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16657 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16658 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16659 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16660 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16662 ... here.
16663 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16665 ... here.
16666 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16668 ... here.
16669 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16671 ... here.
16672 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16674 ... here.
16675 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16677 ... here.
16678 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16680 ... here.
16681 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16683
cfc82fd8
JM
16684 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16685 definitions to architecture-specific files.
16686 (TLS_IE): Likewise.
16687 (TLS_LD): Likewise.
16688 (TLS_GD): Likewise.
16689 * sysdeps/i386/tls-macros.h: New file.
16690 * sysdeps/powerpc/tls-macros.h: Likewise.
16691 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16692 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16693 * sysdeps/sh/tls-macros.h: Likewise.
16694 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16695 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16696 * sysdeps/x86_64/tls-macros.h: Likewise.
16697
f7db3170
TS
166982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16699
07cbfc23
TS
16700 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16701 zero value for regular exit case.
16702
f7db3170
TS
16703 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16704 (__start_context): Preserve zero value for regular exit case.
16705
dc97c227
TS
167062012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16707 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16708
16709 * manual/setjmp.texi (setcontext): Clarify normal process
16710 termination when uc_link is the null pointer.
16711 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16712 exit call.
16713
d0cd7d02
AS
167142012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16715
16716 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16717 preprocessor. Test for each exception mask separately.
16718
dd318934
AJ
167192012-07-16 Andreas Jaeger <aj@suse.de>
16720
16721 * po/ru.po: Update from translation team.
16722
8048311a
JM
167232012-07-15 Joseph Myers <joseph@codesourcery.com>
16724
16725 * conform/data/string.h-data (NULL): Use macro-constant. Require
16726 equal to 0.
16727 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16728 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16729 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16730 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16731 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16732
b637d46e
AJ
167332012-07-13 Andreas Jaeger <aj@suse.de>
16734
16735 * po/fr.po: Update from translation team.
16736
541428fe
MP
167372012-07-12 Marek Polacek <polacek@redhat.com>
16738
16739 [BZ #14173]
16740 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16741 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16742 loop condition.
16743
ec332e94
JM
167442012-07-12 Joseph Myers <joseph@codesourcery.com>
16745
16746 [BZ #13717]
16747 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16748 Change to 2.4.1 where previously 2.4.0.
16749 * sysdeps/unix/sysv/linux/configure: Regenerated.
16750 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16751 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16752 version.
16753 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16754 (__ASSUME_AT_CLKTCK): Remove.
16755 (__ASSUME_AT_PAGESIZE): Likewise.
16756 (__ASSUME_AT_XID): Likewise.
16757 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16758 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16759 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16760 unconditionally.
16761 (HAVE_AUX_PAGESIZE): Likewise.
16762 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16763 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16764 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16765
7b6e99be
JB
167662012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16767
16768 [BZ #14307]
16769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16770 the temporary buffer used to invoke __gethostbyname2_r,
16771 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16772 host_data / struct gaih_addrtuple.
16773 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16774 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16775 header file nss/nsswitch.h.
16776 * nss/nsswitch.h (global scope): Add definition of implementation
16777 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16778 resolv/nss_dns/dns-host.c).
16779
608404eb
AJ
167802012-07-11 Andreas Jaeger <aj@suse.de>
16781
16782 * po/fr.po: Update from translation team.
16783
71220aca
AJ
16784 * po/sv.po: Update from translation team
16785 * po/fr.po: Another update from translation team.
16786
28cfe843
AZ
167872012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16788
16789 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16790 for subnormals or multiply small sinh result by itself.
16791 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16793
6b90f981
DM
167942012-07-11 David S. Miller <davem@davemloft.net>
16795
16796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16797
c6825772
AS
167982012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16799
16800 [BZ #14347]
16801 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16802 (INTERNAL_MARK): Shift it here.
16803
7b8e0d49
MP
168042012-07-10 Marek Polacek <polacek@redhat.com>
16805
16806 [BZ #14151]
16807 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16808 libc_cv_asm_global_directive with .globl.
16809 * configure: Regenerated.
16810 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16811 with .globl.
16812 * sysdeps/i386/configure: Regenerated.
16813 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16814 with .globl.
16815 * sysdeps/x86_64/configure: Regenerated.
16816 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16817 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16818 * elf/tst-unique2mod2.c: Likewise.
16819 * elf/tst-unique2mod1.c: Likewise.
16820 * elf/tst-unique1mod2.c: Likewise.
16821 * elf/tst-unique1mod1.c: Likewise.
16822 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16823 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16824 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16825 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16826 * sysdeps/mach/sysdep.h: Likewise.
16827 * sysdeps/i386/sysdep.h: Likewise.
16828 * sysdeps/i386/i386-mcount.S: Likewise.
16829 * sysdeps/x86_64/_mcount.S: Likewise.
16830 * sysdeps/x86_64/sysdep.h: Likewise.
16831 * sysdeps/sh/_mcount.S: Likewise.
16832 * sysdeps/sh/sysdep.h: Likewise.
16833 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16834 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16835 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16836 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16837 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16838 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16839 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16840 * locale/localeinfo.h: Likewise.
16841 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16842 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16843
6c55cda3
RM
168442012-07-09 Roland McGrath <roland@hack.frob.com>
16845
16846 [BZ #14336]
16847 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16848 system".
16849 * manual/message.texi (The Uniforum approach): Likewise.
16850 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16851 (glibc iconv Implementation): Likewise.
16852
638a572e
JM
168532012-07-09 Joseph Myers <joseph@codesourcery.com>
16854
16855 [BZ #14337]
16856 * math/s_clog.c (__clog): Avoid scaling a value down where that
16857 could result in underflow.
16858 * math/s_clog10.c (__clog10): Likewise.
16859 * math/s_clog10f.c (__clog10f): Likewise.
16860 * math/s_clog10l.c (__clog10l): Likewise.
16861 * math/s_clogf.c (__clogf): Likewise.
16862 * math/s_clogl.c (__clogl): Likewise.
16863 * math/libm-test.inc (clog_test): Add more tests.
16864 (clog10_test): Likewise.
16865 * sysdeps/i386/fpu/libm-test-ulps: Update.
16866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16867
261f4859
AS
168682012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16869
0abaf3e4
AS
16870 [BZ #14283]
16871 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16872 by 7 not 8 to examine high bit of fractional part.
16873
261f4859
AS
16874 [BZ #14042]
16875 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16876 for call to __mcount_internal.
16877 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16878 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16879 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16880
f17ac40d
JM
168812012-07-06 Joseph Myers <joseph@codesourcery.com>
16882
9ad63c23
JM
16883 [BZ #14154]
16884 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16885 approximation for values within 0x1p-13f of an odd multiple of
16886 pi/4.
16887 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16888 exception. Add more tests.
16889 * sysdeps/i386/fpu/libm-test-ulps: Update.
16890
f17ac40d
JM
16891 [BZ #6778]
16892 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16893 inputs and return -1 for them. Do not check for +Inf in case not
16894 reachable for +Inf.
16895 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16896 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16897 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16898 and return -1 for them. Do not check for +Inf in case not
16899 reachable for +Inf.
16900 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16901 define.
16902 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16903 and return -1 for them. Do not check for +Inf in case not
16904 reachable for +Inf.
16905 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16906 spurious underflow.
16907 * sysdeps/i386/fpu/libm-test-ulps: Update.
16908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16909
fb21f89b
MF
169102012-07-06 Mike Frysinger <vapier@gentoo.org>
16911
16912 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16913
cdfe2c5e
JM
169142012-07-05 Joseph Myers <joseph@codesourcery.com>
16915
16916 [BZ #14157]
16917 [BZ #14331]
16918 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16919 could result in spurious underflow. Scale down values above
16920 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16921 * math/s_csqrtf.c (__csqrtf): Likewise.
16922 * math/s_csqrtl.c (__csqrtl): Likewise.
16923 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16924 spurious underflow.
16925 * sysdeps/i386/fpu/libm-test-ulps: Update.
16926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16927
70d35b67
AS
169282012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16929
704bc459
AS
16930 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16931 xopen-msg.sed.
16932 * catgets/xopen-msg.awk: New file.
16933 * catgets/xopen-msg.sed: Removed.
16934
70d35b67
AS
16935 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16936 po2text.sed.
16937 * intl/po2test.awk: New file.
16938 * intl/po2test.sed: Removed.
16939
ca61cf32
JM
169402012-07-04 Joseph Myers <joseph@codesourcery.com>
16941
16942 [BZ #14328]
16943 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16944 or multiply small sinh result by itself.
16945 * math/s_ctanf.c (__ctanf): Likewise.
16946 * math/s_ctanh.c (__ctanh): Likewise.
16947 * math/s_ctanhf.c (__ctanhf): Likewise.
16948 * math/s_ctanhl.c (__ctanhl): Likewise.
16949 * math/s_ctanl.c (__ctanl): Likewise.
16950 * math/libm-test.inc (ctan_test_tonearest): New function.
16951 (ctan_test_towardzero): Likewise.
16952 (ctan_test_downward): Likewise.
16953 (ctan_test_upward): Likewise.
16954 (ctanh_test_tonearest): Likewise.
16955 (ctanh_test_towardzero): Likewise.
16956 (ctanh_test_downward): Likewise.
16957 (ctanh_test_upward): Likewise.
16958 (main): Call these new functions.
16959 * sysdeps/i386/fpu/libm-test-ulps: Update.
16960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16961
ca48a46a
MF
169622012-07-03 Mike Frysinger <vapier@gentoo.org>
16963
16964 * .gitignore: Delete /ports entry.
16965
9d63d37d
AJ
169662012-07-03 Andreas Jaeger <aj@suse.de>
16967
16968 * po/bg.po: Update from translation team.
16969 * po/cs.po: Likewise.
16970 * po/de.po: Likewise.
16971 * po/hr.po: Likewise.
16972 * po/nl.pl: Likewise.
16973 * po/pl.po: Likewise.
16974 * po/vi.po: Likewise.
16975
370ca3d2
JM
169762012-07-03 Joseph Myers <joseph@codesourcery.com>
16977
95f5a9a8
JM
16978 * Makeconfig [!+link] (+link-before-libc): New variable.
16979 [!+link] (+link-after-libc): Likewise.
16980 [!+link] (+link-tests): Likewise.
16981 [!+link] (+link): Define in terms of $(+link-before-libc) and
16982 $(+link-after-libc).
16983 [!+link-static] (+link-static-before-libc): New variable.
16984 [!+link-static] (+link-static-after-libc): Likewise.
16985 [!+link-static] (+link-static-tests): Likewise.
16986 [!+link-static] (+link-static): Define in terms of
16987 $(+link-static-before-libc) and $(+link-static-after-libc).
16988 [build-shared] (link-libc-before-gnulib): New variable.
16989 [build-shared] (link-libc-tests): Likewise.
16990 [build-shared] (link-libc): Define in terms of
16991 $(link-libc-before-gnulib).
16992 [!build-shared] (link-libc-tests): New variable.
16993 (link-libc-static-tests): New variable.
16994 [!gnulib] (gnulib-arch): New variable.
16995 [!gnulib] (gnulib-tests): Likewise.
16996 [!gnulib] (static-gnulib-arch): Likewise.
16997 [!gnulib] (static-gnulib-tests): Likewise.
16998 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16999 Define with "=" instead of ":=".
17000 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17001 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17002 * Rules (binaries-all-notests): New variable.
17003 (binaries-all-tests): Likewise.
17004 (binaries-static-notests): Likewise.
17005 (binaries-static-tests): Likewise.
17006 (binaries-all): Define using $(binaries-all-notests) and
17007 $(binaries-all-tests).
17008 (binaries-static): Define using $(binaries-static-notests) and
17009 $(binaries-static-tests).
17010 (binaries-shared-tests): New variable.
17011 (binaries-shared-notests): Likewise.
17012 (binaries-shared): Remove variable.
17013 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
17014 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
17015 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
17016 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
17017 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
17018 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
17019 * elf/Makefile (sln-modules): New variable.
17020 (extra-objs): Add $(sln-modules:=.o).
17021 (ldconfig-modules): Add static-stubs.
17022 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
17023 * elf/static-stubs.c: New file.
17024
7a845b2c
JM
17025 [BZ #14283]
17026 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
17027 by 7 not 8 to examine high bit of fractional part. Use volatile
17028 variables when splitting into final array of floats if
17029 __FLT_EVAL_METHOD__ != 0.
17030 * math/libm-test.inc (cos_test): Add another test.
17031 (sin_test): Likewise.
17032 * sysdeps/i386/fpu/libm-test-ulps: Update.
17033
e2283f38
JM
17034 [BZ #14273]
17035 * math/libm-test.inc (cosh_test): Add more tests.
17036
370ca3d2
JM
17037 * version.h (RELEASE): Set to "development".
17038 (VERSION): Set to "2.16.90".
17039
ee9247c3
CD
170402012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
17041
17042 * NEWS: Update copyright. Remove last-updated date.
17043 Mention math library bug fixes and timezone data changes.
17044 * README: Mention GNU/Hurd, x32, and HPPA support status.
17045
4648c381
TS
170462012-06-28 Thomas Schwinge <thomas@codesourcery.com>
17047
17048 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
17049
aac78a43
AJ
170502012-06-27 Andreas Jaeger <aj@suse.de>
17051
17052 * manual/contrib.texi (Contributors): Add Samuel Thibault.
17053
ed3dbfad
AJ
170542012-06-25 Andreas Jaeger <aj@suse.de>
17055
17056 * sysdeps/s390/fpu/libm-test-ulps: Update.
17057
4d0ee855
AS
170582012-06-23 Andreas Schwab <schwab@linux-m68k.org>
17059 Thomas Schwinge <thomas@codesourcery.com>
17060
17061 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17062 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17063 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17064 fanotify_mark.
17065
af1bce34
TS
170662012-06-23 Thomas Schwinge <thomas@codesourcery.com>
17067
a9fa33ba
TS
17068 * sysdeps/mach/start.c: Remove file.
17069 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17070 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17071 * sysdeps/sh/init-first.c: Likewise.
17072
58f902b8
TS
17073 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17074 registers for frame unwinding purposes, add CFI directives.
17075 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17076 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17077 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17078 Likewise.
17079
1518f58b
TS
17080 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17081 __fortify_fail returning.
17082 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17083
db9b5059
TS
17084 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17085 sysdeps/sh/____longjmp_chk.S.
17086 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17087 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17088 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17089 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17090
967705fe
TS
17091 * sysdeps/sh/abort-instr.h: New file.
17092 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17093 process in case exit returns.
17094
a9def8c4
TS
17095 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17096 initialize the GOT register before use.
17097
2a649725
TS
17098 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17099 calculation of ARGC > 4.
17100
af1bce34
TS
17101 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17102 meaningful names to some local labels.
17103
d230f50a
KK
171042012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17105 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17106
17107 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17108 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17109 (__arch_compare_and_exchange_val_16_acq): Likewise.
17110 (__arch_compare_and_exchange_val_32_acq): Likewise.
17111 (atomic_exchange_and_add): Fix gUSA sequence.
17112 (atomic_add): Likewise.
17113 (atomic_add_negative): Likewise.
17114 (atomic_add_zero): Likewise.
17115 (atomic_bit_test_set): Likewise.
17116
0479b305
AS
171172012-06-22 Andreas Schwab <schwab@redhat.com>
17118
17119 [BZ #13579]
17120 * include/link.h (struct link_map): Add l_free_initfini.
17121 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17122 l_initfini.
17123 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17124 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17125 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17126 set.
17127
0e3933b9
CD
171282012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17129
17130 * configure.in: Use AC_LANG_SOURCE.
17131 * configure: Regenerate.
17132
4248b1b1
RM
171332012-06-22 Roland McGrath <roland@hack.frob.com>
17134
17135 * configure.in (libc_cv_localstatedir): New substituted variable.
17136 * configure: Regenerated.
17137 * config.make.in (localstatedir): New variable, substituted from
17138 libc_cv_localstatedir.
17139 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17140 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17141 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17142 * sysdeps/gnu/configure: Regenerated.
17143
006dd861
JL
171442012-06-21 Jeff Law <law@redhat.com>
17145
17146 [BZ #14277]
17147 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17148 free. Simplify list management for _LIBC case.
17149
79662d42
JM
171502012-06-21 Joseph Myers <joseph@codesourcery.com>
17151
b7abb4bf
JM
17152 [BZ #14273]
17153 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17154 Clear sign bit of 64-bit integer value before comparing against
17155 overflow value.
17156
79662d42
JM
17157 * sysdeps/mach/configure: Regenerated.
17158
1f150908
L
171592012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17160
17161 [BZ #14278]
17162 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17163
28363bbf
JL
171642012-06-21 Jeff Law <law@redhat.com>
17165
17166 [BZ #13882]
17167 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17168 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17169 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17170 * elf/dl-open.c (dl_open_worker): Likewise.
17171
09615db4
CD
171722012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17173
17174 * scripts/list-sources.sh: Scan PORTS for translations.
17175 * po/libc.pot: Regenerated.
17176
2174c6dd
AJ
171772012-06-21 Andreas Jaeger <aj@suse.de>
17178
17179 [BZ #12194]
17180 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17181 warning.
17182 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17183 * bits/byteswap-16.h (__bswap_16): Likewise.
17184 * bits/byteswap.h (__bswap_constant_16): Likewise.
17185
3ee947b1
L
171862012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17187
17188 [BZ #14117]
a2f34833
L
17189 * sysdeps/i386/fpu_control.h: Removed.
17190 * sysdeps/x86_64/fpu_control.h: Moved to ...
17191 * sysdeps/x86/fpu_control.h: Here.
17192
3ee947b1
L
17193 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17194 (_FPU_SETCW): Likewise.
17195
ed1825f8
L
171962012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17197
25f1282a
L
17198 [BZ #14117]
17199 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17200 * sysdeps/x86/fpu/bits/mathinline.h: This.
17201 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17202
ed1825f8
L
17203 [BZ #14050]
17204 [BZ #14117]
17205 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17206 functions if __x86_64__ is defined.
17207
36d54b74
CLT
172082012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17209
17210 * string/endian.h: Add !__ASSEMBLER__ condition for including
17211 conversion interfaces.
17212
10285c21
JM
172132012-06-15 Joseph Myers <joseph@codesourcery.com>
17214
17215 [BZ #14241]
17216 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17217 of ABS(x) in calculating zero to negative powers other than odd
17218 integers.
17219 * math/libm-test.inc (pow_test): Add more tests.
17220
06c5abbd
AJ
172212012-06-15 Andreas Jaeger <aj@suse.de>
17222
17223 * manual/contrib.texi (Contributors): Update entry of Liubov
17224 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17225 Machado Filho.
17226
a3aeac40
CH
172272012-06-15 Cyril Hrubis <metan@ucw.cz>
17228
17229 * string/string.h: Add __wur to GNU version of strerror_r.
17230
49bdf4c1
L
172312012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17232
17233 [BZ #14229]
17234 * string/Makefile (tests): Add tst-strtok_r.
17235 * string/tst-strtok_r.c: New file.
17236 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17237 RAX_LP/RDX_LP on SAVE_PTR.
17238
834f9b8d
RM
172392012-06-14 Roland McGrath <roland@hack.frob.com>
17240
17241 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17242
75fa1921
JM
172432012-06-14 Joseph Myers <joseph@codesourcery.com>
17244
17245 * libm_test.inc (csqrt_test): Allow more spurious underflow
17246 exceptions.
17247 (j0_test): Likewise.
17248 (j1_test): Likewise.
17249 (y0_test): Likewise.
17250 (y1_test): Likewise.
17251
771766df
CD
172522012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17253
17254 * po/Makefile (libc.pot): Use UTF-8 charset.
17255
ceb9e56b
PP
172562012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17257
17258 [BZ #14210]
17259 Suppress sign-conversion warning from FD_SET.
17260 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17261 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17262 not unsigned long int.
17263 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17264
ddb28975
L
172652012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17266
17267 [BZ #14050]
17268 [BZ #14117]
17269 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17270 __extern_always_inline instead of __extern_inline.
17271 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17272 (__signbit): Likewise.
17273 (__signbitl): Support C++ namespace.
17274 (lrintf): New inline function.
17275 (lrint): Likewise.
17276 (llrintf): Likewise.
17277 (llrint): Likewise.
17278 (fmaxf): Likewise.
17279 (fmax): Likewise.
17280 (fminf): Likewise.
17281 (fmin): Likewise.
17282 (rint): Likewise.
17283 (rintf): Likewise.
17284 (ceil): Likewise.
17285 (ceilf): Likewise.
17286 (floor): Likewise.
17287 (floorf): Likewise.
17288 (nearbyint): Likewise.
17289 (nearbyintf): Likewise.
17290
d7b4fb26
TS
172912012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17292
17293 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17294 non-default versions.
17295
eb55f5c2
RM
172962012-06-11 Roland McGrath <roland@hack.frob.com>
17297
17298 [BZ #14218]
17299 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17300
366af02c
TS
173012012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17302
99ff6e5c
TS
17303 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17304 (FE_UPWARD, FE_DOWNWARD): Don't define.
17305 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17306 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17307
366af02c
TS
17308 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17309 reading it.
17310 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17311 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17312
793ea851
KK
173132012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17314
17315 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17317 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17318 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17319
a728a38f
L
173202012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17321
17322 [BZ #14117]
c08010c7
L
17323 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17324 * sysdeps/i386/fpu/Implies: New file.
17325 * sysdeps/x86_64/fpu/Implies: Likewise.
17326 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17327 * sysdeps/x86/fpu/bits/fenv.h: This.
17328
a728a38f
L
17329 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17330 __SSE_MATH__.
17331
6e230d11
SP
173322012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17333
17334 [BZ #14134]
17335 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17336 character 0xffff that matches the last element of the
17337 conversion table.
17338
1b671feb
AZ
173392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17340
17341 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17342 fmodl commit.
17343
6043738b
AZ
173442012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17345
17346 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17347 values higher than 25.6283.
17348
34ae0b32
AZ
173492012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17350
17351 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17352 subnormal exponent extraction and add some __builtin_expect.
17353 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17354 Fix for subnormal mantissa calculation.
17355
1214ec8f
MF
173562012-06-04 Mike Frysinger <vapier@gentoo.org>
17357
17358 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17359 cpu2 is -1 and errno is not ENOSYS.
17360
f3d1f93c
L
173612012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17362
17363 [BZ #14117]
0e4a3cd7
L
17364 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17365 * sysdeps/x86/bits/string.h: This.
17366 * sysdeps/x86_64/bits/string.h: Removed.
17367
6704c645
L
17368 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17369 if not compiling for x86-64, but compiling for >= i486.
17370
48495318
L
17371 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17372 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17373
14adcbfc
L
17374 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17375 New macro from Linux kernel 3.4.0.
17376 (FP_XSTATE_MAGIC2): Likewise.
17377 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17378 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17379 (struct _fpx_sw_bytes): New struct.
17380 (struct _xsave_hdr): Likewise.
17381 (struct _ymmh_state): Likewise.
17382 (struct _xstate): Likewise.
17383
68e408ab
L
17384 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17385 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17386 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17387 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17388 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17389 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17390
f3d1f93c
L
17391 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17392 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17393 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17394 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17395 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17396 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17397
d9dc34cd
TMQMF
173982012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17399
17400 [BZ #13743]
17401 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17402 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17403 (sysdep_headers): Include sys/platform/ppc.h.
17404 * sysdeps/powerpc/test-gettimebase.c: Test for
17405 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17406 * manual/Makefile (appendices): Include platform.texi.
17407 * manual/contrib.texi (Contributors): Update @node pointers.
17408 * manual/maint.texi (Maintenance): Likewise.
17409 (Platform): New node.
17410 * manual/platform.texi: New file. Document the new features.
17411
4af3879c
SP
174122012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17413 Jakub Jelinek <jakub@redhat.com>
17414
17415 [BZ #14188]
17416 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17417 where __builtin_expect is unavailable.
17418
2fd6ff13
DM
174192012-06-03 David S. Miller <davem@davemloft.net>
17420
17421 * stdlib/longlong.h: Updated from GCC.
17422
173f7220
AS
174232012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17424
17425 [BZ #14042]
17426 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17427 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17428 __mcount_internal.
17429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17430 (GLIBC_2.16): Likewise.
17431
f34a1c6f
L
174322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17433
17434 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17435
88a4576f
JM
174362012-06-01 Joseph Myers <joseph@codesourcery.com>
17437
ea32bcdd
JM
17438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17439 (default-abi): New variable.
17440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17441 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17442 variable.
17443 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17444 Likewise.
17445 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17446 Likewise.
17447 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17448 Likewise.
17449
88a4576f
JM
17450 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17451 definition. Document in comment.
17452
402fe938
DM
174532012-06-01 David S. Miller <davem@davemloft.net>
17454
17455 * stdlib/longlong.h: Updated from GCC.
17456
3553723f
L
174572012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17458
17459 [BZ #14117]
3bd872c4
L
17460 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17461 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17462 sys/debugreg.h sys/io.h here.
17463 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17464 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17465 sys/io.h.
17466 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17467 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17468 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17469 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17470 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17471 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17472
3553723f
L
17473 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17474 Define only if __x86_64__ is defined.
17475
4842e4fe
JM
174762012-06-01 Joseph Myers <joseph@codesourcery.com>
17477
c5bfe3d5
JM
17478 [BZ #14048]
17479 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17480 Use int64_t for variable i.
17481 * math/libm-test.inc (fmod_test): Add more tests.
17482
4842e4fe
JM
17483 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17484 z computation is not scheduled after fetestexcept.
17485 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17486 Use math_force_eval instead of asm to ensure calculation scheduled
17487 before exception test.
17488 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17489 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17490
efb73488
AJ
174912012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17492
17493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17494 computation is not scheduled after fetestexcept.
17495
29bcce7c
L
174962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17497
17498 [BZ #14117]
17499 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17500 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17501
73a68f94
AZ
175022012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17503
17504 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17505 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17506
67b6df78
L
175072012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17508
edf2933a 17509 [BZ #14117]
ebc64a18
L
17510 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17511 <bits/wordsize.h>.
17512 (__WCHAR_MIN): Support __WORDSIZE == 64.
17513 (__WCHAR_MAX): Likewise.
17514
edf2933a
L
17515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17516 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17517
57c6cf40
L
17518 [BZ #14183]
17519 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17520 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17521
67b6df78 17522 [BZ #14117]
8eb6281e
L
17523 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17524 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17525
aac639f4
L
17526 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17527 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17528
67b6df78
L
17529 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17530 Defined to 1 if __x86_64__ isn't defined.
17531 (_STAT_VER_LINUX_OLD): New.
17532 (st_atime): Remove duplicate.
17533 (st_mtime): Likewise.
17534 (st_ctime): Likewise.
17535
1c2cfe81
DM
175362012-05-31 David S. Miller <davem@davemloft.net>
17537
17538 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17539 entries.
17540
5be8418c
AS
175412012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17542
e7725326
AS
17543 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17544 gen-libm-test.pl.
17545
5be8418c
AS
17546 [BZ #14132]
17547 * elf/dl-reloc.c: Include <_itoa.h>.
17548 (_dl_reloc_bad_type): Remove use of INTUSE.
17549 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17550 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17551 * stdio-common/psiginfo.c (psiginfo): Likewise.
17552 * stdio-common/psignal.c (psignal): Likewise.
17553 * string/strsignal.c (strsignal): Likewise.
17554 * include/signal.h (_sys_siglist): Declare hidden proto.
17555 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17556 INTVARDEF with libc_hidden_data_def.
17557 * stdio-common/itoa-udigits.c: Likewise.
17558 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17559 (_itoa_lower_digits_internal): Remove declaration.
17560 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17561 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17562 (_sys_sigabbrev_internal): Remove aliases.
17563 (_sys_siglist): Define hidden alias.
17564
507352f1
MT
175652012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17566
17567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17568 bits/sysctl.h.
17569
42bbb1c3
L
175702012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17571
17572 [BZ #14117]
6bd784b6
L
17573 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17574 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17575
8bca20f0
L
17576 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17577 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17578 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17579 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17580 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17581 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17582
f9e890a9
L
17583 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17584 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17585 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17586
471101a1
L
17587 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17588 with __addr.
17589 (insw): Likewise.
17590 (insl): Likewise.
17591 (outsb): Likewise.
17592 (outsw): Likewise.
17593 (outsl): Likewise.
17594
6451c862
L
17595 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17596 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17597 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17598
a254b8c9
L
17599 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17600 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17601 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17602 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17603 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17604 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17605
b8dfdd92
L
17606 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17607 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17608
578cd270
L
17609 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17610 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17611
de662f5f
L
17612 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17613 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17614 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17615
25653439
L
17616 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17617 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17618 to ...
17619 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17620
6bad24a0
L
17621 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17622 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17623 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17624
42bbb1c3
L
17625 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17626 for x86-64.
17627 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17628
2d10d547
JM
176292012-05-31 Joseph Myers <joseph@codesourcery.com>
17630
17631 * math/math.h (M_El): Use two more decimal places.
17632 (M_LOG2El): Likewise.
17633 (M_LOG10El): Likewise.
17634 (M_LN2l): Likewise.
17635 (M_LN10l): Likewise.
17636 (M_PIl): Likewise.
17637 (M_PI_2l): Likewise.
17638 (M_PI_4l): Likewise.
17639 (M_1_PIl): Likewise.
17640 (M_2_PIl): Likewise.
17641 (M_2_SQRTPIl): Likewise.
17642 (M_SQRT2l): Likewise.
17643 (M_SQRT1_2l): Likewise.
17644
f230c29b
DM
176452012-05-31 David S. Miller <davem@davemloft.net>
17646
17647 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17648 values between float registers.
17649 * sysdeps/sparc/sparc64/memset.S: Likewise.
17650 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17651
fed806c3
MF
176522012-05-31 Mike Frysinger <vapier@gentoo.org>
17653
17654 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17655 -D_FORTIFY_SOURCE=1.
17656 (CPPFLAGS-tst-longjmp_chk.c): Define.
17657 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17658 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17659 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17660 CFLAGS-tst-wchar-h.c.
17661
30917259
MP
176622012-05-31 Marek Polacek <polacek@redhat.com>
17663
17664 [BZ #14132]
17665 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17666 __endmntent_internal): Remove declaration.
17667 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17668 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17669 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17670
1c58d5dc
DM
176712012-05-30 David S. Miller <davem@davemloft.net>
17672
17673 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17674 (___Q_simulate_exceptions): Use real FP ops rather than writing
17675 into the %fsr.
17676 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17677 Likewise.
17678
7dc00e0d
L
176792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17680
17681 [BZ #14117]
0bd53985
L
17682 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17683 * sysdeps/x86/bits/xtitypes.h: This.
17684
3a257e66
L
17685 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17686 * sysdeps/x86/bits/wordsize.h: This.
17687
62f62904
L
17688 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17689 * sysdeps/x86/bits/huge_vall.h: This.
17690
404fe9d9
L
17691 * sysdeps/i386/bits/select.h: Removed.
17692 * sysdeps/x86_64/bits/select.h: Renamed to ...
17693 * sysdeps/x86/bits/select.h: This.
17694
d48d0446
L
17695 * sysdeps/i386/bits/setjmp.h: Removed.
17696 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17697 * sysdeps/x86/bits/setjmp.h: This.
17698
7dc00e0d
L
17699 * sysdeps/i386/bits/mathdef.h: Removed.
17700 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17701 * sysdeps/x86/bits/mathdef.h: This.
17702
03277f8f
AS
177032012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17704
17705 [BZ #14132]
17706 * include/sys/socket.h (__connect_internal)
17707 (__libc_sa_len_internal): Remove declaration.
17708 (__connect, __libc_sa_len): Declare hidden_proto.
17709 (SA_LEN): Remove use of INTUSE.
17710 * socket/connect.c: Add libc_hidden_def.
17711 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17712 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17713 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17714 alias.
17715 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17716 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17717 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17718 of adding _internal alias.
17719
13764867
L
177202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17721
17722 [BZ #14117]
6bd97696
L
17723 * sysdeps/i386/bits/link.h: Removed.
17724 * sysdeps/i386/bits/linkmap.h: Likewise.
17725 * sysdeps/x86_64/bits/link.h: Renamed to ...
17726 * sysdeps/x86/bits/link.h: This.
17727 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17728 * sysdeps/x86/bits/linkmap.h: This.
17729
f726f0bb
L
17730 * sysdeps/i386/bits/endian.h: Removed.
17731 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17732 * sysdeps/x86/bits/endian.h: This.
17733
13764867
L
17734 * sysdeps/i386/bits/byteswap.h: Removed.
17735 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17736 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17737 * sysdeps/x86/bits/byteswap.h: This.
17738 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17739 * sysdeps/x86/bits/byteswap-16.h: This.
17740 * sysdeps/i386/Implies: Add x86.
17741 * sysdeps/x86_64/Implies: Likewise.
17742
ae251b0b
DM
177432012-05-30 David S. Miller <davem@davemloft.net>
17744
17745 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17746 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17747 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17748 (FP_TRAPPING_EXCEPTIONS): Define.
17749 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17750 (FP_TRAPPING_EXCEPTIONS): Define.
17751 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17752 subnormals only when inexact has been signalled or underflow
17753 exceptions are enabled.
17754 (_FP_PACK_CANONICAL): Likewise.
17755
d5c90867
L
177562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17757
17758 [BZ #14183]
17759 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17760 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17761
63f1549e
RH
177622012-05-30 Richard Henderson <rth@twiddle.net>
17763
8d8f2279
RH
17764 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17765 with #ifndef NOT_IN_libc.
17766
63f1549e
RH
17767 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17768 marked to avoid plt entry.
17769
0ab0291b
L
177702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17771
17772 [BZ #14112]
17773 * Makeconfig (default-abi): New macro.
17774 (abi-includes): Likewise.
17775 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17776 $(abi-$(default-abi)-lib-soname) for soname if defined.
17777 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17778 abi-variants.
17779 * Makefile (installed-stubs): Likewise.
17780 * include/stubs-biarch.h: Removed.
17781 * scripts/lib-names.awk: Only handle one library at a time.
17782 * scripts/soversions.awk: Remove WORDSIZE support.
17783 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17784 entries.
17785 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17786 Removed.
17787 (syscall-list-default-condition): Likewise.
17788 (syscall-list-default-condition): Likewise.
17789 (syscall-list-includes): Likewise.
17790 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17791 syscall-list-* with abi-*. Handle undefined abi-variants.
17792 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17793 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17794 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17795 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17796 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17797 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17798 Removed.
17799 (syscall-list-32-options): Likewise.
17800 (syscall-list-32-condition): Likewise.
17801 (syscall-list-64-options): Likewise.
17802 (syscall-list-64-condition): Likewise.
17803 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17804 macro.
17805 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17806 Renamed to ...
17807 (abi-*): This.
17808 (abi-64-ld-soname): New macro.
17809 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17810 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17811 Renamed to ...
17812 (abi-*): This.
17813 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17814 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17815
4da0431d
JM
178162012-05-30 Joseph Myers <joseph@codesourcery.com>
17817
3a85279c
JM
17818 * sysdeps/unix/sysv/linux/kernel-features.h
17819 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17820 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17821 include <kernel-features.h>.
17822 [!__NR_ftruncate64]: Remove conditional code.
17823 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17824 [__NR_ftruncate64]: Make code unconditional.
17825 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17826 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17827 include <kernel-features.h>.
17828 [!__NR_ftruncate64]: Remove conditional code.
17829 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17830 [__NR_ftruncate64]: Make code unconditional.
17831 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17833 include <kernel-features.h>.
17834 [!__NR_ftruncate64]: Remove conditional code.
17835 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17836 [__NR_ftruncate64]: Make code unconditional.
17837 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17839 include <kernel-features.h>.
17840 [!__NR_ftruncate64]: Remove conditional code.
17841 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17842 [__NR_ftruncate64]: Make code unconditional.
17843 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17844
4da0431d
JM
17845 * configure.in (libc_cv_fpie): Weaken to a compile test using
17846 LIBC_TRY_CC_OPTION.
17847 * configure: Regenerated.
17848
11ef492c
AK
178492012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17850
17851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17855 Refreshed.
17856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17862 Refreshed.
17863
d66ef399
DM
178642012-05-27 David S. Miller <davem@davemloft.net>
17865
17866 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17867 (___Q_zero): New.
17868 (__Q_simulate_exceptions): Return void. Change to simulate
17869 exceptions by writing into the %fsr.
17870 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17871 (__Qp_handle_exceptions): Likewise.
17872 (numbers): Delete.
17873 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17874 __Qp_handle_exceptions.
17875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17876 __Qp_handle_exceptions.
17877 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17878 as unused and give dummy FP_RND_NEAREST initializer.
17879 (FP_INHIBIT_RESULTS): Define.
17880 (___Q_simulate_exceptions): Update declaration.
17881 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17882 formatting.
17883 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17884 as unused and give dummy FP_RND_NEAREST initializer.
17885 (__Qp_handle_exceptions): Update declaration.
17886 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17887 formatting.
17888
04fb54b5
TS
178892012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17890
17891 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17892 the temporary FPU control word.
17893 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17894 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17895 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17896 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17897 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17898 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17899 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17900 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17901 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17902 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17903 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17904
3f99608f
KK
179052012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17906
17907 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17908 fields.
17909
65a4de4e
CLT
179102012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17911
17912 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17913 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17914 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17915 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17916 Likewise.
17917 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17918 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17919 Likewise.
17920
15749d40
UD
179212012-05-27 Ulrich Drepper <drepper@gmail.com>
17922
17923 * po/h.po: Update from translation team.
17924
25dbcb27
AS
179252012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17926
3d3f8e55
AS
17927 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17928
25dbcb27
AS
17929 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17930 handling of denormals.
17931 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17932 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17933 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17934 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17935 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17936 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17938 Likewise.
17939
7ad47a80 179402012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17941
17942 [BZ #14152]
17943 * math/libm-test.inc (fma_test): Don't always expect underflow
17944 exception.
17945
9c6ea9fa
SP
179462012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17947
17948 [BZ #12416]
17949 * elf/tst-execstack.c: Include stackinfo.h.
17950 (do_test): Adjust test case to ensure that pthread_getattr_np
17951 behaviour remains the same after marking stack executable.
17952
a8239222
JM
179532012-05-25 Joseph Myers <joseph@codesourcery.com>
17954
17955 * sysdeps/unix/sysv/linux/kernel-features.h
17956 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17957 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17958 kernel-features.h.
17959 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17960 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17961 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17962 kernel-features.h.
17963 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17964 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17965
918b5606
L
179662012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17967
17968 * configure.in: Define the default includes to being none.
17969 * configure: Regenerated.
17970
3a097cc7
RM
179712012-05-25 Roland McGrath <roland@hack.frob.com>
17972
8422c9a5
RM
17973 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17974 * sysdeps/x86_64/setjmp.S: Likewise.
17975 * sysdeps/i386/bsd-setjmp.S: Likewise.
17976 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17977 * sysdeps/i386/setjmp.S: Likewise.
17978 * sysdeps/i386/__longjmp.S: Likewise.
17979 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17980 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17981
3a097cc7
RM
17982 * include/stap-probe.h: New file.
17983 * configure.in: Handle --enable-systemtap.
17984 * configure: Regenerated.
17985 * config.h.in (USE_STAP_PROBE): New #undef.
17986 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17987 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17988 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17989
21708942
JM
179902012-05-25 Joseph Myers <joseph@codesourcery.com>
17991
17992 [BZ #13717]
17993 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17994 to 2.4.0 where earlier.
17995 * sysdeps/unix/sysv/linux/configure: Regenerated.
17996 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17997 <kernel-features.h>.
17998 [__ASSUME_32BITUIDS]: Make code unconditional.
17999 [!__ASSUME_32BITUIDS]: Remove conditional code.
18000 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18001 <kernel-features.h>.
18002 [__ASSUME_32BITUIDS]: Make code unconditional.
18003 [!__ASSUME_32BITUIDS]: Remove conditional code.
18004 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18005 [__ASSUME_32BITUIDS]: Make code unconditional.
18006 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18007 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
18008 <kernel-features.h>.
18009 [__ASSUME_32BITUIDS]: Make code unconditional.
18010 [!__ASSUME_32BITUIDS]: Remove conditional code.
18011 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
18012 <kernel-features.h>.
18013 [__ASSUME_32BITUIDS]: Make code unconditional.
18014 [!__ASSUME_32BITUIDS]: Remove conditional code.
18015 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
18016 <kernel-features.h>.
18017 [__ASSUME_32BITUIDS]: Make code unconditional.
18018 [!__ASSUME_32BITUIDS]: Remove conditional code.
18019 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
18020 <kernel-features.h>.
18021 [__ASSUME_32BITUIDS]: Make code unconditional.
18022 [!__ASSUME_32BITUIDS]: Remove conditional code.
18023 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18024 <kernel-features.h>.
18025 [__ASSUME_32BITUIDS]: Make code unconditional.
18026 [!__ASSUME_32BITUIDS]: Remove conditional code.
18027 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18028 <kernel-features.h>.
18029 [__ASSUME_32BITUIDS]: Make code unconditional.
18030 [!__ASSUME_32BITUIDS]: Remove conditional code.
18031 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
18032 <kernel-features.h>.
18033 [__ASSUME_32BITUIDS]: Make code unconditional.
18034 [!__ASSUME_32BITUIDS]: Remove conditional code.
18035 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18036 <kernel-features.h>.
18037 [__ASSUME_32BITUIDS]: Make code unconditional.
18038 [!__ASSUME_32BITUIDS]: Remove conditional code.
18039 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18040 <kernel-features.h>.
18041 [__ASSUME_32BITUIDS]: Make code unconditional.
18042 [!__ASSUME_32BITUIDS]: Remove conditional code.
18043 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
18044 <kernel-features.h>.
18045 [__ASSUME_32BITUIDS]: Make code unconditional.
18046 [!__ASSUME_32BITUIDS]: Remove conditional code.
18047 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
18048 <kernel-features.h>.
18049 [__NR_setresgid] (__setresgid): Do not declare.
18050 [__ASSUME_32BITUIDS]: Make code unconditional.
18051 [!__ASSUME_32BITUIDS]: Remove conditional code.
18052 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
18053 <kernel-features.h>.
18054 [__NR_setresuid] (__setresuid): Do not declare.
18055 [__ASSUME_32BITUIDS]: Make code unconditional.
18056 [!__ASSUME_32BITUIDS]: Remove conditional code.
18057 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.c: Do not include
18074 <kernel-features.h>.
18075 [__ASSUME_32BITUIDS]: Make code unconditional.
18076 [!__ASSUME_32BITUIDS]: Remove conditional code.
18077 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18078 <kernel-features.h>.
18079 [__ASSUME_32BITUIDS]: Make code unconditional.
18080 [!__ASSUME_32BITUIDS]: Remove conditional code.
18081 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18082 <kernel-features.h>.
18083 [__ASSUME_32BITUIDS]: Make code unconditional.
18084 [!__ASSUME_32BITUIDS]: Remove conditional code.
18085 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18086 <kernel-features.h>.
18087 [__ASSUME_32BITUIDS]: Make code unconditional.
18088 [!__ASSUME_32BITUIDS]: Remove conditional code.
18089 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18090 <kernel-features.h>.
18091 [__ASSUME_32BITUIDS]: Make code unconditional.
18092 [!__ASSUME_32BITUIDS]: Remove conditional code.
18093 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18094 <kernel-features.h>.
18095 [__ASSUME_32BITUIDS]: Make code unconditional.
18096 [!__ASSUME_32BITUIDS]: Remove conditional code.
18097 * sysdeps/unix/sysv/linux/kernel-features.h
18098 (__ASSUME_SETRESUID_SYSCALL): Remove.
18099 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18100 (__ASSUME_32BITUIDS): Likewise.
18101 (__ASSUME_LDT_WORKS): Likewise.
18102 (__ASSUME_O_DIRECTORY): Likewise.
18103 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18104 architecture but not kernel version.
18105 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18106 (__ASSUME_MMAP2_SYSCALL): Likewise.
18107 (__ASSUME_STAT64_SYSCALL): Likewise.
18108 (__ASSUME_IPC64): Likewise.
18109 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18110 <kernel-features.h>.
18111 [__ASSUME_32BITUIDS]: Make code unconditional.
18112 [!__ASSUME_32BITUIDS]: Remove conditional code.
18113 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18114 <kernel-features.h>.
18115 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18116 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18117 132096]: Remove conditional code.
18118 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18119 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
18124 <kernel-features.h>.
18125 [__ASSUME_32BITUIDS]: Make code unconditional.
18126 [!__ASSUME_32BITUIDS]: Remove conditional code.
18127 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18128 <kernel-features.h>.
18129 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18130 unconditional.
18131 (__setresgid): Do not declare.
18132 [__ASSUME_32BITUIDS]: Make code unconditional.
18133 [!__ASSUME_32BITUIDS]: Remove conditional code.
18134 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18135 <kernel-features.h>.
18136 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18137 unconditional.
18138 (__setresuid): Do not declare.
18139 [__ASSUME_32BITUIDS]: Make code unconditional.
18140 [!__ASSUME_32BITUIDS]: Remove conditional code.
18141 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18142 <kernel-features.h>.
18143 [__ASSUME_32BITUIDS]: Make code unconditional.
18144 [!__ASSUME_32BITUIDS]: Remove conditional code.
18145 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18146 <kernel-features.h>.
18147 [__ASSUME_32BITUIDS]: Make code unconditional.
18148 [!__ASSUME_32BITUIDS]: Remove conditional code.
18149
a386f1cc
RH
181502012-05-25 Richard Henderson <rth@twiddle.net>
18151
18152 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18153 dl_hwcap to ifunc resolver.
18154 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18155 elf_ifunc_invoke.
18156 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18157 dl_hwcap to ifunc resolver.
18158 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18159
b6550497
JM
181602012-05-24 Joseph Myers <joseph@codesourcery.com>
18161
18162 [BZ #14153]
18163 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18164 for |x| <= 2**-26, not 2**-57.
18165 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18166 exception.
18167
b0bc23a1
JL
181682012-05-24 Jeff Law <law@redhat.com>
18169
18170 * stdio-common/Makefile (tests): Add bug25.
18171 * stdio-common/bug25.c: New test.
18172
347c92e9
L
181732012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18174
18175 [BZ #13576]
18176 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18177 multiple of MALLOC_ALIGNMENT in size.
18178 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18179
6bcc8b3f
JM
181802012-05-24 Joseph Myers <joseph@codesourcery.com>
18181
18182 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18183 Require >= 256.
18184 (FILENAME_MAX): Use macro-int-constant.
18185 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18186 (_IOFBF): Use macro-int-constant.
18187 (_IOLBF): Likewise.
18188 (_IONBF): Likewise.
18189 (SEEK_CUR): Likewise.
18190 (SEEK_END): Likewise.
18191 (SEEK_SET): Likewise.
18192 (TMP_MAX): Likewise.
18193 (EOF): Use macro-int-constant. Require < 0.
18194 (NULL): Use macro-constant. Require == 0.
18195 (stdin): Require type to be FILE *.
18196 (stdout): Likewise.
18197 (stderr): Likewise.
18198 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18199 macro-int-constant.
18200 (EXIT_SUCCESS): Likewise.
18201 (NULL): Use macro-constant. Require == 0.
18202 (RAND_MAX): Use macro-int-constant.
18203 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18204 [C99-based standards] (strtof): Require function.
18205 [C99-based standards] (strtold): Likewise.
18206 [C99-based standards] (strtoll): Likewise.
18207 [C99-based standards] (strtoull): Likewise.
18208 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18209 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18210 [ISO || ISO99 || ISO11] (math.h): Likewise.
18211 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18212 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18213 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18214
d18ea0c5
AS
182152012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18216
18217 [BZ #14132]
56d25bb8
AS
18218 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18219 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18220 * intl/dgettext.c (DCGETTEXT): Likewise.
18221 * intl/gettext.c (DCGETTEXT): Likewise.
18222 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18223 * posix/regex_internal.h (gettext): Likewise.
18224 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18225 Remove declaration.
18226 * include/argz.h (__argz_count_internal)
18227 (__argz_stringify_internal): Remove declaration.
18228 (__argz_count, __argz_stringify): Declare hidden proto.
18229 * intl/dcgettext.c: Remove use of INTDEF.
18230 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18231 * string/argz-stringify.c: Likewise.
18232 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18233 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18234 Declare hidden proto.
d18ea0c5
AS
18235 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18236 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18237 Declare hidden proto.
18238 * include/stdio.h (__asprintf_internal): Don't declare.
18239 (__asprintf): Don't define as macro. Declare hidden proto.
18240 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18241 (__fsetlocking): Declare hidden proto.
18242 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18243 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18244 hidden proto.
18245 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18246 (_IO_setlinebuf): Remove use of INTUSE.
18247 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18248 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18249 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18250 Remove declaration.
18251 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18252 (_IO_do_flush): Remove use of INTUSE.
18253 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18254 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18255 (_IO_adjust_column, _IO_least_wmarker)
18256 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18257 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18258 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18259 (_IO_default_doallocate, _IO_wdefault_doallocate)
18260 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18261 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18262 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18263 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18264 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18265 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18266 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18267 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18268 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18269 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18270 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18271 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18272 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18273 proto.
18274 (_IO_flush_all_internal, _IO_adjust_column_internal)
18275 (_IO_default_uflow_internal, _IO_default_finish_internal)
18276 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18277 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18278 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18279 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18280 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18281 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18282 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18283 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18284 (_IO_file_close_internal, _IO_file_close_it_internal)
18285 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18286 (_IO_file_init_internal, _IO_file_attach_internal)
18287 (_IO_file_fopen_internal, _IO_file_read_internal)
18288 (_IO_file_sync_internal, _IO_file_seek_internal)
18289 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18290 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18291 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18292 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18293 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18294 (_IO_list_all_internal, _IO_link_in_internal)
18295 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18296 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18297 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18298 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18299 (_IO_do_write_internal, _IO_padn_internal)
18300 (_IO_getline_info_internal, _IO_getline_internal)
18301 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18302 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18303 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18304 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18305 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18306 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18307 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18308 with libc_hidden_ver, remove use of INTUSE.
18309 * libio/genops.c: Likewise.
18310 * libio/freopen.c: Likewise.
18311 * libio/freopen64.c: Likewise.
18312 * libio/iofclose.c: Likewise.
18313 * libio/iofdopen.c: Likewise.
18314 * libio/iofflush.c: Likewise.
18315 * libio/iofflush_u.c: Likewise.
18316 * libio/iofgets.c: Likewise.
18317 * libio/iofgets_u.c: Likewise.
18318 * libio/iofopen.c: Likewise.
18319 * libio/iofopncook.c: Likewise.
18320 * libio/iofread.c: Likewise.
18321 * libio/iofread_u.c: Likewise.
18322 * libio/ioftell.c: Likewise.
18323 * libio/iofwrite.c: Likewise.
18324 * libio/iogetline.c: Likewise.
18325 * libio/iogets.c: Likewise.
18326 * libio/iogetwline.c: Likewise.
18327 * libio/iopadn.c: Likewise.
18328 * libio/iopopen.c: Likewise.
18329 * libio/ioseekoff.c: Likewise.
18330 * libio/ioseekpos.c: Likewise.
18331 * libio/iosetbuffer.c: Likewise.
18332 * libio/iosetvbuf.c: Likewise.
18333 * libio/ioungetc.c: Likewise.
18334 * libio/ioungetwc.c: Likewise.
18335 * libio/iovdprintf.c: Likewise.
18336 * libio/iovsprintf.c: Likewise.
18337 * libio/iovsscanf.c: Likewise.
18338 * libio/memstream.c: Likewise.
18339 * libio/obprintf.c: Likewise.
18340 * libio/oldfileops.c: Likewise.
18341 * libio/oldiofclose.c: Likewise.
18342 * libio/oldiofdopen.c: Likewise.
18343 * libio/oldiofopen.c: Likewise.
18344 * libio/oldiopopen.c: Likewise.
18345 * libio/oldstdfiles.c: Likewise.
18346 * libio/putc.c: Likewise.
18347 * libio/setbuf.c: Likewise.
18348 * libio/setlinebuf.c: Likewise.
18349 * libio/stdfiles.c: Likewise.
18350 * libio/strops.c: Likewise.
18351 * libio/vasprintf.c: Likewise.
18352 * libio/vscanf.c: Likewise.
18353 * libio/vsnprintf.c: Likewise.
18354 * libio/vswprintf.c: Likewise.
18355 * libio/wfiledoalloc.c: Likewise.
18356 * libio/wfileops.c: Likewise.
18357 * libio/wgenops.c: Likewise.
18358 * libio/wmemstream.c: Likewise.
18359 * libio/wstrops.c: Likewise.
18360 * libio/__fpurge.c: Likewise.
18361 * libio/__fsetlocking.c: Likewise.
18362 * assert/assert.c: Likewise.
18363 * debug/fgets_chk.c: Likewise.
18364 * debug/fgets_u_chk.c: Likewise.
18365 * debug/fread_chk.c: Likewise.
18366 * debug/fread_u_chk.c: Likewise.
18367 * debug/gets_chk.c: Likewise.
18368 * debug/obprintf_chk.c: Likewise.
18369 * debug/vasprintf_chk.c: Likewise.
18370 * debug/vdprintf_chk.c: Likewise.
18371 * debug/vsnprintf_chk.c: Likewise.
18372 * debug/vsprintf_chk.c: Likewise.
18373 * malloc/mtrace.c: Likewise.
18374 * misc/error.c: Likewise.
18375 * misc/syslog.c: Likewise.
18376 * stdio-common/asprintf.c: Likewise.
18377 * stdio-common/fxprintf.c: Likewise.
18378 * stdio-common/getw.c: Likewise.
18379 * stdio-common/isoc99_fscanf.c: Likewise.
18380 * stdio-common/isoc99_scanf.c: Likewise.
18381 * stdio-common/isoc99_vfscanf.c: Likewise.
18382 * stdio-common/isoc99_vscanf.c: Likewise.
18383 * stdio-common/isoc99_vsscanf.c: Likewise.
18384 * stdio-common/printf-prs.c: Likewise.
18385 * stdio-common/printf_fp.c: Likewise.
18386 * stdio-common/printf_fphex.c: Likewise.
18387 * stdio-common/printf_size.c: Likewise.
18388 * stdio-common/putw.c: Likewise.
18389 * stdio-common/scanf.c: Likewise.
18390 * stdio-common/sprintf.c: Likewise.
18391 * stdio-common/tmpfile.c: Likewise.
18392 * stdio-common/vfprintf.c: Likewise.
18393 * stdio-common/vfscanf.c: Likewise.
18394 * stdlib/strfmon_l.c: Likewise.
18395 * sunrpc/openchild.c: Likewise.
18396 * sunrpc/xdr_stdio.c: Likewise.
18397 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18398 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18399
d6c33fda
RM
184002012-05-24 Roland McGrath <roland@hack.frob.com>
18401
c1487492
RM
18402 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18403
18404 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18405 in the third column, to generate for the shared library an IFUNC
18406 that uses _dl_vdso_vsym.
18407 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18408 * Makeconfig (object-suffixes-noshared): New variable.
18409
18410 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18411 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18412 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18413 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18414
d6c33fda
RM
18415 [BZ #14132]
18416 * include/sys/time.h (__gettimeofday): Remove macro.
18417 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18418 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18419 Remove INTDEF.
18420 (__gettimeofday): Add libc_hidden_def.
18421 (gettimeofday): Add libc_hidden_weak.
18422 * sysdeps/mach/gettimeofday.c: Likewise.
18423 * sysdeps/posix/gettimeofday.c: Likewise.
18424 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18425 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18427 (__gettimeofday_internal): Remove strong_alias.
18428 (__gettimeofday): Add libc_hidden_def.
18429 (gettimeofday): Add libc_hidden_weak.
18430 * sysdeps/unix/syscalls.list (gettimeofday):
18431 Remove __gettimeofday_internal alias.
18432
b5a2bbe6
L
184332012-05-24 Daniel Jacobowitz <drow@false.org>
18434 H.J. Lu <hongjiu.lu@intel.com>
18435
18436 [BZ #12495]
18437 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18438 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18439 (largebin_index_32_big): New.
18440 (largebin_index): Use it for 16-byte alignment.
18441 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18442 correction with front_misalign.
18443
cfba4fda
L
184442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18445
7f907421
L
18446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18448 Likewise.
18449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18450 Likewise.
18451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18452 Likewise.
18453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18454 Likewise.
18455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18456 Likewise.
18457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18458 Likewise.
18459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18460 Likewise.
18461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18462 Likewise.
18463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18464 Likewise.
18465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18466 Likewise.
18467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18468 Likewise.
18469 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18470 Likewise.
18471
cfba4fda
L
18472 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18473 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18474
80bad0cc
JM
184752012-05-24 Joseph Myers <joseph@codesourcery.com>
18476
7a25eb06
JM
18477 [BZ #10846]
18478 [BZ #14036]
18479 * math/libm-test.inc (exp_test): Add test from bug 14036.
18480 (pow_test): Add test from bug 10846.
18481
795405f9
JM
18482 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18483 and other flags.
18484 (special_function): Do not include flags in test name.
18485 (parse_args): Likewise.
18486 * sysdeps/i386/fpu/libm-test-ulps: Update.
18487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18488 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18489 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18491
80bad0cc
JM
18492 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18493 exceptions.
18494 * math/libm-test.inc ("Philosophy"): Update comment about
18495 exception testing.
18496 (UNDERFLOW_EXCEPTION): New macro.
18497 (UNDERFLOW_EXCEPTION_OK): Likewise.
18498 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18499 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18500 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18501 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18502 (INVALID_EXCEPTION_OK): Update value.
18503 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18504 (OVERFLOW_EXCEPTION_OK): Likewise.
18505 (IGNORE_ZERO_INF_SIGN): Likewise.
18506 (test_exceptions): Handle underflow exceptions.
18507 (acos_test): Update for underflow exception expectations.
18508 (cexp_test): Likewise.
18509 (clog_test): Likewise.
18510 (clog10_test): Likewise.
18511 (csqrt_test): Likewise.
18512 (ctan_test): Likewise.
18513 (ctanh_test): Likewise.
18514 (exp_test): Likewise.
18515 (exp10_test): Likewise.
18516 (exp2_test): Likewise.
18517 (expm1_test): Likewise.
18518 (fma_test): Likewise.
18519 (j0_test): Likewise.
18520 (jn_test): Likewise.
18521 (nexttoward_test): Likewise.
18522 (pow_test): Likewise.
18523 (scalbn_test): Likewise.
18524 (scalbln_test): Likewise.
18525 (tan_test): Likewise.
18526 (y1_test): Likewise.
18527 * sysdeps/i386/fpu/libm-test-ulps: Update.
18528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18529
9e0e3d0b
DM
185302012-05-23 David S. Miller <davem@davemloft.net>
18531
18532 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18533 (__libc_sigaction): Remove unused local variables.
18534
ccd0a08f
L
185352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18536
18537 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18538
62bdf9a6
PE
185392012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18540
f8591f80
PE
18541 mktime: avoid signed integer overflow
18542 * time/mktime.c (__mktime_internal): Do not mishandle the case
18543 where diff == INT_MIN.
18544
94c7d826
PE
18545 mktime: simplify computation of average
18546 * time/mktime.c (ranged_convert): Use new time_t_avg function
18547 instead of rolling our own (probably-slower) code.
18548
ce73d683
PE
18549 mktime: do not assume signed right shift propagates sign bit
18550 * time/mktime.c (isdst_differ): New static function.
18551 (__mktime_internal): No need to normalize tm_isdst now.
18552 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18553 tm_isdst values.
18554
72a22e59
PE
18555 mktime: merge another wrapv change from gnulib
18556 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18557 from some compilers.
18558
68605433
PE
18559 mktime: remove incorrect attempt at unusual arithmetics
18560 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18561 The code didn't really work on such machines anyway.
18562 (TYPE_MINIMUM): Assume two's complement.
18563 (twos_complement_arithmetic): Verify that long_int and time_t
18564 are two's complement (or unsigned, in the latter case).
18565
03cf7fe3
PE
18566 mktime: check signed shifts on long_int and time_t, too
18567 * time/mktime.c (SHR): Check that shifts work as desired
18568 on the types long_int and time_t too, as SHR is used on
18569 such types.
18570
f04dfbc2
PE
18571 mktime: do not assume 'long' is wide enough
18572 * time/mktime.c (verify): Move decl up.
18573 (long_int): New type.
18574 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18575 to remove assumption in the code that 'long' is wide enough to
18576 store year values. This assumption is not true on x32 and on
18577 some non-glibc platforms.
18578
62bdf9a6
PE
18579 mktime: merge wrapv change from gnulib
18580 * time/mktime.c (WRAPV): New macro.
18581 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18582 (guess_time_tm, __mktime_internal): Do not assume that signed
18583 integer overflow wraps around; modern compilers generate code
18584 where this assumption is no longer valid.
18585
5e292e4f
L
185862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18587
18588 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18589 Replace "jmp L(pseudo_end)" with "ret".
18590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18591 Likewise.
18592
8caf8c87
AJ
185932012-05-23 Andreas Jaeger <aj@suse.de>
18594
18595 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18596 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18597
1a09dc56
AJ
185982012-05-23 Andreas Jaeger <aj@suse.de>
18599 Maximilian Attems <max@stro.at>
18600
18601 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18602 New macros.
18603
1c87aba0
L
186042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18605
18606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18607 code so that pseudo_end is just ret and the stack pointer is
18608 correct also for static library in error case.
18609
40e45bd5
JM
186102012-05-23 Joseph Myers <joseph@codesourcery.com>
18611
c2670533
JM
18612 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18613 move to syscalls.list.
18614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18618
40e45bd5
JM
18619 * manual/install.texi (Running make install): Do not mention Linux
18620 kernel version for which pt_chown is not needed.
18621 (Linux): Do not mention problems with nscd with 2.0 kernels.
18622 * INSTALL: Regenerated.
18623
be08eda5
AJ
186242012-05-23 Andreas Jaeger <aj@suse.de>
18625
18626 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18627 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18628 macro.
18629 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18630 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18631 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18632 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18633 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18634 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18635 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18636 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18637 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18638 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18639 * sysdeps/unix/sysv/linux/bits/in.h
18640 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18641
a6a056bb
RM
186422012-05-22 Roland McGrath <roland@hack.frob.com>
18643
18644 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18645 (PREPARE_VERSION): Just use assert instead, it will be elided
18646 under [NDEBUG] anyway.
18647
c9009328
L
186482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18649
18650 * sysdeps/unix/sysv/linux/Makefile: Include
18651 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18652 (sysdep_routines): Remove sysctl.
c9009328
L
18653 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18654 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18655 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18656 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18657 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18658
73338355
AJ
186592012-05-22 Andreas Jaeger <aj@suse.de>
18660
18661 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18662 that pseudo_end is just ret and the stack pointer is correct also
18663 for static library in error case.
18664
d44638b0
PP
186652012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18666
18667 [BZ #14122]
18668 * nss/nsswitch.c (defconfig_entries): New variable.
18669 (__nss_database_lookup): Don't leak defconfig entries.
18670 (nss_parse_service_list): Don't leak on error paths.
18671 (free_database_entries): New function.
18672 (free_defconfig): New function.
18673 (free_mem): Move common code to free_database_entries.
18674
31a39bd8
L
186752012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18676
da0331a8
L
18677 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18678 Add arch_prctl.
18679 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18680
31a39bd8
L
18681 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18682 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18684 New macro.
18685 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18686 (INTERNAL_SYSCALL_TYPES): Likewise.
18687 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18688 (LOAD_REGS_TYPES_[1-6]): Likewise.
18689 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18690 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18691
45470df3
AZ
186922012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18693
18694 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18695 copysignl for GLIBC_2_0.
18696 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18697 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18698 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18699 logbl for GLIBC_2_0.
18700 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18701 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18702
98a61bcb
L
187032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18704
a4f6e481
L
18705 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18706 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18707
f63d5db6
L
18708 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18709 Use "neg %eax".
18710
98a61bcb
L
18711 * time/mktime.c: Update copyright years.
18712
95770f14
PE
187132012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18714
6226efbd
PE
18715 mktime: merge comment-quoting-style change from gnulib
18716 * time/mktime.c: Quote 'like this' in comments.
18717 The GNU coding standards suggest that we no longer quote `like this',
18718 as "`" and "'" are typically rendered asymmetrically nowadays.
18719 The typical gnulib style is to quote 'like this' when quoting
18720 code, and "like this" when quoting English.
18721
b99e4f78
PE
18722 * time/mktime.c (compile-command): Add "-I.".
18723
643e01e6
PE
18724 mktime: merge mktime-internal.h change from gnulib
18725 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18726
2554247d
PE
18727 mktime: merge time_r change from gnulib
18728 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18729
826dd0ab
PE
18730 mktime: merge DEBUG change from gnulib
18731 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18732 case system <time.h> has a #define.
18733
bd83aabe
PE
18734 mktime: merge <sys/types.h> change from gnulib
18735 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18736 since <time.t> is now guaranteed to define time_t.
18737
95770f14
PE
18738 mktime: merge HAVE_CONFIG_H change from gnulib
18739 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18740
5e1a27a9
L
187412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18742
0e44a77e
L
18743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18744 Use "neg %eax".
18745
5e1a27a9
L
18746 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18747 __rlim_t cast.
18748 (struct rusage): Use anonymous union to pad each field to
18749 __syscall_slong_t.
18750
46259bec
DM
187512012-05-21 David S. Miller <davem@davemloft.net>
18752
18753 * Makefules (o-iterator): Remove .s cases.
18754 (compile-command.s): Delete.
18755 (COMPILE.s): Delete.
18756 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18757
59f0c22e
JM
187582012-05-21 Joseph Myers <joseph@codesourcery.com>
18759
18760 * configure.in (libc_cv_predef_stack_protector): Only consider
18761 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18762 * configure: Regenerated.
18763
20c07380
L
187642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18765
bbb3154b
L
18766 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18767 New macro. Use R*LP on int and pointer.
18768 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18769 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18770 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18771 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18772
20c07380
L
18773 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18774 [__WORDSIZE_TIME64_COMPAT32] instead of
18775 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18776 (struct utmp): Likewise.
18777 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18778 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18779 Renamed to ...
18780 (__WORDSIZE_TIME64_COMPAT32): This.
18781 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18782 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18783 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18784 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18785 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18786 (__WORDSIZE_TIME64_COMPAT32): New macro.
18787
d8d1017e
AJ
187882012-05-21 Andreas Jaeger <aj@suse.de>
18789
18790 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18791 only if [SHARED]. Add prototype for __wcschr_ia32.
18792
6c7fb145
RM
187932012-05-21 Roland McGrath <roland@hack.frob.com>
18794
18795 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18796 of %rbp unmolested in the jmp_buf while mangling the low bits.
18797 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18798 unmolested high bits of %rbp while demangling the low bits.
18799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18800
66274218
AJ
188012012-05-21 Andreas Jaeger <aj@suse.de>
18802
07c58f8f
AJ
18803 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18804 * sunrpc/svc_simple.c: Use it for registerrpc.
18805 * sunrpc/xcrypt.c: Use it for passwd2des.
18806
66274218
AJ
18807 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18808
61f65140
L
188092012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18810
18811 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18812 Don't define if [__SYSCALL_WORDSIZE != 32].
18813 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18814 New macro.
18815
5fefb436
AJ
188162012-05-21 Bruno Haible <bruno@clisp.org>
18817 Andreas Jaeger <aj@suse.de>
18818
18819 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18820 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18821 inptr and inend for must_buffer_ch.
18822 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18823 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18824 * stdio-common/Makefile (tests): Remove bug15.
18825 (bug15-ENV): Remove macro.
18826 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18827 anymore.
18828
d8e272ab
AJ
188292012-05-19 Andreas Jaeger <aj@suse.de>
18830 Roland McGrath <roland@hack.frob.com>
18831
18832 * manual/contrib.texi: Completely rewritten. It contains now an
18833 alphabetical list of contributors and their contributions.
18834
4a56a162
RH
188352012-05-21 Richard Henderson <rth@twiddle.net>
18836
18837 * misc/getauxval.c (__getauxval): Use unsigned long int.
18838 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18839 (getauxval): Use unsigned long int.
18840
d024d23c
L
188412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18842
18843 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18844
cbc00a03
RM
188452012-05-21 Roland McGrath <roland@hack.frob.com>
18846
18847 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18848 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18849 __alignof__ (long double).
18850
478143fa
AZ
188512012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18852
18853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18854
c7683a6d
RH
188552012-05-20 Richard Henderson <rth@twiddle.net>
18856
18857 * misc/getauxval.c: New file.
18858 * misc/sys/auxv.h: New file.
18859 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18860 (routines): Add getauxval.
18861 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18862 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18863 * elf/dl-sysdep.c (_dl_auxv): Remove.
18864 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18865 * elf/dl-support.c (_dl_auxv): New variable.
18866 (_dl_aux_init): Initialize it.
18867 * manual/startup.texi (Auxiliary Vector): New node.
18868 * sysdeps/generic/bits/hwcap.h: New file.
18869 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18870 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18871 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18872 * sysdeps/sparc/sysdep.h: ... here. Include it.
18873 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18874 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18876 Update.
c7683a6d
RH
18877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18880 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18881 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18882 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18885
a6f1845d
AZ
188862012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18887
18888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18889
cbcbe830
DM
188902012-05-19 David S. Miller <davem@davemloft.net>
18891
18892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18893
e0b16cc2
JM
188942012-05-19 Joseph Myers <joseph@codesourcery.com>
18895
18896 [BZ #14123]
18897 * math/s_ccosh.c: Include <float.h>
18898 (__ccosh): Avoid internal overflow calculating sinh and cosh
18899 values before multiplying by sin and cos values.
18900 * math/s_ccoshf.c: Likewise.
18901 * math/s_ccoshl.c: Likewise.
18902 * math/s_csin.c: Likewise.
18903 * math/s_csinf.c: Likewise.
18904 * math/s_csinl.c: Likewise.
18905 * math/s_csinh.c: Likewise.
18906 * math/s_csinhf.c: Likewise.
18907 * math/s_csinhl.c: Likewise.
18908 * math/libm-test.inc (ccos_test): Add more tests.
18909 (ccosh_test): Likewise.
18910 (csin_test): Likewise.
18911 (csinh_test): Likewise.
18912 * sysdeps/i386/fpu/libm-test-ulps: Update.
18913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18914
6ad13e08
L
189152012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18916
f66f0ce8
L
18917 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18918 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18919
6ad13e08
L
18920 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18921
b1d072a7
JM
189222012-05-19 Joseph Myers <joseph@codesourcery.com>
18923
18924 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18925 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18926 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18927 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18928 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18929 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18930 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18931 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18932 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18933 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18934 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18935 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18936 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18937 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18938 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18939 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18940 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18941 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18942 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18943 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18944 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18945 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18946 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18947 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18948 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18949 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18950 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18951 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18952 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18953 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18954 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18955
9eae47cb
AJ
189562012-05-18 Andreas Jaeger <aj@suse.de>
18957
18958 * csu/.gitignore: Delete.
18959
bb07f69f
L
189602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18961
18962 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18963 (timex): Use __syscall_slong_t.
18964
e6bdb741
AJ
189652012-05-18 Andreas Jaeger <aj@suse.de>
18966 Carlos O'Donell <carlos_odonell@mentor.com>
18967
18968 * manual/install.texi (Configuring and compiling): Update
18969 description about files modified in the source directory.
d6c33fda 18970 * INSTALL: Regenerated.
e6bdb741 18971
1b74487e
L
189722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18973
18974 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18975 value. Use "or" to set return value to -1.
18976 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18977 negate return value.
18978
a88b64b9
TMQMF
189792012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18980
18981 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18982 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18983 failure if the compiler has Graphite support disabled.
18984 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18985 Likewise.
18986 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18987 CFLAGS-memmove.c): Likewise.
18988 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18989 Likewise.
18990
3707636e
L
189912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18992
610b8622
L
18993 * sysdeps/x86_64/x32/_itoa.h: New file.
18994
7cd195df
L
18995 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18996 getdents system call only if kernel and user dirents have the
18997 same d_ino and d_off.
18998
94b07d20
L
18999 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19000 LLONG_MAX != LONG_MAX.
19001 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19002 (_fitoa_word): Likewise.
19003
18298070
L
19004 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19005 years.
19006 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19007 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
19008 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
19009
553c7ea4
L
19010 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
19011 include <bits/wordsize.h>. Check __x86_64__ instead of
19012 __WORDSIZE.
19013 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
19014 if __x86_64__ is defined. Use anonymous union on fpstate.
19015
3707636e
L
19016 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
19017 anonymous union.
19018
b53ef01a
AS
190192012-05-18 Andreas Schwab <schwab@linux-m68k.org>
19020
37fb1dc0
AS
19021 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19022 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
19023 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
19024 Refer to _rtld_local_ro instead of _rtld_global_ro.
19025 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
19026 Likewise.
19027 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
19028 Likewise.
19029 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
19030 Likewise.
19031 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
19032 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
19033 of _rtld_global, and rtld_progname instead of _dl_argv[0].
19034
b53ef01a
AS
19035 * sysdeps/powerpc/powerpc32/dl-machine.c
19036 (__elf_machine_runtime_setup) [PROF]: Don't reference
19037 _dl_prof_resolve.
19038
7a185db2
AJ
190392012-05-18 Andreas Jaeger <aj@suse.de>
19040
19041 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
19042 function only available for GCCs before 3.4 since GCC 3.4
19043 introduced a builtin.
19044 (lrint): Likewise.
19045 (llrintf): Likewise.
19046 (llrint): Likewise.
19047 (fmaxf): Likewise.
19048 (fmax): Likewise.
19049 (fminf): Likewise.
19050 (fmin): Likewise.
19051 (rint): Likewise.
19052 (rintf): Likewise.
19053 (nearbyint): Likewise.
19054 (nearbyintf): Likewise.
19055 (ceil): Likewise.
19056 (ceilf): Likewise.
19057 (floor): Likewise.
19058 (floorf): Likewise.
19059
3e5aef87
L
190602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19061
428bd707
L
19062 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19063 on both fields and cast pointer to __syscall_ulong_t.
19064
3e5aef87
L
19065 * bits/types.h (__fsword_t): New type.
19066 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19067 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19069 (__FSWORD_T_TYPE): Likewise.
19070 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19071 (__FSWORD_T_TYPE): Likewise.
19072 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19073 (__FSWORD_T_TYPE): Likewise.
19074 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19075 (__FSWORD_T_TYPE): Likewise.
19076 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19077 __SWORD_TYPE with __fsword_t.
19078 (statfs64): Likewise.
19079
1ba7c3dc
DM
190802012-05-17 David S. Miller <davem@davemloft.net>
19081
19082 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19083
59910343
AJ
190842012-05-17 Andreas Jaeger <aj@suse.de>
19085
19086 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19087 warning.
19088
2e4c1e9e
L
190892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19090
19091 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19092
de7f5ce7
AJ
190932012-05-17 Andreas Jaeger <aj@suse.de>
19094
19095 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19096 when it is used.
19097
286abc3d
CM
190982012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19099
19100 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19101
477cc68e
L
191022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19103
19104 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19105 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19106
1a0994f5
CD
191072012-05-17 Andreas Jaeger <aj@suse.de>
19108 Carlos O'Donell <carlos_odonell@mentor.com>
19109
19110 [BZ #14059]
19111 * sysdeps/x86_64/multiarch/init-arch.h
19112 (bit_YMM_Usable): Rename to...
19113 (bit_AVX_Usable): ... this.
19114 (bit_FMA4_Usable): New macro.
19115 (bit_XMM_state): New macro.
19116 (bit_YMM_state): New macro.
19117 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19118 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19119 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19120 (CPUID_OSXSAVE): New macro.
19121 (CPUID_AVX): New macro.
19122 (CPUID_FMA4): New macro.
19123 (index_YMM_Usable): Rename to...
19124 (index_AVX_Usable): ... this.
19125 (HAS_AVX): Use HAS_ARCH_FEATURE.
19126 (HAS_FMA4): Likewise.
19127 (HAS_YMM_USABLE): Remove.
19128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19129 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19130 are present.
19131 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19132 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19133 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19134 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19135 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19136
0af797de
CM
191372012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19138
19139 * math/libm-test.c: Support platforms without multiple rounding modes.
19140 * math/bug-nextafter.c: Support platforms without FP exceptions.
19141 * math/bug-nexttoward.c: Likewise.
19142 * math/test-fenv.c: Likewise.
19143 * math/test-misc.c: Likewise.
19144 * stdlib/bug-getcontext.c: Likewise.
19145
e39745ff
AJ
191462012-05-17 Andreas Jaeger <aj@suse.de>
19147
19148 * manual/examples/search.c (critter_cmp): Change signature to
19149 avoid warnings.
19150 * manual/string.texi (Collation Functions): Likewise.
19151
48970aba
L
191522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19153
19154 * bits/types.h: Fold copyright years.
19155 * bits/typesizes.h: Likewise.
19156 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19157 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19158 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19159 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19160 * time/time.h: Likewise.
19161
bedee953
PP
191622012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19163
19164 [BZ #208]
19165 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19166 in instead of returning them. Return void.
19167 (__libc_mallinfo): Accumulate over all arenas.
19168 (__malloc_stats): Adjust for change in int_mallinfo interface.
19169
61653dfb
RM
191702012-05-16 Roland McGrath <roland@hack.frob.com>
19171
30b99d79
RM
19172 [BZ #10375]
19173 * configure.in (NM): Add AC_CHECK_TOOL for it.
19174 (libc_extra_cflags): New substituted variable.
19175 Check for -fstack-protector being used implicitly.
19176 * configure: Regenerated.
19177 * config.make.in (config-extra-cflags): New variable,
19178 gets @libc_extra_cflags@.
19179 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19180
61653dfb
RM
19181 [BZ #10375]
19182 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19183 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19184 * configure: Regenerated.
19185 * config.make.in (CPPUNDEFS): New substituted variable.
19186 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19187 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19188 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19189
661768bb
L
191902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19191
19192 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19193 (mq_attr): Use __syscall_slong_t.
19194
d4261567
L
191952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19196
19197 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19198 Check __x86_64__ instead of __WORDSIZE.
19199 (_STAT_VER_LINUX): Likewise.
19200 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19201 __syscall_ulong_t and __syscall_slong_t.
19202 (stat64): Likewise.
19203
cf3ff365
L
192042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19205
19206 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19207
76cf3e4d
L
192082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19209
19210 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19211
a637753a
L
192122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19213
19214 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19215 __syscall_ulong_t.
19216
d5e05119
L
19217 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19218 include <bits/wordsize.h>. Check __x86_64__ instead of
19219 __WORDSIZE.
19220 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19221 defined.
19222 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19223
f62ee380
L
19224 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19225 include <bits/wordsize.h>. Check __x86_64__ instead of
19226 __WORDSIZE.
19227 (user_regs_struct): Use "__extension__ unsigned long long"
19228 instead of "unsigned long" if __x86_64__ is defined.
19229 (user): Likewise. Pad after pointer field if __ILP32__ is
19230 defined.
19231
4e124ced
JM
192322012-05-16 Joseph Myers <joseph@codesourcery.com>
19233
6a3951a0
JM
19234 * configure.in (makeinfo): Require version 4.5 or later. Allow
19235 versions 5 to 9.
19236 * configure: Regenerated.
19237 * manual/install.texi (texinfo): Increase version requirement to
19238 4.5 or later.
19239 * INSTALL: Regenerated.
19240
4e124ced
JM
19241 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19242
953ca31a
L
192432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19244
19245 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19246
617aca05
L
19247 * sysdeps/x86_64/x32/ffs.c: New file.
19248
5762f7ae
L
19249 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19250 __syscall_ulong_t.
19251 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19252 defined. Use __syscall_ulong_t.
19253 (shminfo): Use __syscall_ulong_t.
19254 (shm_info): Likewise.
19255
a26b6856
L
19256 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19257 __syscall_ulong_t.
19258
cb2b9ef7
L
19259 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19260 <bits/wordsize.h>.
19261 (msgqnum_t): Use __syscall_ulong_t.
19262 (msglen_t): Likewise.
19263 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19264 __syscall_ulong_t.
19265
34683bb0
L
19266 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19267 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19268
84a68786
L
19269 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19270
48baa5f1
L
19271 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19272 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19273
180be88b
L
19274 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19275 __syscall_slong_t.
19276
5e90c8ad
L
19277 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19278 include <bits/wordsize.h>. Check __x86_64__ instead of
19279 __WORDSIZE.
19280
23dfb58b
L
19281 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19282 "unsigned long long int" if __x86_64__ is defined.
19283 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19284
ce5d54b0
L
19285 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19286 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19287 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19288
13dc9eac
L
19289 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19290 <stdint.h>.
19291 (GET_PC): Cast to uintptr_t first.
19292 (GET_FRAME): Likewise.
19293 (GET_STACK): Likewise.
19294
a7895d15
L
19295 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19296 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19297 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19298 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19299 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19300 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19301 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19302 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19303 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19304 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19305 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19306 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19307 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19308 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19309 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19310 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19311 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19312 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19313 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19314 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19315 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19316 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19317 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19318 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19319 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19320 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19321 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19322 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19323 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19324
656416c9
AS
193252012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19326
5bd66283
AS
19327 * Makerules (+depfiles): Also collect depfiles from .oS in
19328 $(extra-objs).
19329 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19330 .oS, $(libnldbl-routines)).
19331
656416c9
AS
19332 * Makerules (native-compile-mkdep-flags): Define.
19333 * sunrpc/Makefile (extra-objs): Add $(addprefix
19334 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19335 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19336 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19337 calling $(make-target-directory).
19338
a46f2169
L
193392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19340
19341 * bits/types.h (__snseconds_t): Removed.
19342 * time/time.h (struct timespec): Replace __snseconds_t with
19343 __syscall_slong_t.
19344 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19345 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19346 Likewise.
19347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19348 (__SNSECONDS_T_TYPE): Likewise.
19349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19350 (__SNSECONDS_T_TYPE): Likewise.
19351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19352 (__SNSECONDS_T_TYPE): Likewise.
19353
6af6528b
L
193542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19355
19356 * sysdeps/mach/hurd/bits/typesizes.h
19357 (__SYSCALL_SLONG_TYPE): New macro.
19358 (__SYSCALL_ULONG_TYPE): Likewise.
19359
de986b56
L
193602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19361
19362 * bits/types.h (__syscall_slong_t): New type.
19363 (__syscall_ulong_t): Likewise.
19364
19365 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19366 (__SYSCALL_ULONG_TYPE): Likewise.
19367 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19368 (__SYSCALL_SLONG_TYPE): Likewise.
19369 (__SYSCALL_ULONG_TYPE): Likewise.
19370 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19371 (__SYSCALL_SLONG_TYPE): Likewise.
19372 (__SYSCALL_ULONG_TYPE): Likewise.
19373 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19374 (__SYSCALL_SLONG_TYPE): Likewise.
19375 (__SYSCALL_ULONG_TYPE): Likewise.
19376
85736dc7
L
193772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19378
19379 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19380 Add sigaltstack-offsets.sym.
19381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19382 <sigaltstack-offsets.h>.
19383 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19384 longjmp_msg pointer.
19385 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19386 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19387 signal stack.
19388 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19389
cc03b296
JM
193902012-05-15 Joseph Myers <joseph@codesourcery.com>
19391
a9538892
JM
19392 * elf/stackguard-macros.h: Remove file.
19393 * sysdeps/generic/stackguard-macros.h: New file.
19394 * sysdeps/i386/stackguard-macros.h: Likewise.
19395 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19396 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19397 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19398 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19399 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19400 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19401 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19402 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19403 <elf/stackguard-macros.h>.
19404
cc03b296
JM
19405 [BZ #14109]
19406 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19407 __aligned__ in attribute.
19408 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19409 (gregset_t): Likewise.
19410
93171016
L
194112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19412
19413 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19414 * sysdeps/x86_64/64/Implies-after: Here. New file.
19415 * sysdeps/x86_64/x32/Implies-after: New file.
19416
d86813a0
L
194172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19418
19419 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19420 and access return value for _dl_profile_fixup. Use R10_LP to
19421 load frame size.
19422
2953ec75
L
194232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19424
19425 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19426
3b550e9e
L
194272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19428
19429 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19430 * sysdeps/x86_64/x32/sysdep.h: New file.
19431
eda41706
L
194322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19433
19434 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19435 * sysdeps/x86_64/setjmp.S: Likewise.
19436
9ea01d93
AZ
194372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19438
19439 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19440 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19441 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19442 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19443 remove unused global constant.
19444
02a91938
CM
194452012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19446
19447 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19448 include of <not-cancel.h>.
19449
6540185f
RM
194502012-05-15 Roland McGrath <roland@hack.frob.com>
19451
19452 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19453
509072a0
AJ
194542012-05-15 Jeff Law <law@redhat.com>
19455 Andreas Jaeger <aj@suse.de>
19456
19457 [BZ #13594]
19458 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19459 out from...
19460 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19461 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19462 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19463 code changing __hst_map_handle.map.
19464
ba75122d
RM
194652012-05-15 Roland McGrath <roland@hack.frob.com>
19466
19467 * configure.in (sysnames): Look for Implies-before and Implies-after
19468 files.
19469 * configure: Regenerated.
19470
890d8bd8
L
194712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19472
19473 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19474 8-byte data alignment with LP_SIZE alignment.
19475
f6ee6623
L
194762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19477
19478 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19479 into R10_LP.
19480
ea2626f6
L
194812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19482
19483 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19484
085f715e
L
194852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19486
19487 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19488 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19489 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19490 Likewise.
19491 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19492
be8498fc
L
194932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19494
19495 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19496 (stackinfo_sub_sp): Likewise.
19497
70bc83b9
L
194982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19499
19500 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19501 RAX_LP.
19502
9bc0b730
L
195032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19504
19505 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19506 into R*_LP.
19507
6d2850e7
L
195082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19509
19510 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19511 sizes into R*_LP.
19512
3cb84561
L
195132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19514
19515 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19516
54e2ed81
L
195172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19518
19519 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19520 into R11_LP and load __x86_64_shared_cache_size_half into
19521 R8_LP.
19522
8a17f349
L
195232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19524
19525 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19526 R8_LP.
19527
777b1eea
AZ
195282012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19529
19530 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19531 logb for POWER7.
19532 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19533 logbf for POWER7.
19534 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19535 logbl for POWER7.
19536 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19537 powerpc32/power7/fpu/s_logb.c via #include.
19538 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19539 powerpc32/power7/fpu/s_logbf.c via #include.
19540 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19541 powerpc32/power7/fpu/s_logbl.c via #include.
19542
d20d4ac2
JM
195432012-05-15 Joseph Myers <joseph@codesourcery.com>
19544
19545 * README.libm: Remove file.
19546
6cdef1ab
L
195472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19548
19549 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19550 count for x32. Use R*_LP and omit operand-size suffix.
19551
0b254d8f
L
195522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19553
19554 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19555 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19556 * sysdeps/x86_64/x32/shlib-versions: New file.
19557
ceb809dc
RM
195582012-05-14 Roland McGrath <roland@hack.frob.com>
19559
19560 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19561 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19562 Use _dl_fatal_printf instead.
19563
37f1abd4
JM
195642012-05-14 Joseph Myers <joseph@codesourcery.com>
19565
19566 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19567 set if not set by the user. Do not allow for being unset.
19568 * sysdeps/unix/sysv/linux/configure: Regenerated.
19569
11de3a33
L
195702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19571
19572 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19573 the `q' suffix from lea and replace .quad with ASM_ADDR.
19574
e02f153a
L
195752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19576
19577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19578 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19579 instead of $17.
19580 (PTR_DEMANGLE): Likewise.
19581
520ae0fd
L
195822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19583
19584 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19585 (LP_OP): Likewise.
19586 (ASM_ADDR): Likewise.
19587 (RAX_LP): Likewise.
19588 (RBP_LP): Likewise.
19589 (RBX_LP): Likewise.
19590 (RCX_LP): Likewise.
19591 (RDI_LP): Likewise.
19592 (RSI_LP): Likewise.
19593 (RSP_LP): Likewise.
19594 (R8_LP): Likewise.
19595 (R9_LP): Likewise.
19596 (R10_LP): Likewise.
19597 (R10_LP): Likewise.
19598 (R11_LP): Likewise.
19599 (R12_LP): Likewise.
19600 (R13_LP): Likewise.
19601 (R14_LP): Likewise.
19602 (R15_LP): Likewise.
19603
b985be81
L
196042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19605
19606 * sysdeps/x86_64/x32/dl-machine.h: New file.
19607
6a4888ff
AJ
196082012-05-14 Andreas Jaeger <aj@suse.de>
19609
19610 * manual/Makefile (subdir): Remove export of subdir.
19611 (all): Remove target.
19612 (.PHONY): Remove all from list.
19613 (mkinstalldirs): Remove.
19614 (.PHONY): Remove installdirs from list.
19615 ($(inst_infodir)/libc.info): Use make-target-directory.
19616 (installdirs): Remove.
19617 (subdir_%): Remove.
19618 (glibc-targets): Remove.
19619 (lib): Remove.
19620 (stubs): Remove.
19621 ($(objpfx)stubs ../po/manual.pot): Remove.
19622 ($(objpfx)stamp%): Remove.
19623 (make-target-directory): Remove.
19624 (subdir_install): Remove.
19625 (routines): Remove.
19626 (aux): Remove.
19627 (sources): Remove.
19628 (objects): Remove.
19629 (headers): Remove.
19630
19631 [BZ #13750]
19632 * manual/.gitignore: Remove, it's not needed anymore.
19633 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19634 all files in it.
19635 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19636 directory.
19637 (texis): Renamed to $(objpfx)texis.
19638 (texis-path): New, contains path to generated files.
19639 (chapters.%): Use texis-path for complete path, add extra argument
19640 libc-texinfo.sh.
19641 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19642 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19643 (summary,texi, stamp-summary): Use complete path of
19644 files. Generate files in build dir.
19645 (dir-add.texi): Build in build dir.
19646 (libm-err.texi,stamp-libm-err): Likewise.
19647 (version.texi, stamp-version): Likewise.
19648 (.%c.texi): Likewise.
19649 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19650 (mostlyclean): Remove target.
19651 (realclean): Remove target.
19652 (generated): Add new variable with contents from mostlyclean and
19653 realclean, remove entries duplicated in common-mostlyclean, add
19654 stamp-libm-err and stamp-version.
19655 (generated-dirs): Add libc directory.
19656 ($(inst_infodir)/libc.info): Install files from build dir.
19657
19658 * manual/install.texi (Configuring and compiling): Adjust since
19659 the info files are not part of the tar ball anymore.
19660
7ac77294
AJ
196612012-05-14 Andreas Jaeger <aj@suse.de>
19662
19663 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19664 variable.
19665
ffb7875d
JM
196662012-05-14 Joseph Myers <joseph@codesourcery.com>
19667
19668 [BZ #13717]
19669 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19670 to 2.2.0 where earlier.
19671 * sysdeps/unix/sysv/linux/configure: Regenerated.
19672 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19673 Remove conditional code.
19674 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19675 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19676 Remove conditional code.
19677 [!__NR_lchown]: Likewise.
19678 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19679 [__NR_lchown]: Likewise.
19680 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19681 comment referencing __ASSUME_LCHOWN_SYSCALL.
19682 * sysdeps/unix/sysv/linux/i386/sigaction.c
19683 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19684 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19685 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19686 Remove conditional code.
19687 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19688 (__protocol_available): Remove #if 0 code.
19689 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19690 conditional code.
19691 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19692 * sysdeps/unix/sysv/linux/kernel-features.h
19693 (__ASSUME_GETCWD_SYSCALL): Don't define.
19694 (__ASSUME_REALTIME_SIGNALS): Likewise.
19695 (__ASSUME_PREAD_SYSCALL): Likewise.
19696 (__ASSUME_PWRITE_SYSCALL): Likewise.
19697 (__ASSUME_POLL_SYSCALL): Likewise.
19698 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19699 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19700 non-SPARC.
19701 (__ASSUME_SIOCGIFNAME): Don't define.
19702 (__ASSUME_MSG_NOSIGNAL): Likewise.
19703 (__ASSUME_SENDFILE): Define unconditionally.
19704 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19705 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19706 conditional code.
19707 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19708 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19709 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19710 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19711 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19712 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19713 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19715 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19718 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19719 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19721 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19724 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19725 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19727 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19728 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19730 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19733 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19734 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19736 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19738 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19739 Remove conditional code.
19740 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19741 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19742 Remove conditional code.
19743 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19744 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19745 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19746 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19747 Remove conditional code.
19748 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19749 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19750 Remove conditional code.
19751 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19752 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19753 Remove conditional code.
19754 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19755 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19756 Remove conditional code.
19757 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19758 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19759 Remove conditional code.
19760 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19761 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19762 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19764 * sysdeps/unix/sysv/linux/sigaction.c
19765 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19766 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19767 * sysdeps/unix/sysv/linux/sigpending.c
19768 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19769 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19770 * sysdeps/unix/sysv/linux/sigprocmask.c
19771 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19772 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19773 * sysdeps/unix/sysv/linux/sigsuspend.c
19774 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19775 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19776 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19777 (__libc_missing_rt_sigs): Remove.
19778 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19779 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19780 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19781 Remove conditional code.
19782 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19783 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19784 return 1.
19785 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19786 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19787 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19788 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19789
1bfb7291
AJ
197902012-05-14 Andreas Jaeger <aj@suse.de>
19791
caae5a81
AJ
19792 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19793 it's not used in glibc.
19794 (__coshm1): Likewise.
19795 (__acosh1p): Likewise.
19796 (__sgn): Likewise.
19797
1bfb7291
AJ
19798 * manual/string.texi (Copying and Concatenation): Add missing
19799 variable in concat example.
19800 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19801
c044d724
L
198022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19803
144c5467 19804 [BZ #14103]
c044d724
L
19805 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19806 __builtin_clzl with __builtin_clzll.
19807
2523c62b
L
198082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19809
19810 [BZ #14104]
19811 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19812 libc_freeres_ptr.
19813
d7bb4c42
LD
198142012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19815
19816 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19817 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19818 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19819 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19820
9dc4e1fb
MF
198212012-05-14 Mike Frysinger <vapier@gentoo.org>
19822
19823 * NEWS: Update ia64 info.
19824
c7df0112
AS
198252012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19826
19827 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19828 used as bcopy.
19829
dc70356c
TS
198302012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19831
19832 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19833 * sysdeps/unix/syscalls.list (dup3): Likewise.
19834 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19835 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19836
9fb1a21f
L
198372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19838
19839 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19840 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19841
4822a2a5
L
198422012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19843
19844 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19845 thread pointer.
19846 (TLS_IE): Use mov/add instead of movq/addq to load thread
19847 pointer.
19848 (TLS_GD_PREFIX): New.
19849 (TLS_GD): Use it.
19850
842b81d6
DM
198512012-05-11 David S. Miller <davem@davemloft.net>
19852
19853 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19854 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19855 (_FPU_SETCW): Likewise.
19856
1cf463cd
L
198572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19858
19859 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19860 is 32-byte aligned.
19861
60cc4a18
AS
198622012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19863
19864 [BZ #11837]
19865 * iconvdata/gb18030.c: Update tables.
19866 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19867 characters specially.
19868 (BODY for TO_LOOP): Add encoding of missing ranges.
19869
febb44a4
TS
198702012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19871
19872 [BZ #13673]
19873 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19874 * sysdeps/mach/hurd/dup3.c: Likewise.
19875 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19876 * sysdeps/powerpc/memmove.c:: Likewise.
19877
0a10fb9e
L
198782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19879
19880 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19881 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19882
df8a552f
L
198832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19884
19885 * elf/elf.h (R_X86_64_RELATIVE64): New.
19886 (R_X86_64_NUM): Updated.
19887 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19888 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19889 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19890 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19891 tst-quad1pie tst-quad2pie
19892 (modules-names): Add tst-quadmod1 tst-quadmod2.
19893 ($(objpfx)tst-quad1): New dependency.
19894 ($(objpfx)tst-quad2): Likewise.
19895 ($(objpfx)tst-quad1pie): Likewise.
19896 ($(objpfx)tst-quad2pie): Likewise.
19897 * sysdeps/x86_64/tst-quad1.c: New file.
19898 * sysdeps/x86_64/tst-quad1pie.c: New file.
19899 * sysdeps/x86_64/tst-quad2.c: Likewise.
19900 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19901 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19902 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19903 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19904 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19905
f34d6f84
ST
199062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19907
f42d41d1
ST
19908 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19909 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19910 * streams/stropts.h (t_scalar_t): Define type.
19911
3c3571fc
ST
19912 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19913 (_PATH_PRESERVE): Set to "/var/lib".
19914 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19915
61f06bd3
ST
19916 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19917 instead of int.
19918
918d4d71
ST
19919 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19920 if __dir_mkfile succeeded.
19921
f34d6f84
ST
19922 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19923 checking for _hurd_dtablesize. Unlock it right after having
19924 finished _hurd_dtable allocation.
19925
10589b4a
TS
199262012-05-10 Thomas Schwinge <thomas@schwinge.name>
19927
674cdbc7
TS
19928 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19929 * sysdeps/mach/hurd/configure: Regenerated.
19930 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19931 special-casing to...
19932 * sysdeps/gnu/configure.in: ... this new file.
19933 * sysdeps/unix/sysv/linux/configure: Regenerated.
19934 * sysdeps/gnu/configure: New generated file.
19935
8e41b99f
TS
19936 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19937 for Linux: use nsec instead of usec, as well as:
19938 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19939 members of type struct timespec.
19940 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19941 New macros.
19942 (struct stat64): Likewise.
19943 (_STATBUF_ST_NSEC): New macro.
19944 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19945
10589b4a
TS
19946 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19947 __strtoul_internal rather than strtoul.
19948
63643c85
PT
199492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19950
19951 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19952 and reject them.
19953
3faebe6a
ST
199542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19955
19956 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19957 which preserves existing values.
19958 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19959
c6474b07
PT
199602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19961
19962 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19963 TIMEOUT values. Return EINVAL for NFDS values either negative or
19964 greater than FD_SETSIZE.
19965
1043890b
ST
199662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19967
19968 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19969 allocated, call __vm_protect to finish enabling the existing space, and
19970 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19971 allocate the remainder.
19972
37ed8b9b
PT
199732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19974
19975 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19976 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19977
db653660
ST
199782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19979
37ed8b9b
PT
19980 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19981 sysdeps/mach/hurd/readlink.c.
b29d4053 19982
db653660
ST
19983 * posix/tst-sysconf.c (posix_options): Only use
19984 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19985 _POSIX_SYNCHRONIZED_IO when they are defined
19986 * sysdeps/mach/hurd/bits/posix_opt.h:
19987 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19988 (_XOPEN_REALTIME): Undefine macro.
19989 (_XOPEN_REALTIME_THREADS): Undefine macro.
19990 (_XOPEN_SHM): Undefine macro.
19991 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19992 macro to -1.
19993 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19994 macro to -1.
19995 (_POSIX_ASYNC_IO): Undefine macro.
19996 (_POSIX_PRIORITIZED_IO): Undefine macro.
19997 (_POSIX_SPIN_LOCKS): Define macro to -1.
19998
ee16e894
ST
19999 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20000 SA_NODEFER, SA_RESETHAND.
20001 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20002 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20003 F_DUPFD_CLOEXEC.
20004
6103ae3b
TS
200052012-05-10 Thomas Schwinge <thomas@schwinge.name>
20006
20007 * elf/Makefile (pldd-modules): Define unconditionally.
20008
80b4e5f3
TS
200092012-05-10 Thomas Schwinge <thomas@schwinge.name>
20010
20011 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
20012
edadcbd6
ST
200132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20014
20015 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
20016 Return ENOENT when name is empty.
20017 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
20018
80694780
TS
200192012-05-10 Thomas Schwinge <thomas@schwinge.name>
20020
1792c087
TS
20021 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
20022
80694780
TS
20023 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
20024
6b645f0d
ST
200252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20026
80694780
TS
20027 Fix mlock in all cases except non-readable pages.
20028 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
20029 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 20030
6b645f0d
ST
20031 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
20032 (__mkdir): When path is `/', just fail with EEXIST.
20033 * sysdeps/mach/hurd/mkdirat.c: Likewise.
20034
e468f8a3
TS
200352012-05-10 Thomas Schwinge <thomas@schwinge.name>
20036
20037 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
20038 <sys/uio.h> (for writev).
20039 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
20040 and <sys/param.h> (for MIN).
20041
a4186cff
PT
200422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20043
20044 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
20045 REQUESTED_TIME. Properly set the remaining time and return EINTR
20046 if interrupted.
20047
510bbf14
TS
200482012-05-10 Thomas Schwinge <thomas@schwinge.name>
20049
20050 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
20051 Depend on against $(link-rpcuserlibs).
20052
5d5722e8
ST
200532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20054
a4186cff
PT
20055 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
20056 (__libc_stack_end): Do not use attribute_relro.
20057 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
20058 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 20059 to libthread-provided value.
a4186cff
PT
20060 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20061 attribute_relro.
5d5722e8 20062
37233df9
TS
200632012-05-10 Thomas Schwinge <thomas@schwinge.name>
20064
be971a2b
TS
20065 [BZ #3748]
20066 * bits/libc-lock.h (__libc_once_get): New macro.
20067 * sysdeps/mach/bits/libc-lock.h: Likewise.
20068 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20069 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20070 instead of using implementation details.
20071
37233df9
TS
20072 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20073 * libio/freopen.c: Likewise.
20074 * libio/freopen64.c: Likewise.
20075 * misc/syslog.c: Likewise.
20076 * nscd/connections.c: Likewise.
20077 * nscd/netgroupcache.c: Likewise.
20078 * sysdeps/posix/getcwd.c: Likewise.
20079
38de94a5
RM
200802012-05-10 Roland McGrath <roland@hack.frob.com>
20081
20082 * math/w_ilogbf.c: Add #include <limits.h>.
20083
67530489
ST
200842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20085
a4186cff 20086 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20087 path instead of returning without unlocking.
20088
67530489
ST
20089 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20090 immediate-write ioctls.
20091 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20092
5aa3a74a
TS
200932012-05-10 Thomas Schwinge <thomas@schwinge.name>
20094
18bad2ae
TS
20095 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20096 __builtin_frame_address instead of making assumptions about the
20097 location of the return address relative to DATA. Force early load of
20098 the return address.
20099 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20100 __builtin_frame_address.
20101
5aa3a74a
TS
20102 dup3 for GNU Hurd.
20103 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20104 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20105 implement dup3 and do some further code clean-ups.
20106 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20107 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20108
ecd0de9a
ST
201092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20110
cd9fa985
ST
20111 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20112
a4186cff
PT
20113 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20114 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20115 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20116 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20117 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20118 d->port.lock.
802ca5a5 20119
a4186cff
PT
20120 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20121 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20122 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20123
bcf55240
TS
201242012-05-10 Thomas Schwinge <thomas@schwinge.name>
20125
6960eb42
TS
20126 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20127 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20128 definitions.
20129
eb43375f
TS
20130 accept4 for GNU Hurd.
20131 * include/sys/socket.h (__libc_accept4): New prototype.
20132 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20133 to implement __libc_accept4.
20134 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20135 __libc_accept4.
20136 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20137
bcf55240
TS
20138 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20139 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20140 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20141 signal-defines.sym.
20142
6178c55b
ST
201432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20144
a4186cff 20145 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20146
6f080c2f
TS
201472012-05-10 Thomas Schwinge <thomas@schwinge.name>
20148
20149 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20150 assertion on O_CLOEXEC flag.
20151 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20152 * hurd/intern-fd.c: Likewise.
20153 * hurd/port2fd.c: Likewise.
20154
bcfe3a54
ST
201552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20156
20157 [BZ #3906]
20158 * bits/in.h (IPV6_PKTINFO): Define new macro.
20159 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20160
89c9aa49
AZ
201612012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20162
20163 [BZ #13954]
20164 [BZ #13955]
20165 [BZ #13956]
20166 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20167 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20168 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20169 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20171 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20172 * math/libm-test.inc (logb_test) : Additional logb tests.
20173
021db4be
AJ
201742012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20175 Andreas Jaeger <aj@suse.de>
20176
20177 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20178 * configure: Regenerated.
20179 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20180 * config.make.in (link-obsolete-rpc): New substituted variable.
20181 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20182 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20183 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20184 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20185 so that libc.a contains the symbols.
20186 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20187 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20188 * sunrpc/auth_none.c: Likewise.
20189 * sunrpc/auth_unix.c: Likewise.
20190 * sunrpc/authdes_prot.c: Likewise.
20191 * sunrpc/authuxprot.c: Likewise.
20192 * sunrpc/clnt_gen.c: Likewise.
20193 * sunrpc/clnt_perr.c: Likewise.
20194 * sunrpc/clnt_raw.c: Likewise.
20195 * sunrpc/clnt_simp.c: Likewise.
20196 * sunrpc/clnt_tcp.c: Likewise.
20197 * sunrpc/clnt_udp.c: Likewise.
20198 * sunrpc/clnt_unix.c: Likewise.
20199 * sunrpc/des_crypt.c: Likewise.
20200 * sunrpc/des_soft.c: Likewise.
20201 * sunrpc/get_myaddr.c: Likewise.
20202 * sunrpc/key_call.c: Likewise.
20203 * sunrpc/key_prot.c: Likewise.
20204 * sunrpc/netname.c: Likewise.
20205 * sunrpc/pm_getmaps.c: Likewise.
20206 * sunrpc/pm_getport.c: Likewise.
20207 * sunrpc/pmap_clnt.c: Likewise.
20208 * sunrpc/pmap_prot.c: Likewise.
20209 * sunrpc/pmap_prot2.c: Likewise.
20210 * sunrpc/pmap_rmt.c: Likewise.
20211 * sunrpc/publickey.c: Likewise.
20212 * sunrpc/rpc_cmsg.c: Likewise.
20213 * sunrpc/rpc_common.c: Likewise.
20214 * sunrpc/rpc_dtable.c: Likewise.
20215 * sunrpc/rpc_prot.c: Likewise.
20216 * sunrpc/rpc_thread.c: Likewise.
20217 * sunrpc/rtime.c: Likewise.
20218 * sunrpc/svc.c: Likewise.
20219 * sunrpc/svc_auth.c: Likewise.
20220 * sunrpc/svc_raw.c: Likewise.
20221 * sunrpc/svc_run.c: Likewise.
20222 * sunrpc/svc_tcp.c: Likewise.
20223 * sunrpc/svc_udp.c: Likewise.
20224 * sunrpc/svc_unix.c: Likewise.
20225 * sunrpc/svcauth_des.c: Likewise.
20226 * sunrpc/xcrypt.c: Likewise.
20227 * sunrpc/xdr.c: Likewise.
20228 * sunrpc/xdr_array.c: Likewise.
20229 * sunrpc/xdr_float.c: Likewise.
20230 * sunrpc/xdr_intXX_t.c: Likewise.
20231 * sunrpc/xdr_mem.c: Likewise.
20232 * sunrpc/xdr_rec.c: Likewise.
20233 * sunrpc/xdr_ref.c: Likewise.
20234 * sunrpc/xdr_sizeof.c: Likewise.
20235 * sunrpc/xdr_stdio.c: Likewise.
20236
b5c086a2
RM
202372012-05-10 Roland McGrath <roland@hack.frob.com>
20238
20239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20240 change. Update copyright years.
20241
6d74dd09
JM
202422012-05-10 Joseph Myers <joseph@codesourcery.com>
20243
20244 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20245
28e72501
MK
202462012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20247 Joseph Myers <joseph@codesourcery.com>
20248 Paul Pluzhnikov <ppluzhnikov@google.com>
20249
20250 [BZ #14012]
20251 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20252 requiring rpcgen.
20253 [cross-compiling] (extra-libs): Likewise.
20254 [cross-compiling] (extra-libs-others): Likewise.
20255 [cross-compiling] (librpcsvc-routines): Likewise.
20256 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20257 [cross-compiling] (omit-deps): Likewise.
20258 (sunrpc-CPPFLAGS): New variable.
20259 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20260 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20261 (cross-rpcgen-objs): New variable.
20262 (extra-objs): Append $(cross-rpcgen-objs).
20263 ($(cross-rpcgen-objs)): New rule.
20264 ($(objpfx)cross-rpcgen): Likewise.
20265 (rpcgen-cmd): Define to use $(built-program-file). Expand
20266 comment.
20267 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20268 ($(objpfx)x%.stmp): Likewise.
20269 * sunrpc/proto.h [IS_IN_build] (_): Define.
20270 [IS_IN_build] (_libc_intl_domainname): Likewise.
20271
c8c59454
L
202722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20273
20274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20275 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20276 and R_X86_64_TPOFF64.
20277
6f27cd16
JM
202782012-05-10 Joseph Myers <joseph@codesourcery.com>
20279
20280 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20281 sysdeps/unix/sysv/syscalls.list.
20282 (stime): Likewise.
20283 (utime): Likewise.
20284 * sysdeps/unix/sysv/syscalls.list: Remove file.
20285
02467e1c
PE
202862012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20287
20288 [BZ #3440]
20289 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20290 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20291 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20292 (__LC_IDENTIFICATION): Make these macros useful in #if
20293 expressions, as required by C99.
20294
da392631
AS
202952012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20296
20297 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20298 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20299 after this.
20300
8115f29b
L
203012012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20302
20303 * stdlib/longlong.h: Updated from GCC.
20304
bdd74070
AJ
203052012-05-09 Andreas Jaeger <aj@suse.de>
20306
edfe0dbe
AJ
20307 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20308 default is first entry.
20309 (run_mode): Set type.
20310 (main): Remove informal message about syslog.
20311 (options): Fix typo.
20312
bcfe3a54
ST
20313 [BZ #14053]
20314 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20315 to asm.
bcfe3a54
ST
20316 (lrint): Likewise.
20317 (llrintf): Likewise.
20318 (llrint): Likewise.
20319 (rint): Likewise.
20320 (rintf): Likewise.
20321 (nearbyint): Likewise.
20322 (nearbyintf): Likewise.
bdd74070 20323
91d8d69e
AJ
203242012-05-09 Andreas Jaeger <aj@suse.de>
20325 Pedro Alves <palves@redhat.com>
20326
20327 * nscd/nscd.c (run_mode): Use enum.
20328 (main): Cleanup coding style issue.
20329
bb90b80b
AJ
203302012-05-09 Alexandre Oliva <aoliva@redhat.com>
20331 Andreas Jaeger <aj@suse.de>
20332
bcfe3a54
ST
20333 * nscd/nscd.c (go_background): Replaced with...
20334 (run_mode): ... this.
bb90b80b 20335 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20336 (options): Add -F --foreground.
20337 (main): Implement it.
20338 (parse_opt): Parse it.
bb90b80b 20339
1a4b75a1
AJ
203402012-05-09 Andreas Jaeger <aj@suse.de>
20341
20342 [BZ #14083]
20343 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20344 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20345 -Wconversion warning.
20346 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20347 Likewise.
20348
b1cc2472
JM
203492012-05-09 Joseph Myers <joseph@codesourcery.com>
20350
20351 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20352 == 0.
20353 (LC_ALL): Use macro-int-constant.
20354 (LC_COLLATE): Likewise.
20355 (LC_CTYPE): Likewise.
20356 (LC_MESSAGES): Likewise.
20357 (LC_MONETARY): Likewise.
20358 (LC_NUMERIC): Likewise.
20359 (LC_TIME): Likewise.
20360 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20361 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20362 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20363 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20364 Specify type.
20365 [C99-based standards] (float_t): Expect type.
20366 [C99-based standards] (double_t): Expect type.
20367 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20368 type.
20369 [C99-based standards] (HUGE_VALL): Likewise.
20370 [C99-based standards] (INFINITY): Likewise.
20371 [C99-based standards] (NAN): Likewise.
20372 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20373 [C99-based standards] (FP_NAN): Likewise.
20374 [C99-based standards] (FP_NORMAL): Likewise.
20375 [C99-based standards] (FP_SUBNORMAL): Likewise.
20376 [C99-based standards] (FP_ZERO): Likewise.
20377 [C99-based standards] (FP_FAST_FMA): Use
20378 optional-macro-int-constant. Specify type. Require == 1.
20379 [C99-based standards] (FP_FAST_FMAF): Likewise.
20380 [C99-based standards] (FP_FAST_FMAL): Likewise.
20381 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20382 [C99-based standards] (FP_ILOGBNAN): Likewise.
20383 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20384 Specify type.
20385 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20386 [C99-based standards] (math_errhandling): Specify type.
20387 [ISO99 || ISO11] (signgam): Do not allow.
20388 [non-C99-based standards] (copysignf): Do not allow.
20389 [non-C99-based standards] (exp2f): Likewise.
20390 [non-C99-based standards] (log2f): Likewise.
20391 [non-C99-based standards] (modff): Allow.
20392 [non-C99-based standards] (erff): Do not allow.
20393 [non-C99-based standards] (erfcf): Likewise.
20394 [non-C99-based standards] (gammaf): Likewise.
20395 [non-C99-based standards] (hypotf): Likewise.
20396 [non-C99-based standards] (j0f): Likewise.
20397 [non-C99-based standards] (j1f): Likewise.
20398 [non-C99-based standards] (jnf): Likewise.
20399 [non-C99-based standards] (lgammaf): Likewise.
20400 [non-C99-based standards] (tgammaf): Likewise.
20401 [non-C99-based standards] (y0f): Likewise.
20402 [non-C99-based standards] (y1f): Likewise.
20403 [non-C99-based standards] (ynf): Likewise.
20404 [non-C99-based standards] (isnanf): Likewise.
20405 [non-C99-based standards] (acoshf): Likewise.
20406 [non-C99-based standards] (asinhf): Likewise.
20407 [non-C99-based standards] (atanhf): Likewise.
20408 [non-C99-based standards] (cbrtf): Likewise.
20409 [non-C99-based standards] (expm1f): Likewise.
20410 [non-C99-based standards] (ilogbf): Likewise.
20411 [non-C99-based standards] (log1pf): Likewise.
20412 [non-C99-based standards] (logbf): Likewise.
20413 [non-C99-based standards] (nextafterf): Likewise.
20414 [non-C99-based standards] (remainderf): Likewise.
20415 [non-C99-based standards] (rintf): Likewise.
20416 [non-C99-based standards] (scalbf): Likewise.
20417 [non-C99-based standards] (copysignl): Likewise.
20418 [non-C99-based standards] (exp2l): Likewise.
20419 [non-C99-based standards] (log2l): Likewise.
20420 [non-C99-based standards] (modfl): Allow.
20421 [non-C99-based standards] (erfl): Do not allow.
20422 [non-C99-based standards] (erfcl): Likewise.
20423 [non-C99-based standards] (gammal): Likewise.
20424 [non-C99-based standards] (hypotl): Likewise.
20425 [non-C99-based standards] (j0l): Likewise.
20426 [non-C99-based standards] (j1l): Likewise.
20427 [non-C99-based standards] (jnl): Likewise.
20428 [non-C99-based standards] (lgammal): Likewise.
20429 [non-C99-based standards] (tgammal): Likewise.
20430 [non-C99-based standards] (y0l): Likewise.
20431 [non-C99-based standards] (y1l): Likewise.
20432 [non-C99-based standards] (ynl): Likewise.
20433 [non-C99-based standards] (isnanl): Likewise.
20434 [non-C99-based standards] (acoshl): Likewise.
20435 [non-C99-based standards] (asinhl): Likewise.
20436 [non-C99-based standards] (atanhl): Likewise.
20437 [non-C99-based standards] (cbrtl): Likewise.
20438 [non-C99-based standards] (expm1l): Likewise.
20439 [non-C99-based standards] (ilogbl): Likewise.
20440 [non-C99-based standards] (log1pl): Likewise.
20441 [non-C99-based standards] (logbl): Likewise.
20442 [non-C99-based standards] (nextafterl): Likewise.
20443 [non-C99-based standards] (remainderl): Likewise.
20444 [non-C99-based standards] (rintl): Likewise.
20445 [non-C99-based standards] (scalbl): Likewise.
20446 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20447 [non-C99-based standards] (FP_*): Do not allow.
20448 [C99-based standards] (FP_*): Change to
20449 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20450 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20451 allow.
20452 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20453 (SIG_ERR): Likewise.
20454 [X/Open-based standards] (SIG_HOLD): Likewise.
20455 (SIG_IGN): Likewise.
20456 (SIGABRT): Use macro-int-constant. Specify type. Require
20457 positive value.
20458 (SIGFPE): Likewise.
20459 (SIGILL): Likewise.
20460 (SIGINT): Likewise.
20461 (SIGSEGV): Likewise.
20462 (SIGTER): Likewise.
20463 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20464 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20465 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20466 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20467 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20468 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20469 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20470 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20471 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20472 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20473 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20474 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20475 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20476 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20477 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20478 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20479 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20480 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20481 [X/Open-based standards] (SIGTRAP): Likewise.
20482 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20483 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20484 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20485 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20486 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20487 allow.
20488
b9f1922d
IW
204892012-05-08 Ian Wienand <ianw@vmware.com>
20490
20491 [BZ #14080]
20492 * time/tzset.c (__tzset_parse_tz): Update default rules for
20493 daylight time changes in the Energy Policy Act of 2005.
20494
1db86e88
AJ
204952012-05-09 Andreas Jaeger <aj@suse.de>
20496
20497 [BZ #13983]
20498 * elf/ldconfig.c (parse_conf): Change string to make clear that
20499 ldconfig only issued a warning if ld.so.conf does not exist.
20500
dee4a4e3
DM
205012012-05-08 David S. Miller <davem@davemloft.net>
20502
ee0db190
DM
20503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20504 movxtod instead of popping the value on the stack.
20505
dee4a4e3
DM
20506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20507
6a43ec98
CD
205082012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20509
20510 * config.h.in: Add HAVE_ARM_PCS_VFP.
20511
05c2c961
RMG
205122012-05-08 Roland Mc Grath <roland@hack.frob.com>
20513
bcfe3a54
ST
20514 [BZ #13979]
20515 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20516 checking but the checks are disabled for any reason.
05c2c961 20517
4b30f61a
L
205182012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20519
20520 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20521 and ELF64_R_TYPE with ELFW(R_TYPE).
20522
eee2bc67
JM
205232012-05-08 Joseph Myers <joseph@codesourcery.com>
20524
7ea5391a
JM
20525 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20526 (ulimit): Likewise.
20527
eee2bc67
JM
20528 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20529 (settimeofday): Likewise.
20530
abb66a67
MF
205312012-05-08 Mike Frysinger <vapier@gentoo.org>
20532
20533 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20534 a struct th_u2 inside the union, and move tu_block/tu_code into
20535 a new th_u3 union of tu_block/tu_code inside of that. Move
20536 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20537 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20538 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20539 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20540 (th_stuff): Change to th_u1.tu_stuff.
20541 (th_data): Define.
20542 (th_msg): Change to th_u1.th_u2.tu_data.
20543
7f18b530
DM
205442012-05-07 David S. Miller <davem@davemloft.net>
20545
05760585
DM
20546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20547
7f18b530
DM
20548 [BZ #14074]
20549 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20550 (SETUP_PIC_REG): Use it.
20551 (SETUP_PIC_REG_LEAF): Use it.
20552
495fd99f
JM
205532012-05-07 Joseph Myers <joseph@codesourcery.com>
20554
20555 [BZ #13885]
20556 [BZ #13923]
20557 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20558 USE_AS_EXPM1L.
20559 (EXPL_FINITE): Likewise.
20560 (FLDLOG): Likewise.
20561 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20562 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20563 e_expl.S.
20564 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20565 USE_AS_EXPM1L.
20566 (EXPL_FINITE): Likewise.
20567 (FLDLOG): Likewise.
20568 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20569 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20570 e_expl.S.
20571 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20572 test of -max_value argument for long double.
20573 * sysdeps/i386/fpu/libm-test-ulps: Update.
20574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20575
6693d694
DM
205762012-05-06 David S. Miller <davem@davemloft.net>
20577
20578 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20579 quad soft-float symbols whose references which are compiler
20580 generated.
20581 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20582
6c23e11c
JM
205832012-05-06 Joseph Myers <joseph@codesourcery.com>
20584
d8b82cad
JM
20585 [BZ #13884]
20586 [BZ #13914]
20587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20588 USE_AS_EXP10L.
20589 (EXPL_FINITE): Likewise.
20590 (FLDLOG): Likewise.
20591 (c0): Likewise.
20592 (c1): Likewise.
20593 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20594 Adjust comments for base varying.
20595 (__expl_finite): Change alias to EXPL_FINITE.
20596 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20597 e_expl.S.
20598 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20599 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20600 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20601 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20602 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20603 USE_AS_EXP10L.
20604 (EXPL_FINITE): Likewise.
20605 (FLDLOG): Likewise.
20606 (c0): Likewise.
20607 (c1): Likewise.
20608 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20609 Adjust comments for base varying.
20610 (__expl_finite): Change alias to EXPL_FINITE.
20611 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20612 tests for bugs.
20613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20614
6c23e11c
JM
20615 [BZ #14064]
20616 * math/libm-test.inc (check_float_internal): Correct ulp
20617 calculation for subnormal expected results.
20618
29ba805c
AJ
206192012-05-06 Andreas Jaeger <aj@suse.de>
20620
20621 * Makeconfig (+math-flags): New, set to -frounding-math.
20622 (+cflags): Add +math-flags so that all of glibc gets compiled with
20623 it.
20624
20625 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20626
7b17aeda
JM
206272012-05-05 Joseph Myers <joseph@codesourcery.com>
20628
5779f134
JM
20629 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20630 Disable one test.
20631
41498f4d
JM
20632 [BZ #13787]
20633 [BZ #13922]
20634 [BZ #14036]
20635 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20636 (__ieee754_expl): Allow for and saturate large arguments.
20637 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20638 (u_threshold): Likewise.
20639 (__exp): Call __ieee754_exp before checking for overflow and
20640 underflow.
20641 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20642 (u_threshold): Likewise.
20643 (__expf): Call __ieee754_expf before checking for overflow and
20644 underflow.
20645 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20646 (u_threshold): Likewise.
20647 (__expl): Call __ieee754_expl before checking for overflow and
20648 underflow.
20649 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20650 (__ieee754_expl): Allow for and saturate large arguments.
20651 * math/libm-test.inc (exp_test): Add another test. Do not allow
20652 missing overflow exception on overflow.
20653 (expm1_test): Do not allow missing overflow exception on overflow.
20654
6698b8bf
JM
20655 * sysdeps/i386/fpu/e_expl.c: Move to ...
20656 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20657 rather than using inline asm.
20658 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20659 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20660 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20661
7b17aeda
JM
20662 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20663 (nice): Likewise.
20664 (poll): Likewise.
20665 (signal): Likewise.
20666 (time): Likewise.
20667 (times): Likewise.
20668
f7c85819
JM
206692012-05-04 Joseph Myers <joseph@codesourcery.com>
20670
20671 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20672 sysdeps/unix/common/syscalls.list.
20673 (fchmod): Likewise.
20674 (fchown): Likewise.
20675 (ftruncate): Likewise.
20676 (getrusage): Likewise.
20677 (gettimeofday): Likewise.
20678 (setpgid): Likewise.
20679 (setregid): Likewise.
20680 (setreuid): Likewise.
20681 (sigaction): Likewise.
20682 (truncate): Likewise.
20683 (vhangup): Likewise.
20684 * sysdeps/unix/common/syscalls.list: Remove file.
20685 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20686 * sysdeps/unix/sysv/linux/Implies: Likewise.
20687
336270d0
L
206882012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20689
20690 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20692 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20693 Moved to ...
20694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20695 Here.
20696 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20697 to ...
20698 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20699 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20700 to ...
20701 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20702 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20703 to ...
20704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20705 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20706 to ...
20707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20708 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20709 to ...
20710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20711 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20712 to ...
20713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20714 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20715 to ...
20716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20717 Here.
20718 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20719 to ...
20720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20721 Here.
20722 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20723 to ...
20724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20725 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20726 Moved to ...
20727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20728 Here.
20729 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20730 to ...
20731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20732
d128e450
JM
207332012-05-04 Joseph Myers <joseph@codesourcery.com>
20734
fa8ee516
JM
20735 * sysdeps/unix/common/bits/dirent.h: Remove file.
20736 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20737
d128e450
JM
20738 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20739 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20740 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20741 * sysdeps/unix/bsd/isatty.c: Likewise.
20742 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20743 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20744 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20745
ff8faaf0 207462012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20747
62881be4 20748 [BZ #13563]
31dc8730
AZ
20749 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20750 long double comparison inaccuracies.
20751 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20753
6fef930c
AS
207542012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20755
20756 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20758
8f203e6c
JM
207592012-05-04 Joseph Myers <joseph@codesourcery.com>
20760
20761 [BZ #14049]
20762 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20763 nonzero digits before rounding a hex value.
20764 * stdlib/tst-strtod.c (tests): Add another test.
20765
5197d9c2
AK
207662012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20767
20768 * sysdeps/s390/fpu/libm-test-ulps: Update.
20769
f0c1dedf
AJ
207702012-05-03 Andreas Jaeger <aj@suse.de>
20771
20772 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20773 does not get optimized out.
20774 (malloc_opt_barrier): New.
20775
a65ef2ae 207762012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20777 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20778
2b942cb7 20779 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20780 intermediate file deletion.
2b942cb7 20781 (generated): Add .symlist files.
a65ef2ae 20782
54b71e02
JM
207832012-05-03 Joseph Myers <joseph@codesourcery.com>
20784
20785 [BZ #13775]
20786 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20787 Redirect under this condition.
20788 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20789 [__USE_GNU] (__dprintf_chk): Not under this condition.
20790 [__USE_GNU] (__vdprintf_chk): Likewise.
20791 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20792 under this condition.
20793 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20794 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20795 [__USE_XOPEN2K8] (vdprintf): Likewise.
20796 [__USE_GNU] (__dprintf_chk): Not under this condition.
20797 [__USE_GNU] (__vdprintf_chk): Likewise.
20798 [__USE_GNU] (dprintf): Likewise.
20799 [__USE_GNU] (vdprintf): Likewise.
20800
d3dfcc41
RM
208012012-05-03 Roland McGrath <roland@hack.frob.com>
20802
20803 * elf/Makefile (common-generated): Set this instead of generated for
20804 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20805 $(all-built-dso)-derived lists.
20806
7ac30cc5
AJ
208072012-05-03 Andreas Jaeger <aj@suse.de>
20808
0c51e550
AJ
20809 * sysdeps/i386/fpu/libm-test-ulps: Update.
20810
7ac30cc5
AJ
20811 * FAQ: Removed.
20812 * FAQ.in: Likewise.
20813 * scripts/gen-FAQ.pl: Likewise.
20814 * manual/install.texi (Installation): Point to online location of
20815 FAQ.
20816 * Makefile (files-for-dist): Remove FAQ.
20817 (FAQ): Remove.
20818
d4c2917f
AM
208192012-05-02 Allan McRae <allan@archlinux.org>
20820
20821 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20822 (LDFLAGS-reldepmod5.so): Likewise.
20823 (LDFLAGS-reldep6mod1.so): Likewise.
20824 (LDFLAGS-reldep6mod4.so): Likewise.
20825 (LDFLAGS-reldep8mod3.so): Likewise.
20826 (LDFLAGS-unload4mod1.so): Likewise.
20827 (LDFLAGS-unload4mod2.so): Likewise.
20828 (LDFLAGS-tst-initorder): Likewise.
20829 (LDFLAGS-tst-initordera2.so): Likewise.
20830 (LDFLAGS-tst-initordera3.so): Likewise.
20831 (LDFLAGS-tst-initordera4.so): Likewise.
20832 (LDFLAGS-tst-initorderb2.so): Likewise.
20833 (LDFLAGS-noload): Likewise.
20834 (LDFLAGS-next): Likewise.
20835 (LDFLAGS-order2mod1.so): Likewise.
20836 (LDFLAGS-order2mod2.so): Likewise.
20837 (LDFLAGS-tst-initorder2): Likewise.
20838 (LDFLAGS-tst-initorder2a.so): Likewise.
20839 (LDFLAGS-tst-initorder2b.so): Likewise.
20840 (LDFLAGS-tst-initorder2c.so): Likewise.
20841 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20842
d77f993f
DM
208432012-05-02 David S. Miller <davem@davemloft.net>
20844
20845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20846
171a70b4
PP
208472012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20848
20849 [BZ #14055]
20850 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20851
0be196ad
AJ
208522012-05-02 Andreas Jaeger <aj@suse.de>
20853
20854 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20855 since we manipulate rounding mode.
20856 (CPPFLAGS-test-idouble.c): Likewise.
20857 (CPPFLAGS-test-ifloat.c): Likewise.
20858 (CFLAGS-test-ldouble.c): Likewise.
20859 (CFLAGS-test-double.c): Likewise.
20860 (CFLAGS-test-float.c): Likewise.
20861 (CFLAGS-test-misc.c): Likewise.
20862 (CFLAGS-test-test-fenv.c): Likewise.
20863
4f9d04aa
AZ
208642012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20865
2b942cb7
RM
20866 [BZ #2550]
20867 [BZ #2570]
20868 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20869 comparisons to determine direction to adjust input.
4f9d04aa 20870
82a79e7d
RM
208712012-05-01 Roland McGrath <roland@hack.frob.com>
20872
f5a01ca9
RM
20873 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20874 output to the target.
20875
90fe4186
RM
20876 * scripts/localplt.awk: New file.
20877 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20878 (check-localplt-CFLAGS): Variable removed.
20879 ($(all-built-dso:=.jmprel)): New static pattern rule.
20880 (generated): Add those targets.
20881 (localplt-built-dso): New variable.
20882 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20883
20884 * elf/check-localplt.c: File removed.
20885
82397ed6
RM
20886 * scripts/check-execstack.awk: New file.
20887 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20888 (check-execstack-CFLAGS): Variable removed.
20889 ($(objpfx)check-execstack.h): Target removed.
20890 ($(objpfx)execstack-default): New target.
20891 (generated): Add that instead of check-execstack.h.
20892 ($(all-built-dso:=.phdr)): New static pattern rule.
20893 (generated): Add those targets.
20894 * elf/check-execstack.c: File removed.
20895
82a79e7d
RM
20896 * scripts/check-textrel.awk: New file.
20897 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20898 (check-textrel-CFLAGS): Variable removed.
20899 (all-built-dso): Use := to define.o
20900 ($(all-built-dso:=.dyn)): New static pattern rule.
20901 (generated): Add those targets.
20902 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20903 * config.make.in (READELF): New substituted variable.
20904 * elf/check-textrel.c: File removed.
20905
62fde54f 209062012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20907
615605c9
JM
20908 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20909 allow.
20910 * conform/data/ctype.h-data [C99-based standards] (isblank):
20911 Expect function.
20912 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20913 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20914 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20915 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20916 Specify type. Require positive value.
20917 (EILSEQ): Likewise.
20918 (ERANGE): Likewise.
20919 [ISO || POSIX] (EILSEQ): Do not expect.
20920 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20921 Specify type. Require positive value.
20922 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20923 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20924 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20925 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20926 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20927 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20928 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20929 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20930 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20931 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20932 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20933 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20934 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20935 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20936 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20937 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20938 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20939 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20940 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20941 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20942 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20943 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20944 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20945 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20946 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20947 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20948 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20949 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20950 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20951 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20952 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20953 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20954 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20955 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20956 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20957 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20958 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20959 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20960 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20961 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20962 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20963 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20964 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20965 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20966 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20967 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20968 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20969 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20970 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20971 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20972 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20973 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20974 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20975 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20976 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20977 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20978 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20979 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20980 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20981 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20982 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20983 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20984 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20985 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20986 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20987 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20988 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20989 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20990 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20991 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20992 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20993 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20994 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20995 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20996 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20997 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20998 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20999 Require >= 2.
21000 (FLT_ROUNDS): Expect as macro, not constant.
21001 (FLT_MANT_DIG): Use macro-int-constant.
21002 (DBL_MANT_DIG): Likewise.
21003 (LDBL_MANT_DIG): Likewise.
21004 (FLT_DIG): Likewise.
21005 (DBL_DIG): Likewise.
21006 (LDBL_DIG): Likewise.
21007 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
21008 (DBL_MIN_EXP): Likewise.
21009 (LDBL_MIN_EXP): Likewise.
21010 (FLT_MAX_EXP): Use macro-int-constant.
21011 (DBL_MAX_EXP): Likewise.
21012 (LDBL_MAX_EXP): Likewise.
21013 (FLT_MAX_10_EXP): Likewise.
21014 (DBL_MAX_10_EXP): Likewise.
21015 (LDBL_MAX_10_EXP): Likewise.
21016 (FLT_MAX): Use macro-constant.
21017 (DBL_MAX): Likewise.
21018 (LDBL_MAX): Likewise.
21019 (FLT_EPSILON): Use macro-constant. Give upper bound.
21020 (DBL_EPSILON): Likewise.
21021 (LDBL_EPSILON): Likewise.
21022 (FLT_MIN): Likewise.
21023 (DBL_MIN): Likewise.
21024 (LDBL_MIN): Likewise.
21025 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
21026 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
21027 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
21028 [ISO11] (FLT_HAS_SUBNORM): Likewise.
21029 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
21030 [ISO11] (DBL_DECIMAL_DIG): Likewise.
21031 [ISO11] (FLT_DECIMAL_DIG): Likewise.
21032 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
21033 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
21034 [ISO11] (FLT_TRUE_MIN): Likewise.
21035 [ISO11] (LDBL_TRUE_MIN): Likewise.
21036 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21037 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
21038 (SCHAR_MIN): Use macro-int-constant. Specify type.
21039 (SCHAR_MAX): Likewise.
21040 (UCHAR_MAX): Likewise.
21041 (CHAR_MIN): Likewise.
21042 (CHAR_MAX): Likewise.
21043 (MB_LEN_MAX): Use macro-int-constant.
21044 (SHRT_MIN): Use macro-int-constant. Specify type.
21045 (SHRT_MAX): Likewise.
21046 (USHRT_MAX): Likewise.
21047 (INT_MAX): Likewise.
21048 (INT_MIN): Use macro-int-constant. Specify type. Make upper
21049 bound negative.
21050 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
21051 bound with "U".
21052 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21053 bound with "L".
21054 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
21055 bound negative. Suffix upper bound with "L".
21056 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
21057 bound with "UL".
21058 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21059 Specify type.
21060 [C99-based standards] (LLONG_MAX): Likewise.
21061 [C99-based standards] (ULLONG_MAX): Likewise.
21062 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
21063 == 0.
21064 [ISO11] (max_align_t): Require type.
21065 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21066
c9140a62
JM
21067 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21068 from $CFLAGS, without defining away __attribute__ calls.
21069 (checknamespace): Use $CFLAGS_namespace.
21070
9af0bf29
JM
21071 * conform/conformtest.pl (@keywords): Only include C99 keywords
21072 for standards based on C99 or C11.
21073
343222a2
JM
21074 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21075 Disable tests.
21076 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21077 UNIX98]: Likewise.
21078
661f8cf0
JM
21079 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21080 usability of symbols in #if.
21081
ee74b9cb
JM
21082 * conform/conformtest.pl: If macro or constant types start
21083 "promoted:", expect the symbol to be of the following type
21084 promoted by the integer promotions.
62fde54f 21085
aafc49b3
JM
21086 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21087 in one place. Also handle "macro-constant".
21088
fefdf574
JM
21089 * conform/conformtest.pl: Only accept expected macro values with
21090 "==". Parse all "macro" lines in one place.
21091 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21092
f2d922fe
JM
21093 * conform/conformtest.pl: Handle braced types on "constant" lines
21094 instead of handling "typed-constant".
21095 * conform/data/signal.h-data: Use "constant" instead of
21096 "typed-constant".
21097
d22956c9
JM
21098 * conform/conformtest.pl: Handle "optional-" at start of lines in
21099 one place rather than duplicating several cases. Handle each
21100 format of "macro" line with initial "optional-".
21101
028e2e38
JM
21102 * conform/conformtest.pl: Only accept expected constant or
21103 optional-constant values with "==". Parse all "constant" lines in
21104 one place. Parse all "optional-constant" lines in one place.
21105 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21106 * conform/data/fmtmsg.h-data: Likewise.
21107 * conform/data/netinet/in.h-data: Likewise.
21108 * conform/data/tar.h-data: Likewise.
21109 * conform/data/limits.h-data: Use "==" form on "constant" and
21110 "optional-constant" lines.
21111
1b8f2850
JM
21112 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21113 Use -std=c99 for XOPEN2K.
21114 (@knownproblems): Remove.
21115 (newtoken): Don't check %isknown.
21116
a05a144b
JM
21117 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21118 Do not expect macro.
21119 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21120 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21121 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21122 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21123 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21124 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21125 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21126 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21127 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21128 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21129 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21130 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21131 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21132 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21133 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21134 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21135 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21136 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21137 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21138 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21139 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21140 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21141 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21142 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21143 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21144 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21145 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21146 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21147 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21148 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21149 [XPG3] (acosh): Likewise.
21150 [XPG3] (asinh): Likewise.
21151 [XPG3] (atanh): Likewise.
21152 [XPG3] (cbrt): Likewise.
21153 [XPG3] (expm1): Likewise.
21154 [XPG3] (ilogb): Likewise.
21155 [XPG3] (log1p): Likewise.
21156 [XPG3] (logb): Likewise.
21157 [XPG3] (nextafter): Likewise.
21158 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21159 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21160 [XPG3] (remainder): Likewise.
21161 [XPG3] (rint): Likewise.
21162 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21163 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21164 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21165 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21166 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21167 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21168 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21169 [UNIX98 || XOPEN2K] (scalb): Expect.
21170 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21171 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21172 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21173 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21174 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21175 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21176 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21177 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21178 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21179 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21180 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21181 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21182 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21183 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21184 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21185 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21186 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21187 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21188 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21189 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21190 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21191 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21192 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21193 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21194 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21195 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21196 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21197 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21198 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21199 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21200 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21201 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21202 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21203 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21204 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21205 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21206 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21207 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21208 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21209 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21210 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21211 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21212 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21213 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21214 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21215 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21216 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21217 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21218 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21219 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21220 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21221 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21222 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21223 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21224 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21225 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21226 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21227 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21228 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21229 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21230 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21231 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21232 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21233 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21234 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21235 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21236 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21237 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21238 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21239 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21240 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21241 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21242 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21243 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21244 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21245 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21246 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21247 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21248 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21249 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21250 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21251 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21252 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21253 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21254 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21255 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21256 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21257 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21258 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21259 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21260 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21261 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21262 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21263 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21264 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21265 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21266 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21267 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21268 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21269 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21270 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21271 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21272 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21273 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21274 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21275 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21276 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21277 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21278 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21279 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21280 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21281 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21282 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21283 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21284 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21285 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21286 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21287 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21288 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21289 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21290 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21291 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21292 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21293 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21294 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21295 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21296 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21297 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21298 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21299 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21300 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21301 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21302 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21303 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21304 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21305 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21306 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21307
73c5ebe3
JM
21308 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21309 _XOPEN_SOURCE_EXTENDED for XPG4.
21310
39c33b6c
JM
21311 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21312
62fde54f
JM
21313 * Makeconfig (localtime): Remove variable.
21314 (inst_localtime-file): Likewise.
21315
0741d64c
AS
213162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21317
21318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21319 Update.
21320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21321 Update.
21322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21323 Update.
21324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21325 Update.
21326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21327 Update.
21328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21329 Update.
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21331 Update.
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21333 Update.
21334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21335 Update.
21336
7cb029ee
JM
213372012-05-01 Joseph Myers <joseph@codesourcery.com>
21338
21339 [BZ #2550]
21340 [BZ #2570]
21341 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21342 comparisons to determine direction to adjust input.
21343 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21344 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21345 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21346 Likewise.
21347 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21348 Likewise.
21349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21350 Likewise.
21351 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21352 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21353 Likewise.
21354 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21355 Likewise.
21356 * math/libm-test.inc (nexttoward_test): Add more tests.
21357
412bd966
AS
213582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21359
21360 [BZ #14040]
21361 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21362 in version GLIBC_2.1, not GLIBC_2.0.
21363 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21364 Likewise.
21365
9568c0c2
JM
213662012-04-30 Joseph Myers <joseph@codesourcery.com>
21367
adfbc8ac
JM
21368 [BZ #13942]
21369 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21370 (1 - x) * (1 + x).
21371 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21372 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21373 * math/libm-test.inc (acos_test): Add more tests.
21374 (asin_test): Likewise.
21375 * sysdeps/i386/fpu/libm-test-ulps: Update.
21376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21377
5ba3cc69
JM
21378 [BZ #14034]
21379 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21380 of square root.
21381 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21382 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21383 * math/libm-test.inc (acos_test_tonearest): New function.
21384 (acos_test_towardzero): Likewise.
21385 (acos_test_downward): Likewise.
21386 (acos_test_upward): Likewise.
21387 (asin_test_tonearest): Likewise.
21388 (asin_test_towardzero): Likewise.
21389 (asin_test_downward): Likewise.
21390 (asin_test_upward): Likewise.
21391 (main): Call the new functions.
21392 * sysdeps/i386/fpu/libm-test-ulps: Update.
21393 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21394
9568c0c2
JM
21395 [BZ #13884]
21396 [BZ #13924]
21397 * math/e_exp10.c: Include <float.h>.
21398 (__ieee754_exp10): Handle underflow here rather than multiplying
21399 large negative argument by M_LN10.
21400 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21401 of __ieee754_expf.
21402 * math/e_exp10l.c: Include <float.h>.
21403 (__ieee754_exp10l): Handle underflow here rather than multiplying
21404 large negative argument by M_LN10l.
21405 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21406 spurious overflow exception on underflow.
21407
5ac3ea17
MP
214082012-04-29 Marek Polacek <polacek@redhat.com>
21409
21410 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21411 (__fortify_function): New macro.
21412 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21413 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21414 __extern_always_inline.
21415 * libio/bits/stdio2.h: Likewise.
21416 * libio/bits/stdio.h: Likewise.
21417 * string/string.h: Likewise.
21418 * string/bits/string3.h: Likewise.
21419 * include/stdio.h: Likewise.
21420 * stdlib/bits/stdlib.h: Likewise.
21421 * stdlib/stdlib.h: Likewise.
21422 * rt/bits/mqueue2.h: Likewise.
21423 * rt/mqueue.h: Likewise.
21424 * posix/bits/unistd.h: Likewise.
21425 * posix/unistd.h: Likewise.
21426 * io/bits/poll2.h: Likewise.
21427 * io/bits/fcntl2.h: Likewise.
21428 * io/fcntl.h: Likewise.
21429 * io/sys/poll.h: Likewise.
21430 * misc/bits/syslog.h: Likewise.
21431 * misc/bits/syslog-ldbl.h: Likewise.
21432 * misc/sys/syslog.h: Likewise.
21433 * socket/bits/socket2.h: Likewise.
21434 * socket/sys/socket.h: Likewise.
21435 * debug/tst-chk1.c: Likewise.
21436 * wcsmbs/bits/wchar2.h: Likewise.
21437 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21438 * wcsmbs/wchar.h: Likewise.
21439
ecf0ebfb
AJ
214402012-04-29 Andreas Jaeger <aj@suse.de>
21441
21442 * Makerules (tests): Remove enable-check-abi protection.
21443 (check-abi-warn): Remove.
21444 (check-abi-%): Remove check-abi-warn usage.
21445
21446 * configure.in: Remove check-abi configure option.
21447 * configure: Regenerated.
21448 * config.make.in (enable-check-abi): Remove.
21449
6d5c57fa
AS
214502012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21451
24c5d07e 21452 [BZ #14033]
ded5180a
AS
21453 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21454 double functions to double *_finite functions.
21455
7e0d315d
AS
21456 [BZ #13941]
21457 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21458 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21459 LDBL_MIN_EXP.
21460 * stdio-common/Makefile (tests): Add tst-sprintf3.
21461 * stdio-common/tst-sprintf3.c: New file.
21462
6d5c57fa
AS
21463 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21464 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21465
0749ff8b
JM
214662012-04-28 Joseph Myers <joseph@codesourcery.com>
21467
21468 * conform/conformtest.pl: Remove duplicate typed-constant
21469 handling.
21470
8dbd5d7b
DM
214712012-04-28 David S. Miller <davem@davemloft.net>
21472
21473 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21474 (check-abi-%): Remove AWK script prerequisite and explicit
21475 abilist directory.
21476 (check-abi): Rewrite to just diff the symlist with the abilist.
21477 (config-tls, config-abi-config): Delete, no longer used.
21478 (update-abi-%): Remove AWK script and explicit abilist directory.
21479 (update-abi): Rewrite to simply compare and conditionally copy the
21480 symlist and the sysdep abilist file. Remove update-abi-config
21481 checks.
21482 * abilist/ld.abilist: Remove.
21483 * abilist/libBrokenLocale.abilist: Remove.
21484 * abilist/libanl.abilist: Remove.
21485 * abilist/libcrypt.abilist: Remove.
21486 * abilist/libdl.abilist: Remove.
21487 * abilist/librt.abilist: Remove.
21488 * abilist/libthread_db.abilist: Remove.
21489 * abilist/libutil.abilist: Remove.
21490 * scripts/extract-abilist.awk: Remove.
21491 * scripts/merge-abilist.awk: Remove.
21492 * sysdeps/generic/libcidn.abilist: New file.
21493 * sysdeps/generic/libnss_compat.abilist: New file.
21494 * sysdeps/generic/libnss_db.abilist: New file.
21495 * sysdeps/generic/libnss_dns.abilist: New file.
21496 * sysdeps/generic/libnss_files.abilist: New file.
21497 * sysdeps/generic/libnss_hesiod.abilist: New file.
21498 * sysdeps/generic/libnss_nis.abilist: New file.
21499 * sysdeps/generic/libnss_nisplus.abilist: New file.
21500 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21501 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21502 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21503 file.
21504 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21505 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21506 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21507 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21508 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21509 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21510 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21511 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21512 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21513 file.
21514 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21515 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21516 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21517 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21518 file.
21519 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21520 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21521 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21522 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21523 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21524 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21525 file.
21526 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21527 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21528 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21529 file.
21530 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21532 New file.
21533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21534 New file.
21535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21536 New file.
21537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21538 New file.
21539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21540 New file.
21541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21542 New file.
21543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21544 New file.
21545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21546 New file.
21547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21548 New file.
21549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21550 New file.
21551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21552 New file.
21553 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21554 New file.
21555 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21556 New file.
21557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21558 file.
21559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21560 New file.
21561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21562 New file.
21563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21564 file.
21565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21566 New file.
21567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21568 New file.
21569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21570 file.
21571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21572 New file.
21573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21574 New file.
21575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21576 New file.
21577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21578 New file.
21579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21580 New file.
21581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21582 New file.
21583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21585 file.
21586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21587 New file.
21588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21589 file.
21590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21591 file.
21592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21593 file.
21594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21595 file.
21596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21597 file.
21598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21599 New file.
21600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21601 file.
21602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21603 file.
21604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21605 New file.
21606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21607 file.
21608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21610 file.
21611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21612 New file.
21613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21614 file.
21615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21616 file.
21617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21618 file.
21619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21620 file.
21621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21622 file.
21623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21624 New file.
21625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21626 file.
21627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21628 file.
21629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21630 New file.
21631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21632 file.
21633 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21634 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21635 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21636 file.
21637 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21638 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21639 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21640 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21641 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21642 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21643 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21644 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21645 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21646 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21649 file.
21650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21651 New file.
21652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21653 file.
21654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21655 file.
21656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21657 file.
21658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21659 file.
21660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21661 file.
21662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21663 New file.
21664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21665 New file.
21666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21667 file.
21668 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21669 New file.
21670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21671 file.
21672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21674 file.
21675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21676 New file.
21677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21678 file.
21679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21680 file.
21681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21682 file.
21683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21684 file.
21685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21686 file.
21687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21688 New file.
21689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21690 New file.
21691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21692 file.
21693 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21694 New file.
21695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21696 file.
21697
41d73a1b
JM
216982012-04-28 Joseph Myers <joseph@codesourcery.com>
21699
21700 * conform/conformtest.pl: Fix typo in handling typed-constant from
21701 allow-header.
21702
28aeeda4
JM
217032012-04-27 Joseph Myers <joseph@codesourcery.com>
21704
adae8f5e
JM
21705 * README: Cut down references to pre-2.6 Linux kernels and
21706 Linuxthreads. Update lists of configurations in libc and ports
21707 and sort alphabetically. Say "or newer" with Linux kernel version
21708 requirements.
21709
28aeeda4
JM
21710 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21711
a462cb63
RA
217122012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21713
21714 [BZ #887]
21715 * math/libm-test.inc (logb_test_downward): New test to expose
21716 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21717 rounding mode.
21718
6ad3493e
JM
217192012-04-27 Joseph Myers <joseph@codesourcery.com>
21720
21721 [BZ #14027]
21722 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21723 to be done.
21724 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21725 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21726
2ce4f015
JM
217272012-04-26 Joseph Myers <joseph@codesourcery.com>
21728
5aeb141a
JM
21729 * sysdeps/unix/i386/brk.S: Remove file.
21730 * sysdeps/unix/i386/dl-brk.S: Likewise.
21731 * sysdeps/unix/i386/pipe.S: Likewise.
21732 * sysdeps/unix/i386/sigreturn.S: Likewise.
21733 * sysdeps/unix/i386/syscall.S: Likewise.
21734 * sysdeps/unix/i386/vfork.S: Likewise.
21735 * sysdeps/unix/i386/wait.S: Likewise.
21736
7143acae
JM
21737 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21738 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21739
2ce4f015
JM
21740 * configure.in (arm*-none*): Do not allow without
21741 --enable-hacker-mode.
21742 (netbsd*): Remove case setting base_os.
21743 (386bsd*): Likewise.
21744 (freebsd*): Likewise.
21745 (bsdi*): Likewise.
21746 (osf*): Likewise.
21747 (sunos*): Likewise.
21748 (ultrix*): Likewise.
21749 (newsos*): Likewise.
21750 (dynix*): Likewise.
21751 (*bsd*): Likewise.
21752 (sysv*): Likewise.
21753 (isc*): Likewise.
21754 (esix*): Likewise.
21755 (sco*): Likewise.
21756 (minix*): Likewise.
21757 (irix4*): Likewise.
21758 (irix6*): Likewise.
21759 (solaris[2-9]*): Likewise.
21760 (none): Likewise.
21761 * configure: Regenerated.
21762
0ac229c8
AZ
217632012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21764
21765 [BZ #11521]
21766 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21767 overflow or cancellation in calculating denominator.
21768 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21769 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21770 down expression to avoid unexpected rounding in newer GCCs.
21771 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21772
33f244f4
DM
217732012-04-26 David S. Miller <davem@davemloft.net>
21774
21775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21776 long-double compat symbols.
21777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21790
cfa1f3e8
DM
217912012-04-25 David S. Miller <davem@davemloft.net>
21792
21793 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21794 HWCAP_* values only after the memory barriers have been defined.
21795 (atomic_full_barrier): Define.
21796 (atomic_read_barrier): Define.
21797 (atomic_write_barrier): Define.
21798
6e236b92
SP
217992012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21800
21801 * shlib-versions: Add libgcc_s version information.
21802 * sysdeps/generic/libgcc_s.h: Remove.
21803 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21804 libgcc_s.h.
21805 * sysdeps/gnu/unwind-resume.c: Likewise.
21806 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21807
aab39a09
DM
218082012-04-25 David S. Miller <davem@davemloft.net>
21809
21810 * sysdeps/unix/sparc/brk.S: Delete.
21811 * sysdeps/unix/sparc/dl-brk.S: Delete.
21812 * sysdeps/unix/sparc/pipe.S: Delete.
21813 * sysdeps/unix/sparc/sysdep.S: Delete.
21814 * sysdeps/unix/sparc/sysdep.h: Delete.
21815 * sysdeps/unix/sparc/vfork.S: Delete.
21816 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21817 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21818 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21819 ret_ERRVAL, r0, r1, MOVE): Define.
21820 (JUMPTARGET): Remove.
21821 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21822 sysdeps/unix/sparc/sysdep.h
21823 (ENTRY, END): Remove.
21824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21825
a3cc4f48
JM
218262012-04-25 Joseph Myers <joseph@codesourcery.com>
21827
2ed8cda2
JM
21828 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21829 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21830 -DIS_IN_build.
21831
35d76d59
JM
21832 * timezone/README: Update upstream location and email address for
21833 tzcode and tzdata.
21834 * timezone/zdump.c: Update from tzcode 2012b.
21835 * timezone/zic.c: Likewise.
21836
a3cc4f48
JM
21837 * configure.in (libc_cv_as_needed): Remove test.
21838 * configure: Regenerated.
21839 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21840 conditional definition.
21841 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21842 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21843 * config.make.in (have-as-needed): Remove variable.
21844
ceab42c3
SP
218452012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21846 Paul Pluzhnikov <ppluzhnikov@google.com>
21847
21848 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21849 strings correctly.
21850
3ce2865f
CLT
218512012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21852
21853 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21854 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21855 * sysdeps/sh/strlen.S: Likewise.
21856
f37e0d68
JM
218572012-04-24 Joseph Myers <joseph@codesourcery.com>
21858
ae186e9a
JM
21859 * sysdeps/unix/fork.S: Remove file.
21860 * sysdeps/unix/i386/fork.S: Likewise.
21861 * sysdeps/unix/sparc/fork.S: Likewise.
21862
b96914af
JM
21863 * sysdeps/unix/system.c: Remove file.
21864 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21865
f37e0d68
JM
21866 * sysdeps/unix/getegid.S: Remove file.
21867 * sysdeps/unix/geteuid.S: Likewise.
21868
87ef29ca
RM
218692012-04-24 Roland McGrath <roland@hack.frob.com>
21870
83bcd236
RM
21871 * scripts/check-localplt.awk: New file.
21872 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21873 of diff.
21874 * scripts/data/localplt-generic.data: Add a comment.
21875
87ef29ca
RM
21876 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21877 NODE when __dir_mkfile failed.
21878 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21879 Reported by Ludovic Courtès <ludo@gnu.org>.
21880
e5a6e567
AJ
218812012-04-24 Andreas Jaeger <aj@suse.de>
21882
21883 * Makerules (common-clean): Also remove gen-as-const-headers
21884 files.
21885
c1820385
JM
218862012-04-24 Joseph Myers <joseph@codesourcery.com>
21887
21888 * Makerules (native-compile): Do not change working directory for
21889 build. Use $(OUTPUT_OPTION) in command.
21890 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21891
94e02fc4
AZ
218922012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21893
21894 [BZ #13886]
21895 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21896 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21897 * math/libm-test.inc (floor_test): Add more tests.
21898 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21899
3a533ca3
JM
219002012-04-24 Joseph Myers <joseph@codesourcery.com>
21901
940ab4b3
JM
21902 * sysdeps/unix/getdents.c: Remove file.
21903 * sysdeps/unix/sysv/getdents.c: Likewise.
21904 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21905
90e037bd
JM
21906 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21907 sysdeps/unix/mman/syscalls.list.
21908 (mmap): Likewise.
21909 (mprotect): Likewise.
21910 (msync): Likewise.
21911 (munmap): Likewise.
21912 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21913 * sysdeps/unix/mman/syscalls.list: Remove.
21914 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21915
3a533ca3
JM
21916 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21917 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21918 * configure: Regenerated.
21919 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21920 $(libgcc_s_suffix).
21921 * config.make.in (libgcc_s_suffix): Remove variable.
21922
1ad743de
JM
219232012-04-23 Joseph Myers <joseph@codesourcery.com>
21924
4ad451e2
JM
21925 * sysdeps/unix/sysv/gethostname.c: Move to ...
21926 * sysdeps/posix/gethostname.c: ... here.
21927
5e37ce39
JM
21928 * sysdeps/unix/execve.S: Remove file.
21929
1ad743de
JM
21930 * sysdeps/unix/_exit.S: Remove file.
21931
4e681b5b
AJ
219322012-04-23 Andreas Jaeger <aj@suse.de>
21933
21934 [BZ #13739]
21935 * manual/Makefile: Remove make dist support, there's no
21936 need for a stand-alone documentation tar ball.
21937 (TEXI2DVI): Define always, it's not in Makeconfig.
21938 (dist): Removed.
21939 (tar-it): Removed.
21940 (edition): Removed.
21941 (glibc-doc-$(edition).tar): Removed
21942 (%.Z): Removed.
21943 (%.gz): Removed.
21944 (%.uu): Removed.
21945 (ETAGS): Remove, it's in Makeconfig.
21946 (move-if-change): Remove, it's in Makeconfig.
21947
38686a03 219482012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21949
21950 [BZ #13970]
21951 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21952 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21953 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21954 (strtod_l, strtof_l, strtold_l): Remove __wur.
21955 It is not necessarily an error to ignore strtol's return value.
21956 One can reliably look at the stored endptr to decide whether
21957 the number had valid syntax.
21958
7c0616fa
AJ
219592012-04-21 Andreas Jaeger <aj@suse.de>
21960
803cb6b7 21961 [BZ #13739]
7c0616fa
AJ
21962 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21963
b0fe253f
JM
219642012-04-21 Joseph Myers <joseph@codesourcery.com>
21965
21966 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21967 * sysdeps/unix/sysv/Versions: Remove file.
21968
8280f22d
MT
219692012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21970
21971 [BZ #13927]
21972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21973
75ce411f 219742012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21975
21976 [BZ #7064]
21977 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21978 version from __vm86.
21979
097d59fa
JM
219802012-04-20 Joseph Myers <joseph@codesourcery.com>
21981
a90f3bcb
JM
21982 * sysdeps/unix/common/lxstat.c: Remove file.
21983 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21984
edc7ea78
JM
21985 * sysdeps/unix/sysv/Makefile: Remove file.
21986
cb78c221
JM
21987 * sysdeps/unix/sysv/direct.h: Remove file.
21988
efa6a45f
JM
21989 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21990 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21991 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21992 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21993 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21994 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21995 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21996
9c9f2d0c
JM
21997 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21998
4541c83b
JM
21999 * sysdeps/unix/xmknod.c: Remove file.
22000 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22001
f5d153a0
JM
22002 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22003
aa746595
JM
22004 * sysdeps/unix/sysv/i386/time.S: Remove file.
22005
cce5905e
JM
22006 * sysdeps/unix/fxstat.c: Remove file.
22007 * sysdeps/unix/xstat.c: Likewise.
22008 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
22009
37fa3841
JM
22010 * sysdeps/unix/sysv/sigaction.c: Remove file.
22011
ff1962a3
JM
22012 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
22013 (sysdep_headers): Remove variable.
22014 [termio.h not in sysdep_headers] (generated): Likewise.
22015 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
22016 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
22017 * sysdeps/unix/sysv/tcdrain.c: Likewise.
22018 * sysdeps/unix/sysv/tcflow.c: Likewise.
22019 * sysdeps/unix/sysv/tcflush.c: Likewise.
22020 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
22021 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
22022 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
22023 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
22024 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
22025
e7740d31
JM
22026 * sysdeps/unix/siglist.c: Remove file.
22027
ee06f18b
JM
22028 * sysdeps/unix/getppid.S: Remove file.
22029
097d59fa
JM
22030 * sysdeps/unix/mkdir.c: Remove file.
22031 * sysdeps/unix/rmdir.c: Likewise.
22032
ff3d51ec
AS
220332012-04-19 Andreas Schwab <schwab@linux-m68k.org>
22034
22035 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
22036 ERR_MAX value.
22037 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
22038 errlist-compat value.
22039
50f81fd7
DM
220402012-04-18 David S. Miller <davem@davemloft.net>
22041
22042 * sysdeps/generic/memcopy.h (reg_char): Delete.
22043 * debug/strcat_chk.c: Use char, not reg_char.
22044 * debug/strcpy_chk.c: Likewise.
22045 * debug/strncat_chk.c: Likewise.
22046 * debug/strncpy_chk.c: Likewise.
22047 * string/memchr.c: Likewise.
22048 * string/memrchr.c: Likewise.
22049 * string/rawmemchr.c: Likewise.
22050 * string/strcat.c: Likewise.
22051 * string/strchr.c: Likewise.
22052 * string/strchrnul.c: Likewise.
22053 * string/strcmp.c: Likewise.
22054 * string/strcpy.c: Likewise.
22055 * string/strncat.c: Likewise.
22056 * string/strncmp.c: Likewise.
22057 * string/strncpy.c: Likewise.
22058
8ff41c46
WS
220592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22060
22061 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22062 __builtin_memcopy is called when src and dest ranges are known to not
22063 overlap.
22064
6b652f46
WS
220652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22066
22067 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22068 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22069 fwd_align_merge macro call.
22070 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22071 bwd_align_merge macro call.
22072 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22073
b282631e
WS
220742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22075
22076 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22077 bwd_align_merge macros.
22078 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22079 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22080 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22081
95aa737c
DM
220822012-04-18 David S. Miller <davem@davemloft.net>
22083
22084 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22085
7a99a614
AJ
220862012-04-18 Andreas Jaeger <aj@suse.de>
22087
22088 [BZ# 6794]
22089 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22090 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22091 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22092
22093 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22094 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22095 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22096
22097 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22098 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22099 Adjust for changed ldbl-128 files.
22100
22101 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22102 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22103 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22104
e5270c23
DM
221052012-04-17 David S. Miller <davem@davemloft.net>
22106
22107 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22108
fb5e92c9
AS
221092012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22110
22111 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22112 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22113 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22114 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22115 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22116 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22117
76da7265
AZ
221182012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22119
22120 [BZ #6794]
22121 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22122 * math/libm-test.inc: Add ilogb errno and exception tests.
22123 * math/w_ilogb.c: New file: ilogb wrapper.
22124 * math/w_ilogbf.c: New file: ilogbf wrapper.
22125 * math/w_ilogbl.c: New file: ilogbl wrapper.
22126 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22127 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22128 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22129 exception being thrown with 0.0 as argument.
22130 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22131 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22132 exception being thrown with 0.0 as argument.
22133 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22134 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22135 exception being thrown with 0.0 as argument.
22136 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22137 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22138 exception being thrown with 0.0 as argument.
22139 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22140 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22141 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22142 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22143 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22144 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22145 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22146 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22147 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22148
0396e69d
PB
221492012-04-17 Petr Baudis <pasky@ucw.cz>
22150
22151 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22152 with altivec.
22153
750b5926
MP
221542012-04-16 Marek Polacek <polacek@redhat.com>
22155
22156 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22157
751728a1
MP
221582012-04-16 Marek Polacek <polacek@redhat.com>
22159
22160 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22161 operands of fdivp instruction.
22162
34a27407
L
221632012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22164
22165 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22166 * elf/tst-auditmod3b.c: Likewise.
22167 * elf/tst-auditmod4b.c: Likewise.
22168 * elf/tst-auditmod5b.c: Likewise.
22169 * elf/tst-auditmod6b.c: Likewise.
22170 * elf/tst-auditmod6c.c: Likewise.
22171 * elf/tst-auditmod7b.c: Likewise.
22172 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22173 * sysdeps/x86_64/preconfigure.in: Likewise.
22174 * sysdeps/x86_64/preconfigure: Regenerated.
22175
7e73e17d
L
221762012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22177
22178 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22179 __ILP32__.
22180
c7a6ab72
AB
221812012-04-13 Antoine Balestrat <merkil33@gmail.com>
22182
22183 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22184 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22185
a9e8e0e0
CL
221862012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22187
22188 [BZ #13973]
22189 * locale/iso-639.def: Fix gl language name. Spotted by
22190 Yaron Shahrabani.
22191
ec98af7d
RM
221922012-04-12 Roland McGrath <roland@hack.frob.com>
22193
22194 [BZ #2074]
22195 * libio/libio.h (__io_write_fn): Update comment.
22196
247c3ede
PB
221972012-04-12 Petr Baudis <pasky@ucw.cz>
22198
22199 [BZ #2074]
22200 * stdio.texi (Hook Functions): The user provided writer function
22201 is not allowed to return -1.
22202
55939d6d
DM
222032012-04-11 David S. Miller <davem@davemloft.net>
22204
22205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22206
90020f5a
MF
222072012-04-11 Mike Frysinger <vapier@gentoo.org>
22208
22209 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22210 Add a leading slash to rtkaio.
22211
288f9098
JM
222122012-04-11 Jim Meyering <meyering@redhat.com>
22213
90020f5a
MF
22214 [BZ #11959]
22215 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22216 It is not necessarily an error to ignore fwrite's return
22217 value. One can reliably use ferror to test for errors after
22218 the fact.
288f9098 22219
4be2b570
L
222202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22221
22222 * bits/types.h (__snseconds_t): New type.
22223 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22224
22225 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22226 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22227 (__SNSECONDS_T_TYPE): Likewise.
22228 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22229 (__SNSECONDS_T_TYPE): Likewise.
22230 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22231 (__SNSECONDS_T_TYPE): Likewise.
22232
288f9098 222332012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22234
22235 [BZ #2636]
22236 * manual/time.texi (Processor Time): Return type of times is
22237 elapsed real time since an arbitrary point in the past.
22238 (CPU Time): Move CLK_TCK from here...
22239 (Processor Time): ...to here. Correct description.
22240 * manual/conf.texi (Constants for Sysconf): Correct description of
22241 _SC_CLK_TCK.
22242
d7dd4413
DM
222432012-04-10 David S. Miller <davem@davemloft.net>
22244
22245 [BZ #13967]
22246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22247 where the is a gap between DT_REL(A) and DT_JMPREL.
22248
b46068fc
L
222492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22250
22251 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22252 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22253 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22254
73d65cc3
SP
222552012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22256
22257 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22258 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22259 (dl_main): Handle --inhibit-cache.
22260 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22261 _dl_inhibit_cache.
22262 * elf/dl-load.c (_dl_map_object): Use it.
22263 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22264
bcc8d661
JM
222652012-04-09 Joseph Myers <joseph@codesourcery.com>
22266
8f9a2fae
JM
22267 [BZ #13872]
22268 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22269 (__ieee754_powl): Saturate large exponents rather than testing for
22270 overflow of y*log2(x).
22271 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22272 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22273 exceptions.
22274
bcc8d661
JM
22275 [BZ #11521]
22276 * math/s_ctan.c: Include <float.h>.
22277 (__ctan): Avoid internal overflow or cancellation in calculating
22278 denominator.
22279 * math/s_ctanf.c: Likewise.
22280 * math/s_ctanl.c: Likewise.
22281 * math/s_ctanh.c: Likewise.
22282 * math/s_ctanhf.c: Likewise.
22283 * math/s_ctanhl.c: Likewise.
22284 * math/libm-test.inc (ctan_test): Add more tests.
22285 (ctanh_test): Likewise.
22286 * sysdeps/i386/fpu/libm-test-ulps: Update.
22287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22288
823fbbb4
AJ
222892012-04-09 Andreas Jaeger <aj@suse.de>
22290
03879793
AJ
22291 [BZ #6894]
22292 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22293 is an optional BSD extension.
22294
823fbbb4
AJ
22295 [BZ #10254]
22296 * manual/stdio.texi (Opening Streams): Document additional fopen
22297 parameters.
22298
8de131cb
RM
222992012-04-09 Roland McGrath <roland@hack.frob.com>
22300
22301 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22302 %eax without telling the compiler.
22303
c0ed9d7d
CD
223042012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22305
22306 [BZ # 13963]
22307 * manual/install.texi: Use sourceware.org.
22308
c483f6b4
JM
223092012-04-09 Joseph Myers <joseph@codesourcery.com>
22310
d7dd9453
JM
22311 [BZ #13873]
22312 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22313 (__ieee754_pow): Generate overflow and underflow using huge*huge
22314 and tiny*tiny rather than just returning constant infinity or zero
22315 for large exponents.
22316 * math/libm-test.inc (pow_test): Require overflow exceptions for
22317 applicable cases of large exponents.
22318
c483f6b4
JM
22319 [BZ #706]
22320 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22321 (__ieee754_pow): Use iterative multiplication algorithm only for
22322 integer exponents with absolute value below 1024. Check for odd
22323 integer exponents when using algorithm for real exponents.
22324 * math/libm-test.inc (pow_test): Add more tests.
22325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22326
d2de7579
JM
223272012-04-08 Joseph Myers <joseph@codesourcery.com>
22328
22329 [BZ #13705]
22330 * math/libm-test.inc (exp_test): Do not allow overflow exception
22331 on underflow test.
22332
f77f1232
AJ
223332012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22334
22335 [BZ #13705]
22336 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22337 instead of __kernel_standard_f.
22338
3884932b
MF
223392012-04-08 Mike Frysinger <vapier@gentoo.org>
22340
22341 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22342 * sysdeps/x86_64/memset_chk.S: Likewise.
22343
54472e9c
AJ
223442012-04-08 Andreas Jaeger <aj@suse.de>
22345
6ab0fbfc
AJ
22346 [BZ #10153]
22347 * manual/startup.texi (Environment Access): Describe return value
22348 for putenv and setenv.
22349
61efba8c
AJ
22350 [BZ #6895]
22351 * manual/filesys.texi (Directory Entries): Add description for
22352 DT_LNK.
22353
95c3f29a
AJ
22354 [BZ #6890]
22355 * manual/filesys.texi (Directory Entries): Clarify that it's file
22356 system not operating system in the description of DT_UNKNOWN.
22357
54472e9c
AJ
22358 [BZ #6578]
22359 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22360
624254b1
SC
223612012-04-08 Stephen Compall <s11@member.fsf.org>
22362
22363 [BZ #6649]
22364 * manual/llio.texi (Opening and Closing Files): Add cross
22365 reference to explain mode argument.
22366
1e4920e0
MF
223672012-04-07 Mike Frysinger <vapier@gentoo.org>
22368
22369 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22370 * sysdeps/x86_64/memset_chk.S: Likewise.
22371
5ed848f3
DM
223722012-04-07 David S. Miller <davem@davemloft.net>
22373
22374 * elf/elf.h (R_SPARC_WDISP10): Define.
22375 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22376 R_SPARC_SIZE32.
22377 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22378 R_SPARC_SIZE64 and R_SPARC_H34.
22379
96154cd8
CD
223802012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22381
22382 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22383 conditions and remove no longer applicable assertion.
22384
9904dc47
L
223852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22386
22387 * bits/byteswap.h: Include <features.h>.
22388 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22389 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22390
f8887d0a
L
223912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22392
22393 * bits/byteswap.h (__bswap_16): Removed.
22394 Include <bits/byteswap-16.h> to get __bswap_16.
22395 * sysdeps/i386/bits/byteswap.h: Likewise.
22396 * sysdeps/s390/bits/byteswap.h: Likewise.
22397 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22398 * bits/byteswap-16.h: New file.
22399 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22400 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22401 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22402 * string/Makefile (headers): Add bits/byteswap-16.h.
22403
62470f60
PP
224042012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22405
22406 [BZ #13895]
22407 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22408 extra indirection.
22409 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22410 * nss/tst-nss-static.c: New.
22411
4dad7bab
RM
224122012-04-06 Robert Millan <rmh@gnu.org>
22413
22414 [BZ #6486]
22415 * manual/llio.texi (File Position Primitive): lseek
22416 refers to WHENCE when it really means OFFSET.
22417
e9142a17
AJ
224182012-04-06 Andreas Jaeger <aj@suse.de>
22419
2c040eff
AJ
22420 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22421 strncmp declarations.
22422
e9142a17
AJ
22423 * abilist/libc.abilist: Add __poll and __ppoll.
22424
ff9f1c5f
DM
224252012-04-05 David S. Miller <davem@davemloft.net>
22426
dcd2ae90
DM
22427 * scripts/check-local-headers.sh: Accept a host triplet in the
22428 path matched by the exclude regexp.
22429
993eb054
DM
22430 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22431 definition.
22432 * sysdeps/powerpc/powerpc32/dl-machine.h
22433 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22434 * sysdeps/s390/s390-32/dl-machine.h
22435 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22436 * sysdeps/sparc/sparc32/dl-machine.h
22437 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22438 * sysdeps/sparc/sparc64/dl-machine.h
22439 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22440
ff9f1c5f
DM
22441 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22442 lazy binding.
48e2e132 22443 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22444 undefined symbol errors.
22445
48e2e132 22446 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22447 DT_NEEDED entries.
22448
e80d6f94
MM
224492012-04-05 Michael Matz <matz@suse.de>
22450
22451 [BZ #13592]
22452 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22453
349fa79f
AJ
224542012-04-05 Andreas Jaeger <aj@suse.de>
22455
22456 [BZ #13908]
22457 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22458 comment.
22459
f402708f
KK
224602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22461
22462 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22463 which ROUND is no valid rounding mode.
22464
2ecccfc9
KK
224652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22466
22467 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22468 read again.
22469 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22470
8a53f50f
KK
224712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22472
22473 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22474 an exception using FPU order intentionally.
22475
224762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22477
22478 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22479 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22480 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22481 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22482
d653abb7
SJ
224832012-04-05 Simon Josefsson <simon@josefsson.org>
22484
22485 [BZ #12340]
22486 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22487 EINVAL when BUFLEN is too smal.
22488
c3b1bf7d
TS
224892012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22490
22491 [BZ #13553]
22492 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22493 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22494
b1aa60f3
AJ
224952012-04-03 Andreas Jaeger <aj@suse.de>
22496
c3b1bf7d 22497 [BZ #13938]
67f60a26
AJ
22498 * manual/setjmp.texi (System V contexts): Fix sentence.
22499
b1aa60f3
AJ
22500 [BZ #13926]
22501 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22502 New macro for this case.
22503 [!__GNUC__] (__bswap_64): New inline function for this case.
22504 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22505 * bits/byteswap.h: Likewise.
22506 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22507 ull, guard with __GLIBC_HAVE_LONG_LONG.
22508
22509 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22510 __GLIBC_HAVE_LONG_LONG.
22511
22512 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22513 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22514
39c59c35
TMQMF
225152012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22516
22517 [BZ #13691]
22518 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22519 inptr and inend, rather than using last_ch.
22520
135ffda8
DM
225212012-04-02 David S. Miller <davem@davemloft.net>
22522
22523 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22524 * stdio-common/printf-parse.h (read_int): Change return type to
22525 'int', return -1 on INT_MAX overflow.
22526 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22527 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22528 overflows INT_MAX. Check for overflow of in-format-string precision
22529 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22530 SIZE_MAX not INT_MAX for integer overflow test.
22531 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22532 skip the construct in the format string but do not record anything.
22533 * stdio-common/bug22.c: Adjust to test both width/prevision
22534 INT_MAX overflow as well as total length INT_MAX overflow. Check
22535 explicitly for proper errno values.
22536
228c019e
TS
225372012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22538
302cadd3
TS
22539 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22540 CHAR_MAX.
22541 * string/test-strcmp.c [! WIDE]: Likewise.
22542 * time/tst-mktime2.c: Likewise for INT_MAX.
22543 * string/test-string.h: #include <sys/param.h> for MIN.
22544
228c019e
TS
22545 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22546 * sysdeps/i386/init-first.c (init): Likewise.
22547 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22548 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22549 * sysdeps/sh/init-first.c (init): Likewise.
22550
cfa633f5
UD
225512012-04-01 Ulrich Drepper <drepper@gmail.com>
22552
22553 * po/ru.po: Update from translation team.
d1635ef8 22554 * po/vi.po: Likewise.
cfa633f5 22555
6cd0a5ea
SP
225562012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22557
22558 * resolv/nss_dns/dns-host.c: Merge copyright years.
22559
4b43400f
LD
225602012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22561
22562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22563 Optimize memcpy with prefetch if
22564 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22565 src, dst pointers have unequal 16 byte alignments.
22566
48c41d04
SP
225672012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22568
22569 [BZ #13928]
22570 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22571 from a CNAME entry and return the minimum ttl for the query.
22572 (gaih_getanswer_slice): Likewise.
22573
b8dc394d
JL
225742012-03-30 Jeff Law <law@redhat.com>
22575
22576 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22577 due to long keys.
22578 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22579 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22580
2f5a5ed0
JL
22581 * resolv/nss_dns/dns-host.c: Update copyright year.
22582
1d39e359
UD
225832012-03-30 Ulrich Drepper <drepper@gmail.com>
22584
c030f70c 22585 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22586 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22587
1d39e359
UD
22588 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22589 comments for sendmmsg.
22590
225912012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22592
22593 [BZ #13691]
22594 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22595 with only 1 character between 0x0041 and 0x01b0.
22596 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22597 * wcsmbs/tst-mbsnrtowcs.c: New file.
22598
20fde227
DM
225992012-03-29 David S. Miller <davem@davemloft.net>
22600
22601 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22602 small copies by hand.
22603
984a4237
JL
226042012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22605
22606 [BZ #13761]
22607 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22608 _nss_compat_initgroups_dyn): Fall back to malloc/free
22609 for large group memberships.
22610
18c9d62b
DM
226112012-03-28 David S. Miller <davem@davemloft.net>
22612
88d85d4f
DM
22613 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22614 that branches into memcpy.
22615 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22616 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22617 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22618 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22620 bits.
22621 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22622 implementation too.
22623 * sysdeps/sparc/mempcpy.S: New file.
22624
e5aa83e1
DM
22625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22626 the IFUNC routine in the libc case.
22627 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22628
88570753
DM
22629 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22630 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22631 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22632 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22633 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22634 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22635 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22636 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22637
249d7567
DM
22638 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22639 loop to 256 bytes instead of 64 bytes and fix test signedness.
22640
18c9d62b
DM
22641 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22642 * sysdeps/sparc/sparc32/Makefile: rather than here...
22643 * sysdeps/sparc/sparc64/Makefile: and here.
22644
05f3d1f6
UD
226452012-03-28 Ulrich Drepper <drepper@gmail.com>
22646
22647 * malloc/mallocbug.c: Avoid warnings about unused variables.
22648
86ae07a8
JL
226492012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22650
22651 [BZ #13760]
22652 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22653 in the right place. Discard and retry query if response is
22654 larger than input buffer size.
22655
41bf21a1
JM
226562012-03-28 Joseph Myers <joseph@codesourcery.com>
22657
d6270972
JM
22658 [BZ #369]
22659 [BZ #2678]
22660 [BZ #3866]
22661 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22662 x for large integer exponent.
22663 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22664 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22665 sign of result as needed afterwards.
22666 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22667 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22668 result for underflowing pow the same as for overflow.
22669 (__kernel_standard_l): Handle powl overflow and underflow here
22670 rather than calling __kernel_standard.
22671 * math/libm-test.inc (pow_test): Add more tests.
22672
414fca03 22673 [BZ #3868]
41bf21a1
JM
22674 [BZ #13879]
22675 [BZ #13910]
22676 [BZ #13911]
22677 [BZ #13912]
22678 [BZ #13913]
22679 [BZ #13915]
22680 [BZ #13916]
22681 [BZ #13917]
22682 [BZ #13918]
22683 [BZ #13919]
22684 [BZ #13920]
22685 [BZ #13921]
22686 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22687 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22688 (__kernel_standard_l): New function.
22689 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22690 __kernel_standard.
22691 * math/w_acosl.c (__acosl): Likewise.
22692 * math/w_asinl.c (__asinl): Likewise.
22693 * math/w_atan2l.c (__atan2l): Likewise.
22694 * math/w_atanhl.c (__atanhl): Likewise.
22695 * math/w_coshl.c (__coshl): Likewise.
22696 * math/w_exp10l.c (__exp10l): Likewise.
22697 * math/w_exp2l.c (__exp2l): Likewise.
22698 * math/w_fmodl.c (__fmodl): Likewise.
22699 * math/w_hypotl.c (__hypotl): Likewise.
22700 * math/w_j0l.c (__j0l, __y0l): Likewise.
22701 * math/w_j1l.c (__j1l, __y1l): Likewise.
22702 * math/w_jnl.c (__jnl, __ynl): Likewise.
22703 * math/w_lgammal.c (__lgammal): Likewise.
22704 * math/w_log10l.c (__log10l): Likewise.
22705 * math/w_log2l.c (__log2l): Likewise.
22706 * math/w_logl.c (__logl): Likewise.
22707 * math/w_powl.c (__powl): Likewise.
22708 * math/w_remainderl.c (__remainderl): Likewise.
22709 * math/w_scalbl.c (sysv_scalbl): Likewise.
22710 * math/w_sinhl.c (__sinhl): Likewise.
22711 * math/w_sqrtl.c (__sqrtl): Likewise.
22712 * math/w_tgammal.c (__tgammal): Likewise.
22713 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22714 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22715 * math/libm-test.inc (acos_test): Add more tests.
22716 (acosh_test): Likewise.
22717 (asin_test): Likewise.
22718 (atanh_test): Likewise.
22719 (exp_test): Likewise.
22720 (exp10_test): Likewise.
22721 (exp2_test): Likewise.
22722 (expm1_test): Likewise.
22723 (lgamma_test): Likewise.
22724 (log_test): Likewise.
22725 (log10_test): Likewise.
22726 (log1p_test): Likewise.
22727 (log2_test): Likewise.
22728 (pow_test): Do not allow some spurious overflow exceptions.
22729 (sqrt_test): Add more tests.
22730 (tgamma_test): Likewise.
22731 (y0_test): Likewise.
22732 (y1_test): Likewise.
22733 (yn_test): Likewise.
22734
dd62fda6
AB
227352012-03-27 Anton Blanchard <anton@samba.org>
22736
22737 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22738 MAP_HUGETLB.
22739 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22740 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22741 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22742
1e3cdfda
AJ
227432012-03-27 David S. Miller <davem@davemloft.net>
22744
b855ab85
DM
22745 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22746
1e3cdfda
AJ
22747 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22748 have-as-vis3 check.
22749
227502012-03-27 Andreas Jaeger <aj@suse.de>
22751
22752 * sysdeps/x86_64/elf/configure.in: Moved to ...
22753 * sysdeps/x86_64/configure.in: ... here.
22754 * sysdeps/x86_64/elf/start.S: Moved to ...
22755 * sysdeps/x86_64/start.S: ... here.
22756 * sysdeps/x86_64/elf/configure: Delete.
22757
22758 * sysdeps/x86_64/configure.in: Merge contents from
22759 sysdeps/i386/configure.in (without i686 check).
22760
22761 * sysdeps/i386/elf/Versions: Merge into ...
22762 * sysdeps/i386/Versions: ... this.
22763 * sysdeps/i386/elf/Versions: Delete file.
22764 * sysdeps/i386/elf/start.S: Moved to ...
22765 * sysdeps/i386/start.S: ...here.
22766 * sysdeps/i386/elf/configure.in: Merge into...
22767 * sysdeps/i386/configure.in: ...here.
22768 * sysdeps/i386/elf/configure.in: Delete file.
22769 * sysdeps/i386/elf/configure: Delete file.
22770
22771 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22772 * debug/backtracesyms.c: ... here.
22773 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22774 * debug/backtracesymsfd.c: ... here.
22775 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22776 * sysdeps/generic/ifunc-sel.h: ... here.
22777
22778 * sysdeps/unix/i386/start.c: Delete file.
22779 * sysdeps/unix/sparc/start.c: Delete file.
22780 * sysdeps/unix/start.c: Delete file.
22781
22782 * sysdeps/sh/elf/configure.in: Moved to ...
22783 * sysdeps/sh/configure.in: ... here.
22784 * sysdeps/sh/elf/start.S: Moved to ...
22785 * sysdeps/sh/start.S: ... here.
22786 * sysdeps/sh/elf/configure: Delete file.
22787
22788 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22789 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22790 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22791 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22792 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22793 * sysdeps/powerpc/powerpc64/start.S: here.
22794 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22795 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22796 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22797 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22798 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22799
22800 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22801 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22802 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22803 * sysdeps/powerpc/powerpc32/start.S: ... here.
22804 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22805 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22806 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22807
22808 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22809 * sysdeps/powerpc/ifunc-sel.h: ... here.
22810 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22811 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22812
22813 * sysdeps/sparc/elf/configure.in: Moved to ...
22814 * sysdeps/sparc/configure.in: ... here.
22815 * sysdeps/sparc/elf/configure: Delete file.
22816 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22817 * sysdeps/sparc/sparc32/start.S: ... here.
22818 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22819 * sysdeps/sparc/sparc64/start.S: ... here.
22820 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22821 * sysdeps/sparc/sparc32/Makefile: ... this.
22822 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22823 * sysdeps/sparc/sparc64/Makefile: ... this.
22824
22825 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22826 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22827 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22828 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22829 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22830 * sysdeps/s390/s390-32/setjmp.S: ... here.
22831 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22832 * sysdeps/s390/s390-32/configure.in: ... here.
22833 * sysdeps/s390/s390-32/elf/configure: Delete file.
22834 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22835 * sysdeps/s390/s390-32/start.S: ... here.
22836
22837 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22838 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22839 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22840 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22841 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22842 * sysdeps/s390/s390-64/setjmp.S: ... here.
22843 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22844 * sysdeps/s390/s390-64/configure.in: ... here
22845 * sysdeps/s390/s390-64/elf/configure: Delete file.
22846 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22847 * sysdeps/s390/s390-64/start.S: ... here.
22848 * sysdeps/s390/s390-64/elf/configure: Delete.
22849
22850 * configure.in: Remove support for elf directories in sysdeps.
22851
22852 * configure: Regenerated.
22853 * sysdeps/i386/configure: Regenerated.
22854 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22855 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22856 * sysdeps/s390/s390-32/configure: Regenerated.
22857 * sysdeps/s390/s390-64/configure: Regenerated.
22858 * sysdeps/sh/configure: Regenerated.
22859 * sysdeps/sparc/configure: Regenerated.
22860 * sysdeps/x86_64/configure: Regenerated.
22861
a3f61311
AS
228622012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22863
c876e002
AS
22864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22865
a3f61311
AS
22866 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22867 denormal result into account.
22868
ac4c54f0
RM
228692012-03-25 Roland McGrath <roland@hack.frob.com>
22870
22871 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22872 Reported by Allan McRae <allan@archlinux.org>.
22873
6a9b9c02
JL
228742012-03-23 Jeff Law <law@redhat.com>
22875
22876 * nss/getnssent.c (__nss_getent): Fix typo.
22877
4c42a0c1
DM
228782012-03-23 David S. Miller <davem@davemloft.net>
22879
22880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22881
1532c7ac
L
228822012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22883
22884 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22885 to pad to uint64_t for each field.
22886 (dl_tls_index): Replace unsigned long with uint64_t.
22887
3ff42526
PP
228882012-03-23 Daniel Jacobowitz <dmj@google.com>
22889 Paul Pluzhnikov <ppluzhnikov@google.com>
22890
22891 [BZ #6528]
22892 * grp/Makefile (otherlibs): Don't set it.
22893 * inet/Makefile (otherlibs): Likewise.
22894 * login/Makefile (otherlibs): Likewise.
22895 * nscd/Makefile (otherlibs): Likewise.
22896 * posix/Makefile (otherlibs): Likewise.
22897 * pwd/Makefile (otherlibs): Likewise.
22898 * rt/Makefile (otherlibs): Likewise.
22899 * sunrpc/Makefile (otherlibs): Likewise.
22900 * nss/Makefile (otherlibs): Likewise.
22901 Add libnss_files to routines and static-only-routines.
22902 ($(objpfx)getent): Remove rule.
22903 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22904 static-only-routines.
22905
7c69cd14
JM
229062012-03-22 Joseph Myers <joseph@codesourcery.com>
22907
22908 [BZ #13892]
22909 * math/s_cexp.c: Include <float.h>.
22910 (__cexp): Handle exp result overflowing not necessarily
22911 overflowing both real and imaginary parts of result.
22912 * math/s_cexpf.c: Likewise.
22913 * math/s_cexpl.c: Likewise.
22914 * math/libm-test.inc (cexp_test): Add more tests.
22915 * sysdeps/i386/fpu/libm-test-ulps: Update.
22916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22917
81b035fe
L
229182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22919
22920 * include/link.h (ELFW): New macro.
22921 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22922 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22923
1da7940c
L
229242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22925
22926 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22927 with uint64_t.
22928
b749dbb9
L
229292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22930
22931 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22932 declaration.
22933 (struct La_x32_retval): Likewise.
22934
2ff87f3f
L
229352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22936
22937 * sysdeps/x86_64/preconfigure.in: New file.
22938 * sysdeps/x86_64/preconfigure: New generated file.
22939
c0df8e69
JM
229402012-03-22 Joseph Myers <joseph@codesourcery.com>
22941
48e44791
JM
22942 [BZ #13824]
22943 * math/e_exp2l.c: Include <float.h>.
22944 (__ieee754_exp2l): Handle overflow and underflow cases
22945 separately. Only pass fractional part of argument to
22946 __ieee754_expl.
22947 * math/libm-test.inc (exp2_test): Add more tests.
22948
c0df8e69
JM
22949 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22950 negating x to take absolute value.
22951 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22952 Likewise.
22953 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22954 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22955 Likewise.
22956 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22957 computing low part if x was negated.
22958 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22959
c8e43ba7
L
229602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22961
22962 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22963 la_x32_gnu_pltexit.
22964 (pltexit): Cast int_retval to ptrdiff_t.
22965 * elf/tst-auditmod3b.c: Likewise.
22966 * elf/tst-auditmod4b.c: Likewise.
22967 * elf/tst-auditmod5b.c: Likewise.
22968 * elf/tst-auditmod6b.c: Likewise.
22969 * elf/tst-auditmod6c.c: Likewise.
22970 * elf/tst-auditmod7b.c: Likewise.
22971
22972 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22973 and x32_gnu_pltexit.
22974
22975 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22976 __ELF_NATIVE_CLASS.
22977 (La_x32_regs): New macro.
22978 (La_x32_retval): Likewise.
22979 (la_x32_gnu_pltenter): New function prototype.
22980 (la_x32_gnu_pltexit): Likewise.
22981
7998fa78
AS
229822012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22983
dcb33988
AS
22984 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22985 exponent.
22986
233fc563
AS
22987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22988
7998fa78
AS
22989 * configure.in (libc_cv_cc_nofma): Check for option to disable
22990 generation of FMA instructions.
22991 * configure: Regenerate.
22992 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22993 * sysdeps/ieee754/dbl-64/Makefile: New file.
22994 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22995 Remove brandred-fma4.
22996 (CFLAGS-brandred-fma4.c): Remove.
22997 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22998 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22999 define.
23000 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23001 define.
23002
8e95c99a
L
230032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23004
23005 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23006 LLONG_MAX != LONG_MAX.
23007 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23008 (_fitoa_word): Likewise.
23009 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
23010 LLONG_MAX != LONG_MAX.
23011 * stdio-common/_itowa.h: Include <_itoa.h>.
23012 (_itowa_word): Use _ITOA_WORD_TYPE on value.
23013 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
23014 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
23015 only if not defined.
23016 (_ITOA_WORD_TYPE): Likewise.
23017 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23018 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
23019
6f4db457
DM
230202012-03-21 David S. Miller <davem@davemloft.net>
23021
23022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23023
7785fe5a
L
230242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23025
23026 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
23027 of x86_64 when setting libc_cv_slibdir, libdir and
23028 libc_cv_localedir.
23029 * sysdeps/unix/sysv/linux/configure: Regenerated.
23030
4535cd55
JM
230312012-03-21 Joseph Myers <joseph@codesourcery.com>
23032
23033 * manual/lang.texi (Old Varargs): Remove section.
23034 (How Variadic): Update menu.
23035 (va_start): Do not mention varargs.h.
23036
17228132
TS
230372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23038 Joseph Myers <joseph@codesourcery.com>
23039
23040 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
23041 link test.
23042 * configure: Regenerated.
23043
8149f976
TS
230442012-03-21 Thomas Schwinge <thomas@codesourcery.com>
23045
05f3d1f6
UD
23046 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
23047 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
23048 conformtest.pl
8149f976 23049
1a4ac776
JM
230502012-03-21 Joseph Myers <joseph@codesourcery.com>
23051
be22ce65
JM
23052 * NOTES: Remove.
23053 * Makefile (files-for-dist): Remove NOTES.
23054 (NOTES): Remove rule.
23055 * README: Don't refer to NOTES.
23056 * manual/creature.texi: Don't include macros.texi.
23057 * manual/intro.texi (creature.texi): Remove comment referring to
23058 NOTES.
23059
40b601fb
JM
23060 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23061 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23062 * configure: Regenerated.
23063 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23064 LIBC_TRY_CC_OPTION.
23065 (libc_cv_as_i686): Likewise.
23066 (libc_cv_cc_avx): Likewise.
23067 (libc_cv_cc_sse2avx): Likewise.
23068 (libc_cv_cc_fma4): Likewise.
23069 (libc_cv_cc_novzeroupper): Likewise.
23070 * sysdeps/i386/configure: Regenerated.
23071
1a4ac776
JM
23072 [BZ #13883]
23073 * sysdeps/i386/fpu/s_cexp.S: Remove.
23074 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23075 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23076 * math/libm-test.inc (cexp_test): Add more tests.
23077 * sysdeps/i386/fpu/libm-test-ulps: Update.
23078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23079
a458e7fe
AM
230802012-03-21 Allan McRae <allan@archlinux.org>
23081
23082 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23083
0cb7efc5
JM
230842012-03-21 Joseph Myers <joseph@codesourcery.com>
23085
23086 [BZ #13871]
23087 * math/w_exp2.c: Do not include <float.h>.
23088 (o_threshold, u_threshold): Remove.
23089 (__exp2): Calculate result before checking finiteness and calling
23090 __kernel_standard.
23091 * math/w_exp2f.c: Likewise.
23092 * math/w_exp2l.c: Likewise.
23093 * math/libm-test.inc (exp2_test): Require overflow exception for
23094 1e6 input.
2460d3aa
JM
23095
23096 [BZ #3866]
23097 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23098 range of signed 64-bit integers before using fistpll. Remove
23099 checks for whether integers fit in mantissa bits.
23100 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23101 the range of signed 32-bit integers before using fistpl. Remove
23102 checks for whether integers fit in mantissa bits.
23103 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23104 (__ieee754_powl): Test for y outside the range of signed 64-bit
23105 integers before using fistpll. Reduce 64-bit values to 63-bit
23106 ones as needed.
23107 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23108 divide-by-zero is raised for zero to large negative powers.
23109 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23110 (__ieee754_powl): Test for y outside the range of signed 64-bit
23111 integers before using fistpll. Reduce 64-bit values to 63-bit
23112 ones as needed.
23113 * math/libm-test.inc (pow_test): Add more tests.
23114
eb96ffb0
L
231152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23116
23117 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23118 <stdio-common/_itoa.h>.
23119 * debug/segfault.c: Likewise.
23120 * elf/dl-cache.c: Likewise.
23121 * elf/dl-minimal.c: Likewise.
23122 * elf/dl-misc.c: Likewise.
23123 * elf/dl-sysdep.c: Likewise.
23124 * elf/dl-version.c: Likewise.
23125 * elf/rtld.c: Likewise.
23126 * hurd/hurdsock.c: Likewise.
23127 * hurd/lookup-retry.c: Likewise.
23128 * malloc/malloc.c: Likewise.
23129 * malloc/mtrace.c: Likewise.
23130 * nscd/nscd_getgr_r.c: Likewise.
23131 * nscd/nscd_getpw_r.c: Likewise.
23132 * nscd/nscd_getserv_r.c: Likewise.
23133 * posix/getopt_init.c: Likewise.
23134 * posix/wordexp.c: Likewise.
23135 * stdio-common/_itoa.c: Likewise.
23136 * stdio-common/printf_fphex.c: Likewise.
23137 * stdio-common/vfprintf.c: Likewise.
23138 * string/_strerror.c: Likewise.
23139 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23140 * sysdeps/i386/i686/hp-timing.h: Likewise.
23141 * sysdeps/mach/_strerror.c: Likewise.
23142 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23143 * sysdeps/mach/hurd/sethostid.c: Likewise.
23144 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23145 * sysdeps/mach/xpg-strerror.c: Likewise.
23146 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23147 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23148 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23149 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23150 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23151 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23152 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23153 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23154 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23155 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23156 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23157 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23158 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23159 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23160 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23161 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23162 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23163 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23164 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23165 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23166 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23167
23168 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23169
23170 * stdio-common/_itoa.h: Moved to ...
23171 * sysdeps/generic/_itoa.h: Here.
23172
23173 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23174
23175 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23176 instead of "_itoa.h" and "_itowa.h".
23177 * stdio-common/vfprintf.: Likewise.
23178
d1af992d
L
231792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23180
23181 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23182 <bits/wordsize.h>.
23183 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23184 (__signbit): Likwise.
23185 (llrintf): Likwise.
23186 (llrint): Likwise.
23187
114883e0
L
231882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23189
23190 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23191 __WORDSIZE != 64.
23192
c135cc1b
JM
231932012-03-20 Joseph Myers <joseph@codesourcery.com>
23194
23195 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23196 OVERFLOW_EXCEPTION_OK.
23197 * math/libm-test.inc ("Philosophy"): Update comment about
23198 exception testing.
23199 (OVERFLOW_EXCEPTION): Define.
23200 (OVERFLOW_EXCEPTION_OK): Likewise.
23201 (INVALID_EXCEPTION_OK): Renumber.
23202 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23203 (IGNORE_ZERO_INF_SIGN): Likewise.
23204 (test_exceptions): Handle FE_OVERFLOW.
23205 (exp10_test): Expect overflow exceptions.
23206 (exp2_test): Likewise.
23207 (expm1_test): Likewise.
23208 (nextafter_test): Likewise.
23209 (pow_test): Likewise.
23210 (scalbn_test): Likewise.
23211 (scalbln_test): Likewise.
23212
95443d88
L
232132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23214
23215 * sysdeps/x86_64/bits/atomic.h
23216 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23217 64bit integer.
23218 (atomic_exchange_acq): Likewise.
23219 (__arch_exchange_and_add_body): Likewise.
23220 (__arch_add_body): Likewise.
23221 (atomic_add_negative): Likewise.
23222 (atomic_add_zero): Likewise.
23223
490df6c4
L
232242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23225
c2722551 23226 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23227 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23228
5e52b189
L
232292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23230
23231 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23232 Check __x86_64__ instead of __WORDSIZE.
23233
a9879d4c
L
232342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23235
23236 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23237
5df98260
DM
232382012-03-19 David S. Miller <davem@davemloft.net>
23239
e1497744
DM
23240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23241
5df98260
DM
23242 * sysdeps/sparc/fpu/fenv_private.h: New file.
23243 * sysdeps/sparc/fpu/math_private.h: Use it.
23244 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23245 Remove.
23246 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23247 (libc_feholdexcept_setroundl): Remove.
23248 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23249 Remove.
23250 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23251 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23252
b4c35121
L
232532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23254
23255 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23256 int64_t instead of long int.
23257 (INSERT_WORDS64): Likwise.
23258
56965fd7
L
232592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23260
23261 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23262 _Unwind_GetCFA return to _Unwind_Ptr first.
23263
83d1aec8
JM
232642012-03-19 Joseph Myers <joseph@codesourcery.com>
23265
1897ad44
JM
23266 [BZ #13629]
23267 * math/s_clog.c: Include <float.h>.
23268 (__clog): Scale large or subnormal inputs.
23269 * math/s_clogf.c: Likewise.
23270 * math/s_clogl.c: Likewise.
23271 * math/s_clog10.c: Include <float.h>.
23272 (M_LOG10_2): Define.
23273 (__clog10): Scale large or subnormal inputs.
23274 * math/s_clog10f.c: Likewise.
23275 * math/s_clog10l.c: Likewise.
23276 * math/libm-test.inc (clog_test): Add more tests.
23277 (clog10_test): Likewise.
23278 * sysdeps/i386/fpu/libm-test-ulps: Update.
23279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23280
7726d6a9
JM
23281 [BZ #11451]
23282 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23283 x and y.
23284 * math/libm-test.inc (atan2_test): Add another test.
23285
83d1aec8
JM
23286 * Makerules (common-objdir-compile): Remove.
23287 * sysdeps/unix/Makefile (config-generated): Do not add
23288 $(unix-generated) to variable.
23289 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23290 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23291 Remove rule.
23292 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23293 Likewise.
23294 [generic bits/local_lim.h] (before-compile): Do not append to
23295 variable.
23296 [generic bits/local_lim.h] (common-generated): Likewise.
23297 [generic sys/param.h] (before-compile): Do not append to variable.
23298 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23299 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23300 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23301 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23302 include.
23303 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23304 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23305 [generic sys/param.h] ($(addprefix
23306 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23307 [generic sys/param.h] (common-generated): Do not append to
23308 variable.
23309 [generic sys/param.h] (sysdep_headers): Likewise.
23310 [generic bits/errno.h] (before-compile): Do not append to
23311 variable.
23312 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23313 rule.
23314 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23315 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23316 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23317 [generic bits/errno.h] (common-generated): Do not append to
23318 variable.
23319 [generic bits/ioctls.h] (before-compile): Do not append to
23320 variable.
23321 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23322 rule.
23323 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23324 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23325 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23326 rule.
23327 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23328 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23329 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23330 [generic bits/ioctls.h] (common-generated): Do not append to
23331 variable.
23332 [generic sys/syscall.h] (syscall.h): Remove variable.
23333 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23334 rule.
23335 [generic sys/syscall.h] (before-compile): Do not append to
23336 variable.
23337 [generic sys/syscall.h] (common-generated): Likewise.
23338 * sysdeps/unix/errnos-tmpl.c: Remove file.
23339 * sysdeps/unix/errnos.awk: Likewise.
23340 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23341 * sysdeps/unix/ioctls.awk: Likewise.
23342 * sysdeps/unix/mk-local_lim.c: Likewise.
23343 * sysdeps/unix/snarf-ioctls: Likewise.
23344
4851a949
RH
233452012-03-19 Richard Henderson <rth@twiddle.net>
23346
bd37f2ee
RH
23347 * sysdeps/i386/fpu/fenv_private.h: New file.
23348 * sysdeps/i386/fpu/math_private.h: Use it.
23349 (math_opt_barrier, math_force_eval): Remove.
23350 (libc_feholdexcept_setround_53bit): Remove.
23351 (libc_feupdateenv_53bit): Remove.
23352 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23353 (math_opt_barrier, math_force_eval): Remove.
23354 (libc_feholdexcept): Remove.
23355 (libc_feholdexcept_setround): Remove.
23356 (libc_fetestexcept, libc_fesetenv): Remove.
23357 (libc_feupdateenv_test): Remove.
23358 (libc_feupdateenv, libc_feholdsetround): Remove.
23359 (libc_feresetround): Remove.
23360
d0adc922
RH
23361 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23362 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23363
0fe0f1f8
RH
23364 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23365 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23366 (libc_feupdateenv_testl): New.
23367 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23368 (libc_feupdateenv_testf): New.
23369 (libc_feupdateenv): Use libc_feupdateenv_test.
23370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23371 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23372
eb92c487
RH
23373 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23374 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23375 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23376 (libc_feresetround_noex): New.
23377 (libc_feresetround_noexf): New.
23378 (libc_feresetround_noexl): New.
23379 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23380 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23381 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23382 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23383 SET_RESTORE_ROUND.
23384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23385 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23386 (__cos): Likewise.
23387 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23388 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23389 SET_RESTORE_ROUND_NOEX.
23390 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23391 SET_RESTORE_ROUND_NOEXF.
23392 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23393 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23394 (libc_feholdsetroundf): New.
23395 (libc_feresetround, libc_feresetroundf): New.
23396
7d2e8012
RH
23397 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23398 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23399 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23400
b4dabbb4
RH
23401 * sysdeps/generic/math_private.h: Include <fenv.h>.
23402 (default_libc_feholdexcept): New.
23403 (default_libc_feholdexcept_setround): New.
23404 (default_libc_fesetenv, default_libc_feupdateenv): New.
23405 (libc_feholdexcept): Only define if undefined.
23406 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23407 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23408 (libc_feholdexcept_setroundl): Likewise.
23409 (libc_feholdexcept_setround_53bit): Likewise.
23410 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23411 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23412 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23413 (libc_feupdateenv_53bit): Likewise.
23414 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23415 (libc_feholdexcept): Convert from macro to inline function.
23416 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23417 (libc_fesetenv, libc_feupdateenv): Likewise.
23418
4851a949
RH
23419 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23420 not previously defined.
23421 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23422 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23423 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23424 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23425 * sysdeps/ieee754/flt-32/math_private.h: New file.
23426 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23427 math_private.h below SET_FLOAT_WORD.
23428 (__isnan, __isinf_ns, __finite): Remove.
23429 (__isnanf, __isinf_nsf, __finitef): Remove.
23430
e79d442e
AS
234312012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23432
23433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23434
90b80344
DM
234352012-03-17 David S. Miller <davem@davemloft.net>
23436
23437 [BZ #6471]
23438 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23439 for 2.16.
23440
edc21804
DM
234412012-03-16 David S. Miller <davem@davemloft.net>
23442
77e927af
DM
23443 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23444 warnings.
23445
374976dd
DM
23446 [BZ #6471]
23447 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23448 properly.
23449 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23450 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23451 sysdep_routines when subdir is sysvipc.
23452 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23453 __getshmlba helper.
23454
edc21804
DM
23455 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23456
473c3ef3
L
234572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23458
23459 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23460 [__LP64__].
23461
eb0f39b6
L
234622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23463
23464 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23465 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23466 (__lround): Renamed to ...
23467 (__llround): This. Replace long int with long long int.
23468 Define lround functions as aliases of llround functions.
23469 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23470
6b6cd74b
L
234712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23472
23473 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23474 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23475 adresses to uintptr_t. Replace "long int" and "unsigned long
23476 int" with "greg_t" on va_arg.
23477
f1a77b01
L
234782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23479
23480 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23481 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23482
23483 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23484 Move e_machine check before EI_CLASS check. Handle x32
23485 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23486 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23487 SKIP_EM_IA_64 and include
23488 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23489
23490 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23491 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23492 (add_system_dir): New macro.
23493
23494 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23495 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23496
11b90b9f
JM
234972012-03-16 Joseph Myers <joseph@codesourcery.com>
23498
c36e1d23
JM
23499 [BZ #2551]
23500 [BZ #2552]
23501 [BZ #2553]
23502 [BZ #2554]
23503 [BZ #2562]
23504 [BZ #2563]
23505 [BZ #2565]
23506 [BZ #2566]
23507 [BZ #2576]
23508 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23509 (y0): Likewise.
23510 * math/w_j0f.c (j0f): Likewise.
23511 (y0f): Likewise.
23512 * math/w_j0l.c (__j0l): Likewise.
23513 (__y0l): Likewise.
23514 * math/w_j1.c (j1): Likewise.
23515 (y1): Likewise.
23516 * math/w_j1f.c (j1f): Likewise.
23517 (y1f): Likewise.
23518 * math/w_j1l.c (__j1l): Likewise.
23519 (__y1l): Likewise.
23520 * math/w_jn.c (jn): Likewise.
23521 (yn): Likewise.
23522 * math/w_jnf.c (jnf): Likewise.
23523 (ynf): Likewise.
23524 * math/w_jnl.c (__jnl): Likewise.
23525 (__ynl): Likewise.
23526 * math/libm-test.inc (j0_test): Add more tests.
23527 (j1_test): Likewise.
23528 (jn_test): Likewise. Add trailing semicolon to existing test.
23529 (y0_test): Likewise.
23530 (y1_test): Likewise.
23531 * sysdeps/i386/fpu/libm-test-ulps: Update.
23532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23533
11b90b9f
JM
23534 [BZ #13851]
23535 [BZ #13854]
23536 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23537 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23538 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23539 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23540 (__tanl): Set errno for infinite argument.
23541 * sysdeps/i386/fpu/mptan.c: Remove.
23542 * sysdeps/i386/fpu/s_tan.S: Likewise.
23543 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23544 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23545 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23546 * math/libm-test.inc (tan_test): Add more tests and enable more
23547 tests for double and long double.
23548 * sysdeps/i386/fpu/libm-test-ulps: Update.
23549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23550
6a1bd2a1
JK
235512012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23552
23553 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23554 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23555
10a803e0
RM
235562012-03-16 Roland McGrath <roland@hack.frob.com>
23557
23558 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23559 * configure.in: Use it for both main tree and add-ons.
23560 * configure: Regenerated.
23561
f196c7f7
L
235622012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23563
23564 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23565
8848d99d
JM
235662012-03-16 Joseph Myers <joseph@codesourcery.com>
23567
96cbe7f4
JM
23568 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23569 in comment.
23570
8848d99d
JM
23571 [BZ #13851]
23572 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23573 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23574 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23575 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23576 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23577 infinite argument.
23578 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23579 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23580 != 0 for prec == 2.
23581 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23582 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23583 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23584 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23585 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23586 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23587 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23588 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23589 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23590 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23591 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23592 * math/libm-test.inc (cos_test): Add more tests and enable more
23593 tests for long double.
23594 (sin_test): Likewise.
23595 (sincos_test): Likewise.
23596 * sysdeps/i386/fpu/libm-test-ulps: Update.
23597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23598
dd7f4703
DM
235992012-03-16 David S. Miller <davem@davemloft.net>
23600
23601 * sysdeps/sparc/fpu/math_private.h: New file.
23602
006f1daa
DM
236032012-03-15 David S. Miller <davem@davemloft.net>
23604
c0c83bc8
DM
23605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23606 file.
e6a62e18 23607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23609 file.
e6a62e18
DM
23610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23611 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23615 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23616 sysdep routines.
23617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23618
88cb87d9
DM
23619 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23620 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23621
006f1daa 23622 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23624 sparc-ifunc.h
006f1daa 23625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23627 Likewise.
23628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23629 Likewise.
006f1daa
DM
23630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23634 Likewise.
006f1daa
DM
23635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23640 Likewise.
23641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23642 Likewise.
006f1daa
DM
23643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23650 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23653 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23662 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23664 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23666 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23667
11e0098e
AS
236682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23669
23670 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23671 scaling.
23672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23673
e85b09d0
AJ
236742012-03-15 Andreas Jaeger <aj@suse.de>
23675
23676 [BZ #13852]
23677 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23678 ieee754/flt-32 implementation for sin, cos and sincos.
23679 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23680 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23681 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23682 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23683 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23684 ieee754/flt-32 implementation for tan.
23685
23686 * math/libm-test.inc (cos_test): Enable some large input tests for
23687 float as well
23688 (sin_test): Likewise.
23689 (sincos_test): Likewise.
23690 (tan_test): Add tests for large input.
23691
23692 * sysdeps/i386/fpu/libm-test-ulps: Update.
23693
81c64153
AJ
236942012-03-15 Andreas Jaeger <aj@suse.de>
23695
23696 [BZ #13658]
23697 * math/libm-test.inc (cos_test): Add more test cases.
23698 (sin_test): Likewise.
23699 (sincos_test): Likewise.
23700
7bbfa5c6
AJ
237012012-03-15 Andreas Jaeger <aj@suse.de>
23702
23703 [BZ #13837]
23704 * math/libm-test.inc (cos_test): Add a test case for large input
23705 value.
23706 (sin_test): Likewise.
23707 (sincos_test): Likewise.
23708
237092012-03-15 Andreas Jaeger <aj@suse.de>,
23710 Joseph Myers <joseph@codesourcery.com>
23711
23712 [BZ #13658]
0671f479 23713 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23714 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23715 * sysdeps/i386/fpu/branred.c: Likewise.
23716 * sysdeps/i386/fpu/dosincos.c: Likewise.
23717 * sysdeps/i386/fpu/mpa.c: Likewise.
23718 * sysdeps/i386/fpu/s_cos.S: Likewise.
23719 * sysdeps/i386/fpu/s_sin.S: Likewise.
23720 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23721 * sysdeps/i386/fpu/sincos32.c: Likewise.
23722
23723 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23724 Define.
23725 (libc_feupdateenv_53bit): Define.
23726 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23727 Define.
23728 (libc_feupdateenv_53bit): Define.
23729
23730 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23731 53 bit (without extend i386 double precision).
23732
23733 * math/libm-test.inc (sincos_test): Add tests for large input.
23734 (sin): Likewise.
23735 (cos): Likewise.
23736
23737 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23738
9cad04ea
AS
237392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23740
23741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23742
f7062b9a
DM
237432012-03-15 David S. Miller <davem@davemloft.net>
23744
23745 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23746 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23747 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23748 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23756 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23757 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23758 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23759 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23761 file.
f7062b9a 23762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23764 file.
f7062b9a 23765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23767 file.
f7062b9a 23768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23770 file.
f7062b9a
DM
23771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23772 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23773 fmin/fmax sysdep routines.
23774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23775
7bd951ff
DM
237762012-03-14 David S. Miller <davem@davemloft.net>
23777
559398ab
DM
23778 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23782 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23783 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23784 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23785 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23786 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23787 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23788 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23789 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23794 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23795 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23796 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23797 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23798 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23799 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23800 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23801 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23802 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23803 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23804 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23805 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23806 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23807 routines.
23808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23809 file.
559398ab 23810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23812 file.
559398ab 23813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23815 file.
559398ab 23816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23818 file.
559398ab 23819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23821 file.
559398ab 23822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23824 file.
23825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23826 file.
23827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23828 file.
23829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23830 file.
23831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23832 New file.
23833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23834 file.
23835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23836 file.
559398ab 23837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23839 file.
559398ab 23840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23842 file.
559398ab 23843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23845 file.
559398ab 23846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23848 VIS3 routines.
559398ab
DM
23849
23850 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23851 New file.
23852
5a1c1e32
DM
23853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23854
eae47a36
DM
23855 * sysdeps/sparc/configure.in: New file.
23856 * sysdeps/sparc/configure: Generate.
23857 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23858 * configure: Regenerate.
23859 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23860 * config.make.in (have-as-vis3): New.
23861 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23862 available use -Av9d instead of -Av9a.
23863 * sysdeps/sparc/sparc64/Makefile: Likewise.
23864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23866 New file.
23867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23868 file.
23869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23870 New file.
23871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23872 file.
eae47a36
DM
23873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23874 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23877 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23878
c0c83bc8
DM
23879 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23880 fzeros/fnegs to load 0x80000000 into a float register instead of
23881 using the stack.
7bd951ff
DM
23882 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23883
bd951ccb
JM
238842012-03-14 Joseph Myers <joseph@codesourcery.com>
23885
23886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23887 bits/syscall.h.
23888 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23889 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23890 ($(inst_includedir)/bits/syscall.h): Remove rule.
23891 ($(objpfx)bits/syscall.d): Include instead of
23892 $(objpfx)syscall-list.d.
23893 (generated): Change syscall-list.h and syscall-list.d to
23894 bits/syscall.h and bits/syscall.d.
23895
bb4e6db2
RM
238962012-03-14 Roland McGrath <roland@hack.frob.com>
23897
23898 [BZ #13846]
23899 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23900
aa4a2ae1
JM
239012012-03-14 Joseph Myers <joseph@codesourcery.com>
23902
e456826d
JM
23903 [BZ #13841]
23904 * math/s_csqrt.c: Include <float.h>.
23905 (__csqrt): Scale large or subnormal inputs.
23906 * math/s_csqrtf.c: Likewise.
23907 * math/s_csqrtl.c: Likewise.
23908 * math/libm-test.inc (csqrt_test): Add more tests.
23909 * sysdeps/i386/fpu/libm-test-ulps: Update.
23910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23911
aa4a2ae1
JM
23912 [BZ #13840]
23913 * math/libm-test.inc (hypot_test): Add more tests.
23914
7c10fd35
DM
239152012-03-13 David S. Miller <davem@davemloft.net>
23916
23917 [BZ #13840]
23918 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23919 double-precision for the calculation instead of scaling.
23920
f453b98b
JM
239212012-03-13 Joseph Myers <joseph@codesourcery.com>
23922
23923 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23924 manipulate bits before adding and subtracting TWO52[sx].
23925 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23926 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23927 Likewise.
23928 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23929
09a3453f
DM
239302012-03-13 David S. Miller <davem@davemloft.net>
23931
8e59da90
DM
23932 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23933 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23935 rtld-global-offsets.h
23936 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23937
2a8ab7f2
DM
23938 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23939 large parameters.
23940
10f62770
DM
23941 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23942
5f0bdb18
DM
23943 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23944 'err' in the ifdef scope in which it is actually used.
23945
09a3453f
DM
23946 * nss/nss_db/db-init.c: Include string.h
23947
b4b2eb5e
DM
239482012-03-12 David S. Miller <davem@davemloft.net>
23949
98bb2f1c
DM
23950 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23951 masking out of the most significant byte of random value used.
23952 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23953 Fix coding style in previous change.
23954
b4b2eb5e
DM
23955 * sysdeps/unix/sysv/linux/kernel-features.h
23956 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23957 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23958 expression.
23959 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23960 later.
23961
6e226b09
DM
239622012-03-11 David S. Miller <davem@davemloft.net>
23963
a1bcbd40
DM
23964 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23965 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23966 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23967 for 'resultvar' otherwise things get truncated on 64-bit.
23968
cb9d6174
DM
23969 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23970 Fix masking out of the most significant byte of random value used.
23971
6e226b09
DM
23972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23973
058c132d
AS
239742012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23975
23976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23977
2d2cd515
DM
239782012-03-09 David S. Miller <davem@davemloft.net>
23979
23980 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23981 variables with appropriate CPP guards.
23982 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23983 frame pointer, not the stack pointer. Correct layout comments. Fix test
23984 on resulting framesize and the management of the outregs buffer for pltexit.
23985 Preserve floating point return values across _dl_call_pltexit call.
23986 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23987 framesize and the management of the outregs buffer for pltexit.
23988 Preserve floating point return values across _dl_call_pltexit
23989 call.
23990 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23991 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23992 (print_exit): Fix format string for return register value.
23993
9a07f9d0
JM
239942012-03-10 Joseph Myers <joseph@codesourcery.com>
23995
23996 * sunrpc/Makefile (others): Add rpcgen.
23997 ($(objpfx)rpcgen): Remove special build rule and dependency on
23998 libc.
23999 * sunrpc/rpcgen.c: New file.
24000
547b5e30
PE
240012012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24002
c524201a
PE
24003 [BZ #13673]
24004 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24005 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24006 * sysdeps/i386/crti.S: Likewise.
24007 * sysdeps/i386/crtn.S: Likewise.
24008 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
24009 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
24010 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
24011 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
24012 * sysdeps/sh/crti.S: Likewise.
24013 * sysdeps/sh/crtn.S: Likewise.
24014 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24015
7b6235f2
PE
24016 [BZ #13673]
24017 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
24018 with URL.
24019 * locale/programs/locfile-kw.gperf: Likewise.
24020 * locale/programs/charmap-kw.h: Regenerated.
24021 * locale/programs/locfile-kw.h: Likewise.
24022
547b5e30
PE
24023 [BZ #13673]
24024 * intl/plural.y: Replace FSF snail mail address with URL.
24025 * intl/plural.c: Regenerated.
24026
5f0a5dae
RH
240272012-03-09 Richard Henderson <rth@twiddle.net>
24028
24029 * include/math_private.h: Remove file.
24030 * math/math_private.h: Move file ...
24031 * sysdeps/generic/math_private.h: ... here.
24032
b8c03620
RH
24033 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
24034 * sysdeps/powerpc/fpu/math_private.h: Likewise.
24035 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24036
4e234f5d 24037 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
24038 and <math_private.h>.
24039 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24040 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24041 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24042 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24043 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24044 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
24045 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24046 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24047 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24048 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24050 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24051 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24052 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24053 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24054 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24055 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24056 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24057 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24058 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24060 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24061 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24062 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24063 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24064 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24065 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24066 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24067 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24068 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24069 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24070 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24071 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24072 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24073 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24074 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24075 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24076 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24077 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24079 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24080 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24081 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24082 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24083 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24084 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24085 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24086 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24087 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24088 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24090 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24091 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24092 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24093 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24094 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24095 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24096 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24097 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24098 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24099 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24100 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24102 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24103 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24105 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24106 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24107 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24108 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24110 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24111 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24112 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24113 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24116 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24117 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24118 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24119 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24120 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24121 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24123 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24124 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24126 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24127 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24128 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24129 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24130 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24131 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24132 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24133 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24134 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24135 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24136 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24137 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24138 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24139 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24140 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24141 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24142 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24143 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24144 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24145 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24146 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24147 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24148 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24149 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24150 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24151 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24152 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24153 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24154 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24155 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24156 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24157 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24158 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24159 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24160 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24161 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24162 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24163 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24164 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24165 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24166 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24167 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24168 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24169 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24170 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24171 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24172 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24173 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24174 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24175 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24176 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24177 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24178 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24179 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24180 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24181 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24182 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24183 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24184 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24185 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24186 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24187 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24188 * sysdeps/ieee754/k_standard.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24236 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24240 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24241 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24242 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24243 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24244 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24246 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24248 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24265 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24269 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24270 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24276 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24277 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24279 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24280 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24284 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24287 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24291 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24294 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24297 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24298 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24299 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24301 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24302 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24303 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24304 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24305 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24306 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24307 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24308 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24309 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24310 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24311 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24312 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24315 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24316 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24317 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24318 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24319 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24320 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24321 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24322 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24323 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24324 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24325 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24326 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24327 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24328 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24329 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24330 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24331 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24332 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24333 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24334 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24335 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24336 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24337 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24338 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24339 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24340 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24341 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24342 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24343 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24349 * sysdeps/ieee754/s_lib_version.c: Likewise.
24350 * sysdeps/ieee754/s_matherr.c: Likewise.
24351 * sysdeps/ieee754/s_signgam.c: Likewise.
24352 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24353 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24354 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24355 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24356 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24357 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24358 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24359 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24360 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24361 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24362 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24363 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24364 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24365 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24366 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24367 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24368 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24369 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24370 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24373
1991fa03
JM
243742012-03-09 Joseph Myers <joseph@codesourcery.com>
24375
24376 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24377 * sunrpc/rpc_main.c: Likewise.
24378 * sunrpc/rpc_svcout.c: Likewise.
24379
60d6f5a6
DM
243802012-03-09 David S. Miller <davem@davemloft.net>
24381
24382 * include/math_private.h: New file.
24383
4962050e
JM
243842012-03-09 Joseph Myers <joseph@codesourcery.com>
24385
02a6f887
JM
24386 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24387 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24388 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24389 from <bits/socket_type.h>.
24390 (enum __socket_type): Don't define here.
24391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24393 bits/socket_type.h.
24394
c6e013c1
JM
24395 [BZ #13566]
24396 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24397 checking __USE_GNU.
24398
4962050e
JM
24399 * Makerules ($(inst_includedir)/%.h): New rule.
24400 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24401 (install-others): Remove variable setting.
24402 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24403
38842f45
RH
244042012-03-08 Richard Henderson <rth@twiddle.net>
24405
67bb6da6
RH
24406 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24407 from macro to inline function; merge with the
24408 !__LIBC_INTERNAL_MATH_INLINES version.
24409 (__ieee754_sqrtf): Likewise.
24410
15194b4b
RH
24411 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24412 to inline function.
24413 (__rintf, __floor, __floorf): Likewise.
24414
64e21ede
RH
24415 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24416 macro to inline function.
24417 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24418
38842f45
RH
24419 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24420 not <math/math_private.h>.
24421
c64bf5fe
DM
244222012-03-08 David S. Miller <davem@davemloft.net>
24423
24424 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24425 copyright year.
24426 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24427
82d86f28
TS
244282012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24429
24430 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24431 normalization.
24432 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24433 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24434
aea5d727
UD
244352012-03-08 Ulrich Drepper <drepper@gmail.com>
24436
24437 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24438 be defined individually, they must be defined as a block. Define
24439 S for printing a string instead of hidint the different by using a
24440 macro for adding the 'l'.
24441 * stdio-common/tst-fphex-wide.c: Adjust.
24442
70bca0a3
MP
244432012-03-07 Marek Polacek <polacek@redhat.com>
24444
24445 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24446
65b81130
MP
244472012-03-08 Marek Polacek <polacek@redhat.com>
24448
24449 [BZ #13806]
24450 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24451 * stdio-common/tst-fphex.c: Define a few macros to make the
24452 test reusable. Use them.
24453 * stdio-common/tst-fphex-wide.c: New file.
24454
07037eeb
JM
244552012-03-08 Joseph Myers <joseph@codesourcery.com>
24456
a7a93d50
JM
24457 [BZ #6911]
24458 * manual/macros.texi (gnusystems): New macro.
24459 (nongnusystems): Likewise.
24460 (gnulinuxhurdsystems): Likewise.
24461 (gnuhurdsystems): Likewise..
24462 (gnulinuxsystems): Likewise.
24463 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24464 variants of the GNU system, not "GNU system".
24465 * manual/conf.texi: Likewise.
24466 * manual/errno.texi: Likewise. Update example of errno macro
24467 expansion.
24468 * manual/filesys.texi: Likewise.
24469 (getumask): Document as specific to GNU/Hurd.
24470 * manual/install.texi: Likewise. Reword some references to
24471 GNU/Linux.
24472 * manual/intro.texi: Likewise.
24473 * manual/io.texi: Likewise.
24474 (File Name Portability): Detail which constraints are inapplicable
24475 to all GNU systems and which are only inapplicable to GNU/Hurd.
24476 * manual/job.texi: Likewise.
24477 * manual/llio.texi: Likewise.
24478 (O_NOCTTY): Document as present on GNU/Linux.
24479 * manual/maint.texi: Likewise.
24480 * manual/memory.texi: Likewise.
24481 * manual/pattern.texi: Likewise.
24482 * manual/pipe.texi: Likewise.
24483 * manual/process.texi: Likewise.
24484 * manual/resource.texi: Likewise.
24485 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24486 child on GNU/Hurd.
24487 * manual/setjmp.texi: Likewise.
24488 * manual/signal.texi: Likewise.
24489 * manual/startup.texi: Likewise.
24490 * manual/stdio.texi: Likewise.
24491 * manual/terminal.texi: Likewise.
24492 (ONLCR): Document as POSIX.
24493 (OXTABS): Document availability on GNU/Linux as XTABS.
24494 (ONOEOT): Document availability separately from other bits.
24495 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24496 * manual/time.texi: Likewise.
24497 * manual/users.texi: Likewise.
24498 * INSTALL: Regenerated.
24499 * sysdeps/gnu/errlist.c: Regenerated.
24500
07037eeb
JM
24501 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24502 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24503 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24504 puts.
24505 * configure: Regenerated.
24506
d1d3431a
JM
245072012-03-07 Joseph Myers <joseph@codesourcery.com>
24508
af6a1e37
JM
24509 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24510 default includes instead of AC_HEADER_CHECK.
24511 * sysdeps/i386/configure: Regenerated.
24512
d1d3431a
JM
24513 [BZ #10716]
24514 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24515 * math/s_cacoshf.c (__cacoshf): Likewise.
24516 * math/s_cacoshl.c (__cacoshl): Likewise.
24517 * math/s_casinh.c (__casinh): Set signs of result from argument.
24518 * math/s_casinhf.c (__casinhf): Likewise.
24519 * math/s_casinhl.c (__casinhl): Likewise.
24520 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24521 (casinh_test): Add more tests.
24522 * sysdeps/i386/fpu/libm-test-ulps: Update.
24523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24524
482ff4da
UD
245252012-03-07 Ulrich Drepper <drepper@gmail.com>
24526
872fda05
UD
24527 * po/zh_TW.po: Update from translation team.
24528
a4300c7a
UD
24529 * login/Makefile (distribute): Remove variable.
24530 * catgets/Makefile: Likewise.
24531 * mach/Makefile: Likewise.
24532 * malloc/Makefile: Likewise.
24533 * misc/Makefile: Likewise.
24534 * iconv/Makefile: Likewise.
24535 * nscd/Makefile: Likewise.
24536 * hurd/Makefile: Likewise.
24537 * manual/Makefile: Likewise.
24538 * locale/Makefile: Likewise.
24539 * intl/Makefile: Likewise.
24540 * conform/Makefile: Likewise.
24541 * nss/Makefile: Likewise.
24542 * time/Makefile: Likewise.
24543 * soft-fp/Makefile: Likewise.
24544 * dirent/Makefile: Likewise.
24545 * gmon/Makefile: Likewise.
24546 * po/Makefile: Likewise.
24547 * rt/Makefile: Likewise.
24548 * socket/Makefile: Likewise.
24549 * math/Makefile: Likewise.
24550 * signal/Makefile: Likewise.
24551 * debug/Makefile: Likewise.
24552 * elf/Makefile: Likewise.
24553 * timezone/Makefile: Likewise.
24554 * stdlib/Makefile: Likewise.
24555 * iconvdata/Makefile: Likewise.
24556 * sunrpc/Makefile: Likewise.
24557 * io/Makefile: Likewise.
24558 * argp/Makefile: Likewise.
24559 * inet/Makefile: Likewise.
24560 * hesiod/Makefile: Likewise.
24561 * grp/Makefile: Likewise.
24562 * csu/Makefile: Likewise.
24563 * wctype/Makefile: Likewise.
24564 * crypt/Makefile: Likewise.
24565 * libio/Makefile: Likewise.
24566 * string/Makefile: Likewise.
24567 * nis/Makefile: Likewise.
24568 * resolv/Makefile: Likewise.
24569 * stdio-common/Makefile: Likewise.
24570 * wcsmbs/Makefile: Likewise.
24571 * dlfcn/Makefile: Likewise.
24572 * posix/Makefile: Likewise.
24573
3b7c4e74 24574 [BZ #6959]
482ff4da
UD
24575 * timezone/Makefile: Don't install timezone files, just the programs
24576 and scripts.
24577
f72ed77d
UD
245782012-03-06 Ulrich Drepper <drepper@gmail.com>
24579
a000466f
UD
24580 * nss/databases.def: Add missing gshadow entry.
24581
f72ed77d
UD
24582 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24583
a53b7a4e
MP
245842012-03-06 Marek Polacek <polacek@redhat.com>
24585
24586 [BZ #13726]
24587 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24588 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24589 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24590 * stdio-common/tst-long-dbl-fphex.c: New file.
24591
e9258400
DM
245922012-03-06 David S. Miller <davem@davemloft.net>
24593
24594 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24595 (set_obp_int): New function.
24596 (get_obp_int): New function.
24597 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24598 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24599 Avoid unused variable warnings on 'val' and use builtin_expect.
24600 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24601 __builtin_expect.
e9258400
DM
24602 (INLINE_CLONE_SYSCALL): Likewise.
24603
3bd2c723
DM
246042012-03-05 David S. Miller <davem@davemloft.net>
24605
24606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24607
bbb78d03
AS
246082012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24609
884c5db4
AS
24610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24611
bbb78d03
AS
24612 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24613 only for |x| >= 40.
24614 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24615
1c9f702a 246162012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24617
24618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24619 Replace gettimeofday with __vdso_gettimeofday.
24620
7be16f82
RM
24621 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24622 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24623 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24624
24625 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24626 time with __vdso_time.
24627
ed58a00f
JM
246282012-03-05 Joseph Myers <joseph@codesourcery.com>
24629
24630 * manual/lang.texi (size_t): Note types to which size_t may be
24631 equivalent with the GNU C Library, but do not describe when
24632 differences between them are significant.
24633
30ee4ced
AJ
246342012-03-05 Andreas Jaeger <aj@suse.de>
24635
24636 * sysdeps/i386/fpu/libm-test-ulps: Update.
24637
b7cd39e8
JM
246382012-03-05 Joseph Myers <joseph@codesourcery.com>
24639
24640 [BZ #3976]
24641 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24642 (__ieee754_pow): Save and restore rounding mode and use
24643 round-to-nearest for main computations.
24644 * math/libm-test.inc (pow_test_tonearest): New function.
24645 (pow_test_towardzero): Likewise.
24646 (pow_test_downward): Likewise.
24647 (pow_test_upward): Likewise.
24648 (main): Call the new functions.
24649 * sysdeps/i386/fpu/libm-test-ulps: Update.
24650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24651
24652 [BZ #3976]
24653 * math/libm-test.inc (cosh_test_tonearest): New function.
24654 (cosh_test_towardzero): Likewise.
24655 (cosh_test_downward): Likewise.
24656 (cosh_test_upward): Likewise.
24657 (sinh_test_tonearest): Likewise.
24658 (sinh_test_towardzero): Likewise.
24659 (sinh_test_downward): Likewise.
24660 (sinh_test_upward): Likewise.
24661 (main): Call the new functions.
24662 * sysdeps/i386/fpu/libm-test-ulps: Update.
24663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24664
6c6a98c9
TV
246652012-03-05 Tom de Vries <tom@codesourcery.com>
24666
24667 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24668 default stack guard is set in last bytes.
24669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24670
21bb2d2e 246712012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24672
21bb2d2e 24673 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24674
21bb2d2e
AJ
24675 [BZ #13656]
24676 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24677 possibly allocate from heap instead of stack.
24678 * stdio-common/bug-vfprintf-nargs.c: New file.
24679 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24680
c6922934
AS
246812012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24682
24683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24684
bc957d53
MP
246852012-03-03 Marek Polacek <polacek@redhat.com>
24686
24687 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24688 * math/math_private.h: Likewise.
24689 * stdlib/tst-strtod.c: Likewise.
24690 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24691 * sysdeps/x86_64/bits/atomic.h: Likewise.
24692
6358490d
DM
246932012-03-02 David S. Miller <davem@davemloft.net>
24694
24695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24699 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24700 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24701 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24702 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24703
01ae168d
RM
247042012-03-02 Roland McGrath <roland@hack.frob.com>
24705
d9a17c07
RM
24706 [BZ #13792]
24707 * manual/examples/README: New file, says the example source files
24708 can be used under GPL>=2.
24709 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24710 line containing just "*/".
24711 * manual/examples/add.c: Add copyright header (GPL>=2).
24712 * manual/examples/argp-ex1.c: Likewise.
24713 * manual/examples/argp-ex2.c: Likewise.
24714 * manual/examples/argp-ex3.c: Likewise.
24715 * manual/examples/argp-ex4.c: Likewise.
24716 * manual/examples/atexit.c: Likewise.
24717 * manual/examples/db.c: Likewise.
24718 * manual/examples/dir.c: Likewise.
24719 * manual/examples/dir2.c: Likewise.
24720 * manual/examples/execinfo.c: Likewise.
24721 * manual/examples/filecli.c: Likewise.
24722 * manual/examples/filesrv.c: Likewise.
24723 * manual/examples/fmtmsgexpl.c: Likewise.
24724 * manual/examples/genpass.c: Likewise.
24725 * manual/examples/inetcli.c: Likewise.
24726 * manual/examples/inetsrv.c: Likewise.
24727 * manual/examples/isockad.c: Likewise.
24728 * manual/examples/longopt.c: Likewise.
24729 * manual/examples/memopen.c: Likewise.
24730 * manual/examples/memstrm.c: Likewise.
24731 * manual/examples/mkfsock.c: Likewise.
24732 * manual/examples/mkisock.c: Likewise.
24733 * manual/examples/mygetpass.c: Likewise.
24734 * manual/examples/pipe.c: Likewise.
24735 * manual/examples/popen.c: Likewise.
24736 * manual/examples/rprintf.c: Likewise.
24737 * manual/examples/search.c: Likewise.
24738 * manual/examples/select.c: Likewise.
24739 * manual/examples/setjmp.c: Likewise.
24740 * manual/examples/sigh1.c: Likewise.
24741 * manual/examples/sigusr.c: Likewise.
24742 * manual/examples/stpcpy.c: Likewise.
24743 * manual/examples/strdupa.c: Likewise.
24744 * manual/examples/strftim.c: Likewise.
24745 * manual/examples/strncat.c: Likewise.
24746 * manual/examples/subopt.c: Likewise.
24747 * manual/examples/swapcontext.c: Likewise.
24748 * manual/examples/termios.c: Likewise.
24749 * manual/examples/testopt.c: Likewise.
24750 * manual/examples/testpass.c: Likewise.
24751 * manual/examples/timeval_subtract.c: Likewise.
24752
01ae168d
RM
24753 [BZ #13792]
24754 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24755 function to ...
24756 * manual/timeval_subtract.c.texi: ... here, new file.
24757
49efa33d
DM
247582012-03-02 David S. Miller <davem@davemloft.net>
24759
24760 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24761
28afd92d
JM
247622012-03-02 Joseph Myers <joseph@codesourcery.com>
24763
804360ed
JM
24764 [BZ #3976]
24765 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24766 (__sin): Save and restore rounding mode and use round-to-nearest
24767 for all computations.
24768 (__cos): Save and restore rounding mode and use round-to-nearest
24769 for all computations.
24770 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24771 <fenv.h>.
24772 (tan): Save and restore rounding mode and use round-to-nearest for
24773 all computations.
24774 * math/libm-test.inc (cos_test_tonearest): New function.
24775 (cos_test_towardzero): Likewise.
24776 (cos_test_downward): Likewise.
24777 (cos_test_upward): Likewise.
24778 (sin_test_tonearest): Likewise.
24779 (sin_test_towardzero): Likewise.
24780 (sin_test_downward): Likewise.
24781 (sin_test_upward): Likewise.
24782 (tan_test_tonearest): Likewise.
24783 (tan_test_towardzero): Likewise.
24784 (tan_test_downward): Likewise.
24785 (tan_test_upward): Likewise.
24786 (main): Call the new functions.
24787 * sysdeps/i386/fpu/libm-test-ulps: Update.
24788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24789
a6d06d7b
JM
24790 [BZ #10135]
24791 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24792 small n, then large n, before computing and testing k+n.
24793 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24795 Likewise.
24796 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24797 Likewise.
24798 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24799 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24800 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24801 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24802 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24803 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24804 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24805 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24806 * math/libm-test.inc (scalbn_test): Add more tests.
24807 (scalbln_test): Likewise.
24808
07e12bb3
JM
24809 * manual/filesys.texi (mode_t): Describe constraints on size and
24810 signedness, not exact equivalence to a particular type.
24811 (ino_t): Likewise.
24812 (ino64_t): Likewise.
24813 (dev_t): Likewise.
24814 (nlink_t): Likewise.
24815 (blkcnt_t): Likewise.
24816 (blkcnt64_t): Likewise.
24817 * manual/llio.texi (off_t): Likewise.
24818
28afd92d
JM
24819 [BZ #3976]
24820 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24821 (__ieee754_exp): Save and restore rounding mode and use
24822 round-to-nearest for all computations.
24823 * math/libm-test.inc (exp_test_tonearest): New function.
24824 (exp_test_towardzero): Likewise.
24825 (exp_test_downward): Likewise.
24826 (exp_test_upward): Likewise.
24827 (main): Call the new functions.
24828 * sysdeps/i386/fpu/libm-test-ulps: Update.
24829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24830
b1eeb65d
CD
248312012-03-01 Chris Demetriou <cgd@google.com>
24832
24833 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24834 have predictable order.
24835
53362a4b
DM
248362012-03-01 David S. Miller <davem@davemloft.net>
24837
3c969083
DM
24838 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24839
759707de
DM
24840 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24841 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24842 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24843 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24844
dfdb8ff2
DM
24845 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24846 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24847 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24849 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24850 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24851 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24852 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24853 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24854
ead89f96
DM
24855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24856
7f66bd07
DM
24857 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24858 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24859 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24860
53362a4b
DM
24861 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24862 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24863 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24864 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24865 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24866 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24867 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24868 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24869 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24870 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24871 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24872 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24873 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24874 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24875 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24876 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24877 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24878 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24879 * sysdeps/sparc/elf/configure: Regenerated.
24880
7b1902cb
JM
248812012-03-01 Joseph Myers <joseph@codesourcery.com>
24882
bec039bc
JM
24883 * configure.in (AS, LD): Require binutils 2.20 or later.
24884 * configure: Regenerated.
24885 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24886 as required minimum version.
24887 * INSTALL: Regenerated.
24888
7b1902cb
JM
24889 [BZ #2541]
24890 [BZ #4108]
24891 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24892 before squaring exponent.
24893 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24894 bottom long double and 27 bits of top long double before squaring
24895 exponent.
24896 * math/libm-test.inc (erfc_test): Add more tests.
24897 * sysdeps/i386/fpu/libm-test-ulps: Update.
24898 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24900
f775c276
KT
249012012-03-01 Kai Tietz <ktietz@redhat.com>
24902
24903 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24904 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24905 containing bit-fields.
24906 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24907 * soft-fp/single.h (_FP_UNION_S): Likewise.
24908 * soft-fp/double.h (_FP_UNION_D): Likewise.
24909
5b8a4d4a
JM
249102012-02-29 Joseph Myers <joseph@codesourcery.com>
24911
0bab47b6
JM
24912 [BZ #13786]
24913 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24914 not include ../strcmp.S.
24915 [USE_AS_STRNCASECMP_L]: Likewise.
24916 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24917 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24918 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24919 (__strncasecmp_l_ia32): Define as alias to
24920 __strncasecmp_l_nonascii.
24921
0fcad3e2
JM
24922 [BZ #5794]
24923 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24924 * sysdeps/i386/fpu/libm-test-ulps: Update.
24925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24926
5b8a4d4a
JM
24927 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24929
8fdceb2e
JL
249302012-02-29 Jeff Law <law@redhat.com>
24931
24932 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24933 out of bounds read.
24934
1f393a11
MP
249352012-02-29 Marek Polacek <polacek@redhat.com>
24936
24937 [BZ #13706]
24938 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24939 * elf/Makefile: Add rules to run tst-unused-dep.out.
24940
8847f037
DM
249412012-02-28 David S. Miller <davem@davemloft.net>
24942
24943 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24944 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24945 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24946 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24947 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24948 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24949
169d7f11
JM
249502012-02-29 Joseph Myers <joseph@codesourcery.com>
24951
24952 * math/libm-test.inc (llround_test): Move one test from
24953 lround_test. Use TEST_f_L in moved test.
24954 (lround_test): Move misplaced test to llround_test. Add testcase
24955 from bug 2561.
24956
39adf059
UD
249572012-02-28 Ulrich Drepper <drepper@gmail.com>
24958
24959 * sysdeps/x86_64/fpu/e_expf.S: New file.
24960 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24961
71b5d1c5
SB
249622012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24963
24964 [BZ #13637]
24965 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24966 of remain_len that may cause incomplete multi-byte character and
24967 false match.
24968 * posix/bug-regex33.c: New file.
24969 * posix/Makefile (tests): Add bug-regex33.
24970
1f77f049
JM
249712012-02-28 Joseph Myers <joseph@codesourcery.com>
24972
24973 * manual/macros.texi: New file.
24974 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24975 * manual/libc.texinfo: Include macros.texi.
24976 * manual/creatute.texi: Likewise.
24977 * manual/install.texi: Likewise.
24978 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24979 @glibcadj{} in references to the GNU C Library.
24980 * manual/charset.texi: Likewise.
24981 * manual/conf.texi: Likewise.
24982 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24983 when not using those macros.
24984 * manual/creature.texi: Likewise.
24985 * manual/crypt.texi: Likewise.
24986 * manual/errno.texi: Likewise.
24987 * manual/filesys.texi: Likewise.
24988 * manual/header.texi: Likewise.
24989 * manual/install.texi: Likewise.
24990 * manual/intro.texi: Likewise.
24991 * manual/io.texi: Likewise.
24992 * manual/job.texi: Likewise.
24993 * manual/lang.texi: Likewise.
24994 * manual/libc.texiinfo: Likewise.
24995 * manual/llio.texi: Likewise.
24996 * manual/locale.texi: Likewise.
24997 * manual/maint.texi: Likewise.
24998 * manual/math.texi: Likewise.
24999 * manual/memory.texi: Likewise.
25000 * manual/message.texi: Likewise.
25001 * manual/nss.texi: Likewise.
25002 * manual/pattern.texi: Likewise.
25003 * manual/process.texi: Likewise.
25004 * manual/resource.texi: Likewise.
25005 * manual/search.texi: Likewise.
25006 * manual/setjmp.texi: Likewise.
25007 * manual/signal.texi: Likewise.
25008 * manual/socket.texi: Likewise.
25009 * manual/startup.texi: Likewise.
25010 * manual/stdio.texi: Likewise.
25011 * manual/string.texi: Likewise.
25012 * manual/sysinfo.texi: Likewise.
25013 * manual/syslog.texi: Likewise.
25014 * manual/terminal.texi: Likewise.
25015 * manual/time.texi: Likewise.
25016 * manual/users.texi: Likewise.
25017 * INSTALL: Regenerated.
25018 * NOTES: Regenerated.
d40c5d54 25019 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 25020
450bf206
AS
250212012-02-28 Andreas Schwab <schwab@linux-m68k.org>
25022
25023 * include/dirent.h: Include <dirstream.h> before
25024 <dirent/dirent.h>.
25025
741a235b
DM
250262012-02-28 David S. Miller <davem@davemloft.net>
25027
25028 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
25029 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
25030 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
25031 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
25032
d6b5aa58
DM
250332012-02-27 David S. Miller <davem@davemloft.net>
25034
1aff59a3
DM
25035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
25036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
25037 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
25038 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
25039
d6b5aa58
DM
25040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
25041 frame pointer instead of stack pointer relative arg slot.
25042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25043 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25044 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25045
433f48bf
CD
250462012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
25047
25048 [BZ #3992]
25049 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
25050
d674b76d
DM
250512012-02-27 David S. Miller <davem@davemloft.net>
25052
25053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
25054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
25055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
25057 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
25058 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25059 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25060 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25061
0e7727f7
JM
250622012-02-27 Joseph Myers <joseph@codesourcery.com>
25063
25064 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25065 later. Allow versions 5-9.
43be4ca2 25066 * configure: Regenerated.
0e7727f7
JM
25067 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25068 required minimum version and 4.6 as recommended version. Do not
25069 mention bugs in GCC 2.7 and 2.8.
43be4ca2 25070 * INSTALL: Regenerated.
0e7727f7 25071
a78bc654
DM
250722012-02-27 David S. Miller <davem@davemloft.net>
25073
428d5830
DM
25074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25078 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25079 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25080 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25081 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25082
a78bc654
DM
25083 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25084 manipulate bits before adding and subtracting TWO112[sx].
25085 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25086
4579f81c
RM
250872012-02-27 Roland McGrath <roland@hack.frob.com>
25088
36c8acb4
RM
25089 [BZ #13775]
25090 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25091 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25092 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25093 being in POSIX, because they are in 1003.1-2008.
25094
84ad622b
RM
25095 * rt/tst-aio.c: Include <fcntl.h>.
25096 * rt/tst-aio7.c: Likewise.
25097 * rt/tst-aio64.c: Likewise.
25098
4579f81c
RM
25099 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25100
abd923db
JM
251012012-02-27 Joseph Myers <joseph@codesourcery.com>
25102
25103 * manual/install.texi (--with-headers): Describe headers as
25104 interface headers, not private headers.
25105 (Specific advice for GNU/Linux systems): Describe use of headers
25106 from "make headers_install", not private headers from older
25107 kernels.
43be4ca2 25108 * INSTALL: Regenerated.
abd923db
JM
25109 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25110 Change to 2.6.19.
25111 * sysdeps/unix/sysv/linux/configure: Regenerated.
25112
6664049b
JM
25113 * manual/llio.texi (fclean): Remove documentation.
25114
bb8b6697
JM
25115 * manual/Makefile (libc-texi-generated): New variable. Include
25116 version.texi.
25117 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25118 $(libc-texi-generated), not duplicated list of files.
25119 (version.texi, stamp-version): New rules.
25120 (realclean): Remove $(libc-texi-generated), not individual files
25121 from that list. Do not remove dir-add.texinfo.
25122 * manual/libc.texinfo: Comment out uses of edition numbers and
25123 references to printed manual. Remove last-updated dates.
25124 (EDITION): Comment out.
25125 (ISBN): Likewise.
25126 (VERSION, UPDATED): Remove.
25127 (version.texi): Include.
25128
12e5c3b9
AS
251292012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25130
25131 * sysdeps/posix/spawni.c: Include <signal.h>.
25132 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25133 * sysdeps/pthread/aio_fsync.c: Likewise.
25134
4efeffc1 251352012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25136
ba63ba08
UD
25137 * conform/Makefile (tests): Run only when not cross-compiling and
25138 when fast-check is not defined.
25139
d94a4670
UD
25140 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25141 * conform/data/limits.h-data: Fixes for POSIX2008.
25142 * conform/run-conformtest.sh: Run all tests.
25143 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25144 headers.
25145 * include/bits/dlfcn.h: Likewise.
25146 * include/langinfo.h: Likewise.
25147 * include/monetary.h: Likewise.
25148 * include/sys/poll.h: Likewise.
25149
25150 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25151 for __USE_GNU.
25152 * posix/spawn.h: Define __need_sigset_t.
25153 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25154 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25155 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25156 to get sigevent_t only.
25157 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25158 only for __USE_GNU.
25159 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25160 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25161 process_vm_writev only for __USE_GNU.
25162 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25163
25164 * conform/Makefile: For now ignore errors from run-conformtest.
25165 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25166 POSIX to avoid namespace pollution. Don't prepend headers.
25167 * conform/data/aio.h-data: Fixes for POSIX testing.
25168 * conform/data/fcntl.h-data: Likewise.
25169 * conform/data/glob.h-data: Likewise.
25170 * conform/data/grp.h-data: Likewise.
25171 * conform/data/pthread.h-data: Likewise.
25172 * conform/data/pwd.h-data: Likewise.
25173 * conform/data/signal.h-data: Likewise.
25174 * conform/data/spawn.h-data: Likewise.
25175 * conform/data/stdio.h-data: Likewise.
25176 * conform/data/stdlib.h-data: Likewise.
25177 * conform/data/stropts.h-data: Likewise.
25178 * conform/data/sys/mman.h-data: Likewise.
25179 * conform/data/sys/stat.h-data: Likewise.
25180 * conform/data/sys/types.h-data: Likewise.
25181 * conform/data/sys/wait.h-data: Likewise.
25182 * conform/data/time.h-data: Likewise.
25183 * conform/data/unistd.h-data: Likewise.
25184 * conform/data/utime.h-data: Likewise.
25185
25186 * io/sys/stat.h: fchmod was always in POSIX.
25187 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25188 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25189 * rt/aio.h: Define __need_timespec before including <time.h>.
25190 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25191 struct. Add forward declaration of pthread_attr_t and use it in
25192 sigevent.
25193 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25194 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25195 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25196 always remove CLK_TCK definition.
25197
c20105c3
AS
251982012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25199
25200 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25201
7a270350
UD
252022012-02-25 Ulrich Drepper <drepper@gmail.com>
25203
31341567
UD
25204 * conform/run-conformtest.sh: New file.
25205 * conform/Makefile: Run run-conformtest for tests.
25206 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25207 support.
25208
25209 * conform/data/uchar.h-data: New file.
25210 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25211 * conform/data/arpa/inet.h-data: Likewise.
25212 * conform/data/assert.h-data: Likewise.
25213 * conform/data/complex.h-data: Likewise.
25214 * conform/data/cpio.h-data: Likewise.
25215 * conform/data/ctype.h-data: Likewise.
25216 * conform/data/dirent.h-data: Likewise.
25217 * conform/data/dlfcn.h-data: Likewise.
25218 * conform/data/errno.h-data: Likewise.
25219 * conform/data/fcntl.h-data: Likewise.
25220 * conform/data/float.h-data: Likewise.
25221 * conform/data/fmtmsg.h-data: Likewise.
25222 * conform/data/fnmatch.h-data: Likewise.
25223 * conform/data/ftw.h-data: Likewise.
25224 * conform/data/glob.h-data: Likewise.
25225 * conform/data/grp.h-data: Likewise.
25226 * conform/data/iconv.h-data: Likewise.
25227 * conform/data/inttypes.h-data: Likewise.
25228 * conform/data/langinfo.h-data: Likewise.
25229 * conform/data/libgen.h-data: Likewise.
25230 * conform/data/limits.h-data: Likewise.
25231 * conform/data/locale.h-data: Likewise.
25232 * conform/data/math.h-data: Likewise.
25233 * conform/data/monetary.h-data: Likewise.
25234 * conform/data/mqueue.h-data: Likewise.
25235 * conform/data/ndbm.h-data: Likewise.
25236 * conform/data/net/if.h-data: Likewise.
25237 * conform/data/netdb.h-data: Likewise.
25238 * conform/data/netinet/in.h-data: Likewise.
25239 * conform/data/nl_types.h-data: Likewise.
25240 * conform/data/poll.h-data: Likewise.
25241 * conform/data/pthread.h-data: Likewise.
25242 * conform/data/pwd.h-data: Likewise.
25243 * conform/data/regex.h-data: Likewise.
25244 * conform/data/sched.h-data: Likewise.
25245 * conform/data/search.h-data: Likewise.
25246 * conform/data/semaphore.h-data: Likewise.
25247 * conform/data/setjmp.h-data: Likewise.
25248 * conform/data/signal.h-data: Likewise.
25249 * conform/data/spawn.h-data: Likewise.
25250 * conform/data/stdarg.h-data: Likewise.
25251 * conform/data/stdio.h-data: Likewise.
25252 * conform/data/stdlib.h-data: Likewise.
25253 * conform/data/string.h-data: Likewise.
25254 * conform/data/strings.h-data: Likewise.
25255 * conform/data/stropts.h-data: Likewise.
25256 * conform/data/sys/ipc.h-data: Likewise.
25257 * conform/data/sys/mman.h-data: Likewise.
25258 * conform/data/sys/msg.h-data: Likewise.
25259 * conform/data/sys/resource.h-data: Likewise.
25260 * conform/data/sys/select.h-data: Likewise.
25261 * conform/data/sys/sem.h-data: Likewise.
25262 * conform/data/sys/shm.h-data: Likewise.
25263 * conform/data/sys/socket.h-data: Likewise.
25264 * conform/data/sys/stat.h-data: Likewise.
25265 * conform/data/sys/statvfs.h-data: Likewise.
25266 * conform/data/sys/time.h-data: Likewise.
25267 * conform/data/sys/timeb.h-data: Likewise.
25268 * conform/data/sys/times.h-data: Likewise.
25269 * conform/data/sys/types.h-data: Likewise.
25270 * conform/data/sys/uio.h-data: Likewise.
25271 * conform/data/sys/un.h-data: Likewise.
25272 * conform/data/sys/utsname.h-data: Likewise.
25273 * conform/data/sys/wait.h-data: Likewise.
25274 * conform/data/syslog.h-data: Likewise.
25275 * conform/data/tar.h-data: Likewise.
25276 * conform/data/termios.h-data: Likewise.
25277 * conform/data/utime.h-data: Likewise.
25278 * conform/data/utmpx.h-data: Likewise.
25279 * conform/data/varargs.h-data: Likewise.
25280 * conform/data/wchar.h-data: Likewise.
25281 * conform/data/wctype.h-data: Likewise.
25282 * conform/data/wordexp.h-data: Likewise.
25283
25284 * include/stropts.h: New file.
25285 * include/uchar.h: New file.
25286 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25287 * include/assert.h: Likewise.
25288 * include/ctype.h: Likewise.
25289 * include/dirent.h: Likewise.
25290 * include/dlfcn.h: Likewise.
25291 * include/fcntl.h: Likewise.
25292 * include/fnmatch.h: Likewise.
25293 * include/glob.h: Likewise.
25294 * include/grp.h: Likewise.
25295 * include/libio.h: Likewise.
25296 * include/locale.h: Likewise.
25297 * include/math.h: Likewise.
25298 * include/net/if.h: Likewise.
25299 * include/netdb.h: Likewise.
25300 * include/netinet/in.h: Likewise.
25301 * include/pthread.h: Likewise.
25302 * include/pwd.h: Likewise.
25303 * include/regex.h: Likewise.
25304 * include/sched.h: Likewise.
25305 * include/search.h: Likewise.
25306 * include/setjmp.h: Likewise.
25307 * include/signal.h: Likewise.
25308 * include/stdio.h: Likewise.
25309 * include/stdlib.h: Likewise.
25310 * include/string.h: Likewise.
25311 * include/sys/cdefs.h: Likewise.
25312 * include/sys/mman.h: Likewise.
25313 * include/sys/msg.h: Likewise.
25314 * include/sys/resource.h: Likewise.
25315 * include/sys/select.h: Likewise.
25316 * include/sys/socket.h: Likewise.
25317 * include/sys/stat.h: Likewise.
25318 * include/sys/statvfs.h: Likewise.
25319 * include/sys/time.h: Likewise.
25320 * include/sys/times.h: Likewise.
25321 * include/sys/uio.h: Likewise.
25322 * include/sys/utsname.h: Likewise.
25323 * include/sys/wait.h: Likewise.
25324 * include/termios.h: Likewise.
25325 * include/time.h: Likewise.
25326 * include/ulimit.h: Likewise.
25327 * include/unistd.h: Likewise.
25328 * include/utime.h: Likewise.
25329 * include/wchar.h: Likewise.
25330 * include/wctype.h: Likewise.
25331 * include/wordexp.h: Likewise.
25332
25333 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25334
7a270350
UD
25335 * time/time.h: TIME_UTC must be a macro.
25336 Make timespec_get available for ISO C11 only as well.
25337
7724defc
UD
253382012-02-24 Ulrich Drepper <drepper@gmail.com>
25339
25340 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25341 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25342
6b1d1d46
JM
253432012-02-24 Joseph Myers <joseph@codesourcery.com>
25344
25345 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25346
0f8bbd69
JM
253472012-02-24 Joseph Myers <joseph@codesourcery.com>
25348
25349 * manual/texinfo.tex: Update to version 2012-01-19.16.
25350
66ab80bc
JM
253512012-02-24 Joseph Myers <joseph@codesourcery.com>
25352
25353 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25354
74981cc5
RM
253552012-02-24 Roland McGrath <roland@hack.frob.com>
25356
ee968201
RM
25357 [BZ #13738]
25358 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25359 * manual/fdl-1.3.texi: New file.
25360 * manual/fdl-1.1.texi: File removed.
25361
74981cc5
RM
25362 [BZ #13738]
25363 * manual/libc.texinfo (FDL_VERSION): New @set.
25364 Use it for mention of FDL in cover text.
25365 (Documentation License): Use it in @include file name.
25366
7bb764bc
JM
253672012-02-22 Joseph Myers <joseph@codesourcery.com>
25368 Roland McGrath <roland@hack.frob.com>
25369
25370 [BZ #5461]
25371 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25372 not LONG_LONG_MAX and LONG_LONG_MIN.
25373 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25374 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25375 name.
25376 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25377
6cbeae47
JM
253782012-02-22 Joseph Myers <joseph@codesourcery.com>
25379
25380 [BZ #2547]
25381 [BZ #11365]
25382 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25383 manipulate bits before adding and subtracting TWO23[sx].
25384 * math/libm-test.inc (nearbyint_test): Add more tests.
25385
fe45ce09
JM
253862012-02-22 Joseph Myers <joseph@codesourcery.com>
25387
25388 [BZ #2548]
25389 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25390 bits before adding and subtracting TWO23[sx].
25391 * math/libm-test.inc (rint_test): Add more tests.
25392 (rint_test_tonearest): Likewise.
25393 (rint_test_towardzero): Likewise.
25394 (rint_test_downward): Likewise.
25395 (rint_test_upward: Likewise.
25396
ff3b3d82
JM
253972012-02-22 Joseph Myers <joseph@codesourcery.com>
25398
25399 [BZ #10110]
25400 * include/stdc-predef.h: New file. Extracted from features.h.
25401 * include/features.h: Include stdc-predef.h.
25402 * Makefile (headers): Add stdc-predef.h.
25403 * CONFORMANCE (Compiler limitations): Update.
25404
ef0aab35
JM
254052012-02-22 Joseph Myers <joseph@codesourcery.com>
25406
25407 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25408
58639409
DM
254092012-02-21 David S. Miller <davem@davemloft.net>
25410
25411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25412 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25413
c0e70b25
DM
254142012-02-20 David S. Miller <davem@davemloft.net>
25415
25416 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25417 using a normal save/restore sequence, rather than allocating a
25418 dummy stack frame just to store a frame pointer and restore.
25419 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25420
fb06851d
JM
254212012-02-21 Joseph Myers <joseph@codesourcery.com>
25422
25423 * manual/install.texi: Fix stray word in line-wrapped comment.
25424
7a8b71c3
DM
254252012-02-20 David S. Miller <davem@davemloft.net>
25426
d510c123
DM
25427 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25428 both binutils and gcc support GOTDATA.
25429
0722d7c2
DM
25430 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25431 "rd %pc" in the PIC register setup sequences.
25432
3d2b3019
DM
25433 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25434 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25435 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25436 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25437 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25439 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25440 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25442 (SYSCALL_ERROR_HANDLER): Likewise.
25443 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25444 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25446 (SYSCALL_ERROR_HANDLER): Likewise.
25447
c80098a9
DM
25448 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25449 (HAVE_GCC_GOTDATA): New.
25450 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25451 relocation support in both binutils and gcc.
25452 * sysdeps/sparc/elf/configure: Regenerate.
25453
3a2545a0
DM
25454 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25455 * sysdeps/sparc/sparc32/elf/configure: Delete.
25456 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25457 * sysdeps/sparc/sparc64/elf/configure: Delete.
25458 * sysdeps/sparc/elf/configure.in: New file.
25459 * sysdeps/sparc/elf/configure: Generate.
25460
7a8b71c3
DM
25461 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25462 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25463 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25464 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25465 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25466
f1e86fca
JM
254672012-02-21 Joseph Myers <joseph@codesourcery.com>
25468
25469 * manual/install.texi: Do not mention specific glibc version
25470 numbers.
25471 * manual/libc.texinfo (VERSION, UPDATED): Update.
25472 (@copying): Use @copyright{} and range of years.
25473
0e7dfaef
JM
254742012-02-21 Joseph Myers <joseph@codesourcery.com>
25475
25476 [BZ #13695]
25477 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25478 [crti.S not in sysdirs] (generated): Do not append.
25479 [crti.S not in sysdirs] (omit-deps): Likewise.
25480 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25481 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25482 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25483 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25484 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25485 Likewise.
25486 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25487 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25488 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25489 * csu/defs.awk: Remove file.
25490 * sysdeps/generic/initfini.c: Likewise.
25491 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25492 variable.
25493 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25494 Likewise.
25495
599af3ca
JM
254962012-02-20 Joseph Myers <joseph@codesourcery.com>
25497
25498 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25499 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25500 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25501 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25502 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25503 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25504 <bits/epoll.h>.
25505 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25506 (__EPOLL_PACKED): Define to empty if not defined by
25507 <bits/epoll.h>.
25508 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25510 bits/epoll.h.
25511
0e499750
JM
255122012-02-20 Joseph Myers <joseph@codesourcery.com>
25513
25514 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25515 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25516 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25517 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25518 <bits/timerfd.h>.
25519 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25521 bits/timerfd.h.
25522
5ad91f6e
JM
255232012-02-20 Joseph Myers <joseph@codesourcery.com>
25524
25525 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25526 in C locale.
25527 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25528 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25529 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25531
06b99b02
AJ
255322012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25533
25534 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25535 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25536
7638c0fd
AS
255372012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25538
25539 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25540 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25541 defined.
25542 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25543 Likewise.
25544 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25545 entry for 2.16.
25546
92221550
AJ
255472012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25548
25549 * math/w_acos.c: Use non-signaling floating-point comparisons.
25550 * math/w_acosf.c: Likewise.
25551 * math/w_acosh.c: Likewise.
25552 * math/w_acoshf.c: Likewise.
25553 * math/w_acoshl.c: Likewise.
25554 * math/w_acosl.c: Likewise.
25555 * math/w_asin.c: Likewise.
25556 * math/w_asinf.c: Likewise.
25557 * math/w_asinl.c: Likewise.
25558 * math/w_atanh.c: Likewise.
25559 * math/w_atanhf.c: Likewise.
25560 * math/w_atanhl.c: Likewise.
25561 * math/w_exp2.c: Likewise.
25562 * math/w_exp2f.c: Likewise.
25563 * math/w_exp2l.c: Likewise.
25564 * math/w_j0.c: Likewise.
25565 * math/w_j0f.c: Likewise.
25566 * math/w_j0l.c: Likewise.
25567 * math/w_j1.c: Likewise.
25568 * math/w_j1f.c: Likewise.
25569 * math/w_j1l.c: Likewise.
25570 * math/w_jn.c: Likewise.
25571 * math/w_jnf.c: Likewise.
25572 * math/w_log.c: Likewise.
25573 * math/w_log10.c: Likewise.
25574 * math/w_log10f.c: Likewise.
25575 * math/w_log10l.c: Likewise.
25576 * math/w_log2.c: Likewise.
25577 * math/w_log2f.c: Likewise.
25578 * math/w_log2l.c: Likewise.
25579 * math/w_logf.c: Likewise.
25580 * math/w_logl.c: Likewise.
25581 * math/w_sqrt.c: Likewise.
25582 * math/w_sqrtf.c: Likewise.
25583 * math/w_sqrtl.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25586 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25587 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25588 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25589
ebaf36eb
JM
255902012-02-19 Joseph Myers <joseph@codesourcery.com>
25591
25592 [BZ #9739]
25593 * manual/string.texi (strnlen): Use correct parameter name in
25594 equivalent expression.
25595
71c254a6
JM
255962012-02-19 Joseph Myers <joseph@codesourcery.com>
25597
25598 [BZ #11174]
25599 * manual/users.texi (seteuid): Consistently use neweuid for
25600 argument name.
25601
16d2c631
JM
256022012-02-19 Joseph Myers <joseph@codesourcery.com>
25603
25604 [BZ #13704]
25605 * manual/nss.texi (Services in the NSS configuration): Correct
25606 list of services in example configuration file.
25607
cd837b09
NB
256082012-02-19 Nick Bowler <nbowler@draconx.ca>
25609
25610 [BZ #11322]
25611 * manual/arith.texi: Remove statements about negative zero
25612 behaving identically to zero.
25613
02c4bbad
JM
256142012-02-18 Joseph Myers <joseph@codesourcery.com>
25615
25616 [BZ #5993]
25617 * manual/install.texi: Do not document upgrading from libc5.
25618
366842e7
JM
256192012-02-18 Joseph Myers <joseph@codesourcery.com>
25620
25621 [BZ #4596]
25622 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25623
dd54084d
DM
256242012-02-18 David S. Miller <davem@davemloft.net>
25625
25626 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25627 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25628 %o7 across the call.
25629 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25630 instead.
25631 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25632 SETUP_PIC_REG_LEAF.
25633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25634 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25635 * sysdeps/sparc/crtn.S: Likewise.
25636
2bcc53a3
UD
256372012-02-17 Ulrich Drepper <drepper@gmail.com>
25638
25639 * aout/Makefile: Remove.
25640
09c093b5
RK
256412012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25642
25643 [BZ #13058]
25644 * manual/examples/argp-ex1.c (main): Format definition in GNU
25645 style.
25646 * manual/examples/argp-ex2.c (main): Likewise.
25647 * manual/examples/argp-ex3.c (main): Likewise.
25648 * manual/examples/argp-ex4.c (main): Likewise.
25649 * manual/examples/longopt.c (main): Use new-style prototype
25650 definition.
25651 * manual/examples/strncat.c (main): Specify return type and use
25652 (void) for arguments.
25653 * manual/examples/subopt.c (main): Use char **argv argument.
25654
2ee633a2
JM
256552012-02-17 Joseph Myers <joseph@codesourcery.com>
25656
25657 [BZ #5077]
25658 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25659 rounding modes.
25660
0520adde
FB
256612012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25662
25663 [BZ #6907]
25664 * manual/string.texi (strchr): Change when strchrnul is
25665 recommended.
25666
3f4081cd
DGM
256672012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25668
25669 [BZ #174]
25670 * manual/locale.texi (setlocale): Document LOCPATH.
25671
d1b10e78
JM
256722012-02-17 Joseph Myers <joseph@codesourcery.com>
25673
25674 [BZ #10210]
25675 * manual/process.texi (execle): Move @dots{} before last argument.
25676
79c6869c
PB
256772012-02-17 Paul Bolle <pebolle@tiscali.nl>
25678
25679 [BZ #12047]
25680 * manual/charset.texi (Generic Charset Conversion): Fix typo
25681 (LC_TYPE -> LC_CTYPE).
25682
cc6e48bc
NB
256832012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25684
25685 [BZ #5805]
25686 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25687 (scalbnf): Likewise.
25688 (scalbnl): Likewise.
25689 (scalbln): Likewise.
25690 (scalblnf): Likewise.
25691 (scalblnl): Likewise.
25692 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25693 (vwarnx): Likewise.
25694 (verr): Likewise.
25695 (verrx): Likewise.
25696 * manual/filesys.texi (telldir): Use braces around return type.
25697 * manual/llio.texi (mmap): Add space after comma.
25698 (mmap64): Likewise.
25699 * manual/math.texi (jn): Use @var{} on parameter names.
25700 (jnf): Likewise.
25701 (jnl): Likewise.
25702 (yn): Likewise.
25703 (ynf): Likewise.
25704 (ynl): Likewise.
25705 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25706 line.
25707 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25708 "...".
25709 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25710 (sched_get_priority_max): Likewise.
25711 * manual/signal.texi (sigvec): Add space after comma.
25712 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25713 names.
25714 (if_indextoname): Likewise.
25715 (if_freenameindex): Likewise.
25716 (sendto): Use ',' instead of '.' in prototype.
25717 * manual/startup.texi (syscall): Use @dots{} instead of literal
25718 "...".
25719 * manual/stdio.texi (__fpending): Separate initial words of
25720 paragraph from @deftypefun line.
25721 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25722 "...".
25723 (vsyslog): Use @var{} on parameter names.
25724 * manual/terminal.texi (stty): Use @var{} on parameter names.
25725 * manual/users.texi (getutmp): Use @var{} on parameter names.
25726 (getutmpx): Likewise.
25727
5b23062f
JM
257282012-02-17 Joseph Myers <joseph@codesourcery.com>
25729
25730 [BZ #6884]
25731 * manual/stdio.texi (fopen): Fix typos in description of
25732 ",ccs=STRING".
25733
8dee4833
AJ
257342012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25735
25736 [BZ #4026]
25737 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25738 get clock_id definition.
25739
9078ce93
TS
257402012-02-17 Thomas Schwinge <thomas@schwinge.name>
25741
25742 [BZ #4822]
25743 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25744 (madvise): Cast every argument to void on its own.
25745
3835c55f
JM
257462012-02-17 Joseph Myers <joseph@codesourcery.com>
25747
25748 [BZ #9902]
25749 * manual/startup.texi (Exit Status): Fix typo.
25750
35c47e37
JM
257512012-02-17 Joseph Myers <joseph@codesourcery.com>
25752
25753 [BZ #10140]
25754 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25755 * manual/examples/argp-ex2.c: Likewise.
25756 * manual/examples/argp-ex3.c: Likewise.
25757
e3b69ca7
RH
257582012-02-16 Richard Henderson <rth@redhat.com>
25759
25760 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25761 * sysdeps/s390/s390-32/initfini.c: Remove.
25762 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25763 * sysdeps/s390/s390-64/initfini.c: Remove.
25764
df83af67
KK
257652012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25766
25767 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25768 compiler output for sysdeps/generic/initfini.c.
25769 * sysdeps/sh/elf/initfini.c: Remove file.
25770
f63f3380
DM
257712012-02-16 David S. Miller <davem@davemloft.net>
25772
fb59b3a4
DM
25773 [BZ #11494]
25774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25775
f63f3380
DM
25776 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25777 * sysdeps/sparc/crti.S: New file.
25778 * sysdeps/sparc/crtn.S: New file.
25779 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25780 * sysdeps/sparc/sparc64/Makefile: Likewise.
25781
df6a4a4a
MF
257822012-02-15 Mike Frysinger <vapier@gentoo.org>
25783
6dd8f3dc 25784 [BZ #3335]
df6a4a4a
MF
25785 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25786
1cac7236
RM
257872012-02-15 Roland McGrath <roland@hack.frob.com>
25788
d2c736f8
RM
25789 [BZ #4822]
25790 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25791
1cac7236
RM
25792 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25793 (write, read, close): Likewise.
25794 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25795
8e475601
JM
257962012-02-15 Joseph Myers <joseph@codesourcery.com>
25797
25798 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25799 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25800 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25801 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25802 <bits/signalfd.h>.
25803 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25805 bits/signalfd.h.
25806
ed656b40
MP
258072012-02-14 Marek Polacek <polacek@redhat.com>
25808
25809 * sysdeps/x86_64/crti.S: New file.
25810 * sysdeps/x86_64/crtn.S: New file.
25811 * sysdeps/x86_64/elf/initfini.c: Remove file.
25812
2a979d3a
JM
258132012-02-13 Joseph Myers <joseph@codesourcery.com>
25814
25815 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25816 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25817 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25818 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25819 <bits/inotify.h>.
25820 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25822 bits/inotify.h.
25823
2a418ac3
JM
258242012-02-13 Joseph Myers <joseph@codesourcery.com>
25825
25826 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25827 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25828 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25829 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25830 <bits/eventfd.h>.
25831 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25832 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25833 bits/eventfd.h.
25834
fb779be7
TS
258352012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25836
e19e83c5
RM
25837 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25838 __feraiseexcept instead of feraiseexcept.
7c35ffed 25839
fb779be7
TS
25840 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25841 nanosleep invocations.
25842 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25843 strings, and add error checking for a nanosleep invocations.
25844
59ba27a6
PE
258452012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25846
25847 Replace FSF snail mail address with URLs, as per GNU coding standards.
25848 Most of the snail mail addresses were wrong anyway, and omitting
25849 them makes the source code easier to maintain. Almost all of the
25850 changes are to license notices and to locale LC_IDENTIFICATION
25851 addresses, except for this one:
25852 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25853 not its snail mail address.
25854
57b957eb
RH
258552012-02-09 Richard Henderson <rth@twiddle.net>
25856
af850b1c
RH
25857 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25858 of kernel-features.h.
25859
57b957eb
RH
25860 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25861
6b73181a
MP
258622012-02-08 Marek Polacek <polacek@redhat.com>
25863
25864 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25865 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25866 * sysdeps/gnu/_G_config.h: Likewise.
25867 * sysdeps/generic/_G_config.h: Likewise.
25868
26ecc33a
AS
258692012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25870
6c6dbc63
AS
25871 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25872 tests.
25873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25874
e216c012
AS
25875 * sysdeps/powerpc/powerpc32/crti.S: New file.
25876 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25877 * sysdeps/powerpc/powerpc64/crti.S: New file.
25878 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25879
26ecc33a
AS
25880 * Makeconfig (have-initfini): Don't set.
25881 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25882 * configure.in (nopic_initfini): Don't substitute.
25883 * config.h.in (HAVE_INITFINI): Don't #undef.
25884 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25885 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25886
3add8e13
JM
258872012-02-08 Joseph Myers <joseph@codesourcery.com>
25888
25889 Support crti.S and crtn.S provided directly by architectures.
25890 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25891 [crti.S in sysdirs] (omit-deps): Likewise.
25892 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25893 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25894 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25895 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25896 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25897 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25898 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25899 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25900 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25901 compiler output for sysdeps/generic/initfini.c.
25902 * sysdeps/i386/elf/Makefile: Remove file.
25903 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25904
a22f12b4
MP
259052012-02-07 Marek Polacek <polacek@redhat.com>
25906
25907 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25908 * sysdeps/gnu/_G_config.h: Likewise.
25909 * sysdeps/mach/hurd/_G_config.h: Likewise.
25910
148cf100
MP
259112012-02-07 Marek Polacek <polacek@redhat.com>
25912
25913 * math/Makefile (tests): Add tst-CMPLX2.
25914 * math/tst-CMPLX2.c: New file.
25915
cfdc0dd7
AS
259162012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25917
84ba42c4
AS
25918 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25919
cfdc0dd7
AS
25920 * math/libm-test.inc (jn_test): Add missing L suffix.
25921
622c86f4
MP
259222012-02-06 Marek Polacek <polacek@redhat.com>
25923
25924 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25925 * sysdeps/i386/fpu/e_powf.S: Likewise.
25926 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25927 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25928 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25929 * sysdeps/i386/fpu/e_pow.S: Likewise.
25930 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25931 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25932 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25933 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25934 * sysdeps/i386/fpu/e_log2.S: Likewise.
25935 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25936 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25937 * sysdeps/i386/fpu/e_powl.S: Likewise.
25938 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25939 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25940 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25941 * sysdeps/i386/fpu/e_logl.S: Likewise.
25942 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25943 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25944 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25945 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25946 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25947 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25948 * sysdeps/i386/fpu/e_log.S: Likewise.
25949 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25950 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25951 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25952 * sysdeps/i386/fpu/e_logf.S: Likewise.
25953 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25954 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25955 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25956 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25957 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25958 * sysdeps/i386/fpu/e_log10.S: Likewise.
25959 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25960 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25961 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25962 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25963 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25964 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25965 * sysdeps/i386/asm-syntax.h: Likewise.
25966 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25967 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25968 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25969 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25970 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25971 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25972 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25973 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25974 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25975 * sysdeps/powerpc/sysdep.h: Likewise.
25976 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25977 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25978
d4a54ac6
JM
259792012-02-06 Joseph Myers <joseph@codesourcery.com>
25980
25981 [BZ #411]
25982 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25983
314054ea
JM
259842012-02-06 Joseph Myers <joseph@codesourcery.com>
25985
25986 * sysdeps/i386/sysdep.h: Include <features.h>.
25987 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25988 version.
25989
d8e0ca50
JM
259902012-02-05 Joseph Myers <joseph@codesourcery.com>
25991
25992 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25993 Define.
25994 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25995 LOAD_PIC_REG_STR.
25996
b1da7dd9
JM
259972012-02-03 Joseph Myers <joseph@codesourcery.com>
25998
25999 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26000 (SETUP_PIC_REG): Use GET_PC_THUNK.
26001 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26002 macro.
26003
9a1d9254
JM
260042012-02-03 Joseph Myers <joseph@codesourcery.com>
26005
26006 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26007 for non-PIC compilation.
26008 (SETUP_PIC_REG): Add .p2align directive.
26009 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
26010 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26011 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26012 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26013 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26014 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26015 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26016 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26017 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26018 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26019 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26020 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26021 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26022 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26023 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26024 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26025 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26026 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26027 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26028 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26029 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26030 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26031 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26032 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26033 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26035 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26036 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26037 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26038 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26039 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26040 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26041 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26042 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26043 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26044 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26045 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26046 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26047 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26048 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26049 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26050
65dc3b75
JM
260512012-02-03 Joseph Myers <joseph@codesourcery.com>
26052
26053 * math/tst-CMPLX.c: Include <stdio.h>.
26054
d55bf177
JM
260552012-01-31 Joseph Myers <joseph@codesourcery.com>
26056
26057 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
26058 float.
26059 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26060 * sysdeps/sparc/bits/mathdef.h: Likewise.
26061
69db4f8f
MP
260622012-01-31 Marek Polacek <polacek@redhat.com>
26063
26064 * libio/libio.h: Don't define _PARAMS.
26065 * locale/programs/config.h: Don't define PARAMS.
26066 * stdlib/strtol_l.c: Likewise.
26067 (__strtol_l): Remove PARAMS from the prototype.
26068
41b81892
UD
260692012-01-31 Ulrich Drepper <drepper@gmail.com>
26070
3b49edc0
UD
26071 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26072 names. Just use the correct names. Remove unnecessary wrapper
26073 functions.
26074 * malloc/arena.c: Likewise.
26075 * malloc/hooks.c: Likewise.
26076
41b81892
UD
26077 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26078 ARENA_TEST says not to. Simplify test for creation of a new arena.
26079 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26080
27a25b6e
UD
260812012-01-30 Ulrich Drepper <drepper@gmail.com>
26082
26083 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26084 into tail calls.
26085 (update_get_addr): New function.
26086 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26087 GET_ADDR_MODULE parameter.
26088
c8a89e7d
JM
260892012-01-30 Joseph Myers <joseph@codesourcery.com>
26090
26091 * crypt/cert.c: Remove __STDC__ conditionals.
26092 * crypt/crypt-entry.c: Likewise.
26093 * crypt/crypt_util.c: Likewise.
26094 * libio/filedoalloc.c: Likewise.
26095 * libio/fileops.c: Likewise.
26096 * libio/genops.c: Likewise.
26097 * libio/iofclose.c: Likewise.
26098 * libio/iofdopen.c: Likewise.
26099 * libio/iofopen.c: Likewise.
26100 * libio/iofopen64.c: Likewise.
26101 * libio/iogetdelim.c: Likewise.
26102 * libio/iopopen.c: Likewise.
26103 * libio/obprintf.c: Likewise.
26104 * libio/oldfileops.c: Likewise.
26105 * libio/oldiofclose.c: Likewise.
26106 * libio/oldiofdopen.c: Likewise.
26107 * libio/oldiofopen.c: Likewise.
26108 * libio/oldiopopen.c: Likewise.
26109 * libio/wfiledoalloc.c: Likewise.
26110 * libio/wgenops.c: Likewise.
26111 * locale/programs/xmalloc.c: Likewise.
26112 * misc/syslog.c: Likewise.
26113 * stdio-common/xbug.c: Likewise.
26114 * string/memchr.c: Likewise.
26115 * string/memcmp.c: Likewise.
26116 * string/memrchr.c: Likewise.
26117 * string/rawmemchr.c: Likewise.
26118 * sysdeps/posix/getcwd.c: Likewise.
26119 * time/strftime_l.c: Likewise.
26120
3b100462
JM
261212012-01-30 Joseph Myers <joseph@codesourcery.com>
26122
26123 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26124 * config.make.in (config-cflags-sse2avx): Define.
26125 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26126 Fix typo.
26127
607998af
CM
261282012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26129
26130 * scripts/config.guess: Update from upstream config git repository.
26131 * scripts/config.sub: Likewise.
26132
3601428f
CM
261332012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26134
3ac8b282
CM
26135 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26136 (EM_NUM): Update.
26137 (R_TILEPRO_*, R_TILEGX_*): New macros.
26138
e034841e
CM
26139 * scripts/firstversions.awk: Fix bug in version range handling.
26140
540d7568
CM
26141 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26142
3601428f
CM
26143 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26144
463de862
CM
26145 * include/sys/epoll.h: New file.
26146 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26147 libc_hidden_def.
26148
73139a76
UD
261492012-01-28 Ulrich Drepper <drepper@gmail.com>
26150
96bc5b45
UD
26151 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26152 Avoid unnecessary __WORDSIZE == 64 test.
26153 (fmaxf): Use VEX format if possible.
26154 (fmax): Likewise.
26155 (fminf): Likewise.
26156 (fmin): Likewise.
26157
56f6f6a2
UD
26158 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26159 * math/math_private.h: Remove libc_fegetround* and
26160 libc_fesetround*.
26161 * sysdeps/i386/configure.in: Check for -msse2avx.
26162 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26163 also if SSE2AVX is defined.
26164 Remove libc_fegetround* and libc_fesetround*.
26165 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26166 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26167 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26168 of HAS_YMM_USABLE.
26169 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26170 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26171 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26172 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26173 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26174
73139a76
UD
26175 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26176
d73f93a4
AZ
261772012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26178
26179 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26180 size is not set.
26181 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26182
6ee65ed6
UD
261832012-01-27 Ulrich Drepper <drepper@gmail.com>
26184
26185 [BZ #13618]
26186 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26187 relocation.
26188 * Makeconfig (libm): Define.
26189 * elf/Makefile: Add rules to build and run tst-relsort1.
26190 * elf/tst-relsort1.c: New file.
26191 * elf/tst-relsort1mod1.c: New file.
26192 * elf/tst-relsort1mod2.c: New file.
26193
8db21882
JM
261942012-01-27 Joseph Myers <joseph@codesourcery.com>
26195
26196 * math/s_ldexp.c: Remove __STDC__ conditionals.
26197 * math/s_ldexpf.c: Likewise.
26198 * math/s_ldexpl.c: Likewise.
26199 * math/s_nextafter.c: Likewise.
26200 * math/s_nexttowardf.c: Likewise.
26201 * math/s_significand.c: Likewise.
26202 * math/s_significandf.c: Likewise.
26203 * math/s_significandl.c: Likewise.
26204 * math/w_jnl.c: Likewise.
26205 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26206 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26207 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26208 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26209 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26213 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26218 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26219 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26220 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26221 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26222 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26223 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26224 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26225 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26226 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26227 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26228 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26229 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26230 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26231 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26232 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26233 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26234 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26235 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26236 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26237 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26238 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26239 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26240 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26241 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26242 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26243 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26244 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26245 * sysdeps/ieee754/k_standard.c: Likewise.
26246 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26247 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26248 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26249 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26250 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26251 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26252 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26253 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26254 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26256 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26304 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26307 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26308 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26309 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26312 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26319 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26320 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26321 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26324 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26325 * sysdeps/ieee754/s_matherr.c: Likewise.
26326 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26327 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26328 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26329 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26330
965a54a4
JM
263312012-01-26 Joseph Myers <joseph@codesourcery.com>
26332
26333 * crypt/md5.h: Remove __STDC__ conditionals.
26334 * libio/libioP.h: Likewise.
26335 * locale/programs/config.h: Likewise.
26336 * sysdeps/generic/sysdep.h: Likewise.
26337 * sysdeps/i386/asm-syntax.h: Likewise.
26338 * sysdeps/s390/asm-syntax.h: Likewise.
26339 * sysdeps/unix/sysdep.h: Likewise.
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26342
7071ad79
JM
263432012-01-26 Joseph Myers <joseph@codesourcery.com>
26344
26345 * libio/libio.h: Remove __STDC__ conditionals.
26346 * malloc/obstack.h: Likewise.
26347 * math/complex.h: Likewise.
26348 * math/math.h: Likewise.
26349 * sysdeps/generic/_G_config.h: Likewise.
26350 * sysdeps/gnu/_G_config.h: Likewise.
26351 * sysdeps/mach/hurd/_G_config.h: Likewise.
26352 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26353 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26354 * sysdeps/sparc/bits/mathdef.h: Likewise.
26355
afc5ed09
UD
263562012-01-26 Ulrich Drepper <drepper@gmail.com>
26357
26358 [BZ #13583]
26359 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26360 Clean up HAS_* macros.
afc5ed09 26361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26362 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26363 possible.
26364 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26365 HAS_AVX.
26366 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26367 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26368 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26369 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26370 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26371
bdb6de1d
JM
263722012-01-25 Joseph Myers <joseph@codesourcery.com>
26373
26374 * elf/tst-unique3.cc (gets): Remove declaration.
26375 * elf/tst-unique3lib.cc (gets): Likewise.
26376 * elf/tst-unique3lib2.cc (gets): Likewise.
26377 * elf/tst-unique4.cc (gets): Likewise.
26378
b15549e6
UD
263792012-01-24 Ulrich Drepper <drepper@gmail.com>
26380
26381 * include/stdio.h: Add C++ protection. Add gets declarations and
26382 definitions.
26383 * debug/tst-chk1.c: Don't declare gets here.
26384 * stdio-common/tst-gets.c: Likewise.
26385
a037381f
JM
263862012-01-24 Joseph Myers <joseph@codesourcery.com>
26387
26388 * posix/glob: Remove directory.
26389
f1d4aa75
JM
263902012-01-24 Joseph Myers <joseph@codesourcery.com>
26391
26392 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26393
81c0c964
PT
263942012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26395
26396 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26397 of the non-standard EPFNOSUPPORT.
26398
0ea698ae
ST
263992011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26400
26401 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26402 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26403 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26404
d220b117
UD
264052012-01-21 Ulrich Drepper <drepper@gmail.com>
26406
26407 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26408
3e1aa84e
UD
264092012-01-20 Ulrich Drepper <drepper@gmail.com>
26410
26411 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26412 transient errors.
26413 * nscd/grpcache.c (cache_addgr): Likewise.
26414 * nscd/hstcache.c (cache_addhst): Likewise.
26415 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26416 * nscd/pwdcache.c (cache_addpw): Likewise.
26417 * nscd/servicescache.c (cache_addserv): Likewise.
26418
400aa020
UD
264192012-01-16 Ulrich Drepper <drepper@gmail.com>
26420
d77e7869
UD
26421 * malloc/malloc.c: Various cleanups.
26422 * malloc/hooks.c: Likewise.
26423
400aa020
UD
26424 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26425 * stdlib/bug-fmtmsg1.c: New file.
26426
26427 * stdlib/fmtmsg.c (init): Add missing unlock.
26428 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26429
e0a309cf
MP
264302012-01-12 Marek Polacek <polacek@redhat.com>
26431
26432 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26433 and _GNU_SOURCE.
26434
929d11c7
WS
264352012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26436
26437 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26438 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26439 macro to ensure uniqueness of label name.
26440 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26441 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26442
41d0e869
UD
264432012-01-11 Ulrich Drepper <drepper@gmail.com>
26444
0cc5ed3b
UD
26445 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26446
41d0e869
UD
26447 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26448 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26449 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26451
a47a831a
UD
264522012-01-10 Ulrich Drepper <drepper@gmail.com>
26453
daa891c0
UD
26454 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26455
26456 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26457 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26458 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26459
e58ef0f2
UD
26460 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26461
a47a831a 26462 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26463 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26464 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26466
26467 * math/bits/math-finite.h: Add ldexp support.
26468
a0bfc9c7
MP
264692012-01-10 Marek Polacek <polacek@redhat.com>
26470
26471 * locale/programs/localedef.h (show_archive_content): Add noreturn
26472 attribute.
26473
d6e97a1d
UD
264742012-01-09 Ulrich Drepper <drepper@gmail.com>
26475
26476 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26477
d5835c26
UD
264782012-01-08 Ulrich Drepper <drepper@gmail.com>
26479
e5f484c6
UD
26480 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26481
d5835c26
UD
26482 * io/Makefile (headers): Add bits/poll2.h.
26483
d1f741e9
WS
264842011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26485
26486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26487 typo #include statement.
26488
ec09c1c4
UD
264892012-01-08 Ulrich Drepper <drepper@gmail.com>
26490
26491 * include/sys/cdefs.h: Define __attribute_alloc_size.
26492 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26493 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26494 * elf/pldd.c: Likewise.
26495 * iconv/iconv_charmap.c: Likewise.
26496 * iconv/iconvconfig.c: Likewise.
26497 * iconv/strtab.c: Likewise.
26498 * locale/programs/locale.c: Likewise.
26499 * locale/programs/localedef.h: Likewise.
26500 * locale/programs/simple-hash.c: Likewise.
26501 * nscd/nscd.h: Likewise.
26502 * nss/makedb.c: Likewise.
26503 * sysdeps/generic/ldconfig.h: Likewise.
26504 * locale/programs/localedef.c: Remove xmalloc prototype.
26505 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26506
20b38e03
PP
265072012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26508
26509 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26510 appropriate.
26511
a0da5fe1
UD
265122012-01-08 Ulrich Drepper <drepper@gmail.com>
26513
1d5a644a 26514 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26515 * math/tst-CMPLX.c: New file.
1d5a644a 26516
8784a6db
UD
26517 * math/complex.h (CMPLXL): Fix typo.
26518
d9a216c0
UD
26519 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26520 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26521 GLIBC_2.16.
26522 * debug/tst-chk1.c: Add poll and ppoll tests.
26523 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26524 * include/sys/poll.h: Add hidden proto for ppoll.
26525 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26526 * sysdeps/mach/hurd/ppoll.c: Likewise.
26527 * io/ppoll.c: Likewise.
26528 * debug/poll_chk.c: New file.
26529 * debug/ppoll_chk.c: New file.
26530 * include/bits/poll2.h: New file.
26531 * io/bits/poll2.h: New file.
26532
ac097f5c
UD
26533 [BZ #1350]
26534 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26535
2119dcfa
UD
26536 * configure.in: static is always set to yes. Remove.
26537 * config.make.in: Don't set build-static.
26538 * Makeconfig: Remove use of build-static.
26539 * dlfcn/Makefile: Likewise.
26540 * elf/Makefile: Likewise.
26541 * math/Makefile: Likewise.
26542 * misc/Makefile: Likewise.
26543 * nptl/Makefile: Likewise.
26544 * sysdeps/mach/hurd/Makefile: Likewise.
26545
121766a9
UD
26546 * configure.in: PWD_P is not used anymore.
26547 * config.make.in: Remove PWD_P entry.
26548
51a1d39c 26549 * configure.in: Remove last remnants of RANLIB.
8720d066 26550 No need to check for signed size_t anymore.
215f4bdc
UD
26551 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26552 and IA-64.
3857022a 26553 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26554 * aclocal.m4: Likewise.
26555
d3ed7225
UD
26556 * wcsmbs/mbrtoc16.c: Implement using towc function.
26557 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26558 * wcsmbs/wcsmbsload.c: Likewise.
26559 * iconv/gconv_simple.c: Likewise.
26560 * iconv/gconv_int.h: Likewise.
26561 * iconv/gconv_builtin.h: Likewise.
26562 * iconv/iconv_prog.c: Remove CHAR16 handling.
26563
26564 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26565
26566 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26567
a0da5fe1
UD
26568 * configure.in: Remove --with-elf and --enable-bounded options.
26569 Dont set base_machine for ia64. More non-ELF conditions removed.
26570 Remove testing and setting of leading underscore information.
26571 * config.make.in (build-bounded): Set to no.
26572 * config.h.in: Remove NO_UNDERSCORES entry.
26573 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26574 them.
26575 * csu/start.c: Remove !NO_UNDERSCORE code.
26576 * locale/localeinfo.h: Likewise.
26577 * sysdeps/generic/machine-gmon.h: Likewise.
26578 * sysdeps/generic/sysdep.h: Likewise.
26579 * sysdeps/i386/sysdep.h: Likewise.
26580 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26581 * sysdeps/mach/sysdep.h: Likewise.
26582 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26583 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26584 * sysdeps/sh/sysdep.h: Likewise.
26585 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26586 * sysdeps/unix/i386/sysdep.S: Likewise.
26587 * sysdeps/unix/sparc/start.c: Likewise.
26588 * sysdeps/unix/sparc/sysdep.S: Likewise.
26589 * sysdeps/unix/sparc/sysdep.h: Likewise.
26590 * sysdeps/unix/start.c: Likewise.
26591 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26592 * sysdeps/x86_64/sysdep.h: Likewise.
26593
df78418a
UD
265942012-01-07 Ulrich Drepper <drepper@gmail.com>
26595
a784e502
UD
26596 [BZ #13553]
26597 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26598 for non-gcc.
26599 * argp/argp-fmtstream.h: Use const instead __const.
26600 * argp/argp.h: Likewise.
26601 * assert/assert.h: Likewise.
26602 * bits/fenv.h: Likewise.
26603 * bits/sched.h: Likewise.
26604 * bits/sigset.h: Likewise.
26605 * bits/sigthread.h: Likewise.
26606 * catgets/nl_types.h: Likewise.
26607 * conform/data/pthread.h-data: Likewise.
26608 * crypt/crypt-private.h: Likewise.
26609 * crypt/crypt.h: Likewise.
26610 * crypt/crypt_util.c: Likewise.
26611 * ctype/ctype.h: Likewise.
26612 * debug/execinfo.h: Likewise.
26613 * debug/mbsnrtowcs_chk.c: Likewise.
26614 * debug/mbsrtowcs_chk.c: Likewise.
26615 * debug/wcsnrtombs_chk.c: Likewise.
26616 * debug/wcsrtombs_chk.c: Likewise.
26617 * debug/wcstombs_chk.c: Likewise.
26618 * dirent/dirent.h: Likewise.
26619 * dlfcn/dlfcn.h: Likewise.
26620 * elf/neededtest4.c: Likewise.
26621 * grp/grp.h: Likewise.
26622 * gshadow/gshadow.h: Likewise.
26623 * iconv/gconv.h: Likewise.
26624 * iconv/gconv_int.h: Likewise.
26625 * iconv/gconv_simple.c: Likewise.
26626 * iconv/iconv.h: Likewise.
26627 * iconv/loop.c: Likewise.
26628 * iconv/skeleton.c: Likewise.
26629 * include/aio.h: Likewise.
26630 * include/aliases.h: Likewise.
26631 * include/argz.h: Likewise.
26632 * include/arpa/inet.h: Likewise.
26633 * include/assert.h: Likewise.
26634 * include/dirent.h: Likewise.
26635 * include/dlfcn.h: Likewise.
26636 * include/execinfo.h: Likewise.
26637 * include/fcntl.h: Likewise.
26638 * include/fenv.h: Likewise.
26639 * include/glob.h: Likewise.
26640 * include/grp.h: Likewise.
26641 * include/libintl.h: Likewise.
26642 * include/mntent.h: Likewise.
26643 * include/netdb.h: Likewise.
26644 * include/pwd.h: Likewise.
26645 * include/rpc/netdb.h: Likewise.
26646 * include/sched.h: Likewise.
26647 * include/search.h: Likewise.
26648 * include/shadow.h: Likewise.
26649 * include/signal.h: Likewise.
26650 * include/stdio.h: Likewise.
26651 * include/stdlib.h: Likewise.
26652 * include/string.h: Likewise.
26653 * include/sys/socket.h: Likewise.
26654 * include/sys/stat.h: Likewise.
26655 * include/sys/statfs.h: Likewise.
26656 * include/sys/statvfs.h: Likewise.
26657 * include/sys/syslog.h: Likewise.
26658 * include/sys/time.h: Likewise.
26659 * include/sys/uio.h: Likewise.
26660 * include/time.h: Likewise.
26661 * include/unistd.h: Likewise.
26662 * include/utmp.h: Likewise.
26663 * include/wchar.h: Likewise.
26664 * include/wctype.h: Likewise.
26665 * inet/aliases.h: Likewise.
26666 * inet/arpa/inet.h: Likewise.
26667 * inet/netinet/ether.h: Likewise.
26668 * inet/netinet/in.h: Likewise.
26669 * intl/libintl.h: Likewise.
26670 * io/bits/fcntl2.h: Likewise.
26671 * io/fcntl.h: Likewise.
26672 * io/ftw.h: Likewise.
26673 * io/sys/poll.h: Likewise.
26674 * io/sys/stat.h: Likewise.
26675 * io/sys/statfs.h: Likewise.
26676 * io/sys/statvfs.h: Likewise.
26677 * io/utime.h: Likewise.
26678 * libio/bits/stdio.h: Likewise.
26679 * libio/bits/stdio2.h: Likewise.
26680 * libio/libio.h: Likewise.
26681 * libio/libioP.h: Likewise.
26682 * libio/stdio.h: Likewise.
26683 * locale/lc-ctype.c: Likewise.
26684 * locale/locale.h: Likewise.
26685 * login/utmp.h: Likewise.
26686 * malloc/arena.c: Likewise.
26687 * malloc/malloc.c: Likewise.
26688 * malloc/malloc.h: Likewise.
26689 * malloc/mcheck.c: Likewise.
26690 * malloc/mtrace.c: Likewise.
26691 * math/bits/mathcalls.h: Likewise.
26692 * math/fenv.h: Likewise.
26693 * math/math_private.h: Likewise.
26694 * misc/bits/error.h: Likewise.
26695 * misc/bits/syslog.h: Likewise.
26696 * misc/err.h: Likewise.
26697 * misc/error.h: Likewise.
26698 * misc/fstab.h: Likewise.
26699 * misc/mntent.h: Likewise.
26700 * misc/regexp.h: Likewise.
26701 * misc/search.h: Likewise.
26702 * misc/sgtty.h: Likewise.
26703 * misc/sys/mman.h: Likewise.
26704 * misc/sys/syslog.h: Likewise.
26705 * misc/sys/uio.h: Likewise.
26706 * misc/sys/xattr.h: Likewise.
26707 * misc/ttyent.h: Likewise.
26708 * nis/rpcsvc/ypclnt.h: Likewise.
26709 * nss/nss.h: Likewise.
26710 * posix/bits/unistd.h: Likewise.
26711 * posix/fnmatch.h: Likewise.
26712 * posix/glob.h: Likewise.
26713 * posix/sched.h: Likewise.
26714 * posix/spawn.h: Likewise.
26715 * posix/sys/wait.h: Likewise.
26716 * posix/unistd.h: Likewise.
26717 * posix/wordexp.h: Likewise.
26718 * pwd/pwd.h: Likewise.
26719 * resolv/netdb.h: Likewise.
26720 * resource/sys/resource.h: Likewise.
26721 * rt/aio.h: Likewise.
26722 * rt/bits/mqueue2.h: Likewise.
26723 * rt/mqueue.h: Likewise.
26724 * shadow/shadow.h: Likewise.
26725 * signal/signal.h: Likewise.
26726 * socket/send.c: Likewise.
26727 * socket/sendto.c: Likewise.
26728 * socket/sys/socket.h: Likewise.
26729 * stdio-common/printf.h: Likewise.
26730 * stdlib/bits/stdlib.h: Likewise.
26731 * stdlib/fmtmsg.h: Likewise.
26732 * stdlib/monetary.h: Likewise.
26733 * stdlib/stdlib.h: Likewise.
26734 * stdlib/ucontext.h: Likewise.
26735 * streams/stropts.h: Likewise.
26736 * string/argz.h: Likewise.
26737 * string/bits/string2.h: Likewise.
26738 * string/string.h: Likewise.
26739 * string/strings.h: Likewise.
26740 * sunrpc/rpc/auth.h: Likewise.
26741 * sunrpc/rpc/auth_des.h: Likewise.
26742 * sunrpc/rpc/clnt.h: Likewise.
26743 * sunrpc/rpc/netdb.h: Likewise.
26744 * sunrpc/rpc/pmap_clnt.h: Likewise.
26745 * sunrpc/rpc/xdr.h: Likewise.
26746 * sysdeps/generic/inttypes.h: Likewise.
26747 * sysdeps/generic/net/if.h: Likewise.
26748 * sysdeps/generic/sys/swap.h: Likewise.
26749 * sysdeps/gnu/net/if.h: Likewise.
26750 * sysdeps/gnu/utmpx.h: Likewise.
26751 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26752 * sysdeps/i386/i486/bits/string.h: Likewise.
26753 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26754 * sysdeps/s390/bits/string.h: Likewise.
26755 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26756 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26757 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26758 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26759 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26760 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26761 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26762 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26763 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26764 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26765 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26766 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26767 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26768 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26769 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26770 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26771 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26772 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26773 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26775 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26776 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26777 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26778 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26779 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26780 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26781 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26782 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26783 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26784 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26785 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26786 * sysvipc/sys/ipc.h: Likewise.
26787 * sysvipc/sys/msg.h: Likewise.
26788 * sysvipc/sys/sem.h: Likewise.
26789 * sysvipc/sys/shm.h: Likewise.
26790 * termios/termios.h: Likewise.
26791 * time/sys/time.h: Likewise.
26792 * time/time.h: Likewise.
26793 * wcsmbs/bits/wchar2.h: Likewise.
26794 * wcsmbs/uchar.h: Likewise.
26795 * wcsmbs/wchar.h: Likewise.
26796 * wctype/wctype.h: Likewise.
26797
0269750c
UD
26798 [BZ #13551]
26799 * Makeconfig: Remove all but ELF support including AIX support.
26800 * Makerules: Likewise.
26801 * config.h.in: Likewise.
26802 * config.make.in: Likewise.
26803 * configure: Likewise.
26804 * configure.in: Likewise.
26805 * csu/Makefile: Likewise.
26806 * csu/version.c: Likewise.
26807 * debug/Makefile: Likewise.
26808 * dlfcn/Makefile: Likewise.
26809 * elf/Makefile: Likewise.
26810 * extra-lib.mk: Likewise.
26811 * iconv/Makefile: Likewise.
26812 * include/libc-symbols.h: Likewise.
26813 * include/shlib-compat.h: Likewise.
26814 * resolv/Makefile: Likewise.
26815 * resolv/res_libc.c: Likewise.
26816 * rt/Makefile: Likewise.
26817 * sysdeps/i386/asm-syntax.h: Likewise.
26818 * sysdeps/i386/sysdep.h: Likewise.
26819 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26820 * sysdeps/mach/sysdep.h: Likewise.
26821 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26822 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26823 * sysdeps/s390/asm-syntax.h: Likewise.
26824 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26825 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26826 * sysdeps/sh/sysdep.h: Likewise.
26827 * sysdeps/unix/sparc/sysdep.h: Likewise.
26828 * sysdeps/wordsize-32/divdi3.c: Likewise.
26829 * sysdeps/x86_64/sysdep.h: Likewise.
26830
00bbd29b
UD
26831 * argp/Versions: Remove _argp_unlock_xxx.
26832
26833 [BZ #13559]
26834 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26835 * abilist/libBrokenLocale.abilist: Likewise.
26836 * abilist/libanl.abilist: Likewise.
26837 * abilist/libc.abilist: Likewise.
26838 * abilist/libcrypt.abilist: Likewise.
26839 * abilist/libdl.abilist: Likewise.
26840 * abilist/libm.abilist: Likewise.
26841 * abilist/libnsl.abilist: Likewise.
26842 * abilist/libpthread.abilist: Likewise.
26843 * abilist/libresolv.abilist: Likewise.
26844 * abilist/librt.abilist: Likewise.
26845 * abilist/libthread_db.abilist: Likewise.
26846 * abilist/libutil.abilist: Likewise.
26847 * abilist/libnss_db.abilist: New file.
26848
26849 * scripts/abilist.awk: Add support for indirect functions.
26850
a2693a0e
UD
26851 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26852
3f05895f
UD
26853 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26854
ecb6fb48
UD
26855 * shlib-versions: Remove entries for ports architectures.
26856
664f8cb9
UD
26857 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26858 files in ports.
26859 * elf/stackguard-macros.h: Remove support for IA-64.
26860 * elf/tst-auditmod1.c: Likewise.
26861 * sysdeps/generic/ldsodefs.h: Likewise.
26862
7ae81d88
UD
26863 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26864 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26865 configure files.
26866
bdeba135
UD
26867 [BZ #13552]
26868 * configure.in: Remove --enable-omitfp support.
26869 * FAQ.in: Adjust.
26870 * config.make.in: Likewise.
26871 * Makeconfig: Likewise.
26872 * manual/install.texi: Likewise.
26873
d75a0a62
UD
26874 In case anyone cares, the IA-64 architecture could move to ports.
26875 * sysdeps/ia64/*: Removed.
26876 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26877 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26878
dcc9756b
UD
26879 [BZ #13555]
26880 * configure.in: Remove entries for unsupported architectures.
26881
d3761ebc 26882 [BZ #13533]
9954432e
UD
26883 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26884 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26885 routines.
26886 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26887 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26888 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26889 fall back to using wcrtomb.
26890 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26891 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26892 renaming.
26893 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26894 * wcsmbs/tst-c16c32-1.c: New file.
26895
26896 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26897 local variable.
26898
c3a87236
UD
26899 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26900
28926a1b
UD
26901 * elf/tst-unique3.cc: Add explicit declaration of gets.
26902 * elf/tst-unique3lib.cc: Likewise.
26903 * elf/tst-unique3lib2.cc: Likewise.
26904 * elf/tst-unique4.cc: Likewise.
26905
df78418a
UD
26906 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26907
8ecd6b2a
JM
269082012-01-06 Joseph Myers <joseph@codesourcery.com>
26909
26910 [BZ #13566]
26911 * assert/assert.h (static_assert): Don't define for C++.
26912 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26913 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26914
9f115170
UD
269152012-01-03 Ulrich Drepper <drepper@gmail.com>
26916
5e0d0300
UD
26917 * iconv/loop.c (single loop): Fix assertion in storing of
26918 remaining bytes.
26919
9f115170
UD
26920 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26921
81fb02b0
UD
269222012-01-01 Ulrich Drepper <drepper@gmail.com>
26923
26924 * posix/getconf.c: Update copyright year.
26925 * nss/getent.c: Likewise.
a316c1f6 26926 * nss/makedb.c: Likewise.
81fb02b0
UD
26927 * iconv/iconvconfig.c: Likewise.
26928 * iconv/iconv_prog.c: Likewise.
26929 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26930 * elf/pldd.c: Likewise.
26931 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26932 * catgets/gencat.c: Likewise.
26933 * csu/version.c: Likewise.
26934 * elf/ldd.bash.in: Likewise.
26935 * elf/sprof.c (print_version): Likewise.
26936 * locale/programs/locale.c: Likewise.
26937 * locale/programs/localedef.c: Likewise.
a316c1f6 26938 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26939 * nscd/nscd.c (print_version): Likewise.
26940 * debug/xtrace.sh: Likewise.
26941 * malloc/memusage.sh: Likewise.
26942 * malloc/mtrace.pl: Likewise.
26943 * debug/catchsegv.sh: Likewise.
26944
2ba92745
JJ
269452011-12-30 Jakub Jelinek <jakub@redhat.com>
26946
26947 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26948 pure attribute.
26949
dadebdae
UD
269502011-12-24 Ulrich Drepper <drepper@gmail.com>
26951
d3761ebc 26952 [BZ #13533]
db6af3eb
UD
26953 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26954 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26955 transformations.
26956 * iconv/gconv_int.h: Likewise.
26957 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26958 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26959 from libc for GLIBC_2.16.
26960 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26961 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26962 * wcsmbs/uchar.h: Really define mbstate_t.
26963 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26964 * wcsmbs/c16rtomb.c: New file.
26965 * wcsmbs/mbrtoc16.c: New file.
26966 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26967 for C/POSIX locale.
26968 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26969 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26970
dadebdae
UD
26971 * wcsmbs/wchar.h: Add missing __restrict.
26972
67371b56
UD
269732011-12-23 Ulrich Drepper <drepper@gmail.com>
26974
74033a25
UD
26975 [BZ #13532]
26976 * time/Makefile (routines): Add timespec_get.
26977 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26978 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26979 timespec for ISO C11.
26980 * time/timespec_get.c: New file.
26981 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26982 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26983
380d7e87
UD
26984 [BZ #13531]
26985 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26986 * stdlib/stdlib.h: Declare aligned_alloc.
26987 * Versions.def: Add GLIBC_2.16 for libc.
26988 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26989
4e9e7a35
UD
26990 [BZ 13527]
26991 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26992 ISO C11.
26993
380d7e87 26994 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26995 code.
26996
03a71829
UD
26997 [BZ #13528]
26998 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26999
839e283e
UD
27000 [BZ #13529]
27001 * assert/assert.h (static_assert): Define.
27002
ce5294e2 27003 * version.h: Update for 2.16 development version.
90fa7312 27004
8d44e150 27005 [BZ #13526]
d7809905
UD
27006 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27007 _ISOC11_SOURCE.
27008
c0da14cd
UD
27009 * version.h (RELEASE): Bump for 2.15 release.
27010 * include/features.h (__GLIBC_MINOR__): Bump to 15.
27011
530a3249
MP
27012 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
27013 Patch by Marek Polacek <mpolacek@redhat.com>.
27014
67371b56
UD
27015 * bits/byteswap.h: Protect long long constants with __extension__.
27016 * sysdeps/i386/bits/byteswap.h: Likewise.
27017 * sysdeps/ia64/bits/byteswap.h: Likewise.
27018 * sysdeps/s390/bits/byteswap.h: Likewise.
27019 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27020
15db4de1
LD
270212011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27022
27023 [BZ #13540]
bbe315ea
LD
27024 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
27025 destination buffer.
15db4de1
LD
27026 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
27027
2b2596b1
MP
270282011-12-23 Marek Polacek <polacek@redhat.com>
27029
27030 * elf/dl-addr.c (determine_info): Add inline keyword.
27031 * elf/tst-auditmod4b.c (check_avx): Likewise.
27032 * elf/tst-auditmod6b.c (check_avx): Likewise.
27033 * elf/tst-auditmod6c.c (check_avx): Likewise.
27034 * elf/tst-auditmod7b.c (check_avx): Likewise.
27035
70c6c246
UD
270362011-12-23 Ulrich Drepper <drepper@gmail.com>
27037
27038 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
27039 !__SSE_MATH__.
27040
c044cf14
LD
270412011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27042
15db4de1 27043 [BZ #13540]
c044cf14
LD
27044 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
27045 processing for last bytes.
27046
6b13d9d9
BH
270472011-08-06 Bruno Haible <bruno@clisp.org>
27048
d455f537
BH
27049 [BZ #13061]
27050 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
27051 U+0385, not to U+1FEE.
27052
6b13d9d9
BH
27053 [BZ #13062]
27054 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
27055 entry for U+00A5 U+0301.
27056
db910efd
UD
270572011-12-22 Ulrich Drepper <drepper@gmail.com>
27058
27deeafc
UD
27059 [BZ #13166]
27060 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27061 buffer for the output is too small.
27062
aed9d171
UD
27063 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27064 optimization.
27065
db910efd
UD
27066 [BZ #13185]
27067 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27068 SSE flags if possible.
27069
2bd779ae
LD
270702011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27071
e7f9dac3 27072 [BZ #13540]
2bd779ae
LD
27073 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27074 processing for last bytes.
27075
154bfc16
JM
270762011-12-22 Joseph Myers <joseph@codesourcery.com>
27077
27078 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27079 (syscall-list-default-options, syscall-list-default-condition)
27080 (syscall-list-includes): Define.
27081 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27082 list of ABIs and options and #if conditions for each ABI. Do not
27083 handle common syscalls between ABIs specially.
27084 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27085 Remove.
27086 (syscall-list-variants, syscall-list-32bit-options)
27087 (syscall-list-32bit-condition, syscall-list-64bit-options)
27088 (syscall-list-64bit-condition): Define.
27089 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27090 (syscall-list-variants, syscall-list-32bit-options)
27091 (syscall-list-32bit-condition, syscall-list-64bit-options)
27092 (syscall-list-64bit-condition): Define.
27093 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27094 Remove.
27095 (syscall-list-variants, syscall-list-32bit-options)
27096 (syscall-list-32bit-condition, syscall-list-64bit-options)
27097 (syscall-list-64bit-condition): Define.
27098 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27099 Remove.
27100 (syscall-list-variants, syscall-list-32bit-options)
27101 (syscall-list-32bit-condition, syscall-list-64bit-options)
27102 (syscall-list-64bit-condition): Define.
27103
21eaf3a5
UD
271042011-12-22 Ulrich Drepper <drepper@gmail.com>
27105
16c6f992
UD
27106 * locale/iso-639.def: Add brx entry.
27107
41043168
UD
27108 [BZ #13328]
27109 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27110 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27111
21eaf3a5
UD
27112 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27113 __feraiseexcept_renamed.
27114
e3a851a2
UD
271152011-12-21 Ulrich Drepper <drepper@gmail.com>
27116
4920765e
UD
27117 [BZ #13538]
27118 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27119 EPOLLET with unsigned values.
27120 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27121 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27122
e3a851a2
UD
27123 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27124 to large cancellation.
27125 * math/s_cacoshf.c: Likewise.
27126 * math/s_cacoshl.c: Likewise.
27127
b27e24b8
RK
271282011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27129
27130 [BZ #13305]
aebefeee 27131 [BZ #12786]
b27e24b8
RK
27132 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27133 * math/s_cacoshf.c: Likewise.
27134 * math/s_cacoshl.c: Likewise.
27135
ee190f67
UD
271362011-12-21 Ulrich Drepper <drepper@gmail.com>
27137
27138 [BZ #13439]
27139 * iconv/gconv.h: Define __GCONV_SWAP.
27140 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27141 * iconvdata/utf-16.c: Likewise.
27142 * iconvdata/utf-32.c: Likewise.
27143
707f25df
AS
271442011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27145
27146 [BZ #13524]
27147 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27148 numerator after shifting it by one limb.
27149
d2daaa1e
RÁE
271502011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27151
27152 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27153 under [__USE_EXTERN_INLINES].
27154
a4647e72
UD
271552011-12-17 Ulrich Drepper <drepper@gmail.com>
27156
27157 [BZ #13446]
27158 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27159
f0b264f1
AZ
271602011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27161
27162 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27163 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27164 optimized code.
27165 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27166 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27167 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27168 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27169 for strncasecmp/strncasecmp_l compilation.
27170 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27171 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27172
8ef4f244
MP
271732011-12-08 Marek Polacek <mpolacek@redhat.com>
27174
27175 [BZ #13484]
27176 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27177 of __asm__.
27178
97ac2654
UD
271792011-12-17 Ulrich Drepper <drepper@gmail.com>
27180
27181 [BZ #13506]
27182 * time/tzfile.c (__tzfile_read): Check values from file header.
27183
91d2a845
WS
271842011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27185
27186 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27187 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27188 * powerpc/powerpc32/dl-start.S: Likewise.
27189 * powerpc/powerpc32/elf/start.S: Likewise.
27190 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27191 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27192 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27193 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27194 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27195 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27196 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27197 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27198 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27199 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27200 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27201 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27202 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27203 * powerpc/powerpc32/memset.S: Likewise.
27204 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27205 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27206 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27207 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27208 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27209 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27210 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27211 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27212 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27213 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27214 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27215 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27216 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27217
a1267ba1
AZ
272182011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27219
27220 * math/libm-test.inc: Added more nearbyint tests.
27221 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27222 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27223 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27225
ad8ac1bd
RL
272262011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27227
27228 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27229 FD_CLOEXEC.
27230
1d3e4b61
UD
272312011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27232
27233 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27234 Add wcscpy-ssse3 wcscpy-c.
27235 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27236 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27237 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27238 * sysdeps/x86_64/wcschr.S: New file.
27239 * sysdeps/x86_64/wcsrchr.S: New file.
27240 * string/test-strcmp.c: Remove checking of wcscmp function for
27241 wrong alignments.
27242 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27243 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27244 wcsrchr-sse2 wcsrchr-c.
27245 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27246 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27247 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27248 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27249 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27250 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27251 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27252 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27253 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27254 * wcsmbc/wcschr.c (WCSCHR): New macro.
27255
5b330a2d
UD
272562011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27257
27258 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27259 * wcsmbs/test-wcsrchr.c: New file.
27260 * string/test-strrchr.c: Add wcsrchr support.
27261 (WIDE): New macro.
27262 * wcsmbs/test-wcscpy.c: New file.
27263 * string/test-strcpy.c: Add wcscpy support.
27264 (WIDE): New macro.
26428b7c 27265
f039c043
UD
272662011-12-10 Ulrich Drepper <drepper@gmail.com>
27267
27268 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27269 the inner loop.
27270
850fb039
AS
272712011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27272
27273 [BZ #13472]
27274 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27275
4efbd5cb
UD
272762011-12-04 Ulrich Drepper <drepper@gmail.com>
27277
52ff5dd0 27278 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27279 Minor optimizations.
52ff5dd0 27280
4efbd5cb
UD
27281 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27282 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27283 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27284
8a426e12
UD
272852011-12-03 Ulrich Drepper <drepper@gmail.com>
27286
aff2453d
UD
27287 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27288 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27289 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27290 for gcc to avoid warnings.
27291 * inet/Makefile (tests): Add tst-checks.
27292 * inet/tst-checks.c: New file.
27293
27294 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27295 warning.
27296
27297 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27298 __wmemcmp_sse2.
27299
27300 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27301 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27302
8a426e12
UD
27303 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27304
9bea3473
UD
273052011-12-02 Ulrich Drepper <drepper@gmail.com>
27306
3a965496
UD
27307 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27308 problem.
27309
9bea3473
UD
27310 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27311
f101631b
UD
273122011-11-29 Joseph Myers <joseph@codesourcery.com>
27313
27314 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27315 conditional on GCC version.
27316 (__arch_compare_and_exchange_val_8_acq)
27317 (__arch_compare_and_exchange_val_16_acq)
27318 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27319 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27320 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27321
a98275aa
UD
273222011-12-02 Joseph Myers <joseph@codesourcery.com>
27323
27324 * sysdeps/sh/backtrace.c: New file.
27325
d4cc29a2
AS
273262011-12-02 Andreas Schwab <schwab@redhat.com>
27327
27328 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27329 parenthesis.
27330
6257af2d
AS
273312011-12-01 Andreas Schwab <schwab@redhat.com>
27332
27333 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27334 falling back to utime.
27335
b5f44c1a
AS
273362011-11-30 Andreas Schwab <schwab@redhat.com>
27337
27338 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27339 expectations for float.
27340
f3a6cc0a
AS
273412011-11-29 Andreas Schwab <schwab@redhat.com>
27342
27343 * locale/weight.h (findidx): Add parameter len.
27344 * locale/weightwc.h (findidx): Likewise.
27345 * posix/fnmatch_loop.c (FCT): Adjust caller.
27346 * posix/regcomp.c (build_equiv_class): Likewise.
27347 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27348 * posix/regexec.c (check_node_accept_bytes): Likewise.
27349 * string/strcoll_l.c (STRCOLL): Likewise.
27350 * string/strxfrm_l.c (STRXFRM): Likewise.
27351
9d65ea3a
UD
273522011-11-17 Ulrich Drepper <drepper@gmail.com>
27353
27354 * Makefile.in: Remove CVSOPT handling.
27355 * configure.in: Remove use of AC_REVISION.
27356 * iconvdata/Makefile (distribute): No need to filter out CVS.
27357 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27358 handling.
27359
5583a086
AS
273602011-11-16 Andreas Schwab <schwab@redhat.com>
27361
27362 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27363 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27364 [USE_AS_STRNCASECMP_L]: Likewise.
27365 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27366 NO_TLS_DIRECT_SEG_REFS.
27367 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27368 Fix argument offsets for non-PIC.
27369 [USE_AS_STRNCASECMP_L]: Likewise.
27370 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27371 NO_TLS_DIRECT_SEG_REFS.
27372
d62a8200
UD
273732011-11-15 Ulrich Drepper <drepper@gmail.com>
27374
9d65ea3a 27375 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27376 O_CLOEXEC.
27377 * locale/loadlocale.c (_nl_load_locale): Likewise.
27378
09f93bd3
AS
273792011-11-15 Andreas Schwab <schwab@redhat.com>
27380
446514f9
AS
27381 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27382 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27383 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27384 (SYSCALL_GETTIME): Set errno on error.
27385
09f93bd3
AS
27386 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27387 count references to noai6ai_cached.
27388
312be3f9
UD
273892011-11-15 Ulrich Drepper <drepper@gmail.com>
27390
27391 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27392
27393 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27394 FD_CLOEXEC for /proc/self/maps.
27395
27396 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27397 FD_CLOEXEC for /proc/meminfo.
27398
27399 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27400 gai.conf.
27401
27402 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27403 FD_CLOEXEC for given file.
27404
27405 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27406
27407 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27408 FD_CLOEXEC for /etc/hosts.
27409 (_gethtent): Likewise.
27410
27411 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27412
27413 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27414 cancellation and set FD_CLOEXEC for /etc/netgroup.
27415
27416 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27417 reading /etc/publickey.
27418
27419 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27420 allow cancellation when reading /etc/group.
27421
27422 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27423 cancellation.
27424 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27425
27426 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27427 when using data file.
27428
27429 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27430
27431 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27432 (write_nis_obj): Use "c" and "e" in fopen.
27433
27434 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27435
27436 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27437
27438 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27439
27440 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27441
27442 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27443 locale.alias.
27444
27445 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27446
27447 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27448
27449 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27450
27451 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27452 file parsing and set FD_CLOEXEC.
27453
82af0fa8
UD
274542011-11-14 Ulrich Drepper <drepper@gmail.com>
27455
27456 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27457
a5fb313c
AS
274582011-11-14 Andreas Schwab <schwab@redhat.com>
27459
27460 * malloc/arena.c (arena_get2): Don't call reused_arena when
27461 _int_new_arena failed.
27462
6abf3465
UD
274632011-11-14 Ulrich Drepper <drepper@gmail.com>
27464
27465 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27466 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27467 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27468 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27469 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27470 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27471 to compile strcasecmp and strncasecmp.
27472 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27473 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27474
27475 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27476
76e3966e
UD
274772011-11-13 Ulrich Drepper <drepper@gmail.com>
27478
27479 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27480 locale-defines.sym to gen-as-const-headers.
27481 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27482 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27484 to compile strcasecmp and strncasecmp.
27485 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27486 strcasecmp_l and strncasecmp_l.
27487 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27488 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27489 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27490 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27491 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27492 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27493 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27494 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27495 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27496 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27497 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27498
ab26144e
UD
274992011-11-12 Ulrich Drepper <drepper@gmail.com>
27500
7edb22ef
UD
27501 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27502 result of SYSDEP_GETTIME_CPU to retval.
27503 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27504 parameter list to macro. Remove trailing semicolon. Adjust users.
27505
9694fc44
UD
27506 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27507 variable.
27508
8ad89ef8
UD
27509 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27510 mantissa words.
27511 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27512
0c822ef9
UD
27513 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27514 from unused variable.
27515
874e0564
UD
27516 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27517 DWARF definitions.
27518 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27519 for assembling.
27520
3a2edc79
UD
27521 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27522 over namespaces.
27523
f3c2577f
UD
27524 * sunrpc/rpc_prot.c (rejected): Fix case value.
27525
294ce126
UD
27526 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27527 unsigned long long int to avoid warnings in shift.
27528
5e2b63c6
UD
27529 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27530 of use of trans.
27531 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27532 variable tmp.
27533
e7f4b08e
UD
27534 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27535 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27536 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27537
ab26144e
UD
27538 * nis/nis_table.c (nis_list): Use variable of correct type for
27539 result of __follow_path call.
27540
8a6d5255
AZ
275412011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27542
27543 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27544 of math functions ceil, trunc, floor, round, and sqrt, when
27545 avaliable on the platform.
27546 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27547 name clash.
27548 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27549 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27550 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27551
aaddc98c
MP
275522011-10-30 Marek Polacek <mpolacek@redhat.com>
27553
27554 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27555 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27556
95b7042b
RM
275572011-11-11 Roland McGrath <roland@hack.frob.com>
27558
27559 * include/unistd.h: Fix __readlink return type.
27560 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27561
57769839
UD
275622011-11-11 Ulrich Drepper <drepper@gmail.com>
27563
27564 * stdlib/ucontext.h: Undo last change for makecontext.
27565
edc5984d
AS
275662011-11-11 Andreas Schwab <schwab@redhat.com>
27567
98591e58
AS
27568 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27569
edc5984d
AS
27570 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27571 * setjmp/setjmp.h: Mark functions as non-leaf.
27572 * setjmp/bits/setjmp2.h: Likewise.
27573 * stdlib/ucontext.h: Likewise.
27574
77cdc054
AS
275752011-11-10 Andreas Schwab <schwab@redhat.com>
27576
27577 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27578 (reused_arena): Don't check arena limit.
27579 (arena_get2): Atomically check arena limit.
27580
fe72eebd
UD
275812011-11-08 Ulrich Drepper <drepper@gmail.com>
27582
5f078c32
UD
27583 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27584 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27585
fe72eebd
UD
27586 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27587 instructions.
27588
ae1bc2fa
AS
275892011-11-07 Andreas Schwab <schwab@redhat.com>
27590
7583a88d
AS
27591 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27592 handler when locking.
27593
ae1bc2fa
AS
27594 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27595 Fix size of allocated buffer.
27596
10fb0bfa
AS
275972011-11-04 Andreas Schwab <schwab@redhat.com>
27598
998832a4
AS
27599 [BZ #10103]
27600 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27601 declarations for long double functions.
27602 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27603
10fb0bfa
AS
27604 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27605
3d7ba52b
AS
276062011-11-03 Andreas Schwab <schwab@redhat.com>
27607
a9ae54a1
AS
27608 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27609 installed.
27610
3d7ba52b
AS
27611 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27612 is disabled.
27613
bc8db248
ST
276142011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27615
27616 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27617
45b96dd6
AS
276182011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27619
647776f6
AS
27620 * include/alloca.h (stackinfo_alloca_round): Define.
27621 (extend_alloca): Use it.
27622 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27623 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27624 here.
27625
d91a8b93
AS
27626 * scripts/check-local-headers.sh: Ignore libaudit.h.
27627
45b96dd6
AS
27628 * nscd/Makefile (extra-objs): Make recursively expanded.
27629
432d41ce
UD
276302011-11-01 Ulrich Drepper <drepper@gmail.com>
27631
34372fc6
UD
27632 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27633 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27634
fadb59f8
UD
27635 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27636 * posix/tst-rfc3484-2.c: Likewise.
27637 * posix/tst-rfc3484-3.c: Likewise.
27638
78239589
UD
27639 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27640 process_vm_writev.
27641 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27642 process_vm_writev.
27643 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27644 process_vm_writev from libc using GLIBC_2.15 version.
27645
432d41ce
UD
27646 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27647
02f9c6cf
PP
276482011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27649
27650 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27651 stack usage.
27652
3a2c0242
UD
276532011-10-31 Ulrich Drepper <drepper@gmail.com>
27654
f4ec4833
UD
27655 [BZ #13367]
27656 * nss/getent.c (initgroups_keys): Show error message in case no group
27657 names are given.
27658
3a2c0242
UD
27659 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27660 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27661 __bump_nl_timestamp.
27662 * nscd/connections (nscd_init): When host database is served open
27663 netlink socket and request notification about configuration changes.
27664 (main_loop_poll): Track netlink file descriptor and bump timestamp
27665 in case data becomes available.
27666 (main_loop_epoll): Likewise.
27667 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27668 (database_pers_head): Add extra_data fileds.
27669 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27670 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27671 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27672 Adjust caller.
27673 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27674 in6ai data, call __free_in6ai.
27675 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27676 Add -DHAVE_NETLINK.
27677 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27678 interface information. Reuse previous data if netlink timestamp
27679 is not changed.
27680 (__bump_nl_timestamp): New function.
27681 (__free_in6ai): New function.
27682
636064eb
UD
276832011-10-30 Ulrich Drepper <drepper@gmail.com>
27684
27685 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27686 close_not_cancel_no_status here.
27687 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27688
9beb2334
UD
276892011-10-29 Ulrich Drepper <drepper@gmail.com>
27690
6ef76f3b
UD
27691 [BZ #13276]
27692 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27693 return value.
27694
0ffc4f3e 27695 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27696 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27697 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27698
cb95113e
UD
276992011-07-03 Andreas Jaeger <aj@suse.de>
27700
27701 [BZ #10709]
27702 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27703 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27704 * math/libm-test.inc (sin_test): Add test case.
27705
a1b560ff
UD
277062011-10-29 Ulrich Drepper <drepper@gmail.com>
27707
c9aaface
UD
27708 [BZ #13337]
27709 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27710 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27711
d272e7f1
UD
27712 * elf/chroot_canon.c (chroot_canon): Cleanups.
27713
1bc33071
UD
27714 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27715
1760874d
TJ
27716 [BZ #13335]
27717 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27718 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27719
51d91b18
UD
27720 * string/test-strchr.c: Make usable for strchrnul testing.
27721 * string/test-strchrnul.c: New file.
27722 * string/Makefile (strop-tests): Add strchrnul.
27723
a1b560ff 27724 * po/it.po: Update from translation team.
b611fb81 27725 * po/es.po: Likewise.
a1b560ff 27726
a5b81e1f
UD
277272011-10-28 Ulrich Drepper <drepper@gmail.com>
27728
fd52bc6d
UD
27729 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27730 the three constants needed as parameters. Drop the others.
27731 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27732 __m128i_strloadu_tolower.
52e4b9eb
UD
27733 Create and initialize variable zero and use it in all the places
27734 where _mm_setzero_si128 was used.
fd52bc6d 27735
a5b81e1f
UD
27736 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27737 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27738 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27739 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27740 anymore.
27741 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27742 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27743 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27744 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27745 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27746 __mpranred, __mptan.
27747 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27748 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27749 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27750 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27751 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27752 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27753 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27754 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27755 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27756
b4343346
AS
277572011-10-28 Andreas Schwab <schwab@redhat.com>
27758
0c92d8a8
AS
27759 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27760 redefine if SHARED.
27761 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27762
b4343346
AS
27763 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27764 wide char related routines to wcsmbs subdir.
27765
3871f58f
AS
277662011-10-27 Andreas Schwab <schwab@redhat.com>
27767
27768 [BZ #13344]
27769 * misc/sys/cdefs.h (__THROWNL): Define.
27770 * posix/unistd.h: Use __THREADNL instead of __THREAD
27771 for memory synchronization functions.
27772
94d44d9f
RM
277732011-10-26 Roland McGrath <roland@hack.frob.com>
27774
21b64b15 27775 [BZ #13349]
94d44d9f
RM
27776 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27777 doesn't exist.
27778 * manual/stdio.texi (Obstack Streams): Node removed.
27779
f6ce9294
AS
277802011-10-26 Andreas Schwab <schwab@redhat.com>
27781
80479147
AS
27782 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27783 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27784 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27785
f6ce9294
AS
27786 * math/math_private.h (math_force_eval): Allow non-addressable
27787 arguments.
27788 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27789
618280a1
UD
277902011-10-25 Ulrich Drepper <drepper@gmail.com>
27791
e0016b11
UD
27792 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27793 file is not needed.
27794
27795 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27796 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27798 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27799 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27800 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27801 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27802 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27803 Add AVX variants.
27804 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27805 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27806 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27807 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27808 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27809 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27810 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27811 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27812 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27813 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27814 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27815 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27816 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27817 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27818 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27819 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27820 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27821 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27822 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27823
27824 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27825 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27826
618280a1
UD
27827 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27828 place. Use VEX encoding when compiling for AVX.
27829
37822576
AS
278302011-10-25 Andreas Schwab <schwab@redhat.com>
27831
1f1e1947
AS
27832 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27833 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27834
37822576
AS
27835 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27836
31ea014d
UD
278372011-10-25 Ulrich Drepper <drepper@gmail.com>
27838
d7826aa1 27839 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27840 useless if() expression.
d7826aa1
UD
27841 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27842 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27843 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27844 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27845 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27846 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27848 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27849 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27850 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27851 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27852 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27853 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27854 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27855 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27856 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27857 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27858 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27859 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27860
31ea014d
UD
27861 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27862
16437fec
AS
278632011-10-25 Andreas Schwab <schwab@redhat.com>
27864
27865 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27866 condition.
27867 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27868
31d3cc00
UD
278692011-10-25 Ulrich Drepper <drepper@gmail.com>
27870
27871 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27872 .text section. Avoid duplicate constants.
27873 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27874 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27875 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27877 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27878 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27879 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27881 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27882 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27883 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27884 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27885 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27886 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27887 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27888 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27889 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27890 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27891 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27892 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27893 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27894 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27895 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27896 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27897 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27898 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27899 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27900 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27901 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27902 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27903 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27904 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27905 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27906 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27907 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27908 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27909 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27910 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27911 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27912 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27913 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27914 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27915 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27916 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27917 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27918
58985aa9
UD
279192011-10-24 Ulrich Drepper <drepper@gmail.com>
27920
202c9deb
UD
27921 * sysdeps/x86_64/dla.h: Move to ...
27922 * sysdeps/x86_64/fpu/dla.h: ...here.
27923 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27924 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27925
af968f62
UD
27926 * config.make.in: Add have-mfma4 entry.
27927 * configure.in: Substitute libc_cv_cc_fma4.
27928 * math/Makefile (dbl-only-routines): Add sincostab.
27929 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27930 Use __sincostab not sincos.
27931 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27932 name is a macro.
27933 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27934 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27935 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27937 using __copysign.
27938 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27939 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27940 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27941 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27942 and __inv.
27943 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27944 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27945 __copysign.
27946 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27947 define aliases when function name is a macro.
27948 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27949 sysdeps/ieee754/dbl-64/sincos.tbl.
27950 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27951 fma4-enabled routines.
27952 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27953 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27954 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27955 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27956 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27957 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27958 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27959 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27960 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27961 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27962 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27963 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27964 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27965 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27966 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27967 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27968 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27969 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27970 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27971 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27972 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27973 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27974 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27975 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27976 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27977 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27978 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27979 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27980 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27981 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27982
58985aa9
UD
27983 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27984 rename.
27985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27990 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27991 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27992 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27993
a201fbcf
AS
279942011-10-24 Andreas Schwab <schwab@redhat.com>
27995
27996 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27997
fc2ee42a
LD
279982011-10-23 Ulrich Drepper <drepper@gmail.com>
27999
bb3129bd
UD
28000 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28001
0275fff8
UD
28002 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28003 prediction.
28004 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28005
2fa2ae85
UD
28006 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28007 Remove unused variable magic_bits.
28008 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
28009
fc2ee42a
LD
28010 * string/strnlen.c: Define and use STRNLEN macro.
28011 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
28012 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
28013 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
28014 * wcsmbs/wcslen.c: Define and use WCSLEN.
28015 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
28016 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
28017 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
28018 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
28019 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
28020 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
28021 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28022
ce7dd29f
LD
280232011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28024
28025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28026 strnlen-sse2-no-bsf.
28027 Rename strlen-no-bsf to strlen-sse2-no-bsf.
28028 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
28029 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
28030 Add strnlen support.
28031 (USE_AS_STRNLEN): New macro.
28032 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
28033 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
28034 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
28035 * sysdeps/x86_64/wcslen.S: New file.
28036
979c70a3
MZ
280372011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
28038
28039 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
28040 XMM-moves are used for copying on small sizes.
28041
2d09f82f
LD
280422011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28043
28044 * wcsmbs/Makefile (strop-tests): Add wcschr.
28045 * wcsmbs/test-wcschr.c: New file.
28046 * string/test-strchr.c: Update.
28047 Add wcschr support.
28048 (WIDE): New macro.
28049
619fccca
LD
280502011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28051
2d09f82f 28052 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
28053 * wcsmbs/test-wcslen.c: New file.
28054 * string/test-strlen.c: Update.
28055 Add wcslen support.
28056 (WIDE): New macro.
28057
09f699ea
UD
280582011-10-23 Ulrich Drepper <drepper@gmail.com>
28059
28060 * po/it.po: Update from translation team.
28061
95584d3b
LD
280622011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28063
28064 * sysdeps/x86_64/wcscmp.S: Update.
28065 Fix wrong comparison semantics.
28066 wcscmp shall use signed comparison not unsigned.
28067 Don't use substraction to avoid overflow bug.
28068 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28069 * wcsmbc/wcscmp.c: Likewise.
28070 * string/test-strcmp.c: Likewise.
28071 Add new tests to check cases with negative values.
28072
c8b3296b
UD
280732011-10-23 Ulrich Drepper <drepper@gmail.com>
28074
28075 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28076 * sysdeps/x86_64/dla.h: ...here. New file.
28077 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28082 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28083 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28084 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28085 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28086
246ad57a
AS
280872011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28088
28089 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28090 __ynl_finite aliases.
28091
a1a87169
UD
280922011-10-22 Ulrich Drepper <drepper@gmail.com>
28093
0d355eb7
UD
28094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28095
a1a87169
UD
28096 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28097 define DLA_FMA.
28098 [DLA_FMA] (EMULV): Use DLA_FMA.
28099 [DLA_FMA] (MUL12): Use EMULV.
28100 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28101 that are not needed.
28102 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28103 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28104 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28105 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28106 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28107 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28108 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28109
ee2aafe0
AS
281102011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28111
28112 * math/s_nan.c: Undef __nan.
28113 * math/s_nanf.c: Undef __nanf.
28114 * math/s_nanl.c: Undef __nanl.
28115 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28116 "math_private.h".
28117
bc62c2fb
UD
281182011-10-22 Ulrich Drepper <drepper@gmail.com>
28119
77425c63
UD
28120 * math/s_catan.c: Add branch predictions.
28121 * math/s_catanf.c: Likewise.
28122 * math/s_catanh.c: Likewise.
28123 * math/s_catanhf.c: Likewise.
28124 * math/s_catanhl.c: Likewise.
28125 * math/s_catanl.c: Likewise.
28126 * math/s_cexp.c: Likewise.
28127 * math/s_cexpf.c: Likewise.
28128 * math/s_cexpl.c: Likewise.
28129 * math/s_clog.c: Likewise.
28130 * math/s_clog10.c: Likewise.
28131 * math/s_clog10f.c: Likewise.
28132 * math/s_clog10l.c: Likewise.
28133 * math/s_clogf.c: Likewise.
28134 * math/s_clogl.c: Likewise.
28135 * math/s_csqrt.c: Likewise.
28136 * math/s_csqrtf.c: Likewise.
28137 * math/s_csqrtl.c: Likewise.
28138 * math/s_ctanf.c: Likewise.
28139 * math/s_ctanh.c: Likewise.
28140 * math/s_ctanhf.c: Likewise.
28141 * math/s_ctanhl.c: Likewise.
28142 * math/s_ctanl.c: Likewise.
28143
bc62c2fb
UD
28144 * math/math_private.h: Define __nan, __nanf, __nanl.
28145 * math/s_cacosh.c: Include <math_private.h>.
28146 * math/s_cacoshl.c: Likewise.
28147 * math/s_casinh.c: Likewise.
28148 * math/s_casinhf.c: Likewise.
28149 * math/s_casinhl.c: Likewise.
28150 * math/s_ccos.c: Rely entire on ccosh.
28151 * math/s_ccosf.c: Rely entire on ccoshf.
28152 * math/s_ccosl.c: Rely entirely on ccoshl.
28153 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28154 Remove tests for FE_INVALID.
28155 * math/s_ccoshf.c: Likewise.
28156 * math/s_ccoshl.c: Likewise.
28157 * math/s_csin.c: Likewise.
28158 * math/s_csinf.c: Likewise.
28159 * math/s_csinh.c Likewise.
28160 * math/s_csinhf.c: Likewise.
28161 * math/s_csinhl.c: Likewise.
28162 * math/s_csinl.c: Likewise.
28163 * math/s_ctan.c: Likewise.
28164 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28165 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28166 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28167
8ec250a4
UD
281682011-10-21 Ulrich Drepper <drepper@gmail.com>
28169
c196fed8
UD
28170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28171 compilation problems.
28172
8ec250a4
UD
28173 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28174 __builtin_expect.
28175
8d4f46c6
UD
281762011-10-20 Ulrich Drepper <drepper@gmail.com>
28177
ed72b654
UD
28178 * sysdeps/i386/configure.in: Test for -mfma4 option.
28179 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28180 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28181 COMMON_CPUID_INDEX_80000001.
28182 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28183 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28184 use it if FMA3 is not supported.
28185 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28186
8d4f46c6
UD
28187 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28188 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28189
d45c60c2
AS
281902011-10-20 Andreas Schwab <schwab@redhat.com>
28191
28192 [BZ #12892]
28193 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28194 it would create a cycle with a link time dependency.
28195
d9a4d2ab
UD
281962011-10-19 Ulrich Drepper <drepper@gmail.com>
28197
855d1560
UD
28198 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28199 instruction.
28200 * string/Makefile (strop-tests): Add rawmemchr.
28201 * string/test-rawmemchr.c: New file.
28202
d9a4d2ab
UD
28203 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28205 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28206 when compiling str{,n}casecmp and when AVX is available. Hook up
28207 new optimized code in initializers.
28208
8f3b1ffe
AS
282092011-10-19 Andreas Schwab <schwab@redhat.com>
28210
28211 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28212 __feraiseexcept instead of feraiseexcept.
28213
d38f1dba
UD
282142011-10-18 Ulrich Drepper <drepper@gmail.com>
28215
d9a8d0ab
UD
28216 * math/math_private.h: Define defaults for libc_fetestexcept and
28217 libc_feupdateenv.
28218 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28219 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28220 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28221 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28222 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28223 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28224 libc_fetestexcept and libc_feupdateenv.
28225
4855e3dd
UD
28226 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28227 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28228 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28229 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28230 libc_feholdexcept_setround.
28231
581d30e3
UD
28232 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28233 Add s_nearbyint-c and s_nearbyintf-c.
28234 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28235 nearbyintf inlines.
28236 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28237 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28238 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28239 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28240
d38f1dba
UD
28241 * math/math_private.h: Define defaults for libc_fegetround,
28242 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28243 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28244 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28245 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28246 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28247 standard functions.
28248 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28249 Remove comments and hacks for old compiler versions.
28250 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28251 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28252 libc_feholdexceptl.
28253
caa6c9d8
AS
282542011-10-18 Andreas Schwab <schwab@redhat.com>
28255
28256 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28257 (__feraiseexcept_renamed): Add __NTH.
28258 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28259 namespace violations.
28260
97c066e6
UD
282612011-10-17 Ulrich Drepper <drepper@gmail.com>
28262
99ce7b04
UD
28263 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28264
1004d182
UD
28265 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28266
228a984d
UD
28267 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28268 recently added interfaces.
28269 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28270
c8553a6a
UD
28271 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28272 about macro parameter expansion.
28273
ed22dcf6
UD
28274 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28275 __NO_MATH_INLINES is defined. Cleanups.
28276
28277 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28278 and __floorf is target has SSE4.1.
28279 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28280 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28281 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28282 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28283
b171c137
UD
28284 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28285 name.
28286 (floorf): Likewise.
28287
97c066e6
UD
28288 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28289
629f62ef
AS
282902011-10-17 Andreas Schwab <schwab@redhat.com>
28291
49a43d80
AS
28292 * misc/sys/cdefs.h: Fix last change.
28293
629f62ef
AS
28294 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28295 database lookup.
28296
e453f6cd
UD
282972011-10-16 Ulrich Drepper <drepper@gmail.com>
28298
aa78043a
UD
28299 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28300
ad0f5cad
UD
28301 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28302 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28303 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28304 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28305 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28306 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28307 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28308 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28309 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28310 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28311 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28312 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28313 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28314 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28315 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28316 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28317 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28318 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28319 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28320 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28321 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28322 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28323
28324 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28325 ceil, ceilf, floor, floorf.
28326
28327 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28328 Perform IRELATIVE relocations last.
28329
e453f6cd
UD
28330 * elf/do-rel.h: Add another parameter nrelative, replacing the
28331 local variable with the same name. Change name of the function
28332 to end in Rel or Rela (uppercase).
28333 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28334 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28335 elf_dynamic_do_##reloc function.
28336
fd5bdc09
UD
283372011-10-15 Ulrich Drepper <drepper@gmail.com>
28338
79b195b5
UD
28339 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28340 is sufficient, at least on modern CPUs.
28341
d4a28569
UD
28342 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28343
b61099b5
UD
28344 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28345 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28346
bcf01e6d
UD
28347 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28348 __expl_finite.
28349 * math/bits/math-finite.h: Add entries for exp.
28350 * math/e_expl.c: Add __*_finite alias.
28351 * sysdeps/i386/fpu/e_exp.S: Likewise.
28352 * sysdeps/i386/fpu/e_expf.S: Likewise.
28353 * sysdeps/i386/fpu/e_expl.c: Likewise.
28354 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28355 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28356 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28357 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28358 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28359 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28360 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28361
ba1a0d59
UD
28362 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28363 is sufficient, at least on modern CPUs.
28364
fd5bdc09
UD
28365 * ctype/ctype-info.c (__ctype_init): Define.
28366 * include/ctype.h (__ctype_init): Declare.
28367 (__ctype_b_loc): The variable is always initialized.
28368 (__ctype_toupper_loc): Likewise.
28369 (__ctype_tolower_loc): Likewise.
28370 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28371 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28372
7872cfb0
AS
283732011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28374
b468825a
AS
28375 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28376
7872cfb0
AS
28377 * configure.in: Also look in $cxxmachine/include for C++ system
28378 headers.
28379
be13f7bf
LD
283802011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28381
28382 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28383 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28384 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28385 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28386 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28387 (USE_AS_WMEMCMP): New macro.
28388 Fixing indents.
28389 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28390 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28391 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28392 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28393 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28394 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28395 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28396 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28397 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28398 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28399 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28400 (USE_AS_WMEMCMP): New macro.
28401 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28402 * sysdeps/string/test-memcmp.c: Update.
28403 Fix simple_wmemcmp.
28404 Add new tests.
28405 * wcsmbs/wmemcmp.c: Update.
28406 (WMEMCMP): New macro.
28407 Fix overflow bug.
28408
556a2007
AJ
284092011-10-12 Andreas Jaeger <aj@suse.de>
28410
28411 [BZ #13268]
28412 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28413
538faaa7
UD
284142011-10-15 Ulrich Drepper <drepper@gmail.com>
28415
ab6737ff
UD
28416 * libio/iofwide.c (do_length): Avoid warning.
28417
538faaa7
UD
28418 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28419
396a21b1
UD
284202011-10-14 Ulrich Drepper <drepper@gmail.com>
28421
cdf2901f
UD
28422 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28423
38ad40ce
UD
28424 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28425 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28426 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28427 * sysdeps/i386/i686/fpu/e_log.S: New file.
28428 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28429 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28430
396a21b1
UD
28431 * ctype/ctype.h: Add support for inlined isXXX functions when
28432 compiling C++ code.
28433
6b1f68c9
AS
284342011-10-14 Andreas Schwab <schwab@redhat.com>
28435
349290c0
AS
28436 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28437
6b1f68c9
AS
28438 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28439
f2282d42
RM
284402011-10-13 Roland McGrath <roland@hack.frob.com>
28441
28442 [BZ #13291]
28443 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28444
5298ffa8
AS
284452011-10-13 Andreas Schwab <schwab@redhat.com>
28446
714fad23
AS
28447 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28448 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28449 feraiseexcept.
28450
81dcc7fb
AS
28451 * sysdeps/x86_64/memrchr.S: Check for zero size.
28452
5298ffa8
AS
28453 * string/stratcliff.c: Add memrchr tests.
28454
951fbcec
LD
284552011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28456
28457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28458 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28459 rawmemchr-sse2 rawmemchr-sse2-bsf.
28460 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28461 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28462 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28463 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28464 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28465 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28466 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28467 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28468 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28469 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28470 * string/memrchr.c (MEMRCHR): New macro.
28471
0ac5ae23
UD
284722011-10-12 Ulrich Drepper <drepper@gmail.com>
28473
28474 Add integration with gcc's -ffinite-math-only and optimize wrapper
28475 functions in libm.
28476 * Versions.def: Define GLIBC_2.15 version for libm.
28477 * math/Makefile (headers): Add bits/math-finite.h.
28478 * math/bits/math-finite.h: New file.
28479 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28480 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28481 * math/e_acoshl.c: Add __*_finite alias.
28482 * math/e_acosl.c: Likewise.
28483 * math/e_asinl.c: Likewise.
28484 * math/e_atan2l.c: Likewise.
28485 * math/e_atanhl.c: Likewise.
28486 * math/e_coshl.c: Likewise.
28487 * math/e_exp10.c: Likewise.
28488 * math/e_exp10f.c: Likewise.
28489 * math/e_exp10l.c: Likewise.
28490 * math/e_exp2l.c: Likewise.
28491 * math/e_fmodl.c: Likewise.
28492 * math/e_gammal_r.c: Likewise.
28493 * math/e_hypotl.c: Likewise.
28494 * math/e_j0l.c: Likewise.
28495 * math/e_j1l.c: Likewise.
28496 * math/e_jnl.c: Likewise.
28497 * math/e_lgammal_r.c: Likewise.
28498 * math/e_log10l.c: Likewise.
28499 * math/e_log2l.c: Likewise.
28500 * math/e_logl.c: Likewise.
28501 * math/e_powl.c: Likewise.
28502 * math/e_sinhl.c: Likewise.
28503 * math/e_sqrtl.c: Likewise.
28504 * math/e_scalb.c: Completely rewritten and optimized.
28505 * math/e_scalbf.c: Likewise.
28506 * math/e_scalbl.c: Likewise.
28507 * math/w_acos.c: Likewise.
28508 * math/w_acosf.c: Likewise.
28509 * math/w_acosl.c: Likewise.
28510 * math/w_acosh.c: Likewise.
28511 * math/w_acoshf.c: Likewise.
28512 * math/w_acoshl.c: Likewise.
28513 * math/w_asin.c: Likewise.
28514 * math/w_asinf.c: Likewise.
28515 * math/w_asinl.c: Likewise.
28516 * math/w_atan2.c: Likewise.
28517 * math/w_atan2f.c: Likewise.
28518 * math/w_atan2l.c: Likewise.
28519 * math/w_atanh.c: Likewise.
28520 * math/w_atanhf.c: Likewise.
28521 * math/w_atanhl.c: Likewise.
28522 * math/w_exp10.c: Likewise.
28523 * math/w_exp10f.c: Likewise.
28524 * math/w_exp10l.c: Likewise.
28525 * math/w_fmod.c: Likewise.
28526 * math/w_fmodf.c: Likewise.
28527 * math/w_fmodl.c: Likewise.
28528 * math/w_j0.c: Likewise.
28529 * math/w_j0f.c: Likewise.
28530 * math/w_j0l.c: Likewise.
28531 * math/w_j1.c: Likewise.
28532 * math/w_j1f.c: Likewise.
28533 * math/w_j1l.c: Likewise.
28534 * math/w_jn.c: Likewise.
28535 * math/w_jnf.c: Likewise.
28536 * math/w_log.c: Likewise.
28537 * math/w_logf.c: Likewise.
28538 * math/w_logl.c: Likewise.
28539 * math/w_log10.c: Likewise.
28540 * math/w_log10f.c: Likewise.
28541 * math/w_log10l.c: Likewise.
28542 * math/w_log2.c: Likewise.
28543 * math/w_log2f.c: Likewise.
28544 * math/w_log2l.c: Likewise.
28545 * math/w_pow.c: Likewise.
28546 * math/w_powf.c: Likewise.
28547 * math/w_powl.c: Likewise.
28548 * math/w_remainder.c: Likewise.
28549 * math/w_remainderf.c: Likewise.
28550 * math/w_remainderl.c: Likewise.
28551 * math/w_scalb.c: Likewise.
28552 * math/w_scalbf.c: Likewise.
28553 * math/w_scalbl.c: Likewise.
28554 * math/w_sqrt.c: Likewise.
28555 * math/w_sqrtf.c: Likewise.
28556 * math/w_sqrtl.c: Likewise.
28557 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28558 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28559 used.
28560 * math/math_private.h: Declare __kernel_standard_f.
28561 * math/w_cosh.c: Remove cruft and optimize a bit.
28562 * math/w_coshf.c: Likewise.
28563 * math/w_coshl.c: Likewise.
28564 * math/w_exp2.c: Likewise.
28565 * math/w_exp2f.c: Likewise.
28566 * math/w_exp2l.c: Likewise.
28567 * math/w_hypot.c: Likewise.
28568 * math/w_hypotf.c: Likewise.
28569 * math/w_hypotl.c: Likewise.
28570 * math/w_lgamma.c: Likewise.
28571 * math/w_lgamma_r.c: Likewise.
28572 * math/w_lgammaf.c: Likewise.
28573 * math/w_lgammaf_r.c: Likewise.
28574 * math/w_lgammal.c: Likewise.
28575 * math/w_lgammal_r.c: Likewise.
28576 * math/w_sinh.c: Likewise.
28577 * math/w_sinhf.c: Likewise.
28578 * math/w_sinhl.c: Likewise.
28579 * math/w_tgamma.c: Likewise.
28580 * math/w_tgammaf.c: Likewise.
28581 * math/w_tgammal.c: Likewise.
28582 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28583 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28584 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28585 Minor optimizations. Pretty printing. Remove cruft.
28586 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28587 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28588 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28589 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28590 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28591 * sysdeps/i386/fpu/e_asin.S: Likewise.
28592 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28593 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28594 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28595 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28596 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28597 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28598 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28599 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28600 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28601 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28602 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28603 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28604 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28605 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28606 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28607 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28608 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28609 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28610 * sysdeps/i386/fpu/e_log.S: Likewise.
28611 * sysdeps/i386/fpu/e_log10.S: Likewise.
28612 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28613 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28614 * sysdeps/i386/fpu/e_log2.S: Likewise.
28615 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28616 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28617 * sysdeps/i386/fpu/e_logf.S: Likewise.
28618 * sysdeps/i386/fpu/e_logl.S: Likewise.
28619 * sysdeps/i386/fpu/e_pow.S: Likewise.
28620 * sysdeps/i386/fpu/e_powf.S: Likewise.
28621 * sysdeps/i386/fpu/e_powl.S: Likewise.
28622 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28623 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28624 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28625 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28626 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28627 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28628 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28629 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28630 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28631 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28632 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28634 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28635 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28636 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28637 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28638 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28639 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28640 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28641 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28642 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28643 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28644 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28645 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28646 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28647 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28648 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28649 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28650 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28651 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28652 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28653 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28654 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28655 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28656 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28657 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28658 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28659 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28660 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28661 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28662 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28663 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28664 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28665 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28666 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28667 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28668 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28669 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28670 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28671 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28672 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28673 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28674 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28677 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28681 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28683 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28684 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28686 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28687 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28688 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28693 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28694 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28696 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28700 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28711 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28714 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28716 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28717 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28719 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28722 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28723 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28724 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28725 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28726 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28727 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28728 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28729 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28730 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28731 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28732 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28733 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28734 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28735 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28736 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28737 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28738 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28739 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28740 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28741 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28742 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28743 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28744 (__isnanf): Likewise.
28745 (__isinf_ns): Likewise.
28746 (__isinf_nsf): Likewise.
28747 (__finite): Likewise.
28748 (__finitef): Likewise.
28749 (__ieee754_sqrt): Define as macro.
28750 (__ieee754_sqrtf): Define as macro.
28751 (__ieee754_sqrtl): Define as macro.
28752 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28753 inlined copy.
28754 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28755 __FINITE_MATH_ONLY__ consistent.
28756 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28757
12cc2fcd
AS
287582011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28759
a843a204
AS
28760 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28761 of rawmemchr.
28762
12cc2fcd
AS
28763 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28764
c853acd5
UD
287652011-10-09 Ulrich Drepper <drepper@gmail.com>
28766
28767 * po/ja.po: Update from translation team.
28768
c658d255
RM
287692011-10-08 Roland McGrath <roland@hack.frob.com>
28770
110946e4
RM
28771 * locale/programs/locarchive.c (prepare_address_space): New function.
28772 (create_archive, enlarge_archive, open_archive): Use it.
28773
50604220
RM
28774 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28775 inside [SHARED], where it is used.
28776
c658d255
RM
28777 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28778
28779 * nss/getent.c (netgroup_keys): Remove unused variable.
28780 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28781
6a621eb7
UD
287822011-10-08 Ulrich Drepper <drepper@gmail.com>
28783
7edb55ce
UD
28784 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28785 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28786 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28787 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28788 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28789 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28790 * math/Makefile (libm-calls): Add s_isinf_ns.
28791 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28792 * math/multc3.c: Likewise.
28793 * math/s_casin.c: Likewise.
28794 * math/s_casinf.c: Likewise.
28795 * math/s_casinl.c: Likewise.
28796 * math/s_ccos.c: Likewise.
28797 * math/s_ccosf.c: Likewise.
28798 * math/s_ccosl.c: Likewise.
28799 * math/s_ctan.c: Likewise.
28800 * math/s_ctanf.c: Likewise.
28801 * math/s_ctanh.c: Likewise.
28802 * math/s_ctanhf.c: Likewise.
28803 * math/s_ctanhl.c: Likewise.
28804 * math/s_ctanl.c: Likewise.
28805 * math/w_fmod.c: Likewise.
28806 * math/w_fmodf.c: Likewise.
28807 * math/w_fmodl.c: Likewise.
28808 * math/w_remainder.c: Likewise.
28809 * math/w_remainderf.c: Likewise.
28810 * math/w_remainderl.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28812 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28813 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28814 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28815 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28816 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28817 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28818 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28819
187da0ae
UD
28820 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28821 of the number.
28822 * stdio-common/printf_fphex.c: Likewise.
28823 * stdio-common/printf_size.c: Likewise.
28824
9277c064
UD
28825 * math/e_exp10.c: Include math_private.h using <...> not "...".
28826 * math/e_exp10f.c: Likewise.
28827 * math/e_exp10l.c: Likewise.
28828 * math/e_exp2l.c: Likewise.
28829 * math/e_j0l.c: Likewise.
28830 * math/e_j1l.c: Likewise.
28831 * math/e_jnl.c: Likewise.
28832 * math/e_lgammal_r.c: Likewise.
28833 * math/e_rem_pio2l.c: Likewise.
28834 * math/e_scalb.c: Likewise.
28835 * math/e_scalbf.c: Likewise.
28836 * math/e_scalbl.c: Likewise.
28837 * math/k_cosl.c: Likewise.
28838 * math/k_sinl.c: Likewise.
28839 * math/k_tanl.c: Likewise.
28840 * math/s_cacoshf.c: Likewise.
28841 * math/s_catan.c: Likewise.
28842 * math/s_catanf.c: Likewise.
28843 * math/s_catanh.c: Likewise.
28844 * math/s_catanhf.c: Likewise.
28845 * math/s_catanhl.c: Likewise.
28846 * math/s_catanl.c: Likewise.
28847 * math/s_ccosh.c: Likewise.
28848 * math/s_ccoshf.c: Likewise.
28849 * math/s_ccoshl.c: Likewise.
28850 * math/s_cexp.c: Likewise.
28851 * math/s_cexpf.c: Likewise.
28852 * math/s_cexpl.c: Likewise.
28853 * math/s_clog.c: Likewise.
28854 * math/s_clog10.c: Likewise.
28855 * math/s_clog10f.c: Likewise.
28856 * math/s_clog10l.c: Likewise.
28857 * math/s_clogf.c: Likewise.
28858 * math/s_clogl.c: Likewise.
28859 * math/s_csin.c: Likewise.
28860 * math/s_csinf.c: Likewise.
28861 * math/s_csinh.c: Likewise.
28862 * math/s_csinhf.c: Likewise.
28863 * math/s_csinhl.c: Likewise.
28864 * math/s_csinl.c: Likewise.
28865 * math/s_csqrt.c: Likewise.
28866 * math/s_csqrtf.c: Likewise.
28867 * math/s_csqrtl.c: Likewise.
28868 * math/s_ctan.c: Likewise.
28869 * math/s_ctanf.c: Likewise.
28870 * math/s_ctanh.c: Likewise.
28871 * math/s_ctanhf.c: Likewise.
28872 * math/s_ctanhl.c: Likewise.
28873 * math/s_ctanl.c: Likewise.
28874 * math/s_ldexp.c: Likewise.
28875 * math/s_ldexpf.c: Likewise.
28876 * math/s_ldexpl.c: Likewise.
28877 * math/s_significand.c: Likewise.
28878 * math/s_significandf.c: Likewise.
28879 * math/s_significandl.c: Likewise.
28880 * math/w_acos.c: Likewise.
28881 * math/w_acosf.c: Likewise.
28882 * math/w_acosh.c: Likewise.
28883 * math/w_acoshf.c: Likewise.
28884 * math/w_acoshl.c: Likewise.
28885 * math/w_acosl.c: Likewise.
28886 * math/w_asin.c: Likewise.
28887 * math/w_asinf.c: Likewise.
28888 * math/w_asinl.c: Likewise.
28889 * math/w_atan2.c: Likewise.
28890 * math/w_atan2f.c: Likewise.
28891 * math/w_atan2l.c: Likewise.
28892 * math/w_atanh.c: Likewise.
28893 * math/w_atanhf.c: Likewise.
28894 * math/w_atanhl.c: Likewise.
28895 * math/w_cosh.c: Likewise.
28896 * math/w_coshf.c: Likewise.
28897 * math/w_coshl.c: Likewise.
28898 * math/w_dremf.c: Likewise.
28899 * math/w_exp10.c: Likewise.
28900 * math/w_exp10f.c: Likewise.
28901 * math/w_exp10l.c: Likewise.
28902 * math/w_exp2.c: Likewise.
28903 * math/w_exp2f.c: Likewise.
28904 * math/w_fmod.c: Likewise.
28905 * math/w_fmodf.c: Likewise.
28906 * math/w_fmodl.c: Likewise.
28907 * math/w_hypot.c: Likewise.
28908 * math/w_hypotf.c: Likewise.
28909 * math/w_hypotl.c: Likewise.
28910 * math/w_j0.c: Likewise.
28911 * math/w_j0f.c: Likewise.
28912 * math/w_j0l.c: Likewise.
28913 * math/w_j1.c: Likewise.
28914 * math/w_j1f.c: Likewise.
28915 * math/w_j1l.c: Likewise.
28916 * math/w_jn.c: Likewise.
28917 * math/w_jnf.c: Likewise.
28918 * math/w_jnl.c: Likewise.
28919 * math/w_lgamma.c: Likewise.
28920 * math/w_lgamma_r.c: Likewise.
28921 * math/w_lgammaf.c: Likewise.
28922 * math/w_lgammaf_r.c: Likewise.
28923 * math/w_lgammal.c: Likewise.
28924 * math/w_lgammal_r.c: Likewise.
28925 * math/w_log.c: Likewise.
28926 * math/w_log10.c: Likewise.
28927 * math/w_log10f.c: Likewise.
28928 * math/w_log10l.c: Likewise.
28929 * math/w_log2.c: Likewise.
28930 * math/w_log2f.c: Likewise.
28931 * math/w_log2l.c: Likewise.
28932 * math/w_logf.c: Likewise.
28933 * math/w_logl.c: Likewise.
28934 * math/w_pow.c: Likewise.
28935 * math/w_powf.c: Likewise.
28936 * math/w_powl.c: Likewise.
28937 * math/w_remainder.c: Likewise.
28938 * math/w_remainderf.c: Likewise.
28939 * math/w_remainderl.c: Likewise.
28940 * math/w_scalb.c: Likewise.
28941 * math/w_scalbf.c: Likewise.
28942 * math/w_scalbl.c: Likewise.
28943 * math/w_sinh.c: Likewise.
28944 * math/w_sinhf.c: Likewise.
28945 * math/w_sinhl.c: Likewise.
28946 * math/w_sqrt.c: Likewise.
28947 * math/w_sqrtf.c: Likewise.
28948 * math/w_sqrtl.c: Likewise.
28949 * math/w_tgamma.c: Likewise.
28950 * math/w_tgammaf.c: Likewise.
28951 * math/w_tgammal.c: Likewise.
28952
6a621eb7
UD
28953 * po/ja.po: Update from translation team.
28954
bf582445
AJ
289552011-09-29 Andreas Jaeger <aj@suse.de>
28956
f9efbf3a
AJ
28957 [BZ #13179]
28958 * sunrpc/netname.c (netname2host): Fix logic.
28959
bf582445
AJ
28960 [BZ #6779]
28961 [BZ #6783]
28962 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28963 correctly.
28964 * math/w_remainder.c (__remainder): Likewise.
28965 * math/w_remainderf.c (__remainderf): Likewise.
28966 * math/libm-test.inc (remainder_test): Add test cases.
28967
48693bea
AK
289682011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28969
28970 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28971 sdiv_qrnnd.
28972
42622229
LD
289732011-10-07 Ulrich Drepper <drepper@gmail.com>
28974
28975 * string/test-memcmp.c: Avoid unncessary #defines.
28976 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28977
093ecf92
LD
289782011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28979
28980 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28981 Use new sse2 version for core i3 - i7 as it's faster
28982 than sse42 version.
28983 (bit_Prefer_PMINUB_for_stringop): New.
28984 * sysdeps/x86_64/rawmemchr.S: Update.
28985 Replace with faster SSE2 version.
28986 * sysdeps/x86_64/memrchr.S: New file.
28987 * sysdeps/x86_64/memchr.S: Update.
28988 Replace with faster SSE2 version.
28989
fde56e5c
MP
289902011-09-12 Marek Polacek <mpolacek@redhat.com>
28991
28992 * elf/dl-load.c (lose): Add cast to avoid warning.
28993
21fd49a9
UD
289942011-10-07 Ulrich Drepper <drepper@gmail.com>
28995
5a06e643
UD
28996 * po/ca.po: Update from translation team.
28997
684ae515
UD
28998 * inet/getnetgrent_r.c: Hook up nscd.
28999 * nscd/Makefile (routines): Add nscd_netgroup.
29000 (nscd-modules): Add netgroupcache.
29001 (CFLAGS-netgroupcache.c): Define.
29002 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29003 (cache_search): Add const to second parameter.
29004 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29005 INNETGR.
29006 (dbs): Add netgrdb entry.
29007 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
29008 (verify_persistent_db): Handle netgrdb.
29009 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
29010 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
29011 GETFDNETGR.
29012 (netgroup_response_header): Define.
29013 (innetgroup_response_header): Define.
29014 (datahead): Add netgroup_response_header and innetgroup_response_header
29015 elements.
29016 * nscd/nscd.conf: Add entries for netgroup cache.
29017 * nscd/nscd.h (dbtype): Add netgrdb.
29018 (_PATH_NSCD_NETGROUP_DB): Define.
29019 (netgroup_iov_disabled): Declare.
29020 (xmalloc, xcalloc, xrealloc): Move declarations here.
29021 (cache_search): Adjust prototype.
29022 Add netgroup-related prototypes.
29023 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
29024 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
29025 (__nscd_innetgr): Declare.
29026 * nscd/selinux.c (perms): Use access_vector_t as element type and
29027 add netgroup-related initializers.
29028 * nscd/netgroupcache.c: New file.
29029 * nscd/nscd_netgroup.c: New file.
29030 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
29031 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
29032 For four parameters use innetgr.
29033 * nss/nss_files/files-init.c: Add definition and callback for netgr.
29034 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
29035 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
29036 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
29037
21fd49a9
UD
29038 * nscd/connections.c (register_traced_file): Don't register file
29039 for disabled databases.
29040
054c0457
UD
290412011-10-06 Ulrich Drepper <drepper@gmail.com>
29042
32b63198
UD
29043 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
29044
054c0457
UD
29045 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
29046 from tree and freeing node.
29047
64031225
JO
290482011-09-25 Jiri Olsa <jolsa@redhat.com>
29049
29050 * nss/nsswitch.c (__nss_database_lookup): Handle
29051 nss_parse_service_list out of memory case.
29052
0490345c
JO
290532011-09-15 Jiri Olsa <jolsa@redhat.com>
29054
29055 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
29056 out of memory case.
29057
3a62d00d
AS
290582011-10-04 Andreas Schwab <schwab@redhat.com>
29059
29060 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29061 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29062 pass it down.
29063 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29064 elf_machine_rela, elf_machine_lazy_rel.
29065 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29066 (ELF_DYNAMIC_DO_REL): Likewise.
29067 (ELF_DYNAMIC_DO_RELA): Likewise.
29068 (ELF_DYNAMIC_RELOCATE): Likewise.
29069 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29070 to ELF_DYNAMIC_DO_REL.
29071 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29072 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29073 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29074 elf_machine_rela.
29075 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29076 skip_ifunc, don't call ifunc function if non-zero.
29077 (elf_machine_rela): Likewise.
29078 (elf_machine_lazy_rel): Likewise.
29079 (elf_machine_lazy_rela): Likewise.
29080 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29081 (elf_machine_lazy_rel): Likewise.
29082 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29083 Likewise.
29084 (elf_machine_lazy_rel): Likewise.
29085 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29086 Likewise.
29087 (elf_machine_lazy_rel): Likewise.
29088 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29089 (elf_machine_lazy_rel): Likewise.
29090 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29091 (elf_machine_lazy_rel): Likewise.
29092 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29093 (elf_machine_lazy_rel): Likewise.
29094 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29095 (elf_machine_lazy_rel): Likewise.
29096 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29097 (elf_machine_lazy_rel): Likewise.
29098 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29099 (elf_machine_lazy_rel): Likewise.
29100
68577918
UD
291012011-09-28 Ulrich Drepper <drepper@gmail.com>
29102
29103 * nss/nss_files/files-init.c (_nss_files_init): Use static
29104 initialization for all the *_traced_file variables.
29105
68822d74
AS
291062011-09-28 Andreas Schwab <schwab@redhat.com>
29107
29108 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29109
2056100b
RM
291102011-09-27 Roland McGrath <roland@hack.frob.com>
29111
29112 [BZ #13226]
29113 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29114
32c76b63
AS
291152011-09-27 Andreas Schwab <schwab@redhat.com>
29116
29117 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29118 Reread the line before reparsing it.
29119
bf972c9d
AS
291202011-09-26 Andreas Schwab <schwab@redhat.com>
29121
29122 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29123
e057a1b5
JM
291242011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29125 Maxim Kuvyrkov <maxim@codesourcery.com>
29126 Joseph Myers <joseph@codesourcery.com>
29127
29128 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29129 if needed for __stack_chk_guard.
29130
bc7e1c36
RM
291312011-09-19 Roland McGrath <roland@hack.frob.com>
29132
ecb1482f
RM
29133 * sysdeps/posix/spawni.c (script_execute): Always define it.
29134 It will be optimized away if unused.
29135 (maybe_script_execute): New function.
29136 (__spawni): Call it.
29137
bc7e1c36
RM
29138 * Makerules: Don't include tls.make.
29139 (config-tls): Always set to thread.
29140 * tls.make.c: File removed.
29141
1c3b002b
MF
291422011-09-19 Mike Frysinger <vapier@gentoo.org>
29143
29144 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29145 * config.make.in (CPPFLAGS-config): New substituted variable.
29146
2840865d
UD
291472011-09-15 Ulrich Drepper <drepper@gmail.com>
29148
88738eb6
UD
29149 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29150
cbf645a6 29151 [BZ #13192]
2840865d
UD
29152 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29153 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29154
b402e91a
RM
291552011-09-15 Roland McGrath <roland@hack.frob.com>
29156
29157 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29158 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29159 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29160 (CALL_FAIL): Likewise.
29161 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29162 (CALL_FAIL): Macro removed.
29163 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29164
4c1a1f71
UD
291652011-09-15 Ulrich Drepper <drepper@gmail.com>
29166
29167 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29168 for __FINITE_MATH_ONLY__ == 1.
29169
edc121be
AS
291702011-09-15 Andreas Schwab <schwab@redhat.com>
29171
29172 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29173 __ieee754_sqrt instead of sqrt.
29174 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29175 __ieee754_sqrtf instead of sqrtf.
29176 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29177 __floorf instead of floorf.
29178 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29179 __floorf, __truncf instead of floorf, truncf.
29180
cd205654
UD
291812011-09-14 Ulrich Drepper <drepper@gmail.com>
29182
ee4d0315
UD
29183 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29184
cd205654
UD
29185 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29186 __extern_always_inline.
29187 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29188 32-bit.
29189
48b67d71
AS
291902011-09-14 Andreas Schwab <schwab@redhat.com>
29191
29192 * elf/rtld.c (dl_main): Also relocate in dependency order when
29193 doing symbol dependency testing.
29194
1ae12c75
AS
291952011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29196
29197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29198 Always define `refsym'.
29199
995a80df
AS
292002011-09-13 Andreas Schwab <schwab@redhat.com>
29201
e529793b
AS
29202 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29203 (__FD_ELT): Renamed from __FDELT.
29204 * misc/bits/select2.h (__FD_ELT): Likewise.
29205 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29206 __FD_MASK instead of __FDELT, __FDMASK.
29207 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29208 Likewise.
29209 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29210 Likewise.
29211
52d4fef8
AS
29212 * elf/Makefile (gen-ldd): Fix pattern.
29213
995a80df
AS
29214 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29215 (init_tls): Likewise.
29216
8682f8b0
UD
292172011-09-12 Ulrich Drepper <drepper@gmail.com>
29218
29219 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29220
de82006d
AS
292212011-09-12 Andreas Schwab <schwab@redhat.com>
29222
a7c8e6a1
AS
29223 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29224 `struct cmsghdr *' instead of `void *'.
29225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29226 Likewise.
29227
0f31fe77
AS
292282011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29229
29230 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29231 if non-absolute.
29232 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29233 ldd_rewrite_script.
0f31fe77 29234
32b4c839
UD
292352011-09-11 Ulrich Drepper <drepper@gmail.com>
29236
83cd1420
UD
29237 * configure.in: Remove --with-tls option.
29238 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29239 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29240 out in case it is missing.
29241 * sysdeps/ia64/elf/configure.in: Likewise.
29242 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29243 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29244 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29245 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29246 * sysdeps/sh/elf/configure.in: Likewise.
29247 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29248 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29249 * sysdeps/x86_64/elf/configure.in: Likewise.
29250 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29251 * sysdeps/mach/hurd/tls.h: Likewise.
29252
633f745d
UD
29253 [BZ #13067]
29254 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29255
f318beb8
UD
29256 [BZ #13090]
29257 * configure.in: Fix use of AC_INIT.
29258
32b4c839
UD
29259 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29260
3ce1f295
UD
292612011-09-10 Ulrich Drepper <drepper@gmail.com>
29262
bb016596
UD
29263 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29264 __set_errno.
8e58439c
UD
29265 * malloc/hooks.c: Likewise.
29266
aebae053 29267 [BZ #11929]
02d46fc4
UD
29268 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29269 variables statically.
29270 (narenas): Initialize.
29271 (list_lock): Initialize.
bb016596
UD
29272 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29273 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29274 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29275 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29276 Add initializers to main_arena and mp_.
29277 (malloc_state): Remove pagesize member. Change all users to use
29278 GLRO(dl_pagesize).
29279
29280 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29281 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29282 is always initialized.
29283
22a89187
UD
29284 * malloc/malloc.c: Removed unused configurations and dead code.
29285 * malloc/arena.c: Likewise.
29286 * malloc/hooks.c: Likewise.
02d46fc4 29287 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29288
d063d164
UD
29289 * include/tls.h: Removed. USE___THREAD must always be defined.
29290 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29291 * elf/dl-libc.c: Likewise.
29292 * elf/dl-tsd.c: Likewise.
29293 * include/errno.h: Likewise.
29294 * include/netdb.h: Likewise.
29295 * include/resolv.h: Likewise.
29296 * inet/herrno-loc.c: Likewise.
29297 * inet/herrno.c: Likewise.
29298 * malloc/arena.c: Likewise.
29299 * malloc/hooks.c: Likewise.
29300 * malloc/malloc.c: Likewise.
29301 * resolv/res-state.c: Likewise.
29302 * resolv/res_libc.c: Likewise.
29303 * sysdeps/i386/dl-machine.h: Likewise.
29304 * sysdeps/ia64/dl-machine.h: Likewise.
29305 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29306 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29307 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29308 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29309 * sysdeps/sh/dl-machine.h: Likewise.
29310 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29311 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29312 * sysdeps/unix/i386/sysdep.S: Likewise.
29313 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29314 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29315 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29316 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29317 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29318 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29319 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29320 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29321 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29322 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29323 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29324 * sysdeps/x86_64/dl-machine.h: Likewise.
29325 * tls.make.c: Likewise.
29326
3ce1f295
UD
29327 * configure.in: Remove --with-__thread option. Make tests for
29328 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29329 tls_model attribute fail if no support is available. Remove
29330 USE_IN_LIBIO.
29331 * Makeconfig: Adjust for dropped configure option. All features are
29332 now mandatory.
29333 * Makerules: Likewise.
29334 * Versions.def: Likewise.
29335 * argp/argp-fmtstream.c: Likewise.
29336 * argp/argp-fmtstream.h: Likewise.
29337 * argp/argp-help.c: Likewise.
29338 * assert/assert.c: Likewise.
29339 * config.h.in: Likewise.
29340 * config.make.in: Likewise.
29341 * configure: Likewise.
29342 * configure.in: Likewise.
29343 * csu/Versions: Likewise.
29344 * csu/init.c: Likewise.
29345 * elf/tst-audit2.c: Likewise.
29346 * elf/tst-tls10.c: Likewise.
29347 * elf/tst-tls10.h: Likewise.
29348 * elf/tst-tls11.c: Likewise.
29349 * elf/tst-tls12.c: Likewise.
29350 * elf/tst-tls14.c: Likewise.
29351 * elf/tst-tlsmod11.c: Likewise.
29352 * elf/tst-tlsmod12.c: Likewise.
29353 * elf/tst-tlsmod13.c: Likewise.
29354 * elf/tst-tlsmod13a.c: Likewise.
29355 * elf/tst-tlsmod14a.c: Likewise.
29356 * elf/tst-tlsmod15b.c: Likewise.
29357 * elf/tst-tlsmod16a.c: Likewise.
29358 * elf/tst-tlsmod16b.c: Likewise.
29359 * elf/tst-tlsmod7.c: Likewise.
29360 * elf/tst-tlsmod8.c: Likewise.
29361 * elf/tst-tlsmod9.c: Likewise.
29362 * gmon/gmon.c: Likewise.
29363 * grp/fgetgrent_r.c: Likewise.
29364 * grp/putgrent.c: Likewise.
29365 * hurd/fopenport.c: Likewise.
29366 * include/libc-symbols.h: Likewise.
29367 * include/tls.h: Likewise.
29368 * intl/gettextP.h: Likewise.
29369 * intl/loadinfo.h: Likewise.
29370 * locale/global-locale.c: Likewise.
29371 * locale/localeinfo.h: Likewise.
29372 * mach/devstream.c: Likewise.
29373 * malloc/arena.c: Likewise.
29374 * malloc/set-freeres.c: Likewise.
29375 * misc/err.c: Likewise.
29376 * misc/getttyent.c: Likewise.
29377 * misc/mntent_r.c: Likewise.
29378 * posix/getopt.c: Likewise.
29379 * posix/wordexp.c: Likewise.
29380 * pwd/fgetpwent_r.c: Likewise.
29381 * resolv/Versions: Likewise.
29382 * resolv/res_hconf.c: Likewise.
29383 * shadow/fgetspent_r.c: Likewise.
29384 * shadow/putspent.c: Likewise.
29385 * stdio-common/printf_fphex.c: Likewise.
29386 * stdio-common/tmpfile.c: Likewise.
29387 * stdlib/abort.c: Likewise.
29388 * stdlib/fmtmsg.c: Likewise.
29389 * sunrpc/auth_unix.c: Likewise.
29390 * sunrpc/clnt_perr.c: Likewise.
29391 * sunrpc/clnt_tcp.c: Likewise.
29392 * sunrpc/clnt_udp.c: Likewise.
29393 * sunrpc/clnt_unix.c: Likewise.
29394 * sunrpc/openchild.c: Likewise.
29395 * sunrpc/svc_simple.c: Likewise.
29396 * sunrpc/svc_tcp.c: Likewise.
29397 * sunrpc/svc_udp.c: Likewise.
29398 * sunrpc/svc_unix.c: Likewise.
29399 * sunrpc/xdr.c: Likewise.
29400 * sunrpc/xdr_array.c: Likewise.
29401 * sunrpc/xdr_rec.c: Likewise.
29402 * sunrpc/xdr_ref.c: Likewise.
29403 * sunrpc/xdr_stdio.c: Likewise.
29404
1248c1c4
PB
294052011-09-09 Ulrich Drepper <drepper@gmail.com>
29406
29407 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29408
294092011-07-03 Andreas Jaeger <aj@suse.de>
29410
29411 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29412 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29413 regenerate with gen-libm-tests.pl.
29414
294152010-05-12 Petr Baudis <pasky@suse.cz>
29416
29417 [BZ #11589]
29418 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29419 around j0() zero points by switching to j1().
29420 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29421 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29422 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29423 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29424
f22e1074
UD
294252011-09-09 Ulrich Drepper <drepper@gmail.com>
29426
f19009c1
UD
29427 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29428 instead of 0.
29429 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29430 instead of 0.
f19009c1
UD
29431 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29432 Patch in part by Pavel Roskin <proski@gnu.org>.
29433
3f8cc204
UD
29434 [BZ #13138]
29435 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29436 realloc.
29437 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29438 Free memory block if necessary.
29439
f22e1074
UD
29440 [BZ #12847]
29441 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29442 be NULL. Don't lock in this case.
29443
0a2349f9
RM
294442011-09-09 Roland McGrath <roland@hack.frob.com>
29445
29446 * elf/elf.h (ELFOSABI_GNU): New macro.
29447 (ELFOSABI_LINUX): Define to that.
29448
f3cdd467
DZ
294492011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29450
29451 * string/strncat.c (strncat): Undef the symbol in case it has been
29452 defined in bits/string.h.
29453
74718d13
UD
294542011-09-09 Ulrich Drepper <drepper@gmail.com>
29455
633e9e0f
UD
29456 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29457
0a2349f9 29458 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29459 link map.
29460
f9924780
AJ
294612011-08-17 Andreas Jaeger <aj@suse.de>
29462
29463 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29464
7f5517aa
PP
294652011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29466 Ian Lance Taylor <iant@google.com>
29467
29468 * math/libm-test.inc (lround_test): New testcase.
29469 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29470
762011fe
UD
294712011-09-08 Ulrich Drepper <drepper@gmail.com>
29472
92963737
UD
29473 * Makefile: Remove support for automatic cvs check-ins.
29474 * Makerules: Likewise.
29475 * config.make.in: Likewise.
29476 * configure.in: Likewise.
29477 * intl/Makefile: Likewise.
29478 * locale/Makefile: Likewise.
29479 * po/Makefile: Likewise.
29480 * posix/Makefile: Likewise.
29481 * sysdeps/gnu/Makefile: Likewise.
29482 * sysdeps/mach/hurd/Makefile: Likewise.
29483 * sysdeps/sparc/sparc32/Makefile: Likewise.
29484
b0727fd8
JS
29485 [BZ #13118]
29486 * posix/Makefile (bug-regex32-ENV): Define.
29487 Patch by John Stanley <jpsinthemix@verizon.net>.
29488
a0f33f99
UD
29489 * misc/Makefile (headers): Add bits/select2.h.
29490 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29491 * misc/bits/select2.h: New file.
29492 * include/bits/select2.h: New file.
29493 * debug/Makefile (routines): Add fdelt_chk.
29494 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29495 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29496 FD_ISSET.
29497 * debug/fdelt_chk.c: New file.
29498
762011fe
UD
29499 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29500 * wcsmbs/test-wmemcmp.c: Likewise.
29501 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29502 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29503
295042011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29505
29506 * string/Makefile (strop-tests): Add memcmp.
29507 * string/test-wmemcmp.c: New file.
29508 * string/test-memcmp.c: Add wmemcmp support.
29509
7f513ec8
RM
295102011-09-08 Roland McGrath <roland@hack.frob.com>
29511
0442afb4
RM
29512 [BZ #13153]
29513 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29514 2011-07-19 change.
29515
7f513ec8
RM
29516 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29517 garbage value in a __mach_port_mod_refs call in the cases of the
29518 task-self and thread-self ports.
29519
a12b2239
ST
295202011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29521
29522 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29523
610f9ab4
AS
295242011-09-08 Andreas Schwab <schwab@redhat.com>
29525
7f513ec8 29526 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29527
48882a1a
LD
295282011-09-07 Ulrich Drepper <drepper@gmail.com>
29529
b49865be
UD
29530 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29531
fdc86bc9
UD
29532 * elf/dl-libc.c (dlerror_run): Pass back error code from
29533 dl_catch_error.
29534
c966526a
UD
29535 [BZ #13123]
29536 * elf/dl-load.c (lose): Free l_origin if it is valid.
29537
48882a1a
LD
29538 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29539 names.
29540 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29541 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29542 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29543 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29544 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29545 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29546
77a2a8b4
AZ
295472011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29548
29549 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29550 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29551 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29552 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29553 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29554 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29555 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29556 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29557 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29558 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29559
24f579d8
AM
295602011-08-15 Alan Modra <amodra@gmail.com>
29561
29562 [BZ #13092]
29563 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29564 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29565 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29566 ppc_mcount to static-only-routines.
29567 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29568 __mcount_internal.
29569 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29570 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29571
3d4837df
UD
295722011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29573
29574 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29575 for finite and infinity parameters.
29576
22700377
WS
295772011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29578
29579 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29580 and add nop instructions for throughput optimization.
29581 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29582
5025581e
WS
295832011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29584
29585 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29586 aligned copy for power7 with vector-scalar instructions.
29587 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29588
08a300c9
L
295892011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29590
29591 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29592 AVX check.
29593
59178ef9
AS
295942011-09-07 Andreas Schwab <schwab@redhat.com>
29595
29596 [BZ #13144]
29597 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29598 last change.
29599
e38ba7ab
UD
296002011-09-07 Ulrich Drepper <drepper@gmail.com>
29601
29602 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29603 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29604 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29605 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29606 clock_gettime.
29607
d53a73ac
UD
296082011-09-06 Ulrich Drepper <drepper@gmail.com>
29609
fc8bffcc
UD
29610 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29611 Forgot to demangle the pointer.
29612
ceaa0c5d
UD
29613 * sysdeps/i386/sysdep.h: Define atom_text_section.
29614 * sysdeps/x86_64/sysdep.h: Likewise.
29615 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29616 section with atom_text_section.
29617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29618 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29619 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29620 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29621 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29622
a77d3c17
UD
29623 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29624 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29625 already be defined. Change to take two parameters and don't assign
29626 result to variable. Adjust all users.
29627 Define INTERNAL_GETTIME if not already defined.
29628 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29629 call.
29630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29631 HAVE_CLOCK_GETTIME_VSYSCALL.
29632 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29633
d53a73ac
UD
29634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29635 gettimeofday vsyscall, just use time.
29636
a8f84144
AS
296372011-09-06 Andreas Schwab <schwab@redhat.com>
29638
29639 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29640 <errno.h>.
29641
ef606249
UD
296422011-09-06 Ulrich Drepper <drepper@gmail.com>
29643
29644 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29645 syscall on x86-64.
29646 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29647 syscall.
29648 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29649 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29650 syscall if possible.
29651
6585cb60
UD
296522011-09-05 Ulrich Drepper <drepper@gmail.com>
29653
29654 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29655 e_ident. Don't pass to find_mapsXX.
29656 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29657
a5f524e4
LD
296582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29659
29660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29661 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29662 * sysdeps/x86_64/multiarch/strchr.S: Update.
29663 Check bit_slow_BSF bit.
29664 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29665 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29666 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29667
554881ef
UD
296682011-09-05 Ulrich Drepper <drepper@gmail.com>
29669
d96de963
UD
29670 [BZ #13134]
29671 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29672 before glibc 2.15.
29673 (tryshell): Define.
29674 (__spawni): Change last parameter to be flag. Test
29675 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29676 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29677 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29678 * posix/spawni.c: Likewise.
29679 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29680 * posix/spawnp.c: Likewise. Change normal version to use
29681 SPAWN_XFLAGS_USE_PATH.
29682 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29683 SPAWN_XFLAGS_TRY_SHELL.
29684
d48e5868
UD
29685 [BZ #13150]
29686 * posix/glob.h: Remove gcc 1.x support.
29687
554881ef
UD
29688 [BZ #13068]
29689 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29690
693fb948
LD
296912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29692
29693 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29694 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29695 strrchr-sse2-bsf
29696 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29697 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29698 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29699 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29700 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29701 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29702
1b48c537
UD
297032011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29704
49d42c37
UD
29705 * sysdeps/x86_64/wcscmp.S: New file.
29706
1b48c537
UD
29707 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29708 wcscmp-c wcscmp-sse2
29709 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29710 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29711 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29712 * wcsmbs/wcscmp.c: Allow renaming.
29713
15c95c5d
DM
297142011-09-05 David S. Miller <davem@davemloft.net>
29715
29716 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29717 stack slot, rather than the struct return pointer slot.
29718 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29719 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29721 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29722
2f0ad8f3
UD
297232011-09-05 Ulrich Drepper <drepper@gmail.com>
29724
d88ae418
UD
29725 * po/ja.po: Update from translation team.
29726
2f0ad8f3
UD
29727 [BZ #13144]
29728 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29729 kernel in 64-bit binaries.
29730
5f4318d1
DM
297312011-09-01 David S. Miller <davem@davemloft.net>
29732
29733 * elf/elf.h (HWCAP_SPARC_*): Move to..
29734 * sysdeps/sparc/sysdep.h: this new file and add new values.
29735 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29736 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29737 _DL_HWCAP_COUNT to 24.
29738 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29739 entries.
29740 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29741 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29742 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29744 instead of magic constants.
29745 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29746
3ba57516
DM
297472011-08-31 David S. Miller <davem@davemloft.net>
29748
29749 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29751 Reimplement to do errno handling inline.
29752 (SYSCALL_ERROR_HANDLER): New macro.
29753 (__SYSCALL_STRING): Do not do errno handling in asm.
29754 (__CLONE_SYSCALL_STRING): Delete.
29755 (__INTERNAL_SYSCALL_STRING): Delete.
29756 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29757 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29758 (PSEUDO): Reimplement to do errno handling inline.
29759 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29760 (SYSCALL_ERROR_HANDLER): New macro.
29761 (__SYSCALL_STRING): Do not do errno handling in asm.
29762 (__CLONE_SYSCALL_STRING): Delete.
29763 (__INTERNAL_SYSCALL_STRING): Delete.
29764 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29765 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29766 i386.
29767 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29768 (inline_syscall*): Add 'err' argument.
29769 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29770 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29771 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29772 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29773
29774 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29775 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29776
2bc17433
AS
297772011-08-30 Andreas Schwab <schwab@redhat.com>
29778
29779 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29780
fbeb5f4d
JO
297812011-08-29 Jiri Olsa <jolsa@redhat.com>
29782
29783 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29784 directive.
29785
ad69cc26
DM
297862011-08-24 David S. Miller <davem@davemloft.net>
29787
29788 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29789
39dd69df
AS
297902011-08-24 Andreas Schwab <schwab@redhat.com>
29791
29792 * elf/Makefile: Add rules to build and run unload8 test.
29793 * elf/unload8.c: New file.
29794 * elf/unload8mod1.c: New file.
29795 * elf/unload8mod1x.c: New file.
29796 * elf/unload8mod2.c: New file.
29797 * elf/unload8mod3.c: New file.
29798
29799 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29800 it wasn't used.
29801
2c0b250a
DM
298022011-08-23 David S. Miller <davem@davemloft.net>
29803
29804 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29805 subtract stack bias.
29806 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29807 %sp not %fp in calculations.
29808 (_JMPBUF_UNWINDS_ADJ): Likewise.
29809
22044b48
DM
29810 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29811 (aio_suspend): Call it to force an exception region around the
29812 AIO_MISC_WAIT() invocation.
29813
2cae4995
AS
298142011-08-23 Andreas Schwab <schwab@redhat.com>
29815
29816 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29817 backslash.
29818
873a772e
AJ
298192011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29820
29821 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29822 protection macro.
29823 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29824 and <dl-machine.h>.
29825 (Elf64_FuncDesc): Remove.
29826
25ad0df1
DM
298272011-08-22 David S. Miller <davem@davemloft.net>
29828
29829 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29830 sigaltstack check, add missing cfi directives.
29831 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29832 missing cfi directives, and sigaltstack handling.
29833
e888bcbe
AS
298342011-08-16 Andreas Schwab <schwab@redhat.com>
29835
29836 [BZ #11724]
29837 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29838 object is seen twice.
29839 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29840
29841 * elf/Makefile (distribute): Add tst-initorder2.c.
29842 (tests): Add tst-initorder2.
29843 (modules-names): Add tst-initorder2a tst-initorder2b
29844 tst-initorder2c tst-initorder2d. Add rules to build them.
29845 ($(objpfx)tst-initorder2.out): New rule.
29846 * elf/tst-initorder2.c: New file.
29847 * elf/tst-initorder2.exp: New file.
29848
87162f46
AS
298492011-08-22 Andreas Schwab <schwab@redhat.com>
29850
70538b7f
AS
29851 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29852
f55ffe58
AS
29853 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29854 dependencies back to end of function.
29855
87162f46
AS
29856 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29857 $(elfobjdir)/ld.so.
29858
91b392a4
UD
298592011-08-21 Ulrich Drepper <drepper@gmail.com>
29860
29861 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29862 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29863 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29864 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29865 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29866 of __vdso_gettimeofday.
29867 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29868 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29869 attribute_hidden.
29870 (_libc_vdso_platform_setup): Remove initialization of
29871 __vdso_gettimeofday and __vdso_time.
29872
5c43483f
UD
298732011-08-20 Ulrich Drepper <drepper@gmail.com>
29874
775a77e7
UD
29875 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29876 and fgetc_unlocked.
29877 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29878 getc_unlocked.
89f447ed 29879
49c74ba9
UD
29880 * elf/dl-open.c (add_to_global): Report additions to the global scope
29881 for LD_DEBUG=scopes.
29882 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29883 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29884
5c43483f
UD
29885 [BZ #13114]
29886 * stdio-common/Makefile (tests): Add bug24.
29887 * stdio-common/bug24.c: New file.
29888
a101b025
AJ
298892011-08-19 Andreas Jaeger <aj@suse.de>
29890
29891 [BZ #13114]
29892 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29893 non-existant file when using close-on-exec mode.
29894
c88f1766
UD
298952011-08-20 Ulrich Drepper <drepper@gmail.com>
29896
0276a718
UD
29897 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29898 the very first instruction.
29899
c88f1766
UD
29900 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29901 the CFI state in the end.
29902 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29903 inclusion of dl-trampoline.h.
29904 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29905
51ccffa0
AS
299062011-08-19 Andreas Schwab <schwab@redhat.com>
29907
94d7165f
AS
29908 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29909 expectations for long double.
29910
51ccffa0
AS
29911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29912 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29913
fd708658 299142011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29915
29916 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29917 artificual limit depends upon the system page size.
29918
44f0a71e
UD
299192011-08-17 Ulrich Drepper <drepper@gmail.com>
29920
29921 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29922 * resolv/Makefile: Define CFLAGS-libresolv.
29923
8de79a24
AS
299242011-08-17 Andreas Schwab <schwab@redhat.com>
29925
29926 * nss/makedb.c (compute_tables): Make variables used in nested
29927 function static.
29928
27724598
UD
299292011-08-17 Ulrich Drepper <drepper@gmail.com>
29930
c5305d88
UD
29931 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29932 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29933 if buffer was too small.
29934
27724598
UD
29935 * elf/pldd.c (main): Attach to all threads in the process.
29936 Rewrite /proc handling to use *at functions.
29937
076fe015
UD
299382011-08-16 Ulrich Drepper <drepper@gmail.com>
29939
174baab3
UD
29940 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29941 specifies first scope to show.
29942 (dl_open_worker): Update callers. Move printing scope of new
29943 object to before the relocation.
44f0a71e 29944 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29945 * sysdeps/generic/ldsodefs.h: Update declaration.
29946
076fe015
UD
29947 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29948 string for the scope number.
29949
a60df2c3
UD
299502011-08-14 Ulrich Drepper <drepper@gmail.com>
29951
29952 * nscd/servicescache.c (cache_addserv): Make sure written is always
29953 initialized.
29954
5e4287d1
RM
299552011-08-14 Roland McGrath <roland@hack.frob.com>
29956
85ae0589
RM
29957 * sysdeps/i386/i486/bits/atomic.h
29958 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29959 statement expression, so as to suppress "set but not used" warning.
29960 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29961
69f63097
RM
29962 * string/strncat.c (STRNCAT): Use prototype definition.
29963
675456ef
RM
29964 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29965 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29966 -Iprograms here.
29967 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29968 (localedef-modules): Add localedef.
29969 (locale-modules): Add locale.
29970
5e4287d1
RM
29971 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29972 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29973 to avoid a warning.
29974
9c96ff23
DM
299752011-08-14 David S. Miller <davem@davemloft.net>
29976
29977 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29978 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29979
f9ddf089
UD
299802011-08-13 Ulrich Drepper <drepper@gmail.com>
29981
44f0a71e 29982 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29983 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29984 * elf/rtld.c (dl_main): Set l_name of vDSO.
29985 Call _dl_show_scope when DL_DEBUG_SCOPES.
29986 (process_dl_debug): Recognize scopes flag and also set it for all.
29987 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29988 Declare _dl_show_scope.
29989
1dc27704
UD
29990 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29991 (do_dlopen): Pass caller_dlopen to dl_open.
29992 (__libc_dlopen_mode): Initialize caller_dlopen.
29993
f9ddf089
UD
29994 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29995 of libc. Make tolower call locale-independent. Optimize a bit by
29996 using isdigit instead of isalnum.
29997 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29998
9ac533d3
UD
299992011-08-12 Ulrich Drepper <drepper@gmail.com>
30000
30001 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30002 was a dependency or dynamically loaded.
30003
89edf2e9
UD
300042011-08-11 Ulrich Drepper <drepper@gmail.com>
30005
8e999d29
UD
30006 * intl/l10nflist.c: Allow architecture-specific pop function.
30007 * sysdeps/x86_64/l10nflist.c: New file.
30008
89edf2e9
UD
30009 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
30010 classification.
30011
14d96785
AS
300122011-08-10 Andreas Schwab <schwab@redhat.com>
30013
30014 * include/dirent.h: Add libc_hidden_proto for scandirat and
30015 scandirat64. Don't declare __scandirat64.
30016 * dirent/scandirat.c: Add libc_hidden_def.
30017 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
30018 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
30019
6761ac04
DM
300202011-08-10 David S. Miller <davem@davemloft.net>
30021
30022 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
30023 enum.
30024 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30025 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30026 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30027
c55fbd1e
UD
300282011-08-09 Ulrich Drepper <drepper@gmail.com>
30029
30030 * Versions.def [libc]: Add GLIBC_2.15.
30031 * dirent/Makefile (routines): Add scandirat and scandirat64.
30032 * dirent/Versions [libc]: Export scandirat and scandirat64 for
30033 GLIBC_2.15.
30034 * dirent/dirent.h: Declare scandirat and scandirat64.
30035 * dirent/scandirat.c: New file.
30036 * dirent/scandirat64.c: New file.
30037 * sysdeps/wordsize-64/scandirat.c: New file.
30038 * sysdeps/wordsize-64/scandirat64.c: New file.
30039 * dirent/opendir.c: Define opendirat.
30040 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
30041 using scandirat.
30042 * dirent/scandir64.c: Adjust for scandir.c change.
30043 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
30044 __scandirat64, and __scandir_cancel_handler.
30045 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
30046 additional parameter and use openat instead of open (outside of ld.so).
30047 Add new __opendir as wrapper around __opendirat.
30048 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
30049 here without requiring old scandirat implementation.
30050
879165f2
UD
300512011-08-08 Ulrich Drepper <drepper@gmail.com>
30052
30053 * dirent/scandir.c (cancel_handler): Renamed to
30054 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
30055 defined. Adjust users.
30056 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
30057 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30058
cb7e923b
UD
300592011-08-04 Ulrich Drepper <drepper@gmail.com>
30060
16292edd
UD
30061 * string/test-string.h (IMPL): Use __STRING to expand name and then
30062 stringify it.
30063
cb7e923b
UD
30064 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
30065 of cleanups.
30066
cff82933
LD
300672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30068
30069 * string/Makefile: Update.
30070 (strop-tests): Append strncat.
30071 * string/test-wcscmp.c: New file.
30072 New comprehensive test for wcscmp.
30073 * string/test-strcmp.c: Update.
30074 (WIDE): New define.
30075
9be9bfcc
AS
300762011-07-22 Andreas Schwab <schwab@redhat.com>
30077
30078 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30079 line.
30080
2e96f1c7
AS
300812011-07-26 Andreas Schwab <schwab@redhat.com>
30082
30083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30084 encoding to ACE if AI_IDN.
30085
85188888
JJ
300862011-08-01 Jakub Jelinek <jakub@redhat.com>
30087
30088 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30089 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30090
5fa16e9b
LD
300912011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30092
30093 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30094 Fix overflow bug in strncat.
30095 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30096
30097 * string/test-strncat.c: Update.
30098 Add new tests for checking overflow bugs.
30099
301002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30101
30102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30103 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30104 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30105 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30107 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30108 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30109 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30110 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30111
30112 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30113 (USE_AS_STRCAT): Define.
30114 Add strcat and strncat support.
30115 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30116
8c1a459f
AS
301172011-07-25 Andreas Schwab <schwab@redhat.com>
30118
30119 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30120 __n bigger than INT_MAX+1.
30121 (__strncmp_g): Likewise.
30122
bba33c28
UD
301232011-07-23 Ulrich Drepper <drepper@gmail.com>
30124
798be72d
UD
30125 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30126 * libio/stido.h: Likewise.
30127
8accd4dc
UD
30128 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30129 (AF_NFC): Define.
30130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30131 (AF_NFC): Define.
30132
cbff0d96
UD
30133 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30134 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30135 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30136 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30138
9191c04a
UD
30139 [BZ #13021]
30140 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30141 installed.
30142
bba33c28
UD
30143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30144 typo.
30145 (_dl_x86_64_save_sse): Likewise.
30146
90f139dd
UD
301472011-07-22 Ulrich Drepper <drepper@gmail.com>
30148
1aae088a
UD
30149 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30150 OSXSAVE.
30151 (_dl_x86_64_save_sse): Likewise.
30152
8e2045f5
UD
30153 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30154
90f139dd
UD
30155 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30156
1d002f25
AS
301572011-07-21 Andreas Schwab <schwab@redhat.com>
30158
30159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30160 change.
30161 (_dl_x86_64_save_sse): Use correct AVX check.
30162
21137f89
UD
301632011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30164
30165 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30166 bug in strncpy/strncat.
30167 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30168
a65c0b7a
UD
301692011-07-21 Ulrich Drepper <drepper@gmail.com>
30170
30171 * string/tester.c (test_strcat): Add tests for different alignments
30172 of source and destination.
30173 (test_strncat): Likewise.
30174
6986b98a
UD
301752011-07-20 Ulrich Drepper <drepper@gmail.com>
30176
90bb2039
UD
30177 [BZ #12852]
30178 * posix/glob.c (glob): Check passed in values before using them in
30179 expressions to avoid some overflows.
30180 (glob_in_dir): Likewise.
30181
5644ef54
UD
30182 [BZ #13007]
30183 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30184 check for AVX enablement so that we don't crash with old kernels and
30185 new hardware.
30186 * elf/tst-audit4.c: Add same checks here.
30187 * elf/tst-audit6.c: Likewise.
30188
30189 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30190
bfc9dc9b
AS
301912011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30192
30193 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30194
702e64bb
UD
301952011-07-20 Ulrich Drepper <drepper@gmail.com>
30196
30197 * po/cs.po: Update from translation team.
30198 * po/bg.po: Likewise.
30199
295e904f
MP
302002011-07-12 Marek Polacek <mpolacek@redhat.com>
30201
30202 * misc/sys/cdefs.h: Add support for const attribute.
30203 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30204 to gnu_dev_{major,minor,makedev} functions.
30205
3ff94596
MP
302062011-07-20 Marek Polacek <mpolacek@redhat.com>
30207
30208 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30209
28b59fca
AS
302102011-07-20 Andreas Schwab <schwab@redhat.com>
30211
30212 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30213 strlen results.
30214
19df733e
AK
302152011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30216
30217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30218 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30219 register in order to avoid conflicts with the soft frame pointer
30220 being held in r11 when necessary.
30221 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30222 (INTERNAL_VSYSCALL_NCS): Likewise.
30223
c8835729
MP
302242011-07-14 Marek Polacek <mpolacek@redhat.com>
30225
30226 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30227 * elf/dl-fini.c (_dl_fini): Adjust caller.
30228 * elf/dl-close.c (_dl_close_worker): Likewise.
30229 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30230
b902330c
MP
302312011-07-15 Marek Polacek <mpolacek@redhat.com>
30232
8991e135
MP
30233 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30234 "aux_cache->nlibs < 0".
30235
b902330c
MP
30236 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30237 in the reload-count case.
30238
99710781
LD
302392011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30240
30241 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30242 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30243 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30244 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30245 * sysdeps/x86_64/multiarch/strcat.S: New file.
30246 * sysdeps/x86_64/multiarch/strncat.S: New file.
30247 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30248 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30249 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30250 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30251 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30252 (USE_AS_STRCAT): Define.
30253 Add strcat and strncat support.
30254 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30255 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30256 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30257 * string/strncat.c: Update.
30258 (USE_AS_STRNCAT): Define.
30259 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30260 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30261 and i7.
30262 * sysdeps/x86_64/multiarch/init-arch.h
30263 (bit_Prefer_PMINUB_for_stringop): New.
30264 (index_Prefer_PMINUB_for_stringop): Likewise.
30265 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30266 bit_Prefer_PMINUB_for_stringop.
30267
7dc6bd90
UD
302682011-07-19 Ulrich Drepper <drepper@gmail.com>
30269
30270 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30271 buffer64.
30272 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30273 of casting of buffer.
30274 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30275 buffer32 and buffer64.
30276 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30277 writes instead of casting of buffer.
30278 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30279 buffer32.
30280 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30281 casting of buffer.
30282
e0e72284
AS
302832011-07-19 Andreas Schwab <schwab@redhat.com>
30284
30285 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30286
feb1eb0b
UD
302872011-07-19 Ulrich Drepper <drepper@gmail.com>
30288
30289 * nscd/nscd.c (termination_handler): Don't do anything for a database
30290 if it has not yet been initialized.
30291
298711ff
UD
302922011-07-18 Ulrich Drepper <drepper@gmail.com>
30293
30294 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30295
302962011-07-15 Marek Polacek <mpolacek@redhat.com>
30297
30298 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30299
f9d68389
UD
303002011-07-18 Ulrich Drepper <drepper@gmail.com>
30301
30302 * po/nl.po: Update from translation team.
30303 * po/sv.po: Likewise.
30304
db290cf5
RM
303052011-07-16 Roland McGrath <roland@hack.frob.com>
30306
30307 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30308 now disallowed by GCC.
5c550700 30309
fd5e21c7
RM
30310 * configure.in (use-default-link): Default to yes if a test -shared
30311 link meets our qualifications.
30312 * configure: Regenerated.
30313
5c550700
RM
30314 * config.make.in (output-format): New variable.
30315 * configure.in: Check for ld --print-output-format support.
30316 * configure: Regenerated.
30317 * Makerules ($(common-objpfx)format.lds)
30318 [$(output-format) != unknown]: Just use $(output-format),
30319 instead of the linker-script munging.
30320
9fa2c032
RM
303212011-07-14 Roland McGrath <roland@hack.frob.com>
30322
a6928d51
RM
30323 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30324 of $(common-objpfx)shlib.lds.
30325 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30326
661607b3
RM
30327 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30328 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30329
9fa2c032
RM
30330 * configure.in (-z relro check): Adjust test code to add a large
30331 writable data section after it.
30332 * configure: Regenerated.
30333
defe9061
RM
303342011-07-11 Roland McGrath <roland@hack.frob.com>
30335
30336 * configure.in (-z relro check): Fix test code to make the variable
30337 truly const.
30338 * configure: Regenerated.
30339
319b9ad4
UD
303402011-07-11 Ulrich Drepper <drepper@gmail.com>
30341
30342 * nscd/nscd.h (struct traced_file): Define.
30343 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30344 elements. Add traced_files.
30345 (inotify_fd): Declare.
30346 (register_traced_file): Declare.
30347 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30348 (inotify_fd): Export.
30349 (resolv_conf_descr): Remove.
30350 (nscd_init): Move inotify descriptor creation to main.
30351 Don't register files for notification here.
30352 (register_traced_file): New function.
30353 (invalidate_cache): Don't use reset_res to determine whether to call
30354 res_init, go through the list of registered files.
30355 (main_loop_poll): The inotify descriptors are now stored in the
30356 structures for the traced files.
30357 (main_loop_epoll): Likewise
30358 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30359 to __nss_disable_nscd.
30360 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30361 for a database anymore. Check the records for all the registered
30362 files instead.
30363 * nss/Makefile (libnss_files-routines): Add files-init.
30364 (libnss_db-routines): Add db-init.
30365 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30366 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30367 * nss/nss_db/db-init.c: New file.
30368 * nss/nss_files/files-init.c: New file.
30369 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30370 __nss_lookup_function.
30371 (__nss_lookup_function): Call nss_load_library.
30372 (nss_load_all_libraries): New function.
30373 (__nss_disable_nscd): Take parameter with callback function for files
30374 to register. Set is_nscd. Load all the DSOs for the NSS modules
30375 used for the cached services.
30376 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30377 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30378 options for features to all the files in nscd.
30379
30380 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30381
23bee3e8
RM
303822011-07-10 Roland McGrath <roland@hack.frob.com>
30383
30384 * csu/elf-init.c (__libc_csu_init): Comment typo.
30385
46a5b7f0
UD
303862011-07-09 Ulrich Drepper <drepper@gmail.com>
30387
30388 * po/pl.po: Update from translation team.
30389 * po/ja.po: Likewise.
30390 * po/ru.po: Likewise.
30391 * po/ko.po: Likewise.
30392 * po/fr.po: Likewise.
30393
d30cf5bb
RM
303942011-07-09 Roland McGrath <roland@hack.frob.com>
30395
113ddea4
RM
30396 * configure.in (.ctors/.dtors header and trailer check):
30397 Use an empirical test on a built program.
30398 * configure: Regenerated.
30399
574920b4
RM
30400 * configure.in (-z relro check): Use an empirical test on a built DSO.
30401 Detect, but do not require, on ia64.
30402 * configure: Regenerated.
30403
d30cf5bb
RM
30404 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30405 Update tests that use readelf to use $READELF instead.
30406 * configure: Regenerated.
30407
8538fdb3
UD
304082011-07-08 Ulrich Drepper <drepper@gmail.com>
30409
30410 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30411 if the result is not used.
30412
04d08991
AJ
304132011-07-05 Andreas Jaeger <aj@suse.de>
30414
30415 [BZ#9696]
30416 * stdlib/tst-strtod.c: Add testcase.
30417
de283087
AD
304182011-07-07 Ulrich Drepper <drepper@gmail.com>
30419
4e5f31c8 30420 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30421 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30422 The latter has a higher limit. Take additional parameter to pass to
30423 the new function.
30424 (__pathconf): Pass file to __statfs_link_max.
30425 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30426 __statfs_link_max.
30427 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30428 __statfs_link_max.
30429
de283087
AD
30430 [BZ #12868]
30431 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30432 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30433 Handle Lustre.
30434 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30435 (__statfs_filesize_max): Likewise.
30436 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30437
c75fa153
AJ
304382011-07-05 Andreas Jaeger <aj@suse.de>
30439
30440 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30441
1a544854
UD
304422011-07-06 Marek Polacek <mpolacek@redhat.com>
30443
30444 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30445 `status' variable.
30446 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30447 Likewise.
30448
6f0eec67
UD
304492011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30450
30451 * Makefile (strop-tests): Add strncat.
30452 * string/test-strncat.c: New file.
30453
aae30307
UD
304542011-06-30 Marek Polacek <mpolacek@redhat.com>
30455
30456 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30457
c0cfb5eb
UD
304582011-06-21 Andreas Jaeger <aj@suse.de>
30459
30460 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30461 Copy rule from iconvdata/Makefile.
30462
01636b21
UD
304632011-07-06 Ulrich Drepper <drepper@gmail.com>
30464
30465 [BZ #12922]
30466 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30467 but no long options are defined, just return 'W'.
30468
9895c8bc
UD
304692011-06-22 Marek Polacek <mpolacek@redhat.com>
30470
30471 [BZ #9696]
30472 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30473
5d4cf042
UD
304742011-07-06 Ulrich Drepper <drepper@gmail.com>
30475
30476 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30477 netgroups to read.
960e5535 30478 (innetgr): Likewise.
5d4cf042 30479
751eb97e
RM
304802011-07-05 Roland McGrath <roland@hack.frob.com>
30481
30482 * config.make.in (install_root): Default to $(DESTDIR).
30483
f15f1e45
UD
304842011-07-05 Ulrich Drepper <drepper@gmail.com>
30485
30486 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30487
4e34ac6a
RM
304882011-07-02 Roland McGrath <roland@hack.frob.com>
30489
5e9b6af4
RM
30490 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30491
84f9ea0f
RM
30492 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30493 containing directory rather than embedding absolute directory names.
30494
ea5ee9f7
RM
30495 * scripts/check-local-headers.sh: Rewritten using awk.
30496 Match by word, not by line. Print error messages for matches.
30497 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30498
1b74661a
RM
30499 * Makerules [shlib-lds-flags empty]:
30500 ($(common-objpfx)libc_pic.opts): New target.
30501 ($(common-objpfx)libc_pic.os.clean): New target.
30502 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30503
30504 * config.make.in (OBJCOPY): New variable.
30505 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30506 * configure: Regenerated.
30507
f781ef40
RM
30508 * config.make.in (use-default-link): New variable.
30509 * configure.in (use_default_link): Grok --with-default-link to set it.
30510 * configure: Regenerated.
30511 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30512 (shlib-lds, shlib-lds-flags): Define to empty.
30513
2d4fa81e
RM
30514 * Makerules (shlib-lds): New variable.
30515 (shlib-lds-flags): New variable.
30516 (build-shlib, build-moduile, build-module-asneeded): Use it.
30517 ($(common-objpfx)libc.so): Use $(shlib-lds).
30518 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30519 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30520
31fffa6b
RM
30521 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30522 DT_FLAGS/DT_FLAGS_1 with zero flags.
30523
4e34ac6a
RM
30524 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30525 linker script munging.
30526
fcfc776b
UD
305272011-07-02 Ulrich Drepper <drepper@gmail.com>
30528
30529 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30530 as 128-bit value.
30531 * crypt/sha512.c (sha512_process_block): Perform total addition using
30532 128-bit if possible.
30533 (__sha512_finish_ctx): Likewise.
30534 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30535 as 64-bit value.
30536 * crypt/sha256.c (SWAP64): Define.
30537 (sha256_process_block): Perform total addition using 64-bit if
30538 possible.
30539 (__sha256_finish_ctx): Likewise.
30540
99231d9a
UD
305412011-07-01 Ulrich Drepper <drepper@gmail.com>
30542
30543 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30544 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30545 * nscd/hstcache.c (cache_addhst): Likewise.
30546 * nscd/grpcache.c (cache_addgr): Likewise.
30547 * nscd/aicache.c (addhstaiX): Likewise
30548 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30549
445b4a53
TK
305502011-07-01 Thorsten Kukuk <kukuk@suse.de>
30551
30552 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30553 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30554 * nscd/hstcache.c (cache_addhst): Likewise.
30555 * nscd/grpcache.c (cache_addgr): Likewise.
30556 * nscd/aicache.c (addhstaiX): Likewise
30557
6d4d8e8e
AS
305582011-07-01 Andreas Schwab <schwab@redhat.com>
30559
30560 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30561 domain only when needed.
30562
89f654c5
AS
305632011-06-30 Andreas Schwab <schwab@redhat.com>
30564
30565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30566 is always restored.
30567
cf3b23ff
UD
305682011-06-29 Ulrich Drepper <drepper@gmail.com>
30569
30570 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30571 are re-adding the entry.
30572 * nscd/servicescache.c (cache_addserv): Likewise.
30573
751626f9
AJ
305742011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30575
30576 * sysdeps/generic/dl-irel.h: fix protection against multiple
30577 inclusions.
30578 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30579
9113ea1f
UD
305802011-06-28 Ulrich Drepper <drepper@gmail.com>
30581
5c0b8d90
UD
30582 [BZ #12935]
30583 * malloc/memusage.sh: Fix quoting in message.
30584 * debug/xtrace.sh: Likewise.
30585
9113ea1f
UD
30586 * configure.in: Remove support for --experimental-malloc option, make
30587 it the default.
30588 * config.make.in: Likewise.
30589 * malloc/Makefile: Likewise.
30590
a4172181
AS
305912011-06-27 Andreas Schwab <schwab@redhat.com>
30592
30593 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30594 two-byte characters.
30595
78a7eee7
RM
305962011-06-27 Roland McGrath <roland@hack.frob.com>
30597
62bede13
RM
30598 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30599 AC_CACHE_CHECK invocation.
30600 * configure: Regenerated.
30601
78a7eee7
RM
30602 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30603
5ce33a62
UD
306042011-06-27 Ulrich Drepper <drepper@gmail.com>
30605
034807a9
UD
30606 [BZ #12350]
30607 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30608 bit from old_res_options.
30609
4902da17
UD
30610 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30611
5ce33a62
UD
30612 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30613 value type for setfct.
30614
c2344f56
L
306152011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30616
30617 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30618 __gettimeofday instead of gettimeofday.
30619
68468076
UD
306202011-06-26 Ulrich Drepper <drepper@gmail.com>
30621
30622 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30623
acb0d739
L
306242011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30625
30626 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30627
30628 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30629 info.
30630
8912479f
L
306312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30632
30633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30634 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30635 strcpy-sse2-unaligned strncpy-sse2-unaligned
30636 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30637 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30638 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30639 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30640 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30641 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30642 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30643 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30644 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30645 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30646 (STRCPY): Support SSE2 and SSSE3 versions.
30647
d5495a11
UD
306482011-06-24 Ulrich Drepper <drepper@gmail.com>
30649
30650 [BZ #12874]
30651 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30652 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30653 kernels which artificially limit size of requests.
30654
0b1cbaae
L
306552011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30656
30657 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30658 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30659 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30660 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30661 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30662 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30663 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30664 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30665 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30666 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30667 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30668 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30669 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30670 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30671 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30673 Enable unaligned load optimization for Intel Core i3, i5 and i7
30674 processors.
30675 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30676 Define.
30677 (index_Fast_Unaligned_Load): Define.
30678 (HAS_FAST_UNALIGNED_LOAD): Define.
30679
07f494a0
MP
306802011-06-23 Marek Polacek <mpolacek@redhat.com>
30681
30682 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30683
fa3fc0fe
UD
306842011-06-22 Ulrich Drepper <drepper@gmail.com>
30685
30686 [BZ #12907]
30687 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30688 until it is clear that the information is realy needed.
30689 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30690
e12df166
AS
306912011-06-22 Andreas Schwab <schwab@redhat.com>
30692
30693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30694
852eb34d
UD
306952011-06-22 Ulrich Drepper <drepper@gmail.com>
30696
84e2a551
UD
30697 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30698 /sys/devices/system/cpu/online if it is usable.
30699
852eb34d
UD
30700 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30701 reading the information from the /proc filesystem to once a second.
30702
6e502e19
UD
307032011-06-21 Andreas Jaeger <aj@suse.de>
30704
30705 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30706 NULL after inclusion of kernel headers.
30707
75d39ff2
UD
307082011-06-21 Ulrich Drepper <drepper@gmail.com>
30709
51f9aa6a
UD
30710 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30711 calls to internal_setent.
30712
c0244a9d
UD
30713 [BZ #12885]
30714 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30715 addresses using gethostbyname4_r ignore IPv4 addresses.
30716
c5e3c2ae
UD
30717 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30718 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30719
75d39ff2
UD
30720 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30721
42675c6f
DM
307222011-06-20 David S. Miller <davem@davemloft.net>
30723
30724 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30725 inclusions.
30726 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30727
30728 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30729 (elf_irel): Use it.
30730 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30731 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30732 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30733 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30734 * sysdeps/x86_64/dl-irel.h: Likewise.
30735
30736 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30737 * elf/dl-sym.c: Likewise.
30738
57912a71
UD
307392011-06-15 Ulrich Drepper <drepper@gmail.com>
30740
30741 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30742 need to dereference resplen2.
30743
ee22793d
AS
307442011-06-14 Andreas Schwab <schwab@redhat.com>
30745
30746 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30747
a9e836b0
UD
307482011-06-15 Ulrich Drepper <drepper@gmail.com>
30749
77fb9117
UD
30750 * Makeconfig: Define vardbdir and inst_vardbdir.
30751 * nss/Makefile: Add rules to install db-Makefile.
30752
40c1b22c
UD
30753 * nss/nss_db/db-XXX.c: Cleanup.
30754
9f2da732
UD
30755 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30756 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30757 GLIBC_PRIVATE.
30758 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30759 * nss/makedb.c: Implement -g option to specify that value strings
30760 are generated and should not be added to table iterated over for
30761 get*ent calls.
30762 * nss/nss_db/db-initgroups.c: New file.
30763
82e9a1f7
UD
30764 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30765 interface.
30766
c41af17e
UD
30767 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30768 (internal_getgrouplist): Adjust to name change.
30769 Update use_initgroups_entry if this is not the first call.
30770 * nss/databases.def: Add initgroups entry.
30771
a9e836b0
UD
30772 * nss/makedb.c (compute_tables): Check result of multiple hash table
30773 sizes to minimize maximum chain length.
30774
2666d441
UD
307752011-06-14 Ulrich Drepper <drepper@gmail.com>
30776
30777 * Versions.def: Add entry for libnss_db.
30778 * shlib-versions: Likewise.
30779 * nss/Makefile: Add rules to build libnss_db.
30780 * nss/Versions: Add libnss_db information. Organize libnss_files
30781 entries better.
30782 * nss/db-Makefile: Add gshadow support. Change rules for the new
30783 makedb progra. Some minor improvements to generate smaller files.
30784 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30785 here from...
30786 * nss/makedb.c: ...here.
30787 Improve database format to be smaller and require less memory at
30788 runtime.
30789 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30790 db anymore.
30791 * nss/nss_db/db-netgrp.c: Likewise.
30792 * nss/nss_db/db-open.c: Likewise.
30793 * nss/nss_files/flies-XXX.x: Adjust comments.
30794 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30795 * nss/nss_files/files-grp.c: Likewise.
30796 * nss/nss_files/files-hosts.c: Likewise.
30797 * nss/nss_files/files-network.c: Likewise.
30798 * nss/nss_files/files-proto.c: Likewise.
30799 * nss/nss_files/files-pwd.c: Likewise.
30800 * nss/nss_files/files-rpc.c: Likewise.
30801 * nss/nss_files/files-service.c: Likewise.
30802 * nss/nss_files/files-sgrp.c: Likewise.
30803 * nss/nss_files/files-spwd.c: Likewise.
30804 * nss/nss_db/db-alias.c: Removed.
30805 * nss/nss_db/dummy-db.h: Removed.
30806
9ee76b5a
UD
308072011-06-02 Ulrich Drepper <drepper@gmail.com>
30808
30809 * nss/makedb.c: Rewritten to not use database library.
30810 * nss/Makefile: Update to build new makedb program.
30811
c71ca1f8
AJ
308122011-06-14 Andreas Jaeger <aj@suse.de>
30813
30814 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30815 memset declaration.
30816
3154bfb8
UD
308172011-06-10 Andreas Schwab <schwab@redhat.com>
30818
30819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30820 tmpbuf.
30821
b350afab
RM
308222011-06-10 Roland McGrath <roland@hack.frob.com>
30823
decd4e50
RM
30824 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30825 * elf/Makefile ($(objpfx)ld.so): Likewise.
30826
5615eaf2
RM
30827 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30828 Don't list ld.so twice in dependencies.
30829
30830 * posix/bug-regex31.c: Include <stdlib.h>.
30831
30832 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30833
30834 * nis/nss_compat/compat-spwd.c
30835 (getspent_next_nss_netgr): Remove unused variable.
30836 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30837
30838 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30839 nonmembers" output to use the right array.
30840
30841 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30842
30843 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30844
30845 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30846 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30847 * catgets/gencat.c (read_input_file): Likewise.
30848 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30849
30850 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30851 variable definition inside #if's controlling its use.
30852
30853 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30854
30855 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30856
30857 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30858
30859 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30860 unreachable code.
30861
30862 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30863
b68e08db
RM
30864 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30865 * configure: Regenerated.
30866
b350afab
RM
30867 * Makerules: Revert last change.
30868 * elf/Makefile: Likewise.
30869
28368601
RM
308702011-06-09 Roland McGrath <roland@hack.frob.com>
30871
30872 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30873 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30874 (reloc-link): Likewise.
30875
11988f8f
UD
308762011-06-09 Ulrich Drepper <drepper@gmail.com>
30877
30878 * elf/Makefile: Add rules to build pldd.
30879 * elf/pldd.c: New file.
30880 * elf/pldd-xx.c: New file.
30881
e80fab37
UD
308822011-06-07 Ulrich Drepper <drepper@gmail.com>
30883
30884 * version.h: Update for 2.15 development version.
30885
9b849836
DM
308862011-06-07 David S. Miller <davem@davemloft.net>
30887
30888 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30889 ifuncs.
30890 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30891 elf_machine_lazy_rel): Likewise.
30892 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30894 elf_machine_lazy_rel): Likewise.
30895 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30896 dl_hwcap via passed in argument.
30897 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30898 Likewise.
30899
5a31b283
AK
309002011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30901
30902 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30903
069e52f8
RM
309042011-06-06 Roland McGrath <roland@hack.frob.com>
30905
30906 [BZ #12849]
30907 * manual/fdl-1.1.texi: New file, verbatim from:
30908 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30909 * manual/lgpl-2.1.texi: New file, verbatim from:
30910 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30911 * manual/Makefile (licenses): New variable, list those new file names.
30912 (texis): Use it.
30913 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30914
30915 * manual/fdl.texi: File removed.
30916 * manual/lesser.texi: File removed.
30917 * manual/libc.texinfo (Copying, Documentation License):
30918 Use new @include file names, put @appendix directive before @include.
30919
f16846a5
JJ
309202011-06-04 Jakub Jelinek <jakub@redhat.com>
30921
30922 [BZ #12841]
30923 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30924 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30925 (mq_open): Add __NTH.
30926
3d29045b
L
309272011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30928
30929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30930 Assume Intel Core i3/i5/i7 processor if AVX is available.
30931
8c297311
UD
309322011-05-31 Ulrich Drepper <drepper@gmail.com>
30933
30934 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30935 typo.
30936
c8fc0c91
UD
309372011-05-31 Andreas Schwab <schwab@redhat.com>
30938
30939 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30940 memory. Use alloca_account. Fix memory leak when retrying.
30941
5b27a807
UD
309422011-05-31 Ulrich Drepper <drepper@gmail.com>
30943
356f8bc6
UD
30944 * version.h (RELEASE): Bump for 2.14 release.
30945 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30946
5b27a807
UD
30947 * config.make.in (RANLIB): Remove entry.
30948
01f16ab0
UD
309492011-05-30 Ulrich Drepper <drepper@gmail.com>
30950
41fce8bd
UD
30951 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30952 (libc.pot): Work around missing support for .ksh extension in xgettext.
30953
4769ae77
UD
30954 [BZ #12684]
30955 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30956 if both request failed.
30957 (send_dg): In case of server errors clear resplen or *resplen2.
30958
6b1e7d19
UD
30959 [BZ #12454]
30960 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30961 when there are multiple maps.
30962 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30963 (_dl_fini): Remove test here.
30964
01f16ab0
UD
30965 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30966
b1ebd700
UD
309672011-05-29 Ulrich Drepper <drepper@gmail.com>
30968
7ae22829
UD
30969 [BZ #12350]
30970 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30971 bit from old_res_options.
30972 (gaih_inet): Likewise.
30973
553149f6 30974 [BZ #11099]
18a84741 30975 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30976 as signed.
30977
652ffab1
UD
30978 * resolv/res_init.c (res_setoptions): Make the code more compact.
30979
16985fd0
UD
30980 [BZ #11558]
30981 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30982 set RES_USEVC.
30983
0464f746
UD
30984 [BZ #11634]
30985 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30986
7d17596c
UD
30987 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30988
cf6bbbd7
UD
30989 [BZ #11781]
30990 * malloc/malloc.h: Declare malloc hook variables as volatile.
30991
13f1ab36
UD
30992 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30993 in last patch.
30994
b1ebd700
UD
30995 [BZ #11799]
30996 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30997 raise in the comment.
80e2212d
UD
30998 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31000 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31001
ce67228d
UD
310022011-05-28 Ulrich Drepper <drepper@gmail.com>
31003
8887a920
UD
31004 [BZ #12811]
31005 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31006 grow the buffers more if it already has to be sufficient.
31007 (build_wcs_upper_buffer): Likewise.
31008 * posix/regexec.c (check_matching): Likewise.
31009 (clean_state_log_if_needed): Likewise.
31010 (extend_buffers): Don't enlarge buffers beyond size of the input
31011 buffer.
31012 Patches mostly by Emil Wojak <emil@wojak.eu>.
31013 * posix/bug-regex32.c: New file.
31014 * posix/Makefile (tests): Add bug-regex32.
31015
4f031072
UD
31016 * locale/findlocale.c (_nl_find_locale): Return right away if
31017 _nl_explode_name failed.
31018 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
31019
d0478f0c
UD
31020 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
31021
de81b246
UD
31022 * debug/xtrace.sh: Unify messages.
31023 * malloc/memusage.sh: Likewise.
31024
c738465a
UD
31025 [BZ #12813]
31026 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
31027 time symbol from vDSO. Substitute with vsyscall if not available.
31028 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
31029 __vdso_time.
31030
f1f929d7
UD
31031 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
31032 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
31033 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
31034 Add sendmmsg and internal_sendmmsg.
31035 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
31036 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
31037 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
31038
ce67228d
UD
31039 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
31040 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
31041 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
31042
e57420c6
UD
310432011-05-27 Ulrich Drepper <drepper@gmail.com>
31044
a8509ca5
UD
31045 [BZ #12813]
31046 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
31047 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
31048 available.
31049 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
31050 __vdso_getcpu.
31051
e57420c6
UD
31052 [BZ #12814]
31053 * iconvdata/Makefile (tests): Add bug-iconv9.
31054 * iconvdata/bug-iconv9.c: New file.
31055
4d07db15
AS
310562011-05-27 Andreas Schwab <schwab@redhat.com>
31057
31058 [BZ #12814]
31059 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31060
ea486f69
JJ
310612011-05-25 Jakub Jelinek <jakub@redhat.com>
31062
31063 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31064 (struct user_regs_struct): Change intcs field back to cs.
31065
6f038433
UD
310662011-05-25 Ulrich Drepper <drepper@gmail.com>
31067
31068 * po/ja.po: Update from translation team.
31069
67f86a25
UD
310702011-05-23 Ulrich Drepper <drepper@gmail.com>
31071
31072 [BZ #12795]
31073 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31074 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31075
def7fbd6
AS
310762011-05-20 Andreas Schwab <schwab@redhat.com>
31077
31078 * stdlib/longlong.h: Update from GCC.
31079
f50ef8f1
AS
310802011-05-23 Andreas Schwab <schwab@redhat.com>
31081
31082 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31083 parameter name.
31084 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31085 Add parameter name.
31086 (__sysconf): Pass it down.
31087
de7ce8f1
UD
310882011-05-22 Ulrich Drepper <drepper@gmail.com>
31089
f2962a71
UD
31090 [BZ #12671]
31091 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31092 some situations.
31093 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31094 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31095 add in in __libc_use_alloca calls. Adjust callers.
31096 (glob): Use malloc in some situations.
31097
de7ce8f1
UD
31098 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31099 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31100 pltexit.
31101
aec84f53
UD
311022011-05-21 Ulrich Drepper <drepper@gmail.com>
31103
05bb4a68
UD
31104 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31105 and CLOCK_BOOTTIME_ALARM.
31106
7ea72f99
UD
31107 [BZ #12782]
31108 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31109 is returned.
31110
7e4afad5
UD
31111 * string/_strerror.c (__strerror_r): Print negative errors as signed
31112 numbers.
31113
8e211fec
UD
31114 [BZ #12777]
31115 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31116 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31117 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31118
f7d82dc9
UD
31119 * configure.in: Fix typo in redirection and correct removal of test
31120 files in two cases.
31121
cc9e536d
UD
31122 [BZ #12788]
31123 * locale/setlocale.c (new_composite_name): Fix test to check for
31124 identical name of all categories.
31125
aec84f53
UD
31126 [BZ #12792]
31127 * libio/filedoalloc.c (local_isatty): New function.
31128 (_IO_file_doallocate): Use local_isatty.
31129 * stdio-common/perror.c (perror): In case a new stream is used
31130 forward the stream error.
31131 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31132 error flag.
31133
78e64fdc
RT
311342011-05-20 Ulrich Drepper <drepper@gmail.com>
31135
34a9094f
UD
31136 [BZ #11869]
31137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31138 alloca.
31139 * include/alloca.h (extend_alloca_account): Define.
31140
78e64fdc
RT
31141 [BZ #11857]
31142 * posix/regex.h: Fix comments with documentation of user-accessible
31143 fields after compilation and describe correct free'ing of pattern
31144 after re_compile_pattern.
31145 Patch by Reuben Thomas <rrt@sc3d.org>.
31146
457bddfc
RA
311472011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31148
31149 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31150 and -mno-altivec to prevent the compiler from using Altivec and/or
31151 VSX instructions when the corresponding registers are not available.
31152
a4527b51
AS
311532011-05-19 Andreas Schwab <schwab@redhat.com>
31154
31155 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31156
ed690b2f
UD
311572011-05-19 Ulrich Drepper <drepper@gmail.com>
31158
31159 * libio/freopen.c (freopen): Use __dup2, not dup2.
31160 * libio/freopen64.c (freopen64): Likewise.
31161
8db73634
L
311622011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31163
31164 [BZ #12775]
31165 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31166 * math/Makefile (tests): Add test-powl.
31167 (CFLAGS-test-powl.c): Define.
31168 * math/test-powl.c: New file.
31169
0a197a9d
L
311702011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31171
31172 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31173
ee30c380
UD
311742011-05-17 Ulrich Drepper <drepper@gmail.com>
31175
31176 [BZ #11837]
31177 * iconvdata/gb18030.c: Update to GB18020-2005.
31178
6ce75379
UD
311792011-05-16 Ulrich Drepper <drepper@gmail.com>
31180
a4b89fd8
AR
31181 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31182 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31183 Patch by Aharon Robbins <arnold@skeeve.com>.
31184
ea389b12
UD
31185 [BZ #11892]
31186 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31187 on the stack.
31188
68a3f91f
UD
31189 [BZ #11895]
31190 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31191 through underflows.
31192
15cc7dd1
UD
31193 [BZ #12766]
31194 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31195 point to strings before performing equality test for error_one_per_line
31196 mode.
31197
f3799213
UD
31198 [BZ #11697]
31199 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31200
d79a9c94
UD
31201 [BZ #11820]
31202 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31203 (struct user_fpregs_struct): Avoid __uint*_t types.
31204
56e5eb46
UD
31205 [BZ #6420]
31206 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31207 symbol info. Use it instead of calling _dl_addr locally.
31208 (lock_and_info): New function.
31209 (tr_freehook): Call lock_and_info and pass symbol info as additional
31210 parameter to tr_where.
31211 (tr_mallochook): Likewise.
31212 (tr_reallochook): Likewise.
31213 (tr_memalignhook): Likewise.
31214
6ce75379
UD
31215 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31216 used and couldn't be at all thread-safe.
31217
f8a3b5bf
UD
312182011-05-15 Ulrich Drepper <drepper@gmail.com>
31219
94b7cc37
UD
31220 * libio/freopen.c (freopen): Don't close old file descriptor
31221 before the new one is opened. Instead dup the new file descriptor
31222 to the old one after the new stream is created.
31223 * libio/freopen64.c (freopen64): Likewise.
31224 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31225 * libio/fileops.c (_IO_new_file_close_it): Handle new
31226 _IO_FLAGS2_NOCLOSE flag.
31227 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31228 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31229 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31230 _IO_FLAGS2_NOCLOSE flag.
31231 * include/unistd.h: Add hidden_proto for dup3.
31232 Define __have_dup3.
31233 * io/dup3.c: Define hidden symbol.
31234 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31235
bd25564e
UD
31236 [BZ #7101]
31237 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31238 when an incomplete long option is used.
31239 * posix/tst-getopt_long1.c: New file.
31240 * posix/Makefile (tests): Add tst-getopt_long1.
31241
c84cfef4
UD
31242 [BZ #10138]
31243 * scripts/config.guess: Update from autoconf-2.68.
31244 * scripts/config.sub: Likewise.
31245
3b85df27
UD
31246 [BZ #10157]
31247 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31248 tests into ...
31249 (has_cpuclock): ...this. New function.
31250 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31251 macro here based on has_cpuclock code.
31252
15a856b1
UD
31253 [BZ #10149]
31254 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31255 First byte (not low byte) is now always NUL.
31256 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31257
05f399e6
UD
31258 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31259 Use non-cancelable interfaces.
31260
10a52685 31261 [BZ #9809]
94ecc67d
UD
31262 * locale/iso-639.def: Add entry for Sorani.
31263
f8a3b5bf
UD
31264 [BZ #11901]
31265 * include/stdlib.h: Move include protection to the right place.
31266 Define abort_msg_s. Declare __abort_msg with it.
31267 * stdlib/abort.c (__abort_msg): Adjust type.
31268 * assert/assert.c (__assert_fail_base): New function. Majority
31269 of code from __assert_fail. Allocate memory for __abort_msg with
31270 mmap.
31271 (__assert_fail): Now call __assert_fail_base.
31272 * assert/assert-perr.c: Remove bulk of implementation. Use
31273 __assert_fail_base.
31274 * include/assert.hL Declare __assert_fail_base.
31275 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31276 mmap.
31277 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31278
1af4e298
UD
312792011-05-14 Ulrich Drepper <drepper@gmail.com>
31280
f8a3b5bf 31281 [BZ #11952]
d26dfc60
MG
31282 [BZ #12453]
31283 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31284 until all modules are registered in the DTV.
31285 * elf/Makefile: Add rules to build and run tst-tls19.
31286 * elf/tst-tls19.c: New file.
31287 * elf/tst-tls19mod1.c: New file.
31288 * elf/tst-tls19mod2.c: New file.
31289 * elf/tst-tls19mod3.c: New file.
31290 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31291
2fc54d6f
UD
31292 [BZ #12083]
31293 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31294 correctly.
31295
98d76b46
UD
31296 [BZ #12601]
31297 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31298 two-byte sequence errors.
31299 * iconvdata/Makefile (tests): Add bug-iconv8.
31300 * iconvdata/bug-iconv8.c: New file.
31301
da3c19ef
UD
31302 [BZ #12626]
31303 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31304 buf2 definition.
31305
ca408c15
UD
31306 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31307
d6f67f7d
UD
31308 [BZ #12432]
31309 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31310 (dummy_getcfa): New function.
31311 (init): Get _Unwind_GetCFA address, use dummy if not found.
31312 (backtrace_helper): In recursion check, also check whether CFA changes.
31313 (__backtrace): Completely initialize arg.
31314
1af4e298 31315 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31316 storing incomplete byte sequence in state object. Avoid testing for
31317 guaranteed too small input if we know there is enough data available.
1af4e298 31318
da62f81b
AS
313192011-05-11 Andreas Schwab <schwab@redhat.com>
31320
31321 * Makeconfig (+link-pie): Indent.
31322 * Rules (binaries-pie): Define if $(have-fpie) and
31323 $(build-shared).
31324 (binaries-shared): Also filter out $(binaries-pie).
31325 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31326 * nscd/Makefile (others-pie): Add nscd.
31327 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31328 ($(objpfx)nscd): Remove command override.
31329 * login/Makefile (others-pie): Add pt_chown.
31330 ($(objpfx)pt_chown): Remove command override.
31331 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31332 remove command overrides.
31333
fcabc0f8
UD
313342011-05-13 Ulrich Drepper <drepper@gmail.com>
31335
20030ae6
UD
31336 * libio/tst_putwc.c: Fix error messages.
31337
fcabc0f8
UD
31338 [BZ #12724]
31339 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31340 currently writing and seek to current position when not.
31341 * libio/Makefile (tests): Add bug-fclose1.
31342 * libio/bug-fclose1.c: New file.
31343
320a5dc0
PB
313442011-05-12 Ulrich Drepper <drepper@gmail.com>
31345
31346 [BZ #12511]
31347 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31348 don't set DF_1_NODELETE here.
31349 (do_lookup_x): When entering new entry test for copy relocation
31350 and if necessary set DF_1_NODELETE flag.
31351 * elf/tst-unique4.cc: New file.
31352 * elf/tst-unique4.h: New file.
31353 * elf/tst-unique4lib.cc: New file.
31354 * elf/Makefile: Add rules to build and run tst-unique4.
31355 Patch by Piotr Bury <pbury@goahead.com>.
31356
22836f52
UD
313572011-05-11 Ulrich Drepper <drepper@gmail.com>
31358
f574184a
UD
31359 [BZ #12052]
31360 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31361
e1fb097f
UD
31362 [BZ #12625]
31363 * misc/mntent_r.c (addmntent): Flush the stream after the output
31364
22836f52
UD
31365 [BZ #12393]
31366 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31367 (is_trusted_path_normalize): Skip initial colon. Append slash
31368 to empty buffer. Duplicate is_trusted_path code but allow
31369 constructed patch to be prefix.
31370 (is_dst): Allow $ORIGIN followed by /.
31371 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31372 Correct testing of result of is_trusted_path_normalize
31373 (decompose_rpath): Fix warning.
31374
7b3b0b2a
UD
313752011-05-10 Ulrich Drepper <drepper@gmail.com>
31376
31377 [BZ #11257]
31378 * grp/initgroups.c (internal_getgrouplist): When we found the service
31379 list through the initgroups entry in nsswitch.conf do not always
31380 continue on a successful lookup. Don't always use the
eac80ce2 31381 __nss_group_database value if it is set.
7b3b0b2a
UD
31382 * nss/nsswitch.conf (initgroups): Change action for successful db
31383 lookup to continue for compatibility.
31384
2a81eaa5
UD
313852011-05-09 Ulrich Drepper <drepper@gmail.com>
31386
be97a69e
UD
31387 [BZ #11532]
31388 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31389 and CP774 modules.
31390 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31391 and CP774 modules.
31392 * iconvdata/tst-tables.sh: Likewise.
31393 * iconvdata/cp770.c: New file.
31394 * iconvdata/cp771.c: New file.
31395 * iconvdata/cp772.c: New file.
31396 * iconvdata/cp773.c: New file.
31397 * iconvdata/cp774.c: New file.
31398 * iconvdata/testdata/CP770: New file.
31399 * iconvdata/testdata/CP770..UTF8: New file.
31400 * iconvdata/testdata/CP771: New file.
31401 * iconvdata/testdata/CP771..UTF8: New file.
31402 * iconvdata/testdata/CP772: New file.
31403 * iconvdata/testdata/CP772..UTF8: New file.
31404 * iconvdata/testdata/CP773: New file.
31405 * iconvdata/testdata/CP773..UTF8: New file.
31406 * iconvdata/testdata/CP774: New file.
31407 * iconvdata/testdata/CP774..UTF8: New file.
31408
31409 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31410 END CHARMAP line.
31411 * iconvdata/gen-8bit-gap.sh: Likewise.
31412 * iconvdata/gen-8bit.sh: Likewise.
31413
c1e9e399
UD
31414 * locale/iso-639.def: Add ary entry.
31415
24c55fb3 31416 [BZ #11258]
96b4b1b0
UD
31417 * locale/C-translit.h.in: Add U20A1 transliteration.
31418
bdc2f971
KB
31419 [BZ #12178]
31420 * locale/iso-639.def: Add wae entry.
31421 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31422
2952b117
UD
31423 [BZ #12545]
31424 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31425 for n.
31426
2a81eaa5
UD
31427 [BZ #12711]
31428 * locale/C-translit.h.in: Add entry for U20B9.
31429 Patch by pravin.d.s@gmail.com.
31430
28377d1b
UD
314312011-05-08 Ulrich Drepper <drepper@gmail.com>
31432
7fb90fb8
UD
31433 [BZ #12713]
31434 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31435 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31436 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31437 in rtld. Use *stat64.
7fb90fb8 31438 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31439 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31440 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31441 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31442 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31443 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31444 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31445 __fstatat64 macros.
7fb90fb8
UD
31446 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31447 * dirent/rewinddir.c: Add libc_hidden_def.
31448 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31449 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31450
28377d1b
UD
31451 * include/dirent.h (__alloc_dir): Add flags parameter.
31452 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31453 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31454 __alloc_dir.
31455 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31456 from fdopendir if O_CLOEXEC is already set.
31457
66bdbaa4
AM
314582011-03-15 Alan Modra <amodra@gmail.com>
31459
31460 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31461 l_tls_firstbyte_offset non-zero. Save padding offset in
31462 l_tls_firstbyte_offset for later use.
31463 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31464 freeing static tls block.
31465
95721191
JN
314662011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31467
31468 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31469 where #ifdef was intended. The intent is to prevent ARG_MAX from
31470 being defined by the kernel headers.
31471
f87dfb1f
UD
314722011-05-07 Ulrich Drepper <drepper@gmail.com>
31473
31474 [BZ #12734]
31475 * resolv/resolv.h: Define RES_NOTLDQUERY.
31476 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31477 no-tld-query and set RES_NOTLDQUERY.
31478 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31479 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31480 modern BIND to search name as TLD unless forbidden.
31481
47c3cd7a
UD
314822011-05-07 Petr Baudis <pasky@suse.cz>
31483 Ulrich Drepper <drepper@gmail.com>
31484
31485 [BZ #12393]
31486 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31487 (is_trusted_path): ...to here.
c1e9ea35 31488 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31489 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31490 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31491
8a35c912
PP
314922011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31493
31494 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31495 __BEGIN/__END_DECLS.
31496
acd41f47
UD
314972011-05-06 Ulrich Drepper <drepper@gmail.com>
31498
31499 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31500 NSS_STATUS_NOTFOUND if no record was found.
31501
597df647
AS
315022011-05-05 Andreas Schwab <schwab@redhat.com>
31503
31504 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31505 (headers-not-in-tirpc): Remove rpc/netdb.h
31506 * resolv/netdb.h: Revert last change.
31507
b9af1301
PP
315082011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31509
31510 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31511 circular dependency between libgcc.a and libc.a.
31512
4e34d5f5
AS
315132011-05-05 Andreas Schwab <schwab@redhat.com>
31514
31515 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31516 * nis/Makefile: Don't install rpcsvc/*.
31517 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31518 instead of <rpc/types.h>.
31519 (MAXHOSTNAMELEN): Define.
31520
00ee369c
AS
315212011-05-03 Andreas Schwab <schwab@redhat.com>
31522
31523 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31524
0b592a30
MB
315252011-04-28 Maciej Babinski <mbabinski@google.com>
31526
31527 [BZ #12714]
31528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31529 gethostbyname4_r when IPv6 results are possible.
31530
6e04cbbe
UD
315312011-05-02 Ulrich Drepper <drepper@gmail.com>
31532
31533 [BZ #12723]
31534 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31535 _PC_PIPE_BUF handling.
31536
e4ecafe0
BH
315372011-04-30 Bruno Haible <bruno@clisp.org>
31538
31539 [BZ #12717]
31540 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31541 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31542 to 'int'.
31543 * inet/getnameinfo.c (getnameinfo): Likewise.
31544
125ee683
UD
315452011-04-29 Ulrich Drepper <drepper@gmail.com>
31546
31547 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31548 to groups setting in database lookup.
31549 * nss/nsswitch.conf: Add initgroups entry.
31550
b722481a
EB
315512011-04-22 Ulrich Drepper <drepper@gmail.com>
31552
31553 [BZ #12685]
31554 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31555 mode string.
31556 Patch by Eric Blake <eblake@redhat.com>.
31557
4df46dbd
L
315582011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31559
31560 * sunrpc/Makefile (need-export-routines): Add svc_run.
31561 (routines): Remove svc_run.
31562 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31563 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31564 * sunrpc/svc_run.c (svc_run): Likewise.
31565 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31566
e84142d2
UD
315672011-04-21 Ulrich Drepper <drepper@gmail.com>
31568
31569 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31570 problem in reallocation in last patch.
31571
877175d8
UD
315722011-04-20 Ulrich Drepper <drepper@gmail.com>
31573
31574 * sunrpc/Makefile: Move inclusion of Rules.
31575
ab8eed78
UD
315762011-04-19 Ulrich Drepper <drepper@gmail.com>
31577
31578 * nss/nss_files/files-initgroups.c: New file.
31579 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31580 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31581 _nss_files_initgroups_dyn.
31582
e3d8f584
RS
315832011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31584
31585 * elf/elf.h (R_ARM_IRELATIVE): Define.
31586
af190f45
UD
315872011-04-19 Ulrich Drepper <drepper@gmail.com>
31588
31589 * po/ru.po: Update from translation team.
31590
53cf59ef
UD
315912011-04-17 Ulrich Drepper <drepper@gmail.com>
31592
31593 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31594 dependencies.
31595
4c559bcd
MF
315962011-02-06 Mike Frysinger <vapier@gentoo.org>
31597
31598 [BZ #12653]
31599 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31600 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31601 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31602 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31604
4420675c
AS
316052011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31606
31607 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31608 differing bytes.
31609 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31612
75ea32ab
UD
316132011-04-17 Ulrich Drepper <drepper@gmail.com>
31614
31615 [BZ #12420]
31616 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31617 storing it.
31618 * stdlib/bug-getcontext.c: New file.
31619 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31620
27390476
AK
316212011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31622
31623 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31624 instructions into .machine "z9-109".
31625 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31626 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31627
10442705
AK
316282011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31629
31630 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31631 between environment variables and auxiliary vector.
31632
7b57bfe5
UD
316332011-04-16 Ulrich Drepper <drepper@gmail.com>
31634
31635 * Makefile: Add rules to build linkobj/libc.so.
31636 * include/libc-symbols.h: Define libc_hidden_nolink.
31637 * include/rpc/auth.h: Mark functions which are to be hidden.
31638 * include/rpc/auth_des.h: Likewise.
31639 * include/rpc/auth_unix.h: Likewise.
31640 * include/rpc/clnt.h: Likewise.
31641 * include/rpc/des_crypt.h: Likewise.
31642 * include/rpc/key_prot.h: Likewise.
31643 * include/rpc/pmap_clnt.h: Likewise.
31644 * include/rpc/pmap_prot.h: Likewise.
31645 * include/rpc/pmap_rmt.h: Likewise.
31646 * include/rpc/rpc_msg.h: Likewise.
31647 * include/rpc/svc.h: Likewise.
31648 * include/rpc/svc_auth.h: Likewise.
31649 * include/rpc/xdr.h: Likewise.
31650 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31651 * nss/Makefile: Likewise.
31652 * sunrpc/Makefile: Don't install headers. Build library with normal
31653 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31654 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31655 for the compat linking library. Remove use of INTDEF/INTUSE.
31656 * sunrpc/auth_none.c: Likewise.
31657 * sunrpc/auth_unix.c: Likewise.
31658 * sunrpc/authdes_prot.c: Likewise.
31659 * sunrpc/authuxprot.c: Likewise.
31660 * sunrpc/clnt_gen.c: Likewise.
31661 * sunrpc/clnt_perr.c: Likewise.
31662 * sunrpc/clnt_raw.c: Likewise.
31663 * sunrpc/clnt_simp.c: Likewise.
31664 * sunrpc/clnt_tcp.c: Likewise.
31665 * sunrpc/clnt_udp.c: Likewise.
31666 * sunrpc/clnt_unix.c: Likewise.
31667 * sunrpc/des_crypt.c: Likewise.
31668 * sunrpc/des_soft.c: Likewise.
31669 * sunrpc/get_myaddr.c: Likewise.
31670 * sunrpc/key_call.c: Likewise.
31671 * sunrpc/key_prot.c: Likewise.
31672 * sunrpc/netname.c: Likewise.
31673 * sunrpc/pm_getmaps.c: Likewise.
31674 * sunrpc/pm_getport.c: Likewise.
31675 * sunrpc/pmap_clnt.c: Likewise.
31676 * sunrpc/pmap_prot.c: Likewise.
31677 * sunrpc/pmap_prot2.c: Likewise.
31678 * sunrpc/pmap_rmt.c: Likewise.
31679 * sunrpc/publickey.c: Likewise.
31680 * sunrpc/rpc_cmsg.c: Likewise.
31681 * sunrpc/rpc_common.c: Likewise.
31682 * sunrpc/rpc_dtable.c: Likewise.
31683 * sunrpc/rpc_prot.c: Likewise.
31684 * sunrpc/rpc_thread.c: Likewise.
31685 * sunrpc/rtime.c: Likewise.
31686 * sunrpc/svc.c: Likewise.
31687 * sunrpc/svc_auth.c: Likewise.
31688 * sunrpc/svc_authux.c: Likewise.
31689 * sunrpc/svc_raw.c: Likewise.
31690 * sunrpc/svc_run.c: Likewise.
31691 * sunrpc/svc_simple.c: Likewise.
31692 * sunrpc/svc_tcp.c: Likewise.
31693 * sunrpc/svc_udp.c: Likewise.
31694 * sunrpc/svc_unix.c: Likewise.
31695 * sunrpc/svcauth_des.c: Likewise.
31696 * sunrpc/xcrypt.c: Likewise.
31697 * sunrpc/xdr.c: Likewise.
31698 * sunrpc/xdr_array.c: Likewise.
31699 * sunrpc/xdr_float.c: Likewise.
31700 * sunrpc/xdr_intXX_t.c: Likewise.
31701 * sunrpc/xdr_mem.c: Likewise.
31702 * sunrpc/xdr_rec.c: Likewise.
31703 * sunrpc/xdr_ref.c: Likewise.
31704 * sunrpc/xdr_sizeof.c: Likewise.
31705 * sunrpc/xdr_stdio.c: Likewise.
31706
e6c61494
UD
317072011-04-10 Ulrich Drepper <drepper@gmail.com>
31708
31709 [BZ #12650]
31710 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31711 * sysdeps/ia64/dl-tls.h: Likewise.
31712 * sysdeps/powerpc/dl-tls.h: Likewise.
31713 * sysdeps/s390/dl-tls.h: Likewise.
31714 * sysdeps/sh/dl-tls.h: Likewise.
31715 * sysdeps/sparc/dl-tls.h: Likewise.
31716 * sysdeps/x86_64/dl-tls.h: Likewise.
31717 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31718
34fe483e
AS
317192011-03-14 Andreas Schwab <schwab@redhat.com>
31720
31721 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31722 rpath element also skip the following colon.
31723 (expand_dynamic_string_token): Add is_path parameter and pass
31724 down to DL_DST_REQUIRED and _dl_dst_substitute.
31725 (decompose_rpath): Call expand_dynamic_string_token with
31726 non-zero is_path. Ignore empty rpaths.
31727 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31728 with zero is_path.
31729
f12a32e6
AS
317302011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31731
31732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31733 Make cancelable.
31734
38a7d692
UD
317352011-04-09 Ulrich Drepper <drepper@gmail.com>
31736
31737 [BZ #12655]
31738 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31739 Patch by Filipe David Manana <fdmanana@apache.org>.
31740
e451d22b
AS
317412011-04-07 Andreas Schwab <schwab@redhat.com>
31742
31743 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31744 Maintain aligned stack.
31745 (CHECK_RSP): Remove unused macro.
31746
dedc7c7b
UD
317472011-04-03 Ulrich Drepper <drepper@gmail.com>
31748
31749 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31750 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31751
94521213
UD
317522011-04-02 Ulrich Drepper <drepper@gmail.com>
31753
31754 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31755
8cb700c0 31756 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31757
0354e355
L
317582011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31759
31760 [BZ #12518]
31761 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31762 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31763 * sysdeps/x86_64/memmove.c: New file.
31764 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31765 (memcpy): Renamed to ...
31766 (__new_memcpy): This.
31767 (memcpy): Provide GLIBC_2_14 memcpy.
31768 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31769 (memcpy): Provide GLIBC_2_2_5 memcpy.
31770
8593482f
UD
317712011-04-01 Ulrich Drepper <drepper@gmail.com>
31772
31773 [BZ #12631]
31774 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31775
81a5726b
AS
317762011-03-30 Andreas Schwab <schwab@redhat.com>
31777
31778 * misc/syncfs.c: New file.
31779 * misc/Makefile (routines): Add syncfs.
31780 * posix/unistd.h: Declare syncfs.
31781 * sysdeps/unix/syscalls.list: Add syncfs.
31782
00e5419f
AS
317832011-04-01 Andreas Schwab <schwab@redhat.com>
31784
31785 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31786 open_by_handle_at.
31787 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31788 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31790 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31791 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31792 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31793 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31794
748876bf
UD
317952011-04-01 Ulrich Drepper <drepper@gmail.com>
31796
658e451d
UD
31797 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31798 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31799 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31801 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31802 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31804
748876bf
UD
31805 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31806 sync_file_range.c with -fexceptions.
31807 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31808 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31809 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31810 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31811 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31812 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31813 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31814 sync_file_range as cancellation point
31815 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31816 now a wrapper around __call_sync_file_range with cancellation handling.
31817 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31818 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31819 function name to __call_sync_file_range.
31820 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31821 Add call_sync_file_range.
748876bf 31822
6e63d5e1
AS
318232011-04-01 Andreas Schwab <schwab@redhat.com>
31824
31825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31826 bits/timex.h.
6e63d5e1 31827
46998f74
UD
318282011-04-01 Ulrich Drepper <drepper@gmail.com>
31829
4c1423ed
UD
31830 * iconv/iconv.h: Fix typo in comment.
31831 * io/fcntl.h: Likewise.
31832 * libio/stdio.h: Likewise.
31833 * posix/spawn.h: Likewise.
31834 * posix/unistd.h: Likewise.
31835 * stdlib/stdlib.h: Likewise.
31836 * time/time.h: Likewise.
31837 * wcsmbs/wchar.h: Likewise.
31838
158648c0
UD
31839 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31840 open_by_handle): Add.
31841 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31842 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31843 Augment a few comments.
31844 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31845 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31846 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31847 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31849 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31850 open_by_handle.
31851
46998f74
UD
31852 * io/fcntl.h (AT_EMPTY_PATH): Define.
31853
83fe108b
UD
318542011-03-30 Ulrich Drepper <drepper@gmail.com>
31855
31856 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31857 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31858 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31859 to...
31860 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31861 * Versions.def: Add GLIBC_2.14.
31862 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31863 Export.
83fe108b 31864
bb242059
UD
318652011-03-22 Ulrich Drepper <drepper@gmail.com>
31866
31867 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31868 round counter.
31869 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31870
c97a1282
L
318712011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31872
31873 [BZ #12597]
31874 * string/test-strncmp.c (do_page_test): New function.
31875 (check2): Likewise.
31876 (test_main): Call check2.
31877 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31878
2a115601
UD
318792011-03-20 Ulrich Drepper <drepper@gmail.com>
31880
31881 [BZ #12587]
31882 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31883 Handle cache information in CPU leaf 4.
31884 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31885
8126d904
UD
318862011-03-18 Ulrich Drepper <drepper@gmail.com>
31887
042c49c6 31888 [BZ #12583]
8126d904
UD
31889 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31890 character representation.
31891 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31892
ccfe366e
RA
318932011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31894
31895 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31896 END(__isnan) to END(__isnanf) to match function entry point/label
31897 EALIGN(__isnanf,...).
31898
c6e13027
JJ
318992011-03-10 Jakub Jelinek <jakub@redhat.com>
31900
31901 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31902
33f85a3f
UD
319032011-03-10 Ulrich Drepper <drepper@gmail.com>
31904
028478fa
UD
31905 [BZ #12510]
31906 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31907 copy from the symbol referenced in the relocation to initialize the
31908 used variable.
31909 Patch by Piotr Bury <pbury@goahead.com>.
31910 * elf/Makefile: Add rules to build and tst-unique3.
31911 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31912 * elf/tst-unique3.cc: New file.
31913 * elf/tst-unique3.h: New file.
31914 * elf/tst-unique3lib.cc: New file.
31915 * elf/tst-unique3lib2.cc: New file.
31916
33f85a3f
UD
31917 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31918
03592fc7
MF
319192011-03-10 Mike Frysinger <vapier@gentoo.org>
31920
31921 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31922 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31923 to _start.
03592fc7 31924
6a5ee102
UD
319252011-03-06 Ulrich Drepper <drepper@gmail.com>
31926
31927 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31928 to-be-loaded object along a path to loader is ld.so.
31929
7e4ba49c
HJ
319302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31931 Ulrich Drepper <drepper@gmail.com>
31932
31933 * sysdeps/x86_64/memset.S: After aligning destination, code
31934 branches to different locations depending on the value of
31935 misalignment, when multiarch is enabled. Fix this.
31936
319372011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31938
31939 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31940 Set _x86_64_preferred_memory_instruction for AMD processsors.
31941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31942 Set bit_Prefer_SSE_for_memop for AMD processors.
31943
13a804de
UD
319442011-03-04 Ulrich Drepper <drepper@gmail.com>
31945
31946 * libio/fmemopen.c (fmemopen): Optimize a bit.
31947
9d25c392
AS
319482011-03-03 Andreas Schwab <schwab@redhat.com>
31949
31950 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31951
a5543c6a
RM
319522011-03-03 Roland McGrath <roland@redhat.com>
31953
31954 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31955
012d35f7
DM
319562011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31957
7e4ba49c 31958 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31959 __bzero_ultra1 instead of __memset_ultra1.
31960
4bff6e01
AS
319612011-02-23 Andreas Schwab <schwab@redhat.com>
31962 Ulrich Drepper <drepper@gmail.com>
31963
31964 [BZ #12509]
31965 * include/link.h (struct link_map): Add l_orig_initfini.
31966 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31967 returning unsuccessfully.
31968 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31969 close of a file loaded at startup, restore the original l_initfini
31970 list.
31971 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31972 list, store the pointer.
31973 * elf/Makefile ($(objpfx)noload-mem): New rule.
31974 (noload-ENV): Define.
31975 (tests): Add $(objpfx)noload-mem.
31976 * elf/noload.c: Include <memcheck.h>.
31977 (main): Call mtrace. Close all opened handles.
31978
f2092faf
AS
319792011-02-17 Andreas Schwab <schwab@redhat.com>
31980
31981 [BZ #12454]
31982 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31983 dependencies are missing.
31984
6c8a2e88
ST
319852011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31986
f2092faf 31987 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31988 Hurd needs munmap.
31989 * sysdeps/mach/hurd/ifreq.h: New file.
31990
84a42118
PB
319912011-01-27 Petr Baudis <pasky@suse.cz>
31992 Ulrich Drepper <drepper@gmail.com>
31993
071f805e 31994 [BZ 12445]#
84a42118
PB
31995 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31996 to extend_alloca().
31997 * stdio-common/bug23.c: New file.
31998 * stdio-common/Makefile (tests): Add bug23.
31999
e23fe25b
AS
320002010-09-28 Andreas Schwab <schwab@redhat.com>
32001 Ulrich Drepper <drepper@gmail.com>
32002
32003 [BZ #12489]
32004 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32005 before performing relro protection. At old place add assertion
32006 to make sure nothing changed.
32007
d3f02e10
NS
320082011-02-17 Nathan Sidwell <nathan@codesourcery.com>
32009 Glauber de Oliveira Costa <glommer@gmail.com>
32010
32011 * elf/elf.h: Add new ARM TLS relocs.
32012
d55fd7a5
RA
320132011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
32014
32015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32016 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
32017 cast from r3.
32018 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
32019 'tests' variable.
32020 * sysdeps/wordsize-64/tst-writev.c: New file.
32021
2206397e
RA
320222011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
32023
32024 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
32025 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
32026 insns in _dl_start to prevent a TOC reference before relocs are
32027 resolved.
32028
e9433893
UD
320292011-02-15 Ulrich Drepper <drepper@gmail.com>
32030
32031 [BZ #12469]
32032 * Makeconfig: Remove RANLIB definition.
32033 * Makerules: Don't use RANLIB.
32034 * aclocal.m4: Remove ranlib test.
32035 * configure.in: No need to check for ranlib.
32036 * elf/rtld-Rules: Don't use RANLIB.
32037
f75286c6
ST
320382011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
32039
8e31c82d
ST
32040 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
32041 protection macro.
32042 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
32043 inclusion protection macro.
32044
f75286c6
ST
32045 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
32046 SIGRTMIN and SIGRTMAX and print information in that case only when
32047 SIGRTMIN is defined.
32048
c1d0e639
JJ
320492011-02-11 Jakub Jelinek <jakub@redhat.com>
32050
32051 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
32052 arginfo fn returning -1.
32053
32054 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
32055 and thousands string is zero terminated.
32056
edf9294e
AS
320572011-02-03 Andreas Schwab <schwab@redhat.com>
32058
32059 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32060 sysdeps/unix/sysv/linux/bits/socket.h.
32061
2b7e92df
ST
320622011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
32063
edf9294e
AS
32064 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32065 (__CPU_COUNT): Remove old macros.
32066 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32067 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32068 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
32069 (__sched_cpualloc, __sched_cpufree): Add declarations.
32070
a4c7ea7b
UD
320712011-02-05 Ulrich Drepper <drepper@gmail.com>
32072
32073 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32074 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32075 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32076 (readdhstai): Return value of addhstaiX call.
32077 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32078 (addgrbyX): Return value returned by cache_addgr.
32079 (readdgrbyname): Return value returned by addgrbyX.
32080 (readdgrbygid): Likewise.
32081 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32082 (addpwbyX): Return value returned by cache_addpw.
32083 (readdpwbyname): Return value returned by addhstbyX.
32084 (readdpwbyuid): Likewise.
32085 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32086 (addservbyX): Return value returned by cache_addserv.
32087 (readdservbyname): Return value returned by addservbyX:
32088 (readdservbyport): Likewise.
32089 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32090 (addhstbyX): Return value returned by cache_addhst.
32091 (readdhstbyname): Return value returned by addhstbyX.
32092 (readdhstbyaddr): Likewise.
32093 (readdhstbynamev6): Likewise.
32094 (readdhstbyaddrv6): Likewise.
32095 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32096 (readdinitgroups): Return value returned by addinitgroupsX.
32097 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32098 (prune_cache): Keep track of timeout value of re-added entries.
32099 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32100 * nscd/nscd.h: Adjust prototypes of readd* functions.
32101
a0bf67cc
RM
321022011-02-04 Roland McGrath <roland@redhat.com>
32103
32104 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32105 (nis_stats): Likewise.
32106 * nis/nis_modify.c (nis_modify): Likewise.
32107 * nis/nis_remove.c (nis_remove): Likewise.
32108 * nis/nis_add.c (nis_add): Likewise.
32109
32110 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32111
32112 * posix/fnmatch_loop.c: Add some consts.
32113
32114 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32115
435b95eb
L
321162011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32117
32118 [BZ #12460]
32119 * config.make.in (config-cflags-novzeroupper): Define.
32120 * configure.in: Substitute libc_cv_cc_novzeroupper.
32121 * elf/Makefile (AVX-CFLAGS): Define.
32122 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32123 (CFLAGS-tst-auditmod4a.c): Likewise.
32124 (CFLAGS-tst-auditmod4b.c): Likewise.
32125 (CFLAGS-tst-auditmod6b.c): Likewise.
32126 (CFLAGS-tst-auditmod6c.c): Likewise.
32127 (CFLAGS-tst-auditmod7b.c): Likewise.
32128 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32129
8517b15e
UD
321302011-02-02 Ulrich Drepper <drepper@gmail.com>
32131
32132 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32133 function to the callback.
32134 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32135
10a656fe
AS
321362011-02-02 Andreas Schwab <schwab@redhat.com>
32137
32138 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32139 of errno.
32140
968dad0a
UD
321412011-01-19 Ulrich Drepper <drepper@gmail.com>
32142
9f94d2ea 32143 [BZ #11724]
968dad0a
UD
32144 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32145 of constructors.
32146 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32147 of destructors.
32148 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32149
32150 [BZ #11724]
32151 * elf/Makefile: Add rules to build and run new test.
32152 * elf/tst-initorder.c: New file.
32153 * elf/tst-initorder.exp: New file.
32154 * elf/tst-initordera1.c: New file.
32155 * elf/tst-initordera2.c: New file.
32156 * elf/tst-initordera3.c: New file.
32157 * elf/tst-initordera4.c: New file.
32158 * elf/tst-initorderb1.c: New file.
32159 * elf/tst-initorderb2.c: New file.
32160 * elf/tst-order-a1.c: New file.
32161 * elf/tst-order-a2.c: New file.
32162 * elf/tst-order-a3.c: New file.
32163 * elf/tst-order-a4.c: New file.
32164 * elf/tst-order-b1.c: New file.
32165 * elf/tst-order-b2.c: New file.
32166 * elf/tst-order-main.c: New file.
32167 New test case by George Gensure <werkt0@gmail.com>.
32168
86e92359
UD
321692010-10-01 Andreas Schwab <schwab@redhat.com>
32170
32171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32172 decoding ACE if AI_CANONIDN.
32173
5d5732b0
UD
321742011-01-18 Ulrich Drepper <drepper@gmail.com>
32175
32176 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32177
a77e8cbc
UD
321782011-01-17 Ulrich Drepper <drepper@gmail.com>
32179
6392473f
UD
32180 * version.h (RELEASE): Bump for 2.13 release.
32181 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32182
620a0529
UD
32183 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32184
18ba70a5
UD
32185 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32186 MADV_NOHUGEPAGE.
32465c3e
UD
32187 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32188 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32189 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32190 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32191 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32192 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32193
c0dafcf1
UD
32194 * posix/getconf.c: Update copyright year.
32195 * catgets/gencat.c: Likewise.
32196 * csu/version.c: Likewise.
32197 * debug/catchsegv.sh: Likewise.
32198 * debug/xtrace.sh: Likewise.
32199 * elf/ldconfig.c: Likewise.
32200 * elf/ldd.bash.in: Likewise.
32201 * elf/sprof.c (print_version): Likewise.
32202 * iconv/iconv_prog.c: Likewise.
32203 * iconv/iconvconfig.c: Likewise.
32204 * locale/programs/locale.c: Likewise.
32205 * locale/programs/localedef.c: Likewise.
32206 * malloc/memusage.sh: Likewise.
32207 * malloc/mtrace.pl: Likewise.
32208 * nscd/nscd.c (print_version): Likewise.
32209 * nss/getent.c: Likewise.
32210
a77e8cbc
UD
32211 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32212 PF_CAIF, and PF_ALG.
32213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32214
77e8bddf
AS
322152011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32216
1f20b93a
AS
32217 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32218 (modules-names): Use them.
32219 (ifunc-test-modules, ifunc-pie-tests): Define.
32220 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32221 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32222 (test-extras): Likewise.
32223 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32224 $(compile-command.c).
32225 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32226 (all-built-dso): Define.
32227 (check-textrel.out, check-execstack.out): Depend on it.
32228
77e8bddf
AS
32229 * configure.in: Don't override --enable-multi-arch.
32230
bc425b33
UD
322312011-01-15 Ulrich Drepper <drepper@gmail.com>
32232
32233 [BZ #6812]
32234 * nscd/hstcache.c (tryagain): Define.
32235 (cache_addhst): Return tryagain not notfound for temporary errors.
32236 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32237 failed.
32238
794c3ad3
UD
322392011-01-14 Ulrich Drepper <drepper@gmail.com>
32240
70181fdd
UD
32241 [BZ #10563]
32242 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32243 to make the syscall.
32244 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32245
794c3ad3
UD
32246 [BZ #12378]
32247 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32248 and fall back to matching as normal character if the string ends before
32249 the matching ']' is found. This is what POSIX requires.
32250 * posix/testfnm.c: Adjust test result.
32251 * posix/globtest.sh: Adjust test result. Add new test.
32252 * posix/tst-fnmatch.input: Likewise.
32253 * posix/tst-fnmatch2.c: Add new test.
32254
68dc9497
AS
322552010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32256
32257 * elf/Makefile (check-execstack): Revert last change. Depend on
32258 check-execstack.h.
32259 (check-execstack.h): New target.
32260 (generated): Add check-execstack.h.
32261 * elf/check-execstack.c: Include "check-execstack.h".
32262 (main): Revert last change.
32263 (handle_file): Return zero if GNU_STACK is absent and
32264 DEFAULT_STACK_PERMS doesn't include PF_X.
32265
451f001b
UD
322662011-01-13 Ulrich Drepper <drepper@gmail.com>
32267
cfa28e56
UD
32268 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32269 in child fails because the descriptor is already closed.
8cf8ce17
UD
32270 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32271 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32272 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32273
1086d70d
UD
32274 [BZ #12397]
32275 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32276 syscall.
32277
451f001b
UD
32278 [BZ #10484]
32279 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32280 temporary buffer used to handle multi lookups locally.
a85b5cb4 32281 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32282
08769175
UD
322832011-01-12 Ulrich Drepper <drepper@gmail.com>
32284
32285 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32286 loader is ld.so.
32287
5e49c52e
UD
322882011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32289
32290 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32291 alignment for SSE2.
32292
60522a5f
UD
322932011-01-12 Ulrich Drepper <drepper@gmail.com>
32294
32295 [BZ #12394]
32296 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32297 characters. When rounding increased number of integer digits recompute
32298 number of groups.
32299 * stdio-common/tst-grouping.c: New file.
32300 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32301
f257bbd7
UD
323022011-01-09 Ulrich Drepper <drepper@gmail.com>
32303
32304 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32305 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32306
32307 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32308 void.
32309 * bits/select.h: Likewise.
32310
fa9c15cb
UD
323112011-01-08 Ulrich Drepper <drepper@gmail.com>
32312
32313 * po/ja.po: Update from translation team.
32314
16c2895f
DM
323152011-01-04 David S. Miller <davem@sunset.davemloft.net>
32316
32317 [BZ #11155]
32318 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32319 implementation just like for lxstat, fxstatat, et al.
32320
2543fef2
JM
323212010-12-27 Jim Meyering <meyering@redhat.com>
32322
32323 [BZ #12348]
32324 * posix/regexec.c (build_trtable): Return failure indication upon
32325 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32326
98727dbe
UD
323272010-12-25 Ulrich Drepper <drepper@gmail.com>
32328
5bd6dc5c
UD
32329 [BZ #12201]
32330 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32331 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32332 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32333 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32334
97983464
UD
32335 [BZ #12207]
32336 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32337
98727dbe
UD
32338 [BZ #12204]
32339 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32340 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32341
4a531bb0
L
323422010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32343
32344 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32345 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32346 script has SORT_BY_INIT_PRIORITY.
32347 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32348 NO_CTORS_DTORS_SECTIONS is defined.
32349 * elf/soinit.c: Likewise.
32350 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32351 NO_CTORS_DTORS_SECTIONS is defined.
32352 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32353 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32354 * sysdeps/sh/init-first.c: Likewise.
32355 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32356
07eb4b71
UD
323572010-12-24 Ulrich Drepper <drepper@gmail.com>
32358
32359 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32360 always use the slow path.
32361
30950a5f
RA
323622010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32363
32364 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32365 similar rule which adds the sysdep directories to the header search in
32366 order to pick up the correct platform stackinfo.h.
32367 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32368 perform test if it is, otherwise return successfully without testing.
32369 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32370 DEFAULT_STACK_PERMS define in stackinfo.h.
32371 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32372 defined in stackinfo.h.
32373 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32374 DEFAULT_STACK_PERMS defined in stackinfo.h.
32375 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32376 * sysdeps/ia64/stackinfo.h: Likewise.
32377 * sysdeps/s390/stackinfo.h: Likewise.
32378 * sysdeps/sh/stackinfo.h: Likewise.
32379 * sysdeps/sparc/stackinfo.h: Likewise.
32380 * sysdeps/x86_64/stackinfo.h: Likewise.
32381 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32382 PF_X for powerpc64. Retain PF_X for powerpc32.
32383
db753e2c
UD
323842010-12-19 Ulrich Drepper <drepper@gmail.com>
32385
14b697f7
UD
32386 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32387 accurately.
db753e2c
UD
32388 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32389 GETDENTS_64BIT_ALIGNED.
32390
28300719
UD
323912010-12-14 Ulrich Drepper <dreper@gmail.com>
32392
14b697f7 32393 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32394
4f197237
AS
323952010-12-10 Andreas Schwab <schwab@redhat.com>
32396
dbb0472f
AS
32397 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32398 _GNU_SOURCE.
32399
4f197237
AS
32400 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32401 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32402 Remove __restrict.
32403 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32404 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32405
fb88ac72
UD
324062010-12-09 Ulrich Drepper <drepper@gmail.com>
32407
32408 [BZ #11655]
32409 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32410 are initialized.
32411
42acbb92
JJ
324122010-12-09 Jakub Jelinek <jakub@redhat.com>
32413
32414 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32415
c038d98d
UD
324162010-12-03 Ulrich Drepper <drepper@gmail.com>
32417
32418 * po/it.po: Update from translation team.
32419
3a4a2499
L
324202010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32421
32422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32423 unused codes.
32424
1e24cf6e
UD
324252010-11-30 Ulrich Drepper <drepper@gmail.com>
32426
32427 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32428
a7690819
AS
324292010-11-24 Andreas Schwab <schwab@redhat.com>
32430
32431 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32432 specially.
32433 (gaih_getanswer_slice): Likewise.
32434
3bf8d1b1
JJ
324352010-10-20 Jakub Jelinek <jakub@redhat.com>
32436
32437 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32438
6db52fbb
PB
324392010-05-31 Petr Baudis <pasky@suse.cz>
32440
32441 [BZ #11149]
32442 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32443 silently even in the chroot mode.
32444
eaca7569
UD
324452010-11-22 Ulrich Drepper <drepper@gmail.com>
32446
32447 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32448 last patch a bit. Pretty printing
32449
3056dcdb
UD
324502010-05-31 Petr Baudis <pasky@suse.cz>
32451
32452 [BZ #10085]
32453 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32454 initialization of skip_initgroups_dyn.
32455
cf7c9078
UD
324562010-11-19 Ulrich Drepper <drepper@gmail.com>
32457
32458 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32459 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32460
a1fb5e3e
UD
324612010-11-16 Ulrich Drepper <drepper@gmail.com>
32462
32463 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32464
3540d66b
AS
324652010-11-11 Andreas Schwab <schwab@redhat.com>
32466
32467 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32468 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32469 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32470 ($(objpfx)tst-fnmatch-mem): New rule.
32471 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32472 * posix/tst-fnmatch.c (main): Call mtrace.
32473
13b69574
L
324742010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32475
32476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32477 Support Intel processor model 6 and model 0x2c.
32478
da93d214
LM
324792010-11-10 Luis Machado <luisgpm@br.ibm.com>
32480
32481 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32482 signed comparison.
32483
8ca52c6e
L
324842010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32485
32486 [BZ #12205]
32487 * string/test-strncasecmp.c (check_result): New function.
32488 (do_one_test): Use it.
32489 (check1): New function.
32490 (test_main): Use it.
32491 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32492 Support strcasecmp and strncasecmp.
32493
69da074d
UD
324942010-11-08 Ulrich Drepper <drepper@gmail.com>
32495
32496 [BZ #12194]
32497 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32498 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32499
ff02d528
L
325002010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32501
32502 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32503 IFUNC support.
32504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32505 memset-x86-64.
32506 * sysdeps/x86_64/multiarch/bzero.S: New file.
32507 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32508 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32509 * sysdeps/x86_64/multiarch/memset.S: New file.
32510 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32512 Set bit_Prefer_SSE_for_memop for Intel processors.
32513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32514 Define.
32515 (index_Prefer_SSE_for_memop): Define.
32516 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32517
344d0b54
LM
325182010-11-04 Luis Machado <luisgpm@br.ibm.com>
32519
32520 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32521 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32522
c0dde15b
UD
325232010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32524
32525 [BZ #12191]
32526 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32527 (__x86_64_raw_data_cache_size_half): Likewise.
32528 (__x86_64_raw_shared_cache_size): Likewise.
32529 (__x86_64_raw_shared_cache_size_half): Likewise.
32530
32531 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32532 (__x86_64_raw_data_cache_size_half): Likewise.
32533 (__x86_64_raw_shared_cache_size): Likewise.
32534 (__x86_64_raw_shared_cache_size_half): Likewise.
32535 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32536 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32537 and __x86_64_raw_shared_cache_size_half. Round
32538 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32539 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32540 to multiple of 256 bytes.
32541
0e516e0e
MS
325422010-11-03 Ulrich Drepper <drepper@gmail.com>
32543
32544 [BZ #12167]
32545 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32546 of inacessible symlinks. Verify result of symlink before returning it.
32547 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32548 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32549
0e012e87
ER
325502010-10-28 Erich Ritz <erichritz@gmail.com>
32551
32552 * math/math.h (isinf): Fix typo in comment.
32553
de0ff7bc
UD
325542010-11-01 Ulrich Drepper <drepper@gmail.com>
32555
32556 * po/da.po: Update from translation team.
32557
fa41c84d
UD
325582010-10-26 Ulrich Drepper <drepper@gmail.com>
32559
32560 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32561 is added to the list.
32562
f0967738
AK
325632010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32564 Ulrich Drepper <drepper@gmail.com>
32565
32566 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32567 the global list here. Move code to...
32568 (_dl_add_to_namespace_list): ...here. New function.
32569 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32570 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32571 * elf/dl-load.c (lose): Don't remove the element from the list.
32572 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32573 (_dl_map_object): Likewise.
32574
325752010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32576
32577 [BZ #12159]
32578 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32579 into all bytes of SSE register.
32580 Patch by Richard Li <richardpku@gmail.com>.
32581
f0967738 325822010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32583
32584 [BZ #12140]
32585 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32586 perturbing.
32587
d0b9e94f
MB
325882010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32589
32590 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32591 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32592 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32593 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32595 submachine.
32596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32597
8e9f92e9
AS
325982010-10-22 Andreas Schwab <schwab@redhat.com>
32599
32600 * include/dlfcn.h (__RTLD_SECURE): Define.
32601 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32602 mode & __RTLD_SECURE instead.
32603 (open_path): Rename preloaded parameter to secure.
32604 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32605 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32606 * elf/dl-deps.c (openaux): Likewise.
32607 * elf/rtld.c (struct map_args): Remove is_preloaded.
32608 (map_doit): Don't use it.
32609 (dl_main): Likewise.
32610 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32611 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32612
bc96fbda
AS
326132010-09-09 Andreas Schwab <schwab@redhat.com>
32614
32615 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32616 (sysd-rules-targets): Remove duplicates.
32617 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32618 rtld-%.$o dependency.
32619
22cd1c9b
AS
326202010-10-18 Andreas Schwab <schwab@redhat.com>
32621
32622 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32623 _dl_map_object do it.
32624
18edac48
UD
326252010-10-19 Ulrich Drepper <drepper@gmail.com>
32626
32627 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32628 fast fma builtins, define the macros in the C99 standard.
32629 (FP_FAST_FMAF): Likewise.
32630 (FP_FAST_FMAL): Likewise.
32631 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32632
32633 * bits/mathdef.h: Update copyright year.
32634 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32635
d2050124
MM
326362010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32637
32638 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32639 builtins, define the macros in the C99 standard.
32640 (FP_FAST_FMAF): Likewise.
32641 (FP_FAST_FMAL): Likewise.
32642 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32643 multiply/add.
32644 (FP_FAST_FMAF): Likewise.
32645
475facd1
JJ
326462010-10-15 Jakub Jelinek <jakub@redhat.com>
32647
32648 [BZ #3268]
32649 * math/libm-test.inc (fma_test): Some new testcases.
32650 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32651 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32652 y and infinite z. Do multiplication by C already in long double.
32653 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32654 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32655 y and infinite z. Do bitwise or of inexact bit into u.d.
32656 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32657 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32658 * sysdeps/i386/fpu/s_fma.S: Removed.
32659 * sysdeps/i386/fpu/s_fmal.S: Removed.
32660
7c08a05c
JJ
326612010-10-16 Jakub Jelinek <jakub@redhat.com>
32662
32663 [BZ #3268]
32664 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32665 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32666 computation is not scheduled after fetestexcept. Fix value
32667 of minimum denormal long double.
32668
f3f7372d
JJ
326692010-10-14 Jakub Jelinek <jakub@redhat.com>
32670
32671 [BZ #3268]
32672 * math/libm-test.inc (fma_test): Add some more tests.
32673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32674 correctly.
32675
14d43591
AS
326762010-10-15 Andreas Schwab <schwab@redhat.com>
32677
32678 * scripts/data/localplt-s390-linux-gnu.data: New file.
32679 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32680
5e908464
JJ
326812010-10-13 Jakub Jelinek <jakub@redhat.com>
32682
32683 [BZ #3268]
32684 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32685 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32686 instead of dbl-64.
32687 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32688 inlines.
32689 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32690 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32691 if one of x and y is very large and the other is subnormal.
32692 * sysdeps/s390/fpu/s_fmaf.c: New file.
32693 * sysdeps/s390/fpu/s_fma.c: New file.
32694 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32695 * sysdeps/powerpc/fpu/s_fma.S: New file.
32696 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32697 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32698 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32699
327002010-10-12 Jakub Jelinek <jakub@redhat.com>
32701
32702 [BZ #3268]
32703 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32704 fma tests.
32705 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32706 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32707 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32708 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32709 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32710 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32711 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32712
b833d51f
UD
327132010-10-12 Ulrich Drepper <drepper@redhat.com>
32714
32715 [BZ #12078]
32716 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32717 * posix/bug-regex31.input: Add test case.
32718
1751705d
UD
327192010-10-11 Ulrich Drepper <drepper@gmail.com>
32720
e9b9cbf5
UD
32721 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32722 * posix/bug-regex31.input: New file.
32723
32724 [BZ #12078]
32725 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32726 (parse_sub_exp): Fix last change, use postorder.
32727
ef06edbe
UD
32728 * posix/bug-regex31.c: New file.
32729 * posix/Makefile: Add rules to build and run bug-regex31.
32730
a129c80d
UD
32731 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32732
32733 [BZ #12078]
32734 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32735
b76b818e
UD
32736 [BZ #12108]
32737 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32738 to have entries in sys_siglist.
32739
1751705d
UD
32740 [BZ #12093]
32741 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32742 be NULL.
32743
9ff8d36f
JJ
327442010-10-07 Jakub Jelinek <jakub@redhat.com>
32745
32746 [BZ #3268]
32747 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32748 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32749 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32750 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32751 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32752 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32753 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32754 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32755 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32756 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32757 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32758 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32759 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32760 * math/ftestexcept.c (fetestexcept): Likewise.
32761 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32762 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32763 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32764 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32765 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32766 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32767 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32768
af325969
UD
327692010-10-11 Ulrich Drepper <drepper@gmail.com>
32770
c579b202 32771 [BZ #12107]
af325969
UD
32772 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32773 newline.
32774
67a67b95
UD
327752010-10-06 Ulrich Drepper <drepper@gmail.com>
32776
32777 * string/bug-strstr1.c: New file.
32778 * string/Makefile: Add rules to build and run bug-strstr1.
32779
5fb308bc
EB
327802010-10-05 Eric Blake <eblake@redhat.com>
32781
32782 [BZ #12092]
32783 * string/str-two-way.h (two_way_long_needle): Always clear memory
32784 when skipping input due to the shift table.
32785
45db99c7
UD
327862010-10-03 Ulrich Drepper <drepper@gmail.com>
32787
3b111893
UD
32788 [BZ #12005]
32789 * malloc/mcheck.c: Handle large requests.
32790
45db99c7
UD
32791 [BZ #12077]
32792 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32793 for strncmp and strncasecmp.
32794 * string/stratcliff.c: Add tests for strcmp and strncmp.
32795 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32796
cf7a1eb8
NI
327972010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32798
32799 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32800 __set_fpscr.
32801
6484ba5e
AJ
328022010-09-30 Andreas Jaeger <aj@suse.de>
32803
32804 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32805 (CGROUP_SUPER_MAGIC): Define.
32806 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32807 Handle btrfs and cgroup file systems.
32808 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32809 Likewise.
32810
91c42559
LM
328112010-09-27 Luis Machado <luisgpm@br.ibm.com>
32812
32813 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32814 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32815
87a97932
AK
328162010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32817
32818 [BZ #12067]
32819 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32820 trying to locate the ELF header.
32821
c21cc9bc
AS
328222010-09-27 Andreas Schwab <schwab@redhat.com>
32823
32824 [BZ #11611]
32825 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32826 Mask out sign-bit copies when constructing f_fsid.
32827
315970f6
PB
328282010-09-24 Petr Baudis <pasky@suse.cz>
32829
32830 * debug/stack_chk_fail_local.c: Add missing licence exception.
32831 * debug/warning-nop.c: Likewise.
32832
1ac7a2c7
JM
328332010-09-15 Joseph Myers <joseph@codesourcery.com>
32834
32835 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32836 implementing getdents64 using getdents syscall, set d_type if
32837 __ASSUME_GETDENTS32_D_TYPE.
32838
56801c50
AS
328392010-09-16 Andreas Schwab <schwab@redhat.com>
32840
32841 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32842 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32843
dda51327
UD
328442010-09-21 Ulrich Drepper <drepper@redhat.com>
32845
32846 [BZ #12037]
32847 * posix/unistd.h: Undo change of feature selection for ftruncate from
32848 2010-01-11.
32849
8ffcee4a
UD
328502010-09-20 Ulrich Drepper <drepper@redhat.com>
32851
a545ecd9 32852 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32853 detection.
32854
e24f0a8b
AS
328552010-09-20 Andreas Schwab <schwab@redhat.com>
32856
32857 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32858 fanotify_mark.
32859 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32860
7291c56f
AS
328612010-09-14 Andreas Schwab <schwab@redhat.com>
32862
32863 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32864 variables after CHECK_SP call.
32865 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32866
bc5fb037
AS
328672010-09-13 Andreas Schwab <schwab@redhat.com>
32868 Ulrich Drepper <drepper@redhat.com>
32869
32870 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32871 re-relocationg ld.so.
32872 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32873 _dl_init_paths call.
32874 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32875 here anymore.
32876
e66e7419
UD
328772010-09-14 Ulrich Drepper <drepper@redhat.com>
32878
32879 * resolv/res_init.c (__res_vinit): Count the default server we added.
32880
c044aa75
CLT
328812010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32882 Ulrich Drepper <drepper@redhat.com>
32883
32884 [BZ #11968]
32885 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32886 (____longjmp_chk): Use %ebx for saving value across system call.
32887 Add unwind info.
32888
32cf4069
AS
328892010-09-06 Andreas Schwab <schwab@redhat.com>
32890
32891 * manual/Makefile: Don't mix pattern rules with normal rules.
32892
817328ee
AS
328932010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32894
32895 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32896 operation.
32897 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32898 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32899 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32900 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32902 Likewise.
32903
29fddf61
UD
329042010-09-04 Ulrich Drepper <drepper@redhat.com>
32905
32906 [BZ #11979]
32907 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32908 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32909
0959ffc9
UD
329102010-09-02 Ulrich Drepper <drepper@redhat.com>
32911
32912 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32913 * sysdeps/x86_64/addmul_1.S: Likewise.
32914 * sysdeps/x86_64/lshift.S: Likewise.
32915 * sysdeps/x86_64/mul_1.S: Likewise.
32916 * sysdeps/x86_64/rshift.S: Likewise.
32917 * sysdeps/x86_64/sub_n.S: Likewise.
32918 * sysdeps/x86_64/submul_1.S: Likewise.
32919
ece29840
ST
329202010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32921
0959ffc9
UD
32922 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32923 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32924 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32925 * bits/sched.h [__need_schedparam]
ece29840 32926 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32927 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32928 (__defined_schedparam): Define to 1.
ece29840
ST
32929 (__sched_param): New structure, identical to sched_param.
32930 (__need_schedparam): Undefine.
32931
e53a31fe
MF
329322010-08-31 Mike Frysinger <vapier@gentoo.org>
32933
fdc0c10d
MF
32934 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32935 (epoll_create1): Declare.
32936
e53a31fe
MF
32937 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32938
a726d796
AS
329392010-08-31 Andreas Schwab <schwab@redhat.com>
32940
32941 [BZ #7066]
32942 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32943 shifting retval into place.
32944
2f3e3dc7
UD
329452010-09-01 Ulrich Drepper <drepper@redhat.com>
32946
f2933da9
UD
32947 * nis/rpcsvc/nis.h: Update copyright notice.
32948 * nis/rpcsvc/nis.x: Likewise.
32949 * nis/rpcsvc/nis_callback.h: Likewise.
32950 * nis/rpcsvc/nis_callback.x: Likewise.
32951 * nis/rpcsvc/nis_object.x: Likewise.
32952 * nis/rpcsvc/nis_tags.h: Likewise.
32953 * nis/rpcsvc/yp.h: Likewise.
32954 * nis/rpcsvc/yp.x: Likewise.
32955 * nis/rpcsvc/ypupd.h: Likewise.
32956 * nis/yp_xdr.c: Likewise.
32957 * nis/ypupdate_xdr.c: Likewise.
32958
2f3e3dc7
UD
32959 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32960 mainly the body of pmap_getport. Add parameters to specify timeouts.
32961 (pmap_getport): Use __libc_rpc_getport.
32962 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32963 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32964 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32965
f3dcc2f9
AS
329662010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32967
32968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32969 fanotify_mark.
32970
6d34eb5b
RM
329712010-08-27 Roland McGrath <roland@redhat.com>
32972
32973 * sysdeps/i386/i686/multiarch/Makefile
32974 (CFLAGS-varshift.c): New variable.
32975
9ea3de11
UD
329762010-08-27 Ulrich Drepper <drepper@redhat.com>
32977
c96d23fc
UD
32978 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32979 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32980
9ea3de11
UD
32981 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32982
32983 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32984
623aac7f
L
329852010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32986
32987 * sysdeps/x86_64/strlen.S: Unroll the loop.
32988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32989 strlen-sse2 strlen-sse2-bsf.
32990 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32991 __strlen_no_bsf if bit_Slow_BSF is set.
32992 (__strlen_sse42): Removed.
32993 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32994 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32995
8b2b7715
RM
329962010-08-25 Roland McGrath <roland@redhat.com>
32997
32998 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32999 * sysdeps/x86_64/multiarch/varshift.c: New file.
33000 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33001 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33002 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33003 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33004
e73015f2
L
330052010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33006
33007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33008 strlen-sse2 strlen-sse2-bsf.
33009 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
33010 __strlen_sse2_bsf if bit_Slow_BSF is unset.
33011 (__strlen_sse2): Removed.
33012 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
33013 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
33014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33015 bit_Slow_BSF for Atom.
33016 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
33017 (index_Slow_BSF): Define.
33018 (HAS_SLOW_BSF): Define.
33019
df24a73e
UD
330202010-08-25 Ulrich Drepper <drepper@redhat.com>
33021
33022 [BZ #10851]
33023 * resolv/res_init.c (__res_vinit): When no server address at all
33024 is given default to loopback.
33025
f2ac4868
RM
330262010-08-24 Roland McGrath <roland@redhat.com>
33027
09055553
RM
33028 * configure.in: Remove config-name.h generation.
33029 * configure: Regenerated.
33030 * config-name.in: File removed.
33031 * scripts/config-uname.sh: New file.
33032 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
33033 ($(objdir)config-name.h): New target.
33034
f2ac4868
RM
33035 * sunrpc/rpc_parse.h: Avoid nested comment.
33036
73f27d5e
RH
330372010-08-24 Richard Henderson <rth@redhat.com>
33038 Ulrich Drepper <drepper@redhat.com>
33039 H.J. Lu <hongjiu.lu@intel.com>
33040
33041 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
33042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
33043 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
33044 Replace _mm_srli_si128 with __m128i_shift_right. Replace
33045 _mm_alignr_epi8 with _mm_loadu_si128.
33046 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
33047 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
33048 (__m128i_shift_right): Removed.
33049 * sysdeps/i386/i686/multiarch/varshift.h: New file.
33050 * sysdeps/i386/i686/multiarch/varshift.S: New file.
33051 * sysdeps/x86_64/multiarch/varshift.h: New file.
33052 * sysdeps/x86_64/multiarch/varshift.S: New file.
33053
84b9230c
MF
330542010-08-21 Mike Frysinger <vapier@gentoo.org>
33055
33056 * configure.in: Move assembler checks to before sysdep dir checking.
33057
9bbd0ddc
PB
330582010-08-20 Petr Baudis <pasky@suse.cz>
33059
33060 * LICENSES: Sync the sunrpc license.
33061
9da4bb31
UD
330622010-08-19 Ulrich Drepper <drepper@redhat.com>
33063
a7ab6ec8
UD
33064 * sunrpc/auth_des.c: Update copyright notice once again.
33065 * sunrpc/auth_none.c: Likewise.
33066 * sunrpc/auth_unix.c: Likewise.
33067 * sunrpc/authdes_prot.c: Likewise.
33068 * sunrpc/authuxprot.c: Likewise.
33069 * sunrpc/bindrsvprt.c: Likewise.
33070 * sunrpc/clnt_gen.c: Likewise.
33071 * sunrpc/clnt_perr.c: Likewise.
33072 * sunrpc/clnt_raw.c: Likewise.
33073 * sunrpc/clnt_simp.c: Likewise.
33074 * sunrpc/clnt_tcp.c: Likewise.
33075 * sunrpc/clnt_udp.c: Likewise.
33076 * sunrpc/clnt_unix.c: Likewise.
33077 * sunrpc/des_crypt.c: Likewise.
33078 * sunrpc/des_soft.c: Likewise.
33079 * sunrpc/get_myaddr.c: Likewise.
33080 * sunrpc/getrpcport.c: Likewise.
33081 * sunrpc/key_call.c: Likewise.
33082 * sunrpc/key_prot.c: Likewise.
33083 * sunrpc/openchild.c: Likewise.
33084 * sunrpc/pm_getmaps.c: Likewise.
33085 * sunrpc/pm_getport.c: Likewise.
33086 * sunrpc/pmap_clnt.c: Likewise.
33087 * sunrpc/pmap_prot.c: Likewise.
33088 * sunrpc/pmap_prot2.c: Likewise.
33089 * sunrpc/pmap_rmt.c: Likewise.
33090 * sunrpc/rpc/auth.h: Likewise.
33091 * sunrpc/rpc/auth_unix.h: Likewise.
33092 * sunrpc/rpc/clnt.h: Likewise.
33093 * sunrpc/rpc/des_crypt.h: Likewise.
33094 * sunrpc/rpc/key_prot.h: Likewise.
33095 * sunrpc/rpc/netdb.h: Likewise.
33096 * sunrpc/rpc/pmap_clnt.h: Likewise.
33097 * sunrpc/rpc/pmap_prot.h: Likewise.
33098 * sunrpc/rpc/pmap_rmt.h: Likewise.
33099 * sunrpc/rpc/rpc.h: Likewise.
33100 * sunrpc/rpc/rpc_des.h: Likewise.
33101 * sunrpc/rpc/rpc_msg.h: Likewise.
33102 * sunrpc/rpc/svc.h: Likewise.
33103 * sunrpc/rpc/svc_auth.h: Likewise.
33104 * sunrpc/rpc/types.h: Likewise.
33105 * sunrpc/rpc/xdr.h: Likewise.
33106 * sunrpc/rpc_clntout.c: Likewise.
33107 * sunrpc/rpc_cmsg.c: Likewise.
33108 * sunrpc/rpc_common.c: Likewise.
33109 * sunrpc/rpc_cout.c: Likewise.
33110 * sunrpc/rpc_dtable.c: Likewise.
33111 * sunrpc/rpc_hout.c: Likewise.
33112 * sunrpc/rpc_main.c: Likewise.
33113 * sunrpc/rpc_parse.c: Likewise.
33114 * sunrpc/rpc_parse.h: Likewise.
33115 * sunrpc/rpc_prot.c: Likewise.
33116 * sunrpc/rpc_sample.c: Likewise.
33117 * sunrpc/rpc_scan.c: Likewise.
33118 * sunrpc/rpc_scan.h: Likewise.
33119 * sunrpc/rpc_svcout.c: Likewise.
33120 * sunrpc/rpc_tblout.c: Likewise.
33121 * sunrpc/rpc_util.c: Likewise.
33122 * sunrpc/rpc_util.h: Likewise.
33123 * sunrpc/rpcinfo.c: Likewise.
33124 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33125 * sunrpc/rpcsvc/key_prot.x: Likewise.
33126 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33127 * sunrpc/rpcsvc/mount.x: Likewise.
33128 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33129 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33130 * sunrpc/rpcsvc/rex.x: Likewise.
33131 * sunrpc/rpcsvc/rstat.x: Likewise.
33132 * sunrpc/rpcsvc/rusers.x: Likewise.
33133 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33134 * sunrpc/rpcsvc/spray.x: Likewise.
33135 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33136 * sunrpc/rtime.c: Likewise.
33137 * sunrpc/svc.c: Likewise.
33138 * sunrpc/svc_auth.c: Likewise.
33139 * sunrpc/svc_authux.c: Likewise.
33140 * sunrpc/svc_raw.c: Likewise.
33141 * sunrpc/svc_run.c: Likewise.
33142 * sunrpc/svc_simple.c: Likewise.
33143 * sunrpc/svc_tcp.c: Likewise.
33144 * sunrpc/svc_udp.c: Likewise.
33145 * sunrpc/svc_unix.c: Likewise.
33146 * sunrpc/svcauth_des.c: Likewise.
33147 * sunrpc/xcrypt.c: Likewise.
33148 * sunrpc/xdr.c: Likewise.
33149 * sunrpc/xdr_array.c: Likewise.
33150 * sunrpc/xdr_float.c: Likewise.
33151 * sunrpc/xdr_mem.c: Likewise.
33152 * sunrpc/xdr_rec.c: Likewise.
33153 * sunrpc/xdr_ref.c: Likewise.
33154 * sunrpc/xdr_sizeof.c: Likewise.
33155 * sunrpc/xdr_stdio.c: Likewise.
33156
9da4bb31
UD
33157 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33158 handling.
33159
bdaa77bc
AS
331602010-08-19 Andreas Schwab <schwab@redhat.com>
33161
33162 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33163
fe2f79db
LM
331642010-08-19 Luis Machado <luisgpm@br.ibm.com>
33165
33166 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33167 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33168 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33169 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33170 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33171 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33172 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33173 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33174 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33175 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33176 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33177 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33178 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33179 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33180
b9b42ee0
AB
331812010-07-26 Anton Blanchard <anton@samba.org>
33182
33183 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33184 * malloc/arena.c (heap_trim): Likewise.
33185
1c06ba31
UD
331862010-08-16 Ulrich Drepper <drepper@redhat.com>
33187
33188 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33189 here. Not...
33190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33191 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33192
f8392f40
L
331932010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33194
33195 * sysdeps/i386/elf/Makefile: New file.
33196
3162f12e
AS
331972010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33198
33199 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33200 from fanotify_init.
33201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33202 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33203
28c90b2c
UD
332042010-08-15 Ulrich Drepper <drepper@redhat.com>
33205
33206 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33207 of strncasecmp_l.
1feccb6c 33208 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33209
ca6bb004
UD
332102010-08-14 Ulrich Drepper <drepper@redhat.com>
33211
e9f82e0d
UD
33212 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33213 strncase_l-nonascii.
33214 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33215 Add strncase_l-ssse3.
33216 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33217 * sysdeps/x86_64/strcmp.S: Likewise.
33218 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33219 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33220 * sysdeps/x86_64/strncase.S: New file.
33221 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33222 * sysdeps/x86_64/strncase_l.S: New file.
33223 * string/Makefile (strop-tests): Add strncasecmp.
33224 * string/test-strncasecmp.c: New file.
33225
33226 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33227 warning.
33228
ca6bb004
UD
33229 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33230 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33231
052fa7b3
AS
332322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33233
33234 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33235
962dba78
UD
332362010-08-12 Ulrich Drepper <drepper@redhat.com>
33237
33238 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33239 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33240 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33241
bebff237
AM
332422010-05-01 Alan Modra <amodra@gmail.com>
33243
33244 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33245 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33246 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33247 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33248 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33249 tidying. Don't tail-call __sigjmp_save for static lib.
33250 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33251 save location.
33252 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33253 (CALL_MCOUNT): Add eh info, and nop after bl.
33254 (TAIL_CALL_SYSCALL_ERROR): New macro.
33255 (PSEUDO_RET): Use it.
33256 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33257 Correct save location of integer regs and cr.
33258 (_dl_profile_resolve): Correct cr save location. Delete nops
33259 after bl when SHARED. Reduce cfi size a little by better
33260 placement of cfi directives.
33261 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33262 make a stack frame. Instead use parm save area as a temp.
33263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33264 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33266 Don't make a stack frame for parent, use parm save area.
33267 Increase child stack frame to 112 bytes. Don't save unused reg,
33268 and adjust reg usage. Set up cfi on error recovery and
33269 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33271 (__makecontext): Add dummy nop after jump to exit.
33272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33273 Use correct parm save area and cr save, reduce stack frame.
33274 Correct cfi for possible PSEUDO_RET frame setup.
33275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33276 Branch to local label emitted by PSEUDO_RET rather than
33277 __syscall_error.
33278
02637374
AS
332792010-08-12 Andreas Schwab <schwab@redhat.com>
33280
33281 [BZ #11904]
33282 * locale/programs/locale.c (print_assignment): New function.
33283 (show_locale_vars): Use it.
33284
c3e2f19b
UD
332852010-08-11 Ulrich Drepper <drepper@redhat.com>
33286
3cdaa6ad
UD
33287 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33288 field.
33289 (struct statfs64): Likewise.
33290 (_STATFS_F_FLAGS): Define.
33291 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33292 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33293 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33294 (ST_VALID): Define locally.
33295 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33296 __statvfs_getflags, use the provided value.
33297 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33298 __ASSUME_STATFS_F_FLAGS.
33299
754f7da3
UD
33300 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33301
10b3bedc
UD
33302 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33303 Add sys/fanotify.h.
33304 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33305 fanotify_mask for GLIBC_2.13.
33306 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33307 fanotify_init and fanotify_mark.
33308 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33309 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33310
c08fb0d7
UD
33311 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33312 Add prlimit.
33313 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33314 prlimit64 for GLIBC_2.13.
33315 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33316 prlimit64.
33317 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33318 syscall.
33319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33320 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33321 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33322 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33323 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33324 add prlimit alias.
33325 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33326
15bac72b
UD
33327 [BZ #11903]
33328 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33329 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33330
c3e2f19b
UD
33331 * nss/Makefile: Add rules to build and run tst-nss-test1.
33332 * shlib-versions: Add entry for libnss_test1.
33333 * nss/nss_test1.c: New file.
33334 * nss/tst-nss-test1.c: New file.
33335
33336 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33337 (__nss_configure_lookup): Set appropriate entry in
33338 __nss_configure_lookup to true.
33339 * nss/nsswitch.h: Define enum with indeces of databases in
33340 databases and __nss_database_custom arrays. Declare
33341 __nss_database_custom.
33342 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33343 to avoid using nscd when custom rules are installed.
33344 * nss/getXXbyYY_r.c: Likewise.
33345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33346
33347 * nss/nss_files/files-parse.c: Whitespace fixes.
33348
f15ce4d8
UD
333492010-08-09 Ulrich Drepper <drepper@redhat.com>
33350
33351 [BZ #11883]
33352 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33353 * posix/fnmatch_loop.c: Likewise.
33354
d22e4cc9
AK
333552010-07-17 Andi Kleen <ak@linux.intel.com>
33356
33357 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33358 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33359 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33360 * Versions.def [GLIBC_2.13]: Add.
33361
805bc17d
UD
333622010-08-06 Ulrich Drepper <drepper@redhat.com>
33363
33364 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33365 Also fail if tpwd after pwuid call is NULL.
33366
5a42321d
ST
333672010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33368
33369 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33370 when converting to ms.
33371
fd3ebeda
ST
333722010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33373
33374 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33375 EOPNOTSUPP errors with ENOTTY.
33376 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33377 EOPNOTSUPP errors with ENOTTY.
33378
73507d3a
UD
333792010-07-31 Ulrich Drepper <drepper@redhat.com>
33380
33381 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33382 Add strcasecmp_l-ssse3.
33383 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33384 strcasecmp.
33385 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33386 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33387 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33388
fe36dd02
UD
333892010-07-30 Ulrich Drepper <drepper@redhat.com>
33390
66f6765a
UD
33391 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33392
42e08a54
UD
33393 * string/Makefile (strop-tests): Add strcasecmp.
33394 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33395 strcasecmp_l-nonascii.
33396 (gen-as-const-headers): Add locale-defines.sym.
33397 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33398 * sysdeps/x86_64/strcasecmp.S: New file.
33399 * sysdeps/x86_64/strcasecmp_l.S: New file.
33400 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33401 * sysdeps/x86_64/locale-defines.sym: New file.
33402 * string/test-strcasecmp.c: New file.
33403
fe36dd02
UD
33404 * string/test-strcasestr.c: Test both ends of the range of characters.
33405 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33406
48cbc0d6
RM
334072010-07-29 Roland McGrath <roland@redhat.com>
33408
76e6d6bc 33409 [BZ #11856]
48cbc0d6
RM
33410 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33411
880113d9
UD
334122010-07-27 Ulrich Drepper <drepper@redhat.com>
33413
33414 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33415 for ld.so.
33416
deb9cabb
AS
334172010-07-27 Andreas Schwab <schwab@redhat.com>
33418
33419 * manual/memory.texi (Malloc Tunable Parameters): Document
33420 M_PERTURB.
33421
1c7570ff
RM
334222010-07-26 Roland McGrath <roland@redhat.com>
33423
33424 [BZ #11840]
33425 * configure.in (-fgnu89-inline check): Set and substitute
33426 gnu89_inline, not libc_cv_gnu89_inline.
33427 * configure: Regenerated.
33428 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33429
24fb0f88
UD
334302010-07-26 Ulrich Drepper <drepper@redhat.com>
33431
33432 * string/test-strnlen.c: New file.
33433 * string/Makefile (strop-tests): Add strnlen.
33434 * string/tester.c (test_strnlen): Add a few more test cases.
33435 * string/tst-strlen.c: Better error reporting.
33436
33437 * sysdeps/x86_64/strnlen.S: New file.
33438
8e96b93a
UD
334392010-07-24 Ulrich Drepper <drepper@redhat.com>
33440
33441 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33442 lower-latency instructions.
33443
dbc676d4
UD
334442010-07-23 Ulrich Drepper <drepper@redhat.com>
33445
33446 * string/test-strcasestr.c: New file.
33447 * string/test-strstr.c: New file.
33448 * string/Makefile (strop-tests): Add strstr and strcasestr.
33449 * string/str-two-way.h: Don't undefine MAX.
33450 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33451
f6a31e0e
AS
334522010-07-21 Andreas Schwab <schwab@redhat.com>
33453
33454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33455 strcasestr-nonascii.
33456 (CFLAGS-strcasestr-nonascii.c): Define.
33457 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33458 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33459 Remove unused attribute.
33460
5dbc3b6c
RM
334612010-07-20 Roland McGrath <roland@redhat.com>
33462
33463 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33464 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33465 ld.so.cache was broken. With it, there is no way to disable dsocaps
33466 like LD_HWCAP_MASK can disable hwcaps.
33467
23d101d8
EPM
334682010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33469
33470 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33471
cc9f2e47
UD
334722010-07-16 Ulrich Drepper <drepper@redhat.com>
33473
33474 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33475 call in strcasestr.
33476 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33477 __strcasestr_sse42_nonascii.
33478 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33479 strcasestr-nonascii.c.
33480 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33481
77c1b069
LM
334822010-06-15 Luis Machado <luisgpm@br.ibm.com>
33483
33484 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33485 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33486 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33487 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33488
440566c3
UD
334892010-07-09 Ulrich Drepper <drepper@redhat.com>
33490
33491 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33492 fcntl.
33493
5be9d05d
AS
334942010-07-06 Andreas Schwab <schwab@redhat.com>
33495
c30b7ee2 33496 [BZ #11577]
5be9d05d
AS
33497 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33498 dl_signal_cerror.
33499
8a492a67
UD
335002010-07-06 Ulrich Drepper <drepper@redhat.com>
33501
33502 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33503 _PC_PIPE_BUF using F_GETPIPE_SZ.
33504
713df3d5
RM
335052010-07-05 Roland McGrath <roland@redhat.com>
33506
33507 * manual/arith.texi (Rounding Functions): Fix rint description
33508 implicit in round description.
33509
702e8f14
UD
335102010-07-02 Ulrich Drepper <drepper@redhat.com>
33511
33512 * elf/Makefile: Fix linking for a few tests to make recent linker
33513 happy.
33514
52ed8be9
AS
335152010-06-30 Andreas Schwab <schwab@redhat.com>
33516
33517 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33518 $(common-objpfx)libc_nonshared.a.
33519
f47c9a11
LM
335202010-06-21 Luis Machado <luisgpm@br.ibm.com>
33521
33522 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33523 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33524 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33525 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33526 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33527 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33528 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33529 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33544 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33545 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33546 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33547 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33548 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33549 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33550 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33551 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33552 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33553 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33554 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33555 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33570
6fb8cbcb
L
335712010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33572
33573 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33574 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33575 * string/memmove.c (memmove): Renamed to ...
33576 (MEMMOVE): ...this. Default to memmove.
33577 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33578 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33579 (END_CHK): Define.
33580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33581 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33582 mempcpy-ssse3-back memmove-ssse3-back.
33583 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33584 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33585 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33586 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33587 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33588 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33589 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33590 * sysdeps/x86_64/multiarch/memmove.c: New file.
33591 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33592 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33593 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33594 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33595 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33596 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33597 Define.
33598 (index_Fast_Copy_Backward): Define.
33599 (HAS_ARCH_FEATURE): Define.
33600 (HAS_FAST_REP_STRING): Define.
33601 (HAS_FAST_COPY_BACKWARD): Define.
33602
4e733bac 336032010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33604
33605 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33606 Restore proper fallback handling.
33607
63c4ed22
UD
336082010-06-19 Ulrich Drepper <drepper@redhat.com>
33609
ac2b484c
UD
33610 [BZ #11701]
33611 * posix/group_member.c (__group_member): Correct checking loop.
33612
63c4ed22
UD
33613 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33614 OOM in getpwuid_r correctly. Return error number when the caller
33615 should return, otherwise -1.
33616 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33617 call returning > 0 value.
33618 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33619
765ade4b
AS
336202010-06-07 Andreas Schwab <schwab@redhat.com>
33621
33622 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33623 libc_nonshared.a from targets in modules-names.
33624
80da2e09
KS
336252010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33626
33627 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33628 requires it.
33629
158db122
LM
336302010-06-10 Luis Machado <luisgpm@br.ibm.com>
33631
33632 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33633 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33634 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33635 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33636
caa78cf8
AS
336372010-06-02 Andreas Schwab <schwab@redhat.com>
33638
33639 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33640
b2ef2c01
UD
336412010-06-14 Ulrich Drepper <drepper@redhat.com>
33642
33643 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33644 and F_GETPIPE_SZ.
33645 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33646 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33647 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33649 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33650 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33651
fbd643b6
RM
336522010-06-14 Roland McGrath <roland@redhat.com>
33653
33654 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33655
f32f2869
JJ
336562010-06-07 Jakub Jelinek <jakub@redhat.com>
33657
33658 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33659 __REDIRECT followed by __THROW.
33660 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33661 * posix/getopt.h (getopt): Likewise.
33662
2a50c078
EPM
336632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33664
33665 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33666 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33667 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33668 in AT_FLAGS.
33669 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33670 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33671
eb5ad2eb
LM
336722010-05-28 Luis Machado <luisgpm@br.ibm.com>
33673
33674 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33675
3c88fe1e
L
336762010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33677
33678 [BZ #11640]
33679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33680 Properly check family and model.
33681
d2f73151
TY
336822010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33683
33684 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33685
ebd2e13d
LM
336862010-05-24 Luis Machado <luisgpm@br.ibm.com>
33687
33688 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33689
b32b8b45
UD
336902010-05-21 Ulrich Drepper <drepper@redhat.com>
33691
33692 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33693 symbol reference.
33694
9acbe24d
AS
336952010-05-19 Andreas Schwab <schwab@redhat.com>
33696
33697 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33698 symbol reference.
33699
f0ccf6ea
AS
337002010-05-21 Andreas Schwab <schwab@redhat.com>
33701
3d04ff3a
AS
33702 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33703 and internal_recvmmsg.
33704 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33705 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33706 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33707 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33708
f0ccf6ea
AS
33709 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33710 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33711 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33712
5b08ac57
AS
337132010-05-20 Andreas Schwab <schwab@redhat.com>
33714
33715 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33716
4828935d
LM
337172010-05-17 Luis Machado <luisgpm@br.ibm.com>
33718
33719 POWER7 optimizations.
33720 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33721 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33722
373d545e
UD
337232010-05-19 Ulrich Drepper <drepper@redhat.com>
33724
33725 * version.h: Update for 2.13 development version.
33726
21a2b1ae
AS
337272010-05-12 Andrew Stubbs <ams@codesourcery.com>
33728
33729 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33730 exceptions. Return 0.
33731
3f7dcb2b
RM
337322010-05-07 Roland McGrath <roland@redhat.com>
33733
33734 * elf/ldconfig.c (main): Add a const.
33735
5f24d53a 337362010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33737
a160f8d8
UD
33738 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33739 (args_options): Add no-idn option.
33740 (ahosts_keys_int): Add idn_flags to ai_flags.
33741 (parse_option): Handle 'i' option to clear idn_flags.
33742
5f24d53a
UD
33743 * malloc/malloc.c (_int_free): Possible race in the most recently
33744 added check. Only act on the data if no current modification
33745 happened.
265bb1ce
UD
33746
33747See ChangeLog.17 for earlier changes.