]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC ugly symbol versioning
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9b874b2f
AM
12013-10-04 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
7 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13
be1e5d31
AB
142013-10-04 Anton Blanchard <anton@au1.ibm.com>
15 Alistair Popple <alistair@ozlabs.au.ibm.com>
16 Alan Modra <amodra@gmail.com>
17
18 [BZ #15723]
19 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21 _dl_hwcap access for little-endian.
22 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
23 destroy vmx regs when saving unaligned.
24 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
25 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26 destroy vmx regs when saving unaligned.
27
fef13a78
AM
282013-10-04 Alan Modra <amodra@gmail.com>
29
30 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31 Don't use a union to pack hi/low value.
32
76a66d51
AB
332013-10-04 Anton Blanchard <anton@au1.ibm.com>
34
35 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
36 for little-endian.
37 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
38 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
40 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42
6a31fe7f
AM
432013-10-04 Alan Modra <amodra@gmail.com>
44
45 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
46 constants to usual value for .cst8 section, and remove redundant
47 high address load.
48 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49 constant for 0x1p52. Load little-endian words of double from
50 correct stack offsets.
51
7b88401f
AM
522013-10-04 Alan Modra <amodra@gmail.com>
53
54 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56 words of double from correct stack offsets.
57 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
58 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
61 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
64 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
65 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
66 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
67 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
68 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
69 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
70 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
71 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
73 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
74
9c008155
AM
752013-10-04 Alan Modra <amodra@gmail.com>
76
77 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
78 64-bit int/double union.
79 (_FPU_SETCW): Likewise.
80 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
81 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
82
da13146d
AM
832013-10-04 Alan Modra <amodra@gmail.com>
84
85 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
86 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
87
603e8410
AM
882013-10-04 Alan Modra <amodra@gmail.com>
89
90 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
91 use vector int constants.
92 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
93
4a28b3ca
AB
942013-10-04 Anton Blanchard <anton@au1.ibm.com>
95
96 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
97 array with long long.
98 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
99 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
100 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
101 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
102 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
103 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
104 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
105 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
106 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
107 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
108 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
109 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
110 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
111
2ca85d2b
AB
1122013-10-04 Anton Blanchard <anton@au1.ibm.com>
113
114 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
115 (__signbit): Likewise. Correct for little-endian.
116 (__signbitl): Call __signbit.
117 (lrint): Correct for little-endian.
118 (lrintf): Call lrint.
119
62a728ae
AM
1202013-10-04 Alan Modra <amodra@gmail.com>
121
122 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
123 union 32-bit int array member with 64-bit int array.
124 (t515, tm256): Double rather than long double.
125 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
126
32c301df
AM
1272013-10-04 Alan Modra <amodra@gmail.com>
128
129 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
130 Delete.
131 (IEEE854_LONG_DOUBLE_BIAS): Delete.
132 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
133 version of math_ldbl.h.
134
650ef4bd
AM
1352013-10-04 Alan Modra <amodra@gmail.com>
136
137 [BZ #15734], [BZ #15735]
138 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
139 all uses of ieee875 long double macros and unions. Simplify test
140 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
141 ldbl_extract_mantissa value for ix,iy exponents. Properly
142 normalize after ldbl_extract_mantissa, and don't add hidden bit
143 already handled. Don't treat low word of ieee854 mantissa like
144 low word of IBM long double and mask off bit when testing for
145 zero.
146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
147 all uses of ieee875 long double macros and unions. Simplify tests
148 for 0.0L and inf. Correct double adjustment of k. Delete dead code
149 adjusting ha,hb. Simplify code setting kld. Delete two600 and
150 two1022, instead use their values. Recognise that tests for large
151 "a" and small "b" are mutually exclusive. Rename vars. Comment.
152 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
153 Rewrite all uses of ieee875 long double macros and unions. Simplify
154 test for 0.0L and nan. Correct negation.
155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
156 ieee875 long double macros and unions. Correct output for large
157 magnitude x. Correct absolute value calculation.
158 (__erfcl): Likewise.
159 * math/libm-test.inc: Add tests for errors discovered in IBM long
160 double versions of fmodl, remainderl, erfl and erfcl.
161
765714ca
AM
1622013-10-04 Alan Modra <amodra@gmail.com>
163
164 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
165 all uses of ieee854 long double macros and unions. Simplify tests
166 for long doubles that are fully specified by the high double.
167 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
168 Likewise.
169 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
170 Remove dead code too.
171 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
172 (__ieee754_ynl): Likewise.
173 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
174 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
175 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
176 Remove dead code too.
177 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
178 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
179 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
180 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
181 Simplify.
182 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
183 Simplify.
184 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
185 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
186 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
187 Comment on variable precision.
188 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
189 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
190 Likewise.
191 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
192 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
193 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
194 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
195 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
196
4ebd120c
AM
1972013-10-04 Alan Modra <amodra@gmail.com>
198
199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
200 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
201 all uses of ieee854 long double macros and unions.
202 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
203 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
204 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
205 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
207 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
208 Likewise.
209 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
210 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
211 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
212 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
213 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
214 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
215 Simplify sign and nan test too.
216 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
218 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
219 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
220 Likewise.
221 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
222 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
223 Likewise.
224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
225 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
226 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
227 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
229 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
230
1b6adf88
AM
2312013-10-04 Alan Modra <amodra@gmail.com>
232
233 * stdio-common/printf_size.c (__printf_size): Don't use
234 union ieee854_long_double in fpnum union.
235 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
236 signbit macro to retrieve sign from long double.
237 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
238 retrieve sign from long double.
239 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
240 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
241 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
242 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
243 * math/test-misc.c (main): Don't use union ieee854_long_double.
244
4cf69995
AM
2452013-10-04 Alan Modra <amodra@gmail.com>
246
247 [BZ #15680]
248 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
249 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
250 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
251 calculation. Remove unnecessary test for denormal exponent.
252 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
253 Correct handling of denormals. Avoid undefined shift behaviour.
254 Correct normalisation of low mantissa when low double is denormal.
255 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
256 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
257 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
258 Correct normalisation of low mantissa. Test for overflow of high
259 mantissa and normalise.
260 (ldbl_nearbyint): Use more readable constant for two52.
261 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
262 (__mpn_construct_long_double): Fix test for overflow of high
263 mantissa and correct normalisation. Avoid undefined shift.
264
9605ca6c
AM
2652013-10-04 Alan Modra <amodra@gmail.com>
266
267 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
268 (union ibm_extended_long_double): Define as an array of ieee754_double.
269 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
270 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
271 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
272 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
273 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
274 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
275 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
276 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
278 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
279 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
280
975569d0
JM
2812013-10-03 Joseph Myers <joseph@codesourcery.com>
282
d3d23756
JM
283 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
284 page size instead of calling getpagesize.
285
975569d0
JM
286 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
287 (LOCFILE_ALIGN_MASK): Likewise.
288 (LOCFILE_ALIGN_UP): Likewise.
289 (LOCFILE_ALIGNED_P): Likewise.
290 * locale/programs/ld-collate.c (collate_output): Use the new
291 macros instead of __alignof__ (int32_t).
292 * locale/weight.h (findidx): Likewise.
293
b1fe1f2b
OB
2942013-10-03 Ondřej Bílka <neleai@seznam.cz>
295
296 [BZ #431]
297 * manual/string.texi: Fix strncat and wcsncat.
298
5f855e35
BM
2992013-10-03 Brooks Moses <bmoses@google.com>
300
301 [BZ #15915]
302 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
303 * Makerules: ...here, and adjust associated comments.
304
3cef6009
WN
3052013-10-02 Will Newton <will.newton@linaro.org>
306
307 * malloc/Makefile: Add tst-pvalloc.
308 * malloc/tst-pvalloc.c: New file.
309
7815420b
WN
3102013-10-02 Will Newton <will.newton@linaro.org>
311
312 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
313 improve test coverage.
314
4868b204
WN
3152013-10-02 Will Newton <will.newton@linaro.org>
316
317 * malloc/Makefile: Add tst-posix_memalign.
318 * malloc/tst-posix_memalign.c: New file.
319
29c793b3
EB
3202013-10-01 Eric Blake <eblake@redhat.com>
321
322 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
323 Use __THROWNL rather than __THROW on static functions.
324
fd967522
PM
3252013-09-30 Petr Machata <pmachata@redhat.com>
326
327 * elf/elf.h (R_AARCH64_ABS16): New macro.
328 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
329 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
330 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
331 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
332 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
333 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
334 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
335 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
336 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
337 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
338 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
339 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
340 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
341 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
342 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
343 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
344 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
345 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
346 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
347 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
348 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
349 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
350 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
351 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
352 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
353 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
354 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
355 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
356 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
357 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
358 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
359 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
360 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
361 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
362 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
363 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
364 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
365 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
366 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
367 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
368 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
369 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
370 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
371 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
372 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
373 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
374 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
375 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
376 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
377 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
378 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
379 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
380 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
381 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
382 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
383 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
384 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
385 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
386 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
387 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
388 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
389 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
390 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
391 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
392 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
393 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
394 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
395 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
396 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
397 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
398 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
399 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
400 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
401 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
402 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
403 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
404 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
405 (R_AARCH64_TLSDESC_LDR): Likewise.
406 (R_AARCH64_TLSDESC_ADD): Likewise.
407 (R_AARCH64_TLSDESC_CALL): Likewise.
408
b2179107
AS
4092013-09-30 Andreas Schwab <schwab@suse.de>
410
411 [BZ #15048]
412 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
413 the nss database lookup.
414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
416
47f28d0a
MF
4172013-09-28 Mike Frysinger <vapier@gentoo.org>
418
419 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
420
4212013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
422
423 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
424 ${Bash-specific parameter/pattern/string} parameter expansion.
425 * sysdeps/unix/make-syscalls.sh: Likewise.
426
f4518a17
KK
4272013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
428
429 * sysdeps/sh/stackguard-macros.h: New file.
430
dc1a95c7
OB
4312013-09-26 Ondřej Bílka <neleai@seznam.cz>
432
433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
434 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
435 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
436 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
437 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
438 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
439
5ebbff8f
AZ
4402013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
441
442 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
443 Fix thread ID register.
444
4fd2cf9f
JM
4452013-09-25 Joseph Myers <joseph@codesourcery.com>
446
447 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
448 [POSIX || UNIX98]: Require rather than permitting all symbols from
449 <time.h>.
450 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
451 element of struct sched_param.
452 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
453 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
454 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
455 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
456 constant.
457
12c22bc4
OL
4582013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
459
460 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
461 argument calculation.
462
a03d8ea7
JM
4632013-09-24 Joseph Myers <joseph@codesourcery.com>
464
465 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
466 Expect macro.
467 [POSIX] (pthread_attr_t): Do not require type.
468 [POSIX] (pthread_cond_t): Likewise.
469 [POSIX] (pthread_condattr_t): Likewise.
470 [POSIX] (pthread_key_t): Likewise.
471 [POSIX] (pthread_mutex_t): Likewise.
472 [POSIX] (pthread_mutexattr_t): Likewise.
473 [POSIX] (pthread_once_t): Likewise.
474 [POSIX] (pthread_t): Likewise.
475 [POSIX-based standards] (pthread_atfork): Expect function.
476
6055173a
JM
4772013-09-24 Joseph Myers <joseph@codesourcery.com>
478 Richard Sandiford <richard@codesourcery.com>
479
480 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
481 (swap_endianness_p): New extern variable.
482 (set_big_endian): New inline function.
483 (maybe_swap_uint32): Likewise.
484 (maybe_swap_uint32_array): Likewise.
485 (maybe_swap_uint32_obstack): Likewise.
486 * locale/programs/locfile.c: Include <stdbool.h>.
487 (swap_endianness_p): New variable.
488 (add_locale_uint32): Call maybe_swap_uint32.
489 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
490 (write_locale_data): Call maybe_swap_uint32_array.
491 * locale/programs/ld-collate.c (obstack_int32_grow): Call
492 maybe_swap_uint32.
493 (obstack_int32_grow_fast): Likewise.
494 (output_weightwc): Call maybe_swap_uint32_obstack.
495 (collate_output): Likewise.
496 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
497 (OPT_LITTLE_ENDIAN): Likewise.
498 (options): Add --little-endian and --big-endian options.
499 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
500 * locale/programs/locarchive.c: Include "locfile.h".
501 (GET): New macro.
502 (SET): Likewise.
503 (INC): Likewise.
504 (create_archive): Use the new macros to access fields of
505 structures directly mapped from or written to locale archives.
506 (oldlocrecentcmp): Likewise.
507 (enlarge_archive): Likewise.
508 (insert_name): Likewise.
509 (add_alias): Likewise.
510 (add_locale): Likewise.
511 (delete_locales_from_archive): Likewise.
512 (show_archive_content): Likewise.
513 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
514 locale data.
515
39bf0bb4
RM
5162013-09-24 Roland McGrath <roland@hack.frob.com>
517
518 * manual/freemanuals.texi: Updated from (newly) canonical copy at
519 http://www.gnu.org/doc/freemanuals.texi.
520 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
521
f02eed10
WN
5222013-09-24 Will Newton <will.newton@linaro.org>
523
524 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
525 macro.
526
a3a6c312
JM
5272013-09-23 Joseph Myers <joseph@codesourcery.com>
528
529 * locale/hashval.h (compute_hashval): Interpret bytes of key as
530 unsigned char.
531
107375ac
MR
5322013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
533
534 * manual/threads.texi (POSIX Threads): Fix a typo.
535
141f3a77
SP
5362013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
537
303e567a
SP
538 [BZ #14547]
539 * string/tst-strcoll-overflow.c: New test case.
540 * string/Makefile (xtests): Add tst-strcoll-overflow.
541 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
542 cache if string sizes may cause integer overflow.
543
141f3a77
SP
544 [BZ #14547]
545 * string/strcoll_l.c (coll_seq): New members rule, idx,
546 save_idx and back_us.
547 (get_next_seq_nocache): New function.
548 (do_compare_nocache): New function.
549 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
550 when malloc fails.
551
c61b4d41
CD
5522013-09-23 Carlos O'Donell <carlos@redhat.com>
553
0b1f8e35
CD
554 [BZ #15754]
555 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
556 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
557 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
558
c61b4d41
CD
559 [BZ #15754]
560 * elf/Makefile (tests): Add tst-ptrguard1.
561 (tests-static): Add tst-ptrguard1-static.
562 (tst-ptrguard1-ARGS): Define.
563 (tst-ptrguard1-static-ARGS): Define.
564 * elf/tst-ptrguard1.c: New file.
565 * elf/tst-ptrguard1-static.c: New file.
566 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
567 * sysdeps/i386/stackguard-macros.h: Likewise.
568 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
569 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
570 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
571 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
572 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
573 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
574
5752013-09-23 Hector Marco <hecmargi@upv.es>
576 Ismael Ripoll <iripoll@disca.upv.es>
577 Carlos O'Donell <carlos@redhat.com>
578
579 [BZ #15754]
580 * sysdeps/generic/stackguard-macros.h: Define
581 __pointer_chk_guard_local and POINTER_CHK_GUARD.
582 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
583 Define __pointer_chk_guard_local.
584 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
585 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
586
f5f4e7b4
VV
5872013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
588
589 [BZ #15859]
590 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
591
5bb43a43
AS
5922013-09-20 Andreas Schwab <schwab@linux-m68k.org>
593
594 * include/string.h (__ffs): Declare as hidden.
595 * string/ffs.c (__ffs): Define as hidden.
596 * sysdeps/i386/ffs.c (__ffs): Likewise.
597 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
598 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
599 * sysdeps/s390/ffs.c (__ffs): Likewise.
600 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
601
3ea5be54
AO
6022013-09-20 Alexandre Oliva <aoliva@redhat.com>
603
ffb89e53
AO
604 * NEWS: Mention malloc probes.
605
322dea08
AO
606 * malloc/arena.c (new_heap): New memory_heap_new probe.
607 (grow_heap): New memory_heap_more probe.
608 (shrink_heap): New memory_heap_less probe.
609 (heap_trim): New memory_heap_free probe.
610 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
611 (systrim): New memory_sbrk_less probe.
612 * manual/probes.texi: Document them.
613
655673f3
AO
614 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
615 * manual/probes.texi: Document it.
616
35fed6f1
AO
617 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
618 (__libc_realloc): Add memory_realloc_retry probe.
619 (__libc_memalign): Add memory_memalign_retry probe.
620 (__libc_valloc): Add memory_valloc_retry probe.
621 (__libc_pvalloc): Add memory_pvalloc_retry probe.
622 (__libc_calloc): Add memory_calloc_retry probe.
623 * manual/probes.texi: Document them.
624
6999d38c
AO
625 * malloc/arena.c (get_free_list): Add probe
626 memory_arena_reuse_free_list.
627 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
628 and memory_arena_reuse.
629 (arena_get2) [!PER_THREAD]: Likewise.
630 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
631 memory_arena_reuse_realloc.
632 * manual/probes.texi: Document them.
633
0653427f
AO
634 * malloc/malloc.c (__libc_free): Add
635 memory_mallopt_free_dyn_thresholds probe.
636 (__libc_mallopt): Add multiple memory_mallopt probes.
637 * manual/probes.texi: Document them.
638
3ea5be54
AO
639 * malloc/malloc.c: Include stap-probe.h.
640 (__libc_mallopt): Add memory_mallopt probe.
641 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
642 * manual/probes.texi: New.
643 * manual/Makefile (chapters): Add probes.
644 * manual/threads.texi: Set next node.
645
e35696c3 6462013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 647
e35696c3
CL
648 [BZ #15963, #13985]
649 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
650 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
651 Add `Chinese' to `nan' entry name.
652
4aafb73c
SP
6532013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
654
655 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
656 (POLYNOMIAL): Likewise.
657 (TAYLOR_SINCOS): Likewise.
658 (TAYLOR_SLOW): Likewise.
659 (__sin): Use TAYLOR_SINCOS.
660 (__cos): Likewise.
661 (slow): Use TAYLOR_SLOW.
662 (sloww): Likewise.
663 (bsloww): Likewise.
664 (csloww): Likewise.
665
d84f25c7
LD
6662013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
667
668 * stdlib/strtod_l.c: Fix buffer overrun.
669
5eea0404
SP
6702013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
671
7849ff93
SP
672 * benchtests/Makefile (bench): Add sincos.
673 * benchtests/bench-sincos.c: New file.
674
cfa3c886
SP
675 * math/libm-test.inc (cos_test_data): New test inputs.
676 (sin_test_data): Likewise.
677
b348e1e3
SP
678 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
679 macro.
680 (__sin): Use it.
681 (__cos): Likewise.
682 (slow1): Likewise.
683 (slow2): Likewise.
684 (sloww1): Likewise.
685 (sloww2): Likewise.
686 (bsloww1): Likewise.
687 (bsloww2): Likewise.
688 (cslow2): Likewise.
689 (csloww1): Likewise.
690 (csloww2): Likewise.
691
6cce25f8
SP
692 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
693 function.
694 (__sin): Use it.
695 (__cos): Likewise.
696
5eea0404
SP
697 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
698 gotos.
699 (__cos): Likewise.
700
9c21573c
MR
7012013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
702
703 * config.h.in (HAVE_MIPS_NAN2008): New macro.
704 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
705 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
706 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
707 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
708 * elf/cache.c (print_entry): Handle the new cache flags.
709
24d22e65
JM
7102013-09-18 Joseph Myers <joseph@codesourcery.com>
711 Aldy Hernandez <aldyh@redhat.com>
712
713 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
714 Change condition to [_SOFT_FLOAT].
715 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
716 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
727 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
730 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
731 declaration.
732
d13ef066
JM
7332013-09-18 Joseph Myers <joseph@codesourcery.com>
734
2e071de0
JM
735 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
736 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
737 (__longjmp): Use LOAD_GP to load saved GPRs.
738 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
739 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
740 (__sigsetjmp): Use SAVE_GP to save GPRs.
741
d13ef066
JM
742 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
743 Do not append -msoft-float.
744 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
745
97a0650b
SP
7462013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
747
748 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
749
11ca09e9
JM
7502013-09-17 Joseph Myers <joseph@codesourcery.com>
751
752 [BZ #15966]
753 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
754 (_FPU_GETCW): Use initial "__" on variable and field names but not
755 on macro parameter name.
756 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
757 parentheses around reference to macro parameter.
758
08ffcf34
RS
7592013-09-13 Richard Sandiford <richard@codesourcery.com>
760
761 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
762 prototype.
763 (ctype_startup): Use uint32_t in cast and sizeof for
764 ctype->charnames.
765
ae7080d3
JL
7662013-09-11 Jia Liu <proljc@gmail.com>
767
768 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
769 __daddr_t_defined.
770 [__FreeBSD__]: Likewise.
771
5905e7b3
OB
7722013-09-11 Ondřej Bílka <neleai@seznam.cz>
773
774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
775 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
776 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
777 (strchr): Remove __strchr_sse42 ifunc selection.
778 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
779 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
780
b987c776
WN
7812013-09-11 Will Newton <will.newton@linaro.org>
782
783 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
784 parameter to RES. Remove hardcoded 1000 value.
785 * benchtests/bench-skeleton.c (main): Pass RES parameter
786 to TIMING_INIT and multiply result by 1000.
787
ddf985af
AZ
7882013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
789
790 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
791
ffdd3181
AS
7922013-09-11 Andreas Schwab <schwab@suse.de>
793
794 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
795 if not defined.
796 (O_TMPFILE) [__USE_GNU]: Define.
797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
798 Define.
799
b73ed247
WN
8002013-09-11 Will Newton <will.newton@linaro.org>
801
802 [BZ #15857]
803 * malloc/malloc.c (__libc_memalign): Check the value of bytes
804 does not overflow.
805
55e17aad
WN
8062013-09-11 Will Newton <will.newton@linaro.org>
807
808 [BZ #15856]
809 * malloc/malloc.c (__libc_valloc): Check the value of bytes
810 does not overflow.
811
1159a193
WN
8122013-09-11 Will Newton <will.newton@linaro.org>
813
814 [BZ #15855]
815 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
816 does not overflow.
817
5905e7b3 8182013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
819
820 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
821 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
822 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
823 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
824 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
825
cdfc721b
AM
8262013-09-10 Allan McRae <allan@archlinux.org>
827
aa04af00
AM
828 [BZ #15748]
829 * manual/arith.texi (Parsing of Floats): Clarify
830 cross-reference.
831
cdfc721b
AM
832 [BZ #15849]
833 * manual/install.texi (Running make install): Mention
834 --enable-pt-chown.
835 * INSTALL: Regenerated.
836
95e7cf29
MR
8372013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
838
839 * csu/init-first.c (_init): Remove the !SHARED condition around
840 FPU control word initialization.
841 * elf/dl-support.c (_dl_fpu_control): New variable.
842 (_dl_aux_init) <AT_FPUCW>: Initialize it.
843 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
844 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
845 * math/test-fpucw-static.c: New file.
846 * math/test-fpucw-ieee.c: New file.
847 * math/test-fpucw-ieee-static.c: New file.
848 * math/Makefile (tests): Add `test-fpucw-ieee' and
849 `$(tests-static)'.
850 (tests-static): New variable.
851 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
852 dependency to...
853 [($(build-shared),yes)]
854 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
855 ... this.
856 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
857 New dependency.
858
83e43bf0
AM
8592013-09-09 Allan McRae <allan@archlinux.org>
860
a9f5ce09
AM
861 [BZ #15939]
862 * manual/string.texi (Collation Functions): Fix typo in
863 strcoll example.
864 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
865
34829bc2
AM
866 [BZ #15893]
867 * stdlib/isomac.c (get_null_defines): Fix memory leak.
868
3932737d
AM
869 [BZ #15892]
870 * libio/memstream.c (open_memstream): Fix memory leak.
871 * libio/wmemstream.c (open_wmemstream): Likewise.
872
83e43bf0
AM
873 [BZ #15895]
874 * nscd/netgroupcache.c: Fix nesting of ifdefs.
875
0c66b8e9
WN
8762013-09-09 Will Newton <will.newton@linaro.org>
877
878 * malloc/Makefile: Add tst-realloc to tests.
879 * malloc/tst-realloc.c: New file.
880
f6b00fd1
AM
8812013-09-09 Allan McRae <allan@archlinux.org>
882
883 [BZ #15844]
884 * COPYING: Update from GNU website to fix FSF address.
885 * COPYING.LIB: Likewise.
886
eec55e16
DM
8872013-09-06 David S. Miller <davem@davemloft.net>
888
889 * po/zh_TW.po: Update Chinese (traditional) translation from
890 translation project.
891
1ecbb381
RS
8922013-09-06 Richard Sandiford <richard@codesourcery.com>
893 Joseph Myers <joseph@codesourcery.com>
894
895 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
896 "localeinfo.h".
897 (obstack_chunk_alloc): New macro.
898 (obstack_chunk_free): Likewise.
899 (record_offset): New function.
900 (init_locale_data): Likewise.
901 (align_locale_data): Likewise.
902 (add_locale_empty): Likewise.
903 (add_locale_raw_data): Likewise.
904 (add_locale_raw_obstack): Likewise.
905 (add_locale_string): Likewise.
906 (add_locale_wstring): Likewise.
907 (add_locale_uint32): Likewise.
908 (add_locale_uint32_array): Likewise.
909 (add_locale_char): Likewise.
910 (start_locale_structure): Likewise.
911 (end_locale_structure): Likewise.
912 (start_locale_prelude): Likewise.
913 (end_locale_prelude): Likewise.
914 (write_locale_data): Take locale_file structure rather than an
915 iovec.
916 * locale/programs/locfile.h: Include "obstack.h".
917 (struct locale_file): Change to store locale file contents instead
918 of header.
919 (init_locale_data): New prototype.
920 (align_locale_data): Likewise.
921 (add_locale_empty): Likewise.
922 (add_locale_raw_data): Likewise.
923 (add_locale_raw_obstack): Likewise.
924 (add_locale_string): Likewise.
925 (add_locale_wstring): Likewise.
926 (add_locale_uint32): Likewise.
927 (add_locale_uint32_array): Likewise.
928 (add_locale_char): Likewise.
929 (start_locale_structure): Likewise.
930 (end_locale_structure): Likewise.
931 (start_locale_prelude): Likewise.
932 (end_locale_prelude): Likewise.
933 (write_locale_data): Update prototype.
934 * locale/programs/3level.h (struct TABLE): Remove result field.
935 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
936 Use new locale_file interface.
937 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
938 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
939 * locale/programs/ld-address.c (address_output): Use new
940 locale_file interface.
941 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
942 NO_ADD_LOCALE.
943 (collate_finish): Don't call collseq_table_finalize.
944 (collate_output): Use new locale_file interface.
945 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
946 in file.
947 (NO_FINALIZE): Change to NO_ADD_LOCALE.
948 (TABLE): Move defines earlier in file.
949 (ELEMENT): Likewise.
950 (DEFAULT): Likewise.
951 (wctrans_table_add): Move macro and inline function earlier in
952 file.
953 (struct wctype_table): Move type earlier in file.
954 (add_locale_wctype_table): New static prototype.
955 (struct locale_ctype_t): Use logical types instead of struct iovec
956 pointers for members.
957 (ctype_output): Use new locale_file interface.
958 (wctype_table_finalize): Change to add_locale_wctype_table. Use
959 new locale_file interface.
960 (allocate_arrays): Update for use of new locale_file interface.
961 * locale/programs/ld-identification.c (identification_output): Use
962 new locale_file interface.
963 * locale/programs/ld-measurement.c (measurement_output): Likewise.
964 * locale/programs/ld-messages.c (messages_output): Likewise.
965 * locale/programs/ld-monetary.c (monetary_output): Likewise.
966 * locale/programs/ld-name.c (name_output): Likewise.
967 * locale/programs/ld-numeric.c (numeric_output): Likewise.
968 * locale/programs/ld-paper.c (paper_output): Likewise.
969 * locale/programs/ld-telephone.c (telephone_output): Likewise.
970 * locale/programs/ld-time.c (time_output): Likewise.
971
e029e2e5
AZ
9722013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
973
974 * benchtests/Makefile: Add memrchr benchmark.
975 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
976 benchmark as memrchr.
977 * benchtests/bench-memrchr-ifunc.c: New file.
978 * benchtests/bench-memrchr.c: New file.
979
bbf6e8e4
WN
9802013-09-06 Will Newton <will.newton@linaro.org>
981
982 * benchtests/Makefile (string-bench): Add memcpy.
983
6c82a2f8
CD
9842013-09-05 Carlos O'Donell <carlos@redhat.com>
985 Cong Wang <amwang@redhat.com>
986
987 * sysdeps/unix/sysv/linux/bits/in.h
988 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
989 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
990 before __USE_KERNEL_IPV6_DEFS uses.
991 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
992 IPPROTO_BEETPH.
993 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
994 sockaddr_in6, or ipv6_mreq.
995
5430fc65
AZ
9962013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
997
998 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
999 memory access for final bytes in some large inputs.
1000 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1001
4660856c
AZ
10022013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1003
1004 * string/test-memrchr.c: New file.
1005 * string/test-memrchr-ifunc.c: New file.
1006 * string/Makefile: Add new memrchr testcase.
1007
bb8ea713
MF
10082013-09-05 Mike Frysinger <vapier@gentoo.org>
1009
1010 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1011 fanotify_init returns EPERM.
1012
b92a20b5
JM
10132013-09-04 Joseph Myers <joseph@codesourcery.com>
1014
1015 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1016 errors.
1017 (top level): Treat second token from macro or constant entries for
1018 allowed headers as allowed.
1019 * include/complex.h: Condition internal declarations on
1020 [!_ISOMAC].
1021 * include/fenv.h: Condition include of <stdbool.h> and internal
1022 declarations on [!_ISOMAC].
7447ccd9
CL
1023
10242013-09-04 Chris Leonard <cjl@sugarlabs,.org>
1025
3e181dda 1026 [BZ #15923]
7447ccd9
CL
1027 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1028
3f2e46a4
JM
10292013-09-04 Joseph Myers <joseph@codesourcery.com>
1030
1031 * configure.in (--enable-versioning): Remove configure option.
1032 (libc_cv_asm_symver_directive): Remove configure test.
1033 (libc_cv_ld_version_script_option): Likewise.
1034 (VERSIONING): Remove variable and AC_SUBST.
1035 (DO_VERSIONING): Remove AC_DEFINE.
1036 * configure: Regenerated.
1037 * config.h.in (DO_VERSIONING): Remove macro.
1038 * Makerules [$(versioning) = yes]: Change conditionals to
1039 [$(build-shared) = yes].
1040 * config.make.in (versioning): Remove variable.
1041 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1042 [$(build-shared) = yes].
1043 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1044 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1045 * elf/Makefile [$(versioning) = yes]: Change conditionals to
1046 [$(build-shared) = yes].
1047 * extra-lib.mk [$(versioning) = yes]: Likewise.
1048 * hurd/Makefile [$(versioning) = yes]: Likewise.
1049 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1050 [SHARED].
1051 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1052 [SHARED].
1053 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1054 [SHARED && !NO_HIDDEN].
1055 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1056 [SHARED].
1057 [SHARED && DO_VERSIONING]: Likewise..
1058 * libio/Makefile [$(versioning) = yes]: Change conditionals to
1059 [$(build-shared) = yes].
1060 * manual/install.texi (--disable-versioning): Remove
1061 documentation.
1062 * INSTALL: Regenerated.
1063 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1064 to [SHARED].
1065 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1066 [$(build-shared) = yes].
1067 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1068 * sysdeps/i386/i686/multiarch/strstr-c.c
1069 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1070 [SHARED && !NO_HIDDEN].
1071 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1072 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1073 * sysdeps/powerpc/powerpc32/dl-machine.c
1074 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1075 * sysdeps/powerpc/powerpc32/sysdep.h
1076 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1077 to [SHARED && PIC && !NO_HIDDEN].
1078 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1079 conditional to [SHARED].
1080
44558701
WN
10812013-09-04 Will Newton <will.newton@linaro.org>
1082
1083 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1084 * benchtests/bench-string.h: Include bench-timing.h instead
1085 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1086 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1087 call to HP_TIMING_DIFF_INIT.
1088 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1089 instead of hp-timing.h macros.
1090 * benchtests/bench-memchr.c: Likewise.
1091 * benchtests/bench-memcmp.c: Likewise.
1092 * benchtests/bench-memcpy.c: Likewise.
1093 * benchtests/bench-memmem.c: Likewise.
1094 * benchtests/bench-memmove.c: Likewise.
1095 * benchtests/bench-memset.c: Likewise.
1096 * benchtests/bench-rawmemchr.c: Likewise.
1097 * benchtests/bench-strcasecmp.c: Likewise.
1098 * benchtests/bench-strcasestr.c: Likewise.
1099 * benchtests/bench-strcat.c: Likewise.
1100 * benchtests/bench-strchr.c: Likewise.
1101 * benchtests/bench-strcmp.c: Likewise.
1102 * benchtests/bench-strcpy.c: Likewise.
1103 * benchtests/bench-strcpy_chk.c: Likewise.
1104 * benchtests/bench-strlen.c: Likewise.
1105 * benchtests/bench-strncasecmp.c: Likewise.
1106 * benchtests/bench-strncat.c: Likewise.
1107 * benchtests/bench-strncmp.c: Likewise.
1108 * benchtests/bench-strncpy.c: Likewise.
1109 * benchtests/bench-strnlen.c: Likewise.
1110 * benchtests/bench-strpbrk.c: Likewise.
1111 * benchtests/bench-strrchr.c: Likewise.
1112 * benchtests/bench-strspn.c: Likewise.
1113 * benchtests/bench-strstr.c: Likewise.
1114
cae16d66
WN
11152013-09-04 Will Newton <will.newton@linaro.org>
1116
1117 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1118
ffa3cd7f
JM
11192013-09-03 Joseph Myers <joseph@codesourcery.com>
1120
1121 [BZ #15427]
1122 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1123 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1124 * math/libm-test.inc (lgamma_test_data): Add more tests.
1125 * sysdeps/i386/fpu/libm-test-ulps: Update.
1126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1127
8f02859f
OB
11282013-09-03 Ondřej Bílka <neleai@seznam.cz>
1129
1130 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1132 Add ifunc.
1133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1134 Add strcmp-sse2-unaligned
1135 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1136
18d43716
MF
11372013-09-02 Mike Frysinger <vapier@gentoo.org>
1138
1139 * Versions.def (libc): Add GLIBC_2.19.
1140
ac444012
MF
11412013-09-02 Mike Frysinger <vapier@gentoo.org>
1142
1143 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1144 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1145
b7835e32
JM
11462013-09-02 Joseph Myers <joseph@codesourcery.com>
1147
1148 [BZ #14155]
1149 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1150 intermediate calculations in recurrence.
1151 (__ieee754_ynf): Likewise.
1152 * math/libm-test.inc (jn_test_data): Do not allow spurious
1153 underflow exception. Add more tests.
1154 (yn_test_data): Add more tests.
1155 * sysdeps/i386/fpu/libm-test-ulps: Update.
1156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1157
8220f4f0
OB
11582013-09-02 Ondřej Bílka <neleai@seznam.cz>
1159
1160 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1161
f24a6d08
OB
11622013-08-30 Ondřej Bílka <neleai@seznam.cz>
1163
1164 * csu/init-first.c: Fix then/than typos.
1165 * locale/programs/ld-collate.c: Likewise.
1166 * locale/programs/linereader.h: Likewise.
1167 * manual/charset.texi: Likewise.
1168 * manual/filesys.texi: Likewise.
1169 * manual/stdio.texi: Likewise.
1170 * manual/string.texi: Likewise.
1171 * stdlib/fmtmsg.c: Likewise.
1172 * sysdeps/i386/stpncpy.S: Likewise.
1173 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1174 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1175 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1176 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1177
382466e0
OB
11782013-08-30 Ondřej Bílka <neleai@seznam.cz>
1179
1180 * elf/dl-open.c: Fix typos.
1181 * iconvdata/gbbig5.c: Likewise.
1182 * iconvdata/iso-2022-jp.c: Likewise.
1183 * iconv/gconv_int.h: Likewise.
1184 * iconv/loop.c: Likewise.
1185 * nis/rpcsvc/nis.h: Likewise.
1186 * resolv/ns_name.c: Likewise.
1187 * stdio-common/vfscanf.c: Likewise.
1188 * streams/stropts.h: Likewise.
1189 * sunrpc/rpc_thread.c: Likewise.
1190 * sysdeps/i386/strpbrk.S: Likewise.
1191 * sysdeps/ieee754/k_standard.c: Likewise.
1192 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1193 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1194 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1195 * sysdeps/mach/hurd/profil.c: Likewise.
1196 * sysdeps/s390/dl-procinfo.h: Likewise.
1197 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1198 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1199 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1200 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1201 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1202
0186c6e9
OB
12032013-08-30 Ondřej Bílka <neleai@seznam.cz>
1204
1205 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1207
d4e16af1
OB
12082013-08-29 Ondřej Bílka <neleai@seznam.cz>
1209
1210 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1211 aix specific files.
1212 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1213 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1214 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1215 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1216 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1217 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1218 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1219 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1220
88335980
TS
12212013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1222 Roland McGrath <roland@hack.frob.com>
1223
1224 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1225 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1226
ed479b02
ST
12272013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1228
1229 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1230 __executable_start symbol instead of _start.
1231
f1cc4c86
TS
12322013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1233
d821f07c
TS
1234 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1235 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1236 Move macros to...
1237 * sysdeps/gnu/ldsodefs.h: ... this new file.
1238
c54290cf
TS
1239 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1240 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1241 instead of ELFOSABI_LINUX.
1242
0007fc9b 1243 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1244 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1245 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1246 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1247 Likewise.
1248 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1249 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1250 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1251 Likewise.
1252 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1253 (ibm_extended_long_double): Add ieee_nan member.
1254 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1255 (do_test): New function.
1256
f1cc4c86
TS
1257 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1258 TEST_TRUNC.
1259 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1260 functions, renamed from truncdfsf_test, trunctfsf_test,
1261 trunctfdf_test.
1262 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1263 functions.
1264 (do_test): Run all these.
1265
6f65e668
OB
12662013-08-29 Ondřej Bílka <neleai@seznam.cz>
1267
1268 * argp/argp-help.c: Fix typos.
1269 * argp/argp-parse.c: Likewise.
1270 * debug/backtracesyms.c: Likewise.
1271 * elf/elf.h: Likewise.
1272 * malloc/malloc.c: Likewise.
1273 * nis/nis_print.c: Likewise.
1274 * resolv/res_comp.c: Likewise.
1275 * stdlib/stdlib.h: Likewise.
1276 * sunrpc/clnt_tcp.c: Likewise.
1277 * sunrpc/clnt_udp.c: Likewise.
1278 * sunrpc/clnt_unix.c: Likewise.
1279 * sysdeps/unix/bsd/ptsname.c: Likewise.
1280 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1281 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1283 Likewise.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1285 Likewise.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1287 Likewise.
6f65e668
OB
1288 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1289
3a309239
SP
12902013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1291
1292 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1294
3b813b29
MF
12952013-08-27 Mike Frysinger <vapier@gentoo.org>
1296
1297 [BZ #15897]
1298 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1299 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1300 ($(objpfx)bug-dl-leaf): New rule.
1301 ($(objpfx)bug-dl-leaf.so): Likewise.
1302 ($(objpfx)bug-dl-leaf.out): Likewise.
1303 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1304 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1305 * dlfcn/bug-dl-leaf.c: New test.
1306 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1307 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1308 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1309 (dlclose): Likewise.
1310 (dlmopen): Likewise.
1311
8cc3269f
RM
13122013-08-27 Roland McGrath <roland@hack.frob.com>
1313
7f9d0034
RM
1314 * include/netdb.h [!_ISOMAC]:
1315 Don't include <tls.h>.
1316 (h_errno, __libc_h_errno): Move declaration and macros out of
1317 [_LIBC_REENTRANT].
1318
fb431262
RM
1319 * include/resolv.h [_RESOLV_H_]:
1320 Don't include <tls.h>.
1321 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1322 * resolv/res_libc.c: Don't include <tls.h>.
1323 (_res): Use __attribute__ ((nocommon)) in place of
1324 __attribute__ ((section (".bss"))).
1325
bd81123a
RM
1326 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1327 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1328
c4e42566
RM
1329 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1330
f890a59b
RM
1331 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1332 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1333
1334 * resolv/res_mkquery.c: Include <sys/time.h>.
1335
5d1f0a09
RM
1336 * inet/ifreq.c: Moved to ...
1337 * sysdeps/unix/ifreq.c: ... here.
1338 * inet/ifreq.c: New file, true stub version.
1339
6fcf28b3
RM
1340 * socket/sa_len.c: New file.
1341 * socket/Makefile (aux): Add it.
1342 * sysdeps/unix/sysv/linux/Makefile
1343 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1344 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1345 and #include <socket/sa_len.c>.
1346 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1347 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1348
e041fb8b
RM
1349 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1350 * bits/socket.h: ... here.
1351
8cc3269f
RM
1352 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1353 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1354 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1355
5d228a43
AS
13562013-08-27 Andreas Schwab <schwab@suse.de>
1357
45b8accc
AS
1358 [BZ #15736]
1359 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1360 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1361 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1362 * string/test-strcasecmp.c (test_main): Run tests in several
1363 locales.
1364 * string/test-strncasecmp.c (test_main): Likewise.
1365
5d228a43
AS
1366 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1367 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1368 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1370 (__strncasecmp_ssse3) [PIC]: Likewise.
1371
59d112a4
RM
13722013-08-26 Roland McGrath <roland@hack.frob.com>
1373
53234cc3
RM
1374 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1375
59d112a4
RM
1376 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1377 instead of explicitly declaring xdecrypt.
1378 * nis/nss_nis/nis-publickey.c: Likewise.
1379
595aba70
SP
13802013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1381
1382 [BZ #15890]
1383 * nscd/aicache.c: Include res_hconf.h.
1384 (addhstaiX): Initialize res_hconf.
1385
ffabd393
AS
13862013-08-26 Andreas Schwab <schwab@suse.de>
1387
1388 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1389 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1390
e0a69f5c
SP
13912013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1392
1393 * nscd/aicache.c (addhstaiX): Fix indentation.
1394
8c12f01d
MF
13952013-08-25 Mike Frysinger <vapier@gentoo.org>
1396
1397 * configure.ac: Quote $build_pt_chown test.
1398 * configure: Regenerated.
1399
8fe89494
JM
14002013-08-23 Joseph Myers <joseph@codesourcery.com>
1401
1402 [BZ #15532]
1403 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1404 * math/s_cexpf.c (__cexpf): Likewise.
1405 * math/s_cexpl.c (__cexpl): Likewise.
1406 * math/libm-test.inc (cexp_test_data): Correct expected return
1407 value for NaN + i0. Add another test.
1408
75b181d6
DM
14092013-08-22 David S. Miller <davem@davemloft.net>
1410
1411 * po/ca.po: Update Catalan translation from translation project.
936241e4 1412 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1413
acd06bb1
JM
14142013-08-21 Joseph Myers <joseph@codesourcery.com>
1415
1416 [BZ #15797]
1417 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1418 is infinite, not alongside NaN test.
1419 * math/s_fdimf.c (__fdimf): Likewise.
1420 * math/s_fdiml.c (__fdiml): Likewise.
1421 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1422 errno is unchanged.
1423
c0c3f78a
OB
14242013-08-21 Ondřej Bílka <neleai@seznam.cz>
1425
1426 * argp/argp-help.c: Fix typos.
1427 * crypt/speeds.c: Likewise.
1428 * csu/check_fds.c: Likewise.
1429 * elf/dl-load.c: Likewise.
1430 * elf/dl-open.c: Likewise.
1431 * elf/reldep3.c: Likewise.
1432 * elf/reldep.c: Likewise.
1433 * elf/sprof.c: Likewise.
1434 * iconv/iconv_charmap.c: Likewise.
1435 * iconv/skeleton.c: Likewise.
1436 * iconv/strtab.c: Likewise.
1437 * io/lockf64.c: Likewise.
1438 * libio/libioP.h: Likewise.
1439 * resolv/gai_notify.c: Likewise.
1440 * resolv/ns_name.c: Likewise.
1441 * resolv/ns_samedomain.c: Likewise.
1442 * resolv/res_send.c: Likewise.
1443 * stdlib/random.c: Likewise.
1444 * sunrpc/rpc/xdr.h: Likewise.
1445 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1446 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1447 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1448 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1450 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1452 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1453 * sysdeps/mach/hurd/check_fds.c: Likewise.
1454 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1455 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1456 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1457 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1458 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1459 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1460 * sysdeps/pthread/aio_notify.c: Likewise.
1461 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1462 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1463 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1464 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1465 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1466
46ed1038
LD
14672013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1468
1469 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1470 version if bit_Slow_SSE4_2 is set.
1471 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1472 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1473
d400dcac
AZ
14742013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1475
1476 [BZ #15867]
1477 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1478 trampoline stack frame information.
1479 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1480 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1481 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1482 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1483 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1484 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1485 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1486 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1487 sa_flags value.
1488 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1489 interrupting a syscall and set with option SA_SIGINFO.
1490
42c8fdd8
JM
14912013-08-20 Joseph Myers <joseph@codesourcery.com>
1492
c980f2f4
JM
1493 [BZ #15531]
1494 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1495 argument is infinite.
1496 * math/s_cprojf.c (__cprojf): Likewise.
1497 * math/s_cprojl.c (__cprojl): Likewise.
1498 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1499 * math/libm-test.inc (cproj_test_data): Add more tests.
1500
0716c4fc
JM
1501 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1502
42c8fdd8
JM
1503 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1504 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1505 size. Use __ffs to determine corresponding shift.
1506
b31469d0
JM
15072013-08-20 Joseph Myers <joseph@codesourcery.com>
1508 Roland McGrath <roland@hack.frob.com>
1509
1510 * Makefile (INSTALL): Remove trailing blank lines from output of
1511 makeinfo.
1512
4e39af6e
AK
15132013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1514
1515 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1516 Align 32 bit compat elf_greg to 8 bytes.
1517
f315524e
AA
15182013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1519
1520 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1521
1326ba1a
SP
15222013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1523
1524 * string/strcoll_l.c (coll_seq): New structure.
1525 (get_next_seq_cached): New function.
1526 (get_next_seq): New function.
1527 (do_compare): New function.
1528 (STRCOLL): Use GNU style definition. Simplify implementation
1529 by using get_next_seq, get_next_seq_cached and do_compare.
1530
91ce4085
FW
15312013-08-16 Florian Weimer <fweimer@redhat.com>
1532
1533 [BZ #14699]
1534 CVE-2013-4237
1535 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1536 member.
1537 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1538 member.
1539 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1540 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1541 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1542 conditional.
1543 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1544 GETDENTS_64BIT_ALIGNED.
1545 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1546 * manual/filesys.texi (Reading/Closing Directory): Document
1547 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1548 strongly.
1549 * manual/conf.texi (Limits for Files): Add portability note to
1550 NAME_MAX, PATH_MAX.
1551 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1552
ca0a6bc4
AS
15532013-08-13 Andreas Schwab <schwab@suse.de>
1554
1555 [BZ #15749]
1556 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1557 of fabs.
1558 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1559 LDBL_MAX_EXP >= 16384]: Add tests for it.
1560
6c1fd795
DM
15612013-08-12 David S. Miller <davem@davemloft.net>
1562
1563 * version.h (RELEASE): Set to "development".
1564 (VERSION): Set to "2.18.90".
1565 * NEWS: Add 2.19 section.
1566
31ad488d
DM
15672013-08-03 David S. Miller <davem@davemloft.net>
1568
1569 * po/ko.po: Update Korean translation from translation project.
1570
db24e684
DM
15712013-08-01 David S. Miller <davem@davemloft.net>
1572
1573 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1574 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1575 Bilka.
1576
f723285b
DM
15772013-07-30 David S. Miller <davem@davemloft.net>
1578
1579 * po/fr.po: Update French translation from translation project.
1580
3cbc52db
DM
15812013-07-28 David S. Miller <davem@davemloft.net>
1582
30bbc0cc
DM
1583 * po/cs.po: Update Czech translation from translation project.
1584
3cbc52db
DM
1585 * po/sv.po: Update Swedish translation from translation project.
1586
d492e6d0
DM
15872013-07-27 David S. Miller <davem@davemloft.net>
1588
f1a7f492
DM
1589 * po/eo.po: Update Esperanto translation from translation project.
1590
90e62a4a
DM
1591 * po/vi.po: Update Vietnamese translation from translation project.
1592
d492e6d0
DM
1593 * po/de.po: Update German translation from translation project.
1594
d4baa62d
DM
15952013-07-26 David S. Miller <davem@davemloft.net>
1596
641aa7b4
DM
1597 * po/bg.po: Update Bulgarian translation from translation project.
1598
d4baa62d
DM
1599 * po/nl.po: Update Dutch translation from translation project.
1600 * po/pl.po: Update Polish translation from translation project.
1601 * po/ru.po: Update Russian translation from translation project.
1602
61a9dcb9
DM
16032013-07-24 David S. Miller <davem@davemloft.net>
1604
1605 * po/libc.pot: Update.
1606
7b1f8b58
AZ
16072013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1608
1609 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1610 variable page size.
1611 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1612 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1613 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1614
a8fc7a03
AK
16152013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1616
1617 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1618
e4608715
CD
16192013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1620 Andreas Schwab <schwab@suse.de>
1621 Roland McGrath <roland@hack.frob.com>
1622 Joseph Myers <joseph@codesourcery.com>
1623 Carlos O'Donell <carlos@redhat.com>
1624
1625 [BZ #15755]
1626 * config.h.in: Define HAVE_PT_CHOWN.
1627 * config.make.in (build-pt-chown): New variable.
1628 * configure.in (--enable-pt_chown): New configure option.
1629 * configure: Regenerate.
1630 * login/Makefile: Include Makeconfig. Build pt_chown only if
1631 build-pt-chown is enabled.
1632 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1633 pt_chown to fix pty ownership.
1634 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1635 CLOSE_ALL_FDS.
1636 * manual/install.texi (Configuring and compiling): Mention
1637 --enable-pt_chown. Add @findex for grantpt.
1638 * INSTALL: Regenerate.
1639
da2d62df
DM
16402013-07-20 David S. Miller <davem@davemloft.net>
1641
1642 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1643 difference between 32-bit and 64-bit.
1644
d7e06450
CD
16452013-07-15 Carlos O'Donell <carlos@redhat.com>
1646
1647 [BZ #15711]
1648 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1649 Avoid system header dependency with -ffreestanding.
1650 ($(objpfx)bits/syscall%d): Likewise.
1651
f959cfd7
DM
16522013-07-13 David S. Miller <davem@davemloft.net>
1653
1654 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1655 underflows from atanl/atan2l due to bug 15319.
1656 (casinh_test_data): Likewise.
1657
c61f8513
DM
16582013-07-07 David S. Miller <davem@davemloft.net>
1659
1660 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1661
72c90ed0
JA
16622013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1663
1664 * sysdeps/i386/fpu/libm-test-ulps: Update.
1665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1666
52dfbe13
SP
16672013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1668
1669 * configure.in (--enable-lock-elision): Fix message text.
1670 * INSTALL: Regenerate.
1671 * configure: Regenerate.
1672
3f169543
AZ
16732013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1674
1675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1676
521c6785
AJ
16772013-07-03 Andreas Jaeger <aj@suse.de>
1678
1679 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1680 define.
1681 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1682 (ptrace_peeksiginfo_args): Add.
1683 (__ptrace_peeksiginfo_flags): Add.
1684 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1686 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1687
d2cc15cb
AM
16882013-07-03 Allan McRae <allan@archlinux.org>
1689
1690 * sysdeps/i386/fpu/libm-test-ulps: Update.
1691
3aaeeca7
DM
16922013-07-02 David S. Miller <davem@davemloft.net>
1693
1694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1695
5314ed1a
MT
16962013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1697
1698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1699
67338156
JM
17002013-07-02 Joseph Myers <joseph@codesourcery.com>
1701
1702 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1704
1717da59
AK
17052013-07-02 Andi Kleen <ak@linux.intel.com>
1706
1707 * config.h.in (ENABLE_LOCK_ELISION): Add.
1708 * configure.in (--enable-lock-elision): Add option.
1709 * manual/install.texi: Document --enable lock elision.
1710 * configure: Regenerate
1711 * INSTALL: Regenerate.
1712
1c81621c
L
17132013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1714
1715 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1716 SSE4.2 strcasecmp for libc.a.
1717 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1718
77f01ab5
JM
17192013-07-02 Joseph Myers <joseph@codesourcery.com>
1720
1721 [BZ #13304]
1722 * soft-fp/op-common.h (_FP_FMA): New macro.
1723 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1724 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1725 (_FP_MUL_MEAT_1_imm): ... here.
1726 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1727 (_FP_MUL_MEAT_1_wide): ... here.
1728 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1729 (_FP_MUL_MEAT_1_hard): ... here.
1730 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1731 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1732 (_FP_MUL_MEAT_2_wide): ... here.
1733 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1734 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1735 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1736 (_FP_MUL_MEAT_2_gmp): ... here.
1737 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1738 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1739 (_FP_MUL_MEAT_4_wide): ... here.
1740 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1741 (_FP_MUL_MEAT_4_gmp): ... here.
1742 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1743 (_FP_WFRACBITS_DW_S): Likewise.
1744 (_FP_WFRACXBITS_DW_S): Likewise.
1745 (_FP_HIGHBIT_DW_S): Likewise.
1746 (FP_FMA_S): Likewise.
1747 (_FP_FRAC_HIGH_DW_S): Likewise.
1748 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1749 (_FP_WFRACBITS_DW_D): Likewise.
1750 (_FP_WFRACXBITS_DW_D): Likewise.
1751 (_FP_HIGHBIT_DW_D): Likewise.
1752 (FP_FMA_D): Likewise.
1753 (_FP_FRAC_HIGH_DW_D): Likewise.
1754 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1755 (_FP_WFRACBITS_DW_E): Likewise.
1756 (_FP_WFRACXBITS_DW_E): Likewise.
1757 (_FP_HIGHBIT_DW_E): Likewise.
1758 (FP_FMA_E): Likewise.
1759 (_FP_FRAC_HIGH_DW_E): Likewise.
1760 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1761 (_FP_WFRACBITS_DW_Q): Likewise.
1762 (_FP_WFRACXBITS_DW_Q): Likewise.
1763 (_FP_HIGHBIT_DW_Q): Likewise.
1764 (FP_FMA_Q): Likewise.
1765 (_FP_FRAC_HIGH_DW_Q): Likewise.
1766 * soft-fp/fmasf4.c: New file.
1767 * soft-fp/fmadf4.c: Likewise.
1768 * soft-fp/fmatf4.c: Likewise.
1769
6308fd9a
LD
17702013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1771
1772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1773 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1774 Silvermont.
1775 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1776 macro.
1777 (index_Slow_SSE4_2): Likewise.
1778 (index_Prefer_PMINUB_for_stringop): Likewise.
1779 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1780 bit_Slow_SSE4_2 is set.
1781 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1782 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1783
89cd9569
RA
17842013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1785
1786 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1787 rtld_global._dl_hwcap2.
1788 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1789 POWER8.
1790 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1791 POWER8 feature descriptions defined in _dl_hwcap2.
1792 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1793 string handling for POWER8 feature bits.
1794 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1795 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1796 _dl_powerpc_cap_flags.
1797 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1798 * sysdeps/powerpc/rtld-global-offsets.sym
1799 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1800 _dl_hwcap2 in the rtld_global_ro structure.
1801
1ae8bfe0
RA
18022013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1803
1804 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1805 hardware capabilities in support of AT_HWCAP2.
1806 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1807 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1808 GLRO(dl_hwcap2).
1809 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1810 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1811 explicitly the unknown a_type display mechanism is used.
1812 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1813 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1814 struct member.
1815 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1816 to macro prototype for AT_HWCAP2 support.
1817 * sysdeps/i386/dl-procinfo.h: Likewise.
1818 * sysdeps/s390/dl-procinfo.h: Likewise.
1819 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1820 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1821 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1822 return -1 for unknown a_type display fallback.
1823 * sysdeps/sparc/dl-procinfo.h: Likewise.
1824 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1825 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1826
8fbec010
JM
18272013-06-28 Joseph Myers <joseph@codesourcery.com>
1828
1829 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1830 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1831
0432680e
PY
18322013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1833
1834 [BZ #12492]
1835 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1836 mprotect making __stack_prot writable.
1837
ce61a2ad
NF
18382013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1839 Joseph Myers <joseph@codesourcery.com>
1840
1841 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1842 as being properly aligned.
1843
f91f1c0f
MR
18442013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1845
3d0f5d0c
MR
1846 * dlfcn/modstatic5.c: New file.
1847 * dlfcn/tststatic5.c: New file.
1848 * dlfcn/Makefile (tests): Add tststatic5.
1849 (tests-static): Likewise.
1850 (modules-names): Add modstatic5.
1851 (tststatic5-ENV): New variable.
1852 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1853
f91f1c0f
MR
1854 [BZ #15022]
1855 * elf/dl-support.c (_dl_main_map): New variable.
1856 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1857 (_dl_nns, _dl_load_adds): Set to 1.
1858 (_dl_initial_searchlist): Refer to _dl_main_map.
1859 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1860 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1861 call to _dl_get_origin.
1862 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1863 around call_map.
1864 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1865 * dlfcn/modstatic3.c: New file.
1866 * dlfcn/tststatic3.c: New file.
1867 * dlfcn/tststatic4.c: New file.
1868 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1869 (tests-static): Likewise.
1870 (modules-names): Add modstatic3.
1871 (tststatic3-ENV, tststatic4-ENV): New variables.
1872 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1873 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1874
cbe7d24b
JM
18752013-06-26 Joseph Myers <joseph@codesourcery.com>
1876
1877 * configure.in (CC): Require GCC version 4.4 or later.
1878 * configure: Regenerated.
1879 * manual/install.texi (Tools for Compilation): Update GCC version
1880 requirement.
1881 * INSTALL: Regenerated.
1882
11b8a0e1
LD
18832013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1884
1885 [BZ #15674]
bb5bb87c
L
1886 * string/test-memcmp.c (check2): New.
1887 (main): Call check2.
1888
11b8a0e1
LD
1889 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1890
b0037103
MR
18912013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1892
1893 [BZ #15022]
1894 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1895 over to...
1896 (dl_open_worker) [!SHARED]: ... here.
1897
c18c701d
RA
18982013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1899
1900 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1901
1d17fa5f
RH
19022013-06-25 Richard Henderson <rth@redhat.com>
1903
1904 * locale/programs/locarchive.c: Include <libc-internal.h>
1905
8fcb833a
JM
19062013-06-25 Joseph Myers <joseph@codesourcery.com>
1907
1908 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1909 trailing whitespace removed.
1910
17db6e8d
MF
19112013-06-24 Mike Frysinger <vapier@gentoo.org>
1912
1913 [BZ #10283]
17db6e8d
MF
1914 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1915 * locale/programs/locarchive.c: Include libc-mmap.h.
1916 (prepare_address_space): Take two new outputs (the mmap base and len).
1917 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1918 values.
1919 (create_archive): Declare new mmap base and len values for
1920 prepare_address_space, and store the result in ah.
1921 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1922 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1923 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1924 Declare new mmap base and len values for
1925 prepare_address_space, and store the result in new_ah.
1926 (open_archive): Declare new mmap base and len values for
1927 prepare_address_space, and store the result in ah.
1928 (close_archive): If ah->mmap_base is not NULL, use that and
1929 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1930 * sysdeps/generic/libc-mmap.h: New file.
1931
d605071e
MF
19322013-06-24 Mike Frysinger <vapier@gentoo.org>
1933
1934 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1935 (ALIGN_UP): Likewise.
1936 (PTR_ALIGN_DOWN): Likewise.
1937 (PTR_ALIGN_UP): Likewise.
1938
2f063a6e
RA
19392013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1940
1941 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1942 entry mapped to PPC_PLATFORM_POWER8.
1943 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1944 POWER8.
1945 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1946 (_dl_string_platform): Add case for exporting platform position for
1947 POWER8.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1949 search path to sysdeps/powerpc/powerpc32/power8 directory.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1951 search path to sysdeps/powerpc/powerpc64/power8 directory.
1952 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1953 power7 directories.
1954 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1955 power7 directories.
1956
a31ee4b3
SP
19572013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1958
a74ca98f
SP
1959 * INSTALL: Regenerate.
1960
a31ee4b3
SP
1961 * nscd/connections.c (nscd_init): Fix comment.
1962
695c378f
JM
19632013-06-22 Joseph Myers <joseph@codesourcery.com>
1964
d8412221
JM
1965 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1966
695c378f
JM
1967 [BZ #15667]
1968 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1969 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1970
d1d54715
MR
19712013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1972
1973 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1974 DL_DST_REQ_STATIC.
1975 (DL_DST_REQ_STATIC): Remove macro.
1976
8fdda7af
JM
19772013-06-21 Joseph Myers <joseph@codesourcery.com>
1978
1979 [BZ #7006]
1980 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1981 with a shift of 0 bits.
1982
f3bc5e5a
MR
19832013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1984
1985 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1986 $(tststatic-ENV).
1987
be09e8c9
KK
19882013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1989
1990 [BZ #15655]
1991 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1992
85c2e611
AZ
19932013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1994
1995 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1996 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1997 accepts -fno-tree-loop-distribute-patterns.
1998 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1999 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2000 recursive call.
2001 * string/memset.c (memset): Likewise.
2002 * string/test-memmove.c (simple_memmove): Disable loop transformation
2003 to library calls.
2004 * string/test-memset.c (simple_memset): Likewise.
2005 * benchtests/bench-memmove.c (simple_memmove): Likewise.
2006 * benchtests/bench-memset.c (simple_memset): Likewise.
2007 * configure: Regenerated.
2008
c91e0825
JM
20092013-06-20 Joseph Myers <joseph@codesourcery.com>
2010
b8c792af
JM
2011 * math/test-misc.c (main): Ignore fesetround failure when failures
2012 of subsequent rounding tests would be ignored.
2013
c91e0825
JM
2014 [BZ #15654]
2015 * math/fedisblxcpt.c (fedisableexcept): Return 0.
2016 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2017 * math/fegetenv.c (__fegetenv): Return 0.
2018 * math/fegetexcept.c (fegetexcept): Return 0.
2019 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2020 FE_TONEAREST.
2021 * math/feholdexcpt.c (feholdexcept): Return 0.
2022 * math/fesetenv.c (__fesetenv): Return 0.
2023 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2024 argument FE_TONEAREST.
2025 * math/feupdateenv.c (__feupdateenv): Return 0.
2026 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2027
bfcacbde
RM
20282013-06-18 Roland McGrath <roland@hack.frob.com>
2029
2030 * elf/rtld-Rules (rtld-compile-command.S): New variable.
2031 (rtld-compile-command.s, rtld-compile-command.c): New variables.
2032 ($(objpfx)rtld-%.os rules): Use them.
2033
e55a9b25
AZ
20342013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2035
2036 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2037 fields.
2038
346d65b3
RM
20392013-06-17 Roland McGrath <roland@hack.frob.com>
2040
12086fb4
RM
2041 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2042 length of target pattern, then descending length of dependency pattern.
2043 * configure.in (AWK): Require gawk 3.1.2 or newer.
2044 * manual/install.texi (Tools for Compilation): Say that we do.
2045 * configure: Regenerated.
2046
346d65b3
RM
2047 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2048 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2049 * scripts/sysd-rules.awk: ... this new script.
2050 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2051 than a glob-style pattern.
2052
1a846317
JM
20532013-06-17 Joseph Myers <joseph@codesourcery.com>
2054
2055 * math/test-misc.c (main): Do not treat incorrectly rounded
2056 conversions as failure unless ROUNDING_TESTS passes.
2057
8fc75e6f
JM
20582013-06-15 Joseph Myers <joseph@codesourcery.com>
2059
3711a167
JM
2060 [BZ #15631]
2061 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2062 restore exception state around main square root computation, then
2063 check for inexactness explicitly.
2064
8fc75e6f
JM
2065 * math/libm-test.inc (fma_test_data): Add another test.
2066
61dd6208
SP
20672013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2068
adf23d2c
SP
2069 * manual/threads.texi (Non-POSIX Extensions): New document
2070 node. Document pthread_getattr_default_np and
2071 pthread_setattr_default_np.
2072
61dd6208
SP
2073 * Versions.def (libpthread): Add GLIBC_2.18.
2074 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2076 Likewise.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2078 Likewise.
2079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2080 Likewise.
2081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2082 Likewise.
2083 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2084 Likewise.
2085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2086 Likewise.
2087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2088 Likewise.
2089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2090 Likewise.
2091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2092 Likewise.
2093
d086fc7b
LD
20942013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2095
2096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2097 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2098
747ef469
SP
20992013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2100 H.J. Lu <hjl.tools@gmail.com>
2101
2102 [BZ #15627]
2103 * sysdeps/x86_64/rtld-memset.c: Remove file.
2104 * sysdeps/x86_64/rtld-memset.S: New file.
2105
1b2feed2
JM
21062013-06-14 Joseph Myers <joseph@codesourcery.com>
2107
2108 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2109 (test_in_one_mode): Take arguments for whether the rounding mode
2110 is supported for each floating-point type.
2111 (do_test): Pass new arguments to test_in_one_mode using
2112 ROUNDING_TESTS.
2113
a58ad3f8
RM
21142013-06-13 Roland McGrath <roland@hack.frob.com>
2115
2116 * posix/tst-waitid.c (do_test): Distinguish different instances of
2117 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2118 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2119 before entering the kernel for waitpid.
2120
c204ab28
SP
21212013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2122
2123 * NEWS: Fix note on clock function precision. Text by Roland
2124 McGrath.
2125
f4a29fba
RM
21262013-06-13 Roland McGrath <roland@hack.frob.com>
2127
2128 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2129 it into place only when and if the sanity check passes.
2130
1f24b9ad
JM
21312013-06-13 Joseph Myers <joseph@codesourcery.com>
2132
2133 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2134 output for whether conversion result is exact. Take argument
2135 indicating whether type is IBM long double.
2136 (round_for_all): Change need_exact field to ibm_ld.
2137 * stdlib/tst-strtod-round.c (struct exactness): New type.
2138 (struct test): Change bool ld_ok field to struct exactness exact.
2139 (TEST): Update all definitions for change to field.
2140 (tests): Regenerate array contents.
2141 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2142 field value. Check for IBM long double here.
2143 (do_test): Update calls to test_in_one_mode.
2144
58206c68
SP
21452013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2146
2147 [BZ #12515]
2148 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2149 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2150
2d6f4c5b 21512013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2152
2153 [BZ #15605]
2154 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2155 generated by the compiler on loop optimizations.
2156 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2157 general definitions.
2158
94f2c076
JM
21592013-06-12 Joseph Myers <joseph@codesourcery.com>
2160
2161 * math/bug-nextafter.c: Include <math-tests.h>.
2162 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2163 the relevant type.
2164 * math/bug-nexttoward.c: Include <math-tests.h>.
2165 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2166 the relevant type.
2167 * math/test-misc.c: Include <math-tests.h>.
2168 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2169 the relevant type.
2170
e0e50a0a
AJ
21712013-06-12 Andreas Jaeger <aj@suse.de>
2172
2173 * po/ia.po: Update Interlingua translation from translation
2174 project.
2175
25061094
SP
21762013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2177
2178 * include/fenv.h: Include stdbool.h.
2179 (struct rm_ctx): New structure.
2180 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2181 Define macro.
2182 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2183 (SET_RESTORE_ROUNDF): Likewise.
2184 (SET_RESTORE_ROUNDL): Likewise.
2185 (SET_RESTORE_ROUND_NOEX): Likewise.
2186 (SET_RESTORE_ROUND_NOEXF): Likewise.
2187 (SET_RESTORE_ROUND_NOEXL): Likewise.
2188 (SET_RESTORE_ROUND_53BIT): Likewise.
2189 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2190 (libc_feresetround_noexf_ctx): Likewise.
2191 (libc_feresetround_noexl_ctx): Likewise.
2192 (libc_feholdsetround_53bit_ctx): Likewise.
2193 (libc_feresetround_53bit_ctx): Likewise.
2194 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2195 (libc_feholdexcept_setround_sse_ctx): New function.
2196 (libc_fesetenv_sse_ctx): Likewise.
2197 (libc_feupdateenv_sse_ctx): Likewise.
2198 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2199 (libc_feholdexcept_setround_387_ctx): Likewise.
2200 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2201 (libc_feholdsetround_387_prec_ctx): Likewise.
2202 (libc_feholdsetround_387_ctx): Likewise.
2203 (libc_feholdsetround_387_53bit_ctx): Likewise.
2204 (libc_feholdsetround_sse_ctx): Likewise.
2205 (libc_feresetround_sse_ctx): Likewise.
2206 (libc_feresetround_387_ctx): Likewise.
2207 (libc_feupdateenv_387_ctx): Likewise.
2208 (libc_feholdexcept_setroundf_ctx): Define macro.
2209 (libc_fesetenvf_ctx): Likewise.
2210 (libc_feupdateenvf_ctx): Likewise.
2211 (libc_feholdsetroundf_ctx): Likewise.
2212 (libc_feresetroundf_ctx): Likewise.
2213 (libc_feholdexcept_setround_ctx): Likewise.
2214 (libc_fesetenv_ctx): Likewise.
2215 (libc_feupdateenv_ctx): Likewise.
2216 (libc_feholdsetround_ctx): Likewise.
2217 (libc_feresetround_ctx): Likewise.
2218 (libc_feholdexcept_setroundl_ctx): Likewise.
2219 (libc_feupdateenvl_ctx): Likewise.
2220 (libc_feholdsetroundl_ctx): Likewise.
2221 (libc_feresetroundl_ctx): Likewise.
2222 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2223 (libc_feresetround_53bit_ctx): Likewise.
2224
59b30555
SP
22252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2226
2227 * locale/iso-639.def: Convert to UTF-8.
2228
f1d73d30
JM
22292013-06-11 Joseph Myers <joseph@codesourcery.com>
2230
2231 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2232 (EXCEPTION_TESTS_double): Likewise.
2233 (EXCEPTION_TESTS_long_double): Likewise.
2234 (EXCEPTION_TESTS): Likewise.
2235 * math/libm-test.inc (test_exceptions): Only test exceptions if
2236 EXCEPTION_TESTS (FLOAT).
2237
94aca5e7
SP
22382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2239
2240 * benchtests/Makefile (string-bench): Add strcpy_chk and
2241 stpcpy_chk.
2242 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2243 * benchtests/bench-stpcpy_chk.c: New file.
2244 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2245 * benchtests/bench-strcpy_chk.c: New file.
2246 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2247 code.
2248 (do_test): Likewise.
2249
fac0c5f2
RA
22502013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2251
2252 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2253 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2254 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2255 with tabs where appropriate.
2256 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2257 dl-procinfo.h.
2258 [PPC_PLATFORM_PPC440]: Likewise.
2259 [PPC_PLATFORM_PPC464]: Likewise.
2260 [PPC_PLATFORM_PPC476]: Likewise.
2261 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2262 ppc464, and ppc476 platform strings merging from ports/
2263 dl-procinfo.h.
2264
f22bc486
AS
22652013-06-11 Andreas Schwab <schwab@suse.de>
2266
2267 [BZ #14991]
2268 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2269 (from_ucs4_idx): Regenerate.
2270 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2271 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2272 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2273 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2274 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2275 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2276 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2277 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2278 from FROM_LOOP and TO_LOOP specific macros.
2279 (BODY): Handle combining characters.
2280 * iconvdata/BIG5HKSCS.irreversible: Update.
2281 * iconvdata/BIG5HKSCS.precomposed: New file.
2282 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2283 characters.
2284 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2285
c1f75dc3
SP
22862013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2287
4eacded2
SP
2288 * include/sys/time.h: Fix indentation and add copyright header.
2289
fec799f8
SP
2290 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2291 (do_test): Likewise.
2292 * string/test-memchr.c (do_one_test): Likewise.
2293 (do_test): Likewise.
2294 * string/test-memcmp.c (do_one_test): Likewise.
2295 (do_test): Likewise.
2296 * string/test-memcpy.c (do_one_test): Likewise.
2297 (do_test): Likewise.
2298 * string/test-memmem.c (do_one_test): Likewise.
2299 (do_test): Likewise.
2300 (do_random_tests): Likewise.
2301 * string/test-memmove.c (do_one_test): Likewise.
2302 (do_test): Likewise.
2303 * string/test-memset.c (do_one_test): Likewise.
2304 (do_test): Likewise.
2305 * string/test-rawmemchr.c (do_one_test): Likewise.
2306 (do_test): Likewise.
2307 * string/test-strcasecmp.c (do_one_test): Likewise.
2308 (do_test): Likewise.
2309 * string/test-strcasestr.c (do_one_test): Likewise.
2310 (do_test): Likewise.
2311 * string/test-strcat.c (do_one_test): Likewise.
2312 (do_test): Likewise.
2313 * string/test-strchr.c (do_one_test): Likewise.
2314 (do_test): Likewise.
2315 * string/test-strcmp.c (do_one_test): Likewise.
2316 (do_test): Likewise.
2317 * string/test-strcpy.c (do_one_test): Likewise.
2318 (do_test): Likewise.
2319 * string/test-string.h: Likewise.
2320 (test_init): Likewise.
2321 * string/test-strlen.c (do_one_test): Likewise.
2322 (do_test): Likewise.
2323 * string/test-strncasecmp.c (do_one_test): Likewise.
2324 (do_test): Likewise.
2325 * string/test-strncat.c (do_one_test): Likewise.
2326 (do_test): Likewise.
2327 * string/test-strncmp.c (do_one_test): Likewise.
2328 (do_test_limit): Likewise.
2329 (do_test): Likewise.
2330 * string/test-strncpy.c (do_one_test): Likewise.
2331 (do_test): Likewise.
2332 * string/test-strnlen.c (do_one_test): Likewise.
2333 (do_test): Likewise.
2334 * string/test-strpbrk.c (do_one_test): Likewise.
2335 (do_test): Likewise.
2336 * string/test-strrchr.c (do_one_test): Likewise.
2337 (do_test): Likewise.
2338 * string/test-strspn.c (do_one_test): Likewise.
2339 (do_test): Likewise.
2340 * string/test-strstr.c (do_one_test): Likewise.
2341 (do_test): Likewise.
2342
97020474
SP
2343 * benchtests/Makefile (string-bench): Add string benchmarks.
2344 * benchtests/bench-bcopy-ifunc.c: New file.
2345 * benchtests/bench-bcopy.c: New file.
2346 * benchtests/bench-bzero-ifunc.c: New file.
2347 * benchtests/bench-bzero.c: New file.
2348 * benchtests/bench-memccpy-ifunc.c: New file.
2349 * benchtests/bench-memccpy.c: New file.
2350 * benchtests/bench-memchr-ifunc.c: New file.
2351 * benchtests/bench-memchr.c: New file.
2352 * benchtests/bench-memcmp-ifunc.c: New file.
2353 * benchtests/bench-memcmp.c: New file.
2354 * benchtests/bench-memmem-ifunc.c: New file.
2355 * benchtests/bench-memmem.c: New file.
2356 * benchtests/bench-memmove-ifunc.c: New file.
2357 * benchtests/bench-memmove.c: New file.
2358 * benchtests/bench-mempcpy-ifunc.c: New file.
2359 * benchtests/bench-mempcpy.c: New file.
2360 * benchtests/bench-memset-ifunc.c: New file.
2361 * benchtests/bench-memset.c: New file.
2362 * benchtests/bench-rawmemchr-ifunc.c: New file.
2363 * benchtests/bench-rawmemchr.c: New file.
2364 * benchtests/bench-stpcpy-ifunc.c: New file.
2365 * benchtests/bench-stpcpy.c: New file.
2366 * benchtests/bench-stpncpy-ifunc.c: New file.
2367 * benchtests/bench-stpncpy.c: New file.
2368 * benchtests/bench-strcasecmp-ifunc.c: New file.
2369 * benchtests/bench-strcasecmp.c: New file.
2370 * benchtests/bench-strcasestr-ifunc.c: New file.
2371 * benchtests/bench-strcasestr.c: New file.
2372 * benchtests/bench-strcat-ifunc.c: New file.
2373 * benchtests/bench-strcat.c: New file.
2374 * benchtests/bench-strchr-ifunc.c: New file.
2375 * benchtests/bench-strchr.c: New file.
2376 * benchtests/bench-strchrnul-ifunc.c: New file.
2377 * benchtests/bench-strchrnul.c: New file.
2378 * benchtests/bench-strcmp-ifunc.c: New file.
2379 * benchtests/bench-strcmp.c: New file.
2380 * benchtests/bench-strcpy-ifunc.c: New file.
2381 * benchtests/bench-strcpy.c: New file.
2382 * benchtests/bench-strcspn-ifunc.c: New file.
2383 * benchtests/bench-strcspn.c: New file.
2384 * benchtests/bench-strlen-ifunc.c: New file.
2385 * benchtests/bench-strlen.c: New file.
2386 * benchtests/bench-strncasecmp-ifunc.c: New file.
2387 * benchtests/bench-strncasecmp.c: New file.
2388 * benchtests/bench-strncat-ifunc.c: New file.
2389 * benchtests/bench-strncat.c: New file.
2390 * benchtests/bench-strncmp-ifunc.c: New file.
2391 * benchtests/bench-strncmp.c: New file.
2392 * benchtests/bench-strncpy-ifunc.c: New file.
2393 * benchtests/bench-strncpy.c: New file.
2394 * benchtests/bench-strnlen-ifunc.c: New file.
2395 * benchtests/bench-strnlen.c: New file.
2396 * benchtests/bench-strpbrk-ifunc.c: New file.
2397 * benchtests/bench-strpbrk.c: New file.
2398 * benchtests/bench-strrchr-ifunc.c: New file.
2399 * benchtests/bench-strrchr.c: New file.
2400 * benchtests/bench-strspn-ifunc.c: New file.
2401 * benchtests/bench-strspn.c: New file.
2402 * benchtests/bench-strstr-ifunc.c: New file.
2403 * benchtests/bench-strstr.c: New file.
2404
c1f75dc3
SP
2405 * benchtests/Makefile: Disable parallel execution of targets.
2406 (string-bench): Add memcpy.
2407 (benchset): New variable to store a list of benchmark sets.
2408 (bench-func): Renamed from bench.
2409 (bench-set): New target.
2410 (bench): Depend on bench-func and bench-set.
2411 * benchtests/README: Add section on benchmark sets.
2412 * benchtests/bench-memcpy-ifunc.c: New file.
2413 * benchtests/bench-memcpy.c: New file.
2414 * benchtests/bench-string.h: New file.
2415
50fd745b
AS
24162013-06-11 Andreas Schwab <schwab@suse.de>
2417
2418 [BZ #15577]
2419 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2420 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2421 values in the triple.
2422 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2423 terminator in the group key.
2424
3ee7e9fe
AJ
24252013-06-11 Andreas Jaeger <aj@suse.de>
2426
2427 * po/zh_TW.po: Update Chinese (traditional) translation from
2428 translation project.
2429
89fb6835
SP
24302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2431
2432 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2433 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2434 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2435 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2436 (clock_getcpuclockid): Likewise.
2437 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2438 Add weak_alias and libc_hidden_def.
2439 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2440 * rt/clock_gettime.c (clock_gettime): Rename to
2441 __clock_gettime. Add weak_alias and libc_hidden_def.
2442 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2443 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2444 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2445 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2446 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2447 Likewise.
2448 * rt/clock_settime.c (clock_settime): Rename to
2449 __clock_settime. Add weak_alias and libc_hidden_def.
2450 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2451
0efa6f8b
JM
24522013-06-10 Joseph Myers <joseph@codesourcery.com>
2453
b8c61b4b
JM
2454 * mach/err_boot.sub: Remove trailing whitespace.
2455 * mach/err_ipc.sub: Likewise.
2456 * mach/err_mach.sub: Likewise.
2457
0efa6f8b
JM
2458 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2459 (ROUNDING_TESTS_double): Likewise.
2460 (ROUNDING_TESTS_long_double): Likewise.
2461 (ROUNDING_TESTS): Likewise.
2462 * math/libm-test.inc: Include <math-tests.h>.
2463 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2464 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2465 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2466 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2467
50b818bf
SP
24682013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2469
2470 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2471 of assigning.
2472
60d2f8f3
JM
24732013-06-08 Joseph Myers <joseph@codesourcery.com>
2474
4902d2c3
JM
2475 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2476 otherwise empty TRANS lines.
2477 * sysdeps/gnu/errlist.c: Regenerated.
2478
60d2f8f3
JM
2479 * catgets/gencat.c (error_print): Use (void) in function
2480 definition.
2481 * crypt/crypt_util.c (__init_des): Likewise.
2482 * crypt/speeds.c (Stop): Likewise.
2483 (main): Likewise.
2484 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2485 * inet/ruserpass.c (token): Likewise.
2486 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2487 * intl/localealias.c (extend_alias_table): Likewise.
2488 * intl/plural-exp.c (init_germanic_plural): Likewise.
2489 * libio/fcloseall.c (__fcloseall): Likewise.
2490 * libio/genops.c (_IO_flush_all): Likewise.
2491 (_IO_flush_all_linebuffered): Likewise.
2492 (_IO_cleanup): Likewise.
2493 (_IO_iter_begin): Likewise.
2494 (_IO_iter_end): Likewise.
2495 (_IO_list_lock): Likewise.
2496 (_IO_list_unlock): Likewise.
2497 (_IO_list_resetlock): Likewise.
2498 * libio/getchar.c (getchar): Likewise.
2499 * libio/getchar_u.c (getchar_unlocked): Likewise.
2500 * libio/getwchar.c (getwchar): Likewise.
2501 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2502 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2503 * login/getpt.c (__getpt): Likewise.
2504 * login/tst-utmp.c (main): Likewise.
2505 * malloc/hooks.c (__malloc_check_init): Likewise.
2506 * malloc/malloc.c (__malloc_stats): Likewise.
2507 * malloc/mtrace.c (tr_break): Likewise.
2508 (mtrace): Likewise.
2509 (muntrace): Likewise.
2510 * misc/fstab.c (endfsent): Likewise.
2511 * misc/getclktck.c (__getclktck): Likewise.
2512 * misc/getdtsz.c (__getdtablesize): Likewise.
2513 * misc/gethostid.c (gethostid): Likewise.
2514 * misc/getpagesize.c (__getpagesize): Likewise.
2515 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2516 (__get_nprocs): Likewise.
2517 (__get_phys_pages): Likewise.
2518 (__get_avphys_pages): Likewise.
2519 * misc/getttyent.c (getttyent): Likewise.
2520 (setttyent): Likewise.
2521 (endttyent): Likewise.
2522 * misc/getusershell.c (getusershell): Likewise.
2523 (endusershell): Likewise.
2524 (setusershell): Likewise.
2525 (initshells): Likewise.
2526 * misc/hsearch.c (__hdestroy): Likewise.
2527 * misc/sync.c (sync): Likewise.
2528 * misc/syslog.c (closelog_internal): Likewise.
2529 (closelog): Likewise.
2530 * misc/ttyslot.c (ttyslot): Likewise.
2531 * misc/vhangup.c (vhangup): Likewise.
2532 * posix/fork.c (__fork): Likewise.
2533 * posix/getegid.c (__getegid): Likewise.
2534 * posix/geteuid.c (__geteuid): Likewise.
2535 * posix/getgid.c (__getgid): Likewise.
2536 * posix/getpid.c (__getpid): Likewise.
2537 * posix/getppid.c (__getppid): Likewise.
2538 * posix/getuid.c (__getuid): Likewise.
2539 * posix/pause.c (pause): Likewise.
2540 * posix/setpgrp.c (setpgrp): Likewise.
2541 * posix/setsid.c (__setsid): Likewise.
2542 * posix/test-vfork.c (noop): Likewise.
2543 * resolv/gethnamaddr.c (_endhtent): Likewise.
2544 (_gethtent): Likewise.
2545 (ht_endhostent): Likewise.
2546 (gethostent): Likewise.
2547 (dns_service): Likewise.
2548 * stdlib/drand48.c (drand48): Likewise.
2549 * stdlib/lrand48.c (lrand48): Likewise.
2550 * stdlib/mrand48.c (mrand48): Likewise.
2551 * stdlib/rand.c (rand): Likewise.
2552 * stdlib/random.c (__random): Likewise.
2553 * stdlib/setenv.c (clearenv): Likewise.
2554 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2555 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2556 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2557 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2558 (__get_nprocs): Likewise.
2559 (__get_phys_pages): Likewise.
2560 (__get_avphys_pages): Likewise.
2561 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2562 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2563 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2564 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2565 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2566 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2567 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2568 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2569 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2570 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2571 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2572 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2573 * sysdeps/posix/clock.c (clock): Likewise.
2574 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2575 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2576 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2577 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2578 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2580 (__get_nprocs_conf): Likewise.
2581 (__get_phys_pages): Likewise.
2582 (__get_avphys_pages): Likewise.
2583 * time/clock.c (clock): Likewise.
2584 * time/tzset.c (__tzname_max): Likewise.
2585
2e09a79a
JM
25862013-06-07 Joseph Myers <joseph@codesourcery.com>
2587
2588 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2589 (__bswap_32): Do not use "register".
2590 * crypt/crypt.c (_ufc_doit_r): Likewise.
2591 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2592 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2593 * gmon/gmon.c (__monstartup): Likewise.
2594 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2595 * hurd/hurdmalloc.c (more_memory): Likewise.
2596 (malloc): Likewise.
2597 (free): Likewise.
2598 (realloc): Likewise.
2599 (malloc_fork_prepare): Likewise.
2600 (malloc_fork_parent): Likewise.
2601 (malloc_fork_child): Likewise.
2602 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2603 (_svcauth_des): Likewise.
2604 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2605 * inet/inet_net.c (inet_network): Likewise.
2606 * inet/inet_netof.c (inet_netof): Likewise.
2607 * inet/rcmd.c (__validuser2_sa): Likewise.
2608 * io/fts.c (fts_open): Likewise.
2609 (fts_load): Likewise.
2610 (fts_close): Likewise.
2611 (fts_read): Likewise.
2612 (fts_children): Likewise.
2613 (fts_build): Likewise.
2614 (fts_stat): Likewise.
2615 (fts_sort): Likewise.
2616 (fts_alloc): Likewise.
2617 (fts_lfree): Likewise.
2618 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2619 (_IO_file_xsgetn): Likewise.
2620 (_IO_file_xsgetn_mmap): Likewise.
2621 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2622 (_IO_cookie_write): Likewise.
2623 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2624 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2625 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2626 * malloc/obstack.c (_obstack_begin): Likewise.
2627 (_obstack_begin_1): Likewise.
2628 (_obstack_newchunk): Likewise.
2629 (_obstack_allocated_p): Likewise.
2630 (obstack_free): Likewise.
2631 (_obstack_memory_used): Likewise.
2632 * misc/getttyent.c (getttynam): Likewise.
2633 (getttyent): Likewise.
2634 (skip): Likewise.
2635 (value): Likewise.
2636 * misc/getusershell.c (initshells): Likewise.
2637 * misc/syslog.c (__vsyslog_chk): Likewise.
2638 * misc/ttyslot.c (ttyslot): Likewise.
2639 * nis/nis_hash.c (__nis_hash): Likewise.
2640 * posix/fnmatch_loop.c (FCT): Likewise.
2641 * posix/getconf.c (print_all): Likewise.
2642 (main): Likewise.
2643 * posix/getopt.c (exchange): Likewise.
2644 * posix/glob.c (globfree): Likewise.
2645 (prefix_array): Likewise.
2646 (__glob_pattern_type): Likewise.
2647 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2648 (NS_GET32): Likewise.
2649 (NS_PUT16): Likewise.
2650 (NS_PUT32): Likewise.
2651 * resolv/gethnamaddr.c (getanswer): Likewise.
2652 (gethostbyname2): Likewise.
2653 (gethostbyaddr): Likewise.
2654 (_gethtent): Likewise.
2655 (_gethtbyname2): Likewise.
2656 (_gethtbyaddr): Likewise.
2657 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2658 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2659 * resolv/res_init.c (__res_vinit): Likewise.
2660 (net_mask): Likewise.
2661 * resolv/res_mkquery.c (outchar): Likewise.
2662 (PRINT): Likewise.
2663 * stdio-common/printf_fp.c (outchar): Likewise.
2664 (PRINT): Likewise.
2665 * stdio-common/printf_fphex.c (outchar): Likewise.
2666 (PRINT): Likewise.
2667 * stdio-common/printf_size.c (outchar): Likewise.
2668 (PRINT): Likewise.
2669 * stdio-common/test_rdwr.c (main): Likewise.
2670 * stdio-common/tfformat.c (matches): Likewise.
2671 * stdio-common/vfprintf.c (outchar): Likewise.
2672 (printf_unknown): Likewise.
2673 (buffered_vfprintf): Likewise.
2674 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2675 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2676 (ReadFile): Likewise.
2677 * stdlib/qsort.c (SWAP): Likewise.
2678 (_quicksort): Likewise.
2679 * stdlib/setenv.c (__add_to_environ): Likewise.
2680 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2681 * stdlib/strtol_l.c (__strtol_l): Likewise.
2682 * stdlib/tst-strtod.c (main): Likewise.
2683 * stdlib/tst-strtol.c (main): Likewise.
2684 * stdlib/tst-strtoll.c (main): Likewise.
2685 * string/bits/string2.h (__strcmp_cc): Likewise.
2686 (__strcmp_cg): Likewise.
2687 (__strcspn_c1): Likewise.
2688 (__strcspn_c2): Likewise.
2689 (__strcspn_c3): Likewise.
2690 (__strspn_c1): Likewise.
2691 (__strspn_c2): Likewise.
2692 (__strspn_c3): Likewise.
2693 (__strsep_1c): Likewise.
2694 (__strsep_2c): Likewise.
2695 (__strsep_3c): Likewise.
2696 * string/memccpy.c (__memccpy): Likewise.
2697 * string/stpcpy.c (__stpcpy): Likewise.
2698 * string/strcmp.c (strcmp): Likewise.
2699 * string/strrchr.c (strrchr): Likewise.
2700 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2701 Likewise.
2702 * sysdeps/mach/hurd/getcwd.c
2703 (_hurd_canonicalize_directory_name_internal): Likewise.
2704 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2705 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2706 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2707 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2708 Likewise, in both definitions.
2709 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2710 definitions.
2711 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2712 64] (__bswap_64): Likewise.
2713 * time/test_time.c (main): Likewise.
2714 * time/tzfile.c (__tzfile_read): Likewise.
2715 (__tzfile_compute): Likewise.
2716 * time/tzset.c (__tzset_parse_tz): Likewise.
2717 (tzset_internal): Likewise.
2718 (compute_change): Likewise.
2719 * wcsmbs/wcscat.c (__wcscat): Likewise.
2720 * wcsmbs/wcschr.c (wcschr): Likewise.
2721 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2722 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2723 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2724 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2725 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2726 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2727 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2728 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2729 * wcsmbs/wmemset.c (wmemset): Likewise.
2730
9e54314b
JM
27312013-06-06 Joseph Myers <joseph@codesourcery.com>
2732
2733 * scripts/config.guess: Update to version 2013-05-16.
2734 * scripts/config.sub: Update to version 2013-04-24.
2735 * scripts/install-sh: Update to version 2011-11-20.07.
2736 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2737 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2738
350635a5
OB
27392013-06-06 Ondřej Bílka <neleai@seznam.cz>
2740
2741 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2742 * elf/sln.c: Likewise.
2743 * hurd/hurd/ioctl.h: Likewise.
2744 * hurd/hurdmalloc.c: Likewise.
2745 * hurd/xattr.c: Likewise.
2746 * include/shlib-compat.h: Likewise.
2747 * inet/ruserpass.c: Likewise.
2748 * libio/iofgets_u.c: Likewise.
2749 * libio/iofgetws_u.c: Likewise.
2750 * locale/programs/ld-identification.c: Likewise.
2751 * locale/programs/ld-time.c: Likewise.
2752 * mach/msg-destroy.c: Likewise.
2753 * nss/nss_files/files-netgrp.c: Likewise.
2754 * resolv/res_data.c: Likewise.
2755 * soft-fp/op-1.h: Likewise.
2756 * soft-fp/op-2.h: Likewise.
2757 * soft-fp/op-4.h: Likewise.
2758 * soft-fp/op-common.h: Likewise.
2759 * stdio-common/printf_fphex.c: Likewise.
2760 * stdlib/strtod_l.c: Likewise.
2761 * sunrpc/rpc/clnt.h: Likewise.
2762 * sysdeps/generic/framestate.c: Likewise.
2763 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2764 * sysdeps/i386/bsd-setjmp.S: Likewise.
2765 * sysdeps/i386/__longjmp.S: Likewise.
2766 * sysdeps/i386/setjmp.S: Likewise.
2767 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2768 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2769 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2770 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2772 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2773 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2776 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2777 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2778 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2779 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2780 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2781 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2782 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2783 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2784 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2785 * sysdeps/ieee754/support.c: Likewise.
2786 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2787 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2788 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2789 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2790 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2791 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2792 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2793 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2794 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2795 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2796 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2797 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2798 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2799 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2800 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2801 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2802 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2804
44a988af
OB
28052013-06-05 Ondřej Bílka <neleai@seznam.cz>
2806
25506f09 2807 * posix/transbug.c: Remove executable mode.
44a988af 2808
9c84384c
JM
28092013-06-05 Joseph Myers <joseph@codesourcery.com>
2810
2811 * crypt/speeds.c: Remove trailing whitespace.
2812 * dlfcn/default.c: Likewise.
2813 * elf/ifuncdep2.c: Likewise.
2814 * elf/ifuncmain1.c: Likewise.
2815 * elf/ifuncmain1vis.c: Likewise.
2816 * elf/testobj.h: Likewise.
2817 * elf/tst-stackguard1.c: Likewise.
2818 * gmon/sys/gmon.h: Likewise.
2819 * hurd/hurdmsg.c: Likewise.
2820 * hurd/new-fd.c: Likewise.
2821 * hurd/ports-get.c: Likewise.
2822 * iconvdata/ibm1008_420.c: Likewise.
2823 * inet/tst-getni1.c: Likewise.
2824 * inet/tst-getni2.c: Likewise.
2825 * libio/ioungetc.c: Likewise.
2826 * libio/wfiledoalloc.c: Likewise.
2827 * manual/libm-err-tab.pl: Likewise.
2828 * math/w_dremf.c: Likewise.
2829 * misc/ftruncate.c: Likewise.
2830 * posix/bug-glob2.c: Likewise.
2831 * posix/tst-pcre.c: Likewise.
2832 * posix/wait4.c: Likewise.
2833 * resolv/README: Likewise.
2834 * resolv/res_debug.h: Likewise.
2835 * resolv/tst-inet_ntop.c: Likewise.
2836 * setjmp/bug269-setjmp.c: Likewise.
2837 * soft-fp/extended.h: Likewise.
2838 * soft-fp/op-1.h: Likewise.
2839 * soft-fp/op-2.h: Likewise.
2840 * soft-fp/op-4.h: Likewise.
2841 * soft-fp/op-8.h: Likewise.
2842 * soft-fp/testit.c: Likewise.
2843 * stdio-common/bug16.c: Likewise.
2844 * stdlib/random.c: Likewise.
2845 * sunrpc/rpcsvc/rquota.x: Likewise.
2846 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2847 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2848 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2849 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2850 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2851 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2852 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2853 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2854 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2855 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2856 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2863 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2864 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2865 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2867 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2870 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2873 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2874 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2875 * sysdeps/ieee754/s_lib_version.c: Likewise.
2876 * sysdeps/mach/hurd/check_fds.c: Likewise.
2877 * sysdeps/mach/hurd/getsockname.c: Likewise.
2878 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2879 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2880 * sysdeps/powerpc/bits/link.h: Likewise.
2881 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2882 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2883 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2884 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2885 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2886 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2887 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2888 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2889 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2890 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2891 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2892 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2893 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2894 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2895 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2896 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2897 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2898 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2899 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2901 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2902 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2903 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2904 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2905 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2906 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2907 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2908 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2910 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2911 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2912 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2913 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2914 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2915 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2916 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2917 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2918 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2919 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2920 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2921 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2922 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2923 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2924 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2925 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2926 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2927 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2928 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2929 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2930 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2931 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2932 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2933 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2934 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2935 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2936 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2937 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2938 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2939 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2940 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2941 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2942 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2943 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2944 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2945 * sysdeps/powerpc/sysdep.h: Likewise.
2946 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2947 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2948 * sysdeps/sh/dl-trampoline.S: Likewise.
2949 * sysdeps/sh/memset.S: Likewise.
2950 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2951 * sysdeps/sh/strlen.S: Likewise.
2952 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2953 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2954 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2955 * sysdeps/sparc/sparc32/rem.S: Likewise.
2956 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2957 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2958 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2959 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2960 * sysdeps/sparc/sparc32/urem.S: Likewise.
2961 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2962 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2963 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2964 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2965 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2966 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2967 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2968 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2969 * sysdeps/unix/bsd/times.c: Likewise.
2970 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2971 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2975 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2976 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2977 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2978 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2979 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2980 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2981 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2982 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2983 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2984 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2985 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2986 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2987 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2988 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2989 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2990 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2991 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2992 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2993 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2994 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2995 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2996 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2997 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2998 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2999 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3000 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3001 * sysdeps/x86_64/strcspn.S: Likewise.
3002
869378a5
RA
30032013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3004
3005 * locale/C-translit.h: Revert #include <stdint.h> because this is a
3006 generated file. Regenerate properly from gen-translit.pl.
3007 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
3008 locale/C-translit.h.
3009
840e2943
AS
30102013-06-05 Andreas Schwab <schwab@suse.de>
3011
3012 [BZ #15100]
3013 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3014 week as 6 instead of -1.
3015 * time/tst-strptime.c (day_tests): Add test case.
3016
4c60cb0c
SP
30172013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3018
3019 * sysdeps/generic/math_private.h
3020 (libc_feholdexcept_setround_53bit): Replace with
3021 libc_feholdsetround_53bit.
3022 (libc_feupdateenv_53bit): Replace with
3023 libc_feresetround_53bit.
3024 (SET_RESTORE_ROUND_53BIT): Adjust.
3025
d180203e
SP
30262013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3027
96df079a
SP
3028 * string/test-strchrnul.c: Add copyright header.
3029
d180203e
SP
3030 * posix/tst-getaddrinfo4.c: Increase test timeout.
3031
8b0ccb2d
CD
30322013-06-03 Carlos O'Donell <carlos@redhat.com>
3033
3034 [BZ #15536]
3035 * math/libm-test.inc (MAX_EXP): Remove
3036 (MIN_EXP): Define.
3037 (ulp): Use MIN_EXP - MANT_DIG.
3038 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3039
3b3c4d40
CD
30402013-05-31 Carlos O'Donell <carlos@redhat.com>
3041
3042 * po/be.po: Revert last change.
3043 * po/zh_CN.po: Likewise.
3044 * po/header.pot: Likewise.
3045
fab7ce3f
JM
30462013-05-31 Joseph Myers <joseph@codesourcery.com>
3047
3048 * Makefile ($(common-objpfx)linkobj/libc.so): Define
3049 link-libc-deps to empty as target-specific variable.
3050 * Makerules (link-libc-args): New variable.
3051 (libc-for-link): Likewise.
3052 (link-libc-deps): Likewise.
3053 (lib%.so): Depend on $(link-libc-deps). Link with
3054 $(link-libc-args).
3055 (build-module): Link with $(link-libc-args).
3056 (build-module-asneeded): Likewise.
3057 (build-module-helper-objlist): Filter out $(link-libc-deps) from
3058 list of objects.
3059 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3060 target-specific variable.
3061 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3062 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3063 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3064 libc.
3065 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3066 libc and ld.so.
3067 ($(objpfx)libpcprofile.so): Likewise.
3068 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3069 libc_nonshared.a.
3070 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3071 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3072 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3073 $(link-libc-deps).
3074 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3075 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3076 * login/Makefile ($(objpfx)libutil.so): Likewise.
3077 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3078 * math/Makefile ($(objpfx)libm.so): Likewise.
3079 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3080 $(objpfx)libnsl.so): Define libc-for-link as target-specific
3081 variable instead of depending directly on libc.
3082 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3083 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3084 $(link-libc-deps).
3085 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3086 libc.
3087 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3088 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3089 ($(objpfx)libanl.so): Likewise.
3090 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3091 ld.so.
3092 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3093 $(link-libc-deps).
3094 * sysdeps/i386/fpu/Makefile: Remove file.
3095 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3096 ($(objpfx)libm.so): Remove dependency on ld.so.
3097
eca5920c
PF
30982013-05-30 Patsy Franklin <pfrankli@redhat.com>
3099
3100 [BZ # 15553]
3101 * nis/yp_xdr.c (XDRMAXNAME): Define.
3102 (XDRMAXRECORD): Define.
3103 (xdr_domainname): Use XDRMAXNAME.
3104 (xdr_mapname): Likewise.
3105 (xdr_peername): Likewise.
3106 (xdr_keydat): Use XDRMAXRECORD.
3107 (xdr_valdat): Likewise.
3108
31092013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3110
3111 [BZ #14256]
3112 * manual/errno.texi (ESTALE): Update to account for more than
3113 just NFS file systems.
3114 * sysdeps/gnu/errlist.c: Regenerated.
3115
b9375348
SP
31162013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3117
3118 [BZ #15465]
3119 * elf/Makefile (tests): Add tst-null-argv.
3120 (modules-names): Add tst-null-argv-lib.
3121 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3122 (tst-null-argv-ENV): Set environment for tst-null-argv.
3123 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3124 (RTLD_PROGNAME): New macro.
3125 * elf/tst-null-argv.c: New test case.
3126 * elf/tst-null-argv-lib.c: Library for test case.
3127 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3128 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3129 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3130 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3131 * elf/dl-init.c (call_init): Likewise.
3132 (_dl_init): Likewise.
3133 * elf/dl-load.c (print_search_path): Likewise.
3134 (_dl_map_object): Likewise.
3135 * elf/dl-lookup.c (do_lookup_x): Likewise.
3136 (add_dependency): Likewise.
3137 (_dl_lookup_symbol_x): Likewise.
3138 (_dl_debug_bindings): Likewise.
3139 * elf/dl-open.c (_dl_show_scope): Likewise.
3140 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3141 * elf/dl-version.c (match_symbol): Likewise.
3142 (_dl_check_map_versions): Likewise.
3143 * elf/rtld.c (dl_main): Likewise.
3144 (print_unresolved): Use RTLD_PROGNAME.
3145 (print_missing_version): Likewise.
3146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3147 (elf_machine_rela): Likewise.
3148 * sysdeps/powerpc/powerpc32/dl-machine.c
3149 (__process_machine_rela): Likewise.
3150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3151 Likewise.
3152 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3153 Likewise.
3154 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3155 Likewise.
3156 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3158 Likewise.
3159 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3160 Likewise.
3161 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3162
8a9f20c8
CD
31632013-05-28 Carlos O'Donell <carlos@redhat.com>
3164
3165 * po/be.po: Add descriptive title.
3166 * po/zh_CN.po: Likewise.
3167 * po/header.pot: Likewise.
3168
0e60d68e
MF
31692013-05-28 Mike Frysinger <vapier@gentoo.org>
3170
3171 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3172 error message.
3173 (enlarge_archive): Likewise.
3174
56b672e9
BN
31752013-05-28 Ben North <ben@redfrontdoor.org>
3176
3177 * manual/arith.texi (frexp): It is the magnitude of the return
3178 value which lies in [0.5, 1), not the return value itself.
3179
5e056687
AZ
31802013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3181
3182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3183
2b66ef5d
TS
31842013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3185
528c2405
TS
3186 * stdio-common/bug26.c (main): Correct fscanf template.
3187
07b4c13d
TS
3188 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3189 declare _dl_skip_args.
3190
ec9dd97c
TS
3191 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3192 Don't declare.
3193
2b66ef5d
TS
3194 * manual/platform.texi: Add missing @end deftypefun.
3195
4f8dfe27
JM
31962013-05-24 Joseph Myers <joseph@codesourcery.com>
3197
0323d086
JM
3198 [BZ #15529]
3199 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3200 bit of mantissa of 2^16382.
3201 * math/libm-test.inc (hypot_test_data): Add more tests.
3202
dd4259b9
JM
3203 * math/libm-test.inc: Add drem and pow10 to list of tested
3204 functions.
3205 (pow10_test): New function.
3206 (drem_test): Likewise.
3207 (drem_test_tonearest): Likewise.
3208 (drem_test_towardzero): Likewise.
3209 (drem_test_downward): Likewise.
3210 (drem_test_upward): Likewise.
3211 (main): Call the new functions.
3212
4f8dfe27
JM
3213 * math/libm-test.inc (finite_test_data): Remove.
3214 (finite_test): Run tests from isfinite_test_data.
3215 (gamma_test_data): Remove.
3216 (gamma_test): Run tests from lgamma_test_data.
3217 * sysdeps/i386/fpu/libm-test-ulps: Update.
3218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3219
d116b7c4
AZ
32202013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3221
3222 * manual/platform.texi: Add PowerPC PPR function set documentation.
3223 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3224 implementation.
3225
e96e3767
CD
32262013-05-24 Carlos O'Donell <carlos@redhat.com>
3227
3228 * math/libm-test.inc (MAX_EXP): Define.
3229 (ULPDIFF): Define.
3230 (ulp): New function.
3231 (check_float_internal): Use ULPDIFF.
3232 (cpow_test): Disable failing test.
3233 (check_ulp): Test ulp() implemetnation.
3234 (main): Call check_ulp before starting tests.
3235
b679a606
JM
32362013-05-24 Joseph Myers <joseph@codesourcery.com>
3237
e8bdba36
JM
3238 * math/gen-libm-test.pl (generate_testfile): Do not handle
3239 START_DATA and END_DATA.
3240 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3241 END_DATA.
3242 (acos_tonearest_test_data): Likewise.
3243 (acos_towardzero_test_data): Likewise.
3244 (acos_downward_test_data): Likewise.
3245 (acos_upward_test_data): Likewise.
3246 (acosh_test_data): Likewise.
3247 (asin_test_data): Likewise.
3248 (asin_tonearest_test_data): Likewise.
3249 (asin_towardzero_test_data): Likewise.
3250 (asin_downward_test_data): Likewise.
3251 (asin_upward_test_data): Likewise.
3252 (asinh_test_data): Likewise.
3253 (atan_test_data): Likewise.
3254 (atanh_test_data): Likewise.
3255 (atan2_test_data): Likewise.
3256 (cabs_test_data): Likewise.
3257 (cacos_test_data): Likewise.
3258 (cacosh_test_data): Likewise.
3259 (carg_test_data): Likewise.
3260 (casin_test_data): Likewise.
3261 (casinh_test_data): Likewise.
3262 (catan_test_data): Likewise.
3263 (catanh_test_data): Likewise.
3264 (cbrt_test_data): Likewise.
3265 (ccos_test_data): Likewise.
3266 (ccosh_test_data): Likewise.
3267 (ceil_test_data): Likewise.
3268 (cexp_test_data): Likewise.
3269 (cimag_test_data): Likewise.
3270 (clog_test_data): Likewise.
3271 (clog10_test_data): Likewise.
3272 (conj_test_data): Likewise.
3273 (copysign_test_data): Likewise.
3274 (cos_test_data): Likewise.
3275 (cos_tonearest_test_data): Likewise.
3276 (cos_towardzero_test_data): Likewise.
3277 (cos_downward_test_data): Likewise.
3278 (cos_upward_test_data): Likewise.
3279 (cosh_test_data): Likewise.
3280 (cosh_tonearest_test_data): Likewise.
3281 (cosh_towardzero_test_data): Likewise.
3282 (cosh_downward_test_data): Likewise.
3283 (cosh_upward_test_data): Likewise.
3284 (cpow_test_data): Likewise.
3285 (cproj_test_data): Likewise.
3286 (creal_test_data): Likewise.
3287 (csin_test_data): Likewise.
3288 (csinh_test_data): Likewise.
3289 (csqrt_test_data): Likewise.
3290 (ctan_test_data): Likewise.
3291 (ctan_tonearest_test_data): Likewise.
3292 (ctan_towardzero_test_data): Likewise.
3293 (ctan_downward_test_data): Likewise.
3294 (ctan_upward_test_data): Likewise.
3295 (ctanh_test_data): Likewise.
3296 (ctanh_tonearest_test_data): Likewise.
3297 (ctanh_towardzero_test_data): Likewise.
3298 (ctanh_downward_test_data): Likewise.
3299 (ctanh_upward_test_data): Likewise.
3300 (erf_test_data): Likewise.
3301 (erfc_test_data): Likewise.
3302 (exp_test_data): Likewise.
3303 (exp_tonearest_test_data): Likewise.
3304 (exp_towardzero_test_data): Likewise.
3305 (exp_downward_test_data): Likewise.
3306 (exp_upward_test_data): Likewise.
3307 (exp10_test_data): Likewise.
3308 (exp2_test_data): Likewise.
3309 (expm1_test_data): Likewise.
3310 (fabs_test_data): Likewise.
3311 (fdim_test_data): Likewise.
3312 (finite_test_data): Likewise.
3313 (floor_test_data): Likewise.
3314 (fma_test_data): Likewise.
3315 (fma_towardzero_test_data): Likewise.
3316 (fma_downward_test_data): Likewise.
3317 (fma_upward_test_data): Likewise.
3318 (fmax_test_data): Likewise.
3319 (fmin_test_data): Likewise.
3320 (fmod_test_data): Likewise.
3321 (fpclassify_test_data): Likewise.
3322 (frexp_test_data): Likewise.
3323 (gamma_test_data): Likewise.
3324 (hypot_test_data): Likewise.
3325 (ilogb_test_data): Likewise.
3326 (isfinite_test_data): Likewise.
3327 (isgreater_test_data): Likewise.
3328 (isgreaterequal_test_data): Likewise.
3329 (isinf_test_data): Likewise.
3330 (isless_test_data): Likewise.
3331 (islessequal_test_data): Likewise.
3332 (islessgreater_test_data): Likewise.
3333 (isnan_test_data): Likewise.
3334 (isnormal_test_data): Likewise.
3335 (issignaling_test_data): Likewise.
3336 (isunordered_test_data): Likewise.
3337 (j0_test_data): Likewise.
3338 (j1_test_data): Likewise.
3339 (jn_test_data): Likewise.
3340 (ldexp_test_data): Likewise.
3341 (lgamma_test_data): Likewise.
3342 (lrint_test_data): Likewise.
3343 (lrint_tonearest_test_data): Likewise.
3344 (lrint_towardzero_test_data): Likewise.
3345 (lrint_downward_test_data): Likewise.
3346 (lrint_upward_test_data): Likewise.
3347 (llrint_test_data): Likewise.
3348 (llrint_tonearest_test_data): Likewise.
3349 (llrint_towardzero_test_data): Likewise.
3350 (llrint_downward_test_data): Likewise.
3351 (llrint_upward_test_data): Likewise.
3352 (log_test_data): Likewise.
3353 (log10_test_data): Likewise.
3354 (log1p_test_data): Likewise.
3355 (log2_test_data): Likewise.
3356 (logb_test_data): Likewise.
3357 (logb_downward_test_data): Likewise.
3358 (lround_test_data): Likewise.
3359 (llround_test_data): Likewise.
3360 (modf_test_data): Likewise.
3361 (nearbyint_test_data): Likewise.
3362 (nextafter_test_data): Likewise.
3363 (nexttoward_test_data): Likewise.
3364 (pow_test_data): Likewise.
3365 (pow_tonearest_test_data): Likewise.
3366 (pow_towardzero_test_data): Likewise.
3367 (pow_downward_test_data): Likewise.
3368 (pow_upward_test_data): Likewise.
3369 (remainder_test_data): Likewise.
3370 (remainder_tonearest_test_data): Likewise.
3371 (remainder_towardzero_test_data): Likewise.
3372 (remainder_downward_test_data): Likewise.
3373 (remainder_upward_test_data): Likewise.
3374 (remquo_test_data): Likewise.
3375 (rint_test_data): Likewise.
3376 (rint_tonearest_test_data): Likewise.
3377 (rint_towardzero_test_data): Likewise.
3378 (rint_downward_test_data): Likewise.
3379 (rint_upward_test_data): Likewise.
3380 (round_test_data): Likewise.
3381 (scalb_test_data): Likewise.
3382 (scalbn_test_data): Likewise.
3383 (scalbln_test_data): Likewise.
3384 (signbit_test_data): Likewise.
3385 (sin_test_data): Likewise.
3386 (sin_tonearest_test_data): Likewise.
3387 (sin_towardzero_test_data): Likewise.
3388 (sin_downward_test_data): Likewise.
3389 (sin_upward_test_data): Likewise.
3390 (sincos_test_data): Likewise.
3391 (sinh_test_data): Likewise.
3392 (sinh_tonearest_test_data): Likewise.
3393 (sinh_towardzero_test_data): Likewise.
3394 (sinh_downward_test_data): Likewise.
3395 (sinh_upward_test_data): Likewise.
3396 (sqrt_test_data): Likewise.
3397 (tan_test_data): Likewise.
3398 (tan_tonearest_test_data): Likewise.
3399 (tan_towardzero_test_data): Likewise.
3400 (tan_downward_test_data): Likewise.
3401 (tan_upward_test_data): Likewise.
3402 (tanh_test_data): Likewise.
3403 (tgamma_test_data): Likewise.
3404 (trunc_test_data): Likewise.
3405 (y0_test_data): Likewise.
3406 (y1_test_data): Likewise.
3407 (yn_test_data): Likewise.
3408 (significand_test_data): Likewise.
3409
b679a606
JM
3410 * math/gen-libm-test.pl (@functions): Remove variable.
3411 (generate_testfile): Don't handle START and END lines.
3412 * math/libm-test.inc (START): New macro.
3413 (END): Likewise.
3414 (END_COMPLEX): Likewise.
3415 (acos_test): Use END macro without arguments.
3416 (acos_test_tonearest): Likewise.
3417 (acos_test_towardzero): Likewise.
3418 (acos_test_downward): Likewise.
3419 (acos_test_upward): Likewise.
3420 (acosh_test): Likewise.
3421 (asin_test): Likewise.
3422 (asin_test_tonearest): Likewise.
3423 (asin_test_towardzero): Likewise.
3424 (asin_test_downward): Likewise.
3425 (asin_test_upward): Likewise.
3426 (asinh_test): Likewise.
3427 (atan_test): Likewise.
3428 (atanh_test): Likewise.
3429 (atan2_test): Likewise.
3430 (cabs_test): Likewise.
3431 (cacos_test): Use END_COMPLEX macro without arguments.
3432 (cacosh_test): Likewise.
3433 (carg_test): Use END macro without arguments.
3434 (casin_test): Use END_COMPLEX macro without arguments.
3435 (casinh_test): Likewise.
3436 (catan_test): Likewise.
3437 (catanh_test): Likewise.
3438 (cbrt_test): Use END macro without arguments.
3439 (ccos_test): Use END_COMPLEX macro without arguments.
3440 (ccosh_test): Likewise.
3441 (ceil_test): Use END macro without arguments.
3442 (cexp_test): Use END_COMPLEX macro without arguments.
3443 (cimag_test): Use END macro without arguments.
3444 (clog_test): Use END_COMPLEX macro without arguments.
3445 (clog10_test): Likewise.
3446 (conj_test): Likewise.
3447 (copysign_test): Use END macro without arguments.
3448 (cos_test): Likewise.
3449 (cos_test_tonearest): Likewise.
3450 (cos_test_towardzero): Likewise.
3451 (cos_test_downward): Likewise.
3452 (cos_test_upward): Likewise.
3453 (cosh_test): Likewise.
3454 (cosh_test_tonearest): Likewise.
3455 (cosh_test_towardzero): Likewise.
3456 (cosh_test_downward): Likewise.
3457 (cosh_test_upward): Likewise.
3458 (cpow_test): Use END_COMPLEX macro without arguments.
3459 (cproj_test): Likewise.
3460 (creal_test): Use END macro without arguments.
3461 (csin_test): Use END_COMPLEX macro without arguments.
3462 (csinh_test): Likewise.
3463 (csqrt_test): Likewise.
3464 (ctan_test): Likewise.
3465 (ctan_test_tonearest): Likewise.
3466 (ctan_test_towardzero): Likewise.
3467 (ctan_test_downward): Likewise.
3468 (ctan_test_upward): Likewise.
3469 (ctanh_test): Likewise.
3470 (ctanh_test_tonearest): Likewise.
3471 (ctanh_test_towardzero): Likewise.
3472 (ctanh_test_downward): Likewise.
3473 (ctanh_test_upward): Likewise.
3474 (erf_test): Use END macro without arguments.
3475 (erfc_test): Likewise.
3476 (exp_test): Likewise.
3477 (exp_test_tonearest): Likewise.
3478 (exp_test_towardzero): Likewise.
3479 (exp_test_downward): Likewise.
3480 (exp_test_upward): Likewise.
3481 (exp10_test): Likewise.
3482 (exp2_test): Likewise.
3483 (expm1_test): Likewise.
3484 (fabs_test): Likewise.
3485 (fdim_test): Likewise.
3486 (finite_test): Likewise.
3487 (floor_test): Likewise.
3488 (fma_test): Likewise.
3489 (fma_test_towardzero): Likewise.
3490 (fma_test_downward): Likewise.
3491 (fma_test_upward): Likewise.
3492 (fmax_test): Likewise.
3493 (fmin_test): Likewise.
3494 (fmod_test): Likewise.
3495 (fpclassify_test): Likewise.
3496 (frexp_test): Likewise.
3497 (gamma_test): Likewise.
3498 (hypot_test): Likewise.
3499 (ilogb_test): Likewise.
3500 (isfinite_test): Likewise.
3501 (isgreater_test): Likewise.
3502 (isgreaterequal_test): Likewise.
3503 (isinf_test): Likewise.
3504 (isless_test): Likewise.
3505 (islessequal_test): Likewise.
3506 (islessgreater_test): Likewise.
3507 (isnan_test): Likewise.
3508 (isnormal_test): Likewise.
3509 (issignaling_test): Likewise.
3510 (isunordered_test): Likewise.
3511 (j0_test): Likewise.
3512 (j1_test): Likewise.
3513 (jn_test): Likewise.
3514 (ldexp_test): Likewise.
3515 (lgamma_test): Likewise.
3516 (lrint_test): Likewise.
3517 (lrint_test_tonearest): Likewise.
3518 (lrint_test_towardzero): Likewise.
3519 (lrint_test_downward): Likewise.
3520 (lrint_test_upward): Likewise.
3521 (llrint_test): Likewise.
3522 (llrint_test_tonearest): Likewise.
3523 (llrint_test_towardzero): Likewise.
3524 (llrint_test_downward): Likewise.
3525 (llrint_test_upward): Likewise.
3526 (log_test): Likewise.
3527 (log10_test): Likewise.
3528 (log1p_test): Likewise.
3529 (log2_test): Likewise.
3530 (logb_test): Likewise.
3531 (logb_test_downward): Likewise.
3532 (lround_test): Likewise.
3533 (llround_test): Likewise.
3534 (modf_test): Likewise.
3535 (nearbyint_test): Likewise.
3536 (nextafter_test): Likewise.
3537 (nexttoward_test): Likewise.
3538 (pow_test): Likewise.
3539 (pow_test_tonearest): Likewise.
3540 (pow_test_towardzero): Likewise.
3541 (pow_test_downward): Likewise.
3542 (pow_test_upward): Likewise.
3543 (remainder_test): Likewise.
3544 (remainder_test_tonearest): Likewise.
3545 (remainder_test_towardzero): Likewise.
3546 (remainder_test_downward): Likewise.
3547 (remainder_test_upward): Likewise.
3548 (remquo_test): Likewise.
3549 (rint_test): Likewise.
3550 (rint_test_tonearest): Likewise.
3551 (rint_test_towardzero): Likewise.
3552 (rint_test_downward): Likewise.
3553 (rint_test_upward): Likewise.
3554 (round_test): Likewise.
3555 (scalb_test): Likewise.
3556 (scalbn_test): Likewise.
3557 (scalbln_test): Likewise.
3558 (signbit_test): Likewise.
3559 (sin_test): Likewise.
3560 (sin_test_tonearest): Likewise.
3561 (sin_test_towardzero): Likewise.
3562 (sin_test_downward): Likewise.
3563 (sin_test_upward): Likewise.
3564 (sincos_test): Likewise.
3565 (sinh_test): Likewise.
3566 (sinh_test_tonearest): Likewise.
3567 (sinh_test_towardzero): Likewise.
3568 (sinh_test_downward): Likewise.
3569 (sinh_test_upward): Likewise.
3570 (sqrt_test): Likewise.
3571 (tan_test): Likewise.
3572 (tan_test_tonearest): Likewise.
3573 (tan_test_towardzero): Likewise.
3574 (tan_test_downward): Likewise.
3575 (tan_test_upward): Likewise.
3576 (tanh_test): Likewise.
3577 (tgamma_test): Likewise.
3578 (trunc_test): Likewise.
3579 (y0_test): Likewise.
3580 (y1_test): Likewise.
3581 (yn_test): Likewise.
3582 (significand_test): Likewise.
3583
bae143d2
OB
35842013-05-24 Ondřej Bílka <neleai@seznam.cz>
3585
3586 [BZ #15381]
3587 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3588
9323d39b
EM
35892013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3590
d4ea44a0 3591 [BZ #14894]
9323d39b
EM
3592 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3593 __ppc_mdoio and __ppc_mdoom.
3594 * manual/platform.texi: Document new functions __ppc_yield,
3595 __ppc_mdoio and __ppc_mdoom.
3596
13e23af7
CD
35972013-05-22 Carlos O'Donell <carlos@redhat.com>
3598
3599 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3600 (main): Mention "tls" pseudo-hwcap is legacy.
3601 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3602
351fe550
JM
36032013-05-22 Joseph Myers <joseph@codesourcery.com>
3604
3605 * math/gen-libm-test.pl (parse_args): Output only string of
3606 arguments as text for test name, not full call or descriptions of
3607 tests for extra outputs.
3608 (generate_testfile): Do not pass function name to parse_args.
3609 Generate this_func variable from START.
3610 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3611 field to arg_str.
3612 (struct test_ff_f_data): Likewise.
3613 (test_ff_f_data_nexttoward): Likewise.
3614 (struct test_fi_f_data): Likewise.
3615 (struct test_fl_f_data): Likewise.
3616 (struct test_if_f_data): Likewise.
3617 (struct test_fff_f_data): Likewise.
3618 (struct test_c_f_data): Likewise.
3619 (struct test_f_f1_data): Likewise. Remove field extra_name.
3620 (struct test_fF_f1_data): Likewise.
3621 (struct test_ffI_f1_data): Likewise.
3622 (struct test_c_c_data): Rename test_name field to arg_str.
3623 (struct test_cc_c_data): Likewise.
3624 (struct test_f_i_data): Likewise.
3625 (struct test_ff_i_data): Likewise.
3626 (struct test_f_l_data): Likewise.
3627 (struct test_f_L_data): Likewise.
3628 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3629 and extra2_name.
3630 (COMMON_TEST_SETUP): New macro.
3631 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3632 (COMMON_TEST_CLEANUP): Likewise.
3633 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3634 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3635 macros.
3636 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3637 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3638 macros.
3639 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3640 (RUN_TEST_fff_f): Take argument string. Call new setup and
3641 cleanup macros.
3642 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3643 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3644 macros.
3645 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3646 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3647 macros.
3648 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3649 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3650 cleanup macros.
3651 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3652 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3653 cleanup macros.
3654 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3655 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3656 cleanup macros.
3657 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3658 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3659 macros.
3660 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3661 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3662 macros.
3663 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3664 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3665 macros.
3666 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3667 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3668 cleanup macros.
3669 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3670 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3671 cleanup macros.
3672 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3673 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3674 macros.
3675 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3676 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3677 cleanup macros.
3678 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3679 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3680 macros.
3681 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3682 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3683 macros.
3684 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3685 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3686 cleanup macros.
3687 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3688
85118d4d
EBM
36892013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3690
3691 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3692 to _sifields.sigfault.
3693 (si_addr_lsb): Define new macro.
3694 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3695 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3696 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3697
7a44c18f
CD
36982013-05-03 Carlos O'Donell <carlos at redhat.com>
3699
3700 [BZ #15441]
3701 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3702 returns -1.
3703 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3704 null return -1.
3705 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3706 loading the domain.
3707
b50a7181
JM
37082013-05-22 Joseph Myers <joseph@codesourcery.com>
3709
3710 * math/gen-libm-test.pl (parse_args): Do not include expected
3711 result in test name.
3712 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3713 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3714 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3715 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3716 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3718
051063c8
SP
37192013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3720
3ce9e010
SP
3721 * benchtests/Makefile: Sort function entries.
3722
051063c8
SP
3723 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3724 tanh, asinh, acosh, atanh.
3725 * benchtests/acos-inputs: New file.
3726 * benchtests/acosh-inputs: New file.
3727 * benchtests/asin-inputs: New file.
3728 * benchtests/asinh-inputs: New file.
3729 * benchtests/atanh-inputs: New file.
3730 * benchtests/cosh-inputs: New file.
3731 * benchtests/log-inputs: New file.
3732 * benchtests/sinh-inputs: New file.
3733 * benchtests/tanh-inputs: New file.
3734
47c22455
DL
37352013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3736
3737 [BZ #15339]
3738 * posix/tst-getaddrinfo4.c: New test.
3739 * posix/Makefile (tests): Add it.
3740
3d04f5db
SP
37412013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3742
3743 [BZ #15339]
3744 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3745 when no services were used.
3746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3747 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3748
d5dd6189
AS
37492013-05-21 Andreas Schwab <schwab@suse.de>
3750
3751 [BZ #15014]
3752 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3753 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3754 successful.
3755 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3756 redundant variable declarations and reallocation of buffer when
3757 parsing as IPv6 address. Always set NSS status when called from
3758 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3759 buffer too small. Correct computation of needed size.
3760 * nss/Makefile (tests): Add test-digits-dots.
3761 * nss/test-digits-dots.c: New test.
3762
fef94eab
SP
37632013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3764
3765 * benchtests/Makefile: Remove instructions for adding
3766 benchmark tests.
3767 * benchtests/README: New file to explain how to execute and
3768 enhance the benchmark tests.
3769
e39adf43
AS
37702013-05-21 Andreas Schwab <schwab@suse.de>
3771
3772 [BZ #15493]
3773 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3774 * setjmp/tst-sigsetjmp.c: New test.
3775
b2b671b6
OB
37762013-05-20 Ondřej Bílka <neleai@seznam.cz>
3777
3778 * sysdeps/x86_64/memset.S (memset): New implementation.
3779 (__bzero): Likewise.
3780 (__memset_tail): New function.
3781
2d48b41c
OB
37822013-05-20 Ondřej Bílka <neleai@seznam.cz>
3783
3784 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3785 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3786 __memcpy_sse2_unaligned ifunc selection.
3787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3788 Add memcpy-sse2-unaligned.S.
3789 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3790 Add: __memcpy_sse2_unaligned.
3791
f16cc3eb
JM
37922013-05-19 Joseph Myers <joseph@codesourcery.com>
3793
3e694268
JM
3794 [BZ #15490]
3795 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3796 math_force_eval before restoring floating-point envrionment.
3797 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3798 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3799 Likewise.
3800 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3801 <math_private.h>.
3802 (__nearbyintl): Use math_force_eval before restoring
3803 floating-point environment.
3804 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3805
db62a907
JM
3806 * math/gen-libm-test.pl (special_functions): Remove.
3807 (parse_args): Don't handle TEST_extra. Handle functions with no
3808 return value.
3809 * math/libm-test.inc (struct test_sincos_data): Replace with
3810 struct test_fFF_11_data.
3811 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3812 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3813 (sincos_test_data): Change element type to struct
3814 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3815 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3816 RUN_TEST_LOOP_sincos.
3817 * math/README.libm-test: Don't mention special handling of
3818 individual functions.
3819 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3820 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3821 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3822 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3823 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3825
f16cc3eb
JM
3826 * math/gen-libm-test.pl (get_variable): Remove function.
3827 (parse_args): Don't show pointer parameters to call in test
3828 names. Use "extra output N" in test names for extra outputs
3829 rather than naming variables.
3830
3779b5b6
JM
38312013-05-18 Joseph Myers <joseph@codesourcery.com>
3832
2ee094ff
JM
3833 [BZ #15488]
3834 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3835 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3836 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3837 double tests.
3838 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3839 disable.
3840 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3841 check_long_double.
3842
3779b5b6
JM
3843 * math/gen-libm-test.pl (@tests): Remove variable.
3844 ($count): Likewise.
3845 (new_test): Remove function.
3846 (show_exceptions): New function.
3847 (special_functions): Use show_exceptions instead of new_test.
3848 (parse_args): Likewise.
3849 (generate_testfile): Pass only function name in generated call to
3850 print_max_error or print_complex_max_error.
3851 (get_ulps): Do not handle complex tests specially.
3852 (output_test): Rename to ...
3853 (get_all_ulps_for_test): ... this. Return a string rather than
3854 printing to a file. Require ulps to be present.
3855 (output_ulps): Generate arrays rather than #defines.
3856 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3857 (struct ulp_data): New type.
3858 (BUILD_COMPLEX_ULP): Remove macro.
3859 (compare_ulp_data): New function.
3860 (find_ulps): Likewise.
3861 (find_test_ulps): Likewise.
3862 (find_function_ulps): Likewise.
3863 (find_complex_function_ulps): Likewise.
3864 (print_max_error): Determine allowed ulps using
3865 find_function_ulps.
3866 (print_complex_max_error): Determine allowed ulps using
3867 find_complex_function_ulps.
3868 (check_float_internal): Determine max ulps using find_test_ulps.
3869 (check_float): Do not take max_ulp parameter. Update call to
3870 check_float_internal.
3871 (check_complex): Likewise.
3872 (check_int): Do not take max_ulp parameter.
3873 (check_long): Likewise.
3874 (check_bool): Likewise.
3875 (check_longlong): Likewise.
3876 (struct test_f_f_data): Remove max_ulp field.
3877 (struct test_ff_f_data): Likewise.
3878 (struct test_ff_f_data_nexttoward): Likewise.
3879 (struct test_fi_f_data): Likewise.
3880 (struct test_fl_f_data): Likewise.
3881 (struct test_if_f_data): Likewise.
3882 (struct test_fff_f_data): Likewise.
3883 (struct test_c_f_data): Likewise.
3884 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3885 (struct test_fF_f1_data): Likewise.
3886 (struct test_ffI_f1_data): Likewise.
3887 (struct test_c_c_data): Remove max_ulp field.
3888 (struct test_cc_c_data): Likewise.
3889 (struct test_f_i_data): Likewise.
3890 (struct test_ff_i_data): Likewise.
3891 (struct test_f_l_data): Likewise.
3892 (struct test_f_L_data): Likewise.
3893 (struct test_sincos_data): Likewise.
3894 (RUN_TEST_f_f): Do not handle ulps.
3895 (RUN_TEST_LOOP_f_f): Likewise.
3896 (RUN_TEST_2_f): Likewise.
3897 (RUN_TEST_LOOP_2_f): Likewise.
3898 (RUN_TEST_fff_f): Likewise.
3899 (RUN_TEST_LOOP_fff_f): Likewise.
3900 (RUN_TEST_c_f): Likewise.
3901 (RUN_TEST_LOOP_c_f): Likewise.
3902 (RUN_TEST_f_f1): Likewise.
3903 (RUN_TEST_LOOP_f_f1): Likewise.
3904 (RUN_TEST_fF_f1): Likewise.
3905 (RUN_TEST_LOOP_fF_f1): Likewise.
3906 (RUN_TEST_fI_f1): Likewise.
3907 (RUN_TEST_LOOP_fI_f1): Likewise.
3908 (RUN_TEST_ffI_f1): Likewise.
3909 (RUN_TEST_LOOP_ffI_f1): Likewise.
3910 (RUN_TEST_c_c): Likewise.
3911 (RUN_TEST_LOOP_c_c): Likewise.
3912 (RUN_TEST_cc_c): Likewise.
3913 (RUN_TEST_LOOP_cc_c): Likewise.
3914 (RUN_TEST_f_i): Likewise.
3915 (RUN_TEST_LOOP_f_i): Likewise.
3916 (RUN_TEST_f_i_tg): Likewise.
3917 (RUN_TEST_LOOP_f_i_tg): Likewise.
3918 (RUN_TEST_ff_i_tg): Likewise.
3919 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3920 (RUN_TEST_f_b): Likewise.
3921 (RUN_TEST_LOOP_f_b): Likewise.
3922 (RUN_TEST_f_b_tg): Likewise.
3923 (RUN_TEST_LOOP_f_b_tg): Likewise.
3924 (RUN_TEST_f_l): Likewise.
3925 (RUN_TEST_LOOP_f_l): Likewise.
3926 (RUN_TEST_f_L): Likewise.
3927 (RUN_TEST_LOOP_f_L): Likewise.
3928 (RUN_TEST_sincos): Likewise.
3929 (RUN_TEST_LOOP_sincos): Likewise.
3930
8269107f
JM
39312013-05-17 Joseph Myers <joseph@codesourcery.com>
3932
bb38759d
JM
3933 [BZ #15480]
3934 [BZ #15485]
3935 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3936 main case of finite arguments, set rounding mode to FE_TONEAREST
3937 and discard exceptions.
3938 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3939 exceptions.
3940 (remainder_tonearest_test_data): New variable.
3941 (remainder_test_tonearest): New function.
3942 (remainder_towardzero_test_data): New variable.
3943 (remainder_test_towardzero): New function.
3944 (remainder_downward_test_data): New variable.
3945 (remainder_test_downward): New function.
3946 (remainder_upward_test_data): New variable.
3947 (remainder_test_upward): New function.
3948 (main): Call the new test functions.
3949
a00bdcf0
JM
3950 * math/libm-test.inc (struct test_f_f1_data): Remove field
3951 extra_init.
3952 (struct test_fF_f1_data): Likewise.
3953 (struct test_ffI_f1_data): Likewise.
3954 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3955 based on value of EXTRA_EXPECTED.
3956 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3957 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3958 EXTRA_VAR based on value of EXTRA_EXPECTED.
3959 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3960 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3961 EXTRA_VAR based on value of EXTRA_EXPECTED.
3962 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3963 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3964 EXTRA_VAR based on value of EXTRA_EXPECTED.
3965 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3966 * math/gen-libm-test.pl (parse_args): Don't output initializers
3967 for extra output values.
3968
de407f79
JM
3969 * math/libm-test.inc (check_int): Expect result to be exactly
3970 equal to expected value and do not handle ulps.
3971 (check_long): Likewise.
3972 (check_longlong): Likewise.
3973
8269107f
JM
3974 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3975 exceptions.
3976 (cimag_test_data): Likewise.
3977 (conj_test_data): Likewise.
3978 (copysign_test_data): Likewise.
3979 (cproj_test_data): Likewise.
3980 (creal_test_data): Likewise.
3981 (fabs_test_data): Likewise.
3982 (fdim_test_data): Likewise.
3983 (finite_test_data): Likewise.
3984 (floor_test_data): Likewise.
3985 (fmax_test_data): Likewise.
3986 (fmin_test_data): Likewise.
3987 (fmod_test_data): Likewise.
3988 (fpclassify_test_data): Likewise.
3989 (frexp_test_data): Likewise.
3990 (ilogb_test_data): Likewise.
3991 (isfinite_test_data): Likewise.
3992 (isgreater_test_data): Likewise.
3993 (isgreaterequal_test_data): Likewise.
3994 (isinf_test_data): Likewise.
3995 (isless_test_data): Likewise.
3996 (islessequal_test_data): Likewise.
3997 (islessgreater_test_data): Likewise.
3998 (isnan_test_data): Likewise.
3999 (isnormal_test_data): Likewise.
4000 (issignaling_test_data): Likewise.
4001 (isunordered_test_data): Likewise.
4002 (ldexp_test_data): Likewise.
4003 (lrint_test_data): Likewise.
4004 (lrint_test_data) [TEST_FLOAT]: Disable one test.
4005 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4006 (lrint_tonearest_test_data): Test for "inexact" exceptions.
4007 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4008 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4009 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4010 test input.
4011 (lrint_towardzero_test_data): Test for "inexact" exceptions.
4012 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4013 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4014 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4015 that test input.
4016 (lrint_downward_test_data): Test for "inexact" exceptions.
4017 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4018 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4019 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4020 test input.
4021 (lrint_upward_test_data): Test for "inexact" exceptions.
4022 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4023 test input.
4024 (llrint_test_data): Test for "inexact" exceptions.
4025 (llrint_test_data) [TEST_FLOAT]: Disable one test.
4026 (llrint_tonearest_test_data): Test for "inexact" exceptions.
4027 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4028 (llrint_towardzero_test_data): Test for "inexact" exceptions.
4029 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4030 (llrint_downward_test_data): Test for "inexact" exceptions.
4031 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4032 (llrint_upward_test_data): Test for "inexact" exceptions.
4033 (logb_test_data): Likewise.
4034 (logb_downward_test_data): Likewise.
4035 (nextafter_test_data): Likewise.
4036 (nexttoward_test_data): Likewise.
4037 (remainder_test_data): Likewise.
4038 (remquo_test_data): Likewise.
4039 (scalbn_test_data): Likewise.
4040 (scalbln_test_data): Likewise.
4041 (signbit_test_data): Likewise.
4042 (sqrt_test_data): Likewise.
4043 (significand_test_data): Likewise.
4044
48a18de1
SP
40452013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4046
4047 [BZ #15424]
4048 * benchtests/bench-modf.c (struct args): Mark arg0 as
4049 volatile.
4050 * scripts/bench.pl: Mark members of struct args as volatile.
4051
13d3b41a
AZ
40522013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4053
68191c1d 4054 [BZ # 15497]
13d3b41a
AZ
4055 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4056 negative infinity on POWER6 or lower.
4057 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4058
2848b105
MR
40592013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
4060
4061 [BZ #15442]
4062 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4063 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4064 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4065 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4066 (_FP_SETQNAN): New macro.
4067 (_FP_SETQNAN_SEMIRAW): Likewise.
4068 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4069 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4070 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4071 (FP_EXTEND): Use _FP_FRAC_SNANP.
4072 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4073 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4074 into account.
4075 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4076 New macro.
4077 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4078 Likewise.
4079
323e5cb7
JM
40802013-05-16 Joseph Myers <joseph@codesourcery.com>
4081
c58b274f
JM
4082 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4083 with DIVIDE_BY_ZERO_EXCEPTION.
4084 (gamma_test_data): Likewise.
4085 (lgamma_test_data): Likewise.
4086 (log_test_data): Likewise.
4087 (log10_test_data): Likewise.
4088 (log2_test_data): Likewise.
4089 (tgamma_test_data): Likewise.
4090
0ab34904
JM
4091 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4092 (acos_test_tonearest): Likewise.
4093 (acos_test_towardzero): Likewise.
4094 (acos_test_downward): Likewise.
4095 (acos_test_upward): Likewise.
4096 (acosh_test): Likewise.
4097 (asin_test): Likewise.
4098 (asin_test_tonearest): Likewise.
4099 (asin_test_towardzero): Likewise.
4100 (asin_test_downward): Likewise.
4101 (asin_test_upward): Likewise.
4102 (asinh_test): Likewise.
4103 (atan_test): Likewise.
4104 (atanh_test): Likewise.
4105 (atan2_test): Likewise.
4106 (cabs_test): Likewise.
4107 (cacos_test): Likewise.
4108 (cacosh_test): Likewise.
4109 (casin_test): Likewise.
4110 (casinh_test): Likewise.
4111 (catan_test): Likewise.
4112 (catanh_test): Likewise.
4113 (cbrt_test): Likewise.
4114 (ccos_test): Likewise.
4115 (ccosh_test): Likewise.
4116 (cexp_test): Likewise.
4117 (clog_test): Likewise.
4118 (clog10_test): Likewise.
4119 (cos_test): Likewise.
4120 (cos_test_tonearest): Likewise.
4121 (cos_test_towardzero): Likewise.
4122 (cos_test_downward): Likewise.
4123 (cos_test_upward): Likewise.
4124 (cosh_test): Likewise.
4125 (cosh_test_tonearest): Likewise.
4126 (cosh_test_towardzero): Likewise.
4127 (cosh_test_downward): Likewise.
4128 (cosh_test_upward): Likewise.
4129 (cpow_test): Likewise.
4130 (csin_test): Likewise.
4131 (csinh_test): Likewise.
4132 (csqrt_test): Likewise.
4133 (ctan_test): Likewise.
4134 (ctan_test_tonearest): Likewise.
4135 (ctan_test_towardzero): Likewise.
4136 (ctan_test_downward): Likewise.
4137 (ctan_test_upward): Likewise.
4138 (ctanh_test): Likewise.
4139 (ctanh_test_tonearest): Likewise.
4140 (ctanh_test_towardzero): Likewise.
4141 (ctanh_test_downward): Likewise.
4142 (ctanh_test_upward): Likewise.
4143 (erf_test): Likewise.
4144 (erfc_test): Likewise.
4145 (exp_test): Likewise.
4146 (exp_test_tonearest): Likewise.
4147 (exp_test_towardzero): Likewise.
4148 (exp_test_downward): Likewise.
4149 (exp_test_upward): Likewise.
4150 (exp10_test): Likewise.
4151 (exp2_test): Likewise.
4152 (expm1_test): Likewise.
4153 (fmod_test): Likewise.
4154 (gamma_test): Likewise.
4155 (hypot_test): Likewise.
4156 (j0_test): Likewise.
4157 (j1_test): Likewise.
4158 (jn_test): Likewise.
4159 (lgamma_test): Likewise.
4160 (log_test): Likewise.
4161 (log10_test): Likewise.
4162 (log1p_test): Likewise.
4163 (log2_test): Likewise.
4164 (logb_test_downward): Likewise.
4165 (pow_test): Likewise.
4166 (pow_test_tonearest): Likewise.
4167 (pow_test_towardzero): Likewise.
4168 (pow_test_downward): Likewise.
4169 (pow_test_upward): Likewise.
4170 (remainder_test): Likewise.
4171 (remquo_test): Likewise.
4172 (sin_test): Likewise.
4173 (sin_test_tonearest): Likewise.
4174 (sin_test_towardzero): Likewise.
4175 (sin_test_downward): Likewise.
4176 (sin_test_upward): Likewise.
4177 (sincos_test): Likewise.
4178 (sinh_test): Likewise.
4179 (sinh_test_tonearest): Likewise.
4180 (sinh_test_towardzero): Likewise.
4181 (sinh_test_downward): Likewise.
4182 (sinh_test_upward): Likewise.
4183 (sqrt_test): Likewise.
4184 (tan_test): Likewise.
4185 (tan_test_tonearest): Likewise.
4186 (tan_test_towardzero): Likewise.
4187 (tan_test_downward): Likewise.
4188 (tan_test_upward): Likewise.
4189 (tanh_test): Likewise.
4190 (tgamma_test): Likewise.
4191 (y0_test): Likewise.
4192 (y1_test): Likewise.
4193 (yn_test): Likewise.
4194
323e5cb7
JM
4195 * math/gen-libm-test.pl (adjust_arg): Remove function.
4196 (special_function): Remove argument $in_func. Only handle
4197 generating output for tables of tests, not inside functions.
4198 (parse_args): Likewise.
4199 (generate_testfile): Remove variable $in_func. Update call to
4200 parse_args.
4201 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4202 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4203 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4204 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4205 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4206 (MAX_VALUE_INIT): Rename macro to max_value.
4207 (MIN_VALUE_INIT): Rename macro to min_value.
4208 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4209 (plus_zero): Remove variable.
4210 (minus_zero): Likewise.
4211 (plus_infty): Likewise.
4212 (minus_infty): Likewise.
4213 (qnan_value): Likewise.
4214 (max_value): Likewise.
4215 (min_value): Likewise.
4216 (min_subnorm_value): Likewise.
4217
e054f494
RA
42182013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4219
4220 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4221 uint64_t or uint32_t usage.
4222 * crypt/sha256-block.c: Likewise.
4223 * crypt/sha256-crypt.c: Likewise.
4224 * crypt/sha256.c: Likewise.
4225 * crypt/sha512-block.c: Likewise.
4226 * crypt/sha512-crypt.c: Likewise.
4227 * crypt/sha512.c: Likewise.
4228 * debug/backtrace-tst.c: Likewise.
4229 * debug/pcprofiledump.c: Likewise.
4230 * elf/cache.c: Likewise.
4231 * elf/dl-cache.c: Likewise.
4232 * elf/dl-misc.c: Likewise.
4233 * elf/dl-profile.c: Likewise.
4234 * elf/dl-support.c: Likewise.
4235 * elf/ldconfig.c: Likewise.
4236 * elf/sprof.c: Likewise.
4237 * iconv/dummy-repertoire.c: Likewise.
4238 * iconv/iconv_charmap.c: Likewise.
4239 * iconv/skeleton.c: Likewise.
4240 * iconvdata/8bit-generic.c: Likewise.
4241 * iconvdata/cp737.h: Likewise.
4242 * iconvdata/cp775.h: Likewise.
4243 * iconvdata/ibm1008.h: Likewise.
4244 * iconvdata/ibm1025.h: Likewise.
4245 * iconvdata/ibm1046.h: Likewise.
4246 * iconvdata/ibm1097.h: Likewise.
4247 * iconvdata/ibm1112.h: Likewise.
4248 * iconvdata/ibm1122.h: Likewise.
4249 * iconvdata/ibm1123.h: Likewise.
4250 * iconvdata/ibm1124.h: Likewise.
4251 * iconvdata/ibm1129.h: Likewise.
4252 * iconvdata/ibm1130.h: Likewise.
4253 * iconvdata/ibm1132.h: Likewise.
4254 * iconvdata/ibm1133.h: Likewise.
4255 * iconvdata/ibm1137.h: Likewise.
4256 * iconvdata/ibm1140.h: Likewise.
4257 * iconvdata/ibm1141.h: Likewise.
4258 * iconvdata/ibm1142.h: Likewise.
4259 * iconvdata/ibm1143.h: Likewise.
4260 * iconvdata/ibm1144.h: Likewise.
4261 * iconvdata/ibm1145.h: Likewise.
4262 * iconvdata/ibm1146.h: Likewise.
4263 * iconvdata/ibm1147.h: Likewise.
4264 * iconvdata/ibm1148.h: Likewise.
4265 * iconvdata/ibm1149.h: Likewise.
4266 * iconvdata/ibm1153.h: Likewise.
4267 * iconvdata/ibm1154.h: Likewise.
4268 * iconvdata/ibm1155.h: Likewise.
4269 * iconvdata/ibm1156.h: Likewise.
4270 * iconvdata/ibm1157.h: Likewise.
4271 * iconvdata/ibm1158.h: Likewise.
4272 * iconvdata/ibm1160.h: Likewise.
4273 * iconvdata/ibm1161.h: Likewise.
4274 * iconvdata/ibm1162.h: Likewise.
4275 * iconvdata/ibm1163.h: Likewise.
4276 * iconvdata/ibm1164.h: Likewise.
4277 * iconvdata/ibm1166.h: Likewise.
4278 * iconvdata/ibm1167.h: Likewise.
4279 * iconvdata/ibm12712.h: Likewise.
4280 * iconvdata/ibm1390.h: Likewise.
4281 * iconvdata/ibm1399.h: Likewise.
4282 * iconvdata/ibm16804.h: Likewise.
4283 * iconvdata/ibm4517.h: Likewise.
4284 * iconvdata/ibm4899.h: Likewise.
4285 * iconvdata/ibm4909.h: Likewise.
4286 * iconvdata/ibm4971.h: Likewise.
4287 * iconvdata/ibm5347.h: Likewise.
4288 * iconvdata/ibm803.h: Likewise.
4289 * iconvdata/ibm856.h: Likewise.
4290 * iconvdata/ibm901.h: Likewise.
4291 * iconvdata/ibm902.h: Likewise.
4292 * iconvdata/ibm9030.h: Likewise.
4293 * iconvdata/ibm9066.h: Likewise.
4294 * iconvdata/ibm921.h: Likewise.
4295 * iconvdata/ibm922.h: Likewise.
4296 * iconvdata/ibm9448.h: Likewise.
4297 * iconvdata/isiri-3342.h: Likewise.
4298 * iconvdata/jis0201.h: Likewise.
4299 * include/link.h: Likewise.
4300 * include/netdb.h: Likewise.
4301 * inet/check_native.c: Likewise.
4302 * inet/check_pf.c: Likewise.
4303 * inet/getipv4sourcefilter.c: Likewise.
4304 * inet/getnameinfo.c: Likewise.
4305 * inet/getsourcefilter.c: Likewise.
4306 * inet/htonl.c: Likewise.
4307 * inet/setipv4sourcefilter.c: Likewise.
4308 * inet/setsourcefilter.c: Likewise.
4309 * inet/test-inet6_opt.c: Likewise.
4310 * inet/tst-network.c: Likewise.
4311 * locale/C-collate.c: Likewise.
4312 * locale/C-ctype.c: Likewise.
4313 * locale/C-time.c: Likewise.
4314 * locale/C-translit.h: Likewise.
4315 * locale/loadarchive.c: Likewise.
4316 * locale/programs/3level.h: Likewise.
4317 * locale/programs/charmap.c: Likewise.
4318 * locale/programs/charmap.h: Likewise.
4319 * locale/programs/ld-address.c: Likewise.
4320 * locale/programs/ld-collate.c: Likewise.
4321 * locale/programs/ld-ctype.c: Likewise.
4322 * locale/programs/ld-identification.c: Likewise.
4323 * locale/programs/ld-measurement.c: Likewise.
4324 * locale/programs/ld-messages.c: Likewise.
4325 * locale/programs/ld-monetary.c: Likewise.
4326 * locale/programs/ld-name.c: Likewise.
4327 * locale/programs/ld-numeric.c: Likewise.
4328 * locale/programs/ld-paper.c: Likewise.
4329 * locale/programs/ld-telephone.c: Likewise.
4330 * locale/programs/ld-time.c: Likewise.
4331 * locale/programs/linereader.c: Likewise.
4332 * locale/programs/locale.c: Likewise.
4333 * locale/programs/locarchive.c: Likewise.
4334 * locale/programs/locfile.h: Likewise.
4335 * locale/programs/repertoire.c: Likewise.
4336 * locale/programs/simple-hash.c: Likewise.
4337 * locale/programs/simple-hash.h: Likewise.
4338 * malloc/memusage.c: Likewise.
4339 * malloc/memusagestat.c: Likewise.
4340 * nis/nis_defaults.c: Likewise.
4341 * nis/nis_hash.c: Likewise.
4342 * nis/nis_print.c: Likewise.
4343 * nis/nis_xdr.c: Likewise.
4344 * nscd/connections.c: Likewise.
4345 * nscd/hstcache.c: Likewise.
4346 * nscd/nscd_gethst_r.c: Likewise.
4347 * nscd/nscd_getserv_r.c: Likewise.
4348 * nscd/nscd_helper.c: Likewise.
4349 * nscd/servicescache.c: Likewise.
4350 * nss/makedb.c: Likewise.
4351 * nss/nss_db/db-XXX.c: Likewise.
4352 * nss/nss_db/db-initgroups.c: Likewise.
4353 * nss/nss_db/db-netgrp.c: Likewise.
4354 * nss/nss_files/files-network.c: Likewise.
4355 * nss/nss_files/files-parse.c: Likewise.
4356 * posix/bug-regex5.c: Likewise.
4357 * posix/fnmatch_loop.c: Likewise.
4358 * posix/regcomp.c: Likewise.
4359 * posix/regexec.c: Likewise.
4360 * posix/tst-rfc3484-2.c: Likewise.
4361 * posix/tst-rfc3484-3.c: Likewise.
4362 * posix/tst-rfc3484.c: Likewise.
4363 * resolv/nss_dns/dns-canon.c: Likewise.
4364 * resolv/nss_dns/dns-network.c: Likewise.
4365 * resolv/res_init.c: Likewise.
4366 * resolv/res_mkquery.c: Likewise.
4367 * resolv/tst-aton.c: Likewise.
4368 * stdlib/cxa_atexit.c: Likewise.
4369 * stdlib/cxa_finalize.c: Likewise.
4370 * stdlib/gen-fpioconst.c: Likewise.
4371 * stdlib/strtol_l.c: Likewise.
4372 * string/tst-endian.c: Likewise.
4373 * sunrpc/auth_des.c: Likewise.
4374 * sunrpc/clnt_udp.c: Likewise.
4375 * sunrpc/rtime.c: Likewise.
4376 * sunrpc/svcauth_des.c: Likewise.
4377 * sunrpc/xdr.c: Likewise.
4378 * sunrpc/xdr_intXX_t.c: Likewise.
4379 * sunrpc/xdr_rec.c: Likewise.
4380 * sysdeps/generic/ldconfig.h: Likewise.
4381 * sysdeps/generic/ldsodefs.h: Likewise.
4382 * sysdeps/generic/memusage.h: Likewise.
4383 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4384 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4385 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4386 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4389 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4390 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4391 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4393 * sysdeps/posix/getaddrinfo.c: Likewise.
4394 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4395 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4396 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4397 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4398 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4399 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4400 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4401 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4402 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4403 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4404 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4405 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4406 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4407 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4408 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4409 * sysdeps/x86_64/dl-tls.h: Likewise.
4410 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4411 * time/alt_digit.c: Likewise.
4412 * time/era.c: Likewise.
4413 * wcsmbs/tst-c16c32-1.c: Likewise.
4414
8c75f674
JM
44152013-05-16 Joseph Myers <joseph@codesourcery.com>
4416
4417 * math/libm-test.inc (struct test_sincos_data): New type.
4418 (RUN_TEST_LOOP_sincos): New macro.
4419 (sincos_test_data): New variable.
4420 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4421
e6e49e59
RH
44222013-05-16 Richard Henderson <rth@redhat.com>
4423
4424 * math/atest-exp2.c (LIMB64): New macro.
4425 (CONSTSZ): New macro.
4426 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4427 (hexdig): Move ...
4428 (print_mpn_fp): ... to function scope.
4429 (read_mpn_hex): Remove.
4430 (get_log2): Remove.
4431 (exp2_mpn): Use mp_log2.
4432 (main): Use mp_exp1.
4433
15c7c18d
JM
44342013-05-16 Joseph Myers <joseph@codesourcery.com>
4435
105a07df
JM
4436 * math/libm-test.inc: Remove comment about not testing "inexact"
4437 exceptions.
4438 (INEXACT_EXCEPTION): New macro.
4439 (NO_INEXACT_EXCEPTION): Likewise.
4440 (INVALID_EXCEPTION_OK): Update value.
4441 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4442 (OVERFLOW_EXCEPTION_OK): Likewise.
4443 (UNDERFLOW_EXCEPTION_OK): Likewise.
4444 (IGNORE_ZERO_INF_SIGN): Likewise.
4445 (ERRNO_UNCHANGED): Likewise.
4446 (ERRNO_EDOM): Likewise.
4447 (ERRNO_ERANGE): Likewise.
4448 (test_exceptions): Handle testing "inexact" exceptions.
4449 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4450 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4451 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4452 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4453 INEXACT_EXCEPTION.
4454 (rint_towardzero_test_data): Likewise.
4455 (rint_downward_test_data): Likewise.
4456 (rint_upward_test_data): Likewise.
4457
e9eee333
JM
4458 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4459 with OVERFLOW_EXCEPTION.
4460 (exp10_test_data): Likewise.
4461 (exp2_test_data): Likewise.
4462 (expm1_test_data): Likewise.
4463 (lgamma_test_data): Likewise.
4464 (pow_test_data): Likewise.
4465 (tgamma_test_data): Likewise.
4466 (yn_test_data): Remove duplicate test of overflow.
4467
1c38ff73
JM
4468 * math/libm-test.inc (struct test_cc_c_data): New type.
4469 (RUN_TEST_LOOP_cc_c): New macro.
4470 (cpow_test_data): New variable.
4471 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4472
15c7c18d
JM
4473 * math/libm-test.inc (struct test_f_L_data): New type.
4474 (RUN_TEST_LOOP_f_L): New macro.
4475 (llrint_test_data): New variable.
4476 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4477 (llrint_tonearest_test_data): New variable.
4478 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4479 (llrint_towardzero_test_data): New variable.
4480 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4481 (llrint_downward_test_data): New variable.
4482 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4483 (llrint_upward_test_data): New variable.
4484 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4485 (llround_test_data): New variable.
4486 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4487
f137ff13
PC
44882013-05-13 Peter Collingbourne <pcc@google.com>
4489
4490 * math/atest-exp2.c (get_log2): Remove const attribute.
4491
3608cb24
JM
44922013-05-15 Joseph Myers <joseph@codesourcery.com>
4493
4494 * math/libm-test.inc (struct test_f_l_data): New type.
4495 (RUN_TEST_LOOP_f_l): New macro.
4496 (lrint_test_data): New variable.
4497 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4498 (lrint_tonearest_test_data): New variable.
4499 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4500 (lrint_towardzero_test_data): New variable.
4501 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4502 (lrint_downward_test_data): New variable.
4503 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4504 (lrint_upward_test_data): New variable.
4505 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4506 (lround_test_data): New variable.
4507 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4508
39b1f617
PC
45092013-05-15 Peter Collingbourne <pcc@google.com>
4510
1deff3dc
PC
4511 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4512 (EXTRACT_WORDS64) Use where appropriate.
4513 (INSERT_WORDS64) Likewise.
4514
791f3ba0
PC
4515 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4516 constraints with x constraints.
4517 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4518
39b1f617
PC
4519 * malloc/obstack.c (_obstack_compat): Add initializer.
4520
12fba011
EM
45212013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4522
4523 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4524 si_trapno and add si_addr_lsb to _sifields.sigfault.
4525 (si_trapno): Remove macro.
4526 (si_addr_lsb): Define new macro.
4527 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4528
d369f531
JM
45292013-05-15 Joseph Myers <joseph@codesourcery.com>
4530
b861c6c4
JM
4531 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4532 instead of TEST_f_l.
4533 (llrint_test_tonearest): Likewise.
4534 (llrint_test_towardzero): Likewise.
4535 (llrint_test_downward): Likewise.
4536 (llrint_test_upward): Likewise.
4537 (llround_test): Likewise.
4538
7abeee12
JM
4539 * math/libm-test.inc (struct test_f_i_data): Add comment.
4540 (RUN_TEST_LOOP_f_b): New macro.
4541 (RUN_TEST_LOOP_f_b_tg): Likewise.
4542 (finite_test_data): New variable.
4543 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4544 (isfinite_test_data): New variable.
4545 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4546 (isinf_test_data): New variable.
4547 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4548 (isnan_test_data): New variable.
4549 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4550 (isnormal_test_data): New variable.
4551 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4552 (issignaling_test_data): New variable.
4553 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4554 (signbit_test_data): New variable.
4555 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4556
cbe8c4d3
JM
4557 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4558 with INVALID_EXCEPTION.
4559 (acosh_test_data): Likewise.
4560 (asin_test_data): Likewise.
4561 (atanh_test_data): Likewise.
4562 (fmod_test_data): Likewise.
4563 (log_test_data): Likewise.
4564 (log10_test_data): Likewise.
4565 (log2_test_data): Likewise.
4566 (pow_test_data): Likewise.
4567 (sqrt_test_data): Likewise.
4568 (y0_test_data): Likewise.
4569 (y1_test_data): Likewise.
4570 (yn_test_data): Likewise.
4571
5575c0e5
JM
4572 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4573 function contents.
4574
d369f531
JM
4575 * math/libm-test.inc (struct test_ff_i_data): New type.
4576 (RUN_TEST_LOOP_ff_i_tg): New macro.
4577 (isgreater_test_data): New variable.
4578 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4579 (isgreaterequal_test_data): New variable.
4580 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4581 (isless_test_data): New variable.
4582 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4583 (islessequal_test_data): New variable.
4584 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4585 (islessgreater_test_data): New variable.
4586 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4587 (isunordered_test_data): New variable.
4588 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4589
781fd748
DM
45902013-05-14 David S. Miller <davem@davemloft.net>
4591
4592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4593
87aa21df
JM
45942013-05-14 Joseph Myers <joseph@codesourcery.com>
4595
5e908270
JM
4596 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4597
f71172e5
JM
4598 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4599 extra_test to int.
4600 (struct test_f_i_data): Change type of max_ulp to int.
4601
8cfa635a
JM
4602 * math/libm-test.inc (test_ffI_f1_data): New type.
4603 (RUN_TEST_LOOP_ffI_f1): New macro.
4604 (remquo_test_data): New variable.
4605 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4606
2bcb36b2
JM
4607 * setjmp/tst-setjmp-fp.c: New file.
4608 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4609 (link-libm): New variable.
4610 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4611
acbd839a
JM
4612 * math/libm-test.inc (struct test_f_i_data): New type.
4613 (RUN_TEST_LOOP_f_i): New macro.
4614 (RUN_TEST_LOOP_f_i_tg): Likewise.
4615 (fpclassify_test_data): New variable.
4616 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4617 (ilogb_test_data): New variable.
4618 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4619
e414d745
JM
4620 * math/libm-test.inc (scalbln_test): Correct function name in END
4621 call.
4622
d9c2a0fd
JM
4623 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4624 (RUN_TEST_LOOP_fI_f1): New macro.
4625 (frexp_test_data): New variable.
4626 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4627
9dc9095d
JM
4628 * math/libm-test.inc (struct test_fF_f1_data): New type.
4629 (RUN_TEST_LOOP_fF_f1): New macro.
4630 (modf_test_data): New variable.
4631 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4632
87aa21df
JM
4633 * math/libm-test.inc (struct test_f_f1_data): New type.
4634 (RUN_TEST_LOOP_f_f1): New macro.
4635 (gamma_test_data): New variable.
4636 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4637 (lgamma_test_data): New variable.
4638 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4639
141af660
CD
46402013-05-13 Carlos O'Donell <carlos@redhat.com>
4641
4642 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4643 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4644 (main): Comment "tls" pseudo-hwcap.
4645
6d33265c
JM
46462013-05-13 Joseph Myers <joseph@codesourcery.com>
4647
68fc074c
JM
4648 * math/libm-test.inc (struct test_fl_f_data): New type.
4649 (RUN_TEST_LOOP_fl_f): New variable.
4650 (scalbln_test_data): New variable.
4651 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4652
243216e1
JM
4653 * math/libm-test.inc (struct test_fi_f_data): New type.
4654 (RUN_TEST_LOOP_fi_f): New macro.
4655 (ldexp_test_data): New variable.
4656 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4657 (scalbn_test_data): New variable.
4658 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4659
6a1992e2
JM
4660 * math/libm-test.inc (struct test_c_f_data): New type.
4661 (RUN_TEST_LOOP_c_f): New macro.
4662 (cabs_test_data): New variable.
4663 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4664 (carg_test_data): New variable.
4665 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4666 (cimag_test_data): New variable.
4667 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4668 (creal_test_data): New variable.
4669 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4670
0e400df5
JM
4671 * math/libm-test.inc (struct test_if_f_data): New type.
4672 (RUN_TEST_LOOP_if_f): New macro.
4673 (jn_test_data): New variable.
4674 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4675 (yn_test_data): New variable.
4676 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4677
6d33265c
JM
4678 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4679
f98ece5f
AZ
46802013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4681
4682 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4683 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4684
0f7d347b
SP
46852013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4686
43fe811b
SP
4687 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4688 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4689 (bench-deps): Add bench-timing.h.
4690 * benchtests-bench-skeleton.c: Include bench-timing.h.
4691 (main): Use TIMING_* macros instead of clock_gettime.
4692 * benchtests/bench-timing.h: New file.
4693
0f7d347b
SP
4694 [BZ #14582]
4695 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4696 Renamed from _LIB_VERSION.
4697 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4698
601a3a5f
JM
46992013-05-12 Joseph Myers <joseph@codesourcery.com>
4700
4f184d30
JM
4701 * math/libm-test.inc (struct test_fff_f_data): New type.
4702 (RUN_TEST_LOOP_fff_f): New macro.
4703 (fma_test_data): New variable.
4704 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4705 (fma_towardzero_test_data): New variable.
4706 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4707 (fma_downward_test_data): New variable.
4708 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4709 (fma_upward_test_data): New variable.
4710 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4711
08198877
JM
4712 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4713 (struct test_c_c_data): New type.
4714 (RUN_TEST_LOOP_c_c): New macro.
4715 (cacos_test_data): New variable.
4716 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4717 (cacosh_test_data): New variable.
4718 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4719 (casin_test_data): New variable.
4720 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4721 (casinh_test_data): New variable.
4722 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4723 (catan_test_data): New variable.
4724 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4725 (catanh_test_data): New variable.
4726 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4727 (ccos_test_data): New variable.
4728 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4729 (ccosh_test_data): New variable.
4730 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4731 (cexp_test_data): New variable.
4732 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4733 (clog_test_data): New variable.
4734 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4735 (clog10_test_data): New variable.
4736 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4737 (conj_test_data): New variable.
4738 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4739 (cproj_test_data): New variable.
4740 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4741 (csin_test_data): New variable.
4742 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4743 (csinh_test_data): New variable.
4744 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4745 (csqrt_test_data): New variable.
4746 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4747 (ctan_test_data): New variable.
4748 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4749 (ctan_tonearest_test_data): New variable.
4750 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4751 (ctan_towardzero_test_data): New variable.
4752 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4753 (ctan_downward_test_data): New variable.
4754 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4755 (ctan_upward_test_data): New variable.
4756 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4757 (ctanh_test_data): New variable.
4758 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4759 (ctanh_tonearest_test_data): New variable.
4760 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4761 (ctanh_towardzero_test_data): New variable.
4762 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4763 (ctanh_downward_test_data): New variable.
4764 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4765 (ctanh_upward_test_data): New variable.
4766 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4767 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4768 of BUILD_COMPLEX.
4769
601a3a5f
JM
4770 * math/libm-test.inc (struct test_ff_f_data): New type.
4771 (struct test_ff_f_data_nexttoward): Likewise.
4772 (RUN_TEST_LOOP_2_f): New macro.
4773 (RUN_TEST_LOOP_ff_f): Likewise.
4774 (atan2_test_data): New variable.
4775 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4776 (copysign_test_data): New variable.
4777 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4778 (fdim_test_data): New variable.
4779 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4780 (fmax_test_data): New variable.
4781 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4782 (fmin_test_data): New variable.
4783 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4784 (fmod_test_data): New variable.
4785 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4786 (hypot_test_data): New variable.
4787 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4788 (nextafter_test_data): New variable.
4789 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4790 (nexttoward_test_data): New variable.
4791 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4792 (pow_test_data): New variable.
4793 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4794 (pow_tonearest_test_data): New variable.
4795 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4796 (pow_towardzero_test_data): New variable.
4797 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4798 (pow_downward_test_data): New variable.
4799 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4800 (pow_upward_test_data): New variable.
4801 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4802 (remainder_test_data): New variable.
4803 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4804 (scalb_test_data): New variable.
4805 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4806 * sysdeps/i386/fpu/libm-test-ulps: Update.
4807
74c57478
JM
48082013-05-11 Joseph Myers <joseph@codesourcery.com>
4809
8329e4da
JM
4810 * math/libm-test.inc (fma_test): Use max_value instead of local
4811 variable fltmax.
4812 (nextafter_test): Likewise.
4813
74c57478
JM
4814 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4815 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4816 (acos_downward_test_data): New variable.
4817 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4818 (acos_upward_test_data): New variable.
4819 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4820 (acosh_test_data): New variable.
4821 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4822 (asin_test_data): New variable.
4823 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4824 (asin_tonearest_test_data): New variable.
4825 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4826 (asin_towardzero_test_data): New variable.
4827 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4828 (asin_downward_test_data): New variable.
4829 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4830 (asin_upward_test_data): New variable.
4831 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4832 (asinh_test_data): New variable.
4833 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4834 (atan_test_data): New variable.
4835 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4836 (atanh_test_data): New variable.
4837 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4838 (cbrt_test_data): New variable.
4839 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4840 (ceil_test_data): New variable.
4841 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4842 (cos_test_data): New variable.
4843 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4844 (cos_tonearest_test_data): New variable.
4845 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4846 (cos_towardzero_test_data): New variable.
4847 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4848 (cos_downward_test_data): New variable.
4849 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4850 (cos_upward_test_data): New variable.
4851 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4852 (cosh_test_data): New variable.
4853 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4854 (cosh_tonearest_test_data): New variable.
4855 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4856 (cosh_towardzero_test_data): New variable.
4857 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4858 (cosh_downward_test_data): New variable.
4859 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4860 (cosh_upward_test_data): New variable.
4861 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4862 (erf_test_data): New variable.
4863 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4864 (erfc_test_data): New variable.
4865 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4866 (exp_test_data): New variable.
4867 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4868 (exp_tonearest_test_data): New variable.
4869 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4870 (exp_towardzero_test_data): New variable.
4871 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4872 (exp_downward_test_data): New variable.
4873 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4874 (exp_upward_test_data): New variable.
4875 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4876 (exp10_test_data): New variable.
4877 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4878 (exp2_test_data): New variable.
4879 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4880 (expm1_test_data): New variable.
4881 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4882 (fabs_test_data): New variable.
4883 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4884 (floor_test_data): New variable.
4885 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4886 (j0_test_data): New variable.
4887 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4888 (j1_test_data): New variable.
4889 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4890 (log_test_data): New variable.
4891 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4892 (log10_test_data): New variable.
4893 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4894 (log1p_test_data): New variable.
4895 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4896 (log2_test_data): New variable.
4897 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4898 (logb_test_data): New variable.
4899 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4900 (logb_downward_test_data): New variable.
4901 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4902 (nearbyint_test_data): New variable.
4903 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4904 (rint_test_data): New variable.
4905 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4906 (rint_tonearest_test_data): New variable.
4907 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4908 (rint_towardzero_test_data): New variable.
4909 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4910 (rint_downward_test_data): New variable.
4911 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4912 (rint_upward_test_data): New variable.
4913 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4914 (round_test_data): New variable.
4915 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4916 (sin_test_data): New variable.
4917 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4918 (sin_tonearest_test_data): New variable.
4919 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4920 (sin_towardzero_test_data): New variable.
4921 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4922 (sin_downward_test_data): New variable.
4923 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4924 (sin_upward_test_data): New variable.
4925 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4926 (sinh_test_data): New variable.
4927 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4928 (sinh_tonearest_test_data): New variable.
4929 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4930 (sinh_towardzero_test_data): New variable.
4931 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4932 (sinh_downward_test_data): New variable.
4933 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4934 (sinh_upward_test_data): New variable.
4935 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4936 (sqrt_test_data): New variable.
4937 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4938 (tan_test_data): New variable.
4939 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4940 (tan_tonearest_test_data): New variable.
4941 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4942 (tan_towardzero_test_data): New variable.
4943 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4944 (tan_downward_test_data): New variable.
4945 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4946 (tan_upward_test_data): New variable.
4947 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4948 (tanh_test_data): New variable.
4949 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4950 (tgamma_test_data): New variable.
4951 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4952 (trunc_test_data): New variable.
4953 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4954 (y0_test_data): New variable.
4955 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4956 (y1_test_data): New variable.
4957 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4958 (significand_test_data): New variable.
4959 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4960
7187d844
CG
49612013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4962
4963 [BZ #12387]
4964 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4965
f63fae73
PT
49662013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4967
4968 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4969
8a67a4b3
AJ
49702013-05-10 Andreas Jaeger <aj@suse.de>
4971
4972 [BZ #15448]
4973 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4974 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4975
51df539d
JM
49762013-05-10 Joseph Myers <joseph@codesourcery.com>
4977
4978 * math/gen-libm-test.pl (adjust_arg): New function.
4979 (special_functions): Handle generating output in both functions
4980 and arrays.
4981 (parse_args): Likewise.
4982 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4983 $in_func argument to parse_args.
4984 * math/libm-test.inc (struct test_f_f_data): New type.
4985 (IF_ROUND_INIT_): New macro.
4986 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4987 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4988 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4989 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4990 (ROUND_RESTORE_): Likewise.
4991 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4992 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4993 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4994 (ROUND_RESTORE_FE_UPWARD): Likewise.
4995 (RUN_TEST_LOOP_f_f): New macro.
4996 (acos_test_data): New variable.
4997 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4998 (acos_tonearest_test_data): New variable.
4999 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5000
5c637fe5
SP
50012013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5002
5003 * benchtests/bench-skeleton.c (startup): Fix coding style.
5004
ab2b9461
JM
50052013-05-10 Joseph Myers <joseph@codesourcery.com>
5006
5007 [BZ #6809]
5008 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5009 negative infinity argument.
5010 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5011 negative infinity argument.
5012 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5013 negative infinity argument.
5014 * math/libm-test.inc (tgamma_test): Expect errno to be set for
5015 domain errors.
5016
4c0fe6fe
FW
50172013-05-10 Florian Weimer <fweimer@redhat.com>
5018
5019 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5020 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5021 * iconv/iconv_prog.c (main): Likewise.
5022 * locale/programs/charmap-dir.c (charmap_readdir)
5023 (fopen_uncompressed): Likewise.
5024 * locale/programs/locfile.c (siblings_uncached)
5025 (write_locale_data): Use lstat64 instead of lstat.
5026 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5027 stat.
5028
a3375d29
AJ
50292013-05-10 Andreas Jaeger <aj@suse.de>
5030
5031 [BZ #15395]
5032 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5033 localization.
5034 Include <locale.h>.
5035
36129722
CD
50362013-05-09 Carlos O'Donell <carlos@redhat.com>
5037
5038 * elf/dl-close.c (_dl_close_worker): Add comments.
5039
faa7f811
JM
50402013-05-09 Joseph Myers <joseph@codesourcery.com>
5041
ed41ffef
JM
5042 [BZ #15359]
5043 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5044 high part of pi/2.
5045 (__ieee754_rem_pio2l): Update comments.
5046
d0213cd0
JM
5047 [BZ #15429]
5048 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5049 high part of pi/2.
5050 (__ieee754_rem_pio2l): Update comments.
5051
0d3e777a
JM
5052 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5053 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5054
24f56066
JM
5055 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5056 M_PI_4l.
5057
faa7f811
JM
5058 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5059 (M_PI_34_LOG10El): Likewise.
5060 (M_PI2_LOG10El): Likewise.
5061 (M_PI4_LOG10El): Likewise.
5062 (M_PI_LOG10El): Likewise.
5063
e9a5e0fd
AZ
50642013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5065
5066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5067
d8cd06db
JM
50682013-05-08 Joseph Myers <joseph@codesourcery.com>
5069
a0d9f9d7
JM
5070 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5071 (MINUS_ZERO_INIT): Likewise.
5072 (PLUS_INFTY_INIT): Likewise.
5073 (MINUS_INFTY_INIT): Likewise.
5074 (QNAN_VALUE_INIT): Likewise.
5075 (MAX_VALUE_INIT): Likewise.
5076 (MIN_VALUE_INIT): Likewise.
5077 (MIN_SUBNORM_VALUE_INIT): Likewise.
5078 (plus_zero): Initialize with PLUS_ZERO_INIT.
5079 (minus_zero): Initialize with MINUS_ZERO_INIT.
5080 (plus_infty): Initialize with PLUS_INFTY_INIT.
5081 (minus_infty): Initialize with MINUS_INFTY_INIT.
5082 (qnan_value): Initialize with QNAN_VALUE_INIT.
5083 (max_value): Initialize with MAX_VALUE_INIT.
5084 (min_value): Initialize with MIN_VALUE_INIT.
5085 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5086
ae08db3b
JM
5087 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5088 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5089 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5090 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5091
f44bf14a
JM
5092 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5093 (RUN_TEST_2_f): Likewise.
5094 (RUN_TEST_ff_f): Likewise.
5095 (RUN_TEST_fi_f): Likewise.
5096 (RUN_TEST_fl_f): Likewise.
5097 (RUN_TEST_fff_f): Likewise.
5098 (RUN_TEST_c_f): Likewise.
5099 (RUN_TEST_f_f1): Likewise.
5100 (RUN_TEST_fF_f1): Likewise.
5101 (RUN_TEST_fI_f1): Likewise.
5102 (RUN_TEST_ffI_f1): Likewise.
5103 (RUN_TEST_c_c): Likewise.
5104 (RUN_TEST_cc_c): Likewise.
5105 (RUN_TEST_f_i): Likewise.
5106 (RUN_TEST_f_i_tg): Likewise.
5107 (RUN_TEST_ff_i_tg): Likewise.
5108 (RUN_TEST_f_b): Likewise.
5109 (RUN_TEST_f_b_tg): Likewise.
5110 (RUN_TEST_f_l): Likewise.
5111 (RUN_TEST_f_L): Likewise.
5112 (RUN_TEST_sincos): Likewise.
5113 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5114 whether to show exceptions. Do not include ");\n" in return
5115 value.
5116 (special_functions): Output call to RUN_TEST_sincos instead of
5117 check_float calls. Update calls to new_test.
5118 (parse_args): Output call to single RUN_TEST_* macro instead of
5119 check_* calls and other assignments. Update calls to new_test.
5120
d8cd06db
JM
5121 [BZ #2546]
5122 [BZ #2560]
5123 [BZ #5159]
5124 [BZ #15426]
5125 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5126 input to result for tgamma overflow.
5127 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5128 (gamma_coeff): New variable.
5129 (NCOEFF): New macro.
5130 (gamma_positive): New function.
5131 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5132 underflow here. Use gamma_positive instead of exp (lgamma) for
5133 other arguments.
5134 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5135 (gamma_coeff): New variable.
5136 (NCOEFF): New macro.
5137 (gammaf_positive): New function.
5138 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5139 underflow here. Use gamma_positive instead of exp (lgamma) for
5140 other arguments.
5141 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5142 (gamma_coeff): New variable.
5143 (NCOEFF): New macro.
5144 (gammal_positive): New function.
5145 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5146 underflow here. Use gamma_positive instead of exp (lgamma) for
5147 other arguments.
5148 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5149 (gamma_coeff): New variable.
5150 (NCOEFF): New macro.
5151 (gammal_positive): New function.
5152 (__ieee754_gammal_r): Handle positive infinity, overflow and
5153 underflow here. Handle NaN the same as positive infinity. Remove
5154 check x < 0xffffffff for negative integers. Use gamma_positive
5155 instead of exp (lgamma) for other arguments.
5156 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5157 (gamma_coeff): New variable.
5158 (NCOEFF): New macro.
5159 (gammal_positive): New function.
5160 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5161 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5162 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5163 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5164 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5165 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5166 * sysdeps/generic/math_private.h (__gamma_productf): New
5167 prototype.
5168 (__gamma_product): Likewise.
5169 (__gamma_productl): Likewise.
5170 * math/Makefile (libm-calls): Add gamma_product.
5171 * math/libm-test.inc (tgamma_test): Add more tests.
5172 * sysdeps/i386/fpu/libm-test-ulps: Update.
5173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5174
bb7cf681
OB
51752013-05-08 Ondřej Bílka <neleai@seznam.cz>
5176
5177 * benchtests/bench-skeleton.c (main): Preheat CPU.
5178
ba853947
AJ
51792013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5180
5181 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5182
8347c74c
RM
51832013-05-07 Roland McGrath <roland@hack.frob.com>
5184
5185 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5186 and _dl_skip_args_internal.
5187
e8dd4791
CD
51882013-05-07 Carlos O'Donell <carlos@redhat.com>
5189
5190 * manual/message.texi (Message Translation): Talk about users.
5191 Message to key mapping impacts design.
5192
c7405830
RM
51932013-05-06 Roland McGrath <roland@hack.frob.com>
5194
a9173057
RM
5195 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5196
976e2f03
RM
5197 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5198
9723ffc5
RM
5199 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5200 * sysdeps/wordsize-64/glob64.c: ... here.
5201
962e6658
RM
5202 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5203 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5204 New macros.
5205
ee586a6d
RM
5206 * debug/getlogin_r_chk.c: Moved to ...
5207 * login/getlogin_r_chk.c: ... here.
5208 * debug/Makefile (routines): Move getlogin_r_chk to ...
5209 * login/Makefile (routines): ... here.
5210 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5211 * login/Versions (libc: GLIBC_2.4): ... here.
5212
355f9165
RM
5213 * io/poll.c (__poll): Renamed from poll.
5214 Add libc_hidden_def.
5215 (poll): Define as weak alias.
5216
bd9ffde6
RM
5217 * debug/ptsname_r_chk.c: Moved to ...
5218 * login/ptsname_r_chk.c: ... here.
5219 * debug/Makefile (routines): Move ptsname_r_chk to ...
5220 * login/Makefile (routines): ... here.
5221 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5222 * login/Versions (libc: GLIBC_2.4): ... here.
5223
8fb16a04
RM
5224 * posix/getlogin.c: Moved to ...
5225 * login/getlogin.c: ... here.
5226 * posix/getlogin_r.c: Moved to ...
5227 * login/getlogin_r.c: ... here.
5228 * posix/getlogin_r.c: Moved to ...
5229 * login/getlogin_r.c: ... here.
5230 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5231 * login/Makefile (routines): ... here.
5232 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5233 * login/Versions (libc: GLIBC_2.0): ... here.
5234
b99b892f
RM
5235 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5236 (setrlimit): Define as weak alias.
5237
c7405830
RM
5238 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5239 Call __ names for open, ftruncate, and close.
5240 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5241 (truncate): Define as weak alias.
5242
5bf96de5
JM
52432013-05-06 Joseph Myers <joseph@codesourcery.com>
5244
9ea3513c
JM
5245 * math/gen-libm-test.pl (parse_args): Initialize x before each
5246 test of frexp, modf and remquo.
5247
5bf96de5
JM
5248 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5249 test signgam value.
5250
16e616a7
AZ
52512013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5252
5253 [BZ #15418]
5254 [BZ #15419]
5255 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5256 internal tests.
5257 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5258
d5e82754
RM
52592013-05-06 Roland McGrath <roland@hack.frob.com>
5260
5261 * elf/dl-writev.h: New file.
5262 * elf/dl-misc.c: Include it.
5263 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5264 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5265
a7548d41
JM
52662013-05-04 Joseph Myers <joseph@codesourcery.com>
5267
b7dab1e4
JM
5268 * math/libm-test.inc (noXFails): Remove variable.
5269 (noXPasses): Likewise.
5270 (BUILD_COMPLEX_INT): Remove macro.
5271 (print_screen): Remove xfail argument.
5272 (print_screen_max_error): Likewise.
5273 (update_stats): Likewise.
5274 (print_max_error): Likewise. Update calls to other affected
5275 functions.
5276 (print_complex_max_error): Likewise.
5277 (test_single_exception): Update calls to print_screen.
5278 (test_single_errno): Likewise.
5279 (check_float_internal): Remove xfail argument. Update calls to
5280 other affected functions.
5281 (check_float): Likewise.
5282 (check_complex): Likewise.
5283 (check_int): Likewise.
5284 (check_long): Likewise.
5285 (check_bool): Likewise.
5286 (check_longlong): Likewise.
5287 (main): Don't print noXFails and noXPasses.
5288 * math/gen-libm-test.pl (top level): Don't mention expected
5289 failure handling in comment.
5290 (new_test): Don't handle expected failures.
5291 (parse_args): Don't mention expected failure handling in comment.
5292 (generate_testfile): Don't handle expected failures.
5293 (parse_ulps): Likewise.
5294 (print_ulps_file): Likewise.
5295 (get_failure): Remove function.
5296 (output_test): Don't handle expected failures.
5297 * make/README.libm-test: Don't mention expected failure handling.
5298
a7548d41
JM
5299 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5300 (minus_zero): Likewise.
5301 (plus_infty): Likewise.
5302 (minus_infty): Likewise.
5303 (qnan_value): Likewise.
5304 (max_value): Likewise.
5305 (min_value): Likewise.
5306 (min_subnorm_value): Likewise.
5307 (initialize): Do not initialize those variables dynamically.
5308
60bfd54c
RM
53092013-05-03 Roland McGrath <roland@hack.frob.com>
5310
cc0e6ed8
RM
5311 * io/open.c (__open_2): Moved to ...
5312 * io/open_2.c: ... this new file.
5313 * io/open64.c (__open64_2): Moved to ...
5314 * io/open64_2.c: ... this new file.
5315 * io/openat.c (__openat_2): Moved to ...
5316 * io/openat_2.c: ... this new file.
5317 * io/openat64.c (__openat64_2): Moved to ...
5318 * io/openat64_2.c: ... this new file.
5319 * io/Makefile (routines): Add them.
5320 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5321 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5322 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5323 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5324 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5325 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5326 (__openat64): Add hidden_ver.
5327 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5328 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5329
60bfd54c
RM
5330 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5331 Separately conditionalize setting of GLRO(dl_sysinfo) so
5332 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5333 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5334
83e7640f
AZ
53352013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5336
5337 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5338 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5339 definition.
5340 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5341 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5342 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5343 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5344 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5345
d5dc2af3
JM
53462013-05-03 Joseph Myers <joseph@codesourcery.com>
5347
c31a5b1e
JM
5348 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5349 test signgam value.
5350
d5dc2af3
JM
5351 * math/libm-test.inc (hypot_test): Do not use
5352 IGNORE_ZERO_INF_SIGN.
5353
164fd39d
AJ
53542013-05-03 Andreas Jaeger <aj@suse.de>
5355
5356 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5357 Linux 3.9.
5358 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5359 (PF_MAX): Adjust for VSOCK change.
5360
8237f48c
AZ
53612013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5362
5363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5364
9df02941
CD
53652013-05-02 Carlos O'Donell <carlos@redhat.com>
5366
5367 [BZ #15264]
5368 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5369 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5370 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5371
d422395e
DM
53722013-05-02 David S. Miller <davem@davemloft.net>
5373
5374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5375
a07c5731
OB
53762013-05-01 Ondřej Bílka <neleai@seznam.cz>
5377
5378 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5379
1324e37f
RM
53802013-05-01 Roland McGrath <roland@hack.frob.com>
5381
5382 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5383
0695940b
RS
53842013-05-01 Richard Smith <richard@metafoo.co.uk>
5385
bb5f27ad 5386 [BZ #14952]
0695940b
RS
5387 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5388 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5389 Use __attribute__ ((__gnu_inline__)).
5390 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5391 Don't use __attribute__ ((__gnu_inline__)).
5392
10de07f5
JM
53932013-05-01 Joseph Myers <joseph@codesourcery.com>
5394
5395 [BZ #15423]
5396 * math/s_catan.c (__catan): Handle small real or imaginary part of
5397 input specially to avoid spurious underflow.
5398 * math/s_catanf.c (__catanf): Likewise.
5399 * math/s_catanh.c (__catanh): Likewise.
5400 * math/s_catanhf.c (__catanhf): Likewise.
5401 * math/s_catanhl.c (__catanhl): Likewise.
5402 * math/s_catanl.c (__catanl): Likewise.
5403 * math/libm-test.inc (catan_test): Add more tests.
5404 (catanh_test): Likewise.
5405 * sysdeps/i386/fpu/libm-test-ulps: Update.
5406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5407
cb4d5414
AZ
54082013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5409
5410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5411
caf84319
JM
54122013-04-30 Joseph Myers <joseph@codesourcery.com>
5413
5414 [BZ #15416]
5415 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5416 accurately for denominator in atan2.
5417 * math/s_catanf.c (__catanf): Likewise.
5418 * math/s_catanh.c (__catanh): Likewise.
5419 * math/s_catanhf.c (__catanhf): Likewise.
5420 * math/s_catanhl.c (__catanhl): Likewise.
5421 * math/s_catanl.c (__catanl): Likewise.
5422 * math/libm-test.inc (catan_test): Add more tests.
5423 (catanh_test): Likewise.
5424 * sysdeps/i386/fpu/libm-test-ulps: Update.
5425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5426
d569c6ee
SP
54272013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5428
6dbe713d
SP
5429 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5430
f0ee064b
SP
5431 * benchtests/Makefile (bench): Remove slow benchmarks.
5432 * benchtests/atan-inputs: Add slow benchmark inputs.
5433 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5434 (BENCH_FUNC): Accept variant offset.
5435 (VARIANT): Define.
5436 * benchtests/bench-skeleton.c (main): Run benchmark for each
5437 variant.
5438 * benchtests/cos-inputs: Add slow benchmark inputs.
5439 * benchtests/exp-inputs: Likewise.
5440 * benchtests/pow-inputs: Likewise.
5441 * benchtests/sin-inputs: Likewise.
5442 * benchtests/slowatan-inputs: Remove.
5443 * benchtests/slowatan.c: Remove.
5444 * benchtests/slowcos-inputs: Remove.
5445 * benchtests/slowcos.c: Remove.
5446 * benchtests/slowexp-inputs: Remove.
5447 * benchtests/slowexp.c: Remove.
5448 * benchtests/slowpow-inputs: Remove.
5449 * benchtests/slowpow.c: Remove.
5450 * benchtests/slowsin-inputs: Remove.
5451 * benchtests/slowsin.c: Remove.
5452 * benchtests/slowtan-inputs: Remove.
5453 * benchtests/slowtan.c: Remove.
5454 * benchtests/tan-inputs: Add slow benchmark inputs.
5455 * scripts/bench.pl: Parse comments and directives.
5456
d569c6ee
SP
5457 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5458 in CPPFLAGS.
5459 ($(objpfx)bench-%.c): Remove *-ITER.
5460 * benchtests/bench-modf.c: Remove definition of ITER.
5461 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5462 (main): Loop for DURATION seconds instead of fixed number of
5463 iterations.
5464 * scripts/bench.pl: Don't expect iterations in parameters.
5465
a6a242fe
RM
54662013-04-29 Roland McGrath <roland@hack.frob.com>
5467
5468 * io/fchdir.c (__fchdir): Renamed from fchdir.
5469 (fchdir): Define as weak alias.
5470
f2da7793
JM
54712013-04-29 Joseph Myers <joseph@codesourcery.com>
5472
5473 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5474 (ERRNO_EDOM): Likewise.
5475 (ERRNO_ERANGE): Likewise.
5476 (noErrnoTests): New variable.
5477 (init_max_error): Set errno to 0.
5478 (test_single_errno): New function.
5479 (test_errno): Likewise.
5480 (check_float_internal): Call test_errno. Set errno to 0.
5481 (check_complex): Refer to errno tests in comment.
5482 (check_int): Call test_errno. Set errno to 0.
5483 (check_long): Likewise.
5484 (check_bool): Likewise.
5485 (check_longlong): Likewise.
5486 (cos_test): Use ERRNO_* flags for errno tests instead of
5487 check_int.
5488 (expm1_test): Likewise.
5489 (fmod_test): Likewise.
5490 (ilogb_test): Likewise.
5491 (lgamma_test): Likewise.
5492 (pow_test): Likewise.
5493 (remainder_test): Likewise.
5494 (sin_test): Likewise.
5495 (tan_test): Likewise.
5496 (yn_test): Likewise.
5497 (initialize): Set errno to 0.
5498 (main): Print number of errno tests.
5499 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5500
b1a36ceb
AJ
55012013-04-29 Andreas Jaeger <aj@suse.de>
5502
c3ed8088
AJ
5503 [BZ #15084]
5504 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5505 and RES_USEVC.
5506
f1a24198
AJ
5507 [BZ #15085]
5508 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5509 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5510 unimplemented.
5511
9ce3b2cb
AJ
5512 [BZ #15380]
5513 * stdlib/random.c (__initstate): Return NULL if
5514 __initstate fails.
5515
f1a24198 5516 [BZ #15086]
b1a36ceb
AJ
5517 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5518 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5519 RES_SNGLKUPREOP.
5520
7e7b6f36
AZ
55212013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5522
5523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5524
4d14f449
JM
55252013-04-29 Joseph Myers <joseph@codesourcery.com>
5526
5527 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5528 of individual tests.
5529 (casin_test): Likewise.
5530 (casinh_test): Likewise.
5531
5b4217d7
JM
55322013-04-27 Joseph Myers <joseph@codesourcery.com>
5533
5534 [BZ #15409]
5535 * math/s_catan.c (__catan): Handle arguments with large real or
5536 imaginary part separately without squaring.
5537 * math/s_catanf.c (__catanf): Likewise.
5538 * math/s_catanh.c (__catanh): Likewise.
5539 * math/s_catanhf.c (__catanhf): Likewise.
5540 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5541 and redefine.
5542 (__catanhl): Handle arguments with large real or imaginary part
5543 separately without squaring.
5544 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5545 and redefine.
5546 (__catanl): Handle arguments with large real or imaginary part
5547 separately without squaring.
5548 * math/libm-test.inc (catan_test): Add more tests.
5549 (catanh_test): Likewise.
5550 * sysdeps/i386/fpu/libm-test-ulps: Update.
5551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5552
4220c3ef
AJ
55532013-04-27 Andreas Jaeger <aj@suse.de>
5554
5555 [BZ #15007]
5556 * stdlib/stdlib.h: Update guards for qecvt.
5557 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5558 <stdlib.h>.
5559
4721b2d1
AM
55602013-04-27 Allan McRae <allan@archlinux.org>
5561
5562 * sysdeps/i386/fpu/libm-test-ulps: Update.
5563
f0302940
JM
55642013-04-26 Joseph Myers <joseph@codesourcery.com>
5565
9457fd95
JM
5566 [BZ #15406]
5567 * math/s_catan.c: Include <float.h>.
5568 (__catan): Ensure underflow exception occurs for underflowed
5569 result.
5570 * math/s_catanf.c: Include <float.h>.
5571 (__catanf): Ensure underflow exception occurs for underflowed
5572 result.
5573 * math/s_catanh.c: Include <float.h>.
5574 (__catanh): Ensure underflow exception occurs for underflowed
5575 result.
5576 * math/s_catanhf.c: Include <float.h>.
5577 (__catanhf): Ensure underflow exception occurs for underflowed
5578 result.
5579 * math/s_catanhl.c: Include <float.h>.
5580 (__catanhl): Ensure underflow exception occurs for underflowed
5581 result.
5582 * math/s_catanl.c: Include <float.h>.
5583 (__catanl): Ensure underflow exception occurs for underflowed
5584 result.
5585 * math/libm-test.inc (catan_test): Add more tests.
5586 (catanh_test): Likewise.
5587
f0302940
JM
5588 [BZ #15405]
5589 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5590 underflowed result.
5591 * math/s_ccoshf.c (__ccoshf): Likewise.
5592 * math/s_ccoshl.c (__ccoshl): Likewise.
5593 * math/s_csin.c (__csin): Likewise.
5594 * math/s_csinf.c (__csinf): Likewise.
5595 * math/s_csinh.c (__csinh): Likewise.
5596 * math/s_csinhf.c (__csinhf): Likewise.
5597 * math/s_csinhl.c (__csinhl): Likewise.
5598 * math/s_csinl.c (__csinl): Likewise.
5599 * math/libm-test.inc (ccos_test): Add more tests.
5600 (ccosh_test): Likewise.
5601 (csin_test): Likewise.
5602 (csinh_test): Likewise.
5603
aa630f59
AZ
56042013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5605
5606 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5607 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5608 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5609 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5610 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5611 powerpc/power5+/fpu folders.
5612 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5613
5614
1b835983
MT
56152013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5616
5617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5618
73709b26
JM
56192013-04-25 Joseph Myers <joseph@codesourcery.com>
5620
5621 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5622 additions to variable.
5623 [$(config-machine) = x86_64] (modules-names): Likewise.
5624 ($(objpfx)tst-audit3): Remove dependency.
5625 ($(objpfx)tst-audit3.out): Likewise.
5626 ($(objpfx)tst-audit4): Likewise.
5627 ($(objpfx)tst-audit4.out): Likewise.
5628 ($(objpfx)tst-audit5): Likewise.
5629 ($(objpfx)tst-audit5.out): Likewise.
5630 ($(objpfx)tst-audit6): Likewise.
5631 ($(objpfx)tst-audit6.out): Likewise.
5632 ($(objpfx)tst-audit7): Likewise.
5633 ($(objpfx)tst-audit7.out): Likewise.
5634 (tst-audit3-ENV): Remove variable.
5635 (tst-audit4-ENV): Likewise.
5636 (tst-audit5-ENV): Likewise.
5637 (tst-audit6-ENV): Likewise.
5638 (tst-audit7-ENV): Likewise.
5639 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5640 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5641 addition to variable.
5642 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5643 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5644 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5646 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5647 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5648 tst-audit3, tst-audit4 and tst-audit5.
5649 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5650 tst-audit6 and tst-audit7.
5651 [$(subdir) = elf] (modules-names): Add audit modules for those
5652 tests.
5653 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5654 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5655 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5656 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5657 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5658 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5659 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5660 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5661 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5662 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5663 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5664 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5665 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5666 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5667 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5668 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5669 Likewise.
5670 [$(subdir) = elf && $(config-cflags-avx) = yes]
5671 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5672 [$(subdir) = elf && $(config-cflags-avx) = yes]
5673 (CFLAGS-tst-auditmod4a.c): Likewise.
5674 [$(subdir) = elf && $(config-cflags-avx) = yes]
5675 (CFLAGS-tst-auditmod4b.c): Likewise.
5676 [$(subdir) = elf && $(config-cflags-avx) = yes]
5677 (CFLAGS-tst-auditmod6b.c): Likewise.
5678 [$(subdir) = elf && $(config-cflags-avx) = yes]
5679 (CFLAGS-tst-auditmod6c.c): Likewise.
5680 [$(subdir) = elf && $(config-cflags-avx) = yes]
5681 (CFLAGS-tst-auditmod7b.c): Likewise.
5682 * elf/tst-audit3.c: Move to ...
5683 * sysdeps/x86_64/tst-audit3.c: ... here.
5684 * elf/tst-audit4.c: Move to ...
5685 * sysdeps/x86_64/tst-audit4.c: ... here.
5686 * elf/tst-audit5.c: Move to ...
5687 * sysdeps/x86_64/tst-audit5.c: ... here.
5688 * elf/tst-audit6.c: Move to ...
5689 * sysdeps/x86_64/tst-audit6.c: ... here.
5690 * elf/tst-audit7.c: Move to ...
5691 * sysdeps/x86_64/tst-audit7.c: ... here.
5692 * elf/tst-auditmod3a.c: Move to ...
5693 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5694 * elf/tst-auditmod3b.c: Move to ...
5695 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5696 * elf/tst-auditmod4a.c: Move to ...
5697 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5698 * elf/tst-auditmod4b.c: Move to ...
5699 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5700 * elf/tst-auditmod5a.c: Move to ...
5701 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5702 * elf/tst-auditmod5b.c: Move to ...
5703 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5704 * elf/tst-auditmod6a.c: Move to ...
5705 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5706 * elf/tst-auditmod6b.c: Move to ...
5707 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5708 * elf/tst-auditmod6c.c: Move to ...
5709 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5710 * elf/tst-auditmod7a.c: Move to ...
5711 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5712 * elf/tst-auditmod7b.c: Move to ...
5713 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5714
1ef74943
PP
57152013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5716
5717 [BZ #15366]
5718 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5719 define unconditionally.
5720 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5721 define unconditionally.
5722 (INT8_C, INT16_C, etc.): Likewise.
5723
93fd48c5
MR
57242013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5725
ae9552cf
MR
5726 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5727 __ehdr_start with hidden visibility.
5728
93fd48c5
MR
5729 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5730
418601aa
CD
57312013-04-24 Carlos O'Donell <carlos@redhat.com>
5732
5733 * math/libm-test.inc (cos_test): Use accurate hex constants.
5734 (sincost_test): Likewise.
5735
2f38fbfe
JM
57362013-04-24 Joseph Myers <joseph@codesourcery.com>
5737
5e221800
JM
5738 * math/libm-test.inc (catan_test): Add more tests.
5739 (catanh_test): Likewise.
5740
77f143fd
JM
5741 * math/s_catanf.c (__catanf): Use suffixed floating-point
5742 constants.
5743 * math/s_catanhf.c (__catanhf): Likewise.
5744 * math/s_catanhl.c (__catanhl): Likewise.
5745 * math/s_catanl.c (__catanl): Likewise.
5746
2f38fbfe
JM
5747 [BZ #15394]
5748 * math/s_catan.c (__catan): Calculate imaginary part of result
5749 with log1p not log unless computing log of number close to 0.
5750 * math/s_catanf.c (__catanf): Likewise.
5751 * math/s_catanl.c (__catanl): Likewise.
5752 * math/s_catanh.c (__catanh): Calculate real part of result with
5753 log1p not log unless computing log of number close to 0.
5754 * math/s_catanhf.c (__catanhf): Likewise.
5755 * math/s_catanhl.c (__catanhl): Likewise.
5756 * math/libm-test.inc (catan_test): Add more tests.
5757 (catanh_test): Likewise.
5758 * sysdeps/i386/fpu/libm-test-ulps: Update.
5759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5760
45d69176
SP
57612013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5762
5763 * benchtests/Makefile: Mention files in which fast and slow
5764 paths of math functions are implemented.
5765
87f51853
RM
57662013-04-23 Roland McGrath <roland@hack.frob.com>
5767
5768 * sysdeps/posix/timespec_get.c: New file.
5769
3c026539
AZ
57702013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771
5772 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5773 POWER.
5774 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5775 for POWER.
5776 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5777 powerpc/power5/fpu folders.
5778 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5779 * benchtests/Makefile: Add modf testcase.
5780 * benchtests/bench-modf.c: New file: Benchmark test for mo
5781
ff491d14
SP
57822013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5783
5784 [BZ #14888]
5785 * time/Makefile (tests): Add tst-strptime-whitespace.
5786 * time/strptime_l.c (get_number): Use ISSPACE.
5787 (__strptime_internal): Likewise.
5788 * time/tst-strptime-whitespace.c: New test case.
5789
7ed3f4e8
AS
57902013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5791
5792 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5793 member.
5794 (_nss_files_init): Set it here.
5795
5c95f7b6
HC
57962013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5797
5798 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5799 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5800 unsigned.
5801
d34c9158
JBG
58022013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5803
5804 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5805
2169712d
SP
58062013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5807
5808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5809 size just once.
5810
29c5de99
DM
58112013-04-21 David S. Miller <davem@davemloft.net>
5812
5813 * po/ru.po: Update Russion translation from translation project.
5814
ccdad15d
AC
58152013-04-17 Adam Conrad <adconrad@0c3.net>
5816
5817 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5818 and setfsgid.
5819
0f122b8d
CD
58202013-04-17 Carlos O'Donell <carlos@redhat.com>
5821
5c5b07da 5822 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5823 * configure: Regenerate.
5c5b07da 5824 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5825 Add example to error message.
5826 * sysdeps/i386/configure: Regenerate.
5827
037714dd
SP
58282013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5829
5830 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5831 slowtan.
5832 * benchtests/cos-inputs: New file.
5833 * benchtests/slowcos-inputs: New file.
5834 * benchtests/slowcos.c: New file.
5835 * benchtests/slowtan-inputs: New file.
5836 * benchtests/slowtan.c: New file.
5837 * benchtests/tan-inputs: New file.
5838
e913141d
RM
58392013-04-16 Roland McGrath <roland@hack.frob.com>
5840
5841 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5842 considered kosher.
5843
a2964074
SP
58442013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5845
4856bcd2
SP
5846 * benchtests/Makefile: Include cppflags-iterator.mk to add
5847 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5848
a2964074
SP
5849 * Makefile.in (bench-clean): New target.
5850 * benchtests/Makefile (bench-clean): Likewise.
5851
9fbf9aca
DH
58522013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5853
5854 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5855
207d1e2a
TS
58562013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5857
5858 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5859
306dfba9
AS
58602013-04-15 Andreas Schwab <schwab@suse.de>
5861
5862 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5864 * nscd/pwdcache.c (cache_addpw): Likewise.
5865 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5866 more than recsize.
5867
206a6699
SP
58682013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5869
5870 * benchtests/Makefile (bench): Write all output to
5871 bench-out.tmp together.
5872
0582f6b3
AS
58732013-04-15 Andreas Schwab <schwab@suse.de>
5874
5875 * nscd/nscd.c (main): Don't fork again after closing files.
5876
acb4325f
SP
58772013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5878
5cb26d0a
SP
5879 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5880
acb4325f
SP
5881 * benchtests/Rules (bench-deps): Collect dependencies into a
5882 single variable. Add Makefile to dependencies.
5883 ($(objpfx)bench-%.c): Depend on bench-deps.
5884
47792506
RM
58852013-04-12 Roland McGrath <roland@hack.frob.com>
5886 Xavier Roche <roche+kml2@exalead.com>
5887
5888 [BZ #15361]
5889 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5890 just that it's a file descriptor.
5891 * manual/llio.texi (Synchronizing AIO Operations): Update description
5892 for EBADF error from aio_fsync.
5893
8fc1bee5
SP
58942013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5895
5896 * Rules (bench): Move target definition...
5897 * benchtests/Makefile: ... here.
5898
aba5e333
CD
58992013-04-11 Carlos O'Donell <carlos@redhat.com>
5900
5901 * math/libm-test.inc (cos_test): Fix PI/2 test.
5902 (sincos_test): Likewise.
5903 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5904 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5905
273cdee8
AS
59062013-04-11 Andreas Schwab <schwab@suse.de>
5907
6ecec3b6
AS
5908 [BZ #13988]
5909 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5910 accept exponent character only when digits were seen.
5911 * stdio-common/Makefile (tests): Add bug26.
5912 * stdio-common/bug26.c: New file.
5913
273cdee8
AS
5914 [BZ #14293]
5915 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5916 non-freeable.
5917
8da491f5
SP
59182013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5919
01dc6df9
SP
5920 * Makeconfig (rtld-prefix): Define built linker prefix.
5921 * Rules (run-bench): Use it.
5922 * math/Makefile (run-regen-ulps): Likewise.
5923
8da491f5
SP
5924 * Rules (bench): Remove eval.
5925
abe7f530
SP
59262013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5927 Roland McGrath <roland@hack.frob.com>
5928 Ondrej Bilka <neleai@seznam.cz>
5929
5930 [BZ #15346]
5931 * time/getdate.c: Include ctype.h and alloca.h.
5932 (__getdate_r): Trim leading and trailing spaces of input.
5933 * time/tst-getdate.c (tests): Add tests with leading and
5934 trailing spaces.
5935
61c23e62
RM
59362013-04-08 Roland McGrath <roland@hack.frob.com>
5937
5938 [BZ #14280]
5939 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5940 when computing value.
5941
7208a313
CD
59422013-04-06 Carlos O'Donell <carlos@redhat.com>
5943
085b2d41
CD
5944 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5945 Use testrun.sh to run libm tests.
5946
7208a313
CD
5947 [BZ #15309]
5948 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5949
872c0acd
MM
59502013-04-06 Marko Myllynen <myllynen@redhat.com>
5951
5952 [BZ #15264]
5953 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5954
26510bdd
CD
59552013-04-06 Carlos O'Donell <carlos@redhat.com>
5956
5957 * Makefile.in (regen-ulps): New target.
5958 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5959 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5960 [ifneq (no,$(PERL)] (regen-ulps): New target.
5961 [ifeq (no,$(PERL)] (regen-ulps): New target.
5962 * math/libm-test.inc (ulps_file_name): Define.
5963 (output_dir): New variable.
5964 (options): Add "output-dir" option.
5965 (parse_opt): Handle 'o' case.
5966 (main): If output_dir is non-NULL use it as a prefix
5967 otherwise use "".
5968 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5969
a01f19c8
CD
59702013-04-06 Carlos O'Donell <carlos@redhat.com>
5971
5972 [BZ #10060, #10062]
5973 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5974 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5975 fail configure if __sync_val_compare_and_swap is not inlined.
5976 * sysdeps/i386/configure: Regenerate.
5977 * configure.in: Build for i686 when configured for i386.
5978 * configure: Regenerate.
5979 * README: Remove i386 reference.
5980
b7a329a5
CD
59812013-04-06 Carlos O'Donell <carlos@redhat.com>
5982
5983 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5984 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5985
bf0f50df
TS
59862013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5987
ee091edf
TS
5988 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5989 (lmsnanval): New variables.
5990 (F): Add conversion tests.
5991 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5992 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5993
a8b792d6
TS
5994 * stdio-common/tstdiomisc.c (F): Properly collect individual
5995 tests' results.
5996
a1cbf437
TS
5997 [BZ #14686, #15336]
5998 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5999 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6000 Instead, use input NaN values or generate a qNaN by arithmetic
6001 operation. Also fix bugs to comply with the standard.
6002 * math/libm-test.inc (remainder_test): Add more tests.
6003
8b43a0c9
TS
6004 [BZ #15335, #15342]
6005 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6006 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6007 input NaN values or generate a qNaN by arithmetic operation.
6008
d91da4ce
TS
6009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6010 unreachable code.
6011
bf0f50df
TS
6012 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6013 definitions.
6014
05e166c8
JM
60152013-04-03 Joseph Myers <joseph@codesourcery.com>
6016
6017 [BZ #14478]
6018 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6019 underflowed result.
6020 * math/s_cexpf.c (__cexpf): Likewise.
6021 * math/s_cexpl.c (__cexpl): Likewise.
6022 * math/libm-test.inc (cexp_test): Add more tests.
6023
1cef1b19
AS
60242013-04-03 Andreas Schwab <schwab@suse.de>
6025
6026 [BZ #15330]
6027 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6028 order arrays from heap if bigger than alloca cutoff.
6029
74d87055
TS
60302013-04-03 Thomas Schwinge <thomas@codesourcery.com>
6031
6032 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6033 (SNAN_TESTS_double): Refer to GCC PR56831.
6034 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6035 GCC PR56828.
6036
d755bba4
SP
60372013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6038
90d5d5bb
SP
6039 * Rules (bench): Move bench.out after the run is complete.
6040
73e0cd5d
SP
6041 * Rules (bench): Echo currently running benchmark.
6042
64aabd4b
SP
6043 * benchtests/Makefile (bench): Add atan and slowatan.
6044 * benchtests/atan-inputs: New file.
6045 * benchtests/slowatan-inputs: New file.
6046 * benchtests/slowatan.c: New file.
6047
c871eccd
SP
6048 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6049 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6050 its value.
6051
d755bba4
SP
6052 [BZ #15305]
6053 * sysdeps/unix/sysv/linux/kernel-features.h
6054 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6055 __ASSUME_XFS_RESTRICTED_CHOWN.
6056 * sysdeps/unix/sysv/linux/pathconf.c
6057 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6058 Save and restore errno.
6059
52ce4860
JM
60602013-04-02 Joseph Myers <joseph@codesourcery.com>
6061
6062 [BZ #15327]
6063 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6064 arguments using __kernel_casinh.
6065 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6066 arguments using __kernel_casinhf.
6067 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6068 arguments using __kernel_casinhl.
6069 * math/libm-test.inc (cacosh_test): Add more tests.
6070 * sysdeps/i386/fpu/libm-test-ulps: Update.
6071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6072
81f311c2
SP
60732013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6074
e7906a47
SP
6075 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6077
92e3664b
SP
6078 * bench/Makefile (bench): Add sin and slowsin.
6079 * benchtests/sin-inputs: New file.
6080 * benchtests/slowsin-inputs: New file.
6081 * benchtests/slowsin.c: New file.
6082
81f311c2
SP
6083 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6084 (bench): Add slowexp and slowpow.
6085 (exp-ITER): Increase iterations.
6086 (pow-ITER): Likewise.
6087 * benchtests/exp-inputs: Change input.
6088 * benchtests/pow-inputs: Likewise.
6089 * benchtests/slowexp-inputs: New file.
6090 * benchtests/slowexp.c: New file.
6091 * benchtests/slowpow-inputs: New file.
6092 * benchtests/slowpow.c: New file.
6093
ab0f1aa9
AZ
60942013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6095
6096 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6097 instructions.
6098 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6099 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6100 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6101 * benchtests/Makefile: Add rint benchtest.
6102 * benchtests/rint-inputs: Input for rint benchtest.
6103
57267616
TS
61042013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6105
6106 * Versions.def (libm): Add GLIBC_2.18.
6107 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6108 hidden libm prototypes.
6109 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6110 * math/Makefile (libm-calls): Add s_issignaling.
6111 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6112 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6113 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6114 declaration.
6115 * math/math.h [__USE_GNU] (issignaling): New macro.
6116 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6117 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6119 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6122 * manual/arith.texi (issignaling): New section.
6123 * manual/libm-err-tab.pl (@all_functions): Update comment.
6124 * math/gen-libm-test.pl (parse_args): Apply special handling for
6125 issignaling.
6126 * math/libm-test.inc (print_float, issignaling_test): New
6127 functions.
6128 (check_float_internal): Add issignaling checks.
6129 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6130 default definition.
6131 * sysdeps/powerpc/math-tests.h: New file.
6132 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6133 tests.
6134 * math/test-snan.c (TEST_FUNC): Likewise.
6135
6142896d
DM
61362013-03-30 David S. Miller <davem@davemloft.net>
6137
6138 * po/de.po: Update from translation team.
6139
ccc8cadf
JM
61402013-03-30 Joseph Myers <joseph@codesourcery.com>
6141
6142 [BZ #10357]
6143 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6144 imaginary part less than 1.0 and real part less than 0.5
6145 specially.
6146 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6147 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6148 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6149 (cacos_test): Add more tests.
6150 (casin_test): Likewise.
6151 (casinh_test): Likewise.
6152 * sysdeps/i386/fpu/libm-test-ulps: Update.
6153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6154
0f6a8d4b
SP
61552013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6156
0d1029de
SP
6157 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6158 ONE with its value.
6159
c2d94018
SP
6160 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6161 (__pow_mp): Replace ONE and MONE with their values.
6162 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6163 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6164 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6165 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6167 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6168
27ec37f1
SP
6169 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6170
a64d7e0e
SP
6171 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6172 (__pow_mp): Replace ZERO and MZERO with their values.
6173 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6174 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6175 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6177 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6178 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6179 (__sqr): Likewise.
6180
d26dd3eb
SP
6181 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6182
0f6a8d4b
SP
6183 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6184
e57b0c61
RM
61852013-03-28 Roland McGrath <roland@hack.frob.com>
6186
6187 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6188 Declare with __attribute__ ((weak)).
6189 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6190 Call __call_tls_dtors only if it's not NULL.
6191
356b3480
RM
61922013-03-28 Roland McGrath <roland@hack.frob.com>
6193
288f7d79
RM
6194 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6195 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6196 magic __ehdr_start linker symbol if it's defined.
6197 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6198 them up here if it was already done.
6199
dc0a0263
RM
6200 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6201 (_dl_aux_init): Use const in cast when setting it.
6202 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6203 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6204 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6205
3d3436ae
RM
6206 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6207 Declare them here.
6208 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6209 * csu/libc-tls.c: Nor here.
6210 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6211
356b3480
RM
6212 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6213 (__libc_message): Never call vsyslog.
6214
b0f1246a
AM
62152013-03-28 Alan Modra <amodra@gmail.com>
6216
6217 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6218 Define as empty.
6219 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6220 Likewise.
6221
fbbe2b9a
AZ
62222013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6223
6224 [BZ #15214]
6225 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6226 underflow.
6227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6228
1728ab37
SP
62292013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6230
7a86be6e
SP
6231 [BZ #15304]
6232 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6233 Don't add gid passed as argument.
6234
1728ab37
SP
6235 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6236
3a7182a1
JM
62372013-03-27 Joseph Myers <joseph@codesourcery.com>
6238
6239 [BZ #15307]
6240 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6241 imaginary part between 1.0 and 1.5 and real part less than 0.5
6242 specially.
6243 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6244 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6245 * math/libm-test.inc (cacos_test): Add more tests.
6246 (casin_test): Likewise.
6247 (casinh_test): Likewise.
6248 * sysdeps/i386/fpu/libm-test-ulps: Update.
6249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6250
6f2e90e7
SP
62512013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6252
5739f705
SP
6253 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6254 constants.
6255 (norm): Likewise.
6256 (denorm): Likewise.
6257 (__dbl_mp): Likewise.
6258 (add_magnitudes): Likewise.
6259 (sub_magnitudes): Likewise.
6260 (__add): Likewise.
6261 (__sub): Likewise.
6262 (__mul): Likewise.
6263 (__sqr): Likewise.
6264 (__inv): Likewise.
6265 (__dvd): Likewise.
6266
e375e83d
SP
6267 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6268 commented code.
6269 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6270 (__dubcos): Likewise.
6271 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6272 (__ieee754_acos): Likewise.
6273 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6274 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6275 (__exp1): Likewise.
6276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6277 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6278 (log1): Likewise.
6279 (my_log2): Likewise.
6280 (checkint): Likewise.
6281 * sysdeps/ieee754/dbl-64/e_remainder.c
6282 (__ieee754_remainder): Likewise.
6283 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6284 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6285 (bsloww): Likewise.
6286 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6287
6f2e90e7
SP
6288 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6289 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6290 MANTISSA_STORE_T to store computations on mantissa. Use
6291 macros for rounding and division.
6292 (denorm): Likewise.
6293 (__dbl_mp): Likewise.
6294 (add_magnitudes): Likewise.
6295 (sub_magnitudes): Likewise.
6296 (__mul): Likewise.
6297 (__sqr): Likewise.
6298 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6299 powers of two in terms of TWOPOW macro.
6300 (mp_no): Make type of mantissa as MANTISSA_T.
6301 [!RADIXI]: Define RADIXI.
6302 [!TWO52]: Define TWO52.
6303 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6304
fce14d4e
AZ
63052013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6306
6307 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6308 llroundl symbol when building for PPC32.
6309
9ad027fb
MW
63102013-03-24 Mark H Weaver <mhw@netris.org>
6311
6312 * manual/arith.texi (Normalization Functions): Fix prototypes for
6313 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6314
e42a38dd
AZ
63152013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6316
6317 [BZ #13889]
6318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6319 high value to check if expl overflow.
6320 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6321 to check for underflow and overflow.
6322 * math/libm-test.inc: Add exp test.
6323
2e0fb521
DL
63242013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6325
6326 [BZ #11120]
6327 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6328 with NOT_IN_libc.
6329
b5784d95
AZ
63302013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6331
6332 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6333 symbol.
6334
5aa4a1a1
TS
63352013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6336
bdef0be7
TS
6337 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6338 wrap blocks consisting of several statements.
6339
5aa4a1a1
TS
6340 * sysdeps/generic/math-tests.h: New file.
6341 * sysdeps/i386/fpu/math-tests.h: Likewise.
6342 * math/test-snan.c: Include it.
6343 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6344
98c48fe5
JM
63452013-03-21 Joseph Myers <joseph@codesourcery.com>
6346
6347 [BZ #15285]
6348 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6349 (__ieee754_j0l): Do not improve calculations using cos of twice
6350 input for inputs above LDBL_MAX / 2.0L.
6351 (__ieee754_y0l): Likewise.
6352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6353 (__ieee754_j1l): Do not improve calculations using cos of twice
6354 input for inputs above LDBL_MAX / 2.0L.
6355 (__ieee754_y1l): Likewise.
6356 * math/libm-test.inc (j0_test): Add another test.
6357 (j1_test): Likewise.
6358 (y0_test): Likewise.
6359 (y1_test): Likewise.
6360 * sysdeps/i386/fpu/libm-test-ulps: Update.
6361
3775a8bc
SP
63622013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6363
6364 * Rules ($(objpfx)bench-%.c): Include code from a C source
6365 file.
6366
0a1b2ae6
JM
63672013-03-21 Joseph Myers <joseph@codesourcery.com>
6368
6369 [BZ #15287]
6370 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6371 imaginary part 1.0 and real part less than 0.5 specially.
6372 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6373 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6374 * math/libm-test.inc (cacos_test): Add more tests.
6375 (casin_test): Likewise.
6376 (casinh_test): Likewise.
6377 * sysdeps/i386/fpu/libm-test-ulps: Update.
6378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6379
b33d4ce4
SP
63802013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6381
6382 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6383 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6384
bef0b507
JM
63852013-03-20 Joseph Myers <joseph@codesourcery.com>
6386
6387 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6388 * config.make.in (config-cflags-sse4): Remove variable.
6389 (config-cflags-avx): Likewise.
6390 (config-cflags-sse2avx): Likewise.
6391 (config-cflags-novzeroupper): Likewise.
6392 (config-asflags-i686): Likewise.
6393 (have-mfma4): Likewise.
6394 (have-as-vis3): Likewise.
6395 (MIG): Likewise.
6396 * configure.in (MIG): Do not AC_SUBST.
6397 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6398 (libc_cv_cc_sse4): Do not AC_SUBST.
6399 (libc_cv_cc_avx): Likewise.
6400 (libc_cv_cc_sse2avx): Likewise.
6401 (libc_cv_cc_novzeroupper): Likewise.
6402 (libc_cv_cc_fma4): Likewise.
6403 (libc_cv_as_i686): Likewise.
6404 (libc_cv_sparc_as_vis3): Likewise.
6405 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6406 LIBC_CONFIG_VAR.
6407 (config-asflags-i686): Likewise.
6408 (config-cflags-avx): Likewise.
6409 (config-cflags-sse2avx): Likewise.
6410 (have-mfma4): Likewise.
6411 (config-cflags-novzeroupper): Likewise.
6412 * sysdeps/mach/configure.in (MIG): Likewise.
6413 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6414 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6415 LIBC_CONFIG_VAR.
6416 (config-cflags-avx): Likewise.
6417 (config-cflags-sse2avx): Likewise.
6418 (have-mfma4): Likewise.
6419 (config-cflags-novzeroupper): Likewise.
6420 * configure: Regenerated.
6421 * sysdeps/i386/configure: Likewise.
6422 * sysdeps/mach/configure: Likewise.
6423 * sysdeps/sparc/configure: Likewise.
6424 * sysdeps/x86_64/configure: Likewise.
6425
912cc4b3
RM
64262013-03-20 Roland McGrath <roland@hack.frob.com>
6427
6428 [BZ #14812]
6429 * locale/programs/localedef.c (options): Put N_ translation marker
6430 on argument names, not just descriptions.
6431
04eed2b0
MS
64322013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6433
6434 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6435
a065ceff
OB
64362013-03-20 Ondřej Bílka <neleai@seznam.cz>
6437
9bb2a810 6438 [BZ #14176]
a065ceff
OB
6439 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6440
a600e5ce
RM
64412013-03-19 Roland McGrath <roland@hack.frob.com>
6442
6443 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6444 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6445 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6446 [!BEFORE_ABORT] (before_abort): New function.
6447 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6448 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6449 (writev_for_fatal): New function.
6450 (WRITEV_FOR_FATAL): New macro; call that.
6451 (backtrace_and_maps): New function.
6452 (BEFORE_ABORT): New macro; call that.
6453 (struct str_list): Type removed.
6454 (__libc_message, __libc_fatal): Functions removed.
6455 Include <sysdeps/posix/libc_fatal.c> instead.
6456
6b18bea6
JM
64572013-03-19 Joseph Myers <joseph@codesourcery.com>
6458
6459 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6460 constants.
6461 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6462 double constants.
6463
aaa8cb4b
AS
64642013-03-19 Andreas Schwab <schwab@suse.de>
6465
44673770
AS
6466 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6467 * sysdeps/gnu/configure: Regenerate.
6468
aaa8cb4b
AS
6469 * configure.in: Substitute libc_cv_rtlddir.
6470 * configure: Regenerate.
6471 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6472 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6473 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6474 * elf/Makefile (install-others, CFLAGS-interp.c)
6475 (ldso_install, common-ldd-rewrite): Likewise.
6476 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6477 $(inst_slibdir)/$(rtld-installed-name).
6478 * scripts/rellns-sh: Add -p option.
6479 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6480 for source.
6481
d3cfc668
SP
64822013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6483
6484 * manual/nptl.texi: Renamed to ...
6485 * manual/threads.texi: ... this.
6486 * manual/Makefile (chapters): Update.
6487
0e2b9cdd
RM
64882013-03-18 Roland McGrath <roland@hack.frob.com>
6489
6490 [BZ #14812]
6491 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6492 on argument names, not just descriptions.
0e2b9cdd
RM
6493 * malloc/memusagestat.c (options): Likewise.
6494 * nss/getent.c (options): Likewise.
63270c24
RM
6495
64962013-03-18 Benno Schulenberg <bensberg@justemail.net>
6497
6498 [BZ #14812]
6499 * iconv/iconv_prog.c (options): Put N_ translation marker
6500 on argument names, not just descriptions.
6501 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6502
b2e1393c
OB
65032013-03-18 Ondrej Bilka <neleai@seznam.cz>
6504
6505 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6506 implementation which is faster on all x86_64 architectures.
6507 Tested on AMD, Intel Nehalem, SNB, IVB.
6508 * sysdeps/x86_64/strnlen.S: Likewise.
6509
6510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6511 Remove all multiarch strlen and strnlen versions.
6512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6513 Remove strlen and strnlen related parts.
6514
6515 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6516 Inline strlen part.
6517 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6518
6519 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6520 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6521 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6522 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6523 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6524 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6525
ec4ff04d
CD
65262013-03-17 Carlos O'Donell <carlos@redhat.com>
6527
6528 * manual/memory.texi (Malloc Tunable Parameters):
6529 Sort parameters alphabetically. Add comments for missing entries.
6530
cd18e90a
DM
65312013-03-17 David S. Miller <davem@davemloft.net>
6532
6533 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6534
2a185d32
JM
65352013-03-16 Joseph Myers <joseph@codesourcery.com>
6536
d2f9799e
JM
6537 [BZ #15283]
6538 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6539 for arguments at most half maximum finite value.
6540 * math/libm-test.inc (j0_test): Add more tests.
6541 (j1_test): Likewise.
6542 (y0_test): Likewise.
6543 (y1_test): Likewise.
6544 * sysdeps/i386/fpu/libm-test-ulps: Update.
6545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6546
2a185d32
JM
6547 [BZ #14155]
6548 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6549 1 / x and functions P and Q for arguments above 0x1p256L.
6550 (__ieee754_y0l): Likewise.
6551 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6552 (__ieee754_y1l): Likewise.
6553 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6554 (j1_test): Likewise.
6555 (y0_test): Likewise.
6556 (y1_test): Likewise.
6557
6cbec759
TS
65582013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6559
6560 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6561 variable.
6562
bc16e260
RM
65632013-03-15 Roland McGrath <roland@hack.frob.com>
6564
aefc9b8c
RM
6565 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6566 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6567 zero since it's initialized to EXEC_PAGESIZE.
6568
bc16e260
RM
6569 * sysdeps/unix/sysv/linux/ldsodefs.h
6570 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6571 * sysdeps/generic/ldsodefs.h: ... here.
6572
a57da955
TS
65732013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6574
af00a34d
TS
6575 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6576
495ded2c
TS
6577 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6578 math/test-snan.c.
6579 * math/test-snan.c: Renamed from
6580 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6581 * math/Makefile (tests): Add test-snan.
6582 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6583 test-powerpc-snan.
6584
777b0332
TS
6585 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6586 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6587 functions.
6588 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6589 __builtin_nan family of functions.
6590 * math/libm-test.inc (initialize): Initialize qnan_value with
6591 __builtin_nan family of functions.
6592 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6593 Remove variables.
6594 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6595 Remove functions.
6596 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6597 storage class. Initialize qNaN_var and sNaN_var with
6598 __builtin_nan and __builtin_nans families of functions,
6599 respectively.
6600
64d063b8
TS
6601 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6602 (sqrt_test): Remove duplicate test with qNaN input.
6603 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6604 (round_test, signbit_test, significand_test): Note missing +/-Inf
6605 as well as qNaN tests.
6606
67e971f1
TS
6607 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6608 qNaN_var. Fix a few strings, too.
6609 * math/libm-test.inc (nan_value): Rename to qnan_value.
6610 * math/gen-libm-test.pl (%beautify): Adjust to that.
6611 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6612 * math/test-misc.c (main): Likewise.
6613 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6614 to __qnan_bytes, and __qnan_union, respectively.
6615 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6616 Likewise.
6617 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6618 and lqnanval, respectively.
6619 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6620 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6621 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6622 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6623
64487e12
TS
6624 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6625 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6626 doubles.
6627
e015e27b
TS
6628 * math/test-misc.c (main): Fix copy'n'pastos.
6629 * misc/tst-efgcvt.c (special): Likewise.
6630
a57da955
TS
6631 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6632 Remove declarations.
6633
1e380345
SP
66342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6635
6636 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6637 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6638 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6639 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6640
ef26eece
AZ
66412013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6642
6643 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6644 macro to return vdso values correctly in IFUNC implementations.
6645 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6646 Optimization by using IFUNC.
6647
8cfdb7e0
SP
66482013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6649 Richard Henderson <rth@redhat.com>
6650 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6651
6652 * Makefile.in (bench): New target.
6653 * NEWS: Mention the benchmark framework.
6654 * Rules (bench): Likewise.
6655 (binaries-bench): Generate binaries for functions to
6656 benchmark.
6657 * benchtests/Makefile: New makefile for benchmark tests.
6658 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6659 programs.
6660 * benchtests/exp-inputs: New input file for EXP function.
6661 * benchtests/pow-inputs: New input file for POW function.
6662 * scripts/bench.pl: New script to generate source files for
6663 benchmark programs.
6664
bcda9880
SP
66652013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6666
d22ca8cd
SP
6667 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6668 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6669 computations on mantissa. Use macros for rounding and
6670 division.
6671 (denorm): Likewise.
6672 (__dbl_mp): Likewise.
6673 (add_magnitudes): Likewise.
6674 (sub_magnitudes): Likewise.
6675 (__mul): Likewise.
6676 (__sqr): Likewise.
6677 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6678 powers of two in terms of TWOPOW macro.
6679 (mp_no): Make type of mantissa as MANTISSA_T.
6680 [!RADIXI]: Define RADIXI.
6681 [!TWO52]: Define TWO52.
6682 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6683
bcda9880
SP
6684 * manual/nptl.texi (cindex): Modify threads to pthreads.
6685
06d5adfb
JM
66862013-03-15 Joseph Myers <joseph@codesourcery.com>
6687
6688 * sysdeps/x86_64/preconfigure: Regenerated.
6689
41c7328e
JM
66902013-03-14 Joseph Myers <joseph@codesourcery.com>
6691
6692 [BZ #14155]
6693 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6694 0x1p28 and above.
6695 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6696 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6697 0x1p28 and above.
6698 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6699 * math/libm-test.inc (j0_test): Do not allow one spurious
6700 underflow exception.
6701 (y1_test): Likewise.
6702
e25cfa60
SP
67032013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6704
0409959c
SP
6705 * manual/Makefile (chapters): Add nptl.
6706 * manual/debug.texi (Debugging Support): Add link to Threads
6707 chapter.
6708 * manual/nptl.texi: New file.
6709
e25cfa60
SP
6710 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6711
58a1335e
PB
67122013-03-14 Petr Baudis <pasky@ucw.cz>
6713
6714 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6715 for non-NULL pointer before the memory validity test. Pointed
6716 out by Holger Brunck <holger.brunck@keymile.com>.
6717
9dc7c64f
AS
67182013-03-13 Andreas Schwab <schwab@suse.de>
6719
6720 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6721 instead of .os.
6722
54206aa6
JM
67232013-03-13 Joseph Myers <joseph@codesourcery.com>
6724
6725 * timezone/zic.c: Update from tzcode 2013b.
6726
e98cdb38
CD
67272013-03-12 Carlos O'Donell <carlos@redhat.com>
6728
6729 * manual/install.texi (Configuring and compiling):
6730 Mention i686 and i586.
6731 * INSTALL: Regenerate.
6732
9967e003
RM
67332013-03-12 Roland McGrath <roland@hack.frob.com>
6734
6735 * sysdeps/init_array/elf-init.c: New file.
6736 * csu/elf-init.c
6737 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6738 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6739
6740 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6741 __gmon_start__ as global, but as static with a .preinit_array pointer.
6742 * sysdeps/init_array/gmon-start.c: New file. Use that.
6743 * sysdeps/init_array/crti.S: New file, empty except for comments.
6744 * sysdeps/init_array/crtn.S: Likewise.
6745
e6b5a293 67462013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6747
6748 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6749 definining bcopy.
80f844c9
OB
6750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6751 Remove Prefer_SSE_for_memop.
6752 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6753 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6754 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6756 memset-x86-64.
80f844c9 6757 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6758 Remove bzero, memset ifunc support.
80f844c9
OB
6759 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6760 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6761 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6762 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6763
fb6b0fcb
AS
67642013-03-11 Andreas Schwab <schwab@suse.de>
6765
6766 [BZ #15234]
6767 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6768 by SHLIB_COMPAT.
6769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6770 (GLIBC_2.16): Remove pthread_atfork.
6771
3e6bd4b1
PP
67722013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6773
6774 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6775 (ptestcases.h): Likewise.
6776
222d7f00
RM
67772013-03-08 Roland McGrath <roland@hack.frob.com>
6778
6779 * Makeconfig ($(common-objpfx)config.status): Depend on
6780 sysdeps/*/preconfigure{,.in} too.
6781
1ba4f030
JM
67822013-03-08 Joseph Myers <joseph@codesourcery.com>
6783
a222d91a
JM
6784 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6785 (__free_hook): Use void * instead of __malloc_ptr_t.
6786 (__malloc_hook): Likewise.
6787 (__realloc_hook): Likewise.
6788 (__memalign_hook): Likewise.
6789 (__after_morecore_hook): Likewise.
6790 * malloc/arena.c (save_malloc_hook): Likewise.
6791 (save_free_hook): Likewise.
6792 * malloc/hooks.c (malloc_hook_ini): Likewise.
6793 (realloc_hook_ini): Likewise.
6794 (memalign_hook_ini): Likewise.
6795 * malloc/malloc.c (malloc_hook_ini): Likewise.
6796 (realloc_hook_ini): Likewise.
6797 (memalign_hook_ini): Likewise.
6798 (__free_hook): Likewise.
6799 (__malloc_hook): Likewise.
6800 (__realloc_hook): Likewise.
6801 (__memalign_hook): Likewise.
6802 (__libc_malloc): Likewise.
6803 (__libc_free): Likewise.
6804 (__libc_realloc): Likewise.
6805 (__libc_memalign): Likewise.
6806 (__libc_valloc): Likewise.
6807 (__libc_pvalloc): Likewise.
6808 (__libc_calloc): Likewise.
6809 (__posix_memalign): Likewise.
6810 * malloc/morecore.c (__sbrk): Likewise.
6811 (__default_morecore): Likewise.
6812
5cc45e10
JM
6813 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6814
dd54b864
JM
6815 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6816 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6817 __malloc_ptrdiff_t.
6818
1ba4f030
JM
6819 * malloc/malloc.h (__malloc_size_t): Remove macro.
6820 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6821 __malloc_size_t.
6822 (old_memalign_hook): Likewise.
6823 (old_realloc_hook): Likewise.
6824 (struct hdr): Likewise.
6825 (flood): Likewise.
6826 (mallochook): Likewise.
6827 (memalignhook): Likewise.
6828 (reallochook): Likewise.
6829 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6830 (tr_old_realloc_hook): Likewise.
6831 (tr_old_memalign_hook): Likewise.
6832 (tr_mallochook): Likewise.
6833 (tr_reallochook): Likewise.
6834 (tr_memalignhook): Likewise.
6835
edf66e57
AZ
68362013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6837
6838 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6839 default_ldbl_pack and using as default implementation.
6840 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6841 implementation.
6842 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6843 redundant definition.
6844 (ldbl_insert_mantissa): Likewise.
6845 (ldbl_canonicalize): Likewise.
6846 (ldbl_nearbyint): Likewise.
6847 (ldbl_pack): Rename to ldbl_pack_ppc.
6848 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6849 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6850 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6851
6d9145d8
SP
68522013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6853
6854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6855 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6857 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6859 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6860 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6861 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6862
4dd4e157
AJ
68632013-03-07 Andreas Jaeger <aj@suse.de>
6864
6865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6866 bits/mman-linux.h.
6867
adbb8027
SP
68682013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6869
ce544b5b
SP
6870 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6871 Include mpa.h and declare __MPEXP.
6872 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6873 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6874 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6875 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6876 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6877 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6878 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6879
4cc149fd
SP
6880 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6881 (__slowpow): Use long double EXPL and LOGL functions to
6882 compute POW.
6883 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6884 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6886 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6887 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6888 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6889
e6ebd4a7
SP
6890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6891 intermediate variable to calculate exponent.
6892 (__sqr): Likewise.
6893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6894 Likewise.
6895 (__sqr): Likewise.
6896
82a9811d
SP
6897 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6898 [!NO__SQR]: Define __sqr.
6899 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6900 and NO__SQR. Remove all code except __mul and __sqr. Include
6901 sysdeps/ieee754/dbl-64/mpa.c.
6902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6903
adbb8027
SP
6904 [BZ #12723]
6905 * posix/Makefile (tests): Add tst-pathconf.
6906 * posix/tst-pathconf.c: New test case.
6907 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6908 _PC_PIPE_BUF.
6909 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6910
39120df9
PF
69112013-03-06 Patsy Franklin <pfrankli@redhat.com>
6912
6913 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6914
67525cb8
AJ
69152013-03-06 Andreas Jaeger <aj@suse.de>
6916
664a9ce4
AJ
6917 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6918 definition via __MAP_ANONYMOUS.
6919
8e39047d
AJ
6920 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6921 it's not part of Linux headers.
6922
67525cb8
AJ
6923 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6924 (MAP_HUGE_MASK): Define.
6925
6926 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6927 Define.
6928 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6930 Define.
6931 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6932 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6933 Define.
6934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6935 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6936 Define.
6937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6938
6939 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6940 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6941 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6942 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6943 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6944 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6945
6946 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6947 Handle f2fs.
6948
6949 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6950 Handle f2fs and efivarfs.
6951
6952 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6953 f2fs.
6954
6955 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6956 (EFIVARFS_MAGIC): Add.
6957 (F2FS_LINK_MAX): Add.
6958
e1b42695
PP
69592013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6960
6961 * stdio-common/vfprintf.c: Replace __builtin_expect with
6962 __glibc_unlikely.
6963
2d67d91a
JM
69642013-03-06 Joseph Myers <joseph@codesourcery.com>
6965
6966 [BZ #13550]
6967 * sysdeps/generic/bp-sym.h: Remove file.
6968 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6969 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6970 <bp-sym.h> and <bp-asm.h>.
6971 (__longjmp): Don't use BP_SYM.
6972 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6973 and <bp-asm.h>.
6974 (memcpy): Don't use BP_SYM.
6975 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6976 <bp-sym.h> and <bp-asm.h>.
6977 (memcpy): Don't use BP_SYM.
6978 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6979 <bp-asm.h>.
6980 (memcpy): Don't use BP_SYM.
6981 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6982 <bp-asm.h>.
6983 (memset): Don't use BP_SYM.
6984 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6985 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6986 (__bzero): Don't use BP_SYM.
6987 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6988 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6989 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6990 <bp-sym.h> and <bp-asm.h>.
6991 (memcmp): Don't use BP_SYM. Remove comment about bounded
6992 pointers.
6993 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6994 <bp-sym.h> and <bp-asm.h>.
6995 (memcpy): Don't use BP_SYM.
6996 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6997 <bp-sym.h> and <bp-asm.h>.
6998 (memset): Don't use BP_SYM.
6999 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7000 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7001 (__bzero): Don't use BP_SYM.
7002 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7003 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7004 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7005 <bp-sym.h> and <bp-asm.h>.
7006 (strncmp): Don't use BP_SYM. Remove comment about bounded
7007 pointers.
7008 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7009 <bp-sym.h> and <bp-asm.h>.
7010 (memcpy): Don't use BP_SYM.
7011 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7012 <bp-sym.h> and <bp-asm.h>.
7013 (memset): Don't use BP_SYM.
7014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7016 (__bzero): Don't use BP_SYM.
7017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7019 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7020 <bp-sym.h> and <bp-asm.h>.
7021 (__memchr): Don't use BP_SYM.
7022 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7023 <bp-sym.h> and <bp-asm.h>.
7024 (memcmp): Don't use BP_SYM. Remove comment about bounded
7025 pointers.
7026 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7027 <bp-sym.h> and <bp-asm.h>.
7028 (memcpy): Don't use BP_SYM.
7029 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7030 <bp-sym.h> and <bp-asm.h>.
7031 (__mempcpy): Don't use BP_SYM.
7032 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7033 <bp-sym.h> and <bp-asm.h>.
7034 (__memrchr): Don't use BP_SYM.
7035 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7036 <bp-sym.h> and <bp-asm.h>.
7037 (memset): Don't use BP_SYM.
7038 (__bzero): Likewise.
7039 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7040 <bp-sym.h> and <bp-asm.h>.
7041 (__rawmemchr): Don't use BP_SYM.
7042 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7043 <bp-sym.h> and <bp-asm.h>.
7044 (__STRCMP): Don't use BP_SYM.
7045 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7046 <bp-sym.h> and <bp-asm.h>.
7047 (strchr): Don't use BP_SYM.
7048 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7049 <bp-sym.h> and <bp-asm.h>.
7050 (__strchrnul): Don't use BP_SYM.
7051 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7052 <bp-sym.h> and <bp-asm.h>.
7053 (strlen): Don't use BP_SYM.
7054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7055 <bp-sym.h> and <bp-asm.h>.
7056 (strncmp): Don't use BP_SYM. Remove comment about bounded
7057 pointers.
7058 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7059 <bp-sym.h> and <bp-asm.h>.
7060 (__strnlen): Don't use BP_SYM.
7061 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7062 <bp-sym.h> and <bp-asm.h>.
7063 (__GI__setjmp): Don't use BP_SYM.
7064 (_setjmp): Likewise.
7065 (__sigsetjmp): Likewise.
7066 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7067 (L(start_addresses)): Don't use BP_SYM.
7068 (_start): Likewise.
7069 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7070 <bp-asm.h>.
7071 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7072 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7073 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7074 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7075 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7076 <bp-asm.h>.
7077 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7078 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
7079 about bounded pointers.
7080 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7081 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7082 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7083 <bp-asm.h>.
7084 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7085 about bounded pointers. Remove GKM FIXME comments.
7086 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7087 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7088 <bp-asm.h>.
7089 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7090 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7091 Remove GKM FIXME comments.
7092 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7093 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7094 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7095 <bp-asm.h>.
7096 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7097 about bounded pointers. Remove GKM FIXME comment.
7098 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7099 and <bp-asm.h>.
7100 (strncmp): Don't use BP_SYM. Remove comment about bounded
7101 pointers.
7102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7103 <bp-sym.h> and <bp-asm.h>.
7104 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7106 <bp-sym.h> and <bp-asm.h>.
7107 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7108 comment.
7109
cdcf361f
PP
71102013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7111
7112 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7113 call free(NULL).
7114
3c4a2b15
DM
71152013-03-05 David S. Miller <davem@davemloft.net>
7116
7117 * po/es.po: Update from translation team.
7118
cdcf361f 71192013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7120
7121 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7122 <bits/mman-linux.h>.
7123 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7124 is fine.
7125 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7126 <bits/mman-linux.h> to end of file.
7127 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7128 is fine.
7129 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7130 <bits/mman-linux.h> to end of file.
7131 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7132 is fine.
7133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7134 <bits/mman-linux.h> to end of file.
7135
7136 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7137 (MCL_CURRENT, MCL_FUTURE): Define here.
7138
5f67c04f
AK
71392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7140
8a4473cc 7141 [BZ #15232]
5f67c04f
AK
7142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7143 attribute_hidden.
7144 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7145
c3e94a95
AK
71462013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7147
7148 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7149 fourth parameter needed for rt_sigprocmask syscall.
7150 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7151 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7152 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7153 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7154 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7155 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7156
cfb6382a
JM
71572013-03-04 Joseph Myers <joseph@codesourcery.com>
7158
7159 [BZ #13550]
7160 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7161 comment about bounded pointers.
7162 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7163 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7164
539d8e01
AJ
71652013-03-04 Andreas Jaeger <aj@suse.de>
7166
7167 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7168 common definitions.
7169
7170 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7171 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7172 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7173 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7174 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7175 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7176
2e167a70 71772013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7178
7179 [BZ #15055]
7180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7181 __ieee754_sqrl instead of __sqrl.
7182
68508633
JM
71832013-03-01 Joseph Myers <joseph@codesourcery.com>
7184
7185 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7186 * sysdeps/powerpc/fpu_control.h: ... here.
7187 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7188 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7189 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7190 * sysdeps/powerpc/bits/mathinline.h: ... here.
7191
7775448e
RM
71922013-03-01 Roland McGrath <roland@hack.frob.com>
7193
7194 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7195 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7196 to just [NEED_DL_SYSINFO_DSO].
7197 * elf/dl-support.c: Likewise.
7198 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7199 * elf/rtld.c (dl_main): Likewise.
7200 * elf/setup-vdso.h (setup_vdso): Likewise.
7201 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7202 * sysdeps/unix/sysv/linux/dl-sysdep.c
7203 (_dl_discover_osversion): Likewise.
7204
4e9b5995
CD
72052013-03-01 Carlos O'Donell <carlos@redhat.com>
7206
7207 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7208 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7209
e23872c8
SP
72102013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7211
e5c74c63
SP
7212 * NEWS: Mention libm performance improvements and non-x86 PI
7213 futex support.
7214
e23872c8
SP
7215 * csu/libc-start.c (__pthread_initialize_minimal): Change
7216 function arguments.
7217 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7218
b5510883
JM
72192013-02-28 Joseph Myers <joseph@codesourcery.com>
7220
7221 [BZ #13550]
7222 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7223 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7224 <bp-sym.h> and <bp-asm.h>.
7225 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7226 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7227 and <bp-asm.h>.
7228 (memcpy): Don't use BP_SYM.
7229 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7230 <bp-asm.h>.
7231 (__mpn_add_n): Don't use BP_SYM.
7232 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7233 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7234 and <bp-asm.h>.
7235 (__mpn_addmul_1): Don't use BP_SYM.
7236 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7237 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7238 <bp-sym.h>.
7239 (_setjmp): Don't use BP_SYM.
7240 (__novmx_setjmp): Likewise.
7241 (__GI__setjmp): Likewise.
7242 (__vmx_setjmp): Likewise.
7243 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7244 <bp-sym.h>.
7245 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7246 (__bzero): Don't use BP_SYM.
7247 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7248 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7249 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7250 <bp-sym.h> and <bp-asm.h>.
7251 (memcpy): Don't use BP_SYM.
7252 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7253 <bp-sym.h> and <bp-asm.h>.
7254 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7255 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7256 <bp-sym.h> and <bp-asm.h>.
7257 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7258 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7259 <bp-asm.h>.
7260 (__mpn_lshift): Don't use BP_SYM.
7261 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7262 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7263 <bp-asm.h>.
7264 (memset): Don't use BP_SYM.
7265 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7266 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7267 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7268 <bp-asm.h>.
7269 (__mpn_mul_1): Don't use BP_SYM.
7270 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7271 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7272 <bp-sym.h> and <bp-asm.h>.
7273 (memcmp): Don't use BP_SYM.
7274 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7275 <bp-sym.h> and <bp-asm.h>.
7276 (memcpy): Don't use BP_SYM.
7277 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7278 <bp-sym.h> and <bp-asm.h>.
7279 (memset): Don't use BP_SYM.
7280 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7281 <bp-sym.h> and <bp-asm.h>.
7282 (strncmp): Don't use BP_SYM.
7283 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7284 <bp-sym.h> and <bp-asm.h>.
7285 (memcpy): Don't use BP_SYM.
7286 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7287 <bp-sym.h> and <bp-asm.h>.
7288 (memset): Don't use BP_SYM.
7289 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7290 <bp-sym.h> and <bp-asm.h>.
7291 (__memchr): Don't use BP_SYM.
7292 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7293 <bp-sym.h> and <bp-asm.h>.
7294 (memcmp): Don't use BP_SYM.
7295 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7296 <bp-sym.h> and <bp-asm.h>.
7297 (memcpy): Don't use BP_SYM.
7298 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7299 <bp-sym.h> and <bp-asm.h>.
7300 (__mempcpy): Don't use BP_SYM.
7301 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7302 <bp-sym.h> and <bp-asm.h>.
7303 (__memrchr): Don't use BP_SYM.
7304 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7305 <bp-sym.h> and <bp-asm.h>.
7306 (memset): Don't use BP_SYM.
7307 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7308 <bp-sym.h> and <bp-asm.h>.
7309 (__rawmemchr): Don't use BP_SYM.
7310 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7311 <bp-sym.h> and <bp-asm.h>.
7312 (__STRCMP): Don't use BP_SYM.
7313 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7314 <bp-sym.h> and <bp-asm.h>.
7315 (strchr): Don't use BP_SYM.
7316 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7317 <bp-sym.h> and <bp-asm.h>.
7318 (__strchrnul): Don't use BP_SYM.
7319 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7320 <bp-sym.h> and <bp-asm.h>.
7321 (strlen): Don't use BP_SYM.
7322 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7323 <bp-sym.h> and <bp-asm.h>.
7324 (strncmp): Don't use BP_SYM.
7325 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7326 <bp-sym.h> and <bp-asm.h>.
7327 (__strnlen): Don't use BP_SYM.
7328 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7329 <bp-asm.h>.
7330 (__mpn_rshift): Don't use BP_SYM.
7331 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7332 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7333 <bp-sym.h> and <bp-asm.h>.
7334 (__sigsetjmp): Don't use BP_SYM.
7335 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7336 (L(start_addresses)): Don't use BP_SYM.
7337 (_start): Likewise.
7338 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7339 <bp-asm.h>.
7340 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7341 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7342 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7343 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7344 <bp-asm.h>.
7345 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7346 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7347 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7348 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7349 <bp-asm.h>.
7350 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7351 comments.
7352 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7353 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7354 <bp-asm.h>.
7355 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7356 FIXME comments.
7357 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7358 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7359 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7360 <bp-asm.h>.
7361 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7362 comment.
7363 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7364 and <bp-asm.h>.
7365 (strncmp): Don't use BP_SYM,
7366 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7367 <bp-asm.h>.
7368 (__mpn_sub_n): Don't use BP_SYM.
7369 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7370 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7371 and <bp-asm.h>.
7372 (__mpn_submul_1): Don't use BP_SYM.
7373 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7375 <bp-sym.h> and <bp-asm.h>.
7376 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7378 <bp-sym.h> and <bp-asm.h>.
7379 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7380 comment.
7381
8d19fe64
SP
73822013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7383
7384 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7385 Use ZK to minimize writes to Z.
7386 (sub_magnitudes): Simplify code a bit.
7387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7388 Use ZK to minimize writes to Z.
7389 (sub_magnitudes): Simplify code a bit.
7390
85bd816a
RM
73912013-02-27 Roland McGrath <roland@hack.frob.com>
7392
7393 * csu/gmon-start.c: Add special exception to license text.
7394
b5977bf2
RH
73952013-02-27 Richard Henderson <rth@redhat.com>
7396
7397 * scripts/config.guess: Update from config.git.
7398 * scripts/config.sub: Likewise.
7399
11d6e2f2
SP
74002013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7401
09c14ed2
SP
7402 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7403
a688864e
SP
7404 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7405
6295157a
SP
7406 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7407
b8de2202
SP
7408 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7409
11d6e2f2
SP
7410 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7411
7e80ddb8
RM
74122013-02-26 Roland McGrath <roland@hack.frob.com>
7413
7414 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7415 [$(build-shared = yes].
7e80ddb8 7416
7da6d9ed
SP
74172013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7418
45f05884
SP
7419 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7420 (__mul): Reduce iterations for calculating mantissa.
7421
2236d359
SP
7422 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7423 MPTWO.
7424 (__mpranred): Likewise.
7425
7da6d9ed
SP
7426 [BZ #15160]
7427 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7428 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7429
b7688c42
PE
74302013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7431
7432 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7433 Define __attribute__.
7434
53a5c423
SP
74352013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7436
7437 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7438 unused.
7439 * posix/regex_internal.h (__attribute): Remove.
7440 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7441 (re_string_context_at): Likewise.
7442 (bitset_not): Use __attribute__ and mark function as possibly
7443 unused.
7444 (bitset_merge): Likewise.
7445 (bitset_mask): Likewise.
7446 (re_string_char_size_at): Likewise.
7447 (re_string_wchar_at): Likewise.
7448 (re_string_elem_size_at): Likewise.
7449
60f5a8b5
SP
74502013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7451
2a983a2e
SP
7452 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7453 code.
7454 (cc32): Likewise.
7455
e69804d1
SP
7456 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7457 (__acr): Likewise.
7458 (__cpy): Likewise.
7459 (norm): Likewise.
7460 (denorm): Likewise.
7461 (__dbl_mp): Likewise.
7462 (add_magnitudes): Likewise.
7463 (sub_magnitudes): Likewise.
7464 (__mul): Likewise.
7465 (__inv): Likewise.
7466
2f22a1e8
SP
7467 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7468 style.
7469
8930ddc7
SP
7470 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7471 style.
7472
dc60cb11
SP
7473 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7474 code.
7475
60f5a8b5
SP
7476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7477 up changes with default code.
7478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7479 Likewise.
7480
b4d1fd33
AM
74812013-02-24 Allan McRae <allan@archlinux.org>
7482
faf6f8bc
AM
7483 * manual/socket.texi (The Internet Namespace): Order menu items
7484 to match that in the file.
7485
b4d1fd33
AM
7486 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7487 node listing of the info page menu.
7488
2366713d
JM
74892013-02-21 Joseph Myers <joseph@codesourcery.com>
7490
7491 [BZ #13550]
7492 * sysdeps/i386/bp-asm.h: Remove file.
7493 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7494 (PARMS): Do not use macros from bp-asm.h.
7495 (S1): Likewise.
7496 (S2): Likewise.
7497 (SIZE): Likewise.
7498 (__mpn_add_n): Do not use BP_SYM
7499 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7500 "bp-asm.h".
7501 (PARMS): Do not use macros from bp-asm.h.
7502 (S1): Likewise.
7503 (SIZE): Likewise.
7504 (__mpn_addmul_1): Do not use BP_SYM
7505 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7506 "bp-asm.h".
7507 (PARMS): Do not use macros from bp-asm.h.
7508 (SIGMSK): Likewise.
7509 (_setjmp): Likewise. Do not use BP_SYM.
7510 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7511 "bp-asm.h".
7512 (PARMS): Do not use macros from bp-asm.h.
7513 (SIGMSK): Likewise.
7514 (setjmp): Likewise. Do not use BP_SYM.
7515 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7516 "bp-asm.h".
7517 (PARMS): Do not use macros from bp-asm.h.
7518 (__frexp): Do not use BP_SYM.
7519 (frexp): Likewise.
7520 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7521 "bp-asm.h".
7522 (PARMS): Do not use macros from bp-asm.h.
7523 (__frexpf): Do not use BP_SYM.
7524 (frexpf): Likewise.
7525 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7526 "bp-asm.h".
7527 (PARMS): Do not use macros from bp-asm.h.
7528 (__frexpl): Do not use BP_SYM.
7529 (frexpl): Likewise.
7530 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7531 "bp-asm.h".
7532 (PARMS): Do not use macros from bp-asm.h.
7533 (__remquo): Do not use BP_SYM.
7534 (remquo): Likewise.
7535 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7536 "bp-asm.h".
7537 (PARMS): Do not use macros from bp-asm.h.
7538 (__remquof): Do not use BP_SYM.
7539 (remquof): Likewise.
7540 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7541 "bp-asm.h".
7542 (PARMS): Do not use macros from bp-asm.h.
7543 (__remquol): Do not use BP_SYM.
7544 (remquol): Likewise.
7545 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7546 "bp-asm.h".
7547 (PARMS): Do not use macros from bp-asm.h.
7548 (DEST): Likewise.
7549 (SRC): Likewise.
7550 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7551 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7552 "bp-asm.h".
7553 (PARMS): Do not use macros from bp-asm.h.
7554 (strlen): Do not use BP_SYM.
7555 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7556 "bp-asm.h".
7557 (PARMS): Do not use macros from bp-asm.h.
7558 (S1): Likewise.
7559 (S2): Likewise.
7560 (SIZE): Likewise.
7561 (__mpn_add_n): Do not use BP_SYM.
7562 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7563 "bp-asm.h".
7564 (PARMS): Do not use macros from bp-asm.h.
7565 (S1): Likewise.
7566 (SIZE): Likewise.
7567 (__mpn_addmul_1): Do not use BP_SYM.
7568 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7569 weak_alias.
7570 (bzero): Likewise.
7571 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7572 "bp-asm.h".
7573 (PARMS): Do not use macros from bp-asm.h.
7574 (S): Likewise.
7575 (SIZE): Likewise.
7576 (__mpn_lshift): Do not use BP_SYM.
7577 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7578 "bp-asm.h".
7579 (PARMS): Do not use macros from bp-asm.h.
7580 (DEST): Likewise.
7581 (SRC): Likewise.
7582 (LEN): Likewise.
7583 (memcpy): Likewise. Do not use BP_SYM.
7584 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7585 libc_hidden_def and weak_alias.
7586 (mempcpy): Do not use BP_SYM in weak_alias.
7587 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7588 "bp-asm.h".
7589 (PARMS): Do not use macros from bp-asm.h.
7590 (DEST): Likewise.
7591 (LEN): Likewise.
7592 [!BZERO_P] (CHR): Likewise.
7593 (memset): Likewise. Do not use BP_SYM.
7594 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7595 "bp-asm.h".
7596 (PARMS): Do not use macros from bp-asm.h.
7597 (S1): Likewise.
7598 (SIZE): Likewise.
7599 (__mpn_mul_1): Do not use BP_SYM.
7600 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7601 "bp-asm.h".
7602 (PARMS): Do not use macros from bp-asm.h.
7603 (S): Likewise.
7604 (SIZE): Likewise.
7605 (__mpn_rshift): Do not use BP_SYM.
7606 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7607 "bp-asm.h".
7608 (PARMS): Do not use macros from bp-asm.h.
7609 (STR): Likewise.
7610 (CHR): Likewise.
7611 (strchr): Likewise. Do not use BP_SYM.
7612 (index): Do not use BP_SYM in weak_alias.
7613 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7614 "bp-asm.h".
7615 (PARMS): Do not use macros from bp-asm.h.
7616 (DEST): Likewise.
7617 (SRC): Likewise.
7618 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7619 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7620 "bp-asm.h".
7621 (PARMS): Do not use macros from bp-asm.h.
7622 (strlen): Do not use BP_SYM.
7623 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7624 "bp-asm.h".
7625 (PARMS): Do not use macros from bp-asm.h.
7626 (S1): Likewise.
7627 (S2): Likewise.
7628 (SIZE): Likewise.
7629 (__mpn_sub_n): Do not use BP_SYM.
7630 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7631 "bp-asm.h".
7632 (PARMS): Do not use macros from bp-asm.h.
7633 (S1): Likewise.
7634 (SIZE): Likewise.
7635 (__mpn_submul_1): Do not use BP_SYM.
7636 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7637 "bp-asm.h".
7638 (PARMS): Do not use macros from bp-asm.h.
7639 (S1): Likewise.
7640 (S2): Likewise.
7641 (SIZE): Likewise.
7642 (__mpn_add_n): Do not use BP_SYM.
7643 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7644 weak_alias.
7645 (bzero): Likewise.
7646 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7647 "bp-asm.h".
7648 (PARMS): Do not use macros from bp-asm.h.
7649 (BLK2): Likewise.
7650 (LEN): Likewise.
7651 (memcmp): Do not use BP_SYM.
7652 (bcmp): Do not use BP_SYM in weak_alias.
7653 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7654 "bp-asm.h".
7655 (PARMS): Do not use macros from bp-asm.h.
7656 (DEST): Likewise.
7657 (SRC): Likewise.
7658 (LEN): Likewise.
7659 (memcpy): Likewise. Do not use BP_SYM.
7660 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7661 "bp-asm.h".
7662 (PARMS): Do not use macros from bp-asm.h.
7663 (DEST): Likewise.
7664 (SRC): Likewise.
7665 (LEN): Likewise.
7666 (memmove): Likewise. Do not use BP_SYM.
7667 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7668 "bp-asm.h".
7669 (PARMS): Do not use macros from bp-asm.h.
7670 (DEST): Likewise.
7671 (SRC): Likewise.
7672 (LEN): Likewise.
7673 (__mempcpy): Likewise. Do not use BP_SYM.
7674 (mempcpy): Do not use BP_SYM in weak_alias.
7675 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7676 "bp-asm.h".
7677 (PARMS): Do not use macros from bp-asm.h.
7678 (DEST): Likewise.
7679 (LEN): Likewise.
7680 [!BZERO_P] (CHR): Likewise.
7681 (memset): Likewise. Do not use BP_SYM.
7682 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7683 "bp-asm.h".
7684 (PARMS): Do not use macros from bp-asm.h.
7685 (STR2): Likewise.
7686 (strcmp): Do not use BP_SYM.
7687 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7688 "bp-asm.h".
7689 (PARMS): Do not use macros from bp-asm.h.
7690 (STR): Likewise.
7691 (DELIM): Likewise.
7692 [USE_AS_STRTOK_R] (SAVE): Likewise.
7693 (FUNCTION): Likewise. Do not use BP_SYM.
7694 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7695 aliases.
7696 (strtok_r): Likewise.
7697 (__GI___strtok_r): Likewise.
7698 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7699 (PARMS): Do not use macros from bp-asm.h.
7700 (S): Likewise.
7701 (SIZE): Likewise.
7702 (__mpn_lshift): Do not use BP_SYM.
7703 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7704 (PARMS): Do not use macros from bp-asm.h.
7705 (STR): Likewise.
7706 (CHR): Likewise.
7707 (__memchr): Do not use BP_SYM.
7708 (memchr): Do not use BP_SYM in weak_alias.
7709 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7710 (PARMS): Do not use macros from bp-asm.h.
7711 (BLK2): Likewise.
7712 (LEN): Likewise.
7713 (memcmp): Do not use BP_SYM.
7714 (bcmp): Do not use BP_SYM in weak_alias.
7715 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7716 (PARMS): Do not use macros from bp-asm.h.
7717 (S1): Likewise.
7718 (SIZE): Likewise.
7719 (__mpn_mul_1): Do not use BP_SYM.
7720 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7721 "bp-asm.h".
7722 (PARMS): Do not use macros from bp-asm.h.
7723 (STR): Likewise.
7724 (CHR): Likewise.
7725 (__rawmemchr): Do not use BP_SYM.
7726 (rawmemchr): Do not use BP_SYM in weak_alias.
7727 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7728 (PARMS): Do not use macros from bp-asm.h.
7729 (S): Likewise.
7730 (SIZE): Likewise.
7731 (__mpn_rshift): Do not use BP_SYM.
7732 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7733 (PARMS): Do not use macros from bp-asm.h.
7734 (SIGMSK): Likewise.
7735 (__sigsetjmp): Likewise. Do not use BP_SYM.
7736 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7737 (_start): Do not use BP_SYM.
7738 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7739 (PARMS): Do not use macros from bp-asm.h.
7740 (DEST): Likewise.
7741 (SRC): Likewise.
7742 (__stpcpy): Likewise. Do not use BP_SYM.
7743 (stpcpy): Do not use BP_SYM in weak_alias.
7744 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7745 "bp-asm.h".
7746 (PARMS): Do not use macros from bp-asm.h.
7747 (DEST): Likewise.
7748 (SRC): Likewise.
7749 (LEN): Likewise.
7750 (__stpncpy): Likewise. Do not use BP_SYM.
7751 (stpncpy): Do not use BP_SYM in weak_alias.
7752 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7753 (PARMS): Do not use macros from bp-asm.h.
7754 (STR): Likewise.
7755 (CHR): Likewise.
7756 (strchr): Likewise. Do not use BP_SYM.
7757 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7758 "bp-asm.h".
7759 (PARMS): Do not use macros from bp-asm.h.
7760 (STR): Likewise.
7761 (CHR): Likewise.
7762 (__strchrnul): Likewise. Do not use BP_SYM.
7763 (strchrnul): Do not use BP_SYM in weak_alias.
7764 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7765 "bp-asm.h".
7766 (PARMS): Do not use macros from bp-asm.h.
7767 (STOP): Likewise.
7768 (strcspn): Do not use BP_SYM.
7769 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7770 "bp-asm.h".
7771 (PARMS): Do not use macros from bp-asm.h.
7772 (STR): Likewise.
7773 (STOP): Likewise.
7774 (strpbrk): Likewise. Do not use BP_SYM.
7775 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7776 "bp-asm.h".
7777 (PARMS): Do not use macros from bp-asm.h.
7778 (STR): Likewise.
7779 (CHR): Likewise.
7780 (strrchr): Likewise. Do not use BP_SYM.
7781 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7782 (PARMS): Do not use macros from bp-asm.h.
7783 (SKIP): Likewise.
7784 (strspn): Do not use BP_SYM.
7785 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7786 (PARMS): Do not use macros from bp-asm.h.
7787 (STR): Likewise.
7788 (DELIM): Likewise.
7789 (SAVE): Likewise.
7790 (FUNCTION): Likewise. Do not use BP_SYM.
7791 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7792 aliases.
7793 (strtok_r): Likewise.
7794 (__GI___strtok_r): Likewise.
7795 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7796 (PARMS): Do not use macros from bp-asm.h.
7797 (S1): Likewise.
7798 (S2): Likewise.
7799 (SIZE): Likewise.
7800 (__mpn_sub_n): Do not use BP_SYM.
7801 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7802 "bp-asm.h".
7803 (PARMS): Do not use macros from bp-asm.h.
7804 (S1): Likewise.
7805 (SIZE): Likewise.
7806 (__mpn_submul_1): Do not use BP_SYM.
7807 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7808 <bp-sym.h>.
7809 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7810 and <bp-asm.h>.
7811 (PARMS): Do not use macros from bp-asm.h.
7812 (FLAGS): Likewise.
7813 (PTID): Likewise.
7814 (TLS): Likewise.
7815 (CTID): Likewise.
7816 (__clone): Do not use BP_SYM.
7817 (clone): Do not use BP_SYM in weak_alias.
7818 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7819 and <bp-asm.h>.
7820 (PARMS): Do not use macros from bp-asm.h.
7821 (LEN): Likewise.
7822 (__mmap64): Do not use BP_SYM.
7823 (mmap64): Do not use BP_SYM in weak_alias.
7824 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7825 <bp-sym.h> and <bp-asm.h>.
7826 (PARMS): Do not use macros from bp-asm.h.
7827 (__posix_fadvise64_l64): Do not use BP_SYM.
7828 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7829 (PARMS): Do not use macros from bp-asm.h.
7830 (NSOPS): Likewise.
7831 (semtimedop): Do not use BP_SYM.
7832 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7833 and <bp-asm.h>.
7834
582a3cff
AM
78352013-02-21 Allan McRae <allan@archlinux.org>
7836
7837 * manual/message.texi (Charset conversion in gettext):
7838 Move @end statement to beginning of line.
7839
bab8a695
SP
78402013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7841
80945231
SP
7842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7843 static.
7844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7845 Likewise.
7846
bab8a695
SP
7847 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7848 (denorm): Likewise.
7849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7851
e21d7aa7
AK
78522013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7853
7854 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7855 tail-call to the resolved function if pltexit isn't needed.
7856
4c7a4263
SP
78572013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7858
7859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7860 or Y being zero as being unlikely.
7861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7862 Likewise.
7863
41f49342
CD
78642013-02-20 Carlos O'Donell <carlos@redhat.com>
7865
7866 * manual/nss.texi (System Databases and Name Service Switch):
7867 Remove frobnicate @pxref.
7868
50022a93
TS
78692013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7870
7871 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7872 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7873
08cbd996
PM
78742013-02-20 Petr Machata <pmachata@redhat.com>
7875
7876 * elf/elf.h (R_ARM_TARGET1): New macro.
7877 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7878 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7879 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7880 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7881 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7882 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7883 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7884 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7885 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7886 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7887 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7888 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7889 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7890 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7891 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7892 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7893 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7894 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7895 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7896 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7897 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7898 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7899 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7900 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7901 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7902 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7903 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7904 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7905 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7906 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7907 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7908 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7909 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7910 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7911 (R_ARM_THM_GOT_BREL12): Likewise.
7912 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7913 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7914 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7915 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7916 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7917 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7918 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7919 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7920 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7921
c7b275d6
TS
79222013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7923
7924 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7925 __attribute_used__ to __attribute__ ((unused)).
7926
20cd7fb3
SP
79272013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7928
7929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7930 powerpc mpa.c.
7931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7932 comment formatting.
7933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7934
92945b52
JM
79352013-02-19 Joseph Myers <joseph@codesourcery.com>
7936
7937 [BZ #13550]
7938 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7939 Remove macro.
7940 (ENTER): Remove both macro definitions.
7941 (LEAVE): Likewise.
7942 (CHECK_BOUNDS_LOW): Likewise.
7943 (CHECK_BOUNDS_HIGH): Likewise.
7944 (CHECK_BOUNDS_BOTH): Likewise.
7945 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7946 (RETURN_BOUNDED_POINTER): Likewise.
7947 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7948 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7949 (POP_ERRNO_LOCATION_RETURN): Likewise.
7950 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7951 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7952 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7953 macros.
7954 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7955 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7956 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7957 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7958 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7959 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7960 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7961 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7962 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7963 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7964 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7965 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7966 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7967 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7968 removed macros.
7969 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7970 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7971 macros.
7972 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7973 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7974 * sysdeps/i386/i586/memset.S (memset): Likewise.
7975 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7976 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7977 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7978 macros.
7979 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7980 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7981 Change uses of L(2) to L(out).
7982 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7983 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7984 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7985 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7986 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7987 removed macros.
7988 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7989 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7990 macros.
7991 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7992 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7993 (RETURN): Do not use macro LEAVE.
7994 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7995 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7996 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7997 * sysdeps/i386/i686/memset.S (memset): Likewise.
7998 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7999 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8000 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8001 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8002 Likewise.
8003 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8004 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
8005 L(1_2) and L(1_3) into L(1).
8006 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8007 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8008 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8009 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8010 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8011 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8012 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8013 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8014 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8015 macros.
8016 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8017 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8018 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8019 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8020 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8021 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8022 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8023 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8024 * sysdeps/i386/strcspn.S (strcspn): Likewise.
8025 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8026 * sysdeps/i386/strrchr.S (strrchr): Likewise.
8027 * sysdeps/i386/strspn.S (strspn): Likewise.
8028 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8029 conditional code.
8030 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8031 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8032 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8033 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
8034 L(1_3) into L(1_1).
8035 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8036 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8037 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8038 macros.
8039 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8040
2389741a
JJ
80412013-02-19 Jakub Jelinek <jakub@redhat.com>
8042
8043 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8044 macro.
8045
2016b3cd
SP
80462013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8047
e4f22324
SP
8048 * math/atest-exp.c (exp_mpn): Remove ROUND.
8049 * math/atest-exp2.c (exp_mpn): Likewise.
8050 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8051
2016b3cd
SP
8052 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8053 * stdlib/tst-tls-atexit-lib.c: Likewise.
8054 * stdlib/tst-tls-atexit.c: Likewise.
8055
4be9b544
MF
80562013-02-18 Mike Frysinger <vapier@gentoo.org>
8057
8058 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8059 and __attribute_alloc_size__.
8060
2f62b9ee
MF
80612013-02-18 Mike Frysinger <vapier@gentoo.org>
8062
8063 * include/programs/xmalloc.h: Change __attribute_alloc_size to
8064 __attribute_alloc_size__.
8065 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8066 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8067
6ff444c4
MF
80682013-02-18 Mike Frysinger <vapier@gentoo.org>
8069
8070 * include/programs/xmalloc.h: New file.
8071 * catgets/gencat.c: Include it.
8072 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8073 * elf/pldd.c: Likewise.
8074 * iconv/iconv_charmap.c: Likewise.
8075 * iconv/iconvconfig.c: Likewise.
8076 * iconv/strtab.c: Likewise.
8077 * locale/programs/locale.c: Likewise.
8078 * locale/programs/localedef.h: Likewise.
8079 * locale/programs/simple-hash.c: Likewise.
8080 * nscd/nscd.h: Likewise.
8081 * nss/makedb.c: Likewise.
8082 * sysdeps/generic/ldconfig.h: Likewise.
8083
be179c8a
SP
80842013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8085
ba384f6e
SP
8086 * Versions.def: Add GLIBC_2.18.
8087 * include/link.h (struct link_map): New member l_tls_dtor_count.
8088 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8089 (__call_tls_dtors): Likewise.
8090 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8091 __cxa_thread_atexit_impl.
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8093 Likewise.
8094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8095 Likewise.
8096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8097 Likewise.
8098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8099 Likewise.
8100 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8102 Likewise.
8103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8104 Likewise.
8105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8107 Likewise.
8108 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8109 (tests): Add test case tst-tls-atexit.
8110 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8111 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8112 (GLIBC_PRIVATE): Add __call_tls_dtors.
8113 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8114 for libstdc++.
8115 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8116 * stdlib/tst-tls-atexit.c: New test case.
8117 * stdlib/tst-tls-atexit-lib.c: New test case.
8118
ffaa74cf 8119 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8120
be179c8a
SP
8121 * elf/Versions (ld): Add _dl_find_dso_for_object.
8122 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8123 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8124 (dl_open_worker): Use _dl_find_dso_for_object.
8125 * elf/dl-sym.c (do_sym): Likewise.
8126 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8127
f78b5caa
AK
81282013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8129
8130 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8131 Syntactic changes only.
8132 (_dl_runtime_profile): Do a tail-call to the resolved function.
8133
29691210
JM
81342013-02-17 Joseph Myers <joseph@codesourcery.com>
8135
8136 [BZ #13550]
8137 * sysdeps/x86_64/bp-asm.h: Remove file.
8138 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8139 <bp-sym.h> and <bp-asm.h>.
8140 (__clone): Do not use BP_SYM.
8141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8142 <bp-sym.h> and <bp-asm.h>.
8143 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8144 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8145 "bp-asm.h".
8146 (_setjmp): Do not use BP_SYM.
8147 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8148 "bp-asm.h".
8149 (setjmp): Do not use BP_SYM.
8150 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8151 libc_hidden_def.
8152 (mempcpy): Do not use BP_SYM in weak_alias.
8153 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8154 "bp-asm.h".
8155 (strchr): Do not use BP_SYM.
8156 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8157 "bp-asm.h".
8158 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8159 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8160 (_start): Do not use BP_SYM.
8161 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8162 "bp-asm.h".
8163 (strcat): Do not use BP_SYM.
8164 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8165 "bp-asm.h".
8166 (STRCMP): Do not use BP_SYM.
8167 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8168 "bp-asm.h".
8169 (STRCPY): Do not use BP_SYM.
8170 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8171 "bp-asm.h".
8172 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8173 "bp-asm.h".
8174 (FUNCTION): Do not use BP_SYM.
8175 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8176 weak_alias.
8177 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8178
f238fd19
AJ
81792013-02-17 Andreas Jaeger <aj@suse.de>
8180
8181 * time/Versions: Sort entries.
8182 * string/Versions: Likewise.
8183 * resolv/Versions: Likewise.
8184 * posix/Versions: Likewise.
8185 * iconv/Versions: Likewise.
8186 * elf/Versions: Likewise.
8187 * wcsmbs/Versions: Likewise.
8188
bd07f23c 81892013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8190
22af19f9
SP
8191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8192 loop termination condition.
8193
4709fe76
SP
8194 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8195 variable to calculate EZ.
8196 (__sqr): Likewise.
2d0e0f29
SP
8197
8198 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8199 the lower precision input.
8200
daaa7713
JM
82012013-02-15 Joseph Myers <joseph@codesourcery.com>
8202
8203 [BZ #13550]
8204 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8205 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8206 (run-via-rtld-prefix): Do not handle %-bp tests.
8207 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8208 (all-object-suffixes): Remove .ob.
8209 (bppfx): Remove variable.
8210 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8211 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8212 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8213 [$(build-bounded) = yes] (libtype.ob): Likewise.
8214 * Makerules (elide-routines.ob): Remove variable.
8215 (do-tests-clean): Do not handle *-bp.out.
8216 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8217 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8218 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8219 (tests): Do not include $(tests-bp.out).
8220 (xtests): Do not include $(xtests-bp.out).
8221 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8222 [$(build-bounded) = yes] ($(addprefix
8223 $(objpfx),$(binaries-bounded))): Remove rule.
8224 ($(objpfx)%-bp.out): Remove rule.
8225 * config.make.in (build-bounded): Remove variable.
8226 * crypt/Makefile [$(build-bounded) = yes]
8227 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8228 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8229 append to variable.
8230 [$(build-bounded) = yes] (install-lib): Likewise.
8231 [$(build-bounded) = yes] (generated): Likewise.
8232 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8233 Remove rule.
8234 * intl/Makefile [$(build-bounded) = yes]
8235 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8236 * math/Makefile [$(build-bounded) = yes]
8237 ($(tests:%=$(objpfx)%-bp): Likewise.
8238 * misc/Makefile [$(build-bounded) = yes]
8239 ($(objpfx)tst-tsearch-bp): Likewise.
8240 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8241 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8242 Remove dependency.
8243 * string/Makefile (o-objects.ob): Remove variable.
8244 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8245 (CFLAGS-.ob): Remove variable.
8246 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8247 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8248 both definitions of variable.
8249 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8250 (ASFLAGS-.ob): Remove variable.
8251
e97ed6dd
JM
82522013-02-14 Joseph Myers <joseph@codesourcery.com>
8253
2bdd4ca6
JM
8254 [BZ #13550]
8255 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8256 Remove __BOUNDED_POINTERS__ from condition.
8257 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8258 * string/bits/string2.h [!__NO_STRING_INLINES &&
8259 !__BOUNDED_POINTERS__]: Likewise.
8260 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8261 Likewise.
8262 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8263 Remove conditional code.
8264 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8265 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8266 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8267 condition.
8268
e97ed6dd
JM
8269 [BZ #13550]
8270 * csu/libc-start.c: Do not include <bp-sym.h>.
8271 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8272 * elf/dl-open.c: Do not include <bp-sym.h>.
8273 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8274 * math/fegetenv.c: Do not include <bp-sym.h>.
8275 (fegetenv): Do not use BP_SYM in versioned symbols.
8276 * nptl/sysdeps/pthread/bits/libc-lockP.h
8277 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8278 <bp-sym.h>.
8279 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8280 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8281 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8282 (__pthread_mutex_destroy): Likewise.
8283 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8284 (__pthread_mutex_lock): Likewise.
8285 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8286 (__pthread_mutex_trylock): Likewise.
8287 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8288 (__pthread_mutex_unlock): Likewise.
8289 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8290 (__pthread_mutexattr_init): Likewise.
8291 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8292 (__pthread_mutexattr_destroy): Likewise.
8293 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8294 (__pthread_mutexattr_settype): Likewise.
8295 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8296 (__pthread_rwlock_init): Likewise.
8297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8298 (__pthread_rwlock_destroy): Likewise.
8299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8300 (__pthread_rwlock_rdlock): Likewise.
8301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8302 (__pthread_rwlock_tryrdlock): Likewise.
8303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8304 (__pthread_rwlock_wrlock): Likewise.
8305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8306 (__pthread_rwlock_trywrlock): Likewise.
8307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8308 (__pthread_rwlock_unlock): Likewise.
8309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8310 (__pthread_key_create): Likewise.
8311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8312 (__pthread_setspecific): Likewise.
8313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8314 (__pthread_getspecific): Likewise.
8315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8316 Likewise.
8317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8318 (_pthread_cleanup_push_defer): Likewise.
8319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8320 (_pthread_cleanup_pop_restore): Likewise.
8321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8322 (pthread_setcancelstate): Likewise.
8323 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8324 <bp-sym.h>.
8325 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8326 (memchr): Do not use BP_SYM in weak_alias.
8327 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8328 (fegetenv): Do not use BP_SYM in versioned symbols.
8329 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8330 (fesetenv): Do not use BP_SYM in versioned symbols.
8331 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8332 (feupdateenv): Do not use BP_SYM in versioned symbols.
8333 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8334 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8335 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8336 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8337 (open64): Do not use BP_SYM in weak_alias.
8338 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8339 (fegetenv): Do not use BP_SYM in versioned symbols.
8340 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8341 (fesetenv): Do not use BP_SYM in versioned symbols.
8342 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8343 (feupdateenv): Do not use BP_SYM in versioned symbols.
8344 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8345 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8346 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8347 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8348 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8349 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8350 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8351 <bp-sym.h>.
8352 (__libc_start_main): Do not use BP_SYM.
8353
d6752ccd
SP
83542013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8355
cb57ce60
SP
8356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8357 redundant return line.
8358 (norm): Likewise.
8359 (denorm): Likewise.
8360 (dbl_mp): Likewise.
8361 (sub_magnitudes): Likewise.
8362 (__add): Likewise.
8363 (__sub): Likewise.
8364 (__mul): Likewise.
8365 (__inv): Likewise.
8366 (__dvd): Likewise.
8367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8368 (norm): Likewise.
8369 (denorm): Likewise.
8370 (dbl_mp): Likewise.
8371 (sub_magnitudes): Likewise.
8372 (__add): Likewise.
8373 (__sub): Likewise.
8374 (__mul): Likewise.
8375 (__inv): Likewise.
8376 (__dvd): Likewise.
8377
f414520d
SP
8378 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8379 instead of __mul.
8380 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8381 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8382 (cc32): Likewise.
8383
d6752ccd
SP
8384 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8385 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8387 of __mul for squares.
8388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8389 function
8390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8391 Likewise.
8392 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8393 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8394
70d9946a
JM
83952013-02-13 Joseph Myers <joseph@codesourcery.com>
8396
8397 [BZ #13550]
8398 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8399 code.
8400 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8401 prototype or function definition. Rename ubp_* variables and
8402 parameters. Remove argv definitions conditional on
8403 [__BOUNDED_POINTERS__].
8404 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8405 * elf/dl-runtime.c (_dl_fixup): Likewise.
8406 * include/set-hooks.h (RUN_HOOK): Likewise.
8407 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8408 definition.
8409 * string/strcpy.c (strcpy): Do not use __unbounded.
8410 * sysdeps/generic/frame.h (struct layout): Likewise.
8411 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8412 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8413 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8414 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8415 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8416 (__backtrace): Likewise.
8417 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8418 use __ptrvalue.
8419 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8420 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8421 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8422 Likewise.
8423 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8424 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8425 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8426 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8427 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8428 Do not use __unbounded.
8429 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8430 Rename __unboundedrlimits parameter to rlimits in prototype.
8431 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8432 Do not use __unbounded.
8433 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8434 not use __ptrvalue.
8435 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8436 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8437 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8438 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8439 __ptrvalue or __unbounded.
8440 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8441 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8442 use __unbounded.
8443 (__new_msgctl): Do not use __ptrvalue.
8444 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8445 __unbounded.
8446 (__libc_msgrcv): Do not use __ptrvalue.
8447 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8448 startup_info): Do not use __unbounded.
8449 (__libc_start_main): Likewise. Rename ubp_* variables and
8450 parameters. Remove argv definitions conditional on
8451 [__BOUNDED_POINTERS__].
8452 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8453 __ptrvalue.
8454 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8455 use __unbounded.
8456 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8457 or __ptrvalue.
8458 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8459 use __unbounded.
8460 (__new_shmctl): Do not use __ptrvalue.
8461 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8462 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8463 Likewise.
8464 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8465 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8466 (__libc_sigaction): Likewise.
8467 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8468 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8469 Likewise.
8470 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8471
cc7834d6
OB
84722013-02-13 Ondřej Bílka <neleai@seznam.cz>
8473
ffb1ec7b 8474 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8475
8476 * string/mempcpy.c: Implement by calling memcpy.
8477
bdf02814
SP
84782013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8479
c2af38aa
SP
8480 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8481
4e92d59e
SP
8482 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8483 evaluation.
8484
909279a5
SP
8485 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8486 values in the mantissa.
8487
bdf02814
SP
8488 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8489 minimize writes to Z.
8490 (sub_magnitudes): Simplify code a bit.
8491
cd525923
RM
84922013-02-12 Roland McGrath <roland@hack.frob.com>
8493
8494 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8495 from the message. The linker prefixes all warnings with that already.
8496
7e2f0d2d
AS
84972013-02-12 Andreas Schwab <schwab@suse.de>
8498
a445af0b
AS
8499 [BZ #15078]
8500 * posix/regexec.c (extend_buffers): Add parameter min_len.
8501 (check_matching): Pass minimum needed length.
8502 (clean_state_log_if_needed): Likewise.
8503 (get_subexp): Likewise.
8504 * posix/Makefile (tests): Add bug-regex34.
8505 (bug-regex34-ENV): Define.
8506 * posix/bug-regex34.c: New file.
8507
7e2f0d2d
AS
8508 [BZ #11561]
8509 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8510 elements compare against the byte sequence of it, not its name.
8511 * posix/Makefile (tests): Add bug-regex35.
8512 (bug-regex35-ENV): Define.
8513 * posix/bug-regex35.c: New file.
8514
a175b684
TV
85152013-02-11 Tom de Vries <tom@codesourcery.com>
8516
8517 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8518 comment.
8519 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8520 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8521 (CHECK_EOL): Add undef.
8522
310998fe 85232013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8524
8525 * bits/stdlib-bsearch.h: New file.
8526 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8527 * stdlib/stdlib.h: Likewise.
41eda41d 8528
8ded91fb
RM
85292013-02-11 Roland McGrath <roland@hack.frob.com>
8530
8531 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8532 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8533 declaration.
8534 * manual/search.texi (Array Search Function): Add missing const in
8535 lfind prototype.
8536 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8537 declaration to use rlim_t.
8538 (Basic Scheduling Functions): Remove erroneous const from
8539 sched_getparam prototype. Remove erroneous * from
8540 sched_get_priority_max and sched_get_priority_min prototypes.
8541 (Resource Usage): Fix summary @comment on vtimes to refer to
8542 sys/vtimes.h rather than vtimes.h.
8543 Add missing *s in vtimes prototype.
8544 (Limits on Resources): Fix ulimit prototype to return long int.
8545 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8546 prototypes to use long int rather than double.
8547 (BSD Random): Fix initstate and setstate to use char *, not void *.
8548 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8549 prototype to make second argument 'struct aiocb64 *const[]'.
8550 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8551 (Status of AIO Operations): Remove erroneous const in aio_return and
8552 aio_return64 prototypes.
8553 (Synchronizing I/O): Fix sync prototype to return void.
8554 * manual/startup.texi (Suboptions): Remove an erroneous const in
8555 getsubopt prototype.
8556 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8557 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8558 use size_t rather than int.
8559 (Scanning All Users): Likewise for getpwent_r.
8560 (Setting Groups): Add missing const to setgroups prototype.
8561 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8562 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8563 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8564 'const void *' rather than 'const char *'.
8565 (Host Address Functions): Likewise for inet_ntop.
8566 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8567 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8568 ssize_t for return value.
8569 (Sending Data): Likewise for send, sendto, sendmsg.
8570 (Socket Option Functions): Add a missing const in setsockopt prototype.
8571 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8572 use wchar_t for the argument.
8573 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8574 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8575 take no arguments.
8576 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8577 double/float/long double for second argument.
8578 Fix return types of significand, significandf, significandl.
8579 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8580 argument in fchmod prototype.
8581 (File Owner): Use uid_t and gid_t in fchown prototype.
8582 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8583 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8584 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8585 use 'const struct dirent **' as argument types to CMP function pointer
8586 argument.
8587 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8588 (File Times): Fix summary magic @comment for struct utimbuf and utime
8589 to refer to utime.h, not time.h.
8590 * manual/string.texi (Argz Functions): Add missing const in
8591 argz_extract and argz_next prototypes.
8592 (Finding Tokens in a String): Likewise for basename.
8593 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8594 (Copying and Concatenation): Fix typo in wmemmove prototype.
8595 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8596 (Signal Stack): Remove erroneous const in sigstack prototype.
8597 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8598 prototype.
8599 (Simple Calendar Time): Likewise for stime.
8600 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8601 prototype.
8602 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8603 say sys/sysctl.h instead.
8604 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8605 and vsyslog prototypes.
8606
fe77fe6d
TV
86072013-02-11 Tom de Vries <tom@codesourcery.com>
8608
8609 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8610 Remove.
8611
3a09b620
RM
86122013-02-11 Roland McGrath <roland@hack.frob.com>
8613
8614 * misc/sys/mman.h: Fix typo in mremap comment.
8615
550a0b89
RM
86162013-02-08 Roland McGrath <roland@hack.frob.com>
8617
8618 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8619 the '\0' terminator.
8620
a2da1673
JM
86212013-02-08 Joseph Myers <joseph@codesourcery.com>
8622
8623 [BZ #13550]
8624 * debug/segfault.c: Don't include <bp-checks.h>.
8625 * sysdeps/generic/bp-checks.h: Remove file.
8626 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8627 (__GETDENTS): Don't use CHECK_N.
8628 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8629 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8630 (__getgroups): Don't use CHECK_N.
8631 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8632 (setgroups): Don't use CHECK_N.
8633 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8634 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8635 (__libc_msgrcv): Don't use CHECK_N.
8636 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8637 (__libc_msgsnd): Don't use CHECK_N.
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8639 <bp-checks.h>.
8640 (__libc_pread): Don't use CHECK_N.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8642 include <bp-checks.h>.
8643 (__libc_pread64): Don't use CHECK_N.
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8645 include <bp-checks.h>.
8646 (__libc_pwrite): Don't use CHECK_N.
8647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8648 include <bp-checks.h>.
8649 (__libc_pwrite64): Don't use CHECK_N.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8651 <bp-checks.h>.
8652 (__libc_pread): Don't use CHECK_N.
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8654 include <bp-checks.h>.
8655 (__libc_pread64): Don't use CHECK_N.
8656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8657 include <bp-checks.h>.
8658 (__libc_pwrite): Don't use CHECK_N.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8660 include <bp-checks.h>.
8661 (__libc_pwrite64): Don't use CHECK_N.
8662 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8663 (do_pread): Don't use CHECK_N.
8664 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8665 (do_pread64): Don't use CHECK_N.
8666 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8667 (do_pwrite): Don't use CHECK_N.
8668 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8669 (do_pwrite64): Don't use CHECK_N.
8670 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8671 (__libc_readv): Don't use CHECK_N.
8672 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8673 (semop): Don't use CHECK_N.
8674 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8675 <bp-checks.h>.
8676 (semtimedop): Don't use CHECK_N.
8677 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8678 (__libc_pread): Don't use CHECK_N.
8679 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8680 <bp-checks.h>.
8681 (__libc_pread64): Don't use CHECK_N.
8682 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8683 <bp-checks.h>.
8684 (__libc_pwrite): Don't use CHECK_N.
8685 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8686 <bp-checks.h>.
8687 (__libc_pwrite64): Don't use CHECK_N.
8688 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8689 <bp-checks.h>.
8690 (__libc_msgrcv): Don't use CHECK_N.
8691 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8692 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8693 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8694 (__libc_writev): Don't use CHECK_N.
8695
b84660a8
RM
86962013-02-08 Roland McGrath <roland@hack.frob.com>
8697
7f3e75f8
RM
8698 * string/strcpy.c: Removed unused variable.
8699
b84660a8
RM
8700 * Makeconfig (+sysdep-includes): Define with := rather than =.
8701 Use an existing include/ subdir of each sysdeps dir before it.
8702
471514d3
CD
87032013-02-08 Carlos O'Donell <carlos@redhat.com>
8704
8705 * nscd/connection.c (register_traced_file): Comment function.
8706 [HAVE_INOTIFY] (union __inev): Define.
8707 [HAVE_INOTIFY] (inotify_check_files): New function.
8708 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8709 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8710 clear_db_cache.
8711 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8712
b2d3c3be
CD
87132013-02-08 Carlos O'Donell <carlos@redhat.com>
8714
8715 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8716 loaded if not already and that a failure is permanent.
8717
b39949d2
CD
87182013-02-08 Carlos O'Donell <carlos@redhat.com>
8719
ddacd1db 8720 [BZ #15006]
b39949d2
CD
8721 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8722 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8723
b2c9eff4
JM
87242013-02-08 Joseph Myers <joseph@codesourcery.com>
8725
f3aae3f3
JM
8726 [BZ #13550]
8727 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8728 (CHECK_1_NULL_OK): Likewise.
8729 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8730 (__fxstat): Do not use CHECK_1.
8731 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8732 <bp-checks.h>.
8733 (___fxstat64): Do not use CHECK_1.
8734 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8735 <bp-checks.h>.
8736 (__fxstatat): Do not use CHECK_1.
8737 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8738 <bp-checks.h>.
8739 (__fxstatat64): Do not use CHECK_1.
8740 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8741 <bp-checks.h>.
8742 (__fxstat): Do not use CHECK_1.
8743 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8744 <bp-checks.h>.
8745 (__fxstatat): Do not use CHECK_1.
8746 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8747 <bp-checks.h>.
8748 (__getresgid): Do not use CHECK_1.
8749 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8750 <bp-checks.h>.
8751 (__getresuid): Do not use CHECK_1.
8752 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8753 <bp-checks.h>.
8754 (__lxstat): Do not use CHECK_1.
8755 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8756 <bp-checks.h>.
8757 (__old_msgctl): Do not use CHECK_1.
8758 (__new_msgctl): Likewise.
8759 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8760 <bp-checks.h>.
8761 (__new_setrlimit): Do not use CHECK_1.
8762 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8763 <bp-checks.h>.
8764 (__old_shmctl): Do not use CHECK_1.
8765 (__new_shmctl): Likewise.
8766 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8767 <bp-checks.h>.
8768 (__xstat): Do not use CHECK_1.
8769 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8770 (__lxstat): Do not use CHECK_1.
8771 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8772 <bp-checks.h>.
8773 (___lxstat64): Do not use CHECK_1.
8774 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8775 (__old_msgctl): Do not use CHECK_1.
8776 (__new_msgctl): Likewise.
8777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8778 <bp-checks.h>.
8779 (__gettimeofday): Do not use CHECK_1.
8780 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8781 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8782 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8783 <bp-checks.h>.
8784 (__gettimeofday): Do not use CHECK_1.
8785 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8786 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8787 (__new_shmctl): Do not use CHECK_1.
8788 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8789 <bp-checks.h>.
8790 (do_sigtimedwait): Do not use CHECK_1.
8791 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8792 <bp-checks.h>.
8793 (do_sigwaitinfo): Do not use CHECK_1.
8794 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8795 <bp-checks.h>.
8796 (msgctl): Do not use CHECK_1.
8797 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8798 <bp-checks.h>.
8799 (shmctl): Do not use CHECK_1.
8800 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8801 (ustat): Do not use CHECK_1.
8802 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8803 <bp-checks.h>.
8804 (__fxstat): Do not use CHECK_1.
8805 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8806 <bp-checks.h>.
8807 (__fxstatat): Do not use CHECK_1.
8808 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8809 <bp-checks.h>.
8810 (__lxstat): Do not use CHECK_1.
8811 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8812 <bp-checks.h>.
8813 (__xstat): Do not use CHECK_1.
8814 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8815 (__xstat): Do not use CHECK_1.
8816 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8817 (___xstat64): Do not use CHECK_1.
8818
b2c9eff4
JM
8819 [BZ #13550]
8820 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8821 definitions.
8822 (CHECK_BOUNDS_HIGH): Likewise.
8823 * string/strcpy.c: Do not include <bp-checks.h>.
8824 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8825
f1d70dad
RM
88262013-02-07 Roland McGrath <roland@hack.frob.com>
8827
8828 * nscd/nscd-client.h (__nscd_drop_map_ref):
8829 Add __attribute__ ((unused)).
8830 * nis/nss-nisplus.h (niserr2nss): Likewise.
8831
8832 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8833 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8834
8835 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8836 Remove inline keyword.
8837 * include/rounding-mode.h (round_away): Likewise.
8838 * libio/wfileops.c (adjust_wide_data): Likewise.
8839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8840 (__m128i_strloadu_tolower): Likewise.
8841 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8842 (__m128i_strloadu_tolower): Likewise.
8843 * time/mktime.c (ydhms_diff): Likewise.
8844 * locale/elem-hash.h (elem_hash): Likewise.
8845 * locale/setlocale.c (setdata): Likewise.
8846 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8847 (re_string_wchar_at): Likewise.
8848 (bitset_not, bitset_merge, bitset_mask): Likewise.
8849 [!(__GNUC__ > 3)] (inline): Remove macro.
8850 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8851 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8852 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8853 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8854 * string/memcmp.c (memcmp_bytes): Likewise.
8855 * locale/programs/locarchive.c (compute_hashval): Likewise.
8856 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8857 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8858 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8859 * nss/getent.c (print_rpc, print_protocols): Likewise.
8860 (print_passwd, print_group, print_aliases): Likewise.
8861 * nis/nss-nisplus.h (niserr2nss): Likewise.
8862 * nscd/connections.c (restart_p): Likewise.
8863 Change return type to bool.
8864
eab55bfb
RM
88652013-02-05 Roland McGrath <roland@hack.frob.com>
8866
7bd642f5
RM
8867 * Makeconfig (all-Depend-files): Add existing
8868 $(sorted-subdirs:=/Depend) files.
8869 (all-subdirs): Remove nss.
8870 * sysdeps/unix/inet/Subdirs: Add it here instead.
8871 * hesiod/Depend: New file.
8872
573c29b2
RM
8873 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8874 instead of calling alloca.
8875
b2e25af0
RM
8876 * io/lseek.c (__lseek): Rename to __libc_lseek.
8877 Define __lseek as an alias.
8878
eab55bfb
RM
8879 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8880
9a0d1941
CD
88812013-02-04 Carlos O'Donell <carlos@redhat.com>
8882
8883 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8884 else clause and remove check for non-standard endianness.
8885
b83bbec4
DM
88862013-02-04 David S. Miller <davem@davemloft.net>
8887
8888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8889
6277fdab
JM
88902013-02-04 Joseph Myers <joseph@codesourcery.com>
8891
8892 [BZ #13550]
8893 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8894 (__ubp_memchr): Remove prototype.
8895 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8896 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8897 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8898 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8899 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8900 Remove alias.
8901 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8902 (__ubp_memchr): Likewise.
8903 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8904 (__ubp_memchr): Likewise.
8905 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8906 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8907 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8908 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8909 CHECK_STRING.
8910 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8911 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8912 (__getcwd): Do not use CHECK_STRING.
8913 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8914 <bp-checks.h>.
8915 (__real_chown): Do not use CHECK_STRING.
8916 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8917 <bp-checks.h>.
8918 (fchownat): Do not use CHECK_STRING.
8919 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8920 CHECK_STRING.
8921 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8922 <bp-checks.h>.
8923 (__lchown): Do not use CHECK_STRING.
8924 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8925 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8926 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8927 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8929 include <bp-checks.h>.
8930 (truncate64): Do not use CHECK_STRING.
8931 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8932 <bp-checks.h>.
8933 (__real_chown): Do not use CHECK_STRING.
8934 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8935 <bp-checks.h>.
8936 (__lchown): Do not use CHECK_STRING.
8937 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8938 <bp-checks.h>.
8939 (__chown): Do not use CHECK_STRING.
8940 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8941 <bp-checks.h>.
8942 (truncate64): Do not use CHECK_STRING.
8943 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8944 Likewise.
8945 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8946 (__xmknod): Do not use CHECK_STRING.
8947 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8948 <bp-checks.h>.
8949 (__xmknodat): Do not use CHECK_STRING.
8950 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8951 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8952
903ae060
AS
89532013-02-04 Andreas Schwab <schwab@suse.de>
8954
8955 [BZ #14142]
8956 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8957 * include/netdb.h: Likewise for h_errno.
8958 * elf/tst-stackguard1.c: Include <tls.h>.
8959
542f9466
JK
89602013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8961
8962 * elf/link.h (struct link_map): Extend the l_addr comment.
8963 * include/link.h (struct link_map): Likewise.
8964
e782a927
JM
89652013-02-01 Joseph Myers <joseph@codesourcery.com>
8966
8967 [BZ #13550]
8968 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8969 (BOUNDED_1): Remove macro.
8970 * debug/backtrace.c: Don't include <bp-checks.h>.
8971 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8972 (__backtrace): Likewise.
8973 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8974 <bp-checks.h>.
8975 (__backtrace): Don't use BOUNDED_1.
8976 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8977 <bp-checks.h>.
8978 (__backtrace): Don't use BOUNDED_1.
8979 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8980 (__backtrace): Don't use BOUNDED_1.
8981 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8982 (shmat): Don't use BOUNDED_N.
8983
8cf28c5e
JM
89842013-01-31 Joseph Myers <joseph@codesourcery.com>
8985
3a7ac8a0
JM
8986 [BZ #13550]
8987 * sysdeps/generic/bp-start.h: Remove file.
8988 * csu/libc-start.c: Don't include <bp-start.h>.
8989 (LIBC_START_MAIN): Set up __environ directly instead of using
8990 INIT_ARGV_and_ENVIRON.
8991 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8992 <bp-start.h>.
8993
f3499f95
JM
8994 [BZ #13550]
8995 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8996 definitions.
8997 (CHECK_FCNTL): Likewise.
8998 (CHECK_N_PAGES): Likewise.
8999
32a45bea
JM
9000 [BZ #13550]
9001 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9002 definitions.
9003 (CHECK_SIGSET_NULL_OK): Likewise.
9004 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9005 <bp-checks.h>.
9006 (sigpending): Don't use CHECK_SIGSET.
9007 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9008 <bp-checks.h>.
9009 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9010 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9011 <bp-checks.h>.
9012 (do_sigsuspend): Don't use CHECK_SIGSET.
9013 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9014 use CHECK_SIGSET.
9015 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9016 (do_sigwait): Don't use CHECK_SIGSET.
9017 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9018 use CHECK_SIGSET.
9019 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9020 include <bp-checks.h>.
9021 (sigpending): Don't use CHECK_SIGSET.
9022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9023 include <bp-checks.h>.
9024 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9025 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9026 <bp-checks.h>.
9027 (sigpending): Don't use CHECK_SIGSET.
9028 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9029 <bp-checks.h>.
9030 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9031
2e8a5c8c
JM
9032 [BZ #13550]
9033 * sysdeps/generic/bp-semctl.h: Remove file.
9034 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9035 <bp-checks.h> and <bp-semctl.h>.
9036 (__old_semctl): Don't use CHECK_SEMCTL.
9037 (__new_semctl): Likewise.
9038 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9039 and <bp-semctl.h>.
9040 (__old_semctl): Don't use CHECK_SEMCTL.
9041 (__new_semctl): Likewise.
9042 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9043 <bp-checks.h> and <bp-semctl.h>.
9044 (__old_semctl): Don't use CHECK_SEMCTL.
9045 (__new_semctl): Likewise.
9046 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9047 <bp-checks.h> and <bp-semctl.h>.
9048 (semctl): Don't use CHECK_SEMCTL.
9049
c2d54929
JM
9050 [BZ #13550]
9051 * Makerules (elide-bp-thunks): Remove variable.
9052 (elide-routines.oS): Don't use $(elide-bp-thunks).
9053 (elide-routines.os): Likewise.
9054 (elide-routines.o): Likewise.
9055 (elide-routines.op): Likewise.
9056 (elide-routines.og): Likewise.
9057 (objects): Don't use $(bp-thunks).
9058 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9059 include.
9060 (common-generated): Do not add s-proto-bp.d.
9061 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9062 (int): Likewise.
9063 (typ): Likewise.
9064 Do not generate makefile rules for bounded-pointer thunks.
9065 * sysdeps/generic/bp-thunks.h: Remove file.
9066 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9067 * sysdeps/unix/s-proto-bp.S: Likewise.
9068
8cf28c5e
JM
9069 [BZ #15062]
9070 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9071 parts of result separately when argument is not close to line from
9072 -i to i and one part of argument is small.
9073 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9074 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9075 * math/libm-test.inc (cacos_test): Add more tests.
9076 (casin_test): Likewise.
9077 (casinh_test): Likewise.
9078 * sysdeps/i386/fpu/libm-test-ulps: Update.
9079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9080
c4e33b8d
DM
90812013-01-31 David S. Miller <davem@davemloft.net>
9082
9083 * po/de.po: Update from translation team.
9084
3b60b421
MK
90852013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9086
9087 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9088
bb931195
TS
90892013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9090
b5a5da23
TS
9091 * configure.in (_AC_PROG_CC_C89): New definition.
9092 * configure: Regenerate.
9093
bb931195
TS
9094 * configure.in (AC_PROG_CPP): New definition.
9095 * configure: Regenerate.
9096
8c53a12c
JM
90972013-01-23 Joseph Myers <joseph@codesourcery.com>
9098
9099 * debug/tst-backtrace.h: New file.
9100 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9101 (ret): Remove variable.
9102 (x): Likewise.
9103 (FAIL): Remove macro.
9104 (NO_INLINE): Likewise.
9105 (fn1): Use match function instead of strstr.
9106 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9107 (ret): Remove variable.
9108 (x): Likewise.
9109 (FAIL): Remove macro.
9110 (NO_INLINE): Likewise.
9111 (fn): Use match function instead of strstr.
9112 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9113 (ret): Remove variable.
9114 (x): Likewise.
9115 (FAIL): Remove macro.
9116 (NO_INLINE): Likewise.
9117 (handle_signal): Use match function instead of strstr.
9118 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9119 (ret): Remove variable.
9120 (x): Likewise.
9121 (FAIL): Remove macro.
9122 (NO_INLINE): Likewise.
9123 (handle_signal): Use match function instead of strstr.
9124
4858fa2a
RM
91252013-01-23 Roland McGrath <roland@hack.frob.com>
9126
9127 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9128
bae8e7f5
DM
91292013-01-23 David S. Miller <davem@davemloft.net>
9130
9131 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9132 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9133 argument of CAS if possible.
9134 * sysdeps/sparc/sparc64/bits/atomic.h
9135 (__arch_compare_and_exchange_val_32_acq): Likewise.
9136 (__arch_compare_and_exchange_val_64_acq): Likewise.
9137
9cbbc4ae
PT
91382013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9139
9140 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9141 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9142 Include <limits.h>.
67b3f58c 9143 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9144
5655a0b5
AC
91452013-01-23 Adam Conrad <adconrad@0c3.net>
9146
9147 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9148 (LDFLAGS-tst-array5): Likewise.
9149
052aff95
JM
91502013-01-23 Joseph Myers <joseph@codesourcery.com>
9151
9152 [BZ #15036]
9153 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9154 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9155 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9156 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9157
7c1e01aa
DM
91582013-01-21 David S. Miller <davem@davemloft.net>
9159
9160 * sysdeps/sparc/backtrace.c: New file.
9161 * sysdeps/sparc/sparc32/backtrace.h: New file.
9162 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9163 * sysdeps/sparc/sparc64/backtrace.h: New file.
9164 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9165 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9166 -funwind-tables.
9167
ab087e0a
AS
91682013-01-21 Andreas Schwab <schwab@suse.de>
9169
9170 [BZ #15020]
9171 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9172 closed its stdout.
9173
ed689c2f
AS
91742013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9175
9176 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9177 "mpa2.h".
9178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9179
31d470ac
JM
91802013-01-18 Joseph Myers <joseph@codesourcery.com>
9181 Mark Mitchell <mark@codesourcery.com>
9182 Tom de Vries <tom@codesourcery.com>
9183 Paul Pluzhnikov <ppluzhnikov@google.com>
9184
9185 * debug/tst-backtrace2.c: New file.
9186 * debug/tst-backtrace3.c: Likewise.
9187 * debug/tst-backtrace4.c: Likewise.
9188 * debug/tst-backtrace5.c: Likewise.
9189 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9190 (CFLAGS-tst-backtrace3.c): Likewise.
9191 (CFLAGS-tst-backtrace4.c): Likewise.
9192 (CFLAGS-tst-backtrace5.c): Likewise.
9193 (LDFLAGS-tst-backtrace2): Likewise.
9194 (LDFLAGS-tst-backtrace3): Likewise.
9195 (LDFLAGS-tst-backtrace4): Likewise.
9196 (LDFLAGS-tst-backtrace5): Likewise.
9197 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9198 tst-backtrace4 and tst-backtrace5.
9199
90567f30 92002013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9201 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9202
9203 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9204 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9205 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9206 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9208 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9209 "+r" and remove output regs list as redundant. Add explicit inline
9210 asm to specify register of return val to work around compiler codegen
9211 bug. Remove (int) cast on return value. Add return type parameter to
9212 use in macro so that this macro does not truncate return value for
9213 64-bit values.
9214 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9215 pass to INTERNAL_VSYSCALL_NCS.
9216 (INLINE_VSYSCALL): Add 'long int' as return type to
9217 INTERNAL_VSYSCALL_NCS macro invocation.
9218 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9219 INTERNAL_VSYSCALL_NCS macro invocation.
9220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9221
d3b9ea61
SP
92222013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9223
0b57daeb
SP
9224 [BZ #14496]
9225 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9226 Fix application of SIMD FP exception mask.
9227
caa99d06
SP
9228 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9229 mp_no from a power of two.
9230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9231 __mpexp_twomm1. Use __pow_mp.
9232
d3b9ea61
SP
9233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9234 multiplication.
9235
1dbaee3c
DM
92362013-01-17 David S. Miller <davem@davemloft.net>
9237
9238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9239
728d7b43
JM
92402013-01-17 Joseph Myers <joseph@codesourcery.com>
9241
9242 [BZ #15023]
9243 * include/complex.h: Condition contents on [!_COMPLEX_H].
9244 (__kernel_casinhf): New prototype.
9245 (__kernel_casinh): Likewise.
9246 (__kernel_casinhl): Likewise.
9247 * math/Makefile (libm_calls): Add k_casinh.
9248 * math/k_casinh.c: New file.
9249 * math/k_casinhf.c: Likewise.
9250 * math/k_casinhl.c: Likewise.
9251 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9252 finite nonzero arguments.
9253 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9254 finite nonzero arguments.
9255 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9256 finite nonzero arguments.
9257 * math/s_casinh.c: Do not include <float.h>.
9258 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9259 * math/s_casinhf.c: Do not include <float.h>.
9260 (__casinhf): Move code for finite nonzero arguments to
9261 k_casinhf.c.
9262 * math/s_casinhl.c: Do not include <float.h>.
9263 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9264 redefine.
9265 (__casinhl): Move code for finite nonzero arguments to
9266 k_casinhl.c.
9267 * math/libm-test.inc (cacos_test): Add more tests.
9268 * sysdeps/i386/fpu/libm-test-ulps: Update.
9269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9270
2a26ef3a
PT
92712013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9272
9273 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9274 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9275 [!HAVE_MREMAP]: Remove [defined linux] case.
9276 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9277
a897655d
SP
92782013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9279
9280 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9281
881ebe89 92822013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9283
9284 * elf/elf.h (R_386_SIZE32): New relocation.
9285 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9286 R_386_SIZE32.
9287 (elf_machine_rela): Likewise.
9288 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9289 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9290
59981e9b
JM
92912013-01-17 Joseph Myers <joseph@codesourcery.com>
9292
9293 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9294 (FP_FAST_FMA): Do not define.
9295 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9296 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9297 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9298 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9299 !_SOFT_FLOAT]: Likewise.
9300 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9301 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9302 value.
9303 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9304 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9305 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9306 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9307 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9308 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9309 file.
9310
cfa8054f
AS
93112013-01-16 Andreas Schwab <schwab@suse.de>
9312
9313 [BZ #14327]
9314 * include/stdlib.h (__mktemp): Add declaration.
9315 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9316 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9317
dd930cc5
SP
93182013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9319
881ebe89
SP
9320 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9321 definitions.
9322 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9323 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9324 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9325 definitions here.
9326 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9327 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9328 definitions.
9329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9330 and ONE.
9331 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9332 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9333 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9334 definitions.
9335 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9336 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9337 definitions.
9338 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9339
dd930cc5
SP
9340 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9341
c19a9f89
DM
93422013-01-15 David S. Miller <davem@davemloft.net>
9343
1aa61767
DM
9344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9345 trunc{,f} to libm-sysdep_routes.
9346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9348 file.
9349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9351 file.
9352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9353 file.
9354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9356 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9357 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9358 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9359 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9360 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9361 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9362
c42d5e98
DM
9363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9364 nearbyint{,f} to libm-sysdep_routes.
9365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9367 New file.
9368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9369 file.
9370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9371 New file.
9372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9373 file.
9374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9376 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9377 file.
9378 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9379 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9380 file.
9381 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9382 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9383 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9384
c19a9f89
DM
9385 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9386 libc_feholdexcept and libc_fesetenv.
9387
357679d2
MF
93882013-01-15 Mike Frysinger <vapier@gentoo.org>
9389
9390 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9391
65a82e3d
DM
93922013-01-14 David S. Miller <davem@davemloft.net>
9393
8b954ab9
DM
9394 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9395 (SPARC_ASM_VIS2_IFUNC): Likewise.
9396 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9398 use of 'siam' instruction.
9399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9400 Likewise.
9401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9402 Likewise.
9403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9404 Likewise.
9405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9410 file.
9411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9412 file.
9413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9414 file.
9415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9416 file.
9417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9422 new VIS2 routines.
9423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9426 Likewise.
9427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9430 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9432 routines to libm-sysdep_routines.
9433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9434
65a82e3d
DM
9435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9436 fdim/fdimf to libm-sysdep_routines.
9437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9438 file.
9439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9441 file.
9442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9445 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9446 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9447 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9448 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9449
e34ab705
SP
94502013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9451
2a91b573
SP
9452 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9453 to optimize copies.
9454
1066a534
SP
9455 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9458
e34ab705
SP
9459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9460 local variable MPTWO.
9461 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9462 Likewise.
9463
aba5e596
MF
94642013-01-13 Mike Frysinger <vapier@gentoo.org>
9465
9466 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9467 GLOB_NOESCAPE.
9468
e557e9e5
MF
94692013-01-13 Mike Frysinger <vapier@gentoo.org>
9470
9471 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9472
0428cec9
MF
94732013-01-13 Mike Frysinger <vapier@gentoo.org>
9474
9475 * manual/pattern.texi (glob_t): Document gl_flags.
9476 (glob64_t): Likewise.
9477
8794a964
DM
94782013-01-11 David S. Miller <davem@davemloft.net>
9479
66438c3f
RM
9480 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9481 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9482 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9483 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9484 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9485 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9486 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9487 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9488 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9489 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9490 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9491 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9492 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9493
4ae4244d
DM
9494 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9495 sparc V9 rather than using V8 code.
9496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9498
8794a964
DM
9499 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9500 Move to...
9501 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9502 Here.
9503
6270516e
RM
95042013-01-11 Roland McGrath <roland@hack.frob.com>
9505
9506 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9507 not in the main loop.
9508 * configure: Regenerated.
9509
6a57d931
JM
95102013-01-11 Joseph Myers <joseph@codesourcery.com>
9511
9512 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9513 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9514 to just #else.
9515 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9516 [!__GLIBC_HAVE_LONG_LONG] case.
9517 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9518 condition to just #else.
9519 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9520 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9521 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9522 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9523 unconditional.
9524 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9525 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9526 #elif condition to just #else.
9527 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9528 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9529 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9530 #elif condition to just #else.
9531
0e8529e9
SE
95322013-01-11 Steve Ellcey <sellcey@mips.com>
9533
9534 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9535 (EF_MIPS_ARCH_64): Fix value.
9536 (EF_MIPS_ARCH_32R2): New.
9537 (EF_MIPS_ARCH_64R2): New.
9538
740b3dbe
L
95392013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9540
9541 * Makeconfig (+link-pie-before-libc): New.
9542 (+link-pie-after-libc): Likewise.
9543 (+link-pie-tests): Likewise.
9544 (+link-pie): Rewritten.
9545 (link-before-libc): Remove $(config-LDFLAGS).
9546 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9547 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9548 (config-LDFLAGS): Renamed to ...
9549 (rtld-LDFLAGS): This.
9550 (rtld-tests-LDFLAGS): New macro.
9551 (link-libc-rpath-link): Likewise.
9552 (link-libc-tests-rpath-link): Likewise.
9553 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9554 (link-libc): Prepand $(link-libc-rpath-link).
9555 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9556 (test-program-prefix): New macro.
9557 (test-via-rtld-prefix): Likewise.
9558 (test-program-cmd): Likewise.
9559 (host-test-program-cmd): Likewise.
9560 * Makefile ($(common-objpfx)testrun.sh): Replace
9561 $(run-program-prefix) with $(test-program-prefix).
9562 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9563 $(rtld-LDFLAGS).
9564 ($(common-objpfx)shlib.lds): Likewise.
9565 (build-module-helper): Likewise.
9566 ($(common-objpfx)format.lds): Likewise.
9567 * Rules (binaries-pie-tests): New.
9568 (binaries-pie-notests): Likewise.
9569 (binaries-pie): Rewritten.
9570 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9571 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9572 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9573 (make-test-out): Replace $(host-built-program-cmd) with
9574 $(host-test-program-cmd).
9575 * config.make.in (build-hardcoded-path-in-tests): New variable.
9576 * configure.in (--enable-hardcoded-path-in-tests): New configure
9577 option.
9578 (hardcoded_path_in_tests): New AC_SUBST.
9579 * configure: Regenerated.
9580 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9581 $(built-program-cmd) with $(test-program-cmd).
9582 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9583 (test_program_cmd): This.
9584 * elf/Makefile ($(objpfx)order.out): Run test with
9585 $(test-program-prefix).
9586 ($(objpfx)order2.out): Likewise.
9587 ($(objpfx)tst-initorder.out): Likewise.
9588 ($(objpfx)tst-initorder2.out): Likewise.
9589 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9590 $(test-program-cmd).
9591 ($(objpfx)tst-array1-static.out): Likewise.
9592 ($(objpfx)tst-array2.out): Likewise.
9593 ($(objpfx)tst-array3.out): Likewise.
9594 ($(objpfx)tst-array4.out): Likewise.
9595 ($(objpfx)tst-array5.out): Likewise.
9596 ($(objpfx)tst-array5-static.out): Likewise.
9597 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9598 $(test-program-cmd).
9599 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9600 $(run-program-prefix) with $(test-program-prefix).
9601 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9602 (test_program_prefix): This.
9603 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9604 $(run-program-prefix) with $(test-program-prefix).
9605 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9606 (test_program_prefix): This.
9607 * iconvdata/tst-tables.sh: Likewise.
9608 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9609 $(run-program-prefix) with $(test-program-prefix).
9610 ($(objpfx)tst-translit.out): Likewise.
9611 ($(objpfx)tst-gettext2.out): Likewise.
9612 ($(objpfx)tst-gettext4.out): Likewise.
9613 ($(objpfx)tst-gettext6.out): Likewise.
9614 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9615 (test_program_prefix): This.
9616 * intl/tst-gettext2.sh: Likewise.
9617 * intl/tst-gettext4.sh Likewise.
9618 * intl/tst-gettext6.sh: Likewise.
9619 * intl/tst-translit.sh: Likewise.
9620 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9621 with $(test-program-cmd).
9622 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9623 $(run-program-prefix) with $(test-program-prefix).
9624 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9625 (test_program_prefix): This.
9626 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9627 $(run-program-prefix) with $(test-program-prefix).
9628 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9629 (test_program_prefix): This.
9630 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9631 * posix/Makefile ($(objpfx)globtest.out): Replace
9632 $(run-via-rtld-prefix) and $(test-wrapper) with
9633 $(test-program-prefix) and $(test-via-rtld-prefix).
9634 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9635 $(test-program-prefix).
9636 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9637 $(host-test-program-cmd).
9638 (tst-spawn-ARGS): Likewise.
9639 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9640 $(test-program-prefix).
9641 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9642 (test_via_rtld_prefix): This.
9643 (test_wrapper): Renamed to ...
9644 (test_program_prefix): This.
9645 (run_program_prefix): Replaced by test_program_prefix.
9646 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9647 (test_program_prefix): This.
9648 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9649 with $(host-test-program-cmd).
9650 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9651 $(run-program-prefix) with $(test-program-prefix).
9652 ($(objpfx)tst-printf.out): Likewise.
9653 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9654 $(test-program-cmd).
9655 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9656 (test_program_prefix): This.
9657 * stdio-common/tst-unbputc.sh: Likewise.
9658 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9659 $(run-program-prefix) with $(test-program-prefix).
9660 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9661 (test_program_prefix): This.
9662 * string/Makefile ($(objpfx)tst-svc.out): Replace
9663 $(built-program-cmd) with $(test-program-cmd).
9664
c6fe55cf
AJ
96652013-01-11 Andreas Jaeger <aj@suse.de>
9666
9667 [BZ #15003]
9668 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9669 value. Sync with Linux 3.7.
9670
9e6919c8
DM
96712013-01-10 David S. Miller <davem@davemloft.net>
9672
9673 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9674 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9675 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9676
1c9f1a02
RM
96772013-01-10 Roland McGrath <roland@hack.frob.com>
9678
9679 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9680 never set.
9681 * configure: Regenerated.
9682
b9de2dde
DM
96832013-01-10 David S. Miller <davem@davemloft.net>
9684
9685 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9686 sparc V9 rather than using V8 code.
9687 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9688 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9689
e7f68ef4
RM
96902013-01-10 Roland McGrath <roland@hack.frob.com>
9691
9692 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9693 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9694 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9695 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9696 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9697 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9698 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9699 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9700 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9701 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9702 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9703 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9704 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9705 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9706 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9707 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9708 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9709 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9710 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9711 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9712 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9713 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9714 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9715 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9716 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9717 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9718 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9719
5a47cc9c
DM
97202013-01-10 David S. Miller <davem@davemloft.net>
9721
9722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9723
4cf8f209
L
97242013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9725
9726 * posix/Makefile (tests-static): New variable.
9727 (tests): Add $(tests-static).
9728 (tst-exec-static-ARGS): New variable.
9729 (tst-spawn-static-ARGS): Likewise.
9730 * posix/tst-exec-static.c: New file.
9731 * posix/tst-spawn-static.c: Likewise.
9732 * posix/tst-exec.c: Support run directly.
9733 * posix/tst-spawn.c: Likewise.
9734
fed0faa1
JM
97352013-01-10 Joseph Myers <joseph@codesourcery.com>
9736
828beb13
JM
9737 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9738 long.
9739 * math/bits/mathcalls.h (llrint): Likewise.
9740 (llround): Likewise.
9741 * stdlib/stdlib.h (struct drand48_data): Likewise.
9742 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9743 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9744 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9745 Likewise.
9746 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9747 Likewise.
9748 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9749 (elf_greg_t): Likewise.
9750 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9751 (__jmp_buf): Likewise.
9752 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9753 definitions.
9754 (llrint): Likewise, for all definitions.
9755 (llrintl): Likewise.
9756
fed0faa1
JM
9757 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9758 Remove [__GNUC__] condition.
9759 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9760 condition to just [__USE_ISOC99].
9761 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9762
1a20cb20
L
97632013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9764
9765 [BZ #14200]
9766 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9767 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9768 defined.
9769 (_POSIX_V6_ILP32_OFF32): Likewise.
9770 (_XBS5_ILP32_OFF32): Likewise.
9771 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9772 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9773
751b85f7
SP
97742013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9775
7490eb81
SP
9776 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9777
751b85f7
SP
9778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9779 doubles __mpexp_twomm1. Adjust usage.
9780 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9781 Remove.
9782
988197f0
AS
97832013-01-10 Andreas Schwab <schwab@suse.de>
9784
9785 [BZ #14964]
9786 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9787 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9788
e83d7298
DM
97892013-01-09 David S. Miller <davem@davemloft.net>
9790
034ed64b 9791 [BZ #15003]
e83d7298
DM
9792 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9793 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9794 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9795 TCP_FASTOPEN): Define.
9796 (tcp_repair_opt): New structure.
9797 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9798 enum values.
9799 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9800 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9801 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9802 (tcp_cookie_transactions): New structure.
9803
d5e0b9bd
AB
98042013-01-09 Anton Blanchard <anton@samba.org>
9805
9806 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9807 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9809 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9810
0c07e3ea
JM
98112013-01-09 Joseph Myers <joseph@codesourcery.com>
9812
9813 * include/features.h (__USE_ANSI): Remove.
9814
232f7002
RM
98152013-01-09 Roland McGrath <roland@hack.frob.com>
9816
ad98e30c
RM
9817 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9818
232f7002
RM
9819 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9820
950c99ca
SP
98212013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9822
b5792741
SP
9823 * sysdeps/s390/fpu/libm-test-ulps: Update.
9824
47cf2278
SP
9825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9826
950c99ca
SP
9827 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9828 (__acr): Likewise.
9829 (__cpy): Likewise.
9830 (norm): Likewise.
9831 (denorm): Likewise.
9832 (__mp_dbl): Likewise.
9833 (__dbl_mp): Likewise.
9834 (add_magnitudes): Likewise.
9835 (sub_magnitudes): Likewise.
9836 (__add): Likewise.
9837 (__sub): Likewise.
9838 (__mul): Likewise.
9839 (__inv): Likewise.
9840 (__dvd): Likewise.
9841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9842 (__acr): Likewise.
9843 (__cpy): Likewise.
9844 (norm): Likewise.
9845 (denorm): Likewise.
9846 (__mp_dbl): Likewise.
9847 (__dbl_mp): Likewise.
9848 (add_magnitudes): Likewise.
9849 (sub_magnitudes): Likewise.
9850 (__add): Likewise.
9851 (__sub): Likewise.
9852 (__mul): Likewise.
9853 (__inv): Likewise.
9854 (__dvd): Likewise.
9855 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9856 (__acr): Likewise.
9857 (__cpy): Likewise.
9858 (norm): Likewise.
9859 (denorm): Likewise.
9860 (__mp_dbl): Likewise.
9861 (__dbl_mp): Likewise.
9862 (add_magnitudes): Likewise.
9863 (sub_magnitudes): Likewise.
9864 (__add): Likewise.
9865 (__sub): Likewise.
9866 (__mul): Likewise.
9867 (__inv): Likewise.
9868 (__dvd): Likewise.
9869
eede9df9
JM
98702013-01-08 Joseph Myers <joseph@codesourcery.com>
9871
9872 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9873 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9874 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9875 2 && __USE_EXTERN_INLINES]: Likewise.
9876
c40ea3d9
AJ
98772013-01-08 Andreas Jaeger <aj@suse.de>
9878
9879 [BZ# 14985]
9880 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9881 Remove.
9882 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9883 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9884
2ccdea26
AB
98852013-01-07 Anton Blanchard <anton@samba.org>
9886
9887 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9888 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9889 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9890 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9891 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9892 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9893 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9894 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9896 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9897 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9898 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9899 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9900 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9901 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9902 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9903 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9905 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9907 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9908 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9909 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9910 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9911 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9912 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9913 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9914 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9916 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9917 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9919 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9920 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9921 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9923 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9924 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9925 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9927 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9928 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9929 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9930
a9708fed
JM
99312013-01-07 Joseph Myers <joseph@codesourcery.com>
9932
375607b9
JM
9933 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9934 (__MALLOC_PMT): Likewise.
9935 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9936 [__GNUC__], only on [_LIBC].
9937 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9938 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9939 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9940 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9941 forward declaration.
9942 (realloc_hook_ini): Likewise.
9943 (memalign_hook_ini): Likewise.
9944 (__libc_memalign): Do not use __MALLOC_PMT in variable
9945 declaration.
9946 (__libc_valloc): Likewise.
9947 (__libc_pvalloc): Likewise.
9948 (__libc_calloc): Likewise.
9949 (__posix_memalign): Likewise.
9950
a9708fed
JM
9951 [BZ #14996]
9952 * math/s_casinh.c: Include <float.h>.
9953 (__casinh): Do not do computation with squaring and square root
9954 for large arguments.
9955 * math/s_casinhf.c: Include <float.h>.
9956 (__casinhf): Do not do computation with squaring and square root
9957 for large arguments.
9958 * math/s_casinhl.c: Include <float.h>.
9959 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9960 (__casinhl): Do not do computation with squaring and square root
9961 for large arguments.
9962 * math/libm-test.inc (casin_test): Add more tests.
9963 (casinh_test): Likewise.
9964 * sysdeps/i386/fpu/libm-test-ulps: Update.
9965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9966
afec409a
L
99672013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9968
9969 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9970 (__x86_64_raw_data_cache_size): Likewise.
9971 (__x86_64_data_cache_size_half): Likewise.
9972 (__x86_64_raw_data_cache_size_half): Likewise.
9973 (__x86_64_shared_cache_size): Likewise.
9974 (__x86_64_raw_shared_cache_size): Likewise.
9975 (__x86_64_shared_cache_size_half): Likewise.
9976 (__x86_64_raw_shared_cache_size_half): Likewise.
9977 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9978 to ...
9979 (__x86_data_cache_size): This.
9980 (__x86_64_raw_data_cache_size): Renamed to ...
9981 (__x86_raw_data_cache_size): This.
9982 (__x86_64_data_cache_size_half): Renamed to ...
9983 (__x86_data_cache_size_half): This.
9984 (__x86_64_raw_data_cache_size_half): Renamed to ...
9985 (__x86_raw_data_cache_size_half): This.
9986 (__x86_64_shared_cache_size): Renamed to ...
9987 (__x86_shared_cache_size): This.
9988 (__x86_64_raw_shared_cache_size): Renamed to ...
9989 (__x86_raw_shared_cache_size): This.
9990 (__x86_64_shared_cache_size_half): Renamed to ...
9991 (__x86_shared_cache_size_half): This.
9992 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9993 (__x86_raw_shared_cache_size_half): This.
9994 * sysdeps/x86_64/memcpy.S: Updated.
9995 * sysdeps/x86_64/memset.S: Likewise.
9996 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9997 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9999
0b3986d0
DM
100002013-01-04 David S. Miller <davem@davemloft.net>
10001
10002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10003
e47686e9
AS
100042013-01-04 Andreas Schwab <schwab@linux-m68k.org>
10005
d643bac1
AS
10006 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10007 1 to avoid redefinition warning.
10008 (__USE_GNU): Don't define.
10009 (init_signaling_nan): Protoize.
10010
e47686e9
AS
10011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10012
b18decba
SP
100132013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10014
fffb407f
SP
10015 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10017 (__cpymn): Likewise.
10018 (norm): Remove commented code.
10019 (denorm): Likewise.
10020 (__mp_dbl): Likewise.
10021 (__inv): Likewise.
10022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10023 (__cpymn): Likewise.
10024 (norm): Remove commented code.
10025 (denorm): Likewise.
10026 (__mp_dbl): Likewise.
10027 (__inv): Likewise.
10028
b18decba
SP
10029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10030 mp_no value for 1.0 and 2.0.
10031 (norm): Use RADIXI instead of radixi.d.
10032 (denorm): Likewise.
10033 (__mul): Use 0.0 instead of zero.d.
10034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10035 mp_no value for 1.0 and 2.0.
10036 (norm): Use RADIXI instead of radixi.d.
10037 (denorm): Likewise.
10038 (__mul): Use 0.0 instead of zero.d.
10039
cdc1c96f
JM
100402013-01-04 Joseph Myers <joseph@codesourcery.com>
10041
10042 [BZ #14994]
10043 * math/s_casinh.c (__casinh): Reduce finite argument to first
10044 quadrant then set signs of results at the end.
10045 * math/s_casinhf.c (__casinhf): Likewise.
10046 * math/s_casinhl.c (__casinhl): Likewise.
10047 * math/libm-test.inc (casin_test): Add more tests.
10048 (casinh_test): Likewise.
10049 * sysdeps/i386/fpu/libm-test-ulps: Update.
10050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10051
302913e1
SP
100522013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10053
6420d207
SP
10054 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10055
a9e48ab4
SP
10056 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10057
b7837264
SP
10058 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10059 declarations.
10060 (denorm): Likewise.
10061 (__mp_dbl): Likewise.
10062 (__inv): Likewise.
10063
f8af25d2
SP
10064 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10065 and adjust the header comment.
10066
302913e1
SP
10067 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10068 variable name from declaration.
10069
5d7dd1ca
L
100702013-01-03 H.J. Lu <hongjiu.lu@intel.com>
10071
10072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10073 Initialize COMMON_CPUID_INDEX_7 element.
10074 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10075 (CPUID_RTM): Likewise.
10076 (HAS_RTM): Likewise.
10077 (COMMON_CPUID_INDEX_7): New enum.
10078
2f5f40f4
AS
100792013-01-03 Andreas Schwab <schwab@linux-m68k.org>
10080
10081 [BZ #14981]
10082 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10083 size is zero, record memory as freed.
10084
4056f4a0
AJ
100852013-01-03 Andreas Jaeger <aj@suse.de>
10086
10087 * po/ia.po: Add new Interlingua translation.
10088
ab15736f 100892012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10090
10091 * locale/programs/localedef.c: Fix description of '--posix' flag.
10092
568035b7
JM
100932013-01-02 Joseph Myers <joseph@codesourcery.com>
10094
e6898b8d
JM
10095 * NEWS: Update dates in second copyright notice.
10096 * README: Update copyright dates in example.
10097 * manual/libc.texinfo: Update copyright dates.
10098 * scripts/test-installation.pl: Update copyright date in --version
10099 output.
10100
0e2f9562
JM
10101 * hurd/ctty-input.c: Fix copyright notice formatting.
10102 * hurd/ctty-output.c: Likewise.
10103 * hurd/dtable.c: Likewise.
10104 * hurd/hurd-raise.c: Likewise.
10105 * hurd/hurdprio.c: Likewise.
10106 * hurd/msgportdemux.c: Likewise.
10107 * misc/sys/file.h: Likewise.
10108 * misc/sys/ioctl.h: Likewise.
10109 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10110 * sysdeps/mach/hurd/chdir.c: Likewise.
10111 * sysdeps/mach/hurd/fchdir.c: Likewise.
10112 * sysdeps/mach/hurd/rename.c: Likewise.
10113 * sysdeps/mach/hurd/rmdir.c: Likewise.
10114 * sysdeps/mach/hurd/seekdir.c: Likewise.
10115 * sysdeps/mach/hurd/setsid.c: Likewise.
10116 * sysdeps/posix/wait3.c: Likewise.
10117
568035b7
JM
10118 * All files with FSF copyright notices: Update copyright dates
10119 using scripts/update-copyrights.
10120 * intl/plural.c: Regenerated.
10121 * locale/programs/charmap-kw.h: Likewise.
10122 * locale/programs/locfile-kw.h: Likewise.
10123
da08f647
SP
101242013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10125
0f5477af
SP
10126 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10127 four values.
10128
44e0d4c2
SP
10129 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10130 calculation loop and add branch prediction.
10131
4d55b4e5
SP
10132 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10133 check access beyond bounds of m1np.
10134
da08f647
SP
10135 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10136 MPTWO.
10137 (__inv): Remove local variable MPTWO to use the global
10138 constant.
10139 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10140 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10141 variable MPTWO.
10142 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10143 MP3HALFS static const.
10144
8e051029
DM
101452013-01-01 David S. Miller <davem@davemloft.net>
10146
10147 * po/ca.po: Update from translation team.
10148
f4cf5f2d
JM
101492013-01-01 Joseph Myers <joseph@codesourcery.com>
10150
10151 * scripts/update-copyrights: New file.
10152 * Makeconfig: Reformat copyright notice.
10153 * ctype/ctype.h: Likewise.
10154 * debug/swprintf_chk.c: Likewise.
10155 * elf/dl-cache.c: Likewise.
10156 * elf/dl-debug.c: Likewise.
10157 * elf/dl-object.c: Likewise.
10158 * grp/initgroups.c: Likewise.
10159 * hurd/Makefile: Likewise.
10160 * hurd/hurd/signal.h: Likewise.
10161 * hurd/hurdfault.c: Likewise.
10162 * hurd/hurdioctl.c: Likewise.
10163 * hurd/hurdlookup.c: Likewise.
10164 * hurd/intr-msg.c: Likewise.
10165 * iconv/gconv_open.c: Likewise.
10166 * libio/swprintf.c: Likewise.
10167 * locale/lc-ctype.c: Likewise.
10168 * locale/nl_langinfo.c: Likewise.
10169 * mach/Machrules: Likewise.
10170 * mach/Makefile: Likewise.
10171 * malloc/obstack.h: Likewise.
10172 * manual/Makefile: Likewise.
10173 * manual/tsort.awk: Likewise.
10174 * misc/bits/stab.def: Likewise.
10175 * nis/nis_print_group_entry.c: Likewise.
10176 * nis/nis_table.c: Likewise.
10177 * nis/nss_compat/compat-pwd.c: Likewise.
10178 * nis/nss_compat/compat-spwd.c: Likewise.
10179 * po/Makefile: Likewise.
10180 * posix/fnmatch.c: Likewise.
10181 * posix/regex.h: Likewise.
10182 * resolv/Makefile: Likewise.
10183 * resolv/nss_dns/dns-network.c: Likewise.
10184 * resolv/res_hconf.c: Likewise.
10185 * scripts/gen-sorted.awk: Likewise.
10186 * soft-fp/soft-fp.h: Likewise.
10187 * stdio-common/printf.h: Likewise.
10188 * stdlib/monetary.h: Likewise.
10189 * stdlib/random.c: Likewise.
10190 * stdlib/random_r.c: Likewise.
10191 * sysdeps/generic/Makefile: Likewise.
10192 * sysdeps/gnu/Makefile: Likewise.
10193 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10198 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10203 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10204 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10205 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10206 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10207 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10209 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10210 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10213 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10214 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10216 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10217 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10218 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10219 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10220 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10221 * sysdeps/mach/hurd/errnos.awk: Likewise.
10222 * sysdeps/mach/hurd/fork.c: Likewise.
10223 * sysdeps/mach/hurd/getcwd.c: Likewise.
10224 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10225 * sysdeps/mach/hurd/mmap.c: Likewise.
10226 * sysdeps/mach/hurd/utimes.c: Likewise.
10227 * sysdeps/mach/hurd/xmknod.c: Likewise.
10228 * sysdeps/posix/profil.c: Likewise.
10229 * sysdeps/posix/readdir_r.c: Likewise.
10230 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10231 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10232 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10233 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10235 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10236 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10237 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10239 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10240 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10241 * sysdeps/pthread/lio_listio.c: Likewise.
10242 * sysdeps/sparc/dl-procinfo.h: Likewise.
10243 * sysdeps/unix/i386/sysdep.S: Likewise.
10244 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10245 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10246 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10247 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10249 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10250 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10251 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10252 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10253 * sysdeps/wordsize-32/divdi3.c: Likewise.
10254 * time/sys/time.h: Likewise.
10255 * wcsmbs/Makefile: Likewise.
10256
0549fbba
DM
102572013-01-01 David S. Miller <davem@davemloft.net>
10258
a141f1a7
DM
10259 * po/fr.po: Update from translation team.
10260
0549fbba
DM
10261 * catgets/gencat.c: Update copyright year.
10262 * csu/version.c: Likewise.
10263 * debug/catchsegv.sh: Likewise.
10264 * debug/pcprofiledump.c: Likewise.
10265 * debug/xtrace.sh: Likewise.
10266 * elf/ldconfig.c: Likewise.
10267 * elf/ldd.bash.in: Likewise.
10268 * elf/pldd.c: Likewise.
10269 * elf/sotruss.ksh: Likewise.
10270 * elf/sprof.c: Likewise.
10271 * iconv/iconv_prog.c: Likewise.
10272 * iconv/iconvconfig.c: Likewise.
10273 * locale/programs/locale.c: Likewise.
10274 * locale/programs/localedef.c: Likewise.
10275 * login/programs/pt_chown.c: Likewise.
10276 * malloc/memusage.sh: Likewise.
10277 * malloc/memusagestat.c: Likewise.
10278 * malloc/mtrace.pl: Likewise.
10279 * nscd/nscd.c: Likewise.
10280 * nss/getent.c: Likewise.
10281 * nss/makedb.c: Likewise.
10282 * posix/getconf.c: Likewise.
10283
18ea052c
SP
102842012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10285
10286 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10287 numbers.
10288
9c89fca6
MF
102892012-12-30 Mike Frysinger <vapier@gentoo.org>
10290
10291 * math/bits/mathcalls.h (modf): Use __nonnull.
10292
085ec079
SP
102932012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10294
10295 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10296 (split): Use macro CN instead of the bare value.
10297 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10298 could be used.
10299 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10300 instead of the bare value.
10301 (power1): Likewise.
10302
6d9f97e1
SP
103032012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10304
d63f73be
SP
10305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10306 __ATAN_TWOM.
10307 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10308
6d9f97e1
SP
10309 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10310 their values.
10311 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10312 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10313 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10314 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10315
4c4febf5
AJ
103162012-12-28 Andreas Jaeger <aj@suse.de>
10317
af5843ef
AJ
10318 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10319 values are from Linux 3.7.
10320
4c4febf5
AJ
10321 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10322 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10323
99136f82
SP
103242012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10325
2f216c3c 10326 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10327 TRUE case.
10328
99136f82
SP
10329 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10330 (norm): Likewise.
10331 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10332 variables with preprocessor constants.
10333 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10334 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10335 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10336
7fffbdff
BH
103372012-12-27 Bruno Haible <bruno@clisp.org>
10338
10339 [BZ #14317]
10340 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10341 only if needed.
10342
b76eb5f0
SP
103432012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10344
31a7fe5c
SP
10345 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10346 and use variable directly.
10347 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10348
b76eb5f0
SP
10349 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10350 MPONE.
10351 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10352 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10353 variable MPONE.
10354 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10356 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10357 include directive. Remove local variable MPONE.
10358 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10359 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10361
2c8bfe7d
DM
103622012-12-25 David S. Miller <davem@davemloft.net>
10363
10364 * version.h (RELEASE): Set to "development".
10365 (VERSION): Set to "2.17.90".
10366 * NEWS: Add 2.18 section.
10367
147d03b0
DM
103682012-12-21 David S. Miller <davem@davemloft.net>
10369
10370 * po/hr.po: Update from translation team.
10371
a8ebb2b9
AK
103722012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10373
10374 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10375
95b4f1b6
SE
103762012-12-19 Steve Ellcey <sellcey@mips.com>
10377
b2d94007 10378 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10379
cedb2a90
MS
103802012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10381
10382 * manual/contrib.texi (Contributors): Spelling correction.
10383
bbf527d6
DM
103842012-12-15 David S. Miller <davem@davemloft.net>
10385
10386 * po/ru.po: Update from translation team.
10387
bc38c906
DM
103882012-12-13 David S. Miller <davem@davemloft.net>
10389
85429b1a
DM
10390 * NEWS: Mention IFUNC testsuite enhancements.
10391
d283e353
DM
10392 * po/pl.po: Update from translation team.
10393 * po/bg.po: Likewise.
10394
bc38c906
DM
10395 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10396 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10397
a181b0d7
DM
103982012-12-11 David S. Miller <davem@davemloft.net>
10399
4641d57e
DM
10400 * po/sv.po: Update from translation team.
10401
f7bc6495
DM
10402 * po/vi.po: Update from translation team.
10403
6fc9048f
DM
10404 * po/cs.po: Update from translation team.
10405
a181b0d7
DM
10406 * po/de.po: Update from translation team.
10407 * po/eo.po: Likewise.
10408 * po/nl.po: Likewise.
10409
f70bfe80
SP
104102012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10411
3c8b4190
SP
10412 [BZ #14246]
10413 * manual/argp.texi (Argp Helper Functions): Move node to follow
10414 Argp Parsing State.
10415
f70bfe80
SP
10416 [BZ #14872]
10417 * manual/conf.texi (Limits on File System Capacity): Mention if
10418 terminating null is included in the max size.
10419
188f0adf
AJ
104202012-12-10 Andreas Jaeger <aj@suse.de>
10421
10422 * po/cs.po: Update from translation team.
10423
56e7d3ad
SP
104242012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10425
10426 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10427 void pointer and cast to uintptr_t.
10428 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10429 path.
10430 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10431 * sysdeps/s390/s390-64/memset.S: Likewise.
10432
76f2d2ea 104332012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10434
10435 [BZ #14833]
10436 * menual/message.texi (Message Translation): Fix typos.
10437 (Helper programs for gettext): Likewise.
10438
67cbf9a2
AS
104392012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10440
10441 [BZ #14898]
10442 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10443 Change to -1.
10444
682d0e9a
DM
104452012-12-07 David S. Miller <davem@davemloft.net>
10446
10447 * po/libc.pot: Update.
10448
573cd484
RH
104492012-12-07 Richard Henderson <rth@redhat.com>
10450
7e9da188 10451 [BZ #10114]
573cd484
RH
10452 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10453 normal/normal case to before the switch.
10454 (_FP_DIV): Likewise.
10455
e933a943
MF
104562012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10457 Mike Frysinger <vapier@gentoo.org>
10458
10459 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10460 check for __NR_fadvise64_64.
10461
82123268
CM
104622012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10463
10464 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10465 0, not just to plain "0" as a statement.
10466 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10467 with cw.
10468
d9814526
JM
104692012-12-06 Joseph Myers <joseph@codesourcery.com>
10470
10471 * NEWS: Use sourceware.org in Bugzilla URL.
10472
7728c574
SP
104732012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10474
f16946dd
SP
10475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10476 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10477
5704bbcb
SP
10478 * stdio-common/tst-put-error.c (do_test): Add newline to the
10479 padded test to ensure flush.
10480
17aa0516
JL
104812012-12-05 Jeff Law <law@redhat.com>
10482
10483 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10484
363313b5
JM
104852012-12-05 Joseph Myers <joseph@codesourcery.com>
10486
effbd42a
JM
10487 * README: Don't refer to ports add-on as distributed separately.
10488 Mention AArch64 in list of systems supported in the ports add-on.
10489
87600365
JM
10490 * LICENSES: Add more non-FSF copyright and license notices.
10491
a0d7066a
JM
10492 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10493 ((unused)).
10494
66ca5a5b
JM
10495 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10496
363313b5
JM
10497 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10498 10000 as width of padded output.
10499
b37984ad
JM
105002012-12-04 Joseph Myers <joseph@codesourcery.com>
10501
9003570a
JM
10502 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10503
b37984ad
JM
10504 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10505 variable LX with __attribute__ ((unused)).
10506 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10507 Likewise.
10508 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10509 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10510 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10511 with __attribute__ ((unused)).
10512
c8df52ec
DM
105132012-12-04 David S. Miller <davem@abraco.davemloft.net>
10514
10515 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10516
b3b099af
JM
105172012-12-04 Joseph Myers <joseph@codesourcery.com>
10518
c33aa6e3
JM
10519 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10520 (CFLAGS-nldbl-acos.c): New variable.
10521 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10522 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10523 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10524 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10525 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10526 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10527 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10528 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10529 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10530 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10531 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10532 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10533 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10534 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10535 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10536 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10537 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10538 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10539 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10540 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10541 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10542 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10543 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10544 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10545 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10546 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10547 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10548 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10549 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10550 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10551 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10552 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10553 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10554 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10555 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10556 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10557 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10558 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10559 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10560 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10561 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10562 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10563 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10564 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10565 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10566 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10567 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10568 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10569 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10570 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10571 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10572 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10573 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10574 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10575 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10576 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10577 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10578 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10579 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10580 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10581 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10582 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10583 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10584 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10585 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10586 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10587 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10588 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10589 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10590 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10591 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10592 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10593 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10594 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10595 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10596 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10597 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10598 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10599 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10600 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10601 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10602 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10603 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10604 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10605 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10606 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10607 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10608 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10609 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10610 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10611 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10612 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10613 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10614 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10615 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10616 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10617 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10618
20f0018d
JM
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10620 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10621
b3b099af
JM
10622 [BZ #14914]
10623 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10624 whole low double instead of just low 47 bits when splitting values
10625 into two parts.
10626
029264d1
AM
106272012-12-03 Allan McRae <allan@archlinux.org>
10628
10629 * manual/stdio.texi (Predefined Printf Handlers): Remove
10630 @hsep and @vsep usage.
10631
c9d6789e
MF
106322012-12-03 Mike Frysinger <vapier@gentoo.org>
10633
10634 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10635 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10636
4b7634a5
JL
106372012-12-03 Jeff Law <law@redhat.com>
10638
10639 * time/sys/time.h (settimeofday): Do not mark TV argument
10640 as __nonnull.
10641
eb6cbd24
MF
106422012-12-01 Mike Frysinger <vapier@gentoo.org>
10643
10644 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10645 when currently writing and seek to current position when not.
10646 * libio/Makefile (tests): Remove bug-fclose1.
10647 * libio/bug-fclose1.c: Delete.
10648
f638872a
JM
106492012-12-01 Joseph Myers <joseph@codesourcery.com>
10650
10651 * manual/arith.texi (feenableexcept): Fix typo.
10652 (fedisableexcept): Likewise.
10653
48085d14
RM
106542012-11-30 Roland McGrath <roland@hack.frob.com>
10655
10656 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10657 second, differently-typed declaration, rather than a cast.
10658
1a538b9f
SP
106592012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10660
10661 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10662 * include/rpc/svc.h: ... here.
10663
d07f2ff1 106642012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10665
10666 [BZ #13013]
10667 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10668 depending n and resplen2 to catch cases where answer
10669 equals answerp2.
10670
c93ec1f0
CD
106712012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10672
10673 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10674 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10675
37db69de
MF
106762012-11-29 Mike Frysinger <vapier@gentoo.org>
10677
10678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10679
e10c4e4f
RM
106802012-11-29 Roland McGrath <roland@hack.frob.com>
10681
10682 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10683
2af1b328
JL
106842012-11-28 Jeff Law <law@redhat.com>
10685
10686 [BZ #13761]
10687 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10688 dataset_temporary. Track alloca usage into alloca_used.
10689 If dataset is large allocate and release it via malloc/free.
10690
111db5b1
FW
106912012-06-04 Florian Weimer <fweimer@redhat.com>
10692
f06cc227 10693 [BZ #14197]
111db5b1
FW
10694 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10695
dd694abd
DM
106962012-11-28 David S. Miller <davem@davemloft.net>
10697
10698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10699
9984dd01
JM
107002012-11-28 Joseph Myers <joseph@codesourcery.com>
10701
10702 [BZ #14803]
10703 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10704 of pi/2 rounded to nearest to 64 bits.
10705 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10706 nearest to 64 bits.
10707 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10708 bits.
10709
14bc93a9
JL
107102012-11-28 Jeff Law <law@redhat.com>
10711 Martin Osvald <mosvald@redhat.com>
10712
10713 [BZ #14889]
10714 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10715 * sunrpc/svc.c: Include time.h.
10716 (__svc_accept_failed): New function.
10717 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10718 any reason other than EINTR, call __svc_accept_failed.
10719 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10720 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10721
e3c6aa3a
AS
107222012-11-28 Andreas Schwab <schwab@suse.de>
10723
10724 * scripts/abilist.awk: Also handle indirect functions in .opd
10725 section.
10726
1bead169
JM
107272012-11-28 Joseph Myers <joseph@codesourcery.com>
10728
10729 [BZ #13881]
10730 * sysdeps/x86/fpu/powl_helper.c: New file.
10731 * sysdeps/x86/fpu/Makefile: Likewise.
10732 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10733 (p3): New object.
10734 (__ieee754_powl): Use __powl_helper for finite arguments except
10735 integer exponents below 8.
10736 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10737 (p3): New object.
10738 (__ieee754_powl): Use __powl_helper for finite arguments except
10739 integer exponents below 8.
10740 * math/libm-test.inc (pow_test): Add more tests and enable some
10741 previously disabled tests.
10742 * sysdeps/i386/fpu/libm-test-ulps: Update.
10743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10744
0817d63d
SP
107452012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10746 Carlos O'Donell <carlos_odonell@mentor.com>
10747
10748 * nss/makedb.c (is_prime): Assert that input is odd and greater
10749 than 4. Note that fact in a comment too.
10750 (next_prime): Add 4 to input.
10751
de2fd463
SP
107522012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10753
10754 [BZ #11741]
10755 * libio/Makefile (tests): Add test case tst-fwrite-error.
10756 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10757 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10758 * libio/tst-fwrite-error.c: New test case.
10759
c515fb51
L
107602012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10761
10762 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10763 before casting to void *.
10764 * include/libc-internal.h (__pointer_type): New macro.
10765 (__integer_if_pointer_type_sub): Likewise.
10766 (__integer_if_pointer_type): Likewise.
10767 (cast_to_integer): Likewise.
10768 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10769 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10770 before casting to atomic64_t.
10771 (atomic_exchange_acq): Likewise.
10772 (__arch_exchange_and_add_body): Likewise.
10773 (__arch_add_body): Likewise.
10774 (atomic_add_negative): Likewise.
10775 (atomic_add_zero): Likewise.
10776
4cf77aa9
JM
107772012-11-26 Joseph Myers <joseph@codesourcery.com>
10778
10779 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10780 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10781 (add_fdes): Likewise.
10782 (linear_search_fdes): Likewise.
10783 (binary_search_unencoded_fdes): Likewise.
10784
d260b3b4
AS
107852012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10786
10787 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10788
67060746
AC
107892012-11-24 Adam Conrad <adconrad@0c3.net>
10790
10791 * configure.in: Autodetect C++ header directories.
10792 * configure: Regenerated.
10793
800938a1
MF
107942012-11-23 Mike Frysinger <vapier@gentoo.org>
10795
10796 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10797
4e6e34e6
AS
107982012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10799
10800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10801
7c7feb47
JM
108022012-11-22 Joseph Myers <joseph@codesourcery.com>
10803
7184dcdf
JM
10804 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10805 LDBL_MANT_DIG == 106]: Disable some tests.
10806 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10807 Likewise.
10808 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10809 Likewise.
10810
0a42601f
JM
10811 [BZ #14871]
10812 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10813 input for small inputs. Return +/- pi/2 for large inputs.
10814 * math/libm-test.inc (atan_test): Add more tests.
10815
79c9b9fe
JM
10816 * sysdeps/generic/unwind-dw2-fde-glibc.c
10817 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10818 __attribute__ ((unused)).
10819
c60d3bf2
JM
10820 [BZ #14645]
10821 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10822 x * y if x and y are nonzero and z is zero.
10823
ef1e0867
JM
10824 [BZ #14811]
10825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10826 nonzero exponents with absolute value below 0x1p-117 to +/-
10827 0x1p-117.
10828
1468ded3
JM
10829 [BZ #14869]
10830 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10831 up arguments below 2**-450, not just those below 2**-500.
10832 * math/libm-test.inc (hypot_test): Add another test.
10833
8e27e3cc
JM
10834 [BZ #14868]
10835 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10836 Return a+b for ratio over 2**120, not 2**60.
10837 * math/libm-test.inc (hypot_test): Add another test.
10838
c9c0279b
JM
10839 * math/libm-test.inc (clog_test): Use
10840 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10841 (clog10_test): Likewise.
10842
7c7feb47
JM
10843 [BZ #6778]
10844 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10845
fff1530e
AS
108462012-11-22 Andreas Schwab <schwab@suse.de>
10847
10848 * sysdeps/i386/fpu/libm-test-ulps: Update.
10849
94558d30
PT
108502012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10851
10852 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10853 printf output with newline.
10854
7e1be741
L
108552012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10856
6bfea974
L
10857 [BZ #14865]
10858 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10859 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10860 -z nodlopen, -z initfirst and -z execstack support.
10861 * configure: Regenerated.
10862
7e1be741
L
10863 * elf/elf.h (DF_1_NODIRECT): New macro.
10864 (DF_1_IGNMULDEF): Likewise.
10865 (DF_1_NOKSYMS): Likewise.
10866 (DF_1_NOHDR): Likewise.
10867 (DF_1_EDITED): Likewise.
10868 (DF_1_NORELOC): Likewise.
10869 (DF_1_SYMINTPOSE): Likewise.
10870 (DF_1_GLOBAUDIT): Likewise.
10871 (DF_1_SINGLETON): Likewise.
10872 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10873 DT_1_SUPPORTED_MASK bits.
10874 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10875
105ce2ce
CD
108762012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10877
10878 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10879
123be9de
TS
108802012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10881
d072f3f7
TS
10882 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10883 macro.
10884
123be9de
TS
10885 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10886 (sendmmsg): Move declarations...
10887 * socket/sys/socket.h: ... here.
10888 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10889 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10890 include it from...
10891 * socket/recvmmsg.c: ... this new file.
10892 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10893 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10894 definition of __sendmmsg hidden.
10895 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10896 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10897 Move ENOSYS stub into and include it from...
10898 * socket/sendmmsg.c: ... this new file.
10899 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10900 (sysdep_routines): Move recvmmsg and sendmmsg...
10901 * socket/Makefile (routines): ... here.
10902 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10903 (GLIBC_PRIVATE): Add __sendmmsg.
10904 * include/sys/socket.h (__sendmmsg): Add declarations.
10905 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10906 sendmmsg.
10907
cf9a5d18
JM
109082012-11-20 Joseph Myers <joseph@codesourcery.com>
10909
10910 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10911 variable I1 with __attribute__ ((unused)).
10912 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10913
ecd4caf9
JM
109142012-11-19 Joseph Myers <joseph@codesourcery.com>
10915
be14d48f
JM
10916 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10917 DUMMY variables with __attribute__ ((unused)).
10918
ecd4caf9
JM
10919 * bits/byteswap.h: Include <bits/types.h>.
10920 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10921
986cab95
PT
109222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10923
10924 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10925 string_t. Do not manually set errno.
10926 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10927 length with __strnlen. Make sure to both set errno and return it on
10928 failure.
10929
6d33cc9d
DM
109302012-11-19 David S. Miller <davem@davemloft.net>
10931
10932 With help from Joseph Myers.
10933 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10934 very large arguments properly.
10935 * math/libm-test.inc (atan_test): New tests.
10936 (atan2_test): New tests.
10937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10939
ee663277
JM
109402012-11-19 Joseph Myers <joseph@codesourcery.com>
10941
877f2d8e
JM
10942 [BZ #14856]
10943 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10944 Define to 3.
10945
116fc08a
JM
10946 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10947 [POSIX] (EADDRNOTAVAIL): Likewise.
10948 [POSIX] (EAFNOSUPPORT): Likewise.
10949 [POSIX] (EALREADY): Likewise.
10950 [POSIX] (ECONNABORTED): Likewise.
10951 [POSIX] (ECONNREFUSED): Likewise.
10952 [POSIX] (ECONNRESET): Likewise.
10953 [POSIX] (EDESTADDRREQ): Likewise.
10954 [POSIX] (EDQUOT): Likewise.
10955 [POSIX] (EHOSTUNREACH): Likewise.
10956 [POSIX] (EIDRM): Likewise.
10957 [POSIX] (EISCONN): Likewise.
10958 [POSIX] (ELOOP): Likewise.
10959 [POSIX] (EMULTIHOP): Likewise.
10960 [POSIX] (ENETDOWN): Likewise.
10961 [POSIX] (ENETUNREACH): Likewise.
10962 [POSIX] (ENOBUFS): Likewise.
10963 [POSIX] (ENODATA): Likewise.
10964 [POSIX] (ENOLINK): Likewise.
10965 [POSIX] (ENOMSG): Likewise.
10966 [POSIX] (ENOPROTOOPT): Likewise.
10967 [POSIX] (ENOSR): Likewise.
10968 [POSIX] (ENOSTR): Likewise.
10969 [POSIX] (ENOTCONN): Likewise.
10970 [POSIX] (ENOTSOCK): Likewise.
10971 [POSIX] (EOPNOTSUPP): Likewise.
10972 [POSIX] (EOVERFLOW): Likewise.
10973 [POSIX] (EPROTO): Likewise.
10974 [POSIX] (EPROTONOSUPPORT): Likewise.
10975 [POSIX] (EPROTOTYPE): Likewise.
10976 [POSIX] (ESTALE): Likewise.
10977 [POSIX] (ETIME): Likewise.
10978 [POSIX] (ETXTBSY): Likewise.
10979 [POSIX] (EWOULDBLOCK): Likewise.
10980 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10981 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10982 [POSIX] (SEEK_CUR): Likewise.
10983 [POSIX] (SEEK_END): Likewise.
10984 [POSIX || UNIX98] (mode_t): Do not require.
10985 [POSIX] (off_t): Likewise.
10986 [POSIX] (pid_t): Likewise.
10987 [POSIX] (sys/stat.h): Do not allow header.
10988 [POSIX] (unistd.h): Likewise.
10989 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10990 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10991 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10992 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10993 require.
10994 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10995 sigevent): Specify elements.
10996 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10997 entry.
10998 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10999 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11000
a483863f
JM
11001 * conform/data/cpio.h-data [POSIX]: Disable whole file.
11002 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11003 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11004 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11005 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11006 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11007 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11008 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11009 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11010 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11011 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11012 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11013 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11014 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11015 Likewise.
11016 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11017 Likewise.
11018 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11019 Likewise.
11020 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11021 Likewise.
11022 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11023 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11024 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11025 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11026 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11027 Specify lower bound on value.
11028 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11029 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11030 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11031 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11032 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11033 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11034 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11035 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11036 value.
11037 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11038 as optional.
11039 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11040 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11041 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11042 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11043 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11044 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11045 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11046 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11047 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11048 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11049 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11050 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11051 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11052 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11053 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11054 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11055 entry.
11056 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11057 optional.
11058 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11059 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11060 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11061 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11062 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11063 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11064 Likewise.
11065 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11066 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11067 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11068 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11069 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
11070 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11071 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11072 as optional.
11073 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11075 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11076 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11077 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11078 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11079 specify as optional.
11080 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11081 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11082 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11083 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11084 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11085 [XPG3] (NL_LANGMAX): Likewise.
11086 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11087 [POSIX || XPG3] (NL_NMAX): Likewise.
11088 [POSIX || XPG3] (NL_SETMAX): Likewise.
11089 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11090 [XPG3] (NZERO): Likewise.
11091 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11092 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11093 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11094 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11095 (REG_ERANGE): Expect.
11096 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11097 optional-constant.
11098 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11099 Use (void) in prototype.
11100 [POSIX] (*_t): Allow.
11101 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11102 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11103 (WRDE_BADVAL): Expect.
11104
5ba924e3
JM
11105 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11106 expect.
11107 [XPG3 || XPG4] (O_RSYNC): Likewise.
11108 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11109 Likewise.
11110 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11111 [XPG3 || XPG4] (sigqueue): Likewise.
11112 [XPG3 || XPG4] (sigtimedwait): Likewise.
11113 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11114 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11115 [XPG3 || XPG4] (vsnprintf): Likewise.
11116 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11117 Likewise.
11118 [XPG3 || XPG4] (blksize_t): Likewise.
11119 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11120 Likewise.
11121 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11122 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11123 [XPG3 || XPG4] (struct itimerspec): Likewise.
11124 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11125 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11126 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11127 [XPG3 || XPG4] (clockid_t): Likewise.
11128 [XPG3 || XPG4] (timer_t): Likewise.
11129 [XPG3 || XPG4] (clock_getres): Likewise.
11130 [XPG3 || XPG4] (clock_gettime): Likewise.
11131 [XPG3 || XPG4] (clock_settime): Likewise.
11132 [XPG3 || XPG4] (nanosleep): Likewise.
11133 [XPG3 || XPG4] (timer_create): Likewise.
11134 [XPG3 || XPG4] (timer_delete): Likewise.
11135 [XPG3 || XPG4] (timer_gettime): Likewise.
11136 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11137 [XPG3 || XPG4] (timer_settime): Likewise.
11138 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11139 [XPG3 || XPG4] (getlogin_r): Likewise.
11140 [XPG3 || XPG4] (pread): Likewise.
11141 [XPG3 || XPG4] (pthread_atfork): Likewise.
11142 [XPG3 || XPG4] (pwrite): Likewise.
11143
ee663277
JM
11144 [BZ #14835]
11145 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11146 <bits/siginfo.h>.
11147
942caa16
PT
111482012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11149
e19af380
PT
11150 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11151 finalizing MALLSTREAM.
11152
942caa16
PT
11153 * sysdeps/mach/hurd/syncfs.c: New file.
11154
cfde9b46
SP
111552012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11156
11157 [BZ #14719]
11158 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11159 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11160 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11161 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11162 (_nss_dns_gethostbyname4_r): Likewise.
11163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11164 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11165
f6da27e5
PH
111662012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11167
11168 [BZ #13763]
11169 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11170
6665d4a2
SM
111712012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11172
1f51ee92
SM
11173 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11174 * elf/cache.c (print_entry): Print ",AArch64" for
11175 FLAG_AARCH64_LIB64
11176
6665d4a2
SM
11177 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11178 * elf/cache.c (print_entry): Print ",hard-float" for
11179 FLAG_ARM_LIBHF.
11180
05b227bd
DM
111812012-11-18 David S. Miller <davem@davemloft.net>
11182
11183 With help from Joseph Myers.
11184 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11185 cutoff to 2**-13.
11186 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11187 cutoff to 2**-25.
11188 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11189 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11190 small.
11191 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11192 * math/libm-test.inc (y0_test): New tests.
11193 (y1_test): New tests.
11194 * sysdeps/i386/fpu/libm-test-ulps: Update.
11195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11197
786b0b67
AS
111982012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11199
11200 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11201 64-bit targets.
11202 * configure: Regenerated.
11203
8e18b86d
DM
112042012-11-17 David S. Miller <davem@davemloft.net>
11205
11206 [BZ #14811]
11207 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11208 nonzero exponents with absolute value below 0x1p-128 to +/-
11209 0x1p-128.
11210
531f1ae0
JM
112112012-11-17 Joseph Myers <joseph@codesourcery.com>
11212
12df29e2
JM
11213 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11214
150dc1a0
JM
11215 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11216
531f1ae0
JM
11217 * posix/getconf-speclist.c: New file.
11218 * posix/posix-envs.def: Likewise.
11219 * posix/confstr.c (START_ENV_GROUP): New macro.
11220 (END_ENV_GROUP): Likewise.
11221 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11222 (KNOWN_PRESENT_ENV_STRING): Likewise.
11223 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11224 (UNKNOWN_ENVIRONMENT): Likewise.
11225 (confstr): Include posix-envs.def instead of handling
11226 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11227 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11228 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11229 (END_ENV_GROUP): Likewise.
11230 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11231 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11232 (UNKNOWN_ENVIRONMENT): Likewise.
11233 (__sysconf): Include posix-envs.def instead of handling associated
11234 cases directly here.
11235 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11236 preprocessing getconf-speclist.c rather than running getconf or
11237 generating empty file.
11238
a93f9cbc
PT
112392012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11240
11241 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11242
d64d9f87
AL
112432012-11-16 Andrej Lajovic <natrij@gmail.com>
11244
11245 [BZ #14672]
11246 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11247
447885eb
DM
112482012-11-16 David S. Miller <davem@davemloft.net>
11249
11250 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11251 smaller than LDBL_EPSILON/2.0L, just return xm1.
11252
bcbf9830
L
112532012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11254
11255 * elf/tst-array1.c (init): Set constructor priority to 1000.
11256 (fini): Set destructor priority to 1000.
11257 * elf/tst-array2dep.c: Likewise.
11258
2b766585
SP
112592012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11260
11261 [BZ #11741]
11262 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11263 (_IO_new_file_xsputn): Also return EOF if none of the input
11264 data was written when overflow failed.
11265 * libio/iopadn.c (_IO_padn): Likewise.
11266 * libio/iowpadn.c (_IO_wpadn): Likewise.
11267 * stdio-common/tst-put-error.c: Add copyright notice.
11268 (do_test): Add case for printing padded string.
11269 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11270 _IO_padn returned error.
11271 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11272 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11273 return EOF.
11274
b1848fde
SP
112752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11276
11277 * libio/libioP.h: Add comment note that the references to C++
11278 bits are now obsolete.
11279
2fd89785
MS
112802012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11281
11282 * math/libm-test.inc (check_complex): Use asprintf.
11283
e3ea5409
JM
112842012-11-14 Joseph Myers <joseph@codesourcery.com>
11285
11286 * debug/pcprofiledump.c (print_version): Update copyright year.
11287 * malloc/memusagestat.c (print_version): Likewise.
11288
2e64d265
L
112892012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11290
11291 [BZ #14831]
11292 * elf/Makefile (tests): Add tst-audit8.
11293 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11294 ($(objpfx)tst-audit8.out): New target.
11295 (tst-audit8-ENV): New variable.
11296 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11297 audit if l_reloc_result is NULL.
11298 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11299 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11300 * elf/tst-audit8.c: New file.
11301
c485e4d2
MS
113022012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11303
11304 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11305 * misc/Makefile (CFLAGS-select.c): Define.
11306 * posix/Makefile (CFLAGS-pause.c): Define.
11307
3a0d900a
DM
113082012-11-13 David S. Miller <davem@davemloft.net>
11309
11310 * crypt/Makefile: Move test targets after toplevel Rules
11311 inclusion. Grab any necessary sysdep routines when linking.
11312 * crypt/md5.c (md5_process_block): Remove define, we will always
11313 name it __md5_process_block.
11314 (md5_finish_ctx): Update md5_process_block call.
11315 (md5_stream): Likewise.
11316 (md5_process_bytes): Likewise.
11317 (md5_process_block): Rename to __md5_process_block and move to ...
11318 * crypt/md5-block.c: ... here.
11319 * crypt/sha256.c (sha256_process_block): Move to ...
11320 * crypt/sha256-block.c: ... here.
11321 * crypt/sha512.c (sha512_process_block): Move to ...
11322 * crypt/sha512-block.c: ... here.
11323 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11324 path.
11325 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11326 * sysdeps/sparc/sparc64/multiarch/Makefile
11327 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11328 crypt subdir.
11329 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11330 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11331 multiarch changes.
11332 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11333 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11334 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11335 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11336 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11337 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11338 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11339 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11340 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11341 file.
11342 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11343 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11344 file.
11345 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11346
8ca89318
JM
113472012-11-13 Joseph Myers <joseph@codesourcery.com>
11348
e27d476a
JM
11349 * timezone/tzselect.ksh: Update from tzcode git revision
11350 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11351 * timezone/zdump.c: Likewise.
11352 * timezone/zic.c: Likewise.
11353 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11354 in TZVERSION setting, not $(PKGVERSION).
11355 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11356 REPORT_BUGS_TO settings.
11357
8ca89318
JM
11358 [BZ #14838]
11359 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11360 macro.
11361
47594329
MS
113622012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11363
11364 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11365 detection to immediately after _FP_ROUND().
11366 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11367 bits are 0.
11368
640ac3f1
DM
113692012-11-11 David S. Miller <davem@davemloft.net>
11370
11371 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11372 inttypes.h
11373 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11374 __close rather than their public counterparts.
11375
3d2577bb
JM
113762012-11-10 Joseph Myers <joseph@codesourcery.com>
11377
11378 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11379 file.
11380 [UNIX98] (sem_timedwait): Do not expect.
11381 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11382 [XPG4 || UNIX98] (sockatmark): Do not expect.
11383 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11384 (clock_getcpuclockid): Do not expect.
11385 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11386 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11387 Do not expect.
11388 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11389 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11390 [UNIX98] (vwscanf): Likewise.
11391 [UNIX98] (vswscanf): Likewise.
11392
fb1ae1ee
JM
113932012-11-09 Joseph Myers <joseph@codesourcery.com>
11394
9ec6f8bd
JM
11395 * timezone/version.h: Remove file.
11396 * timezone/README: Do not refer to version.h.
11397 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11398 $(objpfx)version.h.
11399 ($(objpfx)zdump.o): Likewise.
c3f81911 11400 ($(objpfx)version.h): New target.
9ec6f8bd 11401
0aa8f8a1
JM
11402 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11403 2012i.
11404 * timezone/README: Don't mention modification to tzselect.ksh.
11405 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11406 work on unmodified tzselect.ksh. Substitute version numbers in
11407 tzselect.ksh.
11408
4e87147f
JM
11409 * Makefile (format-me): Remove.
11410 (INSTALL): Adjust indentation. Use commands directly instead of
11411 using $(format-me).
11412
8b748aed
JM
11413 * aclocal.m4 (ACX_PKGVERSION): New macro.
11414 (ACX_BUGURL): Likewise.
11415 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11416 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11417 (REPORT_BUGS_TO): Likewise.
11418 * configure: Regenerated.
11419 * config.h.in (PKGVERSION): New macro.
11420 (REPORT_BUGS_TO): Likewise.
11421 * config.make.in (PKGVERSION): New variable.
11422 (PKGVERSION_TEXI): Likewise.
11423 (REPORT_BUGS_TO): Likewise.
11424 (REPORT_BUGS_TEXI): Likewise.
11425 * Makefile (format-me): Use -I$(common-objpfx)manual.
11426 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11427 ($(common-objpfx)manual/%): New target.
11428 (manual/%): Remove target.
11429 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11430 (print_version): Use PKGVERSION.
11431 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11432 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11433 and REPORT_BUGS_TO.
11434 ($(objpfx)xtrace): Likewise.
11435 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11436 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11437 (print_version): Use PKGVERSION.
11438 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11439 (do_version): Use PKGVERSION.
11440 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11441 REPORT_BUGS_TO.
11442 (common-ldd-rewrite): Likewise.
11443 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11444 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11445 (print_version): Use PKGVERSION.
11446 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11447 * elf/pldd.c (argp_program_bug_address): Remove variable.
11448 (more_help): New function.
11449 (argp): Use more_help.
11450 (print_version): Use PKGVERSION.
11451 * elf/sln.c (main): Use PKGVERSION.
11452 (usage): Use REPORT_BUGS_TO.
11453 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11454 (top level): Use PKGVERSION.
11455 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11456 (print_version): Use PKGVERSION.
11457 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11458 (print_version): Use PKGVERSION.
11459 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11460 (print_version): Use PKGVERSION.
11461 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11462 (print_version): Use PKGVERSION.
11463 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11464 (print_version): Use PKGVERSION.
11465 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11466 (print_version): Use PKGVERSION.
11467 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11468 and BUGURL.
11469 ($(objpfx)memusage): Likewise.
11470 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11471 (do_version): Use PKGVERSION.
11472 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11473 (print_version): Use PKGVERSION.
11474 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11475 ($PKGVERSION): New variable.
11476 ($REPORT_BUGS_TO): Likewise.
11477 (usage): Use $REPORT_BUGS_TO.
11478 (top level): Use $PKGVERSION.
11479 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11480 ($(objpfx)pkgvers.texi): New rule.
11481 ($(objpfx)stamp-pkgvers): Likewise.
11482 * manual/install.texi: Include pkgvers.texi.
11483 (--with-pkgversion): Document new configure option.
11484 (--with-bugurl): Likewise.
11485 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11486 than necessarily for this particular distribution. Use
11487 REPORT_BUGS_TO for where to report bugs.
11488 * INSTALL: Regenerated.
11489 * manual/libc.texinfo: Include pkgvers.texi.
11490 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11491 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11492 (print_version): Use PKGVERSION.
11493 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11494 (print_version): Use PKGVERSION.
11495 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11496 (print_version): Use PKGVERSION.
11497 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11498 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11499 macro.
11500 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11501 (print_version): Use PKGVERSION.
11502 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11503 (print_version): Use PKGVERSION.
11504 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11505 and PKGVERSION.
11506
92e4b6a9
JM
11507 * timezone/checktab.awk: Update from tzcode 2012i.
11508 * timezone/ialloc.c: Likewise.
11509 * timezone/private.h: Likewise.
11510 * timezone/scheck.c: Likewise.
11511 * timezone/tzfile.h: Likewise.
11512 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11513 (TZVERSION): Hardcode tzcode version number.
11514 * timezone/zdump.c: Update from tzcode 2012i.
11515 * timezone/zic.c: Likewise.
11516 * timezone/version.h: New file.
11517 * timezone/README: Describe version.h. Update upstream location.
11518
9bde902c
JM
11519 [BZ #14824]
11520 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11521 (mktemp): Enable declaration.
11522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11523 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11526 Likewise.
11527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11528 Likewise.
11529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11530 Likewise.
11531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11532 Likewise.
11533 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11534 Likewise.
11535 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11536 Likewise.
11537
fb1ae1ee
JM
11538 [BZ #14821]
11539 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11540 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11541 for copies of such integer values.
11542 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11543 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11544
2c1adbcb
AJ
115452012-11-09 Andreas Jaeger <aj@suse.de>
11546
11547 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11548 definitions and declarations that are provided by
11549 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11550
d0f8457e
AK
115512012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11552
3a235abb 11553 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11554 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11555 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11556 definition.
11557
57241e26
MS
115582012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11559
11560 * elf/elf.h: Update comment before AArch64 relocations.
11561
60e8270d
DM
115622012-11-07 David S. Miller <davem@davemloft.net>
11563
11564 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11565 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11566 (__start_context): Declare.
11567 (__makecontext_ret): Delete.
11568 (__makecontext): Hook up __start_context instead of
11569 __makecontext_ret.
11570 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11571 (sysdep_routines): Add __start_context when in stdlib.
11572
0fbb0fbc
JM
115732012-11-07 Joseph Myers <joseph@codesourcery.com>
11574
11575 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11576 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11577 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11578 hardcoded "nm".
11579 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11580 (READELF): New variable. Use it instead of hardcoded "readelf".
11581
eb48db7e
L
115822012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11583
11584 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11585 * sysdeps/x86/Makefile: Here.
11586 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11587 * sysdeps/x86/tst-xmmymm.sh: This.
11588
05bcf62a
JM
115892012-11-07 Joseph Myers <joseph@codesourcery.com>
11590
c4b6cf53
JM
11591 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11592 expectations.
11593 [UNIX98] (pthread_barrier_t): Do not expect.
11594 [UNIX98] (pthread_barrierattr_t): Likewise.
11595 [UNIX98] (pthread_spinlock_t): Likewise.
11596 [UNIX98] (pthread_barrier_destroy): Likewise.
11597 [UNIX98] (pthread_barrier_init): Likewise.
11598 [UNIX98] (pthread_barrier_wait): Likewise.
11599 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11600 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11601 [UNIX98] (pthread_barrierattr_init): Likewise.
11602 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11603 [UNIX98] (pthread_getcpuclockid): Likewise.
11604 [UNIX98] (pthread_mutex_timedlock): Likewise.
11605 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11606 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11607 [UNIX98] (pthread_sigmask): Likewise.
11608 [UNIX98] (pthread_spin_destroy): Likewise.
11609 [UNIX98] (pthread_spin_init): Likewise.
11610 [UNIX98] (pthread_spin_lock): Likewise.
11611 [UNIX98] (pthread_spin_trylock): Likewise.
11612 [UNIX98] (pthread_spin_unlock): Likewise.
11613 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11614 Do not expect.
11615 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11616 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11617 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11618 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11619 [XPG3 || XPG4] (pthread_key_t): Likewise.
11620 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11621 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11622 [XPG3 || XPG4] (pthread_once_t): Likewise.
11623 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11624 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11625 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11626 [XPG3 || XPG4] (pthread_t): Likewise.
11627
cbe6e120
JM
11628 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11629 not expect.
11630 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11631
1b126443
JM
11632 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11633 Change function return type to int.
11634
b961a573
JM
11635 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11636 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11637 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11638 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11639 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11640 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11641 [!POSIX] (posix_madvise): Likewise.
11642 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11643 && !UNIX98].
11644 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11645 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11646 (mode_t): Likewise.
11647 (posix_mem_offset): Likewise.
11648 (posix_typed_mem_get_info): Likewise.
11649 (posix_typed_mem_open): Likewise.
11650
9e188909
JM
11651 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11652 Change condition to [XOPEN2K8].
11653
05bcf62a
JM
11654 * conform/conformtest.pl: Preprocess allow-header data with -x c
11655 instead of from stdin.
11656 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11657 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11658 [C99-based standards] (cerfc): Likewise.
11659 [C99-based standards] (cexp2): Likewise.
11660 [C99-based standards] (cexpm1): Likewise.
11661 [C99-based standards] (clog10): Likewise.
11662 [C99-based standards] (clog1p): Likewise.
11663 [C99-based standards] (clog2): Likewise.
11664 [C99-based standards] (clgamma): Likewise.
11665 [C99-based standards] (ctgamma): Likewise.
11666 [C99-based standards] (cerff): Likewise.
11667 [C99-based standards] (cerfcf): Likewise.
11668 [C99-based standards] (cexp2f): Likewise.
11669 [C99-based standards] (cexpm1f): Likewise.
11670 [C99-based standards] (clog10f): Likewise.
11671 [C99-based standards] (clog1pf): Likewise.
11672 [C99-based standards] (clog2f): Likewise.
11673 [C99-based standards] (clgammaf): Likewise.
11674 [C99-based standards] (ctgammaf): Likewise.
11675 [C99-based standards] (cerfl): Likewise.
11676 [C99-based standards] (cerfcl): Likewise.
11677 [C99-based standards] (cexp2l): Likewise.
11678 [C99-based standards] (cexpm1l): Likewise.
11679 [C99-based standards] (clog10l): Likewise.
11680 [C99-based standards] (clog1pl): Likewise.
11681 [C99-based standards] (clog2l): Likewise.
11682 [C99-based standards] (clgammal): Likewise.
11683 [C99-based standards] (ctgammal): Likewise.
11684 * conform/data/inttypes.h-data [C99-based standards]: Include
11685 stdint.h-data. Remove all expectations for stdint.h contents.
11686 [C99-based standards] (PRI*): Do not allow.
11687 [C99-based standards] (SCN*): Likewise.
11688 [C99-based standards] (*_t): Likewise.
11689 [C99-based-standards] (PRId8): Expect macro.
11690 [C99-based-standards] (PRIi8): Likewise.
11691 [C99-based-standards] (PRIo8): Likewise.
11692 [C99-based-standards] (PRIu8): Likewise.
11693 [C99-based-standards] (PRIx8): Likewise.
11694 [C99-based-standards] (PRIX8): Likewise.
11695 [C99-based-standards] (SCNd8): Likewise.
11696 [C99-based-standards] (SCNi8): Likewise.
11697 [C99-based-standards] (SCNo8): Likewise.
11698 [C99-based-standards] (SCNu8): Likewise.
11699 [C99-based-standards] (SCNx8): Likewise.
11700 [C99-based-standards] (PRIdLEAST8): Likewise.
11701 [C99-based-standards] (PRIiLEAST8): Likewise.
11702 [C99-based-standards] (PRIoLEAST8): Likewise.
11703 [C99-based-standards] (PRIuLEAST8): Likewise.
11704 [C99-based-standards] (PRIxLEAST8): Likewise.
11705 [C99-based-standards] (PRIXLEAST8): Likewise.
11706 [C99-based-standards] (SCNdLEAST8): Likewise.
11707 [C99-based-standards] (SCNiLEAST8): Likewise.
11708 [C99-based-standards] (SCNoLEAST8): Likewise.
11709 [C99-based-standards] (SCNuLEAST8): Likewise.
11710 [C99-based-standards] (SCNxLEAST8): Likewise.
11711 [C99-based-standards] (PRIdFAST8): Likewise.
11712 [C99-based-standards] (PRIiFAST8): Likewise.
11713 [C99-based-standards] (PRIoFAST8): Likewise.
11714 [C99-based-standards] (PRIuFAST8): Likewise.
11715 [C99-based-standards] (PRIxFAST8): Likewise.
11716 [C99-based-standards] (PRIXFAST8): Likewise.
11717 [C99-based-standards] (SCNdFAST8): Likewise.
11718 [C99-based-standards] (SCNiFAST8): Likewise.
11719 [C99-based-standards] (SCNoFAST8): Likewise.
11720 [C99-based-standards] (SCNuFAST8): Likewise.
11721 [C99-based-standards] (SCNxFAST8): Likewise.
11722 [C99-based-standards] (PRId16): Likewise.
11723 [C99-based-standards] (PRIi16): Likewise.
11724 [C99-based-standards] (PRIo16): Likewise.
11725 [C99-based-standards] (PRIu16): Likewise.
11726 [C99-based-standards] (PRIx16): Likewise.
11727 [C99-based-standards] (PRIX16): Likewise.
11728 [C99-based-standards] (SCNd16): Likewise.
11729 [C99-based-standards] (SCNi16): Likewise.
11730 [C99-based-standards] (SCNo16): Likewise.
11731 [C99-based-standards] (SCNu16): Likewise.
11732 [C99-based-standards] (SCNx16): Likewise.
11733 [C99-based-standards] (PRIdLEAST16): Likewise.
11734 [C99-based-standards] (PRIiLEAST16): Likewise.
11735 [C99-based-standards] (PRIoLEAST16): Likewise.
11736 [C99-based-standards] (PRIuLEAST16): Likewise.
11737 [C99-based-standards] (PRIxLEAST16): Likewise.
11738 [C99-based-standards] (PRIXLEAST16): Likewise.
11739 [C99-based-standards] (SCNdLEAST16): Likewise.
11740 [C99-based-standards] (SCNiLEAST16): Likewise.
11741 [C99-based-standards] (SCNoLEAST16): Likewise.
11742 [C99-based-standards] (SCNuLEAST16): Likewise.
11743 [C99-based-standards] (SCNxLEAST16): Likewise.
11744 [C99-based-standards] (PRIdFAST16): Likewise.
11745 [C99-based-standards] (PRIiFAST16): Likewise.
11746 [C99-based-standards] (PRIoFAST16): Likewise.
11747 [C99-based-standards] (PRIuFAST16): Likewise.
11748 [C99-based-standards] (PRIxFAST16): Likewise.
11749 [C99-based-standards] (PRIXFAST16): Likewise.
11750 [C99-based-standards] (SCNdFAST16): Likewise.
11751 [C99-based-standards] (SCNiFAST16): Likewise.
11752 [C99-based-standards] (SCNoFAST16): Likewise.
11753 [C99-based-standards] (SCNuFAST16): Likewise.
11754 [C99-based-standards] (SCNxFAST16): Likewise.
11755 [C99-based-standards] (PRId32): Likewise.
11756 [C99-based-standards] (PRIi32): Likewise.
11757 [C99-based-standards] (PRIo32): Likewise.
11758 [C99-based-standards] (PRIu32): Likewise.
11759 [C99-based-standards] (PRIx32): Likewise.
11760 [C99-based-standards] (PRIX32): Likewise.
11761 [C99-based-standards] (SCNd32): Likewise.
11762 [C99-based-standards] (SCNi32): Likewise.
11763 [C99-based-standards] (SCNo32): Likewise.
11764 [C99-based-standards] (SCNu32): Likewise.
11765 [C99-based-standards] (SCNx32): Likewise.
11766 [C99-based-standards] (PRIdLEAST32): Likewise.
11767 [C99-based-standards] (PRIiLEAST32): Likewise.
11768 [C99-based-standards] (PRIoLEAST32): Likewise.
11769 [C99-based-standards] (PRIuLEAST32): Likewise.
11770 [C99-based-standards] (PRIxLEAST32): Likewise.
11771 [C99-based-standards] (PRIXLEAST32): Likewise.
11772 [C99-based-standards] (SCNdLEAST32): Likewise.
11773 [C99-based-standards] (SCNiLEAST32): Likewise.
11774 [C99-based-standards] (SCNoLEAST32): Likewise.
11775 [C99-based-standards] (SCNuLEAST32): Likewise.
11776 [C99-based-standards] (SCNxLEAST32): Likewise.
11777 [C99-based-standards] (PRIdFAST32): Likewise.
11778 [C99-based-standards] (PRIiFAST32): Likewise.
11779 [C99-based-standards] (PRIoFAST32): Likewise.
11780 [C99-based-standards] (PRIuFAST32): Likewise.
11781 [C99-based-standards] (PRIxFAST32): Likewise.
11782 [C99-based-standards] (PRIXFAST32): Likewise.
11783 [C99-based-standards] (SCNdFAST32): Likewise.
11784 [C99-based-standards] (SCNiFAST32): Likewise.
11785 [C99-based-standards] (SCNoFAST32): Likewise.
11786 [C99-based-standards] (SCNuFAST32): Likewise.
11787 [C99-based-standards] (SCNxFAST32): Likewise.
11788 [C99-based-standards] (PRId64): Likewise.
11789 [C99-based-standards] (PRIi64): Likewise.
11790 [C99-based-standards] (PRIo64): Likewise.
11791 [C99-based-standards] (PRIu64): Likewise.
11792 [C99-based-standards] (PRIx64): Likewise.
11793 [C99-based-standards] (PRIX64): Likewise.
11794 [C99-based-standards] (SCNd64): Likewise.
11795 [C99-based-standards] (SCNi64): Likewise.
11796 [C99-based-standards] (SCNo64): Likewise.
11797 [C99-based-standards] (SCNu64): Likewise.
11798 [C99-based-standards] (SCNx64): Likewise.
11799 [C99-based-standards] (PRIdLEAST64): Likewise.
11800 [C99-based-standards] (PRIiLEAST64): Likewise.
11801 [C99-based-standards] (PRIoLEAST64): Likewise.
11802 [C99-based-standards] (PRIuLEAST64): Likewise.
11803 [C99-based-standards] (PRIxLEAST64): Likewise.
11804 [C99-based-standards] (PRIXLEAST64): Likewise.
11805 [C99-based-standards] (SCNdLEAST64): Likewise.
11806 [C99-based-standards] (SCNiLEAST64): Likewise.
11807 [C99-based-standards] (SCNoLEAST64): Likewise.
11808 [C99-based-standards] (SCNuLEAST64): Likewise.
11809 [C99-based-standards] (SCNxLEAST64): Likewise.
11810 [C99-based-standards] (PRIdFAST64): Likewise.
11811 [C99-based-standards] (PRIiFAST64): Likewise.
11812 [C99-based-standards] (PRIoFAST64): Likewise.
11813 [C99-based-standards] (PRIuFAST64): Likewise.
11814 [C99-based-standards] (PRIxFAST64): Likewise.
11815 [C99-based-standards] (PRIXFAST64): Likewise.
11816 [C99-based-standards] (SCNdFAST64): Likewise.
11817 [C99-based-standards] (SCNiFAST64): Likewise.
11818 [C99-based-standards] (SCNoFAST64): Likewise.
11819 [C99-based-standards] (SCNuFAST64): Likewise.
11820 [C99-based-standards] (SCNxFAST64): Likewise.
11821 [C99-based-standards] (PRIdMAX): Likewise.
11822 [C99-based-standards] (PRIiMAX): Likewise.
11823 [C99-based-standards] (PRIoMAX): Likewise.
11824 [C99-based-standards] (PRIuMAX): Likewise.
11825 [C99-based-standards] (PRIxMAX): Likewise.
11826 [C99-based-standards] (PRIXMAX): Likewise.
11827 [C99-based-standards] (SCNdMAX): Likewise.
11828 [C99-based-standards] (SCNiMAX): Likewise.
11829 [C99-based-standards] (SCNoMAX): Likewise.
11830 [C99-based-standards] (SCNuMAX): Likewise.
11831 [C99-based-standards] (SCNxMAX): Likewise.
11832 [C99-based-standards] (PRIdPTR): Likewise.
11833 [C99-based-standards] (PRIiPTR): Likewise.
11834 [C99-based-standards] (PRIoPTR): Likewise.
11835 [C99-based-standards] (PRIuPTR): Likewise.
11836 [C99-based-standards] (PRIxPTR): Likewise.
11837 [C99-based-standards] (PRIXPTR): Likewise.
11838 [C99-based-standards] (SCNdPTR): Likewise.
11839 [C99-based-standards] (SCNiPTR): Likewise.
11840 [C99-based-standards] (SCNoPTR): Likewise.
11841 [C99-based-standards] (SCNuPTR): Likewise.
11842 [C99-based-standards] (SCNxPTR): Likewise.
11843 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11844 allow.
11845 * conform/data/stdint.h-data: Update comments to clarify
11846 requirements.
11847 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11848 type.
11849 [C99-based standards] (INT8_MAX): Likewise.
11850 [C99-based standards] (INT16_MIN): Likewise.
11851 [C99-based standards] (INT16_MAX): Likewise.
11852 [C99-based standards] (INT32_MIN): Likewise.
11853 [C99-based standards] (INT32_MAX): Likewise.
11854 [C99-based standards] (INT64_MIN): Likewise.
11855 [C99-based standards] (INT64_MAX): Likewise.
11856 [C99-based standards] (UINT8_MAX): Likewise.
11857 [C99-based standards] (UINT16_MAX): Likewise.
11858 [C99-based standards] (UINT32_MAX): Likewise.
11859 [C99-based standards] (UINT64_MAX): Likewise.
11860 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11861 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11862 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11863 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11864 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11865 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11866 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11867 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11868 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11869 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11870 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11871 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11872 [C99-based standards] (INT_FAST8_MIN): Likewise.
11873 [C99-based standards] (INT_FAST8_MAX): Likewise.
11874 [C99-based standards] (INT_FAST16_MIN): Likewise.
11875 [C99-based standards] (INT_FAST16_MAX): Likewise.
11876 [C99-based standards] (INT_FAST32_MIN): Likewise.
11877 [C99-based standards] (INT_FAST32_MAX): Likewise.
11878 [C99-based standards] (INT_FAST64_MIN): Likewise.
11879 [C99-based standards] (INT_FAST64_MAX): Likewise.
11880 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11881 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11882 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11883 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11884 [C99-based standards] (INTPTR_MIN): Likewise.
11885 [C99-based standards] (INTPTR_MAX): Likewise.
11886 [C99-based standards] (UINTPTR_MAX): Likewise.
11887 [C99-based standards] (INTMAX_MIN): Likewise.
11888 [C99-based standards] (INTMAX_MAX): Likewise.
11889 [C99-based standards] (UINTMAX_MAX): Likewise.
11890 [C99-based standards] (PTRDIFF_MIN): Likewise.
11891 [C99-based standards] (PTRDIFF_MAX): Likewise.
11892 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11893 [C99-based standards] (SIZE_MAX): Likewise.
11894 [C99-based standards] (WCHAR_MAX): Likewise.
11895 [C99-based standards] (WINT_MAX): Likewise.
11896 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11897 constraint on value.
11898 [C99-based standards] (WCHAR_MIN): Likewise.
11899 [C99-based standards] (WINT_MIN): Likewise.
11900 [C99-based standards] (*_t): Allow.
11901 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11902 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11903 Include math.h-data and complex.h-data. Remove all expectations
11904 of math.h and complex.h contents.
11905 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11906 at end of line.
11907 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11908 (struct tm): Expect tag.
11909 [C99-based-standards] (wcstof): Expect function.
11910 [C99-based-standards] (wcstold): Likewise.
11911 [C99-based-standards] (wcstoll): Likewise.
11912 [C99-based-standards] (wcstoull): Likewise.
11913 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11914 macro-int-constant. Specify type.
11915 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11916 constraint on value.
11917 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11918 Specify type.
11919 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11920 Specify value.
11921 [ISO C standards]: Do not allow headers.
11922 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11923 wcs[abcdefghijklmnopqrstuvwxyz]*.
11924 [ISO C standards] (*_t): Do not allow.
11925 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11926 Expect function.
11927 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11928 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11929 Specify type.
11930 [ISO C standards]: Do not allow headers.
11931 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11932 is[abcdefghijklmnopqrstuvwxyz]*.
11933 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11934 to[abcdefghijklmnopqrstuvwxyz]*.
11935 [ISO C standards] (*_t): Do not allow.
11936 * conform/data/stdalign.h-data: New file.
11937 * conform/data/stdbool.h-data: Likewise.
11938 * conform/data/stdnoreturn.h-data: Likewise.
11939
7514feb8
RM
119402012-11-07 Roland McGrath <roland@hack.frob.com>
11941
11942 [BZ #14815]
11943 * manual/filesys.texi (Directory Entries): Typo fix.
11944 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11945
19b2ecfc
MS
119462012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11947
11948 * elf/elf.h (EM_AARCH64): New macro.
11949 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11950 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11951 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11952 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11953 (R_AARCH64_TLSDESC): Likewise.
11954 (NT_ARM_TLS): Likewise.
11955 (NT_ARM_HW_BREAK): Likewise.
11956 (NT_ARM_HW_WATCH): Likewise.
11957
60e235ee
JM
119582012-11-07 Joseph Myers <joseph@codesourcery.com>
11959
11960 [BZ #14811]
11961 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11962 (__ieee754_powl): Saturate nonzero exponents with absolute value
11963 below 0x1p-79 to +/- 0x1p-79.
11964 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11965 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11966 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11967 nonzero exponents with absolute value below 0x1p-32 to +/-
11968 0x1p-32.
11969 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11970 (__ieee754_powl): Saturate nonzero exponents with absolute value
11971 below 0x1p-79 to +/- 0x1p-79.
11972 * math/libm-test.inc (pow_test): Add more tests.
11973
0ab234b7
AK
119742012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11975
11976 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11977 _dl_s390_cap_flags with kernel. Increase string length.
11978 (_dl_s390_platforms): Add z196 and zEC12.
11979
45832f74
JM
119802012-11-07 Joseph Myers <joseph@codesourcery.com>
11981
11982 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11983 Change XOPEN21K to XOPEN2K.
11984
19218757
MK
119852012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11986
11987 * string/memmove.c: Use memcpy when possible.
11988
c5f45721
AJ
119892012-11-06 Andreas Jaeger <aj@suse.de>
11990
11991 * po/eo.po: Update from translation team.
11992
82477c28
JM
119932012-11-06 Joseph Myers <joseph@codesourcery.com>
11994
11995 [BZ #14793]
11996 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11997 exponent and small x and y exponents, scale x or y up. Increase
11998 by 2 the exponent used in scaling up.
11999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12001 * math/libm-test.inc (fma_test): Add more tests.
12002 (fma_test_towardzero): Likewise.
12003 (fma_test_downward): Likewise.
12004 (fma_test_upward): Likewise.
12005
99252c8c
JM
120062012-11-05 Joseph Myers <joseph@codesourcery.com>
12007
acfa885f
JM
12008 [BZ #14805]
12009 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12010 fenv_t *.
12011
99252c8c
JM
12012 [BZ #14801]
12013 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12014 namespace for names of struct fields.
12015 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12016 fenv_t fields.
12017 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12018 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12019
d6d98dea
ST
120202012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12021
12022 [BZ #3665]
12023 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12024
e10bb107
TS
120252012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12026
12027 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12028 PTR_DEMANGLE.
12029
12030 [BZ #5246]
12031 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12032 PTR_DEMANGLE.
12033
a0c2940d
JM
120342012-11-04 Joseph Myers <joseph@codesourcery.com>
12035
12036 [BZ #14797]
12037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12038 definitely overflow as x * y not x * y + z.
12039 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12040 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12041 * math/libm-test.inc (fma_test): Add more tests.
12042 (fma_test_towardzero): Likewise.
12043 (fma_test_downward): Likewise.
12044 (fma_test_upward): Likewise.
12045
b830319d
TS
120462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
12047
12048 [BZ #157]
12049
12050 * include/stub-tag.h: Remove file.
12051 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12052 '#include' of it.
12053 * manual/maint.texi (Porting): Don't reference it.
12054 * Makerules ($(objpfx)stubs): Likewise.
12055 * dirent/closedir.c: Don't include <stub-tag.h>.
12056 * dirent/dirfd.c: Likewise.
12057 * dirent/fdopendir.c: Likewise.
12058 * dirent/getdents.c: Likewise.
12059 * dirent/getdents64.c: Likewise.
12060 * dirent/opendir.c: Likewise.
12061 * dirent/readdir.c: Likewise.
12062 * dirent/readdir64.c: Likewise.
12063 * dirent/readdir64_r.c: Likewise.
12064 * dirent/readdir_r.c: Likewise.
12065 * dirent/rewinddir.c: Likewise.
12066 * dirent/seekdir.c: Likewise.
12067 * dirent/telldir.c: Likewise.
12068 * gmon/profil.c: Likewise.
12069 * grp/setgroups.c: Likewise.
12070 * inet/if_index.c: Likewise.
12071 * io/access.c: Likewise.
12072 * io/chdir.c: Likewise.
12073 * io/chmod.c: Likewise.
12074 * io/chown.c: Likewise.
12075 * io/close.c: Likewise.
12076 * io/dup.c: Likewise.
12077 * io/dup2.c: Likewise.
12078 * io/dup3.c: Likewise.
12079 * io/euidaccess.c: Likewise.
12080 * io/faccessat.c: Likewise.
12081 * io/fchdir.c: Likewise.
12082 * io/fchmod.c: Likewise.
12083 * io/fchmodat.c: Likewise.
12084 * io/fchown.c: Likewise.
12085 * io/fchownat.c: Likewise.
12086 * io/fcntl.c: Likewise.
12087 * io/flock.c: Likewise.
12088 * io/fstatfs.c: Likewise.
12089 * io/fstatfs64.c: Likewise.
12090 * io/fstatvfs.c: Likewise.
12091 * io/fstatvfs64.c: Likewise.
12092 * io/futimens.c: Likewise.
12093 * io/fxstat.c: Likewise.
12094 * io/fxstat64.c: Likewise.
12095 * io/fxstatat.c: Likewise.
12096 * io/fxstatat64.c: Likewise.
12097 * io/getcwd.c: Likewise.
12098 * io/isatty.c: Likewise.
12099 * io/lchmod.c: Likewise.
12100 * io/lchown.c: Likewise.
12101 * io/link.c: Likewise.
12102 * io/linkat.c: Likewise.
12103 * io/lseek.c: Likewise.
12104 * io/lseek64.c: Likewise.
12105 * io/lxstat64.c: Likewise.
12106 * io/mkdir.c: Likewise.
12107 * io/mkdirat.c: Likewise.
12108 * io/mkfifo.c: Likewise.
12109 * io/mkfifoat.c: Likewise.
12110 * io/open.c: Likewise.
12111 * io/open64.c: Likewise.
12112 * io/openat.c: Likewise.
12113 * io/openat64.c: Likewise.
12114 * io/pipe.c: Likewise.
12115 * io/pipe2.c: Likewise.
12116 * io/poll.c: Likewise.
12117 * io/posix_fadvise.c: Likewise.
12118 * io/posix_fadvise64.c: Likewise.
12119 * io/posix_fallocate.c: Likewise.
12120 * io/posix_fallocate64.c: Likewise.
12121 * io/read.c: Likewise.
12122 * io/readlink.c: Likewise.
12123 * io/readlinkat.c: Likewise.
12124 * io/rmdir.c: Likewise.
12125 * io/sendfile.c: Likewise.
12126 * io/sendfile64.c: Likewise.
12127 * io/statfs.c: Likewise.
12128 * io/statfs64.c: Likewise.
12129 * io/statvfs.c: Likewise.
12130 * io/statvfs64.c: Likewise.
12131 * io/symlink.c: Likewise.
12132 * io/symlinkat.c: Likewise.
12133 * io/ttyname.c: Likewise.
12134 * io/ttyname_r.c: Likewise.
12135 * io/umask.c: Likewise.
12136 * io/unlink.c: Likewise.
12137 * io/unlinkat.c: Likewise.
12138 * io/utime.c: Likewise.
12139 * io/utimensat.c: Likewise.
12140 * io/write.c: Likewise.
12141 * io/xmknod.c: Likewise.
12142 * io/xmknodat.c: Likewise.
12143 * io/xstat.c: Likewise.
12144 * io/xstat64.c: Likewise.
12145 * login/getpt.c: Likewise.
12146 * login/grantpt.c: Likewise.
12147 * login/unlockpt.c: Likewise.
12148 * math/e_acoshl.c: Likewise.
12149 * math/e_acosl.c: Likewise.
12150 * math/e_asinl.c: Likewise.
12151 * math/e_atan2l.c: Likewise.
12152 * math/e_atanhl.c: Likewise.
12153 * math/e_coshl.c: Likewise.
12154 * math/e_expl.c: Likewise.
12155 * math/e_fmodl.c: Likewise.
12156 * math/e_gammal_r.c: Likewise.
12157 * math/e_hypotl.c: Likewise.
12158 * math/e_j0l.c: Likewise.
12159 * math/e_j1l.c: Likewise.
12160 * math/e_jnl.c: Likewise.
12161 * math/e_lgammal_r.c: Likewise.
12162 * math/e_log10l.c: Likewise.
12163 * math/e_log2l.c: Likewise.
12164 * math/e_logl.c: Likewise.
12165 * math/e_powl.c: Likewise.
12166 * math/e_rem_pio2l.c: Likewise.
12167 * math/e_sinhl.c: Likewise.
12168 * math/e_sqrtl.c: Likewise.
12169 * math/fclrexcpt.c: Likewise.
12170 * math/fedisblxcpt.c: Likewise.
12171 * math/feenablxcpt.c: Likewise.
12172 * math/fegetenv.c: Likewise.
12173 * math/fegetexcept.c: Likewise.
12174 * math/fegetround.c: Likewise.
12175 * math/feholdexcpt.c: Likewise.
12176 * math/fesetenv.c: Likewise.
12177 * math/fesetround.c: Likewise.
12178 * math/feupdateenv.c: Likewise.
12179 * math/fgetexcptflg.c: Likewise.
12180 * math/fraiseexcpt.c: Likewise.
12181 * math/fsetexcptflg.c: Likewise.
12182 * math/ftestexcept.c: Likewise.
12183 * math/k_cosl.c: Likewise.
12184 * math/k_rem_pio2l.c: Likewise.
12185 * math/k_sinl.c: Likewise.
12186 * math/k_tanl.c: Likewise.
12187 * math/s_asinhl.c: Likewise.
12188 * math/s_atanl.c: Likewise.
12189 * math/s_cbrtl.c: Likewise.
12190 * math/s_erfl.c: Likewise.
12191 * math/s_expm1l.c: Likewise.
12192 * math/s_log1pl.c: Likewise.
12193 * math/s_tanhl.c: Likewise.
12194 * misc/acct.c: Likewise.
12195 * misc/brk.c: Likewise.
12196 * misc/chflags.c: Likewise.
12197 * misc/chroot.c: Likewise.
12198 * misc/fchflags.c: Likewise.
12199 * misc/fgetxattr.c: Likewise.
12200 * misc/flistxattr.c: Likewise.
12201 * misc/fremovexattr.c: Likewise.
12202 * misc/fsetxattr.c: Likewise.
12203 * misc/fsync.c: Likewise.
12204 * misc/ftruncate.c: Likewise.
12205 * misc/futimes.c: Likewise.
12206 * misc/futimesat.c: Likewise.
12207 * misc/getdomain.c: Likewise.
12208 * misc/getdtsz.c: Likewise.
12209 * misc/gethostid.c: Likewise.
12210 * misc/gethostname.c: Likewise.
12211 * misc/getloadavg.c: Likewise.
12212 * misc/getpagesize.c: Likewise.
12213 * misc/getsysstats.c: Likewise.
12214 * misc/getxattr.c: Likewise.
12215 * misc/gtty.c: Likewise.
12216 * misc/ioctl.c: Likewise.
12217 * misc/lgetxattr.c: Likewise.
12218 * misc/listxattr.c: Likewise.
12219 * misc/llistxattr.c: Likewise.
12220 * misc/lremovexattr.c: Likewise.
12221 * misc/lsetxattr.c: Likewise.
12222 * misc/lutimes.c: Likewise.
12223 * misc/madvise.c: Likewise.
12224 * misc/mincore.c: Likewise.
12225 * misc/mlock.c: Likewise.
12226 * misc/mlockall.c: Likewise.
12227 * misc/mmap.c: Likewise.
12228 * misc/mprotect.c: Likewise.
12229 * misc/msync.c: Likewise.
12230 * misc/munlock.c: Likewise.
12231 * misc/munlockall.c: Likewise.
12232 * misc/munmap.c: Likewise.
12233 * misc/preadv.c: Likewise.
12234 * misc/preadv64.c: Likewise.
12235 * misc/ptrace.c: Likewise.
12236 * misc/pwritev.c: Likewise.
12237 * misc/pwritev64.c: Likewise.
12238 * misc/readv.c: Likewise.
12239 * misc/reboot.c: Likewise.
12240 * misc/remap_file_pages.c: Likewise.
12241 * misc/removexattr.c: Likewise.
12242 * misc/revoke.c: Likewise.
12243 * misc/select.c: Likewise.
12244 * misc/setdomain.c: Likewise.
12245 * misc/setegid.c: Likewise.
12246 * misc/seteuid.c: Likewise.
12247 * misc/sethostid.c: Likewise.
12248 * misc/sethostname.c: Likewise.
12249 * misc/setregid.c: Likewise.
12250 * misc/setreuid.c: Likewise.
12251 * misc/setxattr.c: Likewise.
12252 * misc/sstk.c: Likewise.
12253 * misc/stty.c: Likewise.
12254 * misc/swapoff.c: Likewise.
12255 * misc/swapon.c: Likewise.
12256 * misc/sync.c: Likewise.
12257 * misc/syncfs.c: Likewise.
12258 * misc/syscall.c: Likewise.
12259 * misc/truncate.c: Likewise.
12260 * misc/ualarm.c: Likewise.
12261 * misc/usleep.c: Likewise.
12262 * misc/ustat.c: Likewise.
12263 * misc/utimes.c: Likewise.
12264 * misc/vhangup.c: Likewise.
12265 * misc/writev.c: Likewise.
12266 * posix/_exit.c: Likewise.
12267 * posix/alarm.c: Likewise.
12268 * posix/execve.c: Likewise.
12269 * posix/fexecve.c: Likewise.
12270 * posix/fork.c: Likewise.
12271 * posix/fpathconf.c: Likewise.
12272 * posix/getaddrinfo.c: Likewise.
12273 * posix/getegid.c: Likewise.
12274 * posix/geteuid.c: Likewise.
12275 * posix/getgid.c: Likewise.
12276 * posix/getgroups.c: Likewise.
12277 * posix/getlogin.c: Likewise.
12278 * posix/getlogin_r.c: Likewise.
12279 * posix/getpgid.c: Likewise.
12280 * posix/getpid.c: Likewise.
12281 * posix/getppid.c: Likewise.
12282 * posix/getresgid.c: Likewise.
12283 * posix/getresuid.c: Likewise.
12284 * posix/getsid.c: Likewise.
12285 * posix/getuid.c: Likewise.
12286 * posix/glob64.c: Likewise.
12287 * posix/nanosleep.c: Likewise.
12288 * posix/pathconf.c: Likewise.
12289 * posix/pause.c: Likewise.
12290 * posix/posix_madvise.c: Likewise.
12291 * posix/pread.c: Likewise.
12292 * posix/pread64.c: Likewise.
12293 * posix/pwrite.c: Likewise.
12294 * posix/pwrite64.c: Likewise.
12295 * posix/sched_getaffinity.c: Likewise.
12296 * posix/sched_getp.c: Likewise.
12297 * posix/sched_gets.c: Likewise.
12298 * posix/sched_primax.c: Likewise.
12299 * posix/sched_primin.c: Likewise.
12300 * posix/sched_rr_gi.c: Likewise.
12301 * posix/sched_setaffinity.c: Likewise.
12302 * posix/sched_setp.c: Likewise.
12303 * posix/sched_sets.c: Likewise.
12304 * posix/sched_yield.c: Likewise.
12305 * posix/setgid.c: Likewise.
12306 * posix/setlogin.c: Likewise.
12307 * posix/setpgid.c: Likewise.
12308 * posix/setresgid.c: Likewise.
12309 * posix/setresuid.c: Likewise.
12310 * posix/setsid.c: Likewise.
12311 * posix/setuid.c: Likewise.
12312 * posix/sleep.c: Likewise.
12313 * posix/spawni.c: Likewise.
12314 * posix/sysconf.c: Likewise.
12315 * posix/times.c: Likewise.
12316 * posix/wait.c: Likewise.
12317 * posix/wait3.c: Likewise.
12318 * posix/wait4.c: Likewise.
12319 * posix/waitpid.c: Likewise.
12320 * resolv/gai_sigqueue.c: Likewise.
12321 * resource/getpriority.c: Likewise.
12322 * resource/getrlimit.c: Likewise.
12323 * resource/getrusage.c: Likewise.
12324 * resource/nice.c: Likewise.
12325 * resource/setpriority.c: Likewise.
12326 * resource/setrlimit.c: Likewise.
12327 * resource/ulimit.c: Likewise.
12328 * rt/aio_cancel.c: Likewise.
12329 * rt/aio_fsync.c: Likewise.
12330 * rt/aio_read.c: Likewise.
12331 * rt/aio_sigqueue.c: Likewise.
12332 * rt/aio_suspend.c: Likewise.
12333 * rt/aio_write.c: Likewise.
12334 * rt/clock_getres.c: Likewise.
12335 * rt/clock_gettime.c: Likewise.
12336 * rt/clock_nanosleep.c: Likewise.
12337 * rt/clock_settime.c: Likewise.
12338 * rt/lio_listio.c: Likewise.
12339 * rt/mq_close.c: Likewise.
12340 * rt/mq_getattr.c: Likewise.
12341 * rt/mq_notify.c: Likewise.
12342 * rt/mq_open.c: Likewise.
12343 * rt/mq_receive.c: Likewise.
12344 * rt/mq_send.c: Likewise.
12345 * rt/mq_setattr.c: Likewise.
12346 * rt/mq_timedreceive.c: Likewise.
12347 * rt/mq_timedsend.c: Likewise.
12348 * rt/mq_unlink.c: Likewise.
12349 * rt/shm_open.c: Likewise.
12350 * rt/shm_unlink.c: Likewise.
12351 * rt/timer_create.c: Likewise.
12352 * rt/timer_delete.c: Likewise.
12353 * rt/timer_getoverr.c: Likewise.
12354 * rt/timer_gettime.c: Likewise.
12355 * rt/timer_settime.c: Likewise.
12356 * setjmp/__longjmp.c: Likewise.
12357 * setjmp/setjmp.c: Likewise.
12358 * signal/kill.c: Likewise.
12359 * signal/killpg.c: Likewise.
12360 * signal/raise.c: Likewise.
12361 * signal/sigaction.c: Likewise.
12362 * signal/sigaltstack.c: Likewise.
12363 * signal/sigblock.c: Likewise.
12364 * signal/sigignore.c: Likewise.
12365 * signal/sigintr.c: Likewise.
12366 * signal/signal.c: Likewise.
12367 * signal/sigpause.c: Likewise.
12368 * signal/sigpending.c: Likewise.
12369 * signal/sigqueue.c: Likewise.
12370 * signal/sigreturn.c: Likewise.
12371 * signal/sigset.c: Likewise.
12372 * signal/sigsetmask.c: Likewise.
12373 * signal/sigstack.c: Likewise.
12374 * signal/sigsuspend.c: Likewise.
12375 * signal/sigtimedwait.c: Likewise.
12376 * signal/sigvec.c: Likewise.
12377 * signal/sigwait.c: Likewise.
12378 * signal/sigwaitinfo.c: Likewise.
12379 * signal/sysv_signal.c: Likewise.
12380 * socket/accept.c: Likewise.
12381 * socket/accept4.c: Likewise.
12382 * socket/bind.c: Likewise.
12383 * socket/connect.c: Likewise.
12384 * socket/getpeername.c: Likewise.
12385 * socket/getsockname.c: Likewise.
12386 * socket/getsockopt.c: Likewise.
12387 * socket/isfdtype.c: Likewise.
12388 * socket/listen.c: Likewise.
12389 * socket/recv.c: Likewise.
12390 * socket/recvfrom.c: Likewise.
12391 * socket/recvmsg.c: Likewise.
12392 * socket/send.c: Likewise.
12393 * socket/sendmsg.c: Likewise.
12394 * socket/sendto.c: Likewise.
12395 * socket/setsockopt.c: Likewise.
12396 * socket/shutdown.c: Likewise.
12397 * socket/sockatmark.c: Likewise.
12398 * socket/socket.c: Likewise.
12399 * socket/socketpair.c: Likewise.
12400 * stdio-common/ctermid.c: Likewise.
12401 * stdio-common/cuserid.c: Likewise.
12402 * stdio-common/remove.c: Likewise.
12403 * stdio-common/rename.c: Likewise.
12404 * stdio-common/renameat.c: Likewise.
12405 * stdio-common/tempname.c: Likewise.
12406 * stdlib/getcontext.c: Likewise.
12407 * stdlib/makecontext.c: Likewise.
12408 * stdlib/setcontext.c: Likewise.
12409 * stdlib/swapcontext.c: Likewise.
12410 * stdlib/system.c: Likewise.
12411 * streams/fattach.c: Likewise.
12412 * streams/fdetach.c: Likewise.
12413 * streams/getmsg.c: Likewise.
12414 * streams/getpmsg.c: Likewise.
12415 * streams/putmsg.c: Likewise.
12416 * streams/putpmsg.c: Likewise.
12417 * sysdeps/unix/bsd/getpt.c: Likewise.
12418 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12419 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12420 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12422 Likewise.
12423 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12424 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12425 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12426 * sysvipc/msgctl.c: Likewise.
12427 * sysvipc/msgget.c: Likewise.
12428 * sysvipc/msgrcv.c: Likewise.
12429 * sysvipc/msgsnd.c: Likewise.
12430 * sysvipc/semctl.c: Likewise.
12431 * sysvipc/semget.c: Likewise.
12432 * sysvipc/semop.c: Likewise.
12433 * sysvipc/semtimedop.c: Likewise.
12434 * sysvipc/shmat.c: Likewise.
12435 * sysvipc/shmctl.c: Likewise.
12436 * sysvipc/shmdt.c: Likewise.
12437 * sysvipc/shmget.c: Likewise.
12438 * termios/tcdrain.c: Likewise.
12439 * termios/tcflow.c: Likewise.
12440 * termios/tcflush.c: Likewise.
12441 * termios/tcgetattr.c: Likewise.
12442 * termios/tcgetpgrp.c: Likewise.
12443 * termios/tcsendbrk.c: Likewise.
12444 * termios/tcsetattr.c: Likewise.
12445 * termios/tcsetpgrp.c: Likewise.
12446 * time/adjtime.c: Likewise.
12447 * time/clock.c: Likewise.
12448 * time/getitimer.c: Likewise.
12449 * time/gettimeofday.c: Likewise.
12450 * time/setitimer.c: Likewise.
12451 * time/settimeofday.c: Likewise.
12452 * time/stime.c: Likewise.
12453 * time/time.c: Likewise.
12454
124552012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12456
a20492cf
PT
12457 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12458 /usr/old/bin.
12459
72e182e3
PT
12460 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12461 instead of spaces.
12462 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12463
fbeafede
JM
124642012-11-03 Joseph Myers <joseph@codesourcery.com>
12465
5b5b04d6
JM
12466 [BZ #14796]
12467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12468 FE_TONEAREST before applying Dekker multiplication and Knuth
12469 addition. Clear inexact exceptions and check for exact zero
12470 results afterwards.
12471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12472 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12474 * math/libm-test.inc (fma_test): Add more tests.
12475 (fma_test_towardzero): Likewise.
12476 (fma_test_downward): Likewise.
12477 (fma_test_upward): Likewise.
12478 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12479 function.
12480 (libc_fesetround): New macro.
12481 (libc_fesetroundf): Likewise.
12482 (libc_fesetroundl): Likewise.
12483 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12484 function.
12485 (libc_fesetround_387): Likewise.
12486 (libc_fesetroundf): New macro.
12487 (libc_fesetround): Likewise.
12488 (libc_fesetroundl): Likewise.
12489 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12490 function.
12491 (libc_fesetroundf): New macro.
12492 (libc_fesetround): Likewise.
12493 (libc_fesetroundl): Likewise.
12494 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12495 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12496 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12497 libm_hidden_ver.
12498 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12499 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12500 libm_hidden_def.
12501 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12502 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12503 libm_hidden_ver.
12504 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12505 libm_hidden_def.
12506
fbeafede
JM
12507 [BZ #3439]
12508 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12509 integer constant usable in #if and use that to give value to enum
12510 constant.
12511 (FE_DIVBYZERO): Likewise.
12512 (FE_UNDERFLOW): Likewise.
12513 (FE_OVERFLOW): Likewise.
12514 (FE_INVALID): Likewise.
12515 (FE_INVALID_SNAN): Likewise.
12516 (FE_INVALID_ISI): Likewise.
12517 (FE_INVALID_IDI): Likewise.
12518 (FE_INVALID_ZDZ): Likewise.
12519 (FE_INVALID_IMZ): Likewise.
12520 (FE_INVALID_COMPARE): Likewise.
12521 (FE_INVALID_SOFTWARE): Likewise.
12522 (FE_INVALID_SQRT): Likewise.
12523 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12524 (FE_TONEAREST): Likewise.
12525 (FE_TOWARDZERO): Likewise.
12526 (FE_UPWARD): Likewise.
12527 (FE_DOWNWARD): Likewise.
12528 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12529 (FE_DIVBYZERO): Likewise.
12530 (FE_OVERFLOW): Likewise.
12531 (FE_UNDERFLOW): Likewise.
12532 (FE_INEXACT): Likewise.
12533 (FE_TONEAREST): Likewise.
12534 (FE_DOWNWARD): Likewise.
12535 (FE_UPWARD): Likewise.
12536 (FE_TOWARDZERO): Likewise.
12537 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12538 (FE_UNDERFLOW): Likewise.
12539 (FE_OVERFLOW): Likewise.
12540 (FE_DIVBYZERO): Likewise.
12541 (FE_INVALID): Likewise.
12542 (FE_TONEAREST): Likewise.
12543 (FE_TOWARDZERO): Likewise.
12544 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12545 (FE_OVERFLOW): Likewise.
12546 (FE_UNDERFLOW): Likewise.
12547 (FE_DIVBYZERO): Likewise.
12548 (FE_INEXACT): Likewise.
12549 (FE_TONEAREST): Likewise.
12550 (FE_TOWARDZERO): Likewise.
12551 (FE_UPWARD): Likewise.
12552 (FE_DOWNWARD): Likewise.
12553 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12554 (FE_DIVBYZERO): Likewise.
12555 (FE_OVERFLOW): Likewise.
12556 (FE_UNDERFLOW): Likewise.
12557 (FE_INEXACT): Likewise.
12558 (FE_TONEAREST): Likewise.
12559 (FE_DOWNWARD): Likewise.
12560 (FE_UPWARD): Likewise.
12561 (FE_TOWARDZERO): Likewise.
12562
105ca950
CM
125632012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12564
12565 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12566
a542b389
AS
125672012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12568
12569 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12570 commands. Quote $PWD.
12571 (blacklist_exports): Don't use remove_newlines. Replace "declare
12572 -x" by "export".
12573 (remove_newlines): Remove.
12574
f62c8abc
L
125752012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12576
12577 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12578 * stdlib/stdlib.h (atof): Moved to ...
12579 * include/bits/stdlib-float.h: Here. New file.
12580 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12581 * stdlib/bits/stdlib-float.h: New file.
12582 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12583 -mno-sse -mno-mmx.
12584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12585 <xmmintrin.h>.
12586
0155d5b2
JM
125872012-11-02 Joseph Myers <joseph@codesourcery.com>
12588
a68d0680
JM
12589 * conform/conformtest.pl (@headers): Add fenv.h.
12590 * conform/data/fenv.h-data: New file.
12591 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12592 include of <math/fenv.h>.
12593
caf7f573
JM
12594 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12595 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12596 && !UNIX98]. Enables tests for XOPEN2K8.
12597 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12598 POSIX2008]: Likewise.
12599
6c073ad6
JM
12600 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12601 (struct rusage): Do not expect type or its members.
12602
0155d5b2
JM
12603 [BZ #3439]
12604 * math/math.h (FP_NAN): Define macro to integer constant usable in
12605 #if and use that to give value to enum constant.
12606 (FP_INFINITE): Likewise.
12607 (FP_ZERO): Likewise.
12608 (FP_SUBNORMAL): Likewise.
12609 (FP_NORMAL): Likewise.
12610
b5dcacb4
AS
126112012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12612
12613 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12614 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12615 arguments.
12616
f7934be8
RM
126172012-11-02 Roland McGrath <roland@hack.frob.com>
12618
12619 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12620 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12621 autoconf-time if not.
12622 * configure.in: Remove AC_PREREQ.
12623
d7d08bde
TMQMF
126242012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12625
12626 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12627 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12628 of the internal implementation.
12629
dcdae19a
JM
126302012-11-02 Joseph Myers <joseph@codesourcery.com>
12631
12632 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12633 except include of <misc/sys/syslog.h>.
12634
d6cffd3e
AS
126352012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12636
12637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12638 function returns with a NULL context exit with zero.
12639
b3563932
TMQMF
126402012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12641
12642 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12643
b288a93d
L
126442012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12645
12646 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12647 (run_program_cmd): This.
12648 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12649 (tst_langinfo): New variable. Use it.
12650
a2421a68
SAS
126512012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12652
12653 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12654 floating point opcodes.
12655
6f796e1b
TS
126562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12657
7402596b
TS
12658 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12659 variable.
12660
d0d4f868
TS
12661 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12662
6f796e1b
TS
12663 * sysdeps/mach/hurd/powerpc: Remove directory.
12664 * sysdeps/mach/powerpc: Likewise.
12665
4da224a2
AS
126662012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12667
12668 * scripts/check-local-headers.sh: Ignore c++ headers.
12669
341dd673
TS
126702012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12671
12672 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12673 __libc_cleanup_region_start argument.
12674
473611b2
JM
126752012-11-01 Joseph Myers <joseph@codesourcery.com>
12676
12677 [BZ #14784]
12678 [BZ #14785]
12679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12680 x * y using scaling, not as x * y + z.
12681 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12682 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12683 * math/libm-test.inc (fma_test): Add more tests.
12684 (fma_test_towardzero): Likewise.
12685 (fma_test_downward): Likewise.
12686 (fma_test_upward): Likewise.
12687
4078da3d
TS
126882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12689
12690 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12691
903252aa
JM
126922012-10-31 Joseph Myers <joseph@codesourcery.com>
12693
12694 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12695 New variable.
12696
cbc818d0
TS
126972012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12698
12699 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12700
5a03cb1e
AS
127012012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12702
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12704 Fix sort order.
12705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12706 Likewise.
12707
90aff2ff
TMQMF
127082012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12709
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12711 Fix the order of the list for glibc 2.17.
12712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12713 Likewise.
12714
1818fcb7
AS
127152012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12716
12717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12718
ef82f4da
JM
127192012-10-31 Joseph Myers <joseph@codesourcery.com>
12720
16a0e2ec
JM
12721 [BZ #14610]
12722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12723 for low part of x being zero before using __atanl (y).
12724 * math/libm-test.inc (atan2_test): Add another test.
12725
0eb69512
JM
12726 * manual/install.texi (Configuring and compiling): Document
12727 general use of test-wrapper and test-wrapper-env.
12728 * INSTALL: Regenerated.
12729
ef82f4da
JM
12730 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12731 (__fma): Do not extract and scale down low bits on after-rounding
12732 systems when result rounded to normal precision would have normal
12733 exponent.
12734 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12735 (__fmal): Do not extract and scale down low bits on after-rounding
12736 systems when result rounded to normal precision would have normal
12737 exponent.
12738 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12739 (__fmal): Do not extract and scale down low bits on after-rounding
12740 systems when result rounded to normal precision would have normal
12741 exponent.
12742 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12743 macro.
12744 (fma_test): Add more tests.
12745 (fma_test_towardzero): Likewise.
12746 (fma_test_downward): Likewise.
12747 (fma_test_upward): Likewise.
12748
954ef0d9
L
127492012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12750
12751 * sysdeps/i386/tininess.h: Renamed to ...
12752 * sysdeps/x86/tininess.h: This.
12753 * sysdeps/x86_64/tininess.h: Removed.
12754
df61ffb2
JM
127552012-10-30 Joseph Myers <joseph@codesourcery.com>
12756
12757 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12758 input. Use $(build-program-cmd).
12759 ($(objpfx)tst-array1-static.out): Likewise.
12760 ($(objpfx)tst-array2.out): Likewise.
12761 ($(objpfx)tst-array3.out): Likewise.
12762 ($(objpfx)tst-array4.out): Likewise.
12763 ($(objpfx)tst-array5.out): Likewise.
12764 ($(objpfx)tst-array5-static.out): Likewise.
12765
01767843
CM
127662012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12767
47cc1490
CM
12768 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12769 if defined.
12770
01767843
CM
12771 * nss/nsswitch.h (nss_interface_function): Provide new
12772 macro for use with NSS functions.
12773 * grp/initgroups.c: Use new macro.
12774 * nss/getXXbyYY.c: Likewise.
12775 * nss/getXXbyYY_r.c: Likewise.
12776 * nss/getXXent.c: Likewise.
12777 * nss/getXXent_r.c: Likewise.
12778 * sysdeps/posix/getaddrinfo.c: Likewise.
12779
8321aa97
AJ
127802012-10-30 Andreas Jaeger <aj@suse.de>
12781
12782 * po/ru.po: Update Russion translation from translation project.
12783
2a27fd6d
JM
127842012-10-30 Joseph Myers <joseph@codesourcery.com>
12785
8627a232
JM
12786 [BZ #14152]
12787 [BZ #14783]
12788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12789 result and shift together with sticky bit instead of replicating
12790 round-to-nearest rounding.
12791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12792 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12793 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12794 missing underflow exceptions.
12795 (fma_test_towardzero): Add more tests.
12796 (fma_test_downward): Likewise.
12797 (fma_test_upward): Likewise.
12798
2a27fd6d
JM
12799 [BZ #14047]
12800 * sysdeps/generic/tininess.h: New file.
12801 * sysdeps/i386/tininess.h: Likewise.
12802 * sysdeps/sh/tininess.h: Likewise.
12803 * sysdeps/x86_64/tininess.h: Likewise.
12804 * stdlib/tst-strtod-underflow.c: Likewise.
12805 * stdlib/tst-tininess.c: Likewise.
12806 * stdlib/strtod_l.c: Include <tininess.h>.
12807 (round_and_return): Do not set errno for exact underflow cases.
12808 Force an underflow exception when setting errno for underflow.
12809 Determine underflow based on rounding to normal precision if
12810 TININESS_AFTER_ROUNDING.
12811 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12812 ERANGE for exact underflow cases.
12813 * stdlib/Makefile (tests): Add tst-tininess and
12814 tst-strtod-underflow.
12815 ($(objpfx)tst-tininess): Use $(link-libm).
12816 ($(objpfx)tst-strtod-underflow): Likewise.
12817
e7170363
AJ
128182012-10-30 Andreas Jaeger <aj@suse.de>
12819
e5088dc6
AJ
12820 [BZ#14767]
12821 * elf/Makefile (tests): Remove conditional for have-initfini-array
12822 since this is now always required and the variable does not exist
12823 anymore.
12824 (tests-static): Likewise.
12825 (modules-names): Likewise.
12826
e7170363 12827 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12828
12829 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12830 merged with constructor/destructor.
12831 (init_array): Likewise.
12832 * elf/tst-array2dep.c (fini_array): Likewise.
12833 (init_array): Likewise.
12834
60457d8a
MF
128352012-10-29 Mike Frysinger <vapier@gentoo.org>
12836
12837 * manual/message.texi: Delete @cartouche tags.
12838
8bece752
PT
128392012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12840
94ce799f
PT
12841 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12842 EOPNOTSUPP.
12843 * sysdeps/mach/hurd/fsync.c: Likewise.
12844
8bece752
PT
12845 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12846 [_POSIX_REALTIME_SIGNALS]: Change condition to
12847 [_POSIX_REALTIME_SIGNALS > 0].
12848
86ebe6b1
AJ
128492012-10-27 Andreas Jaeger <aj@suse.de>
12850
12851 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12852 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12854 [__WORDSIZE != 64]: Likewise.
12855
54399c08
L
128562012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12857
12858 * iconvdata/tst-table.sh: Remove ${SHELL}.
12859 * iconvdata/tst-tables.sh: Likewise.
12860
e2211bed
DM
128612012-10-25 David S. Miller <davem@davemloft.net>
12862
12863 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12864 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12865 of strtoull.
12866
f303f97c
DM
12867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12868 ifunc-impl-list.c
12869 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12870 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12871 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12872 file.
12873
1e9d84cd
RM
128742012-10-25 Roland McGrath <roland@hack.frob.com>
12875
12876 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12877 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12878 __getdirentries.
12879
df381762
JM
128802012-10-25 Joseph Myers <joseph@codesourcery.com>
12881 Jim Blandy <jimb@codesourcery.com>
12882
12883 * scripts/cross-test-ssh.sh: New file.
12884 * manual/install.texi (Configuring and compiling): Document use of
12885 cross-test-ssh.sh.
12886 * INSTALL: Regenerated.
12887
bff64913
PT
128882012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12889
12890 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12891 EOPNOTSUPP.
12892
25fe8932
JM
128932012-10-25 Joseph Myers <joseph@codesourcery.com>
12894
12895 * Makeconfig (run-program-prefix): Fix comment.
12896
cc1290d0
JM
128972012-10-24 Joseph Myers <joseph@codesourcery.com>
12898 Jim Blandy <jimb@codesourcery.com>
12899
12900 * Makeconfig (test-wrapper): New variable,
12901 (test-wrapper-env): Likewise.
12902 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12903 (run-built-tests): Define to yes.
12904 (run-program-prefix): Use $(test-wrapper).
12905 (built-program-cmd): Likewise.
12906 * Rules (make-test-out): Use $(test-wrapper-env) and
12907 $(host-built-program-cmd).
12908 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12909 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12910 tst-pathopt.sh.
12911 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12912 $(test-wrapper-env) to tst-rtld-load-self.sh.
12913 ($(objpfx)order2.out): Use $(test-wrapper).
12914 ($(objpfx)tst-initorder.out): Likewise.
12915 ($(objpfx)tst-initorder2.out): Likewise.
12916 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12917 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12918 (test_wrapper_env): New variable. Use it to run ld.so.
12919 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12920 Use it to run ld.so.
12921 (test_wrapper_env): Likewise.
12922 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12923 $(test-wrapper) to run-iconv-test.sh.
12924 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12925 (ICONV): Use $test_wrapper.
12926 * posix/Makefile ($(objpfx)globtest.out): Pass
12927 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12928 globtest.sh, not $(run-program-prefix).
12929 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12930 (test_wrapper): Likewise.
12931 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12932 set together with run_via_rtld_prefix.
12933 (run_program_prefix): Define in terms of test_wrapper and
12934 run_via_rtld_prefix.
12935
6e6249d0
RM
129362012-10-24 Roland McGrath <roland@hack.frob.com>
12937
12938 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12939 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12940 Targets removed.
12941
12942 [BZ #14743]
12943 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12944 Declare __clock_getres, __clock_gettime, __clock_settime,
12945 __clock_nanosleep, and __clock_getcpuclockid.
12946 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12947 Remove librt_hidden_def (clock_gettime).
12948 * sysdeps/unix/clock_gettime.c: Likewise.
12949 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12950 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12951 * rt/clock_getres.c: Define __clock_getres as an alias.
12952 * sysdeps/posix/clock_getres.c: Likewise.
12953 * rt/clock_settime.c: Define __clock_settime as an alias.
12954 * sysdeps/unix/clock_settime.c: Likewise.
12955 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12956 * sysdeps/unix/clock_nanosleep.c: Likewise.
12957 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12958 * rt/clock-compat.c: New file.
12959 * rt/Makefile (librt-routines): Add clock-compat and move
12960 $(clock-routines) to ...
12961 (routines): ... here, new variable.
12962 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12963 Don't add get_clockfreq here.
12964 * rt/Versions (libc: GLIBC_2.17): New version set.
12965 Add clock_* symbols here.
12966 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12968 (GLIBC_2.17): Add clock_* symbols.
12969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12973 Likewise.
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12975 Likewise.
12976 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12980 * NEWS: Mention the move.
12981
12982 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12983 Use __open, __read, __close rather than their public counterparts.
12984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12985 (__get_clockfreq_via_cpuinfo): Likewise.
12986 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12987 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12988
12989 * config.h.in (HAVE_IFUNC): New #undef.
12990 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12991 was successful.
12992 * configure: Regenerated.
12993
0cae3f4b
MF
129942012-10-24 Mike Frysinger <vapier@gentoo.org>
12995
12996 * configure.in: Move READELF check to start of file.
12997 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12998 libc_cv_asm_gnu_indirect_function in the process.
12999 * configure: Regenerated.
13000
8175a253
MF
130012012-10-24 Mike Frysinger <vapier@gentoo.org>
13002
13003 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13004 send the output to /dev/null.
13005 (libc_cv_cc_with_libunwind): Likewise.
13006 (libc_cv_as_noexecstack): Likewise.
13007 * configure: Regenerate.
13008
0708a7d1
JM
130092012-10-24 Joseph Myers <joseph@codesourcery.com>
13010
10b40d85
JM
13011 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13012
0708a7d1
JM
13013 * posix/globtest.sh (TMPDIR): Do not set.
13014 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13015 (testout): Likewise.
13016
9fddec1a
AJ
130172012-10-24 Andreas Jaeger <aj@suse.de>
13018
3a8db22f
AJ
13019 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13020 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13021 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13022 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13023 posix_fadvise64, posix_fallocate64.
13024
9fddec1a
AJ
13025 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13026 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13027 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13028 Likewise.
13029 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13030 Likewise.
13031 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13032
13033 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13034 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13035 <bits/fcntl-linux.h>.
13036 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13037
13038 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13039 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13040 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13041 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13042 [__WORDSIZE != 64]: Likewise.
13043
ebfd1bbd
JM
130442012-10-23 Joseph Myers <joseph@codesourcery.com>
13045
03ac099f
JM
13046 * Makeconfig (run-built-tests): New variable.
13047 * Rules [$(cross-compiling) = yes]: Change condition to
13048 [$(run-built-tests) = no].
13049 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13050 to [$(run-built-tests) = yes].
13051 * elf/Makefile [$(cross-compiling) = no]: Likewise
13052 * grp/Makefile [$(cross-compiling) = no]: Likewise.
13053 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13054 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13055 * intl/Makefile [$(cross-compiling) = no]: Likewise.
13056 * io/Makefile [$(cross-compiling) = no]: Likewise.
13057 * libio/Makefile [$(cross-compiling) = no]: Likewise.
13058 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13059 * misc/Makefile [$(cross-compiling) = no]: Likewise.
13060 * posix/Makefile [$(cross-compiling) = no]: Likewise.
13061 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13062 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13063 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13064 * string/Makefile [$(cross-compiling) = no]: Likewise.
13065
ebfd1bbd
JM
13066 * posix/Makefile ($(objpfx)globtest.out): Pass
13067 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13068 $(rtld-installed-name).
13069 * posix/globtest.sh (elf_objpfx): Remove variable.
13070 (rtld_installed_name): Likewise.
13071 (library_path): Likewise.
13072 (run_program_prefix): New variable. Use for running globtest
13073 binary.
13074
166bca24
JB
130752012-10-23 Jim Blandy <jimb@codesourcery.com>
13076 Joseph Myers <joseph@codesourcery.com>
13077
13078 * Makeconfig (host-built-program-cmd): New variable.
13079 * elf/Makefile (tst-stackguard1-ARGS): Use
13080 $(host-built-program-cmd).
13081 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13082 (tst-spawn-ARGS): Likewise.
13083 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13084
88866099
JM
130852012-10-23 Joseph Myers <joseph@codesourcery.com>
13086 Jim Blandy <jimb@codesourcery.com>
13087
13088 * Makeconfig (run-via-rtld-prefix): New variable.
13089 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13090 (built-program-cmd): Likewise.
13091
b4b4c296
AJ
130922012-10-22 Andreas Jaeger <aj@suse.de>
13093
13094 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13095 __O_RSYNC if it exists, otherwise to O_SYNC.
13096
6fb54a22
JB
130972012-10-22 Jim Blandy <jimb@codesourcery.com>
13098 Joseph Myers <joseph@codesourcery.com>
13099
13100 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13101 /dev/null.
13102 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13103 from /dev/null
13104 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13105 /dev/null.
13106
481b90b9
AJ
131072012-10-22 Andreas Jaeger <aj@suse.de>
13108
2a0e2669
AJ
13109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13110 Define always.
13111 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13112
76e38f9a
AJ
13113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13114 bits/fcntl-linux.h.
13115
7cd37b43
AJ
13116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13117 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13118
481b90b9
AJ
13119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13120 to __O_LARGEFILE.
13121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13122 to __O_LARGEFILE.
13123
aba75984
JB
131242012-10-21 Jim Blandy <jimb@codesourcery.com>
13125 Joseph Myers <joseph@codesourcery.com>
13126
13127 * config.make.in (NM): New variable.
13128
88d4247f
AJ
131292012-10-21 Andreas Jaeger <aj@suse.de>
13130
13131 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13132 definitions and declarations that are provided by
13133 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13134
f2eed205
L
131352012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13136
13137 [BZ #14683]
13138 * elf/Makefile (tests-static): Add tst-leaks1-static.
13139 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13140 ($(objpfx)tst-leaks1-static): New rule.
13141 ($(objpfx)tst-leaks1-static-mem): Likewise.
13142 (tst-leaks1-static-ENV): New macro.
13143 * elf/dl-open.c (dl_open_worker): Check the main application
13144 only if SHARED is defined.
13145 * elf/tst-leaks1-static.c: New file.
13146
335e6931
AJ
131472012-10-20 Andreas Jaeger <aj@suse.de>
13148
13149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13150 generic values for Linux.
13151 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13152 and declarations that are provided by <bits/fcntl-linux.h> and
13153 include <bits/fcntl-linux.h>.
13154 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13156
ac5c94d3
RM
131572012-10-20 Roland McGrath <roland@hack.frob.com>
13158
13159 * io/fcntl.h: Move include of <bits/types.h> to the top and
13160 include it unconditionally.
13161
de54b33a
L
131622012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13163
228cfb01
L
13164 * wcsmbs/Makefile (tests-ifunc): New variable.
13165 (tests): Add $(tests-ifunc).
13166 * wcsmbs/test-wcschr-ifunc.c: New file.
13167 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13168 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13169 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13170 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13171 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13172
69f07e5f
L
13173 * string/Makefile (tests-ifunc): New variable.
13174 (tests): Add $(tests-ifunc).
13175 * string/test-memccpy.c (TEST_NAME): New macro.
13176 * string/test-memchr.c (TEST_NAME): Likewise.
13177 * string/test-memcmp.c (TEST_NAME): Likewise.
13178 * string/test-memcpy.c (TEST_NAME): Likewise.
13179 * string/test-memmem.c (TEST_NAME): Likewise.
13180 * string/test-memmove.c (TEST_NAME): Likewise.
13181 * string/test-memset.c (TEST_NAME): Likewise.
13182 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13183 * string/test-stpcpy.c (TEST_NAME): Likewise.
13184 * string/test-stpncpy.c (TEST_NAME): Likewise.
13185 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13186 * string/test-strcasestr.c (TEST_NAME): Likewise.
13187 * string/test-strcat.c (TEST_NAME): Likewise.
13188 * string/test-strchr.c (TEST_NAME): Likewise.
13189 * string/test-strcmp.c(TEST_NAME): Likewise.
13190 * string/test-strcpy.c (TEST_NAME): Likewise.
13191 * string/test-strcspn.c (TEST_NAME): Likewise.
13192 * string/test-strlen.c (TEST_NAME): Likewise.
13193 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13194 * string/test-strncmp.c (TEST_NAME): Likewise.
13195 * string/test-strncpy.c (TEST_NAME): Likewise.
13196 * string/test-strnlen.c (TEST_NAME): Likewise.
13197 * string/test-strpbrk.c (TEST_NAME): Likewise.
13198 * string/test-strrchr.c (TEST_NAME): Likewise.
13199 * string/test-strspn.c (TEST_NAME): Likewise.
13200 * string/test-strstr.c (TEST_NAME): Likewise.
13201 * string/test-bcopy-ifunc.c: New file.
13202 * string/test-bzero-ifunc.c: Likewise.
13203 * string/test-memccpy-ifunc.c: Likewise.
13204 * string/test-memchr-ifunc.c: Likewise.
13205 * string/test-memcmp-ifunc.c: Likewise.
13206 * string/test-memcpy-ifunc.c: Likewise.
13207 * string/test-memmem-ifunc.c: Likewise.
13208 * string/test-memmove-ifunc.c: Likewise.
13209 * string/test-mempcpy-ifunc.c: Likewise.
13210 * string/test-memset-ifunc.c: Likewise.
13211 * string/test-rawmemchr-ifunc.c: Likewise.
13212 * string/test-stpcpy-ifunc.c: Likewise.
13213 * string/test-stpncpy-ifunc.c: Likewise.
13214 * string/test-strcasecmp-ifunc.c: Likewise.
13215 * string/test-strcasestr-ifunc.c: Likewise.
13216 * string/test-strcat-ifunc.c: Likewise.
13217 * string/test-strchr-ifunc.c: Likewise.
13218 * string/test-strchrnul-ifunc.c: Likewise.
13219 * string/test-strcmp-ifunc.c: Likewise.
13220 * string/test-strcpy-ifunc.c: Likewise.
13221 * string/test-strcspn-ifunc.c: Likewise.
13222 * string/test-strlen-ifunc.c: Likewise.
13223 * string/test-strncasecmp-ifunc.c: Likewise.
13224 * string/test-strncat-ifunc.c: Likewise.
13225 * string/test-strncmp-ifunc.c: Likewise.
13226 * string/test-strncpy-ifunc.c: Likewise.
13227 * string/test-strnlen-ifunc.c: Likewise.
13228 * string/test-strpbrk-ifunc.c: Likewise.
13229 * string/test-strrchr-ifunc.c: Likewise.
13230 * string/test-strspn-ifunc.c: Likewise.
13231 * string/test-strstr-ifunc.c: Likewise.
13232
de54b33a
L
13233 * debug/Makefile (tests-ifunc): New variable.
13234 (tests): Add $(tests-ifunc).
13235 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13236 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13237 * debug/test-stpcpy_chk-ifunc.c: New file.
13238 * debug/test-strcpy_chk-ifunc.c: Likewise.
13239
88481c16
SP
132402012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13241
13242 [BZ #13601]
13243 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13244 header is not read in.
13245
135948bd
JM
132462012-10-19 Joseph Myers <joseph@codesourcery.com>
13247
89f1c388
JM
13248 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13249 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13250 directly. Pass built executable to script as
13251 $(built-program-cmd).
13252 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13253 $testprogram without using LD_LIBRARY_PATH and $ldso.
13254
e40a0d21
JM
13255 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13256 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13257 $(rtld-installed-name).
13258 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13259 (rtld_installed_name): Likewise.
13260 (library_path): Likewise.
13261 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13262 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13263 $(run-program-prefix) to tst-tables.sh.
13264 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13265 it to run tst-table-from and tst-table-to.
13266 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13267 Pass it to tst-table.sh.
13268 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13269 $(run-program-prefix) to tst-gettext.sh.
13270 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13271 tst-translit.sh.
13272 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13273 tst-gettext2.sh.
13274 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13275 to run tst-gettext.
13276 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13277 to run tst-gettext2.
13278 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13279 to run tst-translit.
13280 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13281 $(run-program-prefix) to tst-mtrace.sh.
13282 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13283 to run tst-mtrace.
13284 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13285 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13286 $(rtld-installed-name).
13287 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13288 (rtld_installed_name): Likewise.
13289 (run_program_prefix): New variable. Use it to run wordexp-test.
13290
728e272a
JM
13291 * Makeconfig (ARCH): Remove all definitions.
13292 (machine): Likewise.
13293 [ARCH]: Remove conditional code.
13294 [!objdir]: Give error.
13295 [!objdir] (objpfx): Remove.
13296 [!objdir] (common-objpfx): Likewise.
13297 [!objdir] (common-objdir): Likewise.
13298 * configure.in (config_makefile): Remove. Hardcode Makefile in
13299 AC_CONFIG_FILES call.
13300 * configure: Regenerated.
13301
d528cdcf
JM
13302 [BZ #13888]
13303 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13304 or TMPDIR.
13305 (testout): Likewise.
13306
135948bd
JM
13307 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13308 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13309 $(rtld-installed-name).
13310 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13311 (rtld_installed_name): Likwise.
13312 (runit): Remove function.
13313 (run_getconf): New variable, Use it for running getconf binary.
13314
38c78296
L
133152012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13316
13317 [BZ #14716]
13318 * string/test-memmem.c (check_result): New function.
13319 (do_one_test): Use it.
13320 (check1): New function.
13321 (test_main): Use it.
13322
d077f65f
MT
133232012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13324
13325 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13326
ced52c71
JM
133272012-10-18 Joseph Myers <joseph@codesourcery.com>
13328
13329 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13330 (_G_LSEEK64): Likewise.
13331 (_G_MMAP64): Likewise.
13332 (_G_FSTAT64): Likewise.
13333 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13334 (_G_LSEEK64): Likewise.
13335 (_G_MMAP64): Likewise.
13336 (_G_FSTAT64): Likewise.
13337 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13338 unconditional. Call __mmap64 directly.
13339 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13340 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13341 __lseek64 directly.
13342 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13343 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13344 __mmap64 directly.
13345 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13346 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13347 __lseek64 directly.
13348 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13349 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13350 __lseek64 directly.
13351 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13352 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13353 __lseek64 directly.
13354 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13355 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13356 __fxstat64 directly.
13357 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13358 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13359 unconditional.
13360 (freopen64) [!_G_OPEN64]: Remove conditional code.
13361 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13362 unconditional.
13363 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13364 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13365 unconditional.
13366 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13367 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13368 unconditional.
13369 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13370 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13371 unconditional.
13372 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13373 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13374 unconditional.
13375 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13376 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13377 unconditional.
13378 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13379 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13380 unconditional.
13381 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13382
b741de23
SP
133832012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13384
13385 [BZ #12140]
13386 * manual/memory.texi (Malloc Tunable Parameters): Add note
13387 about free list pointers overwriting some perturb bytes.
13388 Wording suggested by Roland McGrath.
13389
f9b9d9c9
JM
133902012-10-17 Joseph Myers <joseph@codesourcery.com>
13391
13392 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13393 (lgamma_test): Likewise.
13394 (tgamma_test): Likewise.
13395
172a631a
FW
133962012-10-16 Florian Weimer <fweimer@redhat.com>
13397
13398 [BZ #14700]
13399 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13400 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13401
e9f37252
MK
134022012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13403
13404 * NEWS: Mention BZ #14716.
13405 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13406 when removing AVAILABLE1_USES_J macro.
13407
d394eb74
L
134082012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13409
13410 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13411 (__bswap_64): __uint64_t for unsigned 64-bit int.
13412
ca38dc17
AS
134132012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13414
13415 * include/string.h (memmem): Declare libc hidden alias.
13416 * string/memmem.c (memmem): Define libc hidden alias.
13417 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13418 __read, __close instead of open, read, close.
13419
9a387d1f
L
134202012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13421
ac49ecaf
L
13422 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13423 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13424 global and hidden.
13425 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13426 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13427 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13428 Likewise.
13429 (__rawmemchr_sse2): Likewise.
13430 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13431 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13432 (__strchr_sse2): Likewise.
13433 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13434 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13435 (__strcasecmp_sse2): Likewise.
13436 (__strncasecmp_sse2): Likewise.
13437 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13438 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13439 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13440 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13441 (__strrchr_sse2): Likewise.
13442 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13443 ifunc-impl-list.c.
13444 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13445 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13446 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13447 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13448 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13449 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13450 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13451 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13452 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13453 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13454 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13455 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13456 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13457 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13458 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13459 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13460 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13461 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13462 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13463 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13464 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13465 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13466 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13467 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13468 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13469 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13470 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13471 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13472 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13473 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13474
b090e8ea
L
13475 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13476 global and hidden.
13477 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13478 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13479 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13480 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13481 Likewise.
13482 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13483 Likewise.
13484 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13485 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13486 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13487 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13488 ifunc-impl-list.c.
13489 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13490 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13491 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13492 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13493 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13494 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13495 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13496 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13497 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13498 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13502 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13503 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13504 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13505 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13506 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13507 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13508 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13509 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13514 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13515 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13516 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13517 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13518 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13519 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13520 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13521 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13522 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13523 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13524 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13525 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13526 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13527 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13528 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13529 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13530
11dd4af6
L
13531 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13532 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13533 * include/ifunc-impl-list.h: New file.
13534 * misc/ifunc-impl-list.c: Likewise.
13535 * misc/Makefile (routines): Add ifunc-impl-list.
13536 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13537 * string/test-string.h: Include <ifunc-impl-list.h>.
13538 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13539 impl_array): New variables.
13540 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13541 are defined.
13542 (test_init): Call __libc_ifunc_impl_list to initialize
13543 func_list if TEST_IFUNC and TEST_NAME are defined.
13544
9a387d1f
L
13545 * string/Makefile (strop-tests): Add bcopy and bzero.
13546 * string/test-bcopy.c: New file.
13547 * string/test-bzero.c: Likewise.
13548 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13549 defined.
13550 * string/test-memset.c: Support bzero test if TEST_BZERO is
13551 defined.
13552 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13553 __libc_memmove.
13554 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13555 __libc_memset.
13556 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13557 of memset.
13558
472371b9
JM
135592012-10-10 Joseph Myers <joseph@codesourcery.com>
13560
1e4a9536
JM
13561 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13562 * configure: Regenerated.
13563
d173d12e
JM
13564 * Makeconfig (+link-static-before-libc): Don't include
13565 $(link-static-libc).
13566
472371b9
JM
13567 * libio/libio.h (_IO_pos_t): Remove.
13568
89a3ad0b
AO
135692012-10-10 Alexandre Oliva <aoliva@redhat.com>
13570
13571 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13572 McGrath.
13573
e7451425
AO
135742012-10-10 Alexandre Oliva <aoliva@redhat.com>
13575
13576 * crypt/crypt-entry.c: Include fips-private.h.
13577 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13578 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13579 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13580 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13581
4ba74a35
AO
135822012-10-10 Alexandre Oliva <aoliva@redhat.com>
13583
13584 * crypt/crypt-private.h: Include stdbool.h.
13585 (_ufc_setup_salt_r): Return bool.
13586 * crypt/crypt-entry.c: Include errno.h.
13587 (__crypt_r): Return NULL with EINVAL for bad salt.
13588 * crypt/crypt_util.c (bad_for_salt): New.
13589 (_ufc_setup_salt_r): Check that salt is long enough and within
13590 the specified alphabet.
13591 * crypt/badsalttest.c: New file.
13592 * crypt/Makefile (tests): Add it.
13593 ($(objpfx)badsalttest): New.
13594
f96f1242
MK
135952012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13596
13597 * NEWS: Add entry for BZ #14602.
13598
0e8e0c1c
JM
135992012-10-09 Joseph Myers <joseph@codesourcery.com>
13600
13601 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13602 type-generic.
13603 * math/libm-test.inc: Update comment listing what functions and
13604 macros are tested.
13605 (isgreater_test): New function.
13606 (isgreaterequal_test): Likewise.
13607 (isless_test): Likewise.
13608 (islessequal_test): Likewise.
13609 (islessgreater_test): Likewise.
13610 (isunordered_test): Likewise.
13611 (main): Call the new functions.
13612
273edc5e
RM
136132012-10-09 Roland McGrath <roland@hack.frob.com>
13614
b8493de0
RM
13615 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13616 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13617 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13618 * sysdeps/i386/configure: Regenerated.
13619 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13620 * sysdeps/mach/configure: Regenerated.
13621 * sysdeps/mach/hurd/configure: Regenerated.
13622 * sysdeps/powerpc/configure: Regenerated.
13623 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13624 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13625 * sysdeps/s390/s390-32/configure: Regenerated.
13626 * sysdeps/s390/s390-64/configure: Regenerated.
13627 * sysdeps/sh/configure: Regenerated.
13628 * sysdeps/sparc/configure: Regenerated.
13629 * sysdeps/unix/sysv/linux/configure: Regenerated.
13630 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13631 * sysdeps/x86_64/configure: Regenerated.
13632
273edc5e
RM
13633 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13634 defined. Don't check if MAP is NULL.
13635
c8450f70
JM
136362012-10-09 Joseph Myers <joseph@codesourcery.com>
13637
13638 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13639 (_G_stat64): Likewise.
13640 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13641 (_G_stat64): Likewise.
13642 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13643 instead of struct _G_stat64.
13644 * libio/fileops.c (mmap_remap_check): Likewise.
13645 (decide_maybe_mmap): Likewise.
13646 (_IO_new_file_seekoff): Likewise.
13647 (_IO_file_stat): Likewise.
13648 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13649 _G_off64_t.
13650 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13651 instead of struct _G_stat64.
13652 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13653
57e605ba
MK
136542012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13655
13656 [BZ #14602]
13657 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13658 Replace with ...
13659 (CHECK_EOL): New macro.
13660 (two_way_short_needle): Check beginning of haystack for EOL. Use
13661 CHECK_EOL.
13662 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13663 Replace with CHECK_EOL.
13664 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13665 Replace with CHECK_EOL.
13666
ef1bb361
JM
136672012-10-08 Joseph Myers <joseph@codesourcery.com>
13668
13669 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13670 type-generic.
13671 * math/libm-test.inc: Update comment listing what functions and
13672 macros are tested.
13673 (finite_test): New function.
13674 (isinf_test): Likewise.
13675 (isnan_test): Likewise.
13676 (fpclassify_test): Test subnormal input.
13677 (isfinite_test): Likewise.
13678 (isnormal_test): Likewise.
13679 (main): Call the new functions.
13680
55f11534
JN
136812012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13682
13683 [BZ #14660]
13684 * Makerules (%.dynsym): Force C locale when running
13685 $(OBJDUMP) --dynamic-syms.
13686
1ab29350
AS
136872012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13688
13689 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13690 <stdint.h>.
13691
f1ecb7ef
DM
136922012-10-06 David S. Miller <davem@davemloft.net>
13693
13694 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13695 upper 32-bits of the length value in %o2 since we use branch-on-register
13696 tests which consider the entire 64-bit register.
13697
5d41d91a
L
136982012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13699
13700 * string/test-strstr.c (check2): Add a test for page boundary.
13701
3baddb72
DM
137022012-10-05 David S. Miller <davem@davemloft.net>
13703
13704 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13705 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13706 file.
13707 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13708 sysdep_routines.
13709 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13710 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13711 and bzero when HWCAP_SPARC_CRYPTO is present.
13712
9cee5585
L
137132012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13714
d7e0dab9
L
13715 [BZ #14602]
13716 * string/test-strstr.c (check2): New function.
13717 (test_main): Call check2.
13718
03759f47
L
13719 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13720 and bug-strchr1.
13721 * string/bug-strcasestr1.c (do_test): Moved to ...
13722 * string/test-strcasestr.c (check1): Here. New function.
13723 (do_one_test): Break out result checking code into ...
13724 (check_result): This. New function.
13725 (do_one_test): Call check_result.
13726 (test_main): Call check1.
13727 * string/bug-strchr1.c (do_test): Moved to ...
13728 * string/test-strchr.c (check1): Here. New function.
13729 (do_one_test): Break out result checking code into ...
13730 (check_result): This. New function.
13731 (do_one_test): Call check_result.
13732 (test_main): Call check1.
13733 * string/bug-strstr1.c (main): Moved to ...
046f153e 13734 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13735 (do_one_test): Break out result checking code into ...
13736 (check_result): This. New function.
13737 (do_one_test): Call check_result.
13738 (test_main): Call check1.
13739 * string/bug-strcasestr1.c: Removed.
13740 * string/bug-strchr1.c: Likewise.
13741 * string/bug-strstr1.c: Likewise.
13742
53cea63e
L
13743 * elf/Makefile (dl-routines): Add hwcaps.
13744 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13745 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13746 (_dl_important_hwcaps): Moved to ...
13747 * elf/dl-hwcaps.c: Here. New file.
13748 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13749
9cee5585 13750 [BZ #14557]
bb859b06
L
13751 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13752 if IS_IN_rtld isn't defined.
13753
9cee5585
L
13754 * elf/dl-support.c (_dl_sysinfo_map): New.
13755 Include "get-dynamic-info.h" and "setup-vdso.h".
13756 (_dl_non_dynamic_init): Call setup_vdso.
13757 * elf/dynamic-link.h: Don't include <assert.h>.
13758 (elf_get_dynamic_info): Moved to ...
13759 * elf/get-dynamic-info.h: Here. New file.
13760 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13761 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13762 * elf/setup-vdso.h: Here. New file.
13763 * elf/rtld.c: Include "setup-vdso.h".
13764 (dl_main): Call setup_vdso.
13765
23c31b76
JM
137662012-10-05 Joseph Myers <joseph@codesourcery.com>
13767
28234b07
JM
13768 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13769 creal in comment listing functions tested. List finite, isinf,
13770 isnan, isless, islessequal, isgreater, isgreaterequal,
13771 islessgreater, isunordered, lgamma_r and pow10 as functions and
13772 macros not tested. Mention which functions not tested are aliases
13773 for other functions. Fix typo. Note that signs of NaNs are not
13774 tested.
13775
23c31b76
JM
13776 * scripts/config.guess: Update from config.git.
13777 * scripts/config.sub: Likewise.
13778
9043e228
RM
137792012-10-04 Roland McGrath <roland@hack.frob.com>
13780
13781 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13782 * misc/madvise.c (madvise): Renamed to __madvise.
13783 Make madvise a weak alias.
13784 * include/sys/mman.h: Declare __madvise.
13785 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13786 * sysdeps/unix/syscalls.list
13787 (madvise): Make __madvise the strong name, and madvise a weak alias.
13788 * sysdeps/unix/sysv/linux/syscalls.list
13789 (madvise, mmap): Remove redundant entries.
13790 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13791 * malloc/malloc.c (mtrim): Likewise.
13792 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13793
f57f8055
RM
137942012-10-03 Roland McGrath <roland@hack.frob.com>
13795
13796 * sysdeps/mach/hurd/dl-cache.c: File removed.
13797 * config.h.in (USE_LDCONFIG): New #undef.
13798 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13799 * configure: Regenerated.
13800 * elf/Makefile (dl-routines): Add dl-cache only under
13801 [$(use-ldconfig) = yes].
13802 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13803 cache on [USE_LDCONFIG].
13804 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13805 [USE_LDCONFIG].
13806 * elf/rtld.c (dl_main): Likewise.
13807
5bb0c10a
PT
138082012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13809
13810 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13811 _SC_LEVEL4_CACHE_LINESIZE.
13812
010188c6
RM
138132012-10-03 Roland McGrath <roland@hack.frob.com>
13814
13815 * sysdeps/unix/bsd/confstr.h: File removed.
13816
b6c5ec07
AO
138172012-10-02 Alexandre Oliva <aoliva@redhat.com>
13818
13819 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13820 sys/sdt-config.h.
13821
408223d4
RM
138222012-10-02 Roland McGrath <roland@hack.frob.com>
13823
13824 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13825 Make 'mapoff' field ElfW(Off) rather than off_t.
13826
bb9510dc
DL
138272012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13828
fc997c6e
DL
13829 * nscd/Makefile: Remove nscd-cflags and all its users.
13830 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13831 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13832
bb9510dc
DL
13833 [BZ #10631]
13834 * malloc.c (malloc_printerr): Clarify error message.
13835
05699367
L
138362012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13837
13838 [BZ #14648]
13839 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13840 Set bit_FMA_Usable if FMA is supported.
13841 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13842 macro.
13843 (bit_FMA4_Usable): Updated.
13844 (index_FMA_Usable): New macro.
13845 (CPUID_FMA): Likewise
13846 (HAS_FMA): Defined with bit_FMA_Usable.
13847
51367701
RM
138482012-10-01 Roland McGrath <roland@hack.frob.com>
13849
13850 * bits/types.h (__swblk_t): Type removed.
13851 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13852 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13853 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13854 (__SWBLK_T_TYPE): Likewise.
13855 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13856 (__SWBLK_T_TYPE): Likewise.
13857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13858 (__SWBLK_T_TYPE): Likewise.
13859 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13860 (__SWBLK_T_TYPE): Likewise.
13861
4d57bf63 138622012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13863 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13864
13865 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13866 (xdr_mapname): Use YPMAXMAP as maxsize.
13867 (xdr_peername): Use YPMAXPEER as maxsize.
13868 (xdr_keydat): Use YPAXRECORD as maxsize.
13869 (xdr_valdat): Use YPMAXRECORD as maxsize.
13870
93c65d43
RM
138712012-10-01 Roland McGrath <roland@hack.frob.com>
13872
497a03d6
RM
13873 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13874
93c65d43
RM
13875 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13876 * csu/init-first.c: ... here.
13877 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13878 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13879 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13881 * sysdeps/i386/init-first.c: File removed.
13882 * sysdeps/sh/init-first.c: File removed.
13883
bec749fd
JM
138842012-10-01 Joseph Myers <joseph@codesourcery.com>
13885
13886 [BZ #14645]
13887 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13888 if x * y might underflow to zero and z is zero.
13889 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13890 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13891 * math/libm-test.inc (min_subnorm_value): New variable.
13892 (fma_test): Add more tests.
13893 (fma_test_towardzero): Likewise.
13894 (fma_test_downward): Likewise
13895 (fma_test_upward): Likewise.
13896 (initialize): Set min_subnorm_value.
13897
8ec5b013
JM
138982012-09-29 Joseph Myers <joseph@codesourcery.com>
13899
13900 [BZ #14638]
13901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13902 0 + 0.
13903 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13904 mode for addition resulting in exact zero.
13905 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13906 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13907 exact 0 + 0.
13908 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13909 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13910 * math/libm-test.inc (fma_test): Add more tests.
13911 (fma_test_towardzero): New function.
13912 (fma_test_downward): Likewise.
13913 (fma_test_upward): Likewise.
13914 (main): Call the new functions.
13915
b1fa802e
DM
139162012-09-28 David S. Miller <davem@davemloft.net>
13917
13918 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13919
d3b9fd9e
RM
139202012-09-28 Roland McGrath <roland@hack.frob.com>
13921
ea4d37b3
RM
13922 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13923 instead of SIGALRM.
13924
ac51c949
RM
13925 * sysdeps/gnu/_G_config.h: Moved to ...
13926 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13927 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13928 * sysdeps/generic/_G_config.h: ... here.
13929
28c195f7
RM
13930 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13931
848917f9
RM
13932 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13933
6bacf05b
RM
13934 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13935 Conditionalize target on [libnss_test1.so-version].
13936
91363dbb
RM
13937 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13938
cc87f7d8
RM
13939 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13940 (elfobjdir): Move out of conditionals.
13941
b1c608fe
RM
13942 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13943 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13944 (__nss_lookup_function): Conditionalize label remove_from_tree on
13945 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13946
1d9a6d96
DM
139472012-09-28 David S. Miller <davem@davemloft.net>
13948
13949 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13950 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13951 file.
13952 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13953 sysdep_routines.
13954 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13956 when HWCAP_SPARC_CRYPTO is present.
13957
72581615
PT
139582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13959
13960 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13961
715a900c
JL
139622012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13963
13964 [BZ #6530]
13965 * stdio-common/vfprintf.c (process_string_arg): Revert
13966 2000-07-22 change.
13967
139682011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13969
13970 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13971 for testcase.
13972 * stdio-common/tst-sprintf.c: Include <locale.h>
13973 (main): Test sprintf's handling of incomplete multibyte
13974 characters.
13975
9bac1d86
L
139762012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13977
13978 * elf/dl-runtime.c (VERSYMIDX): Removed.
13979 * elf/dl-version.c (VERSYMIDX): Likewise.
13980 * elf/do-rel.h (VERSYMIDX): Likewise.
13981 (VALIDX): Likewise.
13982 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13983 * elf/rtld.c (VALIDX): Likewise.
13984 (ADDRIDX): Likewise.
9bac1d86
L
13985 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13986 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13987 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13988 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13989 (VALIDX): Likewise.
13990 (ADDRIDX): Likewise.
9bac1d86 13991
b31606c0
PT
139922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13993
13994 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13995
11541177
JL
139962012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13997
13998 [BZ #11438]
13999 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14000 to global scope.
14001 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14002 addresses are in the same scope as 192.0.2/24.
14003 * posix/gai.conf: Document new scope table defaults.
14004
adb26fae
SP
140052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14006
14007 [BZ #5298]
14008 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14009 for ftell. Compute offsets from write pointers instead.
14010 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14011
4573c6b0
SP
140122012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14013
14014 [BZ #14543]
14015 * libio/Makefile (tests): New test case tst-fseek.
14016 * libio/tst-fseek.c: New test case to verify that fseek/ftell
14017 combination works in wide mode.
14018 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14019 state when the external buffer state changes.
14020
aa9bbfe6
DM
140212012-09-27 David S. Miller <davem@davemloft.net>
14022
14023 [BZ #14376]
14024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14025 pass reloc->r_addend in as the 'high' argument to
14026 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14027
784421e7
DM
14028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14029
c39bc8b8
PT
140302012-09-28 Pino Toscano <toscano.pino@tiscali.it>
14031
14032 * rt/tst-aio2.c: Include <pthread.h>.
14033 * rt/tst-aio3.c: Likewise.
14034
1ccc2399
SE
140352012-09-27 Steve Ellcey <sellcey@mips.com>
14036
14037 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14038
31ed4153
L
140392012-09-27 H.J. Lu <hongjiu.lu@intel.com>
14040
25f5f885
L
14041 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14042 contents on [SHARED].
31ed4153 14043
b7bfe116
MP
140442012-09-26 Marek Polacek <polacek@redhat.com>
14045
14046 [BZ #14530]
14047 [BZ #13741]
14048 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14049 for C++ and GCC <4.3 as well as for non GCC compilers.
14050
43c4edba
MT
140512012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14052
14053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14054
6a1bf82f
RM
140552012-09-25 Roland McGrath <roland@hack.frob.com>
14056
14057 * Makefile.in (all, install): Declare with .PHONY.
14058 Reported by Michael Hope <michael.hope@linaro.org>.
14059
8ad11b9a
TMQMF
140602012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14061
14062 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14063 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14064 system header.
14065 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14066 Likewise.
14067 (sydep_routines): Add the new and the internal functions.
14068 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14069 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14071 (GLIBC_2.17): Add the new function.
14072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14073 (GLIBC_2.17): Likewise.
14074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14075 (GLIBC_2.17): Likewise.
14076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14077 (GLIBC_2.17): Likewise.
14078 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14079
7e2fca8d
AM
140802012-09-25 Alan Modra <amodra@gmail.com>
14081
14082 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14083 Add release barrier before setting once_control to say
14084 initialisation is done. Add hints on lwarx. Use macro in
14085 place of isync.
14086 (clear_once_control): Add release barrier.
14087
b87c4b24
JM
140882012-09-25 Joseph Myers <joseph@codesourcery.com>
14089
d032e0d2
JM
14090 [BZ #13629]
14091 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14092 specially.
14093 * math/s_clog10.c (__clog10): Likewise.
14094 * math/s_clog10f.c (__clog10f): Likewise.
14095 * math/s_clog10l.c (__clog10l): Likewise.
14096 * math/s_clogf.c (__clogf): Likewise.
14097 * math/s_clogl.c (__clogl): Likewise.
14098 * math/Makefile (libm-calls): Add x2y2m1.
14099 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14100 (__x2y2m1): Likewise.
14101 (__x2y2m1l): Likewise.
14102 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14103 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14104 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14106 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14107 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14108 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14109 * sysdeps/i386/fpu/libm-test-ulps: Update.
14110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14111
b87c4b24
JM
14112 [BZ #14621]
14113 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14114 int as type of variable DEPTH.
14115 (glob): Use size_t instead of int as type of variables NEWCOUNT
14116 and OLD_PATHC.
14117
6d3bf199
LD
141182012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14119
22bf5c17
LD
14120 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14121 Add s_sincosf-sse2.
14122 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14123 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14124 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14125 macros for using routine as __sincosf_ia32.
14126 Use macro for function declaration and weak_alias.
14127 * sysdeps/i386/fpu/libm-test-ulps: Update.
14128
14129 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14130 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14131
14132 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14133 subnormal argument.
14134 * math/s_cexpf.c (__cexpf): Likewise.
14135 * math/s_csinf.c (__csinf): Likewise.
14136 * math/s_csinhf.c (__csinhf): Likewise.
14137 * math/s_ctanf.c (__ctanf): Likewise.
14138 * math/s_ctanhf.c (__ctanhf): Likewise.
14139 * math/s_ccosh.c (__ccoshf): Likewise.
14140 * math/s_cexp.c (__cexpl): Likewise.
14141 * math/s_csin.c (__csin): Likewise.
14142 * math/s_csinh.c (__csinh): Likewise.
14143 * math/s_ctan.c (__ctan): Likewise.
14144 * math/s_ctanh.c (ctanh): Likewise.
14145 * math/s_ccoshl.c (__ccoshl): Likewise.
14146 * math/s_cexpl.c (__cexpl): Likewise.
14147 * math/s_csinl.c (__csinl): Likewise.
14148 * math/s_csinhl.c (__csinhl): Likewise.
14149 * math/s_ctanl.c (__ctanl): Likewise.
14150 * math/s_ctanhl.c (__ctanhl): Likewise.
14151
203e5603
JM
141522012-09-25 Joseph Myers <joseph@codesourcery.com>
14153
14154 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14155 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14156 (_IO_off_t): Define to __off_t, not _G_off_t.
14157 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14158 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14159 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14160 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14161 type of __dummy and __dummy2 fields.
14162 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14163 (_G_ssize_t): Likewise.
14164 (_G_off_t): Likewise.
14165 (_G_pid_t): Likewise.
14166 (_G_uid_t): Likewise.
14167 (_G_wchar_t): Likewise.
14168 (_G_wint_t): Likewise.
14169 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14170 (_G_ssize_t): Likewise.
14171 (_G_off_t): Likewise.
14172 (_G_pid_t): Likewise.
14173 (_G_uid_t): Likewise.
14174 (_G_wchar_t): Likewise.
14175 (_G_wint_t): Likewise.
14176 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14177 (_G_ssize_t): Likewise.
14178 (_G_off_t): Likewise.
14179 (_G_pid_t): Likewise.
14180 (_G_uid_t): Likewise.
14181 (_G_wchar_t): Likewise.
14182 (_G_wint_t): Likewise.
14183
9fab36eb
SP
141842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14185
14186 * malloc/arena.c: Include malloc-sysdep.h.
14187 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14188 is sufficient to shrink the heap or an unmap is needed.
14189 * sysdeps/generic/malloc-sysdep.h: New file. Define
14190 new function check_may_shrink_heap.
14191 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14192 new function check_may_shrink_heap.
14193
2b4f00d1
SP
141942012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14195
14196 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14197 comments.
14198
9a9028b1
DL
141992012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14200
57c69bef
DL
14201 * catgets/test-gencat.sh: Add "set -e".
14202 * elf/tst-pathopt.sh: Likewise.
14203 * grp/tst_fgetgrent.sh: Likewise.
14204 * iconvdata/run-iconv-test.sh: Likewise.
14205 * intl/tst-gettext.sh: Likewise.
14206 * intl/tst-gettext2.sh: Likewise.
14207 * intl/tst-gettext4.sh: Likewise.
14208 * intl/tst-gettext6.sh: Likewise.
14209 * intl/tst-translit.sh: Likewise.
14210 * io/ftwtest-sh: Likewise.
14211 * libio/test-freopen.sh: Likewise.
14212 * malloc/tst-mtrace.sh: Likewise.
14213 * posix/globtest.sh: Likewise.
14214 * posix/tst-getconf.sh: Likewise.
14215 * posix/wordexp-tst.sh: Likewise.
14216 * stdio-common/tst-printf.sh: Likewise.
14217 * stdio-common/tst-unbputc.sh: Likewise.
14218 * stdlib/tst-fmtmsg.sh: Likewise.
14219 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14220 * catgets/Makefile: Do not specify -e option when running
14221 testsuite shell scripts.
14222 * elf/Makefile: Likewise.
14223 * grp/Makefile: Likewise.
14224 * iconvdata/Makefile: Likewise.
14225 * intl/Makefile: Likewise.
14226 * io/Makefile: Likewise.
14227 * libio/Makefile: Likewise.
14228 * malloc/Makefile: Likewise.
14229 * posix/Makefile: Likewise.
14230 * stdio-common/Makefile: Likewise.
14231 * stdlib/Makefile: Likewise.
14232 * sysdeps/x86_64/Makefile: Likewise.
14233
9a9028b1
DL
14234 * io/ftwtest-sh: Add copyright header.
14235 * posix/globtest.sh: Likewise.
14236 * posix/tst-getconf.sh: Likewise.
14237 * posix/wordexp-tst.sh: Likewise.
14238 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14239
ced6f16e
L
142402012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14241
94b32c39
L
14242 [BZ #13679]
14243 * Makeconfig (+link): Defined as $(+link-static) if
14244 $(build-shared) isn't yes.
14245 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14246 isn't yes.
14247 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14248
189e935b
L
14249 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14250
ced6f16e
L
14251 [BZ #14562]
14252 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14253 new chunk size with MALLOC_ALIGN_MASK.
14254
a9f8e53a
JM
142552012-09-24 Joseph Myers <joseph@codesourcery.com>
14256
14257 [BZ #5044]
14258 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14259 <rounding-mode.h>.
14260 (__printf_fphex): Determine rounding using get_rounding_mode and
14261 round_away.
14262 * stdio-common/tst-printf-round.c (struct hex_test): New
14263 structure.
14264 (hex_tests): New variable.
14265 (test_hex_in_one_mode): New function.
14266 (do_test): Also run tests for hex float output.
14267
43153109
JM
142682012-09-21 Joseph Myers <joseph@codesourcery.com>
14269
14270 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14271 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14272 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14273 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14274 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14275 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14276 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14277 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14278
8a26625d
JM
142792012-09-20 Joseph Myers <joseph@codesourcery.com>
14280
14281 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14282 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14283 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14284 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14285
f3fd569c
DL
142862012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14287
14288 [BZ #14579]
14289 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14290 mode only.
14291 * elf/tst-rtld-load-self.sh: New test.
14292 * elf/Makefile: Run it.
14293
63bbedd4
JM
142942012-09-18 Joseph Myers <joseph@codesourcery.com>
14295
14296 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14297 (tst-writev-ENV): Remove.
14298 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14299
626f8b6a
CM
143002012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14301
14302 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14303
b7aaa4d6
JM
143042012-09-17 Joseph Myers <joseph@codesourcery.com>
14305
14306 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14307 unconditional.
14308 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14309 Likewise.
14310 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14311 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14312 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14313 Likewise.
14314
65513990
L
143152012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14316
14317 [BZ #14587]
14318 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14319 * config.make.in (have-cpp-asm-debuginfo): Removed.
14320 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14321 * configure: Regenerated.
14322
784761be
JM
143232012-09-14 Joseph Myers <joseph@codesourcery.com>
14324
14325 [BZ #5044]
14326 * stdio-common/printf_fp.c: Include <stdbool.h> and
14327 <rounding-mode.h>.
14328 (___printf_fp): Determine rounding using get_rounding_mode and
14329 round_away.
14330 * stdio-common/tst-printf-round.c: New file.
14331 * stdio-common/Makefile (tests): Add tst-printf-round.
14332 (link-libm): New variable.
14333 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14334
9503345f
L
143352012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14336
14337 [BZ #14576]
14338 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14339 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14340 Likewise.
14341 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14342 Likewise.
14343
ad35fc00
JM
143442012-09-13 Joseph Myers <joseph@codesourcery.com>
14345
14346 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14347 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14348 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14349 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14350
6c9b0f68
JM
143512012-09-12 Joseph Myers <joseph@codesourcery.com>
14352
14353 [BZ #14518]
14354 * include/rounding-mode.h: New file.
14355 * sysdeps/generic/get-rounding-mode.h: Likewise.
14356 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14357 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14358 (MAX_VALUE): New macro.
14359 (MIN_VALUE): Likewise.
14360 (overflow_value): New function.
14361 (underflow_value): Likewise.
14362 (round_and_return): Use overflow_value and underflow_value to
14363 determine return values in overflow and underflow cases. Use
14364 round_away to determine rounding depending on rounding mode.
14365 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14366 determine return values in overflow and underflow cases.
14367 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14368 (struct test_results): New structure.
14369 (struct test): Use struct test_results to store expected results
14370 for all rounding modes.
14371 (TEST): Include expected results for all rounding modes.
14372 (test_in_one_mode): New function.
14373 (do_test): Use test_in_one_mode to compute and check results.
14374 Check results for all rounding modes.
14375 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14376 $(link-libm).
14377
19fcedd5
AM
143782012-12-09 Allan McRae <allan@archlinux.org>
14379
1e9d84cd 14380 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14381
8bbfd2f1
JM
143822012-09-11 Joseph Myers <joseph@codesourcery.com>
14383
14384 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14385 (_G_int32_t): Likewise.
14386 (_G_uint16_t): Likewise.
14387 (_G_uint32_t): Likewise.
14388 (_G_HAVE_BOOL): Likewise.
14389 (_G_HAVE_ATEXIT): Likewise.
14390 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14391 (_G_HAVE_IO_FILE_OPEN): Likewise.
14392 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14393 (_G_int32_t): Likewise.
14394 (_G_uint16_t): Likewise.
14395 (_G_uint32_t): Likewise.
14396 (_G_HAVE_BOOL): Likewise.
14397 (_G_HAVE_ATEXIT): Likewise.
14398 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14399 (_G_HAVE_IO_FILE_OPEN): Likewise.
14400 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14401 (_G_int32_t): Likewise.
14402 (_G_uint16_t): Likewise.
14403 (_G_uint32_t): Likewise.
14404 (_G_HAVE_BOOL): Likewise.
14405 (_G_HAVE_ATEXIT): Likewise.
14406 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14407 (_G_HAVE_IO_FILE_OPEN): Likewise.
14408
b1dc5912
L
144092012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14410
14411 * csu/libc-tls.c: Update copyright years.
14412
0e886ef9
JM
144132012-09-10 Joseph Myers <joseph@codesourcery.com>
14414
28361c5e
JM
14415 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14416 [!_G_USING_THUNKS]: Remove conditional code.
14417 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14418 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14419
0e886ef9
JM
14420 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14421 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14422 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14423 (_G_VTABLE_LABEL_PREFIX): Likewise.
14424 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14425 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14426 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14427 (_G_VTABLE_LABEL_PREFIX): Likewise.
14428 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14429 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14430 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14431 (_G_VTABLE_LABEL_PREFIX): Likewise.
14432 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14433
bcba7aa2
L
144342012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14435
14436 * libio/Makefile: Include ../Makeconfig before tests.
14437 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14438 only if $(build-shared) is yes.
14439
06585ee8
L
14440 * iconv/gconv_db.c: Update copyright years.
14441
80ccd52c
LD
144422012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14443
14444 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14445 unwind info if defined PIC. Fix special cases description.
14446 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14447
14448 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14449 DP_HI_MASK entry.
14450 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14451
691bc9c1
L
144522012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14453
3d9b46b3
L
14454 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14455
de2139a9
L
14456 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14457 is NULL.
14458
5ca78dd0
L
14459 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14460 (LDLIBS-tst-chk4): This.
14461 (LDFLAGS-tst-chk5): Renamed to ...
14462 (LDLIBS-tst-chk5): This.
14463 (LDFLAGS-tst-chk6): Renamed to ...
14464 (LDLIBS-tst-chk6): This.
14465 (LDFLAGS-tst-lfschk4): Renamed to ...
14466 (LDLIBS-tst-lfschk4): This.
14467 (LDFLAGS-tst-lfschk5): Renamed to ...
14468 (LDLIBS-tst-lfschk5): This.
14469 (LDFLAGS-tst-lfschk6): Renamed to ...
14470 (LDLIBS-tst-lfschk6): This.
14471
691bc9c1
L
14472 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14473 on $(common-objpfx)soversions.mk.
14474
65cafb1c
JM
144752012-09-07 Joseph Myers <joseph@codesourcery.com>
14476
14477 [BZ #10014]
14478 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14479 example host name.
14480
c78ab094
SP
144812012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14482
14483 * malloc/arena.c (arena_get_retry): New function that gets
14484 another arena for the caller to try its request on.
14485 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14486 current arena cannot fulfill the request.
14487 (__libc_memalign): Likewise.
14488 (__libc_memalign): Likewise.
14489 (__libc_pvalloc): Likewise.
14490 (__libc_calloc): Likewise.
14491
01f49f59
JT
144922012-09-05 John Tobey <john.tobey@gmail.com>
14493
14494 [BZ #13542]
14495 * manual/arith.texi (Operations on Complex): Fix description
14496 of carg branch cut.
14497
4c23fed5
JM
144982012-09-06 Joseph Myers <joseph@codesourcery.com>
14499
1d3c8572
JM
14500 [BZ #10014]
14501 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14502 host name.
14503
4c23fed5
JM
14504 [BZ #10038]
14505 * manual/memory.texi (Memory): Make order of menu items match
14506 order of sections.
14507
04570aaa
L
145082012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14509
14510 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14511 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14512 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14513
b80af2f4
L
145142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14515
14516 * csu/libc-tls.c (static_dtv): Renamed to ...
14517 (_dl_static_dtv): This. Make it global.
14518 (_dl_initial_dtv): Removed.
14519 (__libc_setup_tls): Updated.
14520 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14521 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14522 DL_INITIAL_DTV.
14523
2abe9f15
PM
145242012-09-06 Petr Machata <pmachata@redhat.com>
14525
14526 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14527 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14528 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14529 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14530
0948c3af
L
145312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14532
14533 [BZ #14545]
14534 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14535 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14536 freeing dtv[-1].
14537
a5055ad1
L
145382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14539
14540 [BZ #14544]
14541 * Makeconfig (link-static-before-libc): Replace $(+prector)
14542 with $(+prectorT).
14543 (link-static-after-libc): Replace $(+postctor) with
14544 $(+postctorT).
14545 (link-bounded): Replace $(+prector)/$(+postctor) with
14546 $(+prectorT)/$(+postctorT).
14547 (+prectorT): New macro.
14548 (+postctorT): Likewise.
14549
ed8c2ecd
JM
145502012-09-06 Joseph Myers <joseph@codesourcery.com>
14551
14552 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14553 (round_str): Handle values above the maximum for IBM long double
14554 as inexact.
14555 * stdlib/tst-strtod-round.c (tests): Regenerated.
14556
14c996c8
AK
145572012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14558
14559 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14560 assembler flag.
14561 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14562 zarch_nohighgprs around the zarch optimized routines.
14563 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14564 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14565 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14566 for zarch.
14567
430d6ce6
DM
145682012-09-05 David S. Miller <davem@davemloft.net>
14569
14570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14571
ff04dda4
DM
14572 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14573 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14574 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14575 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14576 entries.
14577
24d4e01b
AO
145782012-09-05 Alexandre Oliva <aoliva@redhat.com>
14579
14580 * malloc/arena.c: Fold copyright years.
14581 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14582
61d58174
AO
145832012-09-05 Alexandre Oliva <aoliva@redhat.com>
14584
14585 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14586
20196a5e
AO
145872012-09-05 Alexandre Oliva <aoliva@redhat.com>
14588
14589 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14590
5c447383
AO
145912012-09-05 Alexandre Oliva <aoliva@redhat.com>
14592
14593 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14594 change internal state upon failure.
14595
fad64255
AO
145962012-09-05 Alexandre Oliva <aoliva@redhat.com>
14597
14598 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14599 * malloc/memusage.c (mmap): Likewise.
14600 (mmap64, mremap): Likewise. Adjust name in comment.
14601
1ffb8c90
SP
146022012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14603
14604 * libio/fileops.c: Fix typos in comments.
14605 * libio/oldfileops.c: Likewise.
14606 * libio/wfileops.c: Likewise.
14607
6ef9cc37
SP
146082012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14609
14610 [BZ #1349]
14611 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14612 (tst-malloc-usable-ENV): Set environment for test case.
14613 * malloc/hooks.c (malloc_check_get_size): New function to get
14614 requested size.
14615 * malloc/malloc.c (musable): Use malloc_check_get_size.
14616 * malloc/tst-malloc-usable.c: New test case.
14617
4d038ae3
AS
146182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14619
14620 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14621
c4e85184
AM
146222012-09-05 Allan McRae <allan@archlinux.org>
14623
b9dafc56 14624 [BZ #13966]
c4e85184
AM
14625 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14626 determine header location.
14627 * configure: Regenerated.
14628
e1343020
AS
146292012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14630
14631 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14632 float format.
14633 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14634 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14635 format.
e1343020
AS
14636 (test): Regenerate.
14637
0a9f1987
DM
146382012-09-04 David S. Miller <davem@davemloft.net>
14639
14640 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14641 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14642 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14643
29237804
FW
146442012-09-04 Florian Weimer <fweimer@redhat.com>
14645
14646 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14647 failures.
14648
edb3cb88
FW
14649 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14650
60160d83
JM
146512012-09-04 Joseph Myers <joseph@codesourcery.com>
14652
14653 [BZ #9914]
14654 * libio/iogetdelim.c: Include <limits.h>.
14655 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14656 + len + 1 would overflow.
14657
bcd6c8dc
AJ
146582012-09-03 Andreas Jaeger <aj@suse.de>
14659
14660 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14661 * sysdeps/i386/fpu/libm-test-ulps: Update.
14662
4ffffbd2
LD
146632012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14664
14665 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14666 Add s_sinf-sse2, s_conf-sse2.
14667
14668 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14669 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14670 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14671 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14672
14673 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14674 for using routine as __sinf_ia32.
14675 Use macro for function declaration and weak_alias.
14676 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14677 for using routine as __cosf_ia32.
14678 Use macro for function declaration and weak_alias.
14679
14680 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14681 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14682
14683 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14684 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14686
14687 * math/libm-test.inc (cos_test): Add more test cases.
14688 (sin_test): Likewise.
14689 (sincos_test): Likewise.
14690
511fa286
AK
146912012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14692
14693 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14694 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14695 hidden.
14696 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14697
5f30cfec
L
146982012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14699
14700 [BZ #14538]
14701 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14702 first element of the GOT.
14703 (elf_machine_load_address): Return the difference between
14704 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14705
0786794f
AM
147062012-09-01 Allan McRae <allan@archlinux.org>
14707
5f30cfec
L
14708 [BZ #13412]
14709 * configure.in (AWK): Require gawk version 3.0 or later.
14710 * configure: Regenerated.
0786794f 14711
26889eac
JM
147122012-09-01 Joseph Myers <joseph@codesourcery.com>
14713
14714 * sysdeps/unix/sysv/linux/kernel-features.h
14715 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14716 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14717 [__NR_clock_getres]: Make code unconditional.
14718 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14719 (clock_getcpuclockid): Remove code left unreachable by removal of
14720 conditionals.
14721 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14722 code unconditional.
14723 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14724 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14725 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14726 Make code unconditional.
14727 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14728 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14729 * sysdeps/unix/sysv/linux/clock_settime.c
14730 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14731 conditional code.
14732 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14733 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14734
d22e28b0
L
147352012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14736
14737 [BZ #14476]
14738 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14739 scripts/test-installation.pl.
14740
14741 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14742 and $ld_so_version if it is set.
14743
050af9c4
SP
147442012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14745
14746 [BZ #14516]
14747 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14748 failure if reading from procfs failed.
14749 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14750
ad845c0b
JM
147512012-08-27 Joseph Myers <joseph@codesourcery.com>
14752
14753 * sysdeps/unix/sysv/linux/kernel-features.h
14754 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14755 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14756 Remove conditional code.
14757 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14758 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14759 Remove conditional code.
14760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14761 * sysdeps/unix/sysv/linux/i386/fxstat.c
14762 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14764 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14765 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14767 * sysdeps/unix/sysv/linux/i386/lxstat.c
14768 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14770 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14771 Remove conditional code.
14772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14773 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14774 Remove conditional code.
14775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14776 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14777 <kernel-features.h>.
14778 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14779 Remove.
14780 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14781 Remove conditional code.
14782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14783 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14784 Remove conditional.
14785
5dbf56af
MF
147862012-08-27 Mike Frysinger <vapier@gentoo.org>
14787
14788 [BZ #5400]
14789 * NEWS: Add fixed bug number.
14790
d6e70f43
JM
147912012-08-27 Joseph Myers <joseph@codesourcery.com>
14792
7efb4737
JM
14793 [BZ #14519]
14794 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14795 underflowing exponent in case of negative sign.
14796 * stdlib/tst-strtod-round-data: Add more tests.
14797 * stdlib/tst-strtod-round.c (tests): Regenerated.
14798
af92131a
JM
14799 [BZ #3479]
14800 * stdlib/strtod_l.c (NDIG): Remove.
14801 (HEXNDIG): Likewise.
14802 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14803 smallest representable value.
14804 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14805 lie within an exact representation of 1/2 ulp of the result.
14806 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14807 unconditionally.
14808 (TENS_P9_IDX): Define unconditionally.
14809 (TENS_P9_SIZE): Likewise.
14810 (TENS_P10_IDX): Likewise.
14811 (TENS_P10_SIZE): Likewise.
14812 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14813 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14814 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14815 entries for 10^2^13 and 10^2^14.
14816 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14817 (TENS_P13_IDX): Define.
14818 (TENS_P13_SIZE): Likewise.
14819 (TENS_P14_IDX): Likewise.
14820 (TENS_P14_SIZE): Likewise.
14821 (_fpioconst_pow10): Change array size to
14822 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14823 unconditional.
14824 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14825 1024]: Add entries for 10^2^13 and 10^2^14.
14826 [LAST_POW10 > _LAST_POW10]: Remove #error.
14827 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14828 (_fpioconst_pow10): Change array size to
14829 FPIOCONST_POW10_ARRAY_SIZE.
14830 * stdlib/gen-fpioconst.c: New file.
14831 * stdlib/gen-tst-strtod-round.c: Likewise.
14832 * stdlib/tst-strtod-round-data: Likewise.
14833 * stdlib/tst-strtod-round.c: Likewise.
14834 * stdlib/Makefile (tests): Add tst-strtod-round.
14835
d6e70f43
JM
14836 [BZ #14459]
14837 * stdlib/strtod_l.c: Include <stdint.h>.
14838 (NDEBUG): Do not define.
14839 (round_and_return): Change EXPONENT parameter to type intmax_t.
14840 Rearrange calculations to avoid internal overflow possibilities.
14841 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14842 Rearrange calculations to avoid internal overflow possibilities.
14843 Assert that number fits inside MPNSIZE limbs.
14844 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14845 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14846 calculations and add assertions to avoid internal overflow
14847 possibilities. Add casts to avoid signed/unsigned operations.
14848 * stdlib/tst-strtod-overflow.c: New file.
14849 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14850
1f529f7d
MP
148512012-08-25 Marek Polacek <polacek@redhat.com>
14852
14853 * time/time.h: Fix some typos in comments.
14854
59a629f1
RM
148552012-08-23 Roland McGrath <roland@hack.frob.com>
14856
14857 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14858 * posix/tst-rfc3484-2.c: Likewise.
14859 * posix/tst-rfc3484-3.c: Likewise.
14860
d3bafbc9
SM
148612012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14862
14863 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14864 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14865
4efcc022
JM
148662012-08-23 Joseph Myers <joseph@codesourcery.com>
14867
14868 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14869 #include of fxstatat64.c.
14870
3cc3ef96
RM
148712012-08-22 Roland McGrath <roland@hack.frob.com>
14872
f04e2132
RM
14873 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14874 * shadow/getspent_r.c: Likewise.
14875 * shadow/getspnam.c: Likewise.
14876 * shadow/getspnam_r.c: Likewise.
14877 * gshadow/getsgent.c: Likewise.
14878 * gshadow/getsgent_r.c: Likewise.
14879 * gshadow/getsgnam.c: Likewise.
14880 * gshadow/getsgnam_r.c: Likewise.
14881 * inet/getnetbyad.c: Likewise.
14882 * inet/getnetbyad_r.c: Likewise.
14883 * inet/getnetbynm.c: Likewise.
14884 * inet/getnetbynm_r.c: Likewise.
14885 * inet/getnetent.c: Likewise.
14886 * inet/getnetent_r.c: Likewise.
14887 * inet/getproto.c: Likewise.
14888 * inet/getproto_r.c: Likewise.
14889 * inet/getprtent.c: Likewise.
14890 * inet/getprtent_r.c: Likewise.
14891 * inet/getprtname.c: Likewise.
14892 * inet/getprtname_r.c: Likewise.
14893 * inet/getrpcbyname.c: Likewise.
14894 * inet/getrpcbyname_r.c: Likewise.
14895 * inet/getrpcbynumber.c: Likewise.
14896 * inet/getrpcbynumber_r.c: Likewise.
14897 * inet/getrpcent.c: Likewise.
14898 * inet/getrpcent_r.c: Likewise.
14899 * inet/getaliasent.c: Likewise.
14900 * inet/getaliasent_r.c: Likewise.
14901 * inet/getaliasname.c: Likewise.
14902 * inet/getaliasname_r.c: Likewise.
14903 * nscd/getgrgid_r.c: Likewise.
14904 * nscd/getgrnam_r.c: Likewise.
14905 * nscd/gethstbyad_r.c: Likewise.
14906 * nscd/gethstbynm3_r.c: Likewise.
14907 * nscd/getpwnam_r.c: Likewise.
14908 * nscd/getpwuid_r.c: Likewise.
14909 * nscd/getsrvbynm_r.c: Likewise.
14910 * nscd/getsrvbypt_r.c: Likewise.
14911 * nscd/gai.c: Likewise.
14912
c53d909c
RM
14913 * configure.in (build_nscd): New substituted variable, set
14914 by --disable-build-nscd and defaults to $use_nscd.
14915 * configure: Regenerated.
14916 * config.make.in (build-nscd): New substituted variable.
14917 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14918 Change conditional to require [$(build-nscd) = yes] as well.
14919 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14920
3cc3ef96
RM
14921 [BZ# 13696]
14922 * configure.in (use_nscd): New substituted variable, set by
14923 --disable-nscd. If enabled, define USE_NSCD.
14924 * configure: Regenerated.
14925 * config.h.in: Add USE_NSCD.
14926 * config.make.in (use-nscd): New substituted variable.
14927 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14928 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14929 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14930 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14931 (CFLAGS-getgrnam_r.c): Likewise.
14932 (CFLAGS-initgroups.c): Likewise.
14933 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14934 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14935 Variables removed.
14936 * inet/getnetgrent_r.c
14937 (nscd_setnetgrent): New function, broken out of ...
14938 (setnetgrent): ... here. Call it.
14939 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14940 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14941 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14942 * nscd/Makefile (routines, aux): Move definitions after include of
14943 Makeconfig. Conditionalize on [$(use-nscd) != no].
14944 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14945 Conditionalize on [USE_NSCD].
14946 (is_nscd, nscd_init_cb): Likewise.
14947 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14948 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14949 * nss/nss_db/db-init.c: Likewise.
14950 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14951 [USE_NSCD].
14952 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14953 (make_request): Use it.
14954 (cache_valid_p): New function.
14955 (__check_pf): Use it.
14956 * NEWS: Add item for --disable-nscd.
14957
07e51550
DL
149582012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14959
14960 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14961 to support sed >= 4.2.1-20-ga9bf076.
14962 * configure: Regenerated.
14963
35a5b08b
RM
149642012-08-22 Roland McGrath <roland@hack.frob.com>
14965
14966 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14967 Conditionalize whole body on [IREL].
14968
8479f23a
JL
149692012-08-22 Jeff Law <law@redhat.com>
14970
14971 [BZ #14505]
14972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14973 if the family is PF_UNSPEC.
14974
48da0b21
MF
149752012-08-22 Mike Frysinger <vapier@gentoo.org>
14976
14977 * Makerules (lib-version): Rename from V.
14978 (install-lib-nosubdir): Change V to lib-version.
14979
15d0da8c
WS
149802012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14981
14982 [BZ #14252]
14983 * powerpc32/power6/wcschr.c: New file.
14984 * powerpc32/power6/wcscpy.c: New file.
14985 * powerpc32/power6/wcsrchr.c: New file.
14986 * powerpc64/power6/wcschr.c: New file.
14987 * powerpc64/power6/wcscpy.c: New file.
14988 * powerpc64/power6/wcsrchr.c: New file.
14989
bcca0895
MK
149902012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14991
14992 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14993 (two_way_short_needle): Use it.
5a4aaa33
RM
14994 * string/strstr.c (AVAILABLE1_USES_J): Define.
14995 * string/strcasestr.c: Likewise.
99677e57
MK
14996
14997 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14998 array references.
14999 * string/strcasestr.c (TOLOWER): Make side-effect safe.
15000
400726de
MK
15001 [BZ #11607]
15002 * NEWS: Add an entry.
15003 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15004 define their defaults.
15005 (two_way_short_needle): Detect end-of-string on-the-fly.
15006 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15007 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15008 * string/bug-strcasestr1.c: New test.
15009 * string/Makefile: Run it.
15010
20a71f2c
MK
150112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
15012
15013 [BZ #11607]
15014 * string/str-two-way.h (two_way_short_needle): Optimize matching of
15015 the first character.
15016
21ad0558
RM
150172012-08-21 Roland McGrath <roland@hack.frob.com>
15018
15019 * csu/elf-init.c (__libc_csu_irel): Function removed.
15020 * csu/libc-start.c (apply_irel): New function.
15021 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15022
0e1d9911
JM
150232012-08-21 Joseph Myers <joseph@codesourcery.com>
15024
15025 * sysdeps/unix/sysv/linux/kernel-features.h
15026 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15027 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15028 <kernel-features.h>.
15029 [__NR_fadvise64_64]: Make code unconditional.
15030 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15031 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15032 !__NR_fadvise64_64)]: Likewise.
15033 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15034 !__NR_fadvise64_64))]: Likewise.
15035 [__NR_fadvise64]: Make code unconditional.
15036 [!__NR_fadvise64]: Remove conditional code.
15037 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15038 <kernel-features.h>.
15039 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15040 unconditional.
15041 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15042 conditional code.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15044 not include <kernel-features.h>.
15045 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15046 unconditional.
15047 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15048 conditional code.
15049 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15050 include <kernel-features.h>.
15051 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15052 unconditional.
15053 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15054 conditional code.
15055
14a50c9d
WS
150562012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
15057
15058 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15059 slight instruction rearrangements per scrollpipe analysis.
15060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15061
c0f4faf0
RM
150622012-08-20 Roland McGrath <roland@hack.frob.com>
15063
696da859
RM
15064 * manual/syslog.texi (syslog; vsyslog, closelog):
15065 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15066 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15067
c0f4faf0
RM
15068 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15069 DSOCAPS to match condition on defining it.
15070
348363b2
JM
150712012-08-20 Joseph Myers <joseph@codesourcery.com>
15072
a35cbf28
JM
15073 * sysdeps/unix/sysv/linux/kernel-features.h
15074 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15076 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15077 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15079 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15080 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15082 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15083 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15084
445f7ecd
JM
15085 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15086 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15087
348363b2
JM
15088 * sysdeps/unix/sysv/linux/kernel-features.h
15089 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15090 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15091 unconditional.
15092 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15093 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15094 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15095 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15096 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15097 Make code unconditional.
15098 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15099 (__mmap64) [!__NR_mmap2]: Likewise.
15100 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15101 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15102 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15103 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15104 [__NR_mmap2]: Make code unconditional.
15105 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15106 (__mmap64) [!__NR_mmap2]: Likewise.
15107
bc5bc0e5
AK
151082012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15109
15110 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15111
88d506de
AJ
151122012-08-18 Andreas Jaeger <aj@suse.de>
15113
15114 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15115
493387d2
MF
151162012-08-18 Mike Frysinger <vapier@gentoo.org>
15117
15118 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15119 * include/unistd.h (__have_sock_cloexec): Likewise.
15120 (__have_pipe2): Likewise.
15121 (__have_dup3): Likewise.
15122
a277af22
MF
151232012-08-18 Mike Frysinger <vapier@gentoo.org>
15124
15125 [BZ #9685]
15126 * include/unistd.h (__have_pipe2): Change define into an extern int.
15127 (__have_dup3): Likewise.
15128 * socket/have_sock_cloexec.c: Include fcntl.h.
15129 (__have_pipe2): New variable.
15130 (__have_dup3): Likewise.
15131
fdab8fd3
MF
151322012-08-17 Mike Frysinger <vapier@gentoo.org>
15133
15134 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15135
31035e80
MP
151362012-08-17 Marek Polacek <polacek@redhat.com>
15137
15138 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15139 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15140
3bd9e993
RM
151412012-08-17 Roland McGrath <roland@hack.frob.com>
15142
c91c505f
RM
15143 * configure.in: Add AC_SUBST for sysheaders.
15144 * configure: Regenerated.
15145 * config.make.in (sysheaders): New substituted variable.
15146
7c6f9d53
RM
15147 * sysdeps/unix/mkfifo.c: Moved ...
15148 * sysdeps/posix/mkfifo.c: ... here.
15149 * sysdeps/unix/mkfifoat.c: Moved ...
15150 * sysdeps/posix/mkfifoat.c: ... here.
15151
15152 * sysdeps/unix/utime.c: Moved ...
15153 * sysdeps/posix/utime.c: ... here.
15154
15155 * sysdeps/unix/time.c: Moved ...
15156 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15157 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15158 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15159
15160 * sysdeps/unix/nice.c: Moved ...
15161 * sysdeps/posix/nice.c: ... here.
15162
15163 * sysdeps/unix/alarm.c: Moved ...
15164 * sysdeps/posix/alarm.c: ... here.
15165
3bd9e993
RM
15166 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15167
d1f09384
JL
151682012-08-17 Jeff Law <law@redhat.com>
15169
15170 * intl/Makefile (codeset_mo): New variable.
15171 ($(codeset_mo)): New target.
15172 (tst-codeset.out): Depend on that. Remove explicit rule.
15173 (tst-gettext3.out, tst-gettext5.out): Likewise.
15174 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15175 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15176 * intl/tst-codeset.sh: Remove.
15177 * intl/tst-gettext3.sh: Likewise.
15178 * intl/tst-gettext5.sh: Likewise.
15179
2ae1ae5c
RM
151802012-08-17 Roland McGrath <roland@hack.frob.com>
15181
c31fdb83
RM
15182 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15183 * sysdeps/unix/syscalls.list: ... here.
15184
a0844057
RM
15185 * sysdeps/posix/getaddrinfo.c
15186 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15187 (gaiconf_init, gaiconf_reload): Use them.
15188 [!_STATBUF_ST_NSEC]
15189 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15190 Define using time_t rather than struct timespec.
15191
750c1f2a
RM
15192 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15193 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15194 Macros removed.
15195 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15196 [!NO_THREADS].
15197 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15198 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15199 Likewise.
15200
2ae1ae5c
RM
15201 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15202 __libc_cleanup_push argument.
15203
e66a42f5
RM
15204 * bits/param.h: New file.
15205 * misc/sys/param.h: New file.
15206 * include/sys/param.h: New file.
15207 * misc/Makefile (headers): Add bits/param.h.
15208 * sysdeps/generic/sys/param.h: File removed.
15209 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15210 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15211 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15212 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15213
b7c08a66
RM
15214 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15215 last change.
15216
b2e1c562
RM
15217 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15218 [_IO_MTSAFE_IO].
15219 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15220 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15221 New macros.
15222
c75ccd4c
RM
15223 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15224 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15225 rather than -D_IO_MTSAFE_IO conditionally.
15226 * stdio-common/Makefile (CPPFLAGS): Likewise.
15227 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15228 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15229 Use $(libio-mtsafe).
15230 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15231 of -D_IO_MTSAFE_IO.
15232 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15233 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15234 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15235 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15236 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15237 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15238 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15239 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15240 (CFLAGS-fread_u_chk.c): Likewise.
15241 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15242 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15243 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15244 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15245 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15246 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15247 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15248 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15249 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15250
15251 * libio/Makefile: Test [$(libc-reentrant) = yes]
15252 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15253
15254 * Makeconfig
15255 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15256 * sysdeps/pthread/configure: File removed.
15257 * sysdeps/pthread/Makeconfig: New file.
15258 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15259 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15260
d9195db8
GB
152612012-08-16 Gary Benson <gbenson@redhat.com>
15262
15263 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15264 unmapping the first object in a namespace.
15265
86466cd9
RM
152662012-08-16 Roland McGrath <roland@hack.frob.com>
15267
15268 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15269 (__internal_setnetgrent): ... this. Add internal_function to
15270 definition. Add libc_hidden_def.
15271 (setnetgrent): Update caller.
15272 (internal_endnetgrent): Renamed to ...
15273 (__internal_endnetgrent): ... this. Add internal_function to
15274 definition. Add libc_hidden_def.
15275 (endnetgrent): Update caller.
15276 (internal_getnetgrent_r): Renamed to ...
15277 (__internal_getnetgrent_r): ... this. Add internal_function to
15278 definition. Add libc_hidden_def.
15279 (__getnetgrent_r): Update caller.
15280 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15281
c3c8283c
JM
152822012-08-16 Joseph Myers <joseph@codesourcery.com>
15283
15284 * stdlib/longlong.h: Update from GCC.
15285
db1ee0a8
RM
152862012-08-16 Roland McGrath <roland@hack.frob.com>
15287
15288 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15289 on _QL, which is set by umul_ppmm but never used.
15290 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15291 variables, which are set by GMP macros but never used.
15292 * stdio-common/_itowa.c (_itowa): Likewise.
15293 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15294 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15295
30f69637
CD
152962012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15297
15298 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15299 struct La_sh_regs is not constant.
15300 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15301 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15302 and struct La_sparc64_regs are not constant.
15303
93a78ac4
JM
153042012-08-16 Joseph Myers <joseph@codesourcery.com>
15305
15306 * sysdeps/unix/sysv/linux/kernel-features.h
15307 (__ASSUME_POSIX_TIMERS): Remove.
15308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15309 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15310 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15311 Make code unconditional.
15312 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15313 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15314 Make code unconditional.
15315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15316 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15317 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15319 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15320 Make code unconditional.
15321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15322 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15323 (__libc_missing_posix_timers): Remove.
15324
dd924cd7
RM
153252012-08-15 Roland McGrath <roland@hack.frob.com>
15326
4b4f2771
RM
15327 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15328 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15329
601c888b
RM
15330 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15331
176790a7
RM
15332 * elf/dl-sym.c: Include <stdlib.h>.
15333
329bc018
RM
15334 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15335 constants, which avoids warnings in 32-bit builds.
15336
e04e272d
RM
15337 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15338 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15339
952bf94a
RM
15340 * misc/lseek.c: File moved to ...
15341 * io/lseek.c: ... here.
15342
7c99b50a
RM
15343 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15344
dd924cd7
RM
15345 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15346 shifting LEN more than 31 bits at once.
15347
b3f479a8
LD
153482012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15349
15350 [BZ #14195]
8c4ae0d4
RM
15351 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15352 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15353 * string/test-strncasecmp.c (check1): Renamed to...
15354 (bz12205): ...this.
15355 (bz14195): Add new testcase for two empty input strings and N > 0.
15356 (test_main): Call new testcase, adapt for renamed function.
15357
9c55864e
AJ
153582012-08-15 Andreas Jaeger <aj@suse.de>
15359
15360 [BZ #14090]
15361 * crypt/md5test2.c: New test, based on test supplied by Serge
15362 Belyshev <belyshev@depni.sinp.msu.ru>.
15363 * crypt/Makefile (xtests): Add md5test-giant..
15364 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15365
02dcb6c5
PE
153662012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15367
15368 [BZ #14090]
15369 * crypt/md5.c (md5_process_block): Don't assume the buffer
15370 length is less than 2**32.
15371 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15372 length is less than 2**64.
15373
a3f95dcc
RM
153742012-08-15 Roland McGrath <roland@hack.frob.com>
15375
be75d758
RM
15376 * string/str-two-way.h: Include <sys/param.h>.
15377 (MAX): Macro removed.
15378
7312ca90
RM
15379 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15380 Move #define and #undef of memmove to just before and after
15381 including <string.h>.
15382
9a0a5486
RM
15383 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15384 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15385 and after including <string.h>. Move declarations of
15386 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15387 to before #include "string/memmove.c".
15388
67cc348d
RM
15389 * include/dirent.h: Declare __getdirentries.
15390
a3f95dcc
RM
15391 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15392 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15393
ca98e171
MF
153942012-08-14 Mike Frysinger <vapier@gentoo.org>
15395
15396 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15397 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15398 * sysdeps/i386/configure: Regenerated.
15399 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15400 STABS_CURRENT_FILE, and STABS_FUN.
15401 (END): Remove call to STABS_FUN_END.
15402 (STABS_CURRENT_FILE1): Delete.
15403 (STABS_CURRENT_FILE): Likewise.
15404 (STABS_FUN): Likewise.
15405 (STABS_FUN_END): Likewise.
15406 (STABS_FUN2): Likewise.
15407 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15408 * sysdeps/x86_64/configure: Regenerated.
15409
5908bf46
RM
154102012-08-14 Roland McGrath <roland@hack.frob.com>
15411
15412 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15413 * elf/dl-lookup.c: Likewise.
5908bf46 15414
f2c05b9e
JM
154152012-08-14 Joseph Myers <joseph@codesourcery.com>
15416
15417 * sysdeps/unix/sysv/linux/kernel-features.h
15418 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15419 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15420 unconditionally.
15421 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15422 unconditionally.
15423 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15424 condition on __ASSUME_CLONE_THREAD_FLAGS.
15425
e11f5155
AJ
154262012-08-14 Andreas Jaeger <aj@suse.de>
15427
15428 * sysdeps/i386/fpu/libm-test-ulps: Update.
15429
51a9ba86
MK
154302012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15431
2fdd4f78
AJ
15432 * include/atomic.h (atomic_exchange_and_add): Split into ...
15433 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15434 New atomic macros.
51a9ba86 15435
ba6cba9e
MT
154362012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15437
15438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15439
42443a47
JL
154402012-08-13 Jeff Law <law@redhat.com>
15441
15442 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15443 null byte in the output string.
15444
121dce05
JM
154452012-08-10 Joseph Myers <joseph@codesourcery.com>
15446
15447 * sysdeps/unix/sysv/linux/kernel-features.h
15448 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15449 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15450 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15451 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15452 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15453 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15454 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15455
bf51f568
JL
154562012-08-09 Jeff Law <law@redhat.com>
15457
15458 [BZ #13939]
15459 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15460 When avoid_arena is set, don't retry in the that arena. Pick the
15461 next one, whatever it might be.
15462 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15463 (arena_lock): Pass in new parameter to arena_get2.
15464 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15465 arena_get2.
15466 (__libc_malloc): Unify retrying after main arena failure with
15467 __libc_memalign version.
15468 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15469
f85fa270
L
154702012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15471
15472 [BZ #14166]
15473 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15474 to __redirect_strstr.
15475 (__strstr_sse42): Use typeof __redirect_strstr.
15476 (__strstr_ia32): Likewise.
15477 (__libc_strstr): New prototype.
15478 (strstr): Renamed to ...
15479 (__libc_strstr): This.
15480 (strstr): New strong alias of __libc_strstr.
15481 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15482 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15483 __redirect_time.
15484 Include <time.h>.
15485 (__libc_time): New prototype.
15486 (time_ifunc): Replace time with __libc_time.
15487 (time): New strong alias and hidden definition of __libc_time.
15488 (__GI_time): Remove strong alias.
15489 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15490 Include <stddef.h>.
15491 (memmove): Redefined to __redirect_memmove.
15492 (__memmove_sse2): Use typeof __redirect_memmove.
15493 (__memmove_ssse3): Likewise.
15494 (__memmove_ssse3_back): Likewise.
15495 (__libc_memmove): New prototype.
15496 (memmove): Renamed to ...
15497 (__libc_memmove): This.
15498 (memmove): New strong alias of __libc_memmove.
15499
33b4a91e
MS
155002012-08-08 Mark Salter <msalter@redhat.com>
15501
15502 * elf/elf.h
15503 (R_MN10300_TLS_GD): Define.
15504 (R_MN10300_TLS_LD): Likewise.
15505 (R_MN10300_TLS_LDO): Likewise.
15506 (R_MN10300_TLS_GOTIE): Likewise.
15507 (R_MN10300_TLS_IE): Likewise.
15508 (R_MN10300_TLS_LE): Likewise.
15509 (R_MN10300_TLS_DTPMOD): Likewise.
15510 (R_MN10300_TLS_DTPOFF): Likewise.
15511 (R_MN10300_TLS_TPOFF): Likewise.
15512 (R_MN10300_SYM_DIFF): Likewise.
15513 (R_MN10300_ALIGN): Likewise.
15514 (R_MN10300_NUM): Update.
15515
b36137f1
JM
155162012-08-08 Joseph Myers <joseph@codesourcery.com>
15517
15518 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15519 Remove.
15520
cdd915fd
RM
155212012-08-08 Roland McGrath <roland@hack.frob.com>
15522
a2433aac
RM
15523 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15524
cdd915fd
RM
15525 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15526 sysdeps/unix -> sysdeps/posix move.
15527 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15528
bf9b740a
AM
155292012-08-07 Allan McRae <allan@archlinux.org>
15530
15531 [BZ #14303]
15532 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15533 (SUNOS_CPP): Likewise.
15534 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15535 not found.
15536 (open_input): Call CPP using execvp.
15537
93df14ee
JM
155382012-08-07 Joseph Myers <joseph@codesourcery.com>
15539
15540 * sysdeps/unix/sysv/linux/kernel-features.h
15541 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15542 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15543 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15544 (__ASSUME_WAITID_SYSCALL): Likewise.
15545 * sysdeps/unix/sysv/linux/dl-execstack.c
15546 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15547 code unconditional.
15548 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15549 conditional code.
15550 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15551 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15552 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15553 code.
15554 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15555 unconditional.
15556 [__ASSUME_WAITID_SYSCALL]: Likewise.
15557 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15558
d34689de
RM
155592012-08-07 Roland McGrath <roland@hack.frob.com>
15560
a281decc
RM
15561 * sysdeps/unix/closedir.c: Renamed to ...
15562 * sysdeps/posix/closedir.c: ... here.
15563 * sysdeps/unix/dirfd.c: Renamed to ...
15564 * sysdeps/posix/dirfd.c: ... here.
15565 * sysdeps/unix/dirstream.h: Renamed to ...
15566 * sysdeps/posix/dirstream.h: ... here.
15567 * sysdeps/unix/fdopendir.c: Renamed to ...
15568 * sysdeps/posix/fdopendir.c: ... here.
15569 * sysdeps/unix/opendir.c: Renamed to ...
15570 * sysdeps/posix/opendir.c: ... here.
15571 * sysdeps/unix/readdir.c: Renamed to ...
15572 * sysdeps/posix/readdir.c: ... here.
15573 * sysdeps/unix/readdir_r.c: Renamed to ...
15574 * sysdeps/posix/readdir_r.c: ... here.
15575 * sysdeps/unix/rewinddir.c: Renamed to ...
15576 * sysdeps/posix/rewinddir.c: ... here.
15577 * sysdeps/unix/seekdir.c: Renamed to ...
15578 * sysdeps/posix/seekdir.c: ... here.
15579 * sysdeps/unix/telldir.c: Renamed to ...
15580 * sysdeps/posix/telldir.c: ... here.
15581 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15582 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15583 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15584 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15585
22895b47
RM
15586 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15587 * bits/fcntl.h: ... here.
15588
707a53b6
RM
15589 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15590 not 0.
15591 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15592 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15593 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15594 (struct flock): Move l_start, l_len to the beginning.
15595 Use __pid_t for l_pid.
15596 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15597 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15598 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15599 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15600 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15601 [__USE_LARGEFILE64] (struct flock64): New type.
15602 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15603
f0bd3e25
RM
15604 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15605 * bits/dirent.h: ... here.
15606
d34689de
RM
15607 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15608 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15609
6dad2c06
JM
156102012-08-07 Joseph Myers <joseph@codesourcery.com>
15611
15612 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15613 Change from 2.6.0 to 2.6.16.
15614 * sysdeps/unix/sysv/linux/configure: Regenerated.
15615 * sysdeps/unix/sysv/linux/kernel-features.h
15616 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15617 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15618 version.
15619 (__ASSUME_UTIMES): Likewise.
15620 (__ASSUME_CLONE_STOPPED): Remove.
15621 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15622 architectures, not kernel version.
15623 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15624 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15625 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15626 (__ASSUME_WAITID_SYSCALL): Likewise.
15627 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15628 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15629 * README: State 2.6.16 as minimum Linux kernel version. Do not
15630 refer to older versions.
15631
03af9520
RM
156322012-08-06 Roland McGrath <roland@hack.frob.com>
15633
8e49df1d
RM
15634 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15635 Define alphasort64 as an alias.
15636 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15637 Define versionsort64 as an alias.
15638 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15639 Define scandir64 as an alias.
15640 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15641 Define scandirat64 as an alias.
15642 * dirent/alphasort64.c (alphasort64):
15643 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15644 * dirent/versionsort64.c: Likewise.
15645 * dirent/scandir64.c: Likewise.
15646 * dirent/scandirat64.c: Likewise.
15647 * sysdeps/wordsize-64/alphasort.c: File removed.
15648 * sysdeps/wordsize-64/alphasort64.c: File removed.
15649 * sysdeps/wordsize-64/scandir.c: File removed.
15650 * sysdeps/wordsize-64/scandir64.c: File removed.
15651 * sysdeps/wordsize-64/scandirat.c: File removed.
15652 * sysdeps/wordsize-64/scandirat64.c: File removed.
15653 * sysdeps/wordsize-64/versionsort.c: File removed.
15654 * sysdeps/wordsize-64/versionsort64.c: File removed.
15655 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15656 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15657 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15658 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15659 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15660 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15661 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15662 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15663
15664 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15665 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15666 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15667 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15668 [defined __arch64__ || defined __sparcv9]
15669 (__INO_T_MATCHES_INO64_T): New macro.
15670 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15671 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15672 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15673 * sysdeps/unix/sysv/linux/bits/dirent.h
15674 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15675 (_DIRENT_MATCHES_DIRENT64): New macro.
15676
03af9520
RM
15677 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15678 Define lockf64 as an alias.
15679 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15680 Define fseeko64 as an alias.
15681 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15682 Define ftello64 as an alias.
15683 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15684 Define _IO_fgetpos64 and fgetpos64 as aliases.
15685 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15686 Define _IO_fsetpos64 and fsetpos64 as aliases.
15687 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15688 Conditionalize body on this.
15689 * libio/fseeko64.c: Likewise.
15690 * libio/ftello64.c: Likewise.
15691 * libio/iofgetpos64.c: Likewise.
15692 * libio/iofsetpos64.c: Likewise.
15693 * sysdeps/wordsize-64/lockf.c: File removed.
15694 * sysdeps/wordsize-64/lockf64.c: File removed.
15695 * sysdeps/wordsize-64/fseeko.c: File removed.
15696 * sysdeps/wordsize-64/fseeko64.c: File removed.
15697 * sysdeps/wordsize-64/ftello.c: File removed.
15698 * sysdeps/wordsize-64/ftello64.c: File removed.
15699 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15700 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15701 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15702 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15704 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15705 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15706 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15707 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15708 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15709 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15710 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15711 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15712 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15713
15714 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15715 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15716 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15717 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15718 [defined __arch64__ || defined __sparcv9]
15719 (__OFF_T_MATCHES_OFF64_T): New macro.
15720 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15721 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15723 (__OFF_T_MATCHES_OFF64_T): New macro.
15724
c5757acd
L
157252012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15726
15727 * stdlib/secure-getenv.c (__secure_getenv): Replace
15728 GLIBC_2_16 with GLIBC_2_17.
15729
3a31811e
L
157302012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15731
15732 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15733 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15734
faa2bccb
DM
157352012-08-03 David S. Miller <davem@davemloft.net>
15736
15737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15738
85fe1997
JM
157392012-08-03 Joseph Myers <joseph@codesourcery.com>
15740
15741 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15742 Remove.
15743 (__ASSUME_CORRECT_SI_PID): Likewise.
15744 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15745 (__ASSUME_TMPFS_NAME): Likewise.
15746 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15747 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15748 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15749 (HAVE_AUX_SECURE): Make definition unconditional.
15750 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15751 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15752
4f75b7a0
RM
157532012-08-03 Roland McGrath <roland@hack.frob.com>
15754
15755 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15756 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15757 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15758 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15759 __eloop_threshold instead of SYMLOOP_MAX.
15760
15761 * sysdeps/generic/eloop-threshold.h: New file.
15762 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15763 of MAXSYMLINKS.
15764 * elf/chroot_canon.c (chroot_canon): Likewise.
15765
7aab07e4
JM
157662012-08-03 Joseph Myers <joseph@codesourcery.com>
15767
15768 [BZ #13717]
15769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15770 Change to 2.6.0 everywhere.
15771 * sysdeps/unix/sysv/linux/configure: Regenerated.
15772 * sysdeps/unix/sysv/linux/kernel-features.h
15773 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15774 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15775 kernel versions.
15776 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15777 (__ASSUME_FUTEX_REQUEUE): Remove.
15778 (__ASSUME_STATFS64): Define unconditionally.
15779 (__ASSUME_AT_SECURE): Likewise.
15780 (__ASSUME_CORRECT_SI_PID): Likewise.
15781 (__ASSUME_TGKILL): Define without depending on kernel version for
15782 i386.
15783 (__ASSUME_UTIMES): Likewise.
15784 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15785 kernel version.
15786 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15787 (__ASSUME_TMPFS_NAME): Likewise.
15788 * README: Update reference to Linux kernel versions.
15789
b67e9372
MP
157902012-08-02 Marek Polacek <polacek@redhat.com>
15791
1f529f7d 15792 [BZ# 14150]
b67e9372
MP
15793 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15794 libc_cv_asm_type_prefix with %.
15795 * configure: Regenerated.
d2441631
RM
15796 * include/libc-symbols.h: Remove comment about
15797 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15798 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15799 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15800 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15801 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15802 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15803 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15804 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15805 * elf/tst-unique2mod1.c: Likewise.
15806 * elf/tst-unique1mod2.c: Likewise.
15807 * elf/tst-unique1mod1.c: Likewise.
15808 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15809 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15810 Replace ASM_TYPE_DIRECTIVE with .type.
15811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15812 * sysdeps/i386/sysdep.h: Likewise.
15813 * sysdeps/x86_64/sysdep.h: Likewise.
15814 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15816 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15817 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15818 * sysdeps/powerpc/powerpc32/sysdep.h:
15819 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15820 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15821 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15822 * sysdeps/i386/fpu/e_powf.S: Likewise.
15823 * sysdeps/i386/fpu/e_expl.S: Likewise.
15824 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15825 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15826 * sysdeps/i386/fpu/e_pow.S: Likewise.
15827 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15828 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15829 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15830 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15831 * sysdeps/i386/fpu/e_log2.S: Likewise.
15832 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15833 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15834 * sysdeps/i386/fpu/e_powl.S: Likewise.
15835 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15836 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15837 * sysdeps/i386/fpu/e_logl.S: Likewise.
15838 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15839 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15840 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15841 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15842 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15843 * sysdeps/i386/fpu/e_log.S: Likewise.
15844 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15845 * sysdeps/i386/fpu/e_logf.S: Likewise.
15846 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15847 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15848 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15849 * sysdeps/i386/fpu/e_log10.S: Likewise.
15850 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15851 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15852 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15853 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15854 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15855 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15856 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15857 * sysdeps/i386/i686/strtok.S: Likewise.
15858 * sysdeps/i386/i386-mcount.S: Likewise.
15859 * sysdeps/i386/strtok.S: Likewise.
15860 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15861 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15862 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15863 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15864 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15865 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15866 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15867 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15868 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15869 * sysdeps/x86_64/_mcount.S: Likewise.
15870 * sysdeps/x86_64/strtok.S: Likewise.
15871 * sysdeps/sh/_mcount.S: Likewise.
15872
2747bf9a
RM
158732012-08-01 Roland McGrath <roland@hack.frob.com>
15874
15875 * libio/iofopen.c: Include <fcntl.h>.
15876 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15877 (_IO_fopen64, fopen64): Define as aliases.
15878 * libio/iofopen64.c: Include <fcntl.h>.
15879 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15880 Conditionalize body on this.
15881 * sysdeps/wordsize-64/iofopen.c: File removed.
15882 * sysdeps/wordsize-64/iofopen64.c: File removed.
15883
3fb791b8
MP
158842012-08-01 Marek Polacek <polacek@redhat.com>
15885
15886 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15887 Use dlfcn directly instead of a variable.
15888 (binfmt-subdir): Do not define.
15889 (dlfcn): Likewise.
15890
a9f1039f
JM
158912012-08-01 Joseph Myers <joseph@codesourcery.com>
15892
23bddc06
JM
15893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15894 Remove all definitions.
15895 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15896 <kernel-features.h>.
15897 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15898 (miss_F_GETOWN_EX): Remove all definitions.
15899 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15900 macro definition.
15901 [!__ASSUME_FCNTL64]: Remove conditional code.
15902 [__ASSUME_FCNTL64]: Make code unconditional.
15903 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15904 <kernel-features.h>.
15905 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15906 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15907 (lockf64) [__NR_fcntl64]: Make code unconditional.
15908 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15909
a9f1039f
JM
15910 * sysdeps/unix/sysv/linux/kernel-features.h
15911 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15912 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15913 Make code unconditional.
15914 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15915 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15917 [__NR_vfork]: Make code unconditional.
15918 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15919 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15921 [__NR_vfork]: Make code unconditional.
15922 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15923 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15924
09c0ee5f
RM
159252012-08-01 Roland McGrath <roland@hack.frob.com>
15926
48aec5b9
RM
15927 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15928 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15929
cd97c966
RM
15930 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15931 Define mkstemp64 as an alias.
3f55550c
RM
15932 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15933 Define mkstemps64 as an alias.
cd97c966
RM
15934 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15935 Define mkostemp64 as an alias.
b8625cfc
RM
15936 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15937 Define mkostemps64 as an alias.
cd97c966
RM
15938 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15939 Conditionalize body on this.
15940 * misc/mkostemp64.c: Likewise.
b8625cfc 15941 * misc/mkostemps64.c: Likewise.
3f55550c 15942 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15943 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15944 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15945 * sysdeps/wordsize-64/mkostemp.c: File removed.
15946 * sysdeps/wordsize-64/mkstemp.c: File removed.
15947 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15948 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15949 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15950 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15951
09c0ee5f
RM
15952 [BZ #14138]
15953 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15954 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15955 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15956 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15957
15958 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15959 compat_symbol macros from <shlib-compat.h> rather than the underlying
15960 default_symbol_version and symbol_version macros, so that DEFAULT
15961 lines in shlib-versions are respected.
15962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15963
7e66ee51
FW
159642012-08-01 Florian Weimer <fweimer@redhat.com>
15965
15966 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15967 Declare with warn_unused_result.
15968 (setgid, setregid, setegid, setresgid): Likewise.
15969 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15970 Likewise.
15971 * WUR-REPORT: Remove set*id functions.
15972
d2a54255
PT
159732012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15974
15975 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15976
7ecdb005
RM
159772012-07-31 Roland McGrath <roland@hack.frob.com>
15978
b4180a5e 15979 [BZ #10191]
789bd351
RM
15980 * include/sys/socket.h (__libc_accept, __libc_accept4):
15981 Add attribute_hidden.
15982 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15983
40ce302d
RM
15984 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15985 use of PTR_MANGLE.
15986 * inet/getnetgrent_r.c (setup): Likewise.
15987
7ecdb005
RM
15988 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15989
e2eabb2c
DM
159902012-07-31 David S. Miller <davem@davemloft.net>
15991
15992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15993
d0419dbf
JM
159942012-07-31 Joseph Myers <joseph@codesourcery.com>
15995
15996 [BZ #13629]
15997 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15998 value between 1.0 and 2.0 and smaller part has absolute value less
15999 than 1.0.
16000 * math/s_clog10.c (__clog10): Likewise.
16001 * math/s_clog10f.c (__clog10f): Likewise.
16002 * math/s_clog10l.c (__clog10l): Likewise.
16003 * math/s_clogf.c (__clogf): Likewise.
16004 * math/s_clogl.c (__clogl): Likewise.
16005 * math/libm-test.inc (clog_test): Add more tests.
16006 (clog10_test): Likewise.
16007 * sysdeps/i386/fpu/libm-test-ulps: Update.
16008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16009
2bc13872
FW
160102012-07-31 Florian Weimer <fweimer@redhat.com>
16011
16012 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16013 Exit with zero in case no suitable GID is found, and write a
16014 message to standard error.
16015
bea9b193
RM
160162012-07-30 Roland McGrath <roland@hack.frob.com>
16017
16018 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16019 rather than to 1.
16020 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16021 (MAXPATHLEN): Removed.
16022 (NOGROUP, NODEV): New macros.
16023 (setbit, clrbit, isset, isclr): New macros.
16024 (howmany, roundup, powerof2): New macros.
16025 (DEV_BSIZE): New macro.
16026
16027 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16028 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16029
16030 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16031 definition on [!__NO_LONG_DOUBLE_MATH].
16032
16033 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16034 PTR_MANGLE and PTR_DEMANGLE.
16035
16036 * socket/accept4.c (accept4): Rename to __libc_accept4.
16037 Define accept4 as a weak alias.
16038
16039 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16040 on [_DIRENT_HAVE_D_TYPE].
16041 * io/ftw.c (ftw_dir): Likewise.
16042
16043 * io/xmknod.c (__xmknod): Don't check PATH for being null.
16044
16045 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16046
16047 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16048 Use the BSD numbers rather than the arbitrary ones we had.
16049 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16050 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16051 (SIGXCPU, SIGXFSZ): New macros.
16052 (_NSIG): Now 32.
16053
16054 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16055 initializer on [_LIBC_REENTRANT].
16056
16057 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16058 definitions inside [_POSIX_MAPPED_FILES].
16059
16060 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16061
16062 * dirent/opendir.c: Include <fcntl.h>.
16063
16064 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16065 (__libc_getspecific): Likewise.
16066 (__libc_key_create): Likewise.
16067
16068 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16069 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16070 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16071 (tmpfile64): Define as alias.
16072 * sysdeps/wordsize-64/tmpfile.c: File removed.
16073 * sysdeps/wordsize-64/tmpfile64.c: File removed.
16074 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16076
16077 * stdio-common/vfscanf.c: Include <stdbool.h>.
16078 * nss/makedb.c: Likewise.
16079 * stdio-common/_i18n_number.h: Likewise.
16080 * argp/argp-help.c: Likewise.
16081 * posix/wordexp.c: Likewise.
16082 * sysdeps/posix/spawni.c: Likewise.
16083 * nss/nss_files/files-initgroups.c: Likewise.
16084 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16085 * nss/nss_files/files-initgroups.c: Likewise.
16086 * nss/nss_db/db-netgrp.c: Likewise.
16087 * nss/nss_db/db-initgroups.c: Likewise.
16088 * io/fchmodat.c: Include <sys/stat.h>.
16089
16090 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16091 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16092
16093 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16094 [HAVE_MMAP].
16095
16096 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16097 Add multiple inclusion protection.
16098
e5abc686
DM
160992012-07-27 David S. Miller <davem@davemloft.net>
16100
16101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16102
815e6fa3
GB
161032012-07-27 Gary Benson <gbenson@redhat.com>
16104
16105 [BZ #14298]
16106 * elf/rtld.c: Include <stap-probe.h>.
16107 (dl_main): Added static probes "init_start" and "init_complete".
16108 * elf/dl-load.c: Include <stap-probe.h>.
16109 (lose): Take new parameter "nsid".
16110 Added static probe "map_failed".
16111 (_dl_map_object_from_fd): Pass namespace id to lose.
16112 Added static probe "map_start".
16113 (open_verify): Pass namespace id to lose.
16114 * elf/dl-open.c: Include <stap-probe.h>.
16115 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16116 and "reloc_complete".
16117 * elf/dl-close.c: Include <stap-probe.h>.
16118 (_dl_close_worker): Added static probes "unmap_start" and
16119 "unmap_complete".
16120 * elf/rtld-debugger-interface.txt: New file documenting the above.
16121
9f98c16c
RM
161222012-07-26 Roland McGrath <roland@hack.frob.com>
16123
16124 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16125 rather than a string variable.
16126 * sunrpc/rpc_main.c (h_output): Likewise.
16127 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16128
f3c22df3
PT
161292012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16130
16131 * inet/check_native.c: New file.
16132
3129cfc6
JM
161332012-07-26 Joseph Myers <joseph@codesourcery.com>
16134
da865e95
JM
16135 [BZ #13629]
16136 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16137 if larger part has absolute value 1.0.
16138 * math/s_clog10.c (__clog10): Likewise.
16139 * math/s_clog10f.c (__clog10f): Likewise.
16140 * math/s_clog10l.c (__clog10l): Likewise.
16141 * math/s_clogf.c (__clogf): Likewise.
16142 * math/s_clogl.c (__clogl): Likewise.
16143 * math/libm-test.inc (clog_test): Add more tests.
16144 (clog10_test): Likewise.
16145 * sysdeps/i386/fpu/libm-test-ulps: Update.
16146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16147
3129cfc6
JM
16148 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16149 (pltexit): Likewise.
16150 (La_regs): Likewise.
16151 (La_retval): Likewise.
16152 (int_retval): Likewise.
16153 Update #error for removed macros to refer only to definitions in
16154 tst-audit.h.
16155 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16156 macro.
16157 (pltexit): Likewise.
16158 (La_regs): Likewise.
16159 (La_retval): Likewise.
16160 (int_retval): Likewise.
16161 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16162 macro.
16163 (pltexit): Likewise.
16164 (La_regs): Likewise.
16165 (La_retval): Likewise.
16166 (int_retval): Likewise.
16167 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16168 macro.
16169 (pltexit): Likewise.
16170 (La_regs): Likewise.
16171 (La_retval): Likewise.
16172 (int_retval): Likewise.
16173 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16174 macro.
16175 (pltexit): Likewise.
16176 (La_regs): Likewise.
16177 (La_retval): Likewise.
16178 (int_retval): Likewise.
16179 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16180 macro.
16181 (pltexit): Likewise.
16182 (La_regs): Likewise.
16183 (La_retval): Likewise.
16184 (int_retval): Likewise.
16185 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16186 macro.
16187 (pltexit): Likewise.
16188 (La_regs): Likewise.
16189 (La_retval): Likewise.
16190 (int_retval): Likewise.
16191 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16192 macro definitions in tst-audit.h.
16193 * sysdeps/i386/tst-audit.h: New file.
16194 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16195 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16196 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16197 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16198 * sysdeps/sh/tst-audit.h: Likewise.
16199 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16200 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16201 * sysdeps/x86_64/tst-audit.h: Likewise.
16202
bfc07087
AJ
162032012-07-26 Andreas Jaeger <aj@suse.de>
16204
b1b2aaf8
AJ
16205 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16206 ptrace.
16207
16208 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16209 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16210 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16211 PTRACE_O_MASK.
16212 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16213 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16214 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16215
bfc07087
AJ
16216 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16217 value.
16218
16219 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16220 _sigsys.
16221 (si_call_addr, si_syscall, si_arch): Define new macro.
16222 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16223 _sigsys.
16224 (si_call_addr, si_syscall, si_arch): Define new marcro.
16225 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16226 _sigsys.
16227 (si_call_addr, si_syscall, si_arch): Define new macro.
16228 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16229 _sigsys.
16230 (si_call_addr, si_syscall, si_arch): Define new macro.
16231
89b4b02f
JM
162322012-07-25 Joseph Myers <joseph@codesourcery.com>
16233
16234 [BZ #13717]
16235 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16236 Change to 2.4.21 where previously 2.4.1.
16237 * sysdeps/unix/sysv/linux/configure: Regenerated.
16238 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16239 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16240 Linux kernel version.
16241 (__ASSUME_STD_AUXV): Remove.
16242 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16243 kernel version.
16244 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16245 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16246 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16247 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16248 (__ASSUME_NETLINK_SUPPORT): Likewise.
16249 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16250 (__no_netlink_support): Remove conditional definition.
16251 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16252 Remove.
16253 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16254 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16255 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16256 (if_nameindex_ioctl): Remove.
16257 (if_nameindex_netlink): Do not handle __no_netlink_support.
16258 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16259 code.
16260 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16261 Remove conditional code.
16262 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16263 code.
16264 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16265 unconditional.
16266 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16267 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16268 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16269 Remove.
16270 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16271 [!__ASSUME_STD_AUXV]: Remove conditional code.
16272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16273 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16274 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16276 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16277 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16278 code.
16279 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16281 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16282 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16283 conditional code.
16284 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16286 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16287 code.
16288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16289 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16290 conditional code.
16291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16292 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16293 code unconditional.
16294 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16295 conditional code.
16296 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16297 unconditional.
16298 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16299 conditional code.
16300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16301 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16302 unconditional.
16303 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16304 conditional code.
16305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16306 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16307 code unconditional.
16308 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16309 conditional code.
16310 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16311 unconditional.
16312 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16313 conditional code.
16314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16315 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16316 code unconditional.
16317 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16318 conditional code.
16319 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16320 unconditional.
16321 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16322 conditional code.
16323
842a39cd
AS
163242012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16325
16326 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16327 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16328 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16329 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16330 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16331 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16332 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16333 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16334 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16335 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16336 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16337 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16338 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16339 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16340 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16341 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16342 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16343 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16344 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16346 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16347 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16348 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16349
84b3fd84
FW
163502012-07-25 Florian Weimer <fweimer@redhat.com>
16351
16352 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16353 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16354 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16355 Introduce __libc_secure_getenv.
0c7936d5
FW
16356 * stdlib/Versions (2.17): Add secure_getenv
16357 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16358 * stdlib/secure-getenv.c: Rename __secure_getenv to
16359 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16360 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16361 * stdlib/tst-secure-getenv.c: New.
16362 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16363 * manual/startup.texi (Environment Access): Document
16364 secure_getenv.
84b3fd84
FW
16365 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16366 __libc_secure_getenv.
16367 * inet/ruserpass.c (ruserpass): Likewise.
16368 * malloc/mtrace.c (mtrace): Likewise.
16369 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16370 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16371 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16372 * sysdeps/posix/tempname.c: Likewise. Evaluate
16373 HAVE_SECURE_GETENV.
16374 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16375 __secure_getenv to __libc_secure_getenv.
84b3fd84 16376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16378 Likewise.
16379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16380 Likewise.
16381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16383 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16388
56e49b71
JM
163892012-07-25 Joseph Myers <joseph@codesourcery.com>
16390
16391 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16392 (struct La_i86_retval): Likewise.
16393 (struct La_x86_64_regs): Likewise.
16394 (struct La_x86_64_retval): Likewise.
16395 (struct La_x32_regs): Likewise.
16396 (struct La_x32_retval): Likewise.
16397 (struct La_ppc32_regs): Likewise.
16398 (struct La_ppc32_retval): Likewise.
16399 (struct La_ppc64_regs): Likewise.
16400 (struct La_ppc64_retval): Likewise.
16401 (struct La_sh_regs): Likewise.
16402 (struct La_sh_retval): Likewise.
16403 (struct La_s390_32_regs): Likewise.
16404 (struct La_s390_32_retval): Likewise.
16405 (struct La_s390_64_regs): Likewise.
16406 (struct La_s390_64_retval): Likewise.
16407 (struct La_sparc32_regs): Likewise.
16408 (struct La_sparc32_retval): Likewise.
16409 (struct La_sparc64_regs): Likewise.
16410 (struct La_sparc64_retval): Likewise.
16411 (struct audit_ifaces): Remove architecture-specific pltenter and
16412 pltexit members.
16413 * sysdeps/i386/ldsodefs.h: New file.
16414 * sysdeps/powerpc/ldsodefs.h: Likewise.
16415 * sysdeps/s390/ldsodefs.h: Likewise.
16416 * sysdeps/sh/ldsodefs.h: Likewise.
16417 * sysdeps/sparc/ldsodefs.h: Likewise.
16418 * sysdeps/x86_64/ldsodefs.h: Likewise.
16419
354691b7
MP
164202012-07-25 Marek Polacek <polacek@redhat.com>
16421
16422 [BZ #6808]
16423 * math/libm-test.inc (yn_test): Add another test.
16424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16425 to ERANGE when the result is +-Inf.
16426 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16427 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16428 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16429 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16430
bf9e2071
JM
164312012-07-24 Joseph Myers <joseph@codesourcery.com>
16432
16433 * conform/data/time.h-data (NULL): Use macro-constant. Require
16434 equal to 0.
16435 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16436 clock_t.
16437 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16438
57633811
TS
164392012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16440
16441 * configure.in <sysdeps resolving>: Correct printing
16442 Implies_before.
16443 * configure: Regenerate.
16444
c23c33b0
TS
164452012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16446
16447 * math/w_ilogb.c: Include <limits.h>.
16448 * math/w_ilogbl.c: Likewise.
16449
b5982523
JM
164502012-07-20 Joseph Myers <joseph@codesourcery.com>
16451
16452 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16453 va_copy. Document allowing for unavailable va_copy only as
16454 pre-C99 compatibility.
16455 * manual/string.texi (Copying and Concatenation): Use va_copy
16456 instead of __va_copy in concat example.
16457
ac4ea442
PT
164582012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16459
16460 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16461 (__sendto): Use create_address_port. Initialize APORT and deallocate
16462 it if not null.
16463
f98eafbd
PT
16464 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16465 with O_NOLINK passed to __file_name_lookup.
16466
898c7aab
PT
16467 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16468 with O_NOLINK passed to __file_name_lookup.
16469
0ced335a
PT
16470 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16471 negative N or less than NGIDS.
16472
b3404dbd
PT
16473 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16474 type to string_t. Set ERANGE as errno and return it if NAME is not big
16475 enough. Use memcpy instead of strncpy.
16476
0f48659e
JM
164772012-07-20 Joseph Myers <joseph@codesourcery.com>
16478
16479 * elf/Makefile (check-data): Remove.
16480 (localplt.data): New vpath directive.
16481 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16482 instead of $(check-data).
16483 * scripts/data/localplt-generic.data: Move to ...
16484 * sysdeps/generic/localplt.data: ... here.
16485 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16486 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16487 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16489 ... here.
16490 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16492 ... here.
16493 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16495 ... here.
16496 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16498 ... here.
16499 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16501 ... here.
16502 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16504 ... here.
16505
d37cbdaa
AZ
165062012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16507
16508 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16509 PPC32 and PPC64 files.
16510 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16511 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16512
46f85fc2
AK
165132012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16514
16515 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16516 __makecontext_ret to ...
16517 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16518 ... here and call exit if uc_link is NULL. New file.
16519 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16520 __makecontext_ret.S.
16521 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16522 __makecontext_ret to ...
16523 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16524 ... here and call exit if uc_link is NULL. New file.
16525 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16526 __makecontext_ret.S.
16527
08f43f9b
AK
165282012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16529
16530 * elf/elf.h (R_390_IRELATIVE): New definition.
16531 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16532 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16533 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16534 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16535 (elf_machine_lazy_rel): Likewise.
16536 * sysdeps/s390/dl-irel.h: New file.
16537 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16538 * sysdeps/s390/s390-64/memset.S: New asm code.
16539 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16540 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16541 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16542 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16543 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16544 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16545 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16546 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16547 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16548 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16549 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16550 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16551 * sysdeps/s390/s390-32/memset.S: New asm code.
16552 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16553
3b05db33
MP
165542012-07-17 Marek Polacek <polacek@redhat.com>
16555
16556 [BZ #14349]
16557 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16558 * sysdeps/s390/s390-64/configure.in: Likewise.
16559 * sysdeps/sparc/configure.in: Likewise.
16560 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16561 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16562 * sysdeps/i386/configure.in: Likewise.
16563 * sysdeps/x86_64/configure.in: Likewise.
16564 * sysdeps/sh/configure.in: Likewise.
16565 * sysdeps/s390/s390-32/configure: Regenerated.
16566 * sysdeps/s390/s390-64/configure: Likewise.
16567 * sysdeps/x86_64/configure: Likewise.
16568 * sysdeps/sh/configure: Likewise.
16569 * sysdeps/powerpc/powerpc64/configure: Likewise.
16570 * sysdeps/powerpc/powerpc32/configure: Likewise.
16571 * sysdeps/sparc/configure: Likwise.
16572 * sysdeps/i386/configure: Likewise.
16573
a66877c6
MP
16574 * elf/dl-open.c: Comment fixes.
16575
cfc82fd8
JM
165762012-07-17 Joseph Myers <joseph@codesourcery.com>
16577
bd29910a
JM
16578 * Makefile [CXX] (check-data): Remove.
16579 [CXX] (c++-types.data): New vpath directive.
16580 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16581 vpath. Do not allow for C++ type data being missing.
16582 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16583 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16584 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16585 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16586 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16587 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16588 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16590 ... here.
16591 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16593 ... here.
16594 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16596 ... here.
16597 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16599 ... here.
16600 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16602 ... here.
16603 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16605 ... here.
16606 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16608 ... here.
16609 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16611
cfc82fd8
JM
16612 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16613 definitions to architecture-specific files.
16614 (TLS_IE): Likewise.
16615 (TLS_LD): Likewise.
16616 (TLS_GD): Likewise.
16617 * sysdeps/i386/tls-macros.h: New file.
16618 * sysdeps/powerpc/tls-macros.h: Likewise.
16619 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16620 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16621 * sysdeps/sh/tls-macros.h: Likewise.
16622 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16623 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16624 * sysdeps/x86_64/tls-macros.h: Likewise.
16625
f7db3170
TS
166262012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16627
07cbfc23
TS
16628 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16629 zero value for regular exit case.
16630
f7db3170
TS
16631 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16632 (__start_context): Preserve zero value for regular exit case.
16633
dc97c227
TS
166342012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16635 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16636
16637 * manual/setjmp.texi (setcontext): Clarify normal process
16638 termination when uc_link is the null pointer.
16639 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16640 exit call.
16641
d0cd7d02
AS
166422012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16643
16644 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16645 preprocessor. Test for each exception mask separately.
16646
dd318934
AJ
166472012-07-16 Andreas Jaeger <aj@suse.de>
16648
16649 * po/ru.po: Update from translation team.
16650
8048311a
JM
166512012-07-15 Joseph Myers <joseph@codesourcery.com>
16652
16653 * conform/data/string.h-data (NULL): Use macro-constant. Require
16654 equal to 0.
16655 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16656 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16657 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16658 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16660
b637d46e
AJ
166612012-07-13 Andreas Jaeger <aj@suse.de>
16662
16663 * po/fr.po: Update from translation team.
16664
541428fe
MP
166652012-07-12 Marek Polacek <polacek@redhat.com>
16666
16667 [BZ #14173]
16668 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16669 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16670 loop condition.
16671
ec332e94
JM
166722012-07-12 Joseph Myers <joseph@codesourcery.com>
16673
16674 [BZ #13717]
16675 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16676 Change to 2.4.1 where previously 2.4.0.
16677 * sysdeps/unix/sysv/linux/configure: Regenerated.
16678 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16679 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16680 version.
16681 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16682 (__ASSUME_AT_CLKTCK): Remove.
16683 (__ASSUME_AT_PAGESIZE): Likewise.
16684 (__ASSUME_AT_XID): Likewise.
16685 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16686 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16687 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16688 unconditionally.
16689 (HAVE_AUX_PAGESIZE): Likewise.
16690 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16691 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16692 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16693
7b6e99be
JB
166942012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16695
16696 [BZ #14307]
16697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16698 the temporary buffer used to invoke __gethostbyname2_r,
16699 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16700 host_data / struct gaih_addrtuple.
16701 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16702 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16703 header file nss/nsswitch.h.
16704 * nss/nsswitch.h (global scope): Add definition of implementation
16705 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16706 resolv/nss_dns/dns-host.c).
16707
608404eb
AJ
167082012-07-11 Andreas Jaeger <aj@suse.de>
16709
16710 * po/fr.po: Update from translation team.
16711
71220aca
AJ
16712 * po/sv.po: Update from translation team
16713 * po/fr.po: Another update from translation team.
16714
28cfe843
AZ
167152012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16716
16717 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16718 for subnormals or multiply small sinh result by itself.
16719 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16721
6b90f981
DM
167222012-07-11 David S. Miller <davem@davemloft.net>
16723
16724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16725
c6825772
AS
167262012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16727
16728 [BZ #14347]
16729 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16730 (INTERNAL_MARK): Shift it here.
16731
7b8e0d49
MP
167322012-07-10 Marek Polacek <polacek@redhat.com>
16733
16734 [BZ #14151]
16735 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16736 libc_cv_asm_global_directive with .globl.
16737 * configure: Regenerated.
16738 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16739 with .globl.
16740 * sysdeps/i386/configure: Regenerated.
16741 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16742 with .globl.
16743 * sysdeps/x86_64/configure: Regenerated.
16744 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16745 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16746 * elf/tst-unique2mod2.c: Likewise.
16747 * elf/tst-unique2mod1.c: Likewise.
16748 * elf/tst-unique1mod2.c: Likewise.
16749 * elf/tst-unique1mod1.c: Likewise.
16750 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16751 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16752 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16753 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16754 * sysdeps/mach/sysdep.h: Likewise.
16755 * sysdeps/i386/sysdep.h: Likewise.
16756 * sysdeps/i386/i386-mcount.S: Likewise.
16757 * sysdeps/x86_64/_mcount.S: Likewise.
16758 * sysdeps/x86_64/sysdep.h: Likewise.
16759 * sysdeps/sh/_mcount.S: Likewise.
16760 * sysdeps/sh/sysdep.h: Likewise.
16761 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16762 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16763 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16764 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16765 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16766 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16767 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16768 * locale/localeinfo.h: Likewise.
16769 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16770 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16771
6c55cda3
RM
167722012-07-09 Roland McGrath <roland@hack.frob.com>
16773
16774 [BZ #14336]
16775 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16776 system".
16777 * manual/message.texi (The Uniforum approach): Likewise.
16778 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16779 (glibc iconv Implementation): Likewise.
16780
638a572e
JM
167812012-07-09 Joseph Myers <joseph@codesourcery.com>
16782
16783 [BZ #14337]
16784 * math/s_clog.c (__clog): Avoid scaling a value down where that
16785 could result in underflow.
16786 * math/s_clog10.c (__clog10): Likewise.
16787 * math/s_clog10f.c (__clog10f): Likewise.
16788 * math/s_clog10l.c (__clog10l): Likewise.
16789 * math/s_clogf.c (__clogf): Likewise.
16790 * math/s_clogl.c (__clogl): Likewise.
16791 * math/libm-test.inc (clog_test): Add more tests.
16792 (clog10_test): Likewise.
16793 * sysdeps/i386/fpu/libm-test-ulps: Update.
16794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16795
261f4859
AS
167962012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16797
0abaf3e4
AS
16798 [BZ #14283]
16799 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16800 by 7 not 8 to examine high bit of fractional part.
16801
261f4859
AS
16802 [BZ #14042]
16803 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16804 for call to __mcount_internal.
16805 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16806 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16807 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16808
f17ac40d
JM
168092012-07-06 Joseph Myers <joseph@codesourcery.com>
16810
9ad63c23
JM
16811 [BZ #14154]
16812 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16813 approximation for values within 0x1p-13f of an odd multiple of
16814 pi/4.
16815 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16816 exception. Add more tests.
16817 * sysdeps/i386/fpu/libm-test-ulps: Update.
16818
f17ac40d
JM
16819 [BZ #6778]
16820 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16821 inputs and return -1 for them. Do not check for +Inf in case not
16822 reachable for +Inf.
16823 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16824 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16825 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16826 and return -1 for them. Do not check for +Inf in case not
16827 reachable for +Inf.
16828 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16829 define.
16830 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16831 and return -1 for them. Do not check for +Inf in case not
16832 reachable for +Inf.
16833 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16834 spurious underflow.
16835 * sysdeps/i386/fpu/libm-test-ulps: Update.
16836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16837
fb21f89b
MF
168382012-07-06 Mike Frysinger <vapier@gentoo.org>
16839
16840 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16841
cdfe2c5e
JM
168422012-07-05 Joseph Myers <joseph@codesourcery.com>
16843
16844 [BZ #14157]
16845 [BZ #14331]
16846 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16847 could result in spurious underflow. Scale down values above
16848 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16849 * math/s_csqrtf.c (__csqrtf): Likewise.
16850 * math/s_csqrtl.c (__csqrtl): Likewise.
16851 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16852 spurious underflow.
16853 * sysdeps/i386/fpu/libm-test-ulps: Update.
16854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16855
70d35b67
AS
168562012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16857
704bc459
AS
16858 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16859 xopen-msg.sed.
16860 * catgets/xopen-msg.awk: New file.
16861 * catgets/xopen-msg.sed: Removed.
16862
70d35b67
AS
16863 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16864 po2text.sed.
16865 * intl/po2test.awk: New file.
16866 * intl/po2test.sed: Removed.
16867
ca61cf32
JM
168682012-07-04 Joseph Myers <joseph@codesourcery.com>
16869
16870 [BZ #14328]
16871 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16872 or multiply small sinh result by itself.
16873 * math/s_ctanf.c (__ctanf): Likewise.
16874 * math/s_ctanh.c (__ctanh): Likewise.
16875 * math/s_ctanhf.c (__ctanhf): Likewise.
16876 * math/s_ctanhl.c (__ctanhl): Likewise.
16877 * math/s_ctanl.c (__ctanl): Likewise.
16878 * math/libm-test.inc (ctan_test_tonearest): New function.
16879 (ctan_test_towardzero): Likewise.
16880 (ctan_test_downward): Likewise.
16881 (ctan_test_upward): Likewise.
16882 (ctanh_test_tonearest): Likewise.
16883 (ctanh_test_towardzero): Likewise.
16884 (ctanh_test_downward): Likewise.
16885 (ctanh_test_upward): Likewise.
16886 (main): Call these new functions.
16887 * sysdeps/i386/fpu/libm-test-ulps: Update.
16888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16889
ca48a46a
MF
168902012-07-03 Mike Frysinger <vapier@gentoo.org>
16891
16892 * .gitignore: Delete /ports entry.
16893
9d63d37d
AJ
168942012-07-03 Andreas Jaeger <aj@suse.de>
16895
16896 * po/bg.po: Update from translation team.
16897 * po/cs.po: Likewise.
16898 * po/de.po: Likewise.
16899 * po/hr.po: Likewise.
16900 * po/nl.pl: Likewise.
16901 * po/pl.po: Likewise.
16902 * po/vi.po: Likewise.
16903
370ca3d2
JM
169042012-07-03 Joseph Myers <joseph@codesourcery.com>
16905
95f5a9a8
JM
16906 * Makeconfig [!+link] (+link-before-libc): New variable.
16907 [!+link] (+link-after-libc): Likewise.
16908 [!+link] (+link-tests): Likewise.
16909 [!+link] (+link): Define in terms of $(+link-before-libc) and
16910 $(+link-after-libc).
16911 [!+link-static] (+link-static-before-libc): New variable.
16912 [!+link-static] (+link-static-after-libc): Likewise.
16913 [!+link-static] (+link-static-tests): Likewise.
16914 [!+link-static] (+link-static): Define in terms of
16915 $(+link-static-before-libc) and $(+link-static-after-libc).
16916 [build-shared] (link-libc-before-gnulib): New variable.
16917 [build-shared] (link-libc-tests): Likewise.
16918 [build-shared] (link-libc): Define in terms of
16919 $(link-libc-before-gnulib).
16920 [!build-shared] (link-libc-tests): New variable.
16921 (link-libc-static-tests): New variable.
16922 [!gnulib] (gnulib-arch): New variable.
16923 [!gnulib] (gnulib-tests): Likewise.
16924 [!gnulib] (static-gnulib-arch): Likewise.
16925 [!gnulib] (static-gnulib-tests): Likewise.
16926 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16927 Define with "=" instead of ":=".
16928 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16929 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16930 * Rules (binaries-all-notests): New variable.
16931 (binaries-all-tests): Likewise.
16932 (binaries-static-notests): Likewise.
16933 (binaries-static-tests): Likewise.
16934 (binaries-all): Define using $(binaries-all-notests) and
16935 $(binaries-all-tests).
16936 (binaries-static): Define using $(binaries-static-notests) and
16937 $(binaries-static-tests).
16938 (binaries-shared-tests): New variable.
16939 (binaries-shared-notests): Likewise.
16940 (binaries-shared): Remove variable.
16941 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16942 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16943 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16944 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16945 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16946 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16947 * elf/Makefile (sln-modules): New variable.
16948 (extra-objs): Add $(sln-modules:=.o).
16949 (ldconfig-modules): Add static-stubs.
16950 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16951 * elf/static-stubs.c: New file.
16952
7a845b2c
JM
16953 [BZ #14283]
16954 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16955 by 7 not 8 to examine high bit of fractional part. Use volatile
16956 variables when splitting into final array of floats if
16957 __FLT_EVAL_METHOD__ != 0.
16958 * math/libm-test.inc (cos_test): Add another test.
16959 (sin_test): Likewise.
16960 * sysdeps/i386/fpu/libm-test-ulps: Update.
16961
e2283f38
JM
16962 [BZ #14273]
16963 * math/libm-test.inc (cosh_test): Add more tests.
16964
370ca3d2
JM
16965 * version.h (RELEASE): Set to "development".
16966 (VERSION): Set to "2.16.90".
16967
ee9247c3
CD
169682012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16969
16970 * NEWS: Update copyright. Remove last-updated date.
16971 Mention math library bug fixes and timezone data changes.
16972 * README: Mention GNU/Hurd, x32, and HPPA support status.
16973
4648c381
TS
169742012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16975
16976 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16977
aac78a43
AJ
169782012-06-27 Andreas Jaeger <aj@suse.de>
16979
16980 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16981
ed3dbfad
AJ
169822012-06-25 Andreas Jaeger <aj@suse.de>
16983
16984 * sysdeps/s390/fpu/libm-test-ulps: Update.
16985
4d0ee855
AS
169862012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16987 Thomas Schwinge <thomas@codesourcery.com>
16988
16989 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16990 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16992 fanotify_mark.
16993
af1bce34
TS
169942012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16995
a9fa33ba
TS
16996 * sysdeps/mach/start.c: Remove file.
16997 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16998 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16999 * sysdeps/sh/init-first.c: Likewise.
17000
58f902b8
TS
17001 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17002 registers for frame unwinding purposes, add CFI directives.
17003 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17004 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17005 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17006 Likewise.
17007
1518f58b
TS
17008 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17009 __fortify_fail returning.
17010 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17011
db9b5059
TS
17012 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17013 sysdeps/sh/____longjmp_chk.S.
17014 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17015 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17016 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17017 (gen-as-const-headers): Append sigaltstack-offsets.sym.
17018
967705fe
TS
17019 * sysdeps/sh/abort-instr.h: New file.
17020 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17021 process in case exit returns.
17022
a9def8c4
TS
17023 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17024 initialize the GOT register before use.
17025
2a649725
TS
17026 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17027 calculation of ARGC > 4.
17028
af1bce34
TS
17029 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17030 meaningful names to some local labels.
17031
d230f50a
KK
170322012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17033 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17034
17035 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17036 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17037 (__arch_compare_and_exchange_val_16_acq): Likewise.
17038 (__arch_compare_and_exchange_val_32_acq): Likewise.
17039 (atomic_exchange_and_add): Fix gUSA sequence.
17040 (atomic_add): Likewise.
17041 (atomic_add_negative): Likewise.
17042 (atomic_add_zero): Likewise.
17043 (atomic_bit_test_set): Likewise.
17044
0479b305
AS
170452012-06-22 Andreas Schwab <schwab@redhat.com>
17046
17047 [BZ #13579]
17048 * include/link.h (struct link_map): Add l_free_initfini.
17049 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17050 l_initfini.
17051 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17052 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17053 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17054 set.
17055
0e3933b9
CD
170562012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
17057
17058 * configure.in: Use AC_LANG_SOURCE.
17059 * configure: Regenerate.
17060
4248b1b1
RM
170612012-06-22 Roland McGrath <roland@hack.frob.com>
17062
17063 * configure.in (libc_cv_localstatedir): New substituted variable.
17064 * configure: Regenerated.
17065 * config.make.in (localstatedir): New variable, substituted from
17066 libc_cv_localstatedir.
17067 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17068 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17069 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17070 * sysdeps/gnu/configure: Regenerated.
17071
006dd861
JL
170722012-06-21 Jeff Law <law@redhat.com>
17073
17074 [BZ #14277]
17075 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17076 free. Simplify list management for _LIBC case.
17077
79662d42
JM
170782012-06-21 Joseph Myers <joseph@codesourcery.com>
17079
b7abb4bf
JM
17080 [BZ #14273]
17081 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17082 Clear sign bit of 64-bit integer value before comparing against
17083 overflow value.
17084
79662d42
JM
17085 * sysdeps/mach/configure: Regenerated.
17086
1f150908
L
170872012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17088
17089 [BZ #14278]
17090 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17091
28363bbf
JL
170922012-06-21 Jeff Law <law@redhat.com>
17093
17094 [BZ #13882]
17095 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17096 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17097 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17098 * elf/dl-open.c (dl_open_worker): Likewise.
17099
09615db4
CD
171002012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17101
17102 * scripts/list-sources.sh: Scan PORTS for translations.
17103 * po/libc.pot: Regenerated.
17104
2174c6dd
AJ
171052012-06-21 Andreas Jaeger <aj@suse.de>
17106
17107 [BZ #12194]
17108 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17109 warning.
17110 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17111 * bits/byteswap-16.h (__bswap_16): Likewise.
17112 * bits/byteswap.h (__bswap_constant_16): Likewise.
17113
3ee947b1
L
171142012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17115
17116 [BZ #14117]
a2f34833
L
17117 * sysdeps/i386/fpu_control.h: Removed.
17118 * sysdeps/x86_64/fpu_control.h: Moved to ...
17119 * sysdeps/x86/fpu_control.h: Here.
17120
3ee947b1
L
17121 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17122 (_FPU_SETCW): Likewise.
17123
ed1825f8
L
171242012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17125
25f1282a
L
17126 [BZ #14117]
17127 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17128 * sysdeps/x86/fpu/bits/mathinline.h: This.
17129 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17130
ed1825f8
L
17131 [BZ #14050]
17132 [BZ #14117]
17133 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17134 functions if __x86_64__ is defined.
17135
36d54b74
CLT
171362012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17137
17138 * string/endian.h: Add !__ASSEMBLER__ condition for including
17139 conversion interfaces.
17140
10285c21
JM
171412012-06-15 Joseph Myers <joseph@codesourcery.com>
17142
17143 [BZ #14241]
17144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17145 of ABS(x) in calculating zero to negative powers other than odd
17146 integers.
17147 * math/libm-test.inc (pow_test): Add more tests.
17148
06c5abbd
AJ
171492012-06-15 Andreas Jaeger <aj@suse.de>
17150
17151 * manual/contrib.texi (Contributors): Update entry of Liubov
17152 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17153 Machado Filho.
17154
a3aeac40
CH
171552012-06-15 Cyril Hrubis <metan@ucw.cz>
17156
17157 * string/string.h: Add __wur to GNU version of strerror_r.
17158
49bdf4c1
L
171592012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17160
17161 [BZ #14229]
17162 * string/Makefile (tests): Add tst-strtok_r.
17163 * string/tst-strtok_r.c: New file.
17164 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17165 RAX_LP/RDX_LP on SAVE_PTR.
17166
834f9b8d
RM
171672012-06-14 Roland McGrath <roland@hack.frob.com>
17168
17169 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17170
75fa1921
JM
171712012-06-14 Joseph Myers <joseph@codesourcery.com>
17172
17173 * libm_test.inc (csqrt_test): Allow more spurious underflow
17174 exceptions.
17175 (j0_test): Likewise.
17176 (j1_test): Likewise.
17177 (y0_test): Likewise.
17178 (y1_test): Likewise.
17179
771766df
CD
171802012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17181
17182 * po/Makefile (libc.pot): Use UTF-8 charset.
17183
ceb9e56b
PP
171842012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17185
17186 [BZ #14210]
17187 Suppress sign-conversion warning from FD_SET.
17188 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17189 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17190 not unsigned long int.
17191 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17192
ddb28975
L
171932012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17194
17195 [BZ #14050]
17196 [BZ #14117]
17197 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17198 __extern_always_inline instead of __extern_inline.
17199 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17200 (__signbit): Likewise.
17201 (__signbitl): Support C++ namespace.
17202 (lrintf): New inline function.
17203 (lrint): Likewise.
17204 (llrintf): Likewise.
17205 (llrint): Likewise.
17206 (fmaxf): Likewise.
17207 (fmax): Likewise.
17208 (fminf): Likewise.
17209 (fmin): Likewise.
17210 (rint): Likewise.
17211 (rintf): Likewise.
17212 (ceil): Likewise.
17213 (ceilf): Likewise.
17214 (floor): Likewise.
17215 (floorf): Likewise.
17216 (nearbyint): Likewise.
17217 (nearbyintf): Likewise.
17218
d7b4fb26
TS
172192012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17220
17221 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17222 non-default versions.
17223
eb55f5c2
RM
172242012-06-11 Roland McGrath <roland@hack.frob.com>
17225
17226 [BZ #14218]
17227 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17228
366af02c
TS
172292012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17230
99ff6e5c
TS
17231 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17232 (FE_UPWARD, FE_DOWNWARD): Don't define.
17233 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17234 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17235
366af02c
TS
17236 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17237 reading it.
17238 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17239 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17240
793ea851
KK
172412012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17242
17243 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17244 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17245 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17246 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17247
a728a38f
L
172482012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17249
17250 [BZ #14117]
c08010c7
L
17251 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17252 * sysdeps/i386/fpu/Implies: New file.
17253 * sysdeps/x86_64/fpu/Implies: Likewise.
17254 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17255 * sysdeps/x86/fpu/bits/fenv.h: This.
17256
a728a38f
L
17257 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17258 __SSE_MATH__.
17259
6e230d11
SP
172602012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17261
17262 [BZ #14134]
17263 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17264 character 0xffff that matches the last element of the
17265 conversion table.
17266
1b671feb
AZ
172672012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17268
17269 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17270 fmodl commit.
17271
6043738b
AZ
172722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17273
17274 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17275 values higher than 25.6283.
17276
34ae0b32
AZ
172772012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17278
17279 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17280 subnormal exponent extraction and add some __builtin_expect.
17281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17282 Fix for subnormal mantissa calculation.
17283
1214ec8f
MF
172842012-06-04 Mike Frysinger <vapier@gentoo.org>
17285
17286 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17287 cpu2 is -1 and errno is not ENOSYS.
17288
f3d1f93c
L
172892012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17290
17291 [BZ #14117]
0e4a3cd7
L
17292 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17293 * sysdeps/x86/bits/string.h: This.
17294 * sysdeps/x86_64/bits/string.h: Removed.
17295
6704c645
L
17296 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17297 if not compiling for x86-64, but compiling for >= i486.
17298
48495318
L
17299 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17300 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17301
14adcbfc
L
17302 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17303 New macro from Linux kernel 3.4.0.
17304 (FP_XSTATE_MAGIC2): Likewise.
17305 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17306 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17307 (struct _fpx_sw_bytes): New struct.
17308 (struct _xsave_hdr): Likewise.
17309 (struct _ymmh_state): Likewise.
17310 (struct _xstate): Likewise.
17311
68e408ab
L
17312 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17313 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17314 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17315 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17316 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17317 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17318
f3d1f93c
L
17319 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17320 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17321 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17322 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17323 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17324 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17325
d9dc34cd
TMQMF
173262012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17327
17328 [BZ #13743]
17329 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17330 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17331 (sysdep_headers): Include sys/platform/ppc.h.
17332 * sysdeps/powerpc/test-gettimebase.c: Test for
17333 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17334 * manual/Makefile (appendices): Include platform.texi.
17335 * manual/contrib.texi (Contributors): Update @node pointers.
17336 * manual/maint.texi (Maintenance): Likewise.
17337 (Platform): New node.
17338 * manual/platform.texi: New file. Document the new features.
17339
4af3879c
SP
173402012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17341 Jakub Jelinek <jakub@redhat.com>
17342
17343 [BZ #14188]
17344 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17345 where __builtin_expect is unavailable.
17346
2fd6ff13
DM
173472012-06-03 David S. Miller <davem@davemloft.net>
17348
17349 * stdlib/longlong.h: Updated from GCC.
17350
173f7220
AS
173512012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17352
17353 [BZ #14042]
17354 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17355 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17356 __mcount_internal.
17357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17358 (GLIBC_2.16): Likewise.
17359
f34a1c6f
L
173602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17361
17362 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17363
88a4576f
JM
173642012-06-01 Joseph Myers <joseph@codesourcery.com>
17365
ea32bcdd
JM
17366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17367 (default-abi): New variable.
17368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17369 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17370 variable.
17371 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17372 Likewise.
17373 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17374 Likewise.
17375 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17376 Likewise.
17377
88a4576f
JM
17378 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17379 definition. Document in comment.
17380
402fe938
DM
173812012-06-01 David S. Miller <davem@davemloft.net>
17382
17383 * stdlib/longlong.h: Updated from GCC.
17384
3553723f
L
173852012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17386
17387 [BZ #14117]
3bd872c4
L
17388 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17389 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17390 sys/debugreg.h sys/io.h here.
17391 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17392 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17393 sys/io.h.
17394 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17395 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17396 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17397 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17398 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17399 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17400
3553723f
L
17401 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17402 Define only if __x86_64__ is defined.
17403
4842e4fe
JM
174042012-06-01 Joseph Myers <joseph@codesourcery.com>
17405
c5bfe3d5
JM
17406 [BZ #14048]
17407 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17408 Use int64_t for variable i.
17409 * math/libm-test.inc (fmod_test): Add more tests.
17410
4842e4fe
JM
17411 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17412 z computation is not scheduled after fetestexcept.
17413 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17414 Use math_force_eval instead of asm to ensure calculation scheduled
17415 before exception test.
17416 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17417 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17418
efb73488
AJ
174192012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17420
17421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17422 computation is not scheduled after fetestexcept.
17423
29bcce7c
L
174242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17425
17426 [BZ #14117]
17427 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17428 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17429
73a68f94
AZ
174302012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17431
17432 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17433 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17434
67b6df78
L
174352012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17436
edf2933a 17437 [BZ #14117]
ebc64a18
L
17438 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17439 <bits/wordsize.h>.
17440 (__WCHAR_MIN): Support __WORDSIZE == 64.
17441 (__WCHAR_MAX): Likewise.
17442
edf2933a
L
17443 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17444 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17445
57c6cf40
L
17446 [BZ #14183]
17447 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17448 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17449
67b6df78 17450 [BZ #14117]
8eb6281e
L
17451 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17452 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17453
aac639f4
L
17454 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17455 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17456
67b6df78
L
17457 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17458 Defined to 1 if __x86_64__ isn't defined.
17459 (_STAT_VER_LINUX_OLD): New.
17460 (st_atime): Remove duplicate.
17461 (st_mtime): Likewise.
17462 (st_ctime): Likewise.
17463
1c2cfe81
DM
174642012-05-31 David S. Miller <davem@davemloft.net>
17465
17466 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17467 entries.
17468
5be8418c
AS
174692012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17470
e7725326
AS
17471 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17472 gen-libm-test.pl.
17473
5be8418c
AS
17474 [BZ #14132]
17475 * elf/dl-reloc.c: Include <_itoa.h>.
17476 (_dl_reloc_bad_type): Remove use of INTUSE.
17477 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17478 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17479 * stdio-common/psiginfo.c (psiginfo): Likewise.
17480 * stdio-common/psignal.c (psignal): Likewise.
17481 * string/strsignal.c (strsignal): Likewise.
17482 * include/signal.h (_sys_siglist): Declare hidden proto.
17483 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17484 INTVARDEF with libc_hidden_data_def.
17485 * stdio-common/itoa-udigits.c: Likewise.
17486 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17487 (_itoa_lower_digits_internal): Remove declaration.
17488 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17489 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17490 (_sys_sigabbrev_internal): Remove aliases.
17491 (_sys_siglist): Define hidden alias.
17492
507352f1
MT
174932012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17494
17495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17496 bits/sysctl.h.
17497
42bbb1c3
L
174982012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17499
17500 [BZ #14117]
6bd784b6
L
17501 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17502 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17503
8bca20f0
L
17504 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17505 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17506 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17507 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17508 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17509 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17510
f9e890a9
L
17511 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17512 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17513 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17514
471101a1
L
17515 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17516 with __addr.
17517 (insw): Likewise.
17518 (insl): Likewise.
17519 (outsb): Likewise.
17520 (outsw): Likewise.
17521 (outsl): Likewise.
17522
6451c862
L
17523 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17524 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17525 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17526
a254b8c9
L
17527 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17528 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17529 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17530 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17531 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17532 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17533
b8dfdd92
L
17534 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17535 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17536
578cd270
L
17537 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17538 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17539
de662f5f
L
17540 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17541 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17542 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17543
25653439
L
17544 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17545 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17546 to ...
17547 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17548
6bad24a0
L
17549 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17550 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17551 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17552
42bbb1c3
L
17553 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17554 for x86-64.
17555 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17556
2d10d547
JM
175572012-05-31 Joseph Myers <joseph@codesourcery.com>
17558
17559 * math/math.h (M_El): Use two more decimal places.
17560 (M_LOG2El): Likewise.
17561 (M_LOG10El): Likewise.
17562 (M_LN2l): Likewise.
17563 (M_LN10l): Likewise.
17564 (M_PIl): Likewise.
17565 (M_PI_2l): Likewise.
17566 (M_PI_4l): Likewise.
17567 (M_1_PIl): Likewise.
17568 (M_2_PIl): Likewise.
17569 (M_2_SQRTPIl): Likewise.
17570 (M_SQRT2l): Likewise.
17571 (M_SQRT1_2l): Likewise.
17572
f230c29b
DM
175732012-05-31 David S. Miller <davem@davemloft.net>
17574
17575 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17576 values between float registers.
17577 * sysdeps/sparc/sparc64/memset.S: Likewise.
17578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17579
fed806c3
MF
175802012-05-31 Mike Frysinger <vapier@gentoo.org>
17581
17582 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17583 -D_FORTIFY_SOURCE=1.
17584 (CPPFLAGS-tst-longjmp_chk.c): Define.
17585 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17586 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17587 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17588 CFLAGS-tst-wchar-h.c.
17589
30917259
MP
175902012-05-31 Marek Polacek <polacek@redhat.com>
17591
17592 [BZ #14132]
17593 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17594 __endmntent_internal): Remove declaration.
17595 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17596 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17597 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17598
1c58d5dc
DM
175992012-05-30 David S. Miller <davem@davemloft.net>
17600
17601 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17602 (___Q_simulate_exceptions): Use real FP ops rather than writing
17603 into the %fsr.
17604 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17605 Likewise.
17606
7dc00e0d
L
176072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17608
17609 [BZ #14117]
0bd53985
L
17610 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17611 * sysdeps/x86/bits/xtitypes.h: This.
17612
3a257e66
L
17613 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17614 * sysdeps/x86/bits/wordsize.h: This.
17615
62f62904
L
17616 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17617 * sysdeps/x86/bits/huge_vall.h: This.
17618
404fe9d9
L
17619 * sysdeps/i386/bits/select.h: Removed.
17620 * sysdeps/x86_64/bits/select.h: Renamed to ...
17621 * sysdeps/x86/bits/select.h: This.
17622
d48d0446
L
17623 * sysdeps/i386/bits/setjmp.h: Removed.
17624 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17625 * sysdeps/x86/bits/setjmp.h: This.
17626
7dc00e0d
L
17627 * sysdeps/i386/bits/mathdef.h: Removed.
17628 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17629 * sysdeps/x86/bits/mathdef.h: This.
17630
03277f8f
AS
176312012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17632
17633 [BZ #14132]
17634 * include/sys/socket.h (__connect_internal)
17635 (__libc_sa_len_internal): Remove declaration.
17636 (__connect, __libc_sa_len): Declare hidden_proto.
17637 (SA_LEN): Remove use of INTUSE.
17638 * socket/connect.c: Add libc_hidden_def.
17639 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17640 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17641 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17642 alias.
17643 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17644 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17645 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17646 of adding _internal alias.
17647
13764867
L
176482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17649
17650 [BZ #14117]
6bd97696
L
17651 * sysdeps/i386/bits/link.h: Removed.
17652 * sysdeps/i386/bits/linkmap.h: Likewise.
17653 * sysdeps/x86_64/bits/link.h: Renamed to ...
17654 * sysdeps/x86/bits/link.h: This.
17655 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17656 * sysdeps/x86/bits/linkmap.h: This.
17657
f726f0bb
L
17658 * sysdeps/i386/bits/endian.h: Removed.
17659 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17660 * sysdeps/x86/bits/endian.h: This.
17661
13764867
L
17662 * sysdeps/i386/bits/byteswap.h: Removed.
17663 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17664 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17665 * sysdeps/x86/bits/byteswap.h: This.
17666 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17667 * sysdeps/x86/bits/byteswap-16.h: This.
17668 * sysdeps/i386/Implies: Add x86.
17669 * sysdeps/x86_64/Implies: Likewise.
17670
ae251b0b
DM
176712012-05-30 David S. Miller <davem@davemloft.net>
17672
17673 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17674 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17675 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17676 (FP_TRAPPING_EXCEPTIONS): Define.
17677 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17678 (FP_TRAPPING_EXCEPTIONS): Define.
17679 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17680 subnormals only when inexact has been signalled or underflow
17681 exceptions are enabled.
17682 (_FP_PACK_CANONICAL): Likewise.
17683
d5c90867
L
176842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17685
17686 [BZ #14183]
17687 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17688 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17689
63f1549e
RH
176902012-05-30 Richard Henderson <rth@twiddle.net>
17691
8d8f2279
RH
17692 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17693 with #ifndef NOT_IN_libc.
17694
63f1549e
RH
17695 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17696 marked to avoid plt entry.
17697
0ab0291b
L
176982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17699
17700 [BZ #14112]
17701 * Makeconfig (default-abi): New macro.
17702 (abi-includes): Likewise.
17703 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17704 $(abi-$(default-abi)-lib-soname) for soname if defined.
17705 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17706 abi-variants.
17707 * Makefile (installed-stubs): Likewise.
17708 * include/stubs-biarch.h: Removed.
17709 * scripts/lib-names.awk: Only handle one library at a time.
17710 * scripts/soversions.awk: Remove WORDSIZE support.
17711 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17712 entries.
17713 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17714 Removed.
17715 (syscall-list-default-condition): Likewise.
17716 (syscall-list-default-condition): Likewise.
17717 (syscall-list-includes): Likewise.
17718 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17719 syscall-list-* with abi-*. Handle undefined abi-variants.
17720 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17721 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17722 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17723 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17724 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17725 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17726 Removed.
17727 (syscall-list-32-options): Likewise.
17728 (syscall-list-32-condition): Likewise.
17729 (syscall-list-64-options): Likewise.
17730 (syscall-list-64-condition): Likewise.
17731 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17732 macro.
17733 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17734 Renamed to ...
17735 (abi-*): This.
17736 (abi-64-ld-soname): New macro.
17737 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17738 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17739 Renamed to ...
17740 (abi-*): This.
17741 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17742 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17743
4da0431d
JM
177442012-05-30 Joseph Myers <joseph@codesourcery.com>
17745
3a85279c
JM
17746 * sysdeps/unix/sysv/linux/kernel-features.h
17747 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17748 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17749 include <kernel-features.h>.
17750 [!__NR_ftruncate64]: Remove conditional code.
17751 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17752 [__NR_ftruncate64]: Make code unconditional.
17753 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17754 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17755 include <kernel-features.h>.
17756 [!__NR_ftruncate64]: Remove conditional code.
17757 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17758 [__NR_ftruncate64]: Make code unconditional.
17759 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17761 include <kernel-features.h>.
17762 [!__NR_ftruncate64]: Remove conditional code.
17763 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17764 [__NR_ftruncate64]: Make code unconditional.
17765 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17767 include <kernel-features.h>.
17768 [!__NR_ftruncate64]: Remove conditional code.
17769 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17770 [__NR_ftruncate64]: Make code unconditional.
17771 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17772
4da0431d
JM
17773 * configure.in (libc_cv_fpie): Weaken to a compile test using
17774 LIBC_TRY_CC_OPTION.
17775 * configure: Regenerated.
17776
11ef492c
AK
177772012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17778
17779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17781 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17783 Refreshed.
17784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17790 Refreshed.
17791
d66ef399
DM
177922012-05-27 David S. Miller <davem@davemloft.net>
17793
17794 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17795 (___Q_zero): New.
17796 (__Q_simulate_exceptions): Return void. Change to simulate
17797 exceptions by writing into the %fsr.
17798 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17799 (__Qp_handle_exceptions): Likewise.
17800 (numbers): Delete.
17801 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17802 __Qp_handle_exceptions.
17803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17804 __Qp_handle_exceptions.
17805 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17806 as unused and give dummy FP_RND_NEAREST initializer.
17807 (FP_INHIBIT_RESULTS): Define.
17808 (___Q_simulate_exceptions): Update declaration.
17809 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17810 formatting.
17811 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17812 as unused and give dummy FP_RND_NEAREST initializer.
17813 (__Qp_handle_exceptions): Update declaration.
17814 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17815 formatting.
17816
04fb54b5
TS
178172012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17818
17819 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17820 the temporary FPU control word.
17821 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17822 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17823 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17824 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17825 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17826 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17827 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17828 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17829 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17830 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17831 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17832
3f99608f
KK
178332012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17834
17835 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17836 fields.
17837
65a4de4e
CLT
178382012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17839
17840 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17841 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17842 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17843 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17844 Likewise.
17845 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17846 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17847 Likewise.
17848
15749d40
UD
178492012-05-27 Ulrich Drepper <drepper@gmail.com>
17850
17851 * po/h.po: Update from translation team.
17852
25dbcb27
AS
178532012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17854
3d3f8e55
AS
17855 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17856
25dbcb27
AS
17857 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17858 handling of denormals.
17859 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17860 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17861 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17862 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17863 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17865 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17866 Likewise.
17867
7ad47a80 178682012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17869
17870 [BZ #14152]
17871 * math/libm-test.inc (fma_test): Don't always expect underflow
17872 exception.
17873
9c6ea9fa
SP
178742012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17875
17876 [BZ #12416]
17877 * elf/tst-execstack.c: Include stackinfo.h.
17878 (do_test): Adjust test case to ensure that pthread_getattr_np
17879 behaviour remains the same after marking stack executable.
17880
a8239222
JM
178812012-05-25 Joseph Myers <joseph@codesourcery.com>
17882
17883 * sysdeps/unix/sysv/linux/kernel-features.h
17884 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17885 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17886 kernel-features.h.
17887 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17888 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17889 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17890 kernel-features.h.
17891 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17892 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17893
918b5606
L
178942012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17895
17896 * configure.in: Define the default includes to being none.
17897 * configure: Regenerated.
17898
3a097cc7
RM
178992012-05-25 Roland McGrath <roland@hack.frob.com>
17900
8422c9a5
RM
17901 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17902 * sysdeps/x86_64/setjmp.S: Likewise.
17903 * sysdeps/i386/bsd-setjmp.S: Likewise.
17904 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17905 * sysdeps/i386/setjmp.S: Likewise.
17906 * sysdeps/i386/__longjmp.S: Likewise.
17907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17908 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17909
3a097cc7
RM
17910 * include/stap-probe.h: New file.
17911 * configure.in: Handle --enable-systemtap.
17912 * configure: Regenerated.
17913 * config.h.in (USE_STAP_PROBE): New #undef.
17914 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17915 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17916 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17917
21708942
JM
179182012-05-25 Joseph Myers <joseph@codesourcery.com>
17919
17920 [BZ #13717]
17921 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17922 to 2.4.0 where earlier.
17923 * sysdeps/unix/sysv/linux/configure: Regenerated.
17924 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17925 <kernel-features.h>.
17926 [__ASSUME_32BITUIDS]: Make code unconditional.
17927 [!__ASSUME_32BITUIDS]: Remove conditional code.
17928 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17929 <kernel-features.h>.
17930 [__ASSUME_32BITUIDS]: Make code unconditional.
17931 [!__ASSUME_32BITUIDS]: Remove conditional code.
17932 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17933 [__ASSUME_32BITUIDS]: Make code unconditional.
17934 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17935 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17936 <kernel-features.h>.
17937 [__ASSUME_32BITUIDS]: Make code unconditional.
17938 [!__ASSUME_32BITUIDS]: Remove conditional code.
17939 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17940 <kernel-features.h>.
17941 [__ASSUME_32BITUIDS]: Make code unconditional.
17942 [!__ASSUME_32BITUIDS]: Remove conditional code.
17943 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17944 <kernel-features.h>.
17945 [__ASSUME_32BITUIDS]: Make code unconditional.
17946 [!__ASSUME_32BITUIDS]: Remove conditional code.
17947 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17948 <kernel-features.h>.
17949 [__ASSUME_32BITUIDS]: Make code unconditional.
17950 [!__ASSUME_32BITUIDS]: Remove conditional code.
17951 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17952 <kernel-features.h>.
17953 [__ASSUME_32BITUIDS]: Make code unconditional.
17954 [!__ASSUME_32BITUIDS]: Remove conditional code.
17955 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17956 <kernel-features.h>.
17957 [__ASSUME_32BITUIDS]: Make code unconditional.
17958 [!__ASSUME_32BITUIDS]: Remove conditional code.
17959 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17960 <kernel-features.h>.
17961 [__ASSUME_32BITUIDS]: Make code unconditional.
17962 [!__ASSUME_32BITUIDS]: Remove conditional code.
17963 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17964 <kernel-features.h>.
17965 [__ASSUME_32BITUIDS]: Make code unconditional.
17966 [!__ASSUME_32BITUIDS]: Remove conditional code.
17967 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17968 <kernel-features.h>.
17969 [__ASSUME_32BITUIDS]: Make code unconditional.
17970 [!__ASSUME_32BITUIDS]: Remove conditional code.
17971 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17972 <kernel-features.h>.
17973 [__ASSUME_32BITUIDS]: Make code unconditional.
17974 [!__ASSUME_32BITUIDS]: Remove conditional code.
17975 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17976 <kernel-features.h>.
17977 [__NR_setresgid] (__setresgid): Do not declare.
17978 [__ASSUME_32BITUIDS]: Make code unconditional.
17979 [!__ASSUME_32BITUIDS]: Remove conditional code.
17980 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17981 <kernel-features.h>.
17982 [__NR_setresuid] (__setresuid): Do not declare.
17983 [__ASSUME_32BITUIDS]: Make code unconditional.
17984 [!__ASSUME_32BITUIDS]: Remove conditional code.
17985 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17986 <kernel-features.h>.
17987 [__ASSUME_32BITUIDS]: Make code unconditional.
17988 [!__ASSUME_32BITUIDS]: Remove conditional code.
17989 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17990 <kernel-features.h>.
17991 [__ASSUME_32BITUIDS]: Make code unconditional.
17992 [!__ASSUME_32BITUIDS]: Remove conditional code.
17993 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17994 <kernel-features.h>.
17995 [__ASSUME_32BITUIDS]: Make code unconditional.
17996 [!__ASSUME_32BITUIDS]: Remove conditional code.
17997 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17998 <kernel-features.h>.
17999 [__ASSUME_32BITUIDS]: Make code unconditional.
18000 [!__ASSUME_32BITUIDS]: Remove conditional code.
18001 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18002 <kernel-features.h>.
18003 [__ASSUME_32BITUIDS]: Make code unconditional.
18004 [!__ASSUME_32BITUIDS]: Remove conditional code.
18005 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18006 <kernel-features.h>.
18007 [__ASSUME_32BITUIDS]: Make code unconditional.
18008 [!__ASSUME_32BITUIDS]: Remove conditional code.
18009 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18010 <kernel-features.h>.
18011 [__ASSUME_32BITUIDS]: Make code unconditional.
18012 [!__ASSUME_32BITUIDS]: Remove conditional code.
18013 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18014 <kernel-features.h>.
18015 [__ASSUME_32BITUIDS]: Make code unconditional.
18016 [!__ASSUME_32BITUIDS]: Remove conditional code.
18017 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18018 <kernel-features.h>.
18019 [__ASSUME_32BITUIDS]: Make code unconditional.
18020 [!__ASSUME_32BITUIDS]: Remove conditional code.
18021 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18022 <kernel-features.h>.
18023 [__ASSUME_32BITUIDS]: Make code unconditional.
18024 [!__ASSUME_32BITUIDS]: Remove conditional code.
18025 * sysdeps/unix/sysv/linux/kernel-features.h
18026 (__ASSUME_SETRESUID_SYSCALL): Remove.
18027 (__ASSUME_SETRESGID_SYSCALL): Likewise.
18028 (__ASSUME_32BITUIDS): Likewise.
18029 (__ASSUME_LDT_WORKS): Likewise.
18030 (__ASSUME_O_DIRECTORY): Likewise.
18031 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18032 architecture but not kernel version.
18033 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18034 (__ASSUME_MMAP2_SYSCALL): Likewise.
18035 (__ASSUME_STAT64_SYSCALL): Likewise.
18036 (__ASSUME_IPC64): Likewise.
18037 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18038 <kernel-features.h>.
18039 [__ASSUME_32BITUIDS]: Make code unconditional.
18040 [!__ASSUME_32BITUIDS]: Remove conditional code.
18041 * sysdeps/unix/sysv/linux/opendir.c: Do not include
18042 <kernel-features.h>.
18043 [__ASSUME_O_DIRECTORY]: Make code unconditional.
18044 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18045 132096]: Remove conditional code.
18046 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18047 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18048 <kernel-features.h>.
18049 [__ASSUME_32BITUIDS]: Make code unconditional.
18050 [!__ASSUME_32BITUIDS]: Remove conditional code.
18051 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18052 <kernel-features.h>.
18053 [__ASSUME_32BITUIDS]: Make code unconditional.
18054 [!__ASSUME_32BITUIDS]: Remove conditional code.
18055 * sysdeps/unix/sysv/linux/setegid.c: Do not include
18056 <kernel-features.h>.
18057 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18058 unconditional.
18059 (__setresgid): Do not declare.
18060 [__ASSUME_32BITUIDS]: Make code unconditional.
18061 [!__ASSUME_32BITUIDS]: Remove conditional code.
18062 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18063 <kernel-features.h>.
18064 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18065 unconditional.
18066 (__setresuid): Do not declare.
18067 [__ASSUME_32BITUIDS]: Make code unconditional.
18068 [!__ASSUME_32BITUIDS]: Remove conditional code.
18069 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
18074 <kernel-features.h>.
18075 [__ASSUME_32BITUIDS]: Make code unconditional.
18076 [!__ASSUME_32BITUIDS]: Remove conditional code.
18077
a386f1cc
RH
180782012-05-25 Richard Henderson <rth@twiddle.net>
18079
18080 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18081 dl_hwcap to ifunc resolver.
18082 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18083 elf_ifunc_invoke.
18084 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18085 dl_hwcap to ifunc resolver.
18086 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18087
b6550497
JM
180882012-05-24 Joseph Myers <joseph@codesourcery.com>
18089
18090 [BZ #14153]
18091 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18092 for |x| <= 2**-26, not 2**-57.
18093 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18094 exception.
18095
b0bc23a1
JL
180962012-05-24 Jeff Law <law@redhat.com>
18097
18098 * stdio-common/Makefile (tests): Add bug25.
18099 * stdio-common/bug25.c: New test.
18100
347c92e9
L
181012012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18102
18103 [BZ #13576]
18104 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18105 multiple of MALLOC_ALIGNMENT in size.
18106 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18107
6bcc8b3f
JM
181082012-05-24 Joseph Myers <joseph@codesourcery.com>
18109
18110 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18111 Require >= 256.
18112 (FILENAME_MAX): Use macro-int-constant.
18113 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18114 (_IOFBF): Use macro-int-constant.
18115 (_IOLBF): Likewise.
18116 (_IONBF): Likewise.
18117 (SEEK_CUR): Likewise.
18118 (SEEK_END): Likewise.
18119 (SEEK_SET): Likewise.
18120 (TMP_MAX): Likewise.
18121 (EOF): Use macro-int-constant. Require < 0.
18122 (NULL): Use macro-constant. Require == 0.
18123 (stdin): Require type to be FILE *.
18124 (stdout): Likewise.
18125 (stderr): Likewise.
18126 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18127 macro-int-constant.
18128 (EXIT_SUCCESS): Likewise.
18129 (NULL): Use macro-constant. Require == 0.
18130 (RAND_MAX): Use macro-int-constant.
18131 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18132 [C99-based standards] (strtof): Require function.
18133 [C99-based standards] (strtold): Likewise.
18134 [C99-based standards] (strtoll): Likewise.
18135 [C99-based standards] (strtoull): Likewise.
18136 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18137 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18138 [ISO || ISO99 || ISO11] (math.h): Likewise.
18139 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18140 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18141 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18142
d18ea0c5
AS
181432012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18144
18145 [BZ #14132]
56d25bb8
AS
18146 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18147 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18148 * intl/dgettext.c (DCGETTEXT): Likewise.
18149 * intl/gettext.c (DCGETTEXT): Likewise.
18150 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18151 * posix/regex_internal.h (gettext): Likewise.
18152 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18153 Remove declaration.
18154 * include/argz.h (__argz_count_internal)
18155 (__argz_stringify_internal): Remove declaration.
18156 (__argz_count, __argz_stringify): Declare hidden proto.
18157 * intl/dcgettext.c: Remove use of INTDEF.
18158 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18159 * string/argz-stringify.c: Likewise.
18160 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18161 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18162 Declare hidden proto.
d18ea0c5
AS
18163 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18164 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18165 Declare hidden proto.
18166 * include/stdio.h (__asprintf_internal): Don't declare.
18167 (__asprintf): Don't define as macro. Declare hidden proto.
18168 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18169 (__fsetlocking): Declare hidden proto.
18170 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18171 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18172 hidden proto.
18173 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18174 (_IO_setlinebuf): Remove use of INTUSE.
18175 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18176 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18177 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18178 Remove declaration.
18179 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18180 (_IO_do_flush): Remove use of INTUSE.
18181 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18182 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18183 (_IO_adjust_column, _IO_least_wmarker)
18184 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18185 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18186 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18187 (_IO_default_doallocate, _IO_wdefault_doallocate)
18188 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18189 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18190 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18191 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18192 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18193 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18194 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18195 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18196 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18197 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18198 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18199 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18200 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18201 proto.
18202 (_IO_flush_all_internal, _IO_adjust_column_internal)
18203 (_IO_default_uflow_internal, _IO_default_finish_internal)
18204 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18205 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18206 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18207 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18208 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18209 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18210 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18211 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18212 (_IO_file_close_internal, _IO_file_close_it_internal)
18213 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18214 (_IO_file_init_internal, _IO_file_attach_internal)
18215 (_IO_file_fopen_internal, _IO_file_read_internal)
18216 (_IO_file_sync_internal, _IO_file_seek_internal)
18217 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18218 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18219 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18220 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18221 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18222 (_IO_list_all_internal, _IO_link_in_internal)
18223 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18224 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18225 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18226 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18227 (_IO_do_write_internal, _IO_padn_internal)
18228 (_IO_getline_info_internal, _IO_getline_internal)
18229 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18230 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18231 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18232 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18233 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18234 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18235 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18236 with libc_hidden_ver, remove use of INTUSE.
18237 * libio/genops.c: Likewise.
18238 * libio/freopen.c: Likewise.
18239 * libio/freopen64.c: Likewise.
18240 * libio/iofclose.c: Likewise.
18241 * libio/iofdopen.c: Likewise.
18242 * libio/iofflush.c: Likewise.
18243 * libio/iofflush_u.c: Likewise.
18244 * libio/iofgets.c: Likewise.
18245 * libio/iofgets_u.c: Likewise.
18246 * libio/iofopen.c: Likewise.
18247 * libio/iofopncook.c: Likewise.
18248 * libio/iofread.c: Likewise.
18249 * libio/iofread_u.c: Likewise.
18250 * libio/ioftell.c: Likewise.
18251 * libio/iofwrite.c: Likewise.
18252 * libio/iogetline.c: Likewise.
18253 * libio/iogets.c: Likewise.
18254 * libio/iogetwline.c: Likewise.
18255 * libio/iopadn.c: Likewise.
18256 * libio/iopopen.c: Likewise.
18257 * libio/ioseekoff.c: Likewise.
18258 * libio/ioseekpos.c: Likewise.
18259 * libio/iosetbuffer.c: Likewise.
18260 * libio/iosetvbuf.c: Likewise.
18261 * libio/ioungetc.c: Likewise.
18262 * libio/ioungetwc.c: Likewise.
18263 * libio/iovdprintf.c: Likewise.
18264 * libio/iovsprintf.c: Likewise.
18265 * libio/iovsscanf.c: Likewise.
18266 * libio/memstream.c: Likewise.
18267 * libio/obprintf.c: Likewise.
18268 * libio/oldfileops.c: Likewise.
18269 * libio/oldiofclose.c: Likewise.
18270 * libio/oldiofdopen.c: Likewise.
18271 * libio/oldiofopen.c: Likewise.
18272 * libio/oldiopopen.c: Likewise.
18273 * libio/oldstdfiles.c: Likewise.
18274 * libio/putc.c: Likewise.
18275 * libio/setbuf.c: Likewise.
18276 * libio/setlinebuf.c: Likewise.
18277 * libio/stdfiles.c: Likewise.
18278 * libio/strops.c: Likewise.
18279 * libio/vasprintf.c: Likewise.
18280 * libio/vscanf.c: Likewise.
18281 * libio/vsnprintf.c: Likewise.
18282 * libio/vswprintf.c: Likewise.
18283 * libio/wfiledoalloc.c: Likewise.
18284 * libio/wfileops.c: Likewise.
18285 * libio/wgenops.c: Likewise.
18286 * libio/wmemstream.c: Likewise.
18287 * libio/wstrops.c: Likewise.
18288 * libio/__fpurge.c: Likewise.
18289 * libio/__fsetlocking.c: Likewise.
18290 * assert/assert.c: Likewise.
18291 * debug/fgets_chk.c: Likewise.
18292 * debug/fgets_u_chk.c: Likewise.
18293 * debug/fread_chk.c: Likewise.
18294 * debug/fread_u_chk.c: Likewise.
18295 * debug/gets_chk.c: Likewise.
18296 * debug/obprintf_chk.c: Likewise.
18297 * debug/vasprintf_chk.c: Likewise.
18298 * debug/vdprintf_chk.c: Likewise.
18299 * debug/vsnprintf_chk.c: Likewise.
18300 * debug/vsprintf_chk.c: Likewise.
18301 * malloc/mtrace.c: Likewise.
18302 * misc/error.c: Likewise.
18303 * misc/syslog.c: Likewise.
18304 * stdio-common/asprintf.c: Likewise.
18305 * stdio-common/fxprintf.c: Likewise.
18306 * stdio-common/getw.c: Likewise.
18307 * stdio-common/isoc99_fscanf.c: Likewise.
18308 * stdio-common/isoc99_scanf.c: Likewise.
18309 * stdio-common/isoc99_vfscanf.c: Likewise.
18310 * stdio-common/isoc99_vscanf.c: Likewise.
18311 * stdio-common/isoc99_vsscanf.c: Likewise.
18312 * stdio-common/printf-prs.c: Likewise.
18313 * stdio-common/printf_fp.c: Likewise.
18314 * stdio-common/printf_fphex.c: Likewise.
18315 * stdio-common/printf_size.c: Likewise.
18316 * stdio-common/putw.c: Likewise.
18317 * stdio-common/scanf.c: Likewise.
18318 * stdio-common/sprintf.c: Likewise.
18319 * stdio-common/tmpfile.c: Likewise.
18320 * stdio-common/vfprintf.c: Likewise.
18321 * stdio-common/vfscanf.c: Likewise.
18322 * stdlib/strfmon_l.c: Likewise.
18323 * sunrpc/openchild.c: Likewise.
18324 * sunrpc/xdr_stdio.c: Likewise.
18325 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18326 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18327
d6c33fda
RM
183282012-05-24 Roland McGrath <roland@hack.frob.com>
18329
c1487492
RM
18330 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18331
18332 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18333 in the third column, to generate for the shared library an IFUNC
18334 that uses _dl_vdso_vsym.
18335 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18336 * Makeconfig (object-suffixes-noshared): New variable.
18337
18338 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18339 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18340 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18341 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18342
d6c33fda
RM
18343 [BZ #14132]
18344 * include/sys/time.h (__gettimeofday): Remove macro.
18345 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18346 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18347 Remove INTDEF.
18348 (__gettimeofday): Add libc_hidden_def.
18349 (gettimeofday): Add libc_hidden_weak.
18350 * sysdeps/mach/gettimeofday.c: Likewise.
18351 * sysdeps/posix/gettimeofday.c: Likewise.
18352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18353 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18354 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18355 (__gettimeofday_internal): Remove strong_alias.
18356 (__gettimeofday): Add libc_hidden_def.
18357 (gettimeofday): Add libc_hidden_weak.
18358 * sysdeps/unix/syscalls.list (gettimeofday):
18359 Remove __gettimeofday_internal alias.
18360
b5a2bbe6
L
183612012-05-24 Daniel Jacobowitz <drow@false.org>
18362 H.J. Lu <hongjiu.lu@intel.com>
18363
18364 [BZ #12495]
18365 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18366 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18367 (largebin_index_32_big): New.
18368 (largebin_index): Use it for 16-byte alignment.
18369 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18370 correction with front_misalign.
18371
cfba4fda
L
183722012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18373
7f907421
L
18374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18376 Likewise.
18377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18378 Likewise.
18379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18380 Likewise.
18381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18382 Likewise.
18383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18384 Likewise.
18385 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18386 Likewise.
18387 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18388 Likewise.
18389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18390 Likewise.
18391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18392 Likewise.
18393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18394 Likewise.
18395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18396 Likewise.
18397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18398 Likewise.
18399
cfba4fda
L
18400 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18401 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18402
80bad0cc
JM
184032012-05-24 Joseph Myers <joseph@codesourcery.com>
18404
7a25eb06
JM
18405 [BZ #10846]
18406 [BZ #14036]
18407 * math/libm-test.inc (exp_test): Add test from bug 14036.
18408 (pow_test): Add test from bug 10846.
18409
795405f9
JM
18410 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18411 and other flags.
18412 (special_function): Do not include flags in test name.
18413 (parse_args): Likewise.
18414 * sysdeps/i386/fpu/libm-test-ulps: Update.
18415 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18416 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18417 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18419
80bad0cc
JM
18420 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18421 exceptions.
18422 * math/libm-test.inc ("Philosophy"): Update comment about
18423 exception testing.
18424 (UNDERFLOW_EXCEPTION): New macro.
18425 (UNDERFLOW_EXCEPTION_OK): Likewise.
18426 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18427 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18428 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18429 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18430 (INVALID_EXCEPTION_OK): Update value.
18431 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18432 (OVERFLOW_EXCEPTION_OK): Likewise.
18433 (IGNORE_ZERO_INF_SIGN): Likewise.
18434 (test_exceptions): Handle underflow exceptions.
18435 (acos_test): Update for underflow exception expectations.
18436 (cexp_test): Likewise.
18437 (clog_test): Likewise.
18438 (clog10_test): Likewise.
18439 (csqrt_test): Likewise.
18440 (ctan_test): Likewise.
18441 (ctanh_test): Likewise.
18442 (exp_test): Likewise.
18443 (exp10_test): Likewise.
18444 (exp2_test): Likewise.
18445 (expm1_test): Likewise.
18446 (fma_test): Likewise.
18447 (j0_test): Likewise.
18448 (jn_test): Likewise.
18449 (nexttoward_test): Likewise.
18450 (pow_test): Likewise.
18451 (scalbn_test): Likewise.
18452 (scalbln_test): Likewise.
18453 (tan_test): Likewise.
18454 (y1_test): Likewise.
18455 * sysdeps/i386/fpu/libm-test-ulps: Update.
18456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18457
9e0e3d0b
DM
184582012-05-23 David S. Miller <davem@davemloft.net>
18459
18460 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18461 (__libc_sigaction): Remove unused local variables.
18462
ccd0a08f
L
184632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18464
18465 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18466
62bdf9a6
PE
184672012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18468
f8591f80
PE
18469 mktime: avoid signed integer overflow
18470 * time/mktime.c (__mktime_internal): Do not mishandle the case
18471 where diff == INT_MIN.
18472
94c7d826
PE
18473 mktime: simplify computation of average
18474 * time/mktime.c (ranged_convert): Use new time_t_avg function
18475 instead of rolling our own (probably-slower) code.
18476
ce73d683
PE
18477 mktime: do not assume signed right shift propagates sign bit
18478 * time/mktime.c (isdst_differ): New static function.
18479 (__mktime_internal): No need to normalize tm_isdst now.
18480 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18481 tm_isdst values.
18482
72a22e59
PE
18483 mktime: merge another wrapv change from gnulib
18484 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18485 from some compilers.
18486
68605433
PE
18487 mktime: remove incorrect attempt at unusual arithmetics
18488 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18489 The code didn't really work on such machines anyway.
18490 (TYPE_MINIMUM): Assume two's complement.
18491 (twos_complement_arithmetic): Verify that long_int and time_t
18492 are two's complement (or unsigned, in the latter case).
18493
03cf7fe3
PE
18494 mktime: check signed shifts on long_int and time_t, too
18495 * time/mktime.c (SHR): Check that shifts work as desired
18496 on the types long_int and time_t too, as SHR is used on
18497 such types.
18498
f04dfbc2
PE
18499 mktime: do not assume 'long' is wide enough
18500 * time/mktime.c (verify): Move decl up.
18501 (long_int): New type.
18502 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18503 to remove assumption in the code that 'long' is wide enough to
18504 store year values. This assumption is not true on x32 and on
18505 some non-glibc platforms.
18506
62bdf9a6
PE
18507 mktime: merge wrapv change from gnulib
18508 * time/mktime.c (WRAPV): New macro.
18509 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18510 (guess_time_tm, __mktime_internal): Do not assume that signed
18511 integer overflow wraps around; modern compilers generate code
18512 where this assumption is no longer valid.
18513
5e292e4f
L
185142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18515
18516 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18517 Replace "jmp L(pseudo_end)" with "ret".
18518 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18519 Likewise.
18520
8caf8c87
AJ
185212012-05-23 Andreas Jaeger <aj@suse.de>
18522
18523 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18524 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18525
1a09dc56
AJ
185262012-05-23 Andreas Jaeger <aj@suse.de>
18527 Maximilian Attems <max@stro.at>
18528
18529 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18530 New macros.
18531
1c87aba0
L
185322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18533
18534 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18535 code so that pseudo_end is just ret and the stack pointer is
18536 correct also for static library in error case.
18537
40e45bd5
JM
185382012-05-23 Joseph Myers <joseph@codesourcery.com>
18539
c2670533
JM
18540 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18541 move to syscalls.list.
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18546
40e45bd5
JM
18547 * manual/install.texi (Running make install): Do not mention Linux
18548 kernel version for which pt_chown is not needed.
18549 (Linux): Do not mention problems with nscd with 2.0 kernels.
18550 * INSTALL: Regenerated.
18551
be08eda5
AJ
185522012-05-23 Andreas Jaeger <aj@suse.de>
18553
18554 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18555 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18556 macro.
18557 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18558 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18559 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18560 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18561 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18562 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18563 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18564 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18565 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18566 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18567 * sysdeps/unix/sysv/linux/bits/in.h
18568 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18569
a6a056bb
RM
185702012-05-22 Roland McGrath <roland@hack.frob.com>
18571
18572 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18573 (PREPARE_VERSION): Just use assert instead, it will be elided
18574 under [NDEBUG] anyway.
18575
c9009328
L
185762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18577
18578 * sysdeps/unix/sysv/linux/Makefile: Include
18579 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18580 (sysdep_routines): Remove sysctl.
c9009328
L
18581 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18582 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18583 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18584 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18585 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18586
73338355
AJ
185872012-05-22 Andreas Jaeger <aj@suse.de>
18588
18589 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18590 that pseudo_end is just ret and the stack pointer is correct also
18591 for static library in error case.
18592
d44638b0
PP
185932012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18594
18595 [BZ #14122]
18596 * nss/nsswitch.c (defconfig_entries): New variable.
18597 (__nss_database_lookup): Don't leak defconfig entries.
18598 (nss_parse_service_list): Don't leak on error paths.
18599 (free_database_entries): New function.
18600 (free_defconfig): New function.
18601 (free_mem): Move common code to free_database_entries.
18602
31a39bd8
L
186032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18604
da0331a8
L
18605 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18606 Add arch_prctl.
18607 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18608
31a39bd8
L
18609 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18610 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18611 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18612 New macro.
18613 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18614 (INTERNAL_SYSCALL_TYPES): Likewise.
18615 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18616 (LOAD_REGS_TYPES_[1-6]): Likewise.
18617 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18618 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18619
45470df3
AZ
186202012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18621
18622 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18623 copysignl for GLIBC_2_0.
18624 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18625 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18626 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18627 logbl for GLIBC_2_0.
18628 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18629 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18630
98a61bcb
L
186312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18632
a4f6e481
L
18633 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18634 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18635
f63d5db6
L
18636 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18637 Use "neg %eax".
18638
98a61bcb
L
18639 * time/mktime.c: Update copyright years.
18640
95770f14
PE
186412012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18642
6226efbd
PE
18643 mktime: merge comment-quoting-style change from gnulib
18644 * time/mktime.c: Quote 'like this' in comments.
18645 The GNU coding standards suggest that we no longer quote `like this',
18646 as "`" and "'" are typically rendered asymmetrically nowadays.
18647 The typical gnulib style is to quote 'like this' when quoting
18648 code, and "like this" when quoting English.
18649
b99e4f78
PE
18650 * time/mktime.c (compile-command): Add "-I.".
18651
643e01e6
PE
18652 mktime: merge mktime-internal.h change from gnulib
18653 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18654
2554247d
PE
18655 mktime: merge time_r change from gnulib
18656 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18657
826dd0ab
PE
18658 mktime: merge DEBUG change from gnulib
18659 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18660 case system <time.h> has a #define.
18661
bd83aabe
PE
18662 mktime: merge <sys/types.h> change from gnulib
18663 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18664 since <time.t> is now guaranteed to define time_t.
18665
95770f14
PE
18666 mktime: merge HAVE_CONFIG_H change from gnulib
18667 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18668
5e1a27a9
L
186692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18670
0e44a77e
L
18671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18672 Use "neg %eax".
18673
5e1a27a9
L
18674 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18675 __rlim_t cast.
18676 (struct rusage): Use anonymous union to pad each field to
18677 __syscall_slong_t.
18678
46259bec
DM
186792012-05-21 David S. Miller <davem@davemloft.net>
18680
18681 * Makefules (o-iterator): Remove .s cases.
18682 (compile-command.s): Delete.
18683 (COMPILE.s): Delete.
18684 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18685
59f0c22e
JM
186862012-05-21 Joseph Myers <joseph@codesourcery.com>
18687
18688 * configure.in (libc_cv_predef_stack_protector): Only consider
18689 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18690 * configure: Regenerated.
18691
20c07380
L
186922012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18693
bbb3154b
L
18694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18695 New macro. Use R*LP on int and pointer.
18696 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18697 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18698 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18699 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18700
20c07380
L
18701 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18702 [__WORDSIZE_TIME64_COMPAT32] instead of
18703 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18704 (struct utmp): Likewise.
18705 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18706 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18707 Renamed to ...
18708 (__WORDSIZE_TIME64_COMPAT32): This.
18709 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18710 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18711 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18712 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18713 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18714 (__WORDSIZE_TIME64_COMPAT32): New macro.
18715
d8d1017e
AJ
187162012-05-21 Andreas Jaeger <aj@suse.de>
18717
18718 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18719 only if [SHARED]. Add prototype for __wcschr_ia32.
18720
6c7fb145
RM
187212012-05-21 Roland McGrath <roland@hack.frob.com>
18722
18723 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18724 of %rbp unmolested in the jmp_buf while mangling the low bits.
18725 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18726 unmolested high bits of %rbp while demangling the low bits.
18727 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18728
66274218
AJ
187292012-05-21 Andreas Jaeger <aj@suse.de>
18730
07c58f8f
AJ
18731 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18732 * sunrpc/svc_simple.c: Use it for registerrpc.
18733 * sunrpc/xcrypt.c: Use it for passwd2des.
18734
66274218
AJ
18735 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18736
61f65140
L
187372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18738
18739 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18740 Don't define if [__SYSCALL_WORDSIZE != 32].
18741 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18742 New macro.
18743
5fefb436
AJ
187442012-05-21 Bruno Haible <bruno@clisp.org>
18745 Andreas Jaeger <aj@suse.de>
18746
18747 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18748 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18749 inptr and inend for must_buffer_ch.
18750 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18751 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18752 * stdio-common/Makefile (tests): Remove bug15.
18753 (bug15-ENV): Remove macro.
18754 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18755 anymore.
18756
d8e272ab
AJ
187572012-05-19 Andreas Jaeger <aj@suse.de>
18758 Roland McGrath <roland@hack.frob.com>
18759
18760 * manual/contrib.texi: Completely rewritten. It contains now an
18761 alphabetical list of contributors and their contributions.
18762
4a56a162
RH
187632012-05-21 Richard Henderson <rth@twiddle.net>
18764
18765 * misc/getauxval.c (__getauxval): Use unsigned long int.
18766 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18767 (getauxval): Use unsigned long int.
18768
d024d23c
L
187692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18770
18771 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18772
cbc00a03
RM
187732012-05-21 Roland McGrath <roland@hack.frob.com>
18774
18775 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18776 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18777 __alignof__ (long double).
18778
478143fa
AZ
187792012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18780
18781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18782
c7683a6d
RH
187832012-05-20 Richard Henderson <rth@twiddle.net>
18784
18785 * misc/getauxval.c: New file.
18786 * misc/sys/auxv.h: New file.
18787 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18788 (routines): Add getauxval.
18789 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18790 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18791 * elf/dl-sysdep.c (_dl_auxv): Remove.
18792 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18793 * elf/dl-support.c (_dl_auxv): New variable.
18794 (_dl_aux_init): Initialize it.
18795 * manual/startup.texi (Auxiliary Vector): New node.
18796 * sysdeps/generic/bits/hwcap.h: New file.
18797 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18798 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18799 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18800 * sysdeps/sparc/sysdep.h: ... here. Include it.
18801 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18802 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18804 Update.
c7683a6d
RH
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18811 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18813
a6f1845d
AZ
188142012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18815
18816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18817
cbcbe830
DM
188182012-05-19 David S. Miller <davem@davemloft.net>
18819
18820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18821
e0b16cc2
JM
188222012-05-19 Joseph Myers <joseph@codesourcery.com>
18823
18824 [BZ #14123]
18825 * math/s_ccosh.c: Include <float.h>
18826 (__ccosh): Avoid internal overflow calculating sinh and cosh
18827 values before multiplying by sin and cos values.
18828 * math/s_ccoshf.c: Likewise.
18829 * math/s_ccoshl.c: Likewise.
18830 * math/s_csin.c: Likewise.
18831 * math/s_csinf.c: Likewise.
18832 * math/s_csinl.c: Likewise.
18833 * math/s_csinh.c: Likewise.
18834 * math/s_csinhf.c: Likewise.
18835 * math/s_csinhl.c: Likewise.
18836 * math/libm-test.inc (ccos_test): Add more tests.
18837 (ccosh_test): Likewise.
18838 (csin_test): Likewise.
18839 (csinh_test): Likewise.
18840 * sysdeps/i386/fpu/libm-test-ulps: Update.
18841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18842
6ad13e08
L
188432012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18844
f66f0ce8
L
18845 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18846 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18847
6ad13e08
L
18848 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18849
b1d072a7
JM
188502012-05-19 Joseph Myers <joseph@codesourcery.com>
18851
18852 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18853 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18854 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18855 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18856 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18857 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18858 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18859 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18860 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18861 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18862 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18863 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18864 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18865 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18866 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18867 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18868 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18869 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18870 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18871 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18872 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18873 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18874 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18875 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18876 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18877 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18878 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18879 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18880 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18881 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18882 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18883
9eae47cb
AJ
188842012-05-18 Andreas Jaeger <aj@suse.de>
18885
18886 * csu/.gitignore: Delete.
18887
bb07f69f
L
188882012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18889
18890 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18891 (timex): Use __syscall_slong_t.
18892
e6bdb741
AJ
188932012-05-18 Andreas Jaeger <aj@suse.de>
18894 Carlos O'Donell <carlos_odonell@mentor.com>
18895
18896 * manual/install.texi (Configuring and compiling): Update
18897 description about files modified in the source directory.
d6c33fda 18898 * INSTALL: Regenerated.
e6bdb741 18899
1b74487e
L
189002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18901
18902 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18903 value. Use "or" to set return value to -1.
18904 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18905 negate return value.
18906
a88b64b9
TMQMF
189072012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18908
18909 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18910 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18911 failure if the compiler has Graphite support disabled.
18912 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18913 Likewise.
18914 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18915 CFLAGS-memmove.c): Likewise.
18916 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18917 Likewise.
18918
3707636e
L
189192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18920
610b8622
L
18921 * sysdeps/x86_64/x32/_itoa.h: New file.
18922
7cd195df
L
18923 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18924 getdents system call only if kernel and user dirents have the
18925 same d_ino and d_off.
18926
94b07d20
L
18927 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18928 LLONG_MAX != LONG_MAX.
18929 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18930 (_fitoa_word): Likewise.
18931
18298070
L
18932 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18933 years.
18934 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18935 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18936 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18937
553c7ea4
L
18938 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18939 include <bits/wordsize.h>. Check __x86_64__ instead of
18940 __WORDSIZE.
18941 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18942 if __x86_64__ is defined. Use anonymous union on fpstate.
18943
3707636e
L
18944 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18945 anonymous union.
18946
b53ef01a
AS
189472012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18948
37fb1dc0
AS
18949 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18950 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18951 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18952 Refer to _rtld_local_ro instead of _rtld_global_ro.
18953 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18954 Likewise.
18955 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18956 Likewise.
18957 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18958 Likewise.
18959 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18960 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18961 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18962
b53ef01a
AS
18963 * sysdeps/powerpc/powerpc32/dl-machine.c
18964 (__elf_machine_runtime_setup) [PROF]: Don't reference
18965 _dl_prof_resolve.
18966
7a185db2
AJ
189672012-05-18 Andreas Jaeger <aj@suse.de>
18968
18969 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18970 function only available for GCCs before 3.4 since GCC 3.4
18971 introduced a builtin.
18972 (lrint): Likewise.
18973 (llrintf): Likewise.
18974 (llrint): Likewise.
18975 (fmaxf): Likewise.
18976 (fmax): Likewise.
18977 (fminf): Likewise.
18978 (fmin): Likewise.
18979 (rint): Likewise.
18980 (rintf): Likewise.
18981 (nearbyint): Likewise.
18982 (nearbyintf): Likewise.
18983 (ceil): Likewise.
18984 (ceilf): Likewise.
18985 (floor): Likewise.
18986 (floorf): Likewise.
18987
3e5aef87
L
189882012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18989
428bd707
L
18990 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18991 on both fields and cast pointer to __syscall_ulong_t.
18992
3e5aef87
L
18993 * bits/types.h (__fsword_t): New type.
18994 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18995 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18996 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18997 (__FSWORD_T_TYPE): Likewise.
18998 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18999 (__FSWORD_T_TYPE): Likewise.
19000 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19001 (__FSWORD_T_TYPE): Likewise.
19002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19003 (__FSWORD_T_TYPE): Likewise.
19004 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19005 __SWORD_TYPE with __fsword_t.
19006 (statfs64): Likewise.
19007
1ba7c3dc
DM
190082012-05-17 David S. Miller <davem@davemloft.net>
19009
19010 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19011
59910343
AJ
190122012-05-17 Andreas Jaeger <aj@suse.de>
19013
19014 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19015 warning.
19016
2e4c1e9e
L
190172012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19018
19019 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19020
de7f5ce7
AJ
190212012-05-17 Andreas Jaeger <aj@suse.de>
19022
19023 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19024 when it is used.
19025
286abc3d
CM
190262012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19027
19028 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19029
477cc68e
L
190302012-05-17 H.J. Lu <hongjiu.lu@intel.com>
19031
19032 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19033 * sysdeps/x86_64/tst-mallocalign1.c: New file.
19034
1a0994f5
CD
190352012-05-17 Andreas Jaeger <aj@suse.de>
19036 Carlos O'Donell <carlos_odonell@mentor.com>
19037
19038 [BZ #14059]
19039 * sysdeps/x86_64/multiarch/init-arch.h
19040 (bit_YMM_Usable): Rename to...
19041 (bit_AVX_Usable): ... this.
19042 (bit_FMA4_Usable): New macro.
19043 (bit_XMM_state): New macro.
19044 (bit_YMM_state): New macro.
19045 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19046 [__ASSEMBLER__] (index_AVX_Usable): ... this.
19047 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19048 (CPUID_OSXSAVE): New macro.
19049 (CPUID_AVX): New macro.
19050 (CPUID_FMA4): New macro.
19051 (index_YMM_Usable): Rename to...
19052 (index_AVX_Usable): ... this.
19053 (HAS_AVX): Use HAS_ARCH_FEATURE.
19054 (HAS_FMA4): Likewise.
19055 (HAS_YMM_USABLE): Remove.
19056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19057 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19058 are present.
19059 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19060 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19061 * sysdeps/x86_64/multiarch/Makefile: Likewise.
19062 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19063 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19064
0af797de
CM
190652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
19066
19067 * math/libm-test.c: Support platforms without multiple rounding modes.
19068 * math/bug-nextafter.c: Support platforms without FP exceptions.
19069 * math/bug-nexttoward.c: Likewise.
19070 * math/test-fenv.c: Likewise.
19071 * math/test-misc.c: Likewise.
19072 * stdlib/bug-getcontext.c: Likewise.
19073
e39745ff
AJ
190742012-05-17 Andreas Jaeger <aj@suse.de>
19075
19076 * manual/examples/search.c (critter_cmp): Change signature to
19077 avoid warnings.
19078 * manual/string.texi (Collation Functions): Likewise.
19079
48970aba
L
190802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19081
19082 * bits/types.h: Fold copyright years.
19083 * bits/typesizes.h: Likewise.
19084 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19086 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19088 * time/time.h: Likewise.
19089
bedee953
PP
190902012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19091
19092 [BZ #208]
19093 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19094 in instead of returning them. Return void.
19095 (__libc_mallinfo): Accumulate over all arenas.
19096 (__malloc_stats): Adjust for change in int_mallinfo interface.
19097
61653dfb
RM
190982012-05-16 Roland McGrath <roland@hack.frob.com>
19099
30b99d79
RM
19100 [BZ #10375]
19101 * configure.in (NM): Add AC_CHECK_TOOL for it.
19102 (libc_extra_cflags): New substituted variable.
19103 Check for -fstack-protector being used implicitly.
19104 * configure: Regenerated.
19105 * config.make.in (config-extra-cflags): New variable,
19106 gets @libc_extra_cflags@.
19107 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19108
61653dfb
RM
19109 [BZ #10375]
19110 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19111 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19112 * configure: Regenerated.
19113 * config.make.in (CPPUNDEFS): New substituted variable.
19114 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19115 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19116 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19117
661768bb
L
191182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19119
19120 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19121 (mq_attr): Use __syscall_slong_t.
19122
d4261567
L
191232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19124
19125 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19126 Check __x86_64__ instead of __WORDSIZE.
19127 (_STAT_VER_LINUX): Likewise.
19128 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19129 __syscall_ulong_t and __syscall_slong_t.
19130 (stat64): Likewise.
19131
cf3ff365
L
191322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19133
19134 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19135
76cf3e4d
L
191362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19137
19138 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19139
a637753a
L
191402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19141
19142 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19143 __syscall_ulong_t.
19144
d5e05119
L
19145 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19146 include <bits/wordsize.h>. Check __x86_64__ instead of
19147 __WORDSIZE.
19148 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19149 defined.
19150 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19151
f62ee380
L
19152 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19153 include <bits/wordsize.h>. Check __x86_64__ instead of
19154 __WORDSIZE.
19155 (user_regs_struct): Use "__extension__ unsigned long long"
19156 instead of "unsigned long" if __x86_64__ is defined.
19157 (user): Likewise. Pad after pointer field if __ILP32__ is
19158 defined.
19159
4e124ced
JM
191602012-05-16 Joseph Myers <joseph@codesourcery.com>
19161
6a3951a0
JM
19162 * configure.in (makeinfo): Require version 4.5 or later. Allow
19163 versions 5 to 9.
19164 * configure: Regenerated.
19165 * manual/install.texi (texinfo): Increase version requirement to
19166 4.5 or later.
19167 * INSTALL: Regenerated.
19168
4e124ced
JM
19169 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19170
953ca31a
L
191712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19172
19173 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19174
617aca05
L
19175 * sysdeps/x86_64/x32/ffs.c: New file.
19176
5762f7ae
L
19177 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19178 __syscall_ulong_t.
19179 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19180 defined. Use __syscall_ulong_t.
19181 (shminfo): Use __syscall_ulong_t.
19182 (shm_info): Likewise.
19183
a26b6856
L
19184 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19185 __syscall_ulong_t.
19186
cb2b9ef7
L
19187 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19188 <bits/wordsize.h>.
19189 (msgqnum_t): Use __syscall_ulong_t.
19190 (msglen_t): Likewise.
19191 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19192 __syscall_ulong_t.
19193
34683bb0
L
19194 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19195 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19196
84a68786
L
19197 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19198
48baa5f1
L
19199 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19200 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19201
180be88b
L
19202 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19203 __syscall_slong_t.
19204
5e90c8ad
L
19205 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19206 include <bits/wordsize.h>. Check __x86_64__ instead of
19207 __WORDSIZE.
19208
23dfb58b
L
19209 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19210 "unsigned long long int" if __x86_64__ is defined.
19211 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19212
ce5d54b0
L
19213 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19214 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19215 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19216
13dc9eac
L
19217 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19218 <stdint.h>.
19219 (GET_PC): Cast to uintptr_t first.
19220 (GET_FRAME): Likewise.
19221 (GET_STACK): Likewise.
19222
a7895d15
L
19223 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19224 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19226 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19228 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19229 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19230 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19231 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19233 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19235 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19236 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19237 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19238 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19239 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19240 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19241 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19242 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19243 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19245 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19247 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19248 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19249 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19250 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19251 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19252
656416c9
AS
192532012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19254
5bd66283
AS
19255 * Makerules (+depfiles): Also collect depfiles from .oS in
19256 $(extra-objs).
19257 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19258 .oS, $(libnldbl-routines)).
19259
656416c9
AS
19260 * Makerules (native-compile-mkdep-flags): Define.
19261 * sunrpc/Makefile (extra-objs): Add $(addprefix
19262 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19263 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19264 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19265 calling $(make-target-directory).
19266
a46f2169
L
192672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19268
19269 * bits/types.h (__snseconds_t): Removed.
19270 * time/time.h (struct timespec): Replace __snseconds_t with
19271 __syscall_slong_t.
19272 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19273 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19274 Likewise.
19275 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19276 (__SNSECONDS_T_TYPE): Likewise.
19277 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19278 (__SNSECONDS_T_TYPE): Likewise.
19279 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19280 (__SNSECONDS_T_TYPE): Likewise.
19281
6af6528b
L
192822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19283
19284 * sysdeps/mach/hurd/bits/typesizes.h
19285 (__SYSCALL_SLONG_TYPE): New macro.
19286 (__SYSCALL_ULONG_TYPE): Likewise.
19287
de986b56
L
192882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19289
19290 * bits/types.h (__syscall_slong_t): New type.
19291 (__syscall_ulong_t): Likewise.
19292
19293 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19294 (__SYSCALL_ULONG_TYPE): Likewise.
19295 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19296 (__SYSCALL_SLONG_TYPE): Likewise.
19297 (__SYSCALL_ULONG_TYPE): Likewise.
19298 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19299 (__SYSCALL_SLONG_TYPE): Likewise.
19300 (__SYSCALL_ULONG_TYPE): Likewise.
19301 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19302 (__SYSCALL_SLONG_TYPE): Likewise.
19303 (__SYSCALL_ULONG_TYPE): Likewise.
19304
85736dc7
L
193052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19306
19307 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19308 Add sigaltstack-offsets.sym.
19309 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19310 <sigaltstack-offsets.h>.
19311 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19312 longjmp_msg pointer.
19313 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19314 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19315 signal stack.
19316 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19317
cc03b296
JM
193182012-05-15 Joseph Myers <joseph@codesourcery.com>
19319
a9538892
JM
19320 * elf/stackguard-macros.h: Remove file.
19321 * sysdeps/generic/stackguard-macros.h: New file.
19322 * sysdeps/i386/stackguard-macros.h: Likewise.
19323 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19324 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19325 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19326 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19327 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19328 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19329 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19330 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19331 <elf/stackguard-macros.h>.
19332
cc03b296
JM
19333 [BZ #14109]
19334 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19335 __aligned__ in attribute.
19336 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19337 (gregset_t): Likewise.
19338
93171016
L
193392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19340
19341 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19342 * sysdeps/x86_64/64/Implies-after: Here. New file.
19343 * sysdeps/x86_64/x32/Implies-after: New file.
19344
d86813a0
L
193452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19346
19347 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19348 and access return value for _dl_profile_fixup. Use R10_LP to
19349 load frame size.
19350
2953ec75
L
193512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19352
19353 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19354
3b550e9e
L
193552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19356
19357 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19358 * sysdeps/x86_64/x32/sysdep.h: New file.
19359
eda41706
L
193602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19361
19362 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19363 * sysdeps/x86_64/setjmp.S: Likewise.
19364
9ea01d93
AZ
193652012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19366
19367 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19368 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19369 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19370 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19371 remove unused global constant.
19372
02a91938
CM
193732012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19374
19375 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19376 include of <not-cancel.h>.
19377
6540185f
RM
193782012-05-15 Roland McGrath <roland@hack.frob.com>
19379
19380 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19381
509072a0
AJ
193822012-05-15 Jeff Law <law@redhat.com>
19383 Andreas Jaeger <aj@suse.de>
19384
19385 [BZ #13594]
19386 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19387 out from...
19388 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19389 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19390 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19391 code changing __hst_map_handle.map.
19392
ba75122d
RM
193932012-05-15 Roland McGrath <roland@hack.frob.com>
19394
19395 * configure.in (sysnames): Look for Implies-before and Implies-after
19396 files.
19397 * configure: Regenerated.
19398
890d8bd8
L
193992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19400
19401 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19402 8-byte data alignment with LP_SIZE alignment.
19403
f6ee6623
L
194042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19405
19406 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19407 into R10_LP.
19408
ea2626f6
L
194092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19410
19411 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19412
085f715e
L
194132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19414
19415 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19416 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19417 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19418 Likewise.
19419 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19420
be8498fc
L
194212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19422
19423 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19424 (stackinfo_sub_sp): Likewise.
19425
70bc83b9
L
194262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19427
19428 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19429 RAX_LP.
19430
9bc0b730
L
194312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19432
19433 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19434 into R*_LP.
19435
6d2850e7
L
194362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19437
19438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19439 sizes into R*_LP.
19440
3cb84561
L
194412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19442
19443 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19444
54e2ed81
L
194452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19446
19447 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19448 into R11_LP and load __x86_64_shared_cache_size_half into
19449 R8_LP.
19450
8a17f349
L
194512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19452
19453 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19454 R8_LP.
19455
777b1eea
AZ
194562012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19457
19458 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19459 logb for POWER7.
19460 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19461 logbf for POWER7.
19462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19463 logbl for POWER7.
19464 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19465 powerpc32/power7/fpu/s_logb.c via #include.
19466 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19467 powerpc32/power7/fpu/s_logbf.c via #include.
19468 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19469 powerpc32/power7/fpu/s_logbl.c via #include.
19470
d20d4ac2
JM
194712012-05-15 Joseph Myers <joseph@codesourcery.com>
19472
19473 * README.libm: Remove file.
19474
6cdef1ab
L
194752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19476
19477 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19478 count for x32. Use R*_LP and omit operand-size suffix.
19479
0b254d8f
L
194802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19481
19482 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19483 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19484 * sysdeps/x86_64/x32/shlib-versions: New file.
19485
ceb809dc
RM
194862012-05-14 Roland McGrath <roland@hack.frob.com>
19487
19488 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19489 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19490 Use _dl_fatal_printf instead.
19491
37f1abd4
JM
194922012-05-14 Joseph Myers <joseph@codesourcery.com>
19493
19494 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19495 set if not set by the user. Do not allow for being unset.
19496 * sysdeps/unix/sysv/linux/configure: Regenerated.
19497
11de3a33
L
194982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19499
19500 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19501 the `q' suffix from lea and replace .quad with ASM_ADDR.
19502
e02f153a
L
195032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19504
19505 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19506 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19507 instead of $17.
19508 (PTR_DEMANGLE): Likewise.
19509
520ae0fd
L
195102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19511
19512 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19513 (LP_OP): Likewise.
19514 (ASM_ADDR): Likewise.
19515 (RAX_LP): Likewise.
19516 (RBP_LP): Likewise.
19517 (RBX_LP): Likewise.
19518 (RCX_LP): Likewise.
19519 (RDI_LP): Likewise.
19520 (RSI_LP): Likewise.
19521 (RSP_LP): Likewise.
19522 (R8_LP): Likewise.
19523 (R9_LP): Likewise.
19524 (R10_LP): Likewise.
19525 (R10_LP): Likewise.
19526 (R11_LP): Likewise.
19527 (R12_LP): Likewise.
19528 (R13_LP): Likewise.
19529 (R14_LP): Likewise.
19530 (R15_LP): Likewise.
19531
b985be81
L
195322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19533
19534 * sysdeps/x86_64/x32/dl-machine.h: New file.
19535
6a4888ff
AJ
195362012-05-14 Andreas Jaeger <aj@suse.de>
19537
19538 * manual/Makefile (subdir): Remove export of subdir.
19539 (all): Remove target.
19540 (.PHONY): Remove all from list.
19541 (mkinstalldirs): Remove.
19542 (.PHONY): Remove installdirs from list.
19543 ($(inst_infodir)/libc.info): Use make-target-directory.
19544 (installdirs): Remove.
19545 (subdir_%): Remove.
19546 (glibc-targets): Remove.
19547 (lib): Remove.
19548 (stubs): Remove.
19549 ($(objpfx)stubs ../po/manual.pot): Remove.
19550 ($(objpfx)stamp%): Remove.
19551 (make-target-directory): Remove.
19552 (subdir_install): Remove.
19553 (routines): Remove.
19554 (aux): Remove.
19555 (sources): Remove.
19556 (objects): Remove.
19557 (headers): Remove.
19558
19559 [BZ #13750]
19560 * manual/.gitignore: Remove, it's not needed anymore.
19561 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19562 all files in it.
19563 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19564 directory.
19565 (texis): Renamed to $(objpfx)texis.
19566 (texis-path): New, contains path to generated files.
19567 (chapters.%): Use texis-path for complete path, add extra argument
19568 libc-texinfo.sh.
19569 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19570 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19571 (summary,texi, stamp-summary): Use complete path of
19572 files. Generate files in build dir.
19573 (dir-add.texi): Build in build dir.
19574 (libm-err.texi,stamp-libm-err): Likewise.
19575 (version.texi, stamp-version): Likewise.
19576 (.%c.texi): Likewise.
19577 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19578 (mostlyclean): Remove target.
19579 (realclean): Remove target.
19580 (generated): Add new variable with contents from mostlyclean and
19581 realclean, remove entries duplicated in common-mostlyclean, add
19582 stamp-libm-err and stamp-version.
19583 (generated-dirs): Add libc directory.
19584 ($(inst_infodir)/libc.info): Install files from build dir.
19585
19586 * manual/install.texi (Configuring and compiling): Adjust since
19587 the info files are not part of the tar ball anymore.
19588
7ac77294
AJ
195892012-05-14 Andreas Jaeger <aj@suse.de>
19590
19591 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19592 variable.
19593
ffb7875d
JM
195942012-05-14 Joseph Myers <joseph@codesourcery.com>
19595
19596 [BZ #13717]
19597 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19598 to 2.2.0 where earlier.
19599 * sysdeps/unix/sysv/linux/configure: Regenerated.
19600 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19601 Remove conditional code.
19602 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19603 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19604 Remove conditional code.
19605 [!__NR_lchown]: Likewise.
19606 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19607 [__NR_lchown]: Likewise.
19608 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19609 comment referencing __ASSUME_LCHOWN_SYSCALL.
19610 * sysdeps/unix/sysv/linux/i386/sigaction.c
19611 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19612 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19613 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19614 Remove conditional code.
19615 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19616 (__protocol_available): Remove #if 0 code.
19617 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19618 conditional code.
19619 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19620 * sysdeps/unix/sysv/linux/kernel-features.h
19621 (__ASSUME_GETCWD_SYSCALL): Don't define.
19622 (__ASSUME_REALTIME_SIGNALS): Likewise.
19623 (__ASSUME_PREAD_SYSCALL): Likewise.
19624 (__ASSUME_PWRITE_SYSCALL): Likewise.
19625 (__ASSUME_POLL_SYSCALL): Likewise.
19626 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19627 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19628 non-SPARC.
19629 (__ASSUME_SIOCGIFNAME): Don't define.
19630 (__ASSUME_MSG_NOSIGNAL): Likewise.
19631 (__ASSUME_SENDFILE): Define unconditionally.
19632 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19633 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19634 conditional code.
19635 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19636 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19637 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19638 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19639 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19640 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19641 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19643 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19646 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19649 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19650 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19655 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19656 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19658 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19661 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19662 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19664 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19666 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19667 Remove conditional code.
19668 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19669 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19670 Remove conditional code.
19671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19672 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19673 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19674 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19675 Remove conditional code.
19676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19677 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19678 Remove conditional code.
19679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19680 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19681 Remove conditional code.
19682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19683 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19684 Remove conditional code.
19685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19686 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19687 Remove conditional code.
19688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19689 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19690 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19692 * sysdeps/unix/sysv/linux/sigaction.c
19693 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19694 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19695 * sysdeps/unix/sysv/linux/sigpending.c
19696 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19697 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19698 * sysdeps/unix/sysv/linux/sigprocmask.c
19699 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19700 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19701 * sysdeps/unix/sysv/linux/sigsuspend.c
19702 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19703 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19704 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19705 (__libc_missing_rt_sigs): Remove.
19706 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19707 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19708 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19709 Remove conditional code.
19710 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19711 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19712 return 1.
19713 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19714 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19715 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19716 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19717
1bfb7291
AJ
197182012-05-14 Andreas Jaeger <aj@suse.de>
19719
caae5a81
AJ
19720 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19721 it's not used in glibc.
19722 (__coshm1): Likewise.
19723 (__acosh1p): Likewise.
19724 (__sgn): Likewise.
19725
1bfb7291
AJ
19726 * manual/string.texi (Copying and Concatenation): Add missing
19727 variable in concat example.
19728 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19729
c044d724
L
197302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19731
144c5467 19732 [BZ #14103]
c044d724
L
19733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19734 __builtin_clzl with __builtin_clzll.
19735
2523c62b
L
197362012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19737
19738 [BZ #14104]
19739 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19740 libc_freeres_ptr.
19741
d7bb4c42
LD
197422012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19743
19744 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19745 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19746 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19747 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19748
9dc4e1fb
MF
197492012-05-14 Mike Frysinger <vapier@gentoo.org>
19750
19751 * NEWS: Update ia64 info.
19752
c7df0112
AS
197532012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19754
19755 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19756 used as bcopy.
19757
dc70356c
TS
197582012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19759
19760 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19761 * sysdeps/unix/syscalls.list (dup3): Likewise.
19762 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19763 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19764
9fb1a21f
L
197652012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19766
19767 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19768 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19769
4822a2a5
L
197702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19771
19772 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19773 thread pointer.
19774 (TLS_IE): Use mov/add instead of movq/addq to load thread
19775 pointer.
19776 (TLS_GD_PREFIX): New.
19777 (TLS_GD): Use it.
19778
842b81d6
DM
197792012-05-11 David S. Miller <davem@davemloft.net>
19780
19781 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19782 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19783 (_FPU_SETCW): Likewise.
19784
1cf463cd
L
197852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19786
19787 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19788 is 32-byte aligned.
19789
60cc4a18
AS
197902012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19791
19792 [BZ #11837]
19793 * iconvdata/gb18030.c: Update tables.
19794 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19795 characters specially.
19796 (BODY for TO_LOOP): Add encoding of missing ranges.
19797
febb44a4
TS
197982012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19799
19800 [BZ #13673]
19801 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19802 * sysdeps/mach/hurd/dup3.c: Likewise.
19803 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19804 * sysdeps/powerpc/memmove.c:: Likewise.
19805
0a10fb9e
L
198062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19807
19808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19809 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19810
df8a552f
L
198112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19812
19813 * elf/elf.h (R_X86_64_RELATIVE64): New.
19814 (R_X86_64_NUM): Updated.
19815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19816 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19817 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19818 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19819 tst-quad1pie tst-quad2pie
19820 (modules-names): Add tst-quadmod1 tst-quadmod2.
19821 ($(objpfx)tst-quad1): New dependency.
19822 ($(objpfx)tst-quad2): Likewise.
19823 ($(objpfx)tst-quad1pie): Likewise.
19824 ($(objpfx)tst-quad2pie): Likewise.
19825 * sysdeps/x86_64/tst-quad1.c: New file.
19826 * sysdeps/x86_64/tst-quad1pie.c: New file.
19827 * sysdeps/x86_64/tst-quad2.c: Likewise.
19828 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19829 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19830 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19831 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19832 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19833
f34d6f84
ST
198342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19835
f42d41d1
ST
19836 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19837 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19838 * streams/stropts.h (t_scalar_t): Define type.
19839
3c3571fc
ST
19840 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19841 (_PATH_PRESERVE): Set to "/var/lib".
19842 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19843
61f06bd3
ST
19844 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19845 instead of int.
19846
918d4d71
ST
19847 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19848 if __dir_mkfile succeeded.
19849
f34d6f84
ST
19850 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19851 checking for _hurd_dtablesize. Unlock it right after having
19852 finished _hurd_dtable allocation.
19853
10589b4a
TS
198542012-05-10 Thomas Schwinge <thomas@schwinge.name>
19855
674cdbc7
TS
19856 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19857 * sysdeps/mach/hurd/configure: Regenerated.
19858 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19859 special-casing to...
19860 * sysdeps/gnu/configure.in: ... this new file.
19861 * sysdeps/unix/sysv/linux/configure: Regenerated.
19862 * sysdeps/gnu/configure: New generated file.
19863
8e41b99f
TS
19864 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19865 for Linux: use nsec instead of usec, as well as:
19866 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19867 members of type struct timespec.
19868 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19869 New macros.
19870 (struct stat64): Likewise.
19871 (_STATBUF_ST_NSEC): New macro.
19872 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19873
10589b4a
TS
19874 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19875 __strtoul_internal rather than strtoul.
19876
63643c85
PT
198772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19878
19879 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19880 and reject them.
19881
3faebe6a
ST
198822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19883
19884 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19885 which preserves existing values.
19886 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19887
c6474b07
PT
198882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19889
19890 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19891 TIMEOUT values. Return EINVAL for NFDS values either negative or
19892 greater than FD_SETSIZE.
19893
1043890b
ST
198942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19895
19896 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19897 allocated, call __vm_protect to finish enabling the existing space, and
19898 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19899 allocate the remainder.
19900
37ed8b9b
PT
199012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19902
19903 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19904 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19905
db653660
ST
199062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19907
37ed8b9b
PT
19908 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19909 sysdeps/mach/hurd/readlink.c.
b29d4053 19910
db653660
ST
19911 * posix/tst-sysconf.c (posix_options): Only use
19912 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19913 _POSIX_SYNCHRONIZED_IO when they are defined
19914 * sysdeps/mach/hurd/bits/posix_opt.h:
19915 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19916 (_XOPEN_REALTIME): Undefine macro.
19917 (_XOPEN_REALTIME_THREADS): Undefine macro.
19918 (_XOPEN_SHM): Undefine macro.
19919 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19920 macro to -1.
19921 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19922 macro to -1.
19923 (_POSIX_ASYNC_IO): Undefine macro.
19924 (_POSIX_PRIORITIZED_IO): Undefine macro.
19925 (_POSIX_SPIN_LOCKS): Define macro to -1.
19926
ee16e894
ST
19927 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19928 SA_NODEFER, SA_RESETHAND.
19929 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19930 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19931 F_DUPFD_CLOEXEC.
19932
6103ae3b
TS
199332012-05-10 Thomas Schwinge <thomas@schwinge.name>
19934
19935 * elf/Makefile (pldd-modules): Define unconditionally.
19936
80b4e5f3
TS
199372012-05-10 Thomas Schwinge <thomas@schwinge.name>
19938
19939 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19940
edadcbd6
ST
199412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19942
19943 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19944 Return ENOENT when name is empty.
19945 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19946
80694780
TS
199472012-05-10 Thomas Schwinge <thomas@schwinge.name>
19948
1792c087
TS
19949 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19950
80694780
TS
19951 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19952
6b645f0d
ST
199532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19954
80694780
TS
19955 Fix mlock in all cases except non-readable pages.
19956 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19957 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19958
6b645f0d
ST
19959 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19960 (__mkdir): When path is `/', just fail with EEXIST.
19961 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19962
e468f8a3
TS
199632012-05-10 Thomas Schwinge <thomas@schwinge.name>
19964
19965 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19966 <sys/uio.h> (for writev).
19967 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19968 and <sys/param.h> (for MIN).
19969
a4186cff
PT
199702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19971
19972 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19973 REQUESTED_TIME. Properly set the remaining time and return EINTR
19974 if interrupted.
19975
510bbf14
TS
199762012-05-10 Thomas Schwinge <thomas@schwinge.name>
19977
19978 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19979 Depend on against $(link-rpcuserlibs).
19980
5d5722e8
ST
199812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19982
a4186cff
PT
19983 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19984 (__libc_stack_end): Do not use attribute_relro.
19985 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19986 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19987 to libthread-provided value.
a4186cff
PT
19988 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19989 attribute_relro.
5d5722e8 19990
37233df9
TS
199912012-05-10 Thomas Schwinge <thomas@schwinge.name>
19992
be971a2b
TS
19993 [BZ #3748]
19994 * bits/libc-lock.h (__libc_once_get): New macro.
19995 * sysdeps/mach/bits/libc-lock.h: Likewise.
19996 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19998 instead of using implementation details.
19999
37233df9
TS
20000 * libio/fileops.c: Unconditionally include <kernel-features.h>.
20001 * libio/freopen.c: Likewise.
20002 * libio/freopen64.c: Likewise.
20003 * misc/syslog.c: Likewise.
20004 * nscd/connections.c: Likewise.
20005 * nscd/netgroupcache.c: Likewise.
20006 * sysdeps/posix/getcwd.c: Likewise.
20007
38de94a5
RM
200082012-05-10 Roland McGrath <roland@hack.frob.com>
20009
20010 * math/w_ilogbf.c: Add #include <limits.h>.
20011
67530489
ST
200122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20013
a4186cff 20014 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
20015 path instead of returning without unlocking.
20016
67530489
ST
20017 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20018 immediate-write ioctls.
20019 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20020
5aa3a74a
TS
200212012-05-10 Thomas Schwinge <thomas@schwinge.name>
20022
18bad2ae
TS
20023 * sysdeps/mach/hurd/i386/init-first.c (init): Use
20024 __builtin_frame_address instead of making assumptions about the
20025 location of the return address relative to DATA. Force early load of
20026 the return address.
20027 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20028 __builtin_frame_address.
20029
5aa3a74a
TS
20030 dup3 for GNU Hurd.
20031 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20032 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
20033 implement dup3 and do some further code clean-ups.
20034 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20035 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20036
ecd0de9a
ST
200372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20038
cd9fa985
ST
20039 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20040
a4186cff
PT
20041 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20042 HURD_CRITICAL_END around holding _hurd_dtable_lock.
20043 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20044 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20045 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20046 d->port.lock.
802ca5a5 20047
a4186cff
PT
20048 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20049 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
20050 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 20051
bcf55240
TS
200522012-05-10 Thomas Schwinge <thomas@schwinge.name>
20053
6960eb42
TS
20054 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20055 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20056 definitions.
20057
eb43375f
TS
20058 accept4 for GNU Hurd.
20059 * include/sys/socket.h (__libc_accept4): New prototype.
20060 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
20061 to implement __libc_accept4.
20062 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20063 __libc_accept4.
20064 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20065
bcf55240
TS
20066 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20067 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20068 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20069 signal-defines.sym.
20070
6178c55b
ST
200712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20072
a4186cff 20073 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 20074
6f080c2f
TS
200752012-05-10 Thomas Schwinge <thomas@schwinge.name>
20076
20077 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20078 assertion on O_CLOEXEC flag.
20079 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20080 * hurd/intern-fd.c: Likewise.
20081 * hurd/port2fd.c: Likewise.
20082
bcfe3a54
ST
200832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20084
20085 [BZ #3906]
20086 * bits/in.h (IPV6_PKTINFO): Define new macro.
20087 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20088
89c9aa49
AZ
200892012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20090
20091 [BZ #13954]
20092 [BZ #13955]
20093 [BZ #13956]
20094 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20095 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20096 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20097 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20098 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20099 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20100 * math/libm-test.inc (logb_test) : Additional logb tests.
20101
021db4be
AJ
201022012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20103 Andreas Jaeger <aj@suse.de>
20104
20105 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20106 * configure: Regenerated.
20107 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20108 * config.make.in (link-obsolete-rpc): New substituted variable.
20109 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20110 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20111 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20112 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20113 so that libc.a contains the symbols.
20114 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20115 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20116 * sunrpc/auth_none.c: Likewise.
20117 * sunrpc/auth_unix.c: Likewise.
20118 * sunrpc/authdes_prot.c: Likewise.
20119 * sunrpc/authuxprot.c: Likewise.
20120 * sunrpc/clnt_gen.c: Likewise.
20121 * sunrpc/clnt_perr.c: Likewise.
20122 * sunrpc/clnt_raw.c: Likewise.
20123 * sunrpc/clnt_simp.c: Likewise.
20124 * sunrpc/clnt_tcp.c: Likewise.
20125 * sunrpc/clnt_udp.c: Likewise.
20126 * sunrpc/clnt_unix.c: Likewise.
20127 * sunrpc/des_crypt.c: Likewise.
20128 * sunrpc/des_soft.c: Likewise.
20129 * sunrpc/get_myaddr.c: Likewise.
20130 * sunrpc/key_call.c: Likewise.
20131 * sunrpc/key_prot.c: Likewise.
20132 * sunrpc/netname.c: Likewise.
20133 * sunrpc/pm_getmaps.c: Likewise.
20134 * sunrpc/pm_getport.c: Likewise.
20135 * sunrpc/pmap_clnt.c: Likewise.
20136 * sunrpc/pmap_prot.c: Likewise.
20137 * sunrpc/pmap_prot2.c: Likewise.
20138 * sunrpc/pmap_rmt.c: Likewise.
20139 * sunrpc/publickey.c: Likewise.
20140 * sunrpc/rpc_cmsg.c: Likewise.
20141 * sunrpc/rpc_common.c: Likewise.
20142 * sunrpc/rpc_dtable.c: Likewise.
20143 * sunrpc/rpc_prot.c: Likewise.
20144 * sunrpc/rpc_thread.c: Likewise.
20145 * sunrpc/rtime.c: Likewise.
20146 * sunrpc/svc.c: Likewise.
20147 * sunrpc/svc_auth.c: Likewise.
20148 * sunrpc/svc_raw.c: Likewise.
20149 * sunrpc/svc_run.c: Likewise.
20150 * sunrpc/svc_tcp.c: Likewise.
20151 * sunrpc/svc_udp.c: Likewise.
20152 * sunrpc/svc_unix.c: Likewise.
20153 * sunrpc/svcauth_des.c: Likewise.
20154 * sunrpc/xcrypt.c: Likewise.
20155 * sunrpc/xdr.c: Likewise.
20156 * sunrpc/xdr_array.c: Likewise.
20157 * sunrpc/xdr_float.c: Likewise.
20158 * sunrpc/xdr_intXX_t.c: Likewise.
20159 * sunrpc/xdr_mem.c: Likewise.
20160 * sunrpc/xdr_rec.c: Likewise.
20161 * sunrpc/xdr_ref.c: Likewise.
20162 * sunrpc/xdr_sizeof.c: Likewise.
20163 * sunrpc/xdr_stdio.c: Likewise.
20164
b5c086a2
RM
201652012-05-10 Roland McGrath <roland@hack.frob.com>
20166
20167 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20168 change. Update copyright years.
20169
6d74dd09
JM
201702012-05-10 Joseph Myers <joseph@codesourcery.com>
20171
20172 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20173
28e72501
MK
201742012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20175 Joseph Myers <joseph@codesourcery.com>
20176 Paul Pluzhnikov <ppluzhnikov@google.com>
20177
20178 [BZ #14012]
20179 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20180 requiring rpcgen.
20181 [cross-compiling] (extra-libs): Likewise.
20182 [cross-compiling] (extra-libs-others): Likewise.
20183 [cross-compiling] (librpcsvc-routines): Likewise.
20184 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20185 [cross-compiling] (omit-deps): Likewise.
20186 (sunrpc-CPPFLAGS): New variable.
20187 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20188 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20189 (cross-rpcgen-objs): New variable.
20190 (extra-objs): Append $(cross-rpcgen-objs).
20191 ($(cross-rpcgen-objs)): New rule.
20192 ($(objpfx)cross-rpcgen): Likewise.
20193 (rpcgen-cmd): Define to use $(built-program-file). Expand
20194 comment.
20195 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20196 ($(objpfx)x%.stmp): Likewise.
20197 * sunrpc/proto.h [IS_IN_build] (_): Define.
20198 [IS_IN_build] (_libc_intl_domainname): Likewise.
20199
c8c59454
L
202002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20201
20202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20203 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20204 and R_X86_64_TPOFF64.
20205
6f27cd16
JM
202062012-05-10 Joseph Myers <joseph@codesourcery.com>
20207
20208 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20209 sysdeps/unix/sysv/syscalls.list.
20210 (stime): Likewise.
20211 (utime): Likewise.
20212 * sysdeps/unix/sysv/syscalls.list: Remove file.
20213
02467e1c
PE
202142012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20215
20216 [BZ #3440]
20217 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20218 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20219 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20220 (__LC_IDENTIFICATION): Make these macros useful in #if
20221 expressions, as required by C99.
20222
da392631
AS
202232012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20224
20225 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20226 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20227 after this.
20228
8115f29b
L
202292012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20230
20231 * stdlib/longlong.h: Updated from GCC.
20232
bdd74070
AJ
202332012-05-09 Andreas Jaeger <aj@suse.de>
20234
edfe0dbe
AJ
20235 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20236 default is first entry.
20237 (run_mode): Set type.
20238 (main): Remove informal message about syslog.
20239 (options): Fix typo.
20240
bcfe3a54
ST
20241 [BZ #14053]
20242 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20243 to asm.
bcfe3a54
ST
20244 (lrint): Likewise.
20245 (llrintf): Likewise.
20246 (llrint): Likewise.
20247 (rint): Likewise.
20248 (rintf): Likewise.
20249 (nearbyint): Likewise.
20250 (nearbyintf): Likewise.
bdd74070 20251
91d8d69e
AJ
202522012-05-09 Andreas Jaeger <aj@suse.de>
20253 Pedro Alves <palves@redhat.com>
20254
20255 * nscd/nscd.c (run_mode): Use enum.
20256 (main): Cleanup coding style issue.
20257
bb90b80b
AJ
202582012-05-09 Alexandre Oliva <aoliva@redhat.com>
20259 Andreas Jaeger <aj@suse.de>
20260
bcfe3a54
ST
20261 * nscd/nscd.c (go_background): Replaced with...
20262 (run_mode): ... this.
bb90b80b 20263 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20264 (options): Add -F --foreground.
20265 (main): Implement it.
20266 (parse_opt): Parse it.
bb90b80b 20267
1a4b75a1
AJ
202682012-05-09 Andreas Jaeger <aj@suse.de>
20269
20270 [BZ #14083]
20271 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20272 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20273 -Wconversion warning.
20274 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20275 Likewise.
20276
b1cc2472
JM
202772012-05-09 Joseph Myers <joseph@codesourcery.com>
20278
20279 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20280 == 0.
20281 (LC_ALL): Use macro-int-constant.
20282 (LC_COLLATE): Likewise.
20283 (LC_CTYPE): Likewise.
20284 (LC_MESSAGES): Likewise.
20285 (LC_MONETARY): Likewise.
20286 (LC_NUMERIC): Likewise.
20287 (LC_TIME): Likewise.
20288 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20289 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20291 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20292 Specify type.
20293 [C99-based standards] (float_t): Expect type.
20294 [C99-based standards] (double_t): Expect type.
20295 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20296 type.
20297 [C99-based standards] (HUGE_VALL): Likewise.
20298 [C99-based standards] (INFINITY): Likewise.
20299 [C99-based standards] (NAN): Likewise.
20300 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20301 [C99-based standards] (FP_NAN): Likewise.
20302 [C99-based standards] (FP_NORMAL): Likewise.
20303 [C99-based standards] (FP_SUBNORMAL): Likewise.
20304 [C99-based standards] (FP_ZERO): Likewise.
20305 [C99-based standards] (FP_FAST_FMA): Use
20306 optional-macro-int-constant. Specify type. Require == 1.
20307 [C99-based standards] (FP_FAST_FMAF): Likewise.
20308 [C99-based standards] (FP_FAST_FMAL): Likewise.
20309 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20310 [C99-based standards] (FP_ILOGBNAN): Likewise.
20311 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20312 Specify type.
20313 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20314 [C99-based standards] (math_errhandling): Specify type.
20315 [ISO99 || ISO11] (signgam): Do not allow.
20316 [non-C99-based standards] (copysignf): Do not allow.
20317 [non-C99-based standards] (exp2f): Likewise.
20318 [non-C99-based standards] (log2f): Likewise.
20319 [non-C99-based standards] (modff): Allow.
20320 [non-C99-based standards] (erff): Do not allow.
20321 [non-C99-based standards] (erfcf): Likewise.
20322 [non-C99-based standards] (gammaf): Likewise.
20323 [non-C99-based standards] (hypotf): Likewise.
20324 [non-C99-based standards] (j0f): Likewise.
20325 [non-C99-based standards] (j1f): Likewise.
20326 [non-C99-based standards] (jnf): Likewise.
20327 [non-C99-based standards] (lgammaf): Likewise.
20328 [non-C99-based standards] (tgammaf): Likewise.
20329 [non-C99-based standards] (y0f): Likewise.
20330 [non-C99-based standards] (y1f): Likewise.
20331 [non-C99-based standards] (ynf): Likewise.
20332 [non-C99-based standards] (isnanf): Likewise.
20333 [non-C99-based standards] (acoshf): Likewise.
20334 [non-C99-based standards] (asinhf): Likewise.
20335 [non-C99-based standards] (atanhf): Likewise.
20336 [non-C99-based standards] (cbrtf): Likewise.
20337 [non-C99-based standards] (expm1f): Likewise.
20338 [non-C99-based standards] (ilogbf): Likewise.
20339 [non-C99-based standards] (log1pf): Likewise.
20340 [non-C99-based standards] (logbf): Likewise.
20341 [non-C99-based standards] (nextafterf): Likewise.
20342 [non-C99-based standards] (remainderf): Likewise.
20343 [non-C99-based standards] (rintf): Likewise.
20344 [non-C99-based standards] (scalbf): Likewise.
20345 [non-C99-based standards] (copysignl): Likewise.
20346 [non-C99-based standards] (exp2l): Likewise.
20347 [non-C99-based standards] (log2l): Likewise.
20348 [non-C99-based standards] (modfl): Allow.
20349 [non-C99-based standards] (erfl): Do not allow.
20350 [non-C99-based standards] (erfcl): Likewise.
20351 [non-C99-based standards] (gammal): Likewise.
20352 [non-C99-based standards] (hypotl): Likewise.
20353 [non-C99-based standards] (j0l): Likewise.
20354 [non-C99-based standards] (j1l): Likewise.
20355 [non-C99-based standards] (jnl): Likewise.
20356 [non-C99-based standards] (lgammal): Likewise.
20357 [non-C99-based standards] (tgammal): Likewise.
20358 [non-C99-based standards] (y0l): Likewise.
20359 [non-C99-based standards] (y1l): Likewise.
20360 [non-C99-based standards] (ynl): Likewise.
20361 [non-C99-based standards] (isnanl): Likewise.
20362 [non-C99-based standards] (acoshl): Likewise.
20363 [non-C99-based standards] (asinhl): Likewise.
20364 [non-C99-based standards] (atanhl): Likewise.
20365 [non-C99-based standards] (cbrtl): Likewise.
20366 [non-C99-based standards] (expm1l): Likewise.
20367 [non-C99-based standards] (ilogbl): Likewise.
20368 [non-C99-based standards] (log1pl): Likewise.
20369 [non-C99-based standards] (logbl): Likewise.
20370 [non-C99-based standards] (nextafterl): Likewise.
20371 [non-C99-based standards] (remainderl): Likewise.
20372 [non-C99-based standards] (rintl): Likewise.
20373 [non-C99-based standards] (scalbl): Likewise.
20374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20375 [non-C99-based standards] (FP_*): Do not allow.
20376 [C99-based standards] (FP_*): Change to
20377 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20378 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20379 allow.
20380 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20381 (SIG_ERR): Likewise.
20382 [X/Open-based standards] (SIG_HOLD): Likewise.
20383 (SIG_IGN): Likewise.
20384 (SIGABRT): Use macro-int-constant. Specify type. Require
20385 positive value.
20386 (SIGFPE): Likewise.
20387 (SIGILL): Likewise.
20388 (SIGINT): Likewise.
20389 (SIGSEGV): Likewise.
20390 (SIGTER): Likewise.
20391 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20392 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20393 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20394 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20395 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20396 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20397 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20398 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20399 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20400 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20401 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20402 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20403 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20404 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20405 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20406 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20407 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20408 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20409 [X/Open-based standards] (SIGTRAP): Likewise.
20410 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20411 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20412 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20413 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20414 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20415 allow.
20416
b9f1922d
IW
204172012-05-08 Ian Wienand <ianw@vmware.com>
20418
20419 [BZ #14080]
20420 * time/tzset.c (__tzset_parse_tz): Update default rules for
20421 daylight time changes in the Energy Policy Act of 2005.
20422
1db86e88
AJ
204232012-05-09 Andreas Jaeger <aj@suse.de>
20424
20425 [BZ #13983]
20426 * elf/ldconfig.c (parse_conf): Change string to make clear that
20427 ldconfig only issued a warning if ld.so.conf does not exist.
20428
dee4a4e3
DM
204292012-05-08 David S. Miller <davem@davemloft.net>
20430
ee0db190
DM
20431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20432 movxtod instead of popping the value on the stack.
20433
dee4a4e3
DM
20434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20435
6a43ec98
CD
204362012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20437
20438 * config.h.in: Add HAVE_ARM_PCS_VFP.
20439
05c2c961
RMG
204402012-05-08 Roland Mc Grath <roland@hack.frob.com>
20441
bcfe3a54
ST
20442 [BZ #13979]
20443 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20444 checking but the checks are disabled for any reason.
05c2c961 20445
4b30f61a
L
204462012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20447
20448 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20449 and ELF64_R_TYPE with ELFW(R_TYPE).
20450
eee2bc67
JM
204512012-05-08 Joseph Myers <joseph@codesourcery.com>
20452
7ea5391a
JM
20453 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20454 (ulimit): Likewise.
20455
eee2bc67
JM
20456 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20457 (settimeofday): Likewise.
20458
abb66a67
MF
204592012-05-08 Mike Frysinger <vapier@gentoo.org>
20460
20461 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20462 a struct th_u2 inside the union, and move tu_block/tu_code into
20463 a new th_u3 union of tu_block/tu_code inside of that. Move
20464 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20465 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20466 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20467 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20468 (th_stuff): Change to th_u1.tu_stuff.
20469 (th_data): Define.
20470 (th_msg): Change to th_u1.th_u2.tu_data.
20471
7f18b530
DM
204722012-05-07 David S. Miller <davem@davemloft.net>
20473
05760585
DM
20474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20475
7f18b530
DM
20476 [BZ #14074]
20477 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20478 (SETUP_PIC_REG): Use it.
20479 (SETUP_PIC_REG_LEAF): Use it.
20480
495fd99f
JM
204812012-05-07 Joseph Myers <joseph@codesourcery.com>
20482
20483 [BZ #13885]
20484 [BZ #13923]
20485 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20486 USE_AS_EXPM1L.
20487 (EXPL_FINITE): Likewise.
20488 (FLDLOG): Likewise.
20489 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20490 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20491 e_expl.S.
20492 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20493 USE_AS_EXPM1L.
20494 (EXPL_FINITE): Likewise.
20495 (FLDLOG): Likewise.
20496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20497 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20498 e_expl.S.
20499 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20500 test of -max_value argument for long double.
20501 * sysdeps/i386/fpu/libm-test-ulps: Update.
20502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20503
6693d694
DM
205042012-05-06 David S. Miller <davem@davemloft.net>
20505
20506 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20507 quad soft-float symbols whose references which are compiler
20508 generated.
20509 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20510
6c23e11c
JM
205112012-05-06 Joseph Myers <joseph@codesourcery.com>
20512
d8b82cad
JM
20513 [BZ #13884]
20514 [BZ #13914]
20515 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20516 USE_AS_EXP10L.
20517 (EXPL_FINITE): Likewise.
20518 (FLDLOG): Likewise.
20519 (c0): Likewise.
20520 (c1): Likewise.
20521 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20522 Adjust comments for base varying.
20523 (__expl_finite): Change alias to EXPL_FINITE.
20524 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20525 e_expl.S.
20526 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20527 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20528 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20529 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20530 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20531 USE_AS_EXP10L.
20532 (EXPL_FINITE): Likewise.
20533 (FLDLOG): Likewise.
20534 (c0): Likewise.
20535 (c1): Likewise.
20536 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20537 Adjust comments for base varying.
20538 (__expl_finite): Change alias to EXPL_FINITE.
20539 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20540 tests for bugs.
20541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20542
6c23e11c
JM
20543 [BZ #14064]
20544 * math/libm-test.inc (check_float_internal): Correct ulp
20545 calculation for subnormal expected results.
20546
29ba805c
AJ
205472012-05-06 Andreas Jaeger <aj@suse.de>
20548
20549 * Makeconfig (+math-flags): New, set to -frounding-math.
20550 (+cflags): Add +math-flags so that all of glibc gets compiled with
20551 it.
20552
20553 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20554
7b17aeda
JM
205552012-05-05 Joseph Myers <joseph@codesourcery.com>
20556
5779f134
JM
20557 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20558 Disable one test.
20559
41498f4d
JM
20560 [BZ #13787]
20561 [BZ #13922]
20562 [BZ #14036]
20563 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20564 (__ieee754_expl): Allow for and saturate large arguments.
20565 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20566 (u_threshold): Likewise.
20567 (__exp): Call __ieee754_exp before checking for overflow and
20568 underflow.
20569 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20570 (u_threshold): Likewise.
20571 (__expf): Call __ieee754_expf before checking for overflow and
20572 underflow.
20573 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20574 (u_threshold): Likewise.
20575 (__expl): Call __ieee754_expl before checking for overflow and
20576 underflow.
20577 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20578 (__ieee754_expl): Allow for and saturate large arguments.
20579 * math/libm-test.inc (exp_test): Add another test. Do not allow
20580 missing overflow exception on overflow.
20581 (expm1_test): Do not allow missing overflow exception on overflow.
20582
6698b8bf
JM
20583 * sysdeps/i386/fpu/e_expl.c: Move to ...
20584 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20585 rather than using inline asm.
20586 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20587 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20588 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20589
7b17aeda
JM
20590 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20591 (nice): Likewise.
20592 (poll): Likewise.
20593 (signal): Likewise.
20594 (time): Likewise.
20595 (times): Likewise.
20596
f7c85819
JM
205972012-05-04 Joseph Myers <joseph@codesourcery.com>
20598
20599 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20600 sysdeps/unix/common/syscalls.list.
20601 (fchmod): Likewise.
20602 (fchown): Likewise.
20603 (ftruncate): Likewise.
20604 (getrusage): Likewise.
20605 (gettimeofday): Likewise.
20606 (setpgid): Likewise.
20607 (setregid): Likewise.
20608 (setreuid): Likewise.
20609 (sigaction): Likewise.
20610 (truncate): Likewise.
20611 (vhangup): Likewise.
20612 * sysdeps/unix/common/syscalls.list: Remove file.
20613 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20614 * sysdeps/unix/sysv/linux/Implies: Likewise.
20615
336270d0
L
206162012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20617
20618 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20620 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20621 Moved to ...
20622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20623 Here.
20624 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20625 to ...
20626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20627 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20628 to ...
20629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20630 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20631 to ...
20632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20633 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20634 to ...
20635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20636 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20637 to ...
20638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20639 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20640 to ...
20641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20642 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20643 to ...
20644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20645 Here.
20646 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20647 to ...
20648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20649 Here.
20650 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20651 to ...
20652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20653 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20654 Moved to ...
20655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20656 Here.
20657 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20658 to ...
20659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20660
d128e450
JM
206612012-05-04 Joseph Myers <joseph@codesourcery.com>
20662
fa8ee516
JM
20663 * sysdeps/unix/common/bits/dirent.h: Remove file.
20664 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20665
d128e450
JM
20666 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20667 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20668 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20669 * sysdeps/unix/bsd/isatty.c: Likewise.
20670 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20671 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20672 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20673
ff8faaf0 206742012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20675
62881be4 20676 [BZ #13563]
31dc8730
AZ
20677 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20678 long double comparison inaccuracies.
20679 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20680 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20681
6fef930c
AS
206822012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20683
20684 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20685 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20686
8f203e6c
JM
206872012-05-04 Joseph Myers <joseph@codesourcery.com>
20688
20689 [BZ #14049]
20690 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20691 nonzero digits before rounding a hex value.
20692 * stdlib/tst-strtod.c (tests): Add another test.
20693
5197d9c2
AK
206942012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20695
20696 * sysdeps/s390/fpu/libm-test-ulps: Update.
20697
f0c1dedf
AJ
206982012-05-03 Andreas Jaeger <aj@suse.de>
20699
20700 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20701 does not get optimized out.
20702 (malloc_opt_barrier): New.
20703
a65ef2ae 207042012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20705 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20706
2b942cb7 20707 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20708 intermediate file deletion.
2b942cb7 20709 (generated): Add .symlist files.
a65ef2ae 20710
54b71e02
JM
207112012-05-03 Joseph Myers <joseph@codesourcery.com>
20712
20713 [BZ #13775]
20714 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20715 Redirect under this condition.
20716 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20717 [__USE_GNU] (__dprintf_chk): Not under this condition.
20718 [__USE_GNU] (__vdprintf_chk): Likewise.
20719 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20720 under this condition.
20721 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20722 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20723 [__USE_XOPEN2K8] (vdprintf): Likewise.
20724 [__USE_GNU] (__dprintf_chk): Not under this condition.
20725 [__USE_GNU] (__vdprintf_chk): Likewise.
20726 [__USE_GNU] (dprintf): Likewise.
20727 [__USE_GNU] (vdprintf): Likewise.
20728
d3dfcc41
RM
207292012-05-03 Roland McGrath <roland@hack.frob.com>
20730
20731 * elf/Makefile (common-generated): Set this instead of generated for
20732 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20733 $(all-built-dso)-derived lists.
20734
7ac30cc5
AJ
207352012-05-03 Andreas Jaeger <aj@suse.de>
20736
0c51e550
AJ
20737 * sysdeps/i386/fpu/libm-test-ulps: Update.
20738
7ac30cc5
AJ
20739 * FAQ: Removed.
20740 * FAQ.in: Likewise.
20741 * scripts/gen-FAQ.pl: Likewise.
20742 * manual/install.texi (Installation): Point to online location of
20743 FAQ.
20744 * Makefile (files-for-dist): Remove FAQ.
20745 (FAQ): Remove.
20746
d4c2917f
AM
207472012-05-02 Allan McRae <allan@archlinux.org>
20748
20749 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20750 (LDFLAGS-reldepmod5.so): Likewise.
20751 (LDFLAGS-reldep6mod1.so): Likewise.
20752 (LDFLAGS-reldep6mod4.so): Likewise.
20753 (LDFLAGS-reldep8mod3.so): Likewise.
20754 (LDFLAGS-unload4mod1.so): Likewise.
20755 (LDFLAGS-unload4mod2.so): Likewise.
20756 (LDFLAGS-tst-initorder): Likewise.
20757 (LDFLAGS-tst-initordera2.so): Likewise.
20758 (LDFLAGS-tst-initordera3.so): Likewise.
20759 (LDFLAGS-tst-initordera4.so): Likewise.
20760 (LDFLAGS-tst-initorderb2.so): Likewise.
20761 (LDFLAGS-noload): Likewise.
20762 (LDFLAGS-next): Likewise.
20763 (LDFLAGS-order2mod1.so): Likewise.
20764 (LDFLAGS-order2mod2.so): Likewise.
20765 (LDFLAGS-tst-initorder2): Likewise.
20766 (LDFLAGS-tst-initorder2a.so): Likewise.
20767 (LDFLAGS-tst-initorder2b.so): Likewise.
20768 (LDFLAGS-tst-initorder2c.so): Likewise.
20769 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20770
d77f993f
DM
207712012-05-02 David S. Miller <davem@davemloft.net>
20772
20773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20774
171a70b4
PP
207752012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20776
20777 [BZ #14055]
20778 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20779
0be196ad
AJ
207802012-05-02 Andreas Jaeger <aj@suse.de>
20781
20782 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20783 since we manipulate rounding mode.
20784 (CPPFLAGS-test-idouble.c): Likewise.
20785 (CPPFLAGS-test-ifloat.c): Likewise.
20786 (CFLAGS-test-ldouble.c): Likewise.
20787 (CFLAGS-test-double.c): Likewise.
20788 (CFLAGS-test-float.c): Likewise.
20789 (CFLAGS-test-misc.c): Likewise.
20790 (CFLAGS-test-test-fenv.c): Likewise.
20791
4f9d04aa
AZ
207922012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20793
2b942cb7
RM
20794 [BZ #2550]
20795 [BZ #2570]
20796 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20797 comparisons to determine direction to adjust input.
4f9d04aa 20798
82a79e7d
RM
207992012-05-01 Roland McGrath <roland@hack.frob.com>
20800
f5a01ca9
RM
20801 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20802 output to the target.
20803
90fe4186
RM
20804 * scripts/localplt.awk: New file.
20805 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20806 (check-localplt-CFLAGS): Variable removed.
20807 ($(all-built-dso:=.jmprel)): New static pattern rule.
20808 (generated): Add those targets.
20809 (localplt-built-dso): New variable.
20810 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20811
20812 * elf/check-localplt.c: File removed.
20813
82397ed6
RM
20814 * scripts/check-execstack.awk: New file.
20815 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20816 (check-execstack-CFLAGS): Variable removed.
20817 ($(objpfx)check-execstack.h): Target removed.
20818 ($(objpfx)execstack-default): New target.
20819 (generated): Add that instead of check-execstack.h.
20820 ($(all-built-dso:=.phdr)): New static pattern rule.
20821 (generated): Add those targets.
20822 * elf/check-execstack.c: File removed.
20823
82a79e7d
RM
20824 * scripts/check-textrel.awk: New file.
20825 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20826 (check-textrel-CFLAGS): Variable removed.
20827 (all-built-dso): Use := to define.o
20828 ($(all-built-dso:=.dyn)): New static pattern rule.
20829 (generated): Add those targets.
20830 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20831 * config.make.in (READELF): New substituted variable.
20832 * elf/check-textrel.c: File removed.
20833
62fde54f 208342012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20835
615605c9
JM
20836 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20837 allow.
20838 * conform/data/ctype.h-data [C99-based standards] (isblank):
20839 Expect function.
20840 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20841 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20843 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20844 Specify type. Require positive value.
20845 (EILSEQ): Likewise.
20846 (ERANGE): Likewise.
20847 [ISO || POSIX] (EILSEQ): Do not expect.
20848 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20849 Specify type. Require positive value.
20850 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20851 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20852 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20853 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20854 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20855 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20856 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20857 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20858 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20859 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20860 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20861 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20862 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20863 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20864 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20865 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20866 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20868 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20869 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20870 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20871 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20872 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20873 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20874 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20875 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20876 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20877 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20878 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20879 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20880 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20881 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20882 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20883 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20884 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20885 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20886 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20887 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20888 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20889 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20890 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20891 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20892 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20893 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20894 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20895 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20896 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20897 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20898 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20899 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20900 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20901 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20902 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20903 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20904 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20905 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20906 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20907 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20908 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20909 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20910 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20911 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20912 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20913 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20914 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20915 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20916 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20917 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20918 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20919 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20920 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20921 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20922 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20923 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20924 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20925 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20926 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20927 Require >= 2.
20928 (FLT_ROUNDS): Expect as macro, not constant.
20929 (FLT_MANT_DIG): Use macro-int-constant.
20930 (DBL_MANT_DIG): Likewise.
20931 (LDBL_MANT_DIG): Likewise.
20932 (FLT_DIG): Likewise.
20933 (DBL_DIG): Likewise.
20934 (LDBL_DIG): Likewise.
20935 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20936 (DBL_MIN_EXP): Likewise.
20937 (LDBL_MIN_EXP): Likewise.
20938 (FLT_MAX_EXP): Use macro-int-constant.
20939 (DBL_MAX_EXP): Likewise.
20940 (LDBL_MAX_EXP): Likewise.
20941 (FLT_MAX_10_EXP): Likewise.
20942 (DBL_MAX_10_EXP): Likewise.
20943 (LDBL_MAX_10_EXP): Likewise.
20944 (FLT_MAX): Use macro-constant.
20945 (DBL_MAX): Likewise.
20946 (LDBL_MAX): Likewise.
20947 (FLT_EPSILON): Use macro-constant. Give upper bound.
20948 (DBL_EPSILON): Likewise.
20949 (LDBL_EPSILON): Likewise.
20950 (FLT_MIN): Likewise.
20951 (DBL_MIN): Likewise.
20952 (LDBL_MIN): Likewise.
20953 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20954 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20955 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20956 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20957 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20958 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20959 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20960 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20961 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20962 [ISO11] (FLT_TRUE_MIN): Likewise.
20963 [ISO11] (LDBL_TRUE_MIN): Likewise.
20964 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20965 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20966 (SCHAR_MIN): Use macro-int-constant. Specify type.
20967 (SCHAR_MAX): Likewise.
20968 (UCHAR_MAX): Likewise.
20969 (CHAR_MIN): Likewise.
20970 (CHAR_MAX): Likewise.
20971 (MB_LEN_MAX): Use macro-int-constant.
20972 (SHRT_MIN): Use macro-int-constant. Specify type.
20973 (SHRT_MAX): Likewise.
20974 (USHRT_MAX): Likewise.
20975 (INT_MAX): Likewise.
20976 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20977 bound negative.
20978 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20979 bound with "U".
20980 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20981 bound with "L".
20982 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20983 bound negative. Suffix upper bound with "L".
20984 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20985 bound with "UL".
20986 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20987 Specify type.
20988 [C99-based standards] (LLONG_MAX): Likewise.
20989 [C99-based standards] (ULLONG_MAX): Likewise.
20990 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20991 == 0.
20992 [ISO11] (max_align_t): Require type.
20993 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20994
c9140a62
JM
20995 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20996 from $CFLAGS, without defining away __attribute__ calls.
20997 (checknamespace): Use $CFLAGS_namespace.
20998
9af0bf29
JM
20999 * conform/conformtest.pl (@keywords): Only include C99 keywords
21000 for standards based on C99 or C11.
21001
343222a2
JM
21002 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21003 Disable tests.
21004 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21005 UNIX98]: Likewise.
21006
661f8cf0
JM
21007 * conform/conformtest.pl: Handle "macro-int-constant" and test for
21008 usability of symbols in #if.
21009
ee74b9cb
JM
21010 * conform/conformtest.pl: If macro or constant types start
21011 "promoted:", expect the symbol to be of the following type
21012 promoted by the integer promotions.
62fde54f 21013
aafc49b3
JM
21014 * conform/conformtest.pl: Parse all "constant" and "macro" lines
21015 in one place. Also handle "macro-constant".
21016
fefdf574
JM
21017 * conform/conformtest.pl: Only accept expected macro values with
21018 "==". Parse all "macro" lines in one place.
21019 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21020
f2d922fe
JM
21021 * conform/conformtest.pl: Handle braced types on "constant" lines
21022 instead of handling "typed-constant".
21023 * conform/data/signal.h-data: Use "constant" instead of
21024 "typed-constant".
21025
d22956c9
JM
21026 * conform/conformtest.pl: Handle "optional-" at start of lines in
21027 one place rather than duplicating several cases. Handle each
21028 format of "macro" line with initial "optional-".
21029
028e2e38
JM
21030 * conform/conformtest.pl: Only accept expected constant or
21031 optional-constant values with "==". Parse all "constant" lines in
21032 one place. Parse all "optional-constant" lines in one place.
21033 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21034 * conform/data/fmtmsg.h-data: Likewise.
21035 * conform/data/netinet/in.h-data: Likewise.
21036 * conform/data/tar.h-data: Likewise.
21037 * conform/data/limits.h-data: Use "==" form on "constant" and
21038 "optional-constant" lines.
21039
1b8f2850
JM
21040 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21041 Use -std=c99 for XOPEN2K.
21042 (@knownproblems): Remove.
21043 (newtoken): Don't check %isknown.
21044
a05a144b
JM
21045 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21046 Do not expect macro.
21047 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21048 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21049 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21050 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21051 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21052 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21053 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21054 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21055 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21056 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21057 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21058 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21059 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21060 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21061 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21062 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21063 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21064 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21065 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21066 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21067 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21068 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21069 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21070 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21071 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21072 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21073 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21074 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21075 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21076 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21077 [XPG3] (acosh): Likewise.
21078 [XPG3] (asinh): Likewise.
21079 [XPG3] (atanh): Likewise.
21080 [XPG3] (cbrt): Likewise.
21081 [XPG3] (expm1): Likewise.
21082 [XPG3] (ilogb): Likewise.
21083 [XPG3] (log1p): Likewise.
21084 [XPG3] (logb): Likewise.
21085 [XPG3] (nextafter): Likewise.
21086 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21087 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21088 [XPG3] (remainder): Likewise.
21089 [XPG3] (rint): Likewise.
21090 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21091 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21092 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21093 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21094 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21095 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21096 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21097 [UNIX98 || XOPEN2K] (scalb): Expect.
21098 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21099 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21100 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21101 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21102 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21103 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21104 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21105 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21106 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21107 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21108 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21109 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21110 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21111 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21112 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21113 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21114 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21115 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21116 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21117 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21118 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21119 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21120 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21121 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21122 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21123 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21124 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21125 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21126 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21127 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21128 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21129 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21130 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21131 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21132 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21133 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21134 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21135 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21136 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21137 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21138 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21139 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21140 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21141 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21142 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21143 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21144 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21145 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21146 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21147 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21148 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21149 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21150 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21151 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21152 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21153 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21154 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21155 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21156 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21157 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21158 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21159 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21160 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21161 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21162 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21163 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21164 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21165 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21166 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21167 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21168 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21169 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21170 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21171 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21172 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21173 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21174 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21175 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21176 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21177 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21178 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21179 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21180 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21181 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21182 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21183 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21184 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21185 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21186 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21187 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21188 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21189 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21190 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21191 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21192 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21193 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21194 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21195 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21196 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21197 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21198 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21199 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21200 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21201 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21202 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21203 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21204 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21205 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21206 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21207 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21208 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21209 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21210 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21211 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21212 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21213 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21214 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21215 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21216 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21217 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21218 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21219 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21220 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21221 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21222 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21223 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21224 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21225 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21226 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21227 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21228 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21229 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21230 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21231 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21232 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21233 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21234 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21235
73c5ebe3
JM
21236 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21237 _XOPEN_SOURCE_EXTENDED for XPG4.
21238
39c33b6c
JM
21239 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21240
62fde54f
JM
21241 * Makeconfig (localtime): Remove variable.
21242 (inst_localtime-file): Likewise.
21243
0741d64c
AS
212442012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21245
21246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21247 Update.
21248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21249 Update.
21250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21251 Update.
21252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21253 Update.
21254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21255 Update.
21256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21257 Update.
21258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21259 Update.
21260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21261 Update.
21262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21263 Update.
21264
7cb029ee
JM
212652012-05-01 Joseph Myers <joseph@codesourcery.com>
21266
21267 [BZ #2550]
21268 [BZ #2570]
21269 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21270 comparisons to determine direction to adjust input.
21271 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21272 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21273 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21274 Likewise.
21275 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21276 Likewise.
21277 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21278 Likewise.
21279 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21280 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21281 Likewise.
21282 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21283 Likewise.
21284 * math/libm-test.inc (nexttoward_test): Add more tests.
21285
412bd966
AS
212862012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21287
21288 [BZ #14040]
21289 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21290 in version GLIBC_2.1, not GLIBC_2.0.
21291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21292 Likewise.
21293
9568c0c2
JM
212942012-04-30 Joseph Myers <joseph@codesourcery.com>
21295
adfbc8ac
JM
21296 [BZ #13942]
21297 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21298 (1 - x) * (1 + x).
21299 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21300 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21301 * math/libm-test.inc (acos_test): Add more tests.
21302 (asin_test): Likewise.
21303 * sysdeps/i386/fpu/libm-test-ulps: Update.
21304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21305
5ba3cc69
JM
21306 [BZ #14034]
21307 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21308 of square root.
21309 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21310 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21311 * math/libm-test.inc (acos_test_tonearest): New function.
21312 (acos_test_towardzero): Likewise.
21313 (acos_test_downward): Likewise.
21314 (acos_test_upward): Likewise.
21315 (asin_test_tonearest): Likewise.
21316 (asin_test_towardzero): Likewise.
21317 (asin_test_downward): Likewise.
21318 (asin_test_upward): Likewise.
21319 (main): Call the new functions.
21320 * sysdeps/i386/fpu/libm-test-ulps: Update.
21321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21322
9568c0c2
JM
21323 [BZ #13884]
21324 [BZ #13924]
21325 * math/e_exp10.c: Include <float.h>.
21326 (__ieee754_exp10): Handle underflow here rather than multiplying
21327 large negative argument by M_LN10.
21328 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21329 of __ieee754_expf.
21330 * math/e_exp10l.c: Include <float.h>.
21331 (__ieee754_exp10l): Handle underflow here rather than multiplying
21332 large negative argument by M_LN10l.
21333 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21334 spurious overflow exception on underflow.
21335
5ac3ea17
MP
213362012-04-29 Marek Polacek <polacek@redhat.com>
21337
21338 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21339 (__fortify_function): New macro.
21340 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21341 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21342 __extern_always_inline.
21343 * libio/bits/stdio2.h: Likewise.
21344 * libio/bits/stdio.h: Likewise.
21345 * string/string.h: Likewise.
21346 * string/bits/string3.h: Likewise.
21347 * include/stdio.h: Likewise.
21348 * stdlib/bits/stdlib.h: Likewise.
21349 * stdlib/stdlib.h: Likewise.
21350 * rt/bits/mqueue2.h: Likewise.
21351 * rt/mqueue.h: Likewise.
21352 * posix/bits/unistd.h: Likewise.
21353 * posix/unistd.h: Likewise.
21354 * io/bits/poll2.h: Likewise.
21355 * io/bits/fcntl2.h: Likewise.
21356 * io/fcntl.h: Likewise.
21357 * io/sys/poll.h: Likewise.
21358 * misc/bits/syslog.h: Likewise.
21359 * misc/bits/syslog-ldbl.h: Likewise.
21360 * misc/sys/syslog.h: Likewise.
21361 * socket/bits/socket2.h: Likewise.
21362 * socket/sys/socket.h: Likewise.
21363 * debug/tst-chk1.c: Likewise.
21364 * wcsmbs/bits/wchar2.h: Likewise.
21365 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21366 * wcsmbs/wchar.h: Likewise.
21367
ecf0ebfb
AJ
213682012-04-29 Andreas Jaeger <aj@suse.de>
21369
21370 * Makerules (tests): Remove enable-check-abi protection.
21371 (check-abi-warn): Remove.
21372 (check-abi-%): Remove check-abi-warn usage.
21373
21374 * configure.in: Remove check-abi configure option.
21375 * configure: Regenerated.
21376 * config.make.in (enable-check-abi): Remove.
21377
6d5c57fa
AS
213782012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21379
24c5d07e 21380 [BZ #14033]
ded5180a
AS
21381 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21382 double functions to double *_finite functions.
21383
7e0d315d
AS
21384 [BZ #13941]
21385 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21386 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21387 LDBL_MIN_EXP.
21388 * stdio-common/Makefile (tests): Add tst-sprintf3.
21389 * stdio-common/tst-sprintf3.c: New file.
21390
6d5c57fa
AS
21391 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21392 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21393
0749ff8b
JM
213942012-04-28 Joseph Myers <joseph@codesourcery.com>
21395
21396 * conform/conformtest.pl: Remove duplicate typed-constant
21397 handling.
21398
8dbd5d7b
DM
213992012-04-28 David S. Miller <davem@davemloft.net>
21400
21401 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21402 (check-abi-%): Remove AWK script prerequisite and explicit
21403 abilist directory.
21404 (check-abi): Rewrite to just diff the symlist with the abilist.
21405 (config-tls, config-abi-config): Delete, no longer used.
21406 (update-abi-%): Remove AWK script and explicit abilist directory.
21407 (update-abi): Rewrite to simply compare and conditionally copy the
21408 symlist and the sysdep abilist file. Remove update-abi-config
21409 checks.
21410 * abilist/ld.abilist: Remove.
21411 * abilist/libBrokenLocale.abilist: Remove.
21412 * abilist/libanl.abilist: Remove.
21413 * abilist/libcrypt.abilist: Remove.
21414 * abilist/libdl.abilist: Remove.
21415 * abilist/librt.abilist: Remove.
21416 * abilist/libthread_db.abilist: Remove.
21417 * abilist/libutil.abilist: Remove.
21418 * scripts/extract-abilist.awk: Remove.
21419 * scripts/merge-abilist.awk: Remove.
21420 * sysdeps/generic/libcidn.abilist: New file.
21421 * sysdeps/generic/libnss_compat.abilist: New file.
21422 * sysdeps/generic/libnss_db.abilist: New file.
21423 * sysdeps/generic/libnss_dns.abilist: New file.
21424 * sysdeps/generic/libnss_files.abilist: New file.
21425 * sysdeps/generic/libnss_hesiod.abilist: New file.
21426 * sysdeps/generic/libnss_nis.abilist: New file.
21427 * sysdeps/generic/libnss_nisplus.abilist: New file.
21428 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21429 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21430 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21431 file.
21432 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21433 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21434 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21435 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21436 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21437 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21438 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21439 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21440 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21441 file.
21442 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21443 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21444 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21445 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21446 file.
21447 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21448 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21449 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21450 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21451 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21452 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21453 file.
21454 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21455 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21456 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21457 file.
21458 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21459 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21460 New file.
21461 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21462 New file.
21463 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21464 New file.
21465 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21466 New file.
21467 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21468 New file.
21469 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21470 New file.
21471 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21472 New file.
21473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21474 New file.
21475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21476 New file.
21477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21478 New file.
21479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21480 New file.
21481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21482 New file.
21483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21484 New file.
21485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21486 file.
21487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21488 New file.
21489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21490 New file.
21491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21492 file.
21493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21494 New file.
21495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21496 New file.
21497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21498 file.
21499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21500 New file.
21501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21502 New file.
21503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21504 New file.
21505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21506 New file.
21507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21508 New file.
21509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21510 New file.
21511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21512 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21513 file.
21514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21515 New file.
21516 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21517 file.
21518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21519 file.
21520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21521 file.
21522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21523 file.
21524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21525 file.
21526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21527 New file.
21528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21529 file.
21530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21531 file.
21532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21533 New file.
21534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21535 file.
21536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21537 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21538 file.
21539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21540 New file.
21541 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21542 file.
21543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21544 file.
21545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21546 file.
21547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21548 file.
21549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21550 file.
21551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21552 New file.
21553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21554 file.
21555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21556 file.
21557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21558 New file.
21559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21560 file.
21561 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21562 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21563 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21564 file.
21565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21566 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21567 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21568 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21569 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21570 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21571 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21572 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21573 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21574 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21576 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21577 file.
21578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21579 New file.
21580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21581 file.
21582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21583 file.
21584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21585 file.
21586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21587 file.
21588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21589 file.
21590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21591 New file.
21592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21593 New file.
21594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21595 file.
21596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21597 New file.
21598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21599 file.
21600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21602 file.
21603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21604 New file.
21605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21606 file.
21607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21608 file.
21609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21610 file.
21611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21612 file.
21613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21614 file.
21615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21616 New file.
21617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21618 New file.
21619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21620 file.
21621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21622 New file.
21623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21624 file.
21625
41d73a1b
JM
216262012-04-28 Joseph Myers <joseph@codesourcery.com>
21627
21628 * conform/conformtest.pl: Fix typo in handling typed-constant from
21629 allow-header.
21630
28aeeda4
JM
216312012-04-27 Joseph Myers <joseph@codesourcery.com>
21632
adae8f5e
JM
21633 * README: Cut down references to pre-2.6 Linux kernels and
21634 Linuxthreads. Update lists of configurations in libc and ports
21635 and sort alphabetically. Say "or newer" with Linux kernel version
21636 requirements.
21637
28aeeda4
JM
21638 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21639
a462cb63
RA
216402012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21641
21642 [BZ #887]
21643 * math/libm-test.inc (logb_test_downward): New test to expose
21644 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21645 rounding mode.
21646
6ad3493e
JM
216472012-04-27 Joseph Myers <joseph@codesourcery.com>
21648
21649 [BZ #14027]
21650 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21651 to be done.
21652 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21653 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21654
2ce4f015
JM
216552012-04-26 Joseph Myers <joseph@codesourcery.com>
21656
5aeb141a
JM
21657 * sysdeps/unix/i386/brk.S: Remove file.
21658 * sysdeps/unix/i386/dl-brk.S: Likewise.
21659 * sysdeps/unix/i386/pipe.S: Likewise.
21660 * sysdeps/unix/i386/sigreturn.S: Likewise.
21661 * sysdeps/unix/i386/syscall.S: Likewise.
21662 * sysdeps/unix/i386/vfork.S: Likewise.
21663 * sysdeps/unix/i386/wait.S: Likewise.
21664
7143acae
JM
21665 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21666 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21667
2ce4f015
JM
21668 * configure.in (arm*-none*): Do not allow without
21669 --enable-hacker-mode.
21670 (netbsd*): Remove case setting base_os.
21671 (386bsd*): Likewise.
21672 (freebsd*): Likewise.
21673 (bsdi*): Likewise.
21674 (osf*): Likewise.
21675 (sunos*): Likewise.
21676 (ultrix*): Likewise.
21677 (newsos*): Likewise.
21678 (dynix*): Likewise.
21679 (*bsd*): Likewise.
21680 (sysv*): Likewise.
21681 (isc*): Likewise.
21682 (esix*): Likewise.
21683 (sco*): Likewise.
21684 (minix*): Likewise.
21685 (irix4*): Likewise.
21686 (irix6*): Likewise.
21687 (solaris[2-9]*): Likewise.
21688 (none): Likewise.
21689 * configure: Regenerated.
21690
0ac229c8
AZ
216912012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21692
21693 [BZ #11521]
21694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21695 overflow or cancellation in calculating denominator.
21696 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21697 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21698 down expression to avoid unexpected rounding in newer GCCs.
21699 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21700
33f244f4
DM
217012012-04-26 David S. Miller <davem@davemloft.net>
21702
21703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21704 long-double compat symbols.
21705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21718
cfa1f3e8
DM
217192012-04-25 David S. Miller <davem@davemloft.net>
21720
21721 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21722 HWCAP_* values only after the memory barriers have been defined.
21723 (atomic_full_barrier): Define.
21724 (atomic_read_barrier): Define.
21725 (atomic_write_barrier): Define.
21726
6e236b92
SP
217272012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21728
21729 * shlib-versions: Add libgcc_s version information.
21730 * sysdeps/generic/libgcc_s.h: Remove.
21731 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21732 libgcc_s.h.
21733 * sysdeps/gnu/unwind-resume.c: Likewise.
21734 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21735
aab39a09
DM
217362012-04-25 David S. Miller <davem@davemloft.net>
21737
21738 * sysdeps/unix/sparc/brk.S: Delete.
21739 * sysdeps/unix/sparc/dl-brk.S: Delete.
21740 * sysdeps/unix/sparc/pipe.S: Delete.
21741 * sysdeps/unix/sparc/sysdep.S: Delete.
21742 * sysdeps/unix/sparc/sysdep.h: Delete.
21743 * sysdeps/unix/sparc/vfork.S: Delete.
21744 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21745 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21746 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21747 ret_ERRVAL, r0, r1, MOVE): Define.
21748 (JUMPTARGET): Remove.
21749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21750 sysdeps/unix/sparc/sysdep.h
21751 (ENTRY, END): Remove.
21752 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21753
a3cc4f48
JM
217542012-04-25 Joseph Myers <joseph@codesourcery.com>
21755
2ed8cda2
JM
21756 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21757 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21758 -DIS_IN_build.
21759
35d76d59
JM
21760 * timezone/README: Update upstream location and email address for
21761 tzcode and tzdata.
21762 * timezone/zdump.c: Update from tzcode 2012b.
21763 * timezone/zic.c: Likewise.
21764
a3cc4f48
JM
21765 * configure.in (libc_cv_as_needed): Remove test.
21766 * configure: Regenerated.
21767 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21768 conditional definition.
21769 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21770 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21771 * config.make.in (have-as-needed): Remove variable.
21772
ceab42c3
SP
217732012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21774 Paul Pluzhnikov <ppluzhnikov@google.com>
21775
21776 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21777 strings correctly.
21778
3ce2865f
CLT
217792012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21780
21781 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21782 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21783 * sysdeps/sh/strlen.S: Likewise.
21784
f37e0d68
JM
217852012-04-24 Joseph Myers <joseph@codesourcery.com>
21786
ae186e9a
JM
21787 * sysdeps/unix/fork.S: Remove file.
21788 * sysdeps/unix/i386/fork.S: Likewise.
21789 * sysdeps/unix/sparc/fork.S: Likewise.
21790
b96914af
JM
21791 * sysdeps/unix/system.c: Remove file.
21792 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21793
f37e0d68
JM
21794 * sysdeps/unix/getegid.S: Remove file.
21795 * sysdeps/unix/geteuid.S: Likewise.
21796
87ef29ca
RM
217972012-04-24 Roland McGrath <roland@hack.frob.com>
21798
83bcd236
RM
21799 * scripts/check-localplt.awk: New file.
21800 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21801 of diff.
21802 * scripts/data/localplt-generic.data: Add a comment.
21803
87ef29ca
RM
21804 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21805 NODE when __dir_mkfile failed.
21806 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21807 Reported by Ludovic Courtès <ludo@gnu.org>.
21808
e5a6e567
AJ
218092012-04-24 Andreas Jaeger <aj@suse.de>
21810
21811 * Makerules (common-clean): Also remove gen-as-const-headers
21812 files.
21813
c1820385
JM
218142012-04-24 Joseph Myers <joseph@codesourcery.com>
21815
21816 * Makerules (native-compile): Do not change working directory for
21817 build. Use $(OUTPUT_OPTION) in command.
21818 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21819
94e02fc4
AZ
218202012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21821
21822 [BZ #13886]
21823 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21824 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21825 * math/libm-test.inc (floor_test): Add more tests.
21826 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21827
3a533ca3
JM
218282012-04-24 Joseph Myers <joseph@codesourcery.com>
21829
940ab4b3
JM
21830 * sysdeps/unix/getdents.c: Remove file.
21831 * sysdeps/unix/sysv/getdents.c: Likewise.
21832 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21833
90e037bd
JM
21834 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21835 sysdeps/unix/mman/syscalls.list.
21836 (mmap): Likewise.
21837 (mprotect): Likewise.
21838 (msync): Likewise.
21839 (munmap): Likewise.
21840 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21841 * sysdeps/unix/mman/syscalls.list: Remove.
21842 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21843
3a533ca3
JM
21844 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21845 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21846 * configure: Regenerated.
21847 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21848 $(libgcc_s_suffix).
21849 * config.make.in (libgcc_s_suffix): Remove variable.
21850
1ad743de
JM
218512012-04-23 Joseph Myers <joseph@codesourcery.com>
21852
4ad451e2
JM
21853 * sysdeps/unix/sysv/gethostname.c: Move to ...
21854 * sysdeps/posix/gethostname.c: ... here.
21855
5e37ce39
JM
21856 * sysdeps/unix/execve.S: Remove file.
21857
1ad743de
JM
21858 * sysdeps/unix/_exit.S: Remove file.
21859
4e681b5b
AJ
218602012-04-23 Andreas Jaeger <aj@suse.de>
21861
21862 [BZ #13739]
21863 * manual/Makefile: Remove make dist support, there's no
21864 need for a stand-alone documentation tar ball.
21865 (TEXI2DVI): Define always, it's not in Makeconfig.
21866 (dist): Removed.
21867 (tar-it): Removed.
21868 (edition): Removed.
21869 (glibc-doc-$(edition).tar): Removed
21870 (%.Z): Removed.
21871 (%.gz): Removed.
21872 (%.uu): Removed.
21873 (ETAGS): Remove, it's in Makeconfig.
21874 (move-if-change): Remove, it's in Makeconfig.
21875
38686a03 218762012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21877
21878 [BZ #13970]
21879 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21880 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21881 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21882 (strtod_l, strtof_l, strtold_l): Remove __wur.
21883 It is not necessarily an error to ignore strtol's return value.
21884 One can reliably look at the stored endptr to decide whether
21885 the number had valid syntax.
21886
7c0616fa
AJ
218872012-04-21 Andreas Jaeger <aj@suse.de>
21888
803cb6b7 21889 [BZ #13739]
7c0616fa
AJ
21890 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21891
b0fe253f
JM
218922012-04-21 Joseph Myers <joseph@codesourcery.com>
21893
21894 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21895 * sysdeps/unix/sysv/Versions: Remove file.
21896
8280f22d
MT
218972012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21898
21899 [BZ #13927]
21900 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21901
75ce411f 219022012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21903
21904 [BZ #7064]
21905 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21906 version from __vm86.
21907
097d59fa
JM
219082012-04-20 Joseph Myers <joseph@codesourcery.com>
21909
a90f3bcb
JM
21910 * sysdeps/unix/common/lxstat.c: Remove file.
21911 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21912
edc7ea78
JM
21913 * sysdeps/unix/sysv/Makefile: Remove file.
21914
cb78c221
JM
21915 * sysdeps/unix/sysv/direct.h: Remove file.
21916
efa6a45f
JM
21917 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21918 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21919 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21920 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21921 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21922 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21923 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21924
9c9f2d0c
JM
21925 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21926
4541c83b
JM
21927 * sysdeps/unix/xmknod.c: Remove file.
21928 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21929
f5d153a0
JM
21930 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21931
aa746595
JM
21932 * sysdeps/unix/sysv/i386/time.S: Remove file.
21933
cce5905e
JM
21934 * sysdeps/unix/fxstat.c: Remove file.
21935 * sysdeps/unix/xstat.c: Likewise.
21936 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21937
37fa3841
JM
21938 * sysdeps/unix/sysv/sigaction.c: Remove file.
21939
ff1962a3
JM
21940 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21941 (sysdep_headers): Remove variable.
21942 [termio.h not in sysdep_headers] (generated): Likewise.
21943 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21944 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21945 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21946 * sysdeps/unix/sysv/tcflow.c: Likewise.
21947 * sysdeps/unix/sysv/tcflush.c: Likewise.
21948 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21949 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21950 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21951 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21952 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21953
e7740d31
JM
21954 * sysdeps/unix/siglist.c: Remove file.
21955
ee06f18b
JM
21956 * sysdeps/unix/getppid.S: Remove file.
21957
097d59fa
JM
21958 * sysdeps/unix/mkdir.c: Remove file.
21959 * sysdeps/unix/rmdir.c: Likewise.
21960
ff3d51ec
AS
219612012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21962
21963 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21964 ERR_MAX value.
21965 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21966 errlist-compat value.
21967
50f81fd7
DM
219682012-04-18 David S. Miller <davem@davemloft.net>
21969
21970 * sysdeps/generic/memcopy.h (reg_char): Delete.
21971 * debug/strcat_chk.c: Use char, not reg_char.
21972 * debug/strcpy_chk.c: Likewise.
21973 * debug/strncat_chk.c: Likewise.
21974 * debug/strncpy_chk.c: Likewise.
21975 * string/memchr.c: Likewise.
21976 * string/memrchr.c: Likewise.
21977 * string/rawmemchr.c: Likewise.
21978 * string/strcat.c: Likewise.
21979 * string/strchr.c: Likewise.
21980 * string/strchrnul.c: Likewise.
21981 * string/strcmp.c: Likewise.
21982 * string/strcpy.c: Likewise.
21983 * string/strncat.c: Likewise.
21984 * string/strncmp.c: Likewise.
21985 * string/strncpy.c: Likewise.
21986
8ff41c46
WS
219872012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21988
21989 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21990 __builtin_memcopy is called when src and dest ranges are known to not
21991 overlap.
21992
6b652f46
WS
219932012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21994
21995 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21996 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21997 fwd_align_merge macro call.
21998 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21999 bwd_align_merge macro call.
22000 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22001
b282631e
WS
220022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
22003
22004 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22005 bwd_align_merge macros.
22006 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22007 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22008 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22009
95aa737c
DM
220102012-04-18 David S. Miller <davem@davemloft.net>
22011
22012 * sysdeps/sparc/sparc64/memcopy.h: Delete.
22013
7a99a614
AJ
220142012-04-18 Andreas Jaeger <aj@suse.de>
22015
22016 [BZ# 6794]
22017 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22018 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22019 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22020
22021 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22022 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22023 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22024
22025 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22026 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22027 Adjust for changed ldbl-128 files.
22028
22029 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22030 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22031 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22032
e5270c23
DM
220332012-04-17 David S. Miller <davem@davemloft.net>
22034
22035 * sysdeps/sparc/sparc32/memcopy.h: Delete.
22036
fb5e92c9
AS
220372012-04-17 Andreas Schwab <schwab@linux-m68k.org>
22038
22039 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22040 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22041 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22042 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22043 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22044 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22045
76da7265
AZ
220462012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22047
22048 [BZ #6794]
22049 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22050 * math/libm-test.inc: Add ilogb errno and exception tests.
22051 * math/w_ilogb.c: New file: ilogb wrapper.
22052 * math/w_ilogbf.c: New file: ilogbf wrapper.
22053 * math/w_ilogbl.c: New file: ilogbl wrapper.
22054 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22055 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22056 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22057 exception being thrown with 0.0 as argument.
22058 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22059 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22060 exception being thrown with 0.0 as argument.
22061 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22062 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22063 exception being thrown with 0.0 as argument.
22064 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22065 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22066 exception being thrown with 0.0 as argument.
22067 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22068 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 22069 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
22070 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22071 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22072 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22073 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22074 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22075 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22076
0396e69d
PB
220772012-04-17 Petr Baudis <pasky@ucw.cz>
22078
22079 * include/sys/uio.h: Change __vector to __iovec to avoid clash
22080 with altivec.
22081
750b5926
MP
220822012-04-16 Marek Polacek <polacek@redhat.com>
22083
22084 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22085
751728a1
MP
220862012-04-16 Marek Polacek <polacek@redhat.com>
22087
22088 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22089 operands of fdivp instruction.
22090
34a27407
L
220912012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22092
22093 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22094 * elf/tst-auditmod3b.c: Likewise.
22095 * elf/tst-auditmod4b.c: Likewise.
22096 * elf/tst-auditmod5b.c: Likewise.
22097 * elf/tst-auditmod6b.c: Likewise.
22098 * elf/tst-auditmod6c.c: Likewise.
22099 * elf/tst-auditmod7b.c: Likewise.
22100 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22101 * sysdeps/x86_64/preconfigure.in: Likewise.
22102 * sysdeps/x86_64/preconfigure: Regenerated.
22103
7e73e17d
L
221042012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22105
22106 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22107 __ILP32__.
22108
c7a6ab72
AB
221092012-04-13 Antoine Balestrat <merkil33@gmail.com>
22110
22111 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22112 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22113
a9e8e0e0
CL
221142012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22115
22116 [BZ #13973]
22117 * locale/iso-639.def: Fix gl language name. Spotted by
22118 Yaron Shahrabani.
22119
ec98af7d
RM
221202012-04-12 Roland McGrath <roland@hack.frob.com>
22121
22122 [BZ #2074]
22123 * libio/libio.h (__io_write_fn): Update comment.
22124
247c3ede
PB
221252012-04-12 Petr Baudis <pasky@ucw.cz>
22126
22127 [BZ #2074]
22128 * stdio.texi (Hook Functions): The user provided writer function
22129 is not allowed to return -1.
22130
55939d6d
DM
221312012-04-11 David S. Miller <davem@davemloft.net>
22132
22133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22134
90020f5a
MF
221352012-04-11 Mike Frysinger <vapier@gentoo.org>
22136
22137 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22138 Add a leading slash to rtkaio.
22139
288f9098
JM
221402012-04-11 Jim Meyering <meyering@redhat.com>
22141
90020f5a
MF
22142 [BZ #11959]
22143 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22144 It is not necessarily an error to ignore fwrite's return
22145 value. One can reliably use ferror to test for errors after
22146 the fact.
288f9098 22147
4be2b570
L
221482012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22149
22150 * bits/types.h (__snseconds_t): New type.
22151 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22152
22153 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22154 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22155 (__SNSECONDS_T_TYPE): Likewise.
22156 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22157 (__SNSECONDS_T_TYPE): Likewise.
22158 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22159 (__SNSECONDS_T_TYPE): Likewise.
22160
288f9098 221612012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22162
22163 [BZ #2636]
22164 * manual/time.texi (Processor Time): Return type of times is
22165 elapsed real time since an arbitrary point in the past.
22166 (CPU Time): Move CLK_TCK from here...
22167 (Processor Time): ...to here. Correct description.
22168 * manual/conf.texi (Constants for Sysconf): Correct description of
22169 _SC_CLK_TCK.
22170
d7dd4413
DM
221712012-04-10 David S. Miller <davem@davemloft.net>
22172
22173 [BZ #13967]
22174 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22175 where the is a gap between DT_REL(A) and DT_JMPREL.
22176
b46068fc
L
221772012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22178
22179 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22180 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22181 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22182
73d65cc3
SP
221832012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22184
22185 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22186 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22187 (dl_main): Handle --inhibit-cache.
22188 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22189 _dl_inhibit_cache.
22190 * elf/dl-load.c (_dl_map_object): Use it.
22191 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22192
bcc8d661
JM
221932012-04-09 Joseph Myers <joseph@codesourcery.com>
22194
8f9a2fae
JM
22195 [BZ #13872]
22196 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22197 (__ieee754_powl): Saturate large exponents rather than testing for
22198 overflow of y*log2(x).
22199 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22200 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22201 exceptions.
22202
bcc8d661
JM
22203 [BZ #11521]
22204 * math/s_ctan.c: Include <float.h>.
22205 (__ctan): Avoid internal overflow or cancellation in calculating
22206 denominator.
22207 * math/s_ctanf.c: Likewise.
22208 * math/s_ctanl.c: Likewise.
22209 * math/s_ctanh.c: Likewise.
22210 * math/s_ctanhf.c: Likewise.
22211 * math/s_ctanhl.c: Likewise.
22212 * math/libm-test.inc (ctan_test): Add more tests.
22213 (ctanh_test): Likewise.
22214 * sysdeps/i386/fpu/libm-test-ulps: Update.
22215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22216
823fbbb4
AJ
222172012-04-09 Andreas Jaeger <aj@suse.de>
22218
03879793
AJ
22219 [BZ #6894]
22220 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22221 is an optional BSD extension.
22222
823fbbb4
AJ
22223 [BZ #10254]
22224 * manual/stdio.texi (Opening Streams): Document additional fopen
22225 parameters.
22226
8de131cb
RM
222272012-04-09 Roland McGrath <roland@hack.frob.com>
22228
22229 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22230 %eax without telling the compiler.
22231
c0ed9d7d
CD
222322012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22233
22234 [BZ # 13963]
22235 * manual/install.texi: Use sourceware.org.
22236
c483f6b4
JM
222372012-04-09 Joseph Myers <joseph@codesourcery.com>
22238
d7dd9453
JM
22239 [BZ #13873]
22240 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22241 (__ieee754_pow): Generate overflow and underflow using huge*huge
22242 and tiny*tiny rather than just returning constant infinity or zero
22243 for large exponents.
22244 * math/libm-test.inc (pow_test): Require overflow exceptions for
22245 applicable cases of large exponents.
22246
c483f6b4
JM
22247 [BZ #706]
22248 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22249 (__ieee754_pow): Use iterative multiplication algorithm only for
22250 integer exponents with absolute value below 1024. Check for odd
22251 integer exponents when using algorithm for real exponents.
22252 * math/libm-test.inc (pow_test): Add more tests.
22253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22254
d2de7579
JM
222552012-04-08 Joseph Myers <joseph@codesourcery.com>
22256
22257 [BZ #13705]
22258 * math/libm-test.inc (exp_test): Do not allow overflow exception
22259 on underflow test.
22260
f77f1232
AJ
222612012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22262
22263 [BZ #13705]
22264 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22265 instead of __kernel_standard_f.
22266
3884932b
MF
222672012-04-08 Mike Frysinger <vapier@gentoo.org>
22268
22269 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22270 * sysdeps/x86_64/memset_chk.S: Likewise.
22271
54472e9c
AJ
222722012-04-08 Andreas Jaeger <aj@suse.de>
22273
6ab0fbfc
AJ
22274 [BZ #10153]
22275 * manual/startup.texi (Environment Access): Describe return value
22276 for putenv and setenv.
22277
61efba8c
AJ
22278 [BZ #6895]
22279 * manual/filesys.texi (Directory Entries): Add description for
22280 DT_LNK.
22281
95c3f29a
AJ
22282 [BZ #6890]
22283 * manual/filesys.texi (Directory Entries): Clarify that it's file
22284 system not operating system in the description of DT_UNKNOWN.
22285
54472e9c
AJ
22286 [BZ #6578]
22287 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22288
624254b1
SC
222892012-04-08 Stephen Compall <s11@member.fsf.org>
22290
22291 [BZ #6649]
22292 * manual/llio.texi (Opening and Closing Files): Add cross
22293 reference to explain mode argument.
22294
1e4920e0
MF
222952012-04-07 Mike Frysinger <vapier@gentoo.org>
22296
22297 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22298 * sysdeps/x86_64/memset_chk.S: Likewise.
22299
5ed848f3
DM
223002012-04-07 David S. Miller <davem@davemloft.net>
22301
22302 * elf/elf.h (R_SPARC_WDISP10): Define.
22303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22304 R_SPARC_SIZE32.
22305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22306 R_SPARC_SIZE64 and R_SPARC_H34.
22307
96154cd8
CD
223082012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22309
22310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22311 conditions and remove no longer applicable assertion.
22312
9904dc47
L
223132012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22314
22315 * bits/byteswap.h: Include <features.h>.
22316 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22317 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22318
f8887d0a
L
223192012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22320
22321 * bits/byteswap.h (__bswap_16): Removed.
22322 Include <bits/byteswap-16.h> to get __bswap_16.
22323 * sysdeps/i386/bits/byteswap.h: Likewise.
22324 * sysdeps/s390/bits/byteswap.h: Likewise.
22325 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22326 * bits/byteswap-16.h: New file.
22327 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22328 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22329 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22330 * string/Makefile (headers): Add bits/byteswap-16.h.
22331
62470f60
PP
223322012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22333
22334 [BZ #13895]
22335 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22336 extra indirection.
22337 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22338 * nss/tst-nss-static.c: New.
22339
4dad7bab
RM
223402012-04-06 Robert Millan <rmh@gnu.org>
22341
22342 [BZ #6486]
22343 * manual/llio.texi (File Position Primitive): lseek
22344 refers to WHENCE when it really means OFFSET.
22345
e9142a17
AJ
223462012-04-06 Andreas Jaeger <aj@suse.de>
22347
2c040eff
AJ
22348 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22349 strncmp declarations.
22350
e9142a17
AJ
22351 * abilist/libc.abilist: Add __poll and __ppoll.
22352
ff9f1c5f
DM
223532012-04-05 David S. Miller <davem@davemloft.net>
22354
dcd2ae90
DM
22355 * scripts/check-local-headers.sh: Accept a host triplet in the
22356 path matched by the exclude regexp.
22357
993eb054
DM
22358 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22359 definition.
22360 * sysdeps/powerpc/powerpc32/dl-machine.h
22361 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22362 * sysdeps/s390/s390-32/dl-machine.h
22363 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22364 * sysdeps/sparc/sparc32/dl-machine.h
22365 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22366 * sysdeps/sparc/sparc64/dl-machine.h
22367 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22368
ff9f1c5f
DM
22369 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22370 lazy binding.
48e2e132 22371 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22372 undefined symbol errors.
22373
48e2e132 22374 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22375 DT_NEEDED entries.
22376
e80d6f94
MM
223772012-04-05 Michael Matz <matz@suse.de>
22378
22379 [BZ #13592]
22380 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22381
349fa79f
AJ
223822012-04-05 Andreas Jaeger <aj@suse.de>
22383
22384 [BZ #13908]
22385 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22386 comment.
22387
f402708f
KK
223882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22389
22390 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22391 which ROUND is no valid rounding mode.
22392
2ecccfc9
KK
223932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22394
22395 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22396 read again.
22397 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22398
8a53f50f
KK
223992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22400
22401 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22402 an exception using FPU order intentionally.
22403
224042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22405
22406 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22407 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22408 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22409 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22410
d653abb7
SJ
224112012-04-05 Simon Josefsson <simon@josefsson.org>
22412
22413 [BZ #12340]
22414 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22415 EINVAL when BUFLEN is too smal.
22416
c3b1bf7d
TS
224172012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22418
22419 [BZ #13553]
22420 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22421 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22422
b1aa60f3
AJ
224232012-04-03 Andreas Jaeger <aj@suse.de>
22424
c3b1bf7d 22425 [BZ #13938]
67f60a26
AJ
22426 * manual/setjmp.texi (System V contexts): Fix sentence.
22427
b1aa60f3
AJ
22428 [BZ #13926]
22429 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22430 New macro for this case.
22431 [!__GNUC__] (__bswap_64): New inline function for this case.
22432 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22433 * bits/byteswap.h: Likewise.
22434 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22435 ull, guard with __GLIBC_HAVE_LONG_LONG.
22436
22437 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22438 __GLIBC_HAVE_LONG_LONG.
22439
22440 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22441 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22442
39c59c35
TMQMF
224432012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22444
22445 [BZ #13691]
22446 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22447 inptr and inend, rather than using last_ch.
22448
135ffda8
DM
224492012-04-02 David S. Miller <davem@davemloft.net>
22450
22451 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22452 * stdio-common/printf-parse.h (read_int): Change return type to
22453 'int', return -1 on INT_MAX overflow.
22454 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22455 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22456 overflows INT_MAX. Check for overflow of in-format-string precision
22457 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22458 SIZE_MAX not INT_MAX for integer overflow test.
22459 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22460 skip the construct in the format string but do not record anything.
22461 * stdio-common/bug22.c: Adjust to test both width/prevision
22462 INT_MAX overflow as well as total length INT_MAX overflow. Check
22463 explicitly for proper errno values.
22464
228c019e
TS
224652012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22466
302cadd3
TS
22467 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22468 CHAR_MAX.
22469 * string/test-strcmp.c [! WIDE]: Likewise.
22470 * time/tst-mktime2.c: Likewise for INT_MAX.
22471 * string/test-string.h: #include <sys/param.h> for MIN.
22472
228c019e
TS
22473 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22474 * sysdeps/i386/init-first.c (init): Likewise.
22475 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22476 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22477 * sysdeps/sh/init-first.c (init): Likewise.
22478
cfa633f5
UD
224792012-04-01 Ulrich Drepper <drepper@gmail.com>
22480
22481 * po/ru.po: Update from translation team.
d1635ef8 22482 * po/vi.po: Likewise.
cfa633f5 22483
6cd0a5ea
SP
224842012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22485
22486 * resolv/nss_dns/dns-host.c: Merge copyright years.
22487
4b43400f
LD
224882012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22489
22490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22491 Optimize memcpy with prefetch if
22492 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22493 src, dst pointers have unequal 16 byte alignments.
22494
48c41d04
SP
224952012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22496
22497 [BZ #13928]
22498 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22499 from a CNAME entry and return the minimum ttl for the query.
22500 (gaih_getanswer_slice): Likewise.
22501
b8dc394d
JL
225022012-03-30 Jeff Law <law@redhat.com>
22503
22504 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22505 due to long keys.
22506 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22507 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22508
2f5a5ed0
JL
22509 * resolv/nss_dns/dns-host.c: Update copyright year.
22510
1d39e359
UD
225112012-03-30 Ulrich Drepper <drepper@gmail.com>
22512
c030f70c 22513 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22514 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22515
1d39e359
UD
22516 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22517 comments for sendmmsg.
22518
225192012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22520
22521 [BZ #13691]
22522 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22523 with only 1 character between 0x0041 and 0x01b0.
22524 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22525 * wcsmbs/tst-mbsnrtowcs.c: New file.
22526
20fde227
DM
225272012-03-29 David S. Miller <davem@davemloft.net>
22528
22529 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22530 small copies by hand.
22531
984a4237
JL
225322012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22533
22534 [BZ #13761]
22535 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22536 _nss_compat_initgroups_dyn): Fall back to malloc/free
22537 for large group memberships.
22538
18c9d62b
DM
225392012-03-28 David S. Miller <davem@davemloft.net>
22540
88d85d4f
DM
22541 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22542 that branches into memcpy.
22543 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22545 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22546 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22547 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22548 bits.
22549 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22550 implementation too.
22551 * sysdeps/sparc/mempcpy.S: New file.
22552
e5aa83e1
DM
22553 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22554 the IFUNC routine in the libc case.
22555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22556
88570753
DM
22557 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22558 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22559 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22560 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22561 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22562 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22563 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22564 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22565
249d7567
DM
22566 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22567 loop to 256 bytes instead of 64 bytes and fix test signedness.
22568
18c9d62b
DM
22569 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22570 * sysdeps/sparc/sparc32/Makefile: rather than here...
22571 * sysdeps/sparc/sparc64/Makefile: and here.
22572
05f3d1f6
UD
225732012-03-28 Ulrich Drepper <drepper@gmail.com>
22574
22575 * malloc/mallocbug.c: Avoid warnings about unused variables.
22576
86ae07a8
JL
225772012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22578
22579 [BZ #13760]
22580 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22581 in the right place. Discard and retry query if response is
22582 larger than input buffer size.
22583
41bf21a1
JM
225842012-03-28 Joseph Myers <joseph@codesourcery.com>
22585
d6270972
JM
22586 [BZ #369]
22587 [BZ #2678]
22588 [BZ #3866]
22589 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22590 x for large integer exponent.
22591 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22592 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22593 sign of result as needed afterwards.
22594 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22595 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22596 result for underflowing pow the same as for overflow.
22597 (__kernel_standard_l): Handle powl overflow and underflow here
22598 rather than calling __kernel_standard.
22599 * math/libm-test.inc (pow_test): Add more tests.
22600
414fca03 22601 [BZ #3868]
41bf21a1
JM
22602 [BZ #13879]
22603 [BZ #13910]
22604 [BZ #13911]
22605 [BZ #13912]
22606 [BZ #13913]
22607 [BZ #13915]
22608 [BZ #13916]
22609 [BZ #13917]
22610 [BZ #13918]
22611 [BZ #13919]
22612 [BZ #13920]
22613 [BZ #13921]
22614 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22615 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22616 (__kernel_standard_l): New function.
22617 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22618 __kernel_standard.
22619 * math/w_acosl.c (__acosl): Likewise.
22620 * math/w_asinl.c (__asinl): Likewise.
22621 * math/w_atan2l.c (__atan2l): Likewise.
22622 * math/w_atanhl.c (__atanhl): Likewise.
22623 * math/w_coshl.c (__coshl): Likewise.
22624 * math/w_exp10l.c (__exp10l): Likewise.
22625 * math/w_exp2l.c (__exp2l): Likewise.
22626 * math/w_fmodl.c (__fmodl): Likewise.
22627 * math/w_hypotl.c (__hypotl): Likewise.
22628 * math/w_j0l.c (__j0l, __y0l): Likewise.
22629 * math/w_j1l.c (__j1l, __y1l): Likewise.
22630 * math/w_jnl.c (__jnl, __ynl): Likewise.
22631 * math/w_lgammal.c (__lgammal): Likewise.
22632 * math/w_log10l.c (__log10l): Likewise.
22633 * math/w_log2l.c (__log2l): Likewise.
22634 * math/w_logl.c (__logl): Likewise.
22635 * math/w_powl.c (__powl): Likewise.
22636 * math/w_remainderl.c (__remainderl): Likewise.
22637 * math/w_scalbl.c (sysv_scalbl): Likewise.
22638 * math/w_sinhl.c (__sinhl): Likewise.
22639 * math/w_sqrtl.c (__sqrtl): Likewise.
22640 * math/w_tgammal.c (__tgammal): Likewise.
22641 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22642 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22643 * math/libm-test.inc (acos_test): Add more tests.
22644 (acosh_test): Likewise.
22645 (asin_test): Likewise.
22646 (atanh_test): Likewise.
22647 (exp_test): Likewise.
22648 (exp10_test): Likewise.
22649 (exp2_test): Likewise.
22650 (expm1_test): Likewise.
22651 (lgamma_test): Likewise.
22652 (log_test): Likewise.
22653 (log10_test): Likewise.
22654 (log1p_test): Likewise.
22655 (log2_test): Likewise.
22656 (pow_test): Do not allow some spurious overflow exceptions.
22657 (sqrt_test): Add more tests.
22658 (tgamma_test): Likewise.
22659 (y0_test): Likewise.
22660 (y1_test): Likewise.
22661 (yn_test): Likewise.
22662
dd62fda6
AB
226632012-03-27 Anton Blanchard <anton@samba.org>
22664
22665 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22666 MAP_HUGETLB.
22667 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22668 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22669 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22670
1e3cdfda
AJ
226712012-03-27 David S. Miller <davem@davemloft.net>
22672
b855ab85
DM
22673 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22674
1e3cdfda
AJ
22675 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22676 have-as-vis3 check.
22677
226782012-03-27 Andreas Jaeger <aj@suse.de>
22679
22680 * sysdeps/x86_64/elf/configure.in: Moved to ...
22681 * sysdeps/x86_64/configure.in: ... here.
22682 * sysdeps/x86_64/elf/start.S: Moved to ...
22683 * sysdeps/x86_64/start.S: ... here.
22684 * sysdeps/x86_64/elf/configure: Delete.
22685
22686 * sysdeps/x86_64/configure.in: Merge contents from
22687 sysdeps/i386/configure.in (without i686 check).
22688
22689 * sysdeps/i386/elf/Versions: Merge into ...
22690 * sysdeps/i386/Versions: ... this.
22691 * sysdeps/i386/elf/Versions: Delete file.
22692 * sysdeps/i386/elf/start.S: Moved to ...
22693 * sysdeps/i386/start.S: ...here.
22694 * sysdeps/i386/elf/configure.in: Merge into...
22695 * sysdeps/i386/configure.in: ...here.
22696 * sysdeps/i386/elf/configure.in: Delete file.
22697 * sysdeps/i386/elf/configure: Delete file.
22698
22699 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22700 * debug/backtracesyms.c: ... here.
22701 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22702 * debug/backtracesymsfd.c: ... here.
22703 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22704 * sysdeps/generic/ifunc-sel.h: ... here.
22705
22706 * sysdeps/unix/i386/start.c: Delete file.
22707 * sysdeps/unix/sparc/start.c: Delete file.
22708 * sysdeps/unix/start.c: Delete file.
22709
22710 * sysdeps/sh/elf/configure.in: Moved to ...
22711 * sysdeps/sh/configure.in: ... here.
22712 * sysdeps/sh/elf/start.S: Moved to ...
22713 * sysdeps/sh/start.S: ... here.
22714 * sysdeps/sh/elf/configure: Delete file.
22715
22716 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22717 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22718 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22719 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22720 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22721 * sysdeps/powerpc/powerpc64/start.S: here.
22722 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22723 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22724 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22725 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22726 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22727
22728 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22729 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22730 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22731 * sysdeps/powerpc/powerpc32/start.S: ... here.
22732 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22733 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22734 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22735
22736 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22737 * sysdeps/powerpc/ifunc-sel.h: ... here.
22738 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22739 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22740
22741 * sysdeps/sparc/elf/configure.in: Moved to ...
22742 * sysdeps/sparc/configure.in: ... here.
22743 * sysdeps/sparc/elf/configure: Delete file.
22744 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22745 * sysdeps/sparc/sparc32/start.S: ... here.
22746 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22747 * sysdeps/sparc/sparc64/start.S: ... here.
22748 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22749 * sysdeps/sparc/sparc32/Makefile: ... this.
22750 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22751 * sysdeps/sparc/sparc64/Makefile: ... this.
22752
22753 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22754 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22755 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22756 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22757 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22758 * sysdeps/s390/s390-32/setjmp.S: ... here.
22759 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22760 * sysdeps/s390/s390-32/configure.in: ... here.
22761 * sysdeps/s390/s390-32/elf/configure: Delete file.
22762 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22763 * sysdeps/s390/s390-32/start.S: ... here.
22764
22765 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22766 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22767 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22768 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22769 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22770 * sysdeps/s390/s390-64/setjmp.S: ... here.
22771 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22772 * sysdeps/s390/s390-64/configure.in: ... here
22773 * sysdeps/s390/s390-64/elf/configure: Delete file.
22774 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22775 * sysdeps/s390/s390-64/start.S: ... here.
22776 * sysdeps/s390/s390-64/elf/configure: Delete.
22777
22778 * configure.in: Remove support for elf directories in sysdeps.
22779
22780 * configure: Regenerated.
22781 * sysdeps/i386/configure: Regenerated.
22782 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22783 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22784 * sysdeps/s390/s390-32/configure: Regenerated.
22785 * sysdeps/s390/s390-64/configure: Regenerated.
22786 * sysdeps/sh/configure: Regenerated.
22787 * sysdeps/sparc/configure: Regenerated.
22788 * sysdeps/x86_64/configure: Regenerated.
22789
a3f61311
AS
227902012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22791
c876e002
AS
22792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22793
a3f61311
AS
22794 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22795 denormal result into account.
22796
ac4c54f0
RM
227972012-03-25 Roland McGrath <roland@hack.frob.com>
22798
22799 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22800 Reported by Allan McRae <allan@archlinux.org>.
22801
6a9b9c02
JL
228022012-03-23 Jeff Law <law@redhat.com>
22803
22804 * nss/getnssent.c (__nss_getent): Fix typo.
22805
4c42a0c1
DM
228062012-03-23 David S. Miller <davem@davemloft.net>
22807
22808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22809
1532c7ac
L
228102012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22811
22812 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22813 to pad to uint64_t for each field.
22814 (dl_tls_index): Replace unsigned long with uint64_t.
22815
3ff42526
PP
228162012-03-23 Daniel Jacobowitz <dmj@google.com>
22817 Paul Pluzhnikov <ppluzhnikov@google.com>
22818
22819 [BZ #6528]
22820 * grp/Makefile (otherlibs): Don't set it.
22821 * inet/Makefile (otherlibs): Likewise.
22822 * login/Makefile (otherlibs): Likewise.
22823 * nscd/Makefile (otherlibs): Likewise.
22824 * posix/Makefile (otherlibs): Likewise.
22825 * pwd/Makefile (otherlibs): Likewise.
22826 * rt/Makefile (otherlibs): Likewise.
22827 * sunrpc/Makefile (otherlibs): Likewise.
22828 * nss/Makefile (otherlibs): Likewise.
22829 Add libnss_files to routines and static-only-routines.
22830 ($(objpfx)getent): Remove rule.
22831 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22832 static-only-routines.
22833
7c69cd14
JM
228342012-03-22 Joseph Myers <joseph@codesourcery.com>
22835
22836 [BZ #13892]
22837 * math/s_cexp.c: Include <float.h>.
22838 (__cexp): Handle exp result overflowing not necessarily
22839 overflowing both real and imaginary parts of result.
22840 * math/s_cexpf.c: Likewise.
22841 * math/s_cexpl.c: Likewise.
22842 * math/libm-test.inc (cexp_test): Add more tests.
22843 * sysdeps/i386/fpu/libm-test-ulps: Update.
22844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22845
81b035fe
L
228462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22847
22848 * include/link.h (ELFW): New macro.
22849 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22850 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22851
1da7940c
L
228522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22853
22854 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22855 with uint64_t.
22856
b749dbb9
L
228572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22858
22859 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22860 declaration.
22861 (struct La_x32_retval): Likewise.
22862
2ff87f3f
L
228632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22864
22865 * sysdeps/x86_64/preconfigure.in: New file.
22866 * sysdeps/x86_64/preconfigure: New generated file.
22867
c0df8e69
JM
228682012-03-22 Joseph Myers <joseph@codesourcery.com>
22869
48e44791
JM
22870 [BZ #13824]
22871 * math/e_exp2l.c: Include <float.h>.
22872 (__ieee754_exp2l): Handle overflow and underflow cases
22873 separately. Only pass fractional part of argument to
22874 __ieee754_expl.
22875 * math/libm-test.inc (exp2_test): Add more tests.
22876
c0df8e69
JM
22877 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22878 negating x to take absolute value.
22879 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22880 Likewise.
22881 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22882 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22883 Likewise.
22884 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22885 computing low part if x was negated.
22886 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22887
c8e43ba7
L
228882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22889
22890 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22891 la_x32_gnu_pltexit.
22892 (pltexit): Cast int_retval to ptrdiff_t.
22893 * elf/tst-auditmod3b.c: Likewise.
22894 * elf/tst-auditmod4b.c: Likewise.
22895 * elf/tst-auditmod5b.c: Likewise.
22896 * elf/tst-auditmod6b.c: Likewise.
22897 * elf/tst-auditmod6c.c: Likewise.
22898 * elf/tst-auditmod7b.c: Likewise.
22899
22900 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22901 and x32_gnu_pltexit.
22902
22903 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22904 __ELF_NATIVE_CLASS.
22905 (La_x32_regs): New macro.
22906 (La_x32_retval): Likewise.
22907 (la_x32_gnu_pltenter): New function prototype.
22908 (la_x32_gnu_pltexit): Likewise.
22909
7998fa78
AS
229102012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22911
dcb33988
AS
22912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22913 exponent.
22914
233fc563
AS
22915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22916
7998fa78
AS
22917 * configure.in (libc_cv_cc_nofma): Check for option to disable
22918 generation of FMA instructions.
22919 * configure: Regenerate.
22920 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22921 * sysdeps/ieee754/dbl-64/Makefile: New file.
22922 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22923 Remove brandred-fma4.
22924 (CFLAGS-brandred-fma4.c): Remove.
22925 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22926 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22927 define.
22928 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22929 define.
22930
8e95c99a
L
229312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22932
22933 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22934 LLONG_MAX != LONG_MAX.
22935 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22936 (_fitoa_word): Likewise.
22937 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22938 LLONG_MAX != LONG_MAX.
22939 * stdio-common/_itowa.h: Include <_itoa.h>.
22940 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22941 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22942 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22943 only if not defined.
22944 (_ITOA_WORD_TYPE): Likewise.
22945 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22946 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22947
6f4db457
DM
229482012-03-21 David S. Miller <davem@davemloft.net>
22949
22950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22951
7785fe5a
L
229522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22953
22954 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22955 of x86_64 when setting libc_cv_slibdir, libdir and
22956 libc_cv_localedir.
22957 * sysdeps/unix/sysv/linux/configure: Regenerated.
22958
4535cd55
JM
229592012-03-21 Joseph Myers <joseph@codesourcery.com>
22960
22961 * manual/lang.texi (Old Varargs): Remove section.
22962 (How Variadic): Update menu.
22963 (va_start): Do not mention varargs.h.
22964
17228132
TS
229652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22966 Joseph Myers <joseph@codesourcery.com>
22967
22968 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22969 link test.
22970 * configure: Regenerated.
22971
8149f976
TS
229722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22973
05f3d1f6
UD
22974 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22975 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22976 conformtest.pl
8149f976 22977
1a4ac776
JM
229782012-03-21 Joseph Myers <joseph@codesourcery.com>
22979
be22ce65
JM
22980 * NOTES: Remove.
22981 * Makefile (files-for-dist): Remove NOTES.
22982 (NOTES): Remove rule.
22983 * README: Don't refer to NOTES.
22984 * manual/creature.texi: Don't include macros.texi.
22985 * manual/intro.texi (creature.texi): Remove comment referring to
22986 NOTES.
22987
40b601fb
JM
22988 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22989 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22990 * configure: Regenerated.
22991 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22992 LIBC_TRY_CC_OPTION.
22993 (libc_cv_as_i686): Likewise.
22994 (libc_cv_cc_avx): Likewise.
22995 (libc_cv_cc_sse2avx): Likewise.
22996 (libc_cv_cc_fma4): Likewise.
22997 (libc_cv_cc_novzeroupper): Likewise.
22998 * sysdeps/i386/configure: Regenerated.
22999
1a4ac776
JM
23000 [BZ #13883]
23001 * sysdeps/i386/fpu/s_cexp.S: Remove.
23002 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23003 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23004 * math/libm-test.inc (cexp_test): Add more tests.
23005 * sysdeps/i386/fpu/libm-test-ulps: Update.
23006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23007
a458e7fe
AM
230082012-03-21 Allan McRae <allan@archlinux.org>
23009
23010 * timezone/Makefile: Do not install iso3166.tab and zone.tab
23011
0cb7efc5
JM
230122012-03-21 Joseph Myers <joseph@codesourcery.com>
23013
23014 [BZ #13871]
23015 * math/w_exp2.c: Do not include <float.h>.
23016 (o_threshold, u_threshold): Remove.
23017 (__exp2): Calculate result before checking finiteness and calling
23018 __kernel_standard.
23019 * math/w_exp2f.c: Likewise.
23020 * math/w_exp2l.c: Likewise.
23021 * math/libm-test.inc (exp2_test): Require overflow exception for
23022 1e6 input.
2460d3aa
JM
23023
23024 [BZ #3866]
23025 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23026 range of signed 64-bit integers before using fistpll. Remove
23027 checks for whether integers fit in mantissa bits.
23028 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23029 the range of signed 32-bit integers before using fistpl. Remove
23030 checks for whether integers fit in mantissa bits.
23031 * sysdeps/i386/fpu/e_powl.S (p64): New object.
23032 (__ieee754_powl): Test for y outside the range of signed 64-bit
23033 integers before using fistpll. Reduce 64-bit values to 63-bit
23034 ones as needed.
23035 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23036 divide-by-zero is raised for zero to large negative powers.
23037 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23038 (__ieee754_powl): Test for y outside the range of signed 64-bit
23039 integers before using fistpll. Reduce 64-bit values to 63-bit
23040 ones as needed.
23041 * math/libm-test.inc (pow_test): Add more tests.
23042
eb96ffb0
L
230432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23044
23045 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23046 <stdio-common/_itoa.h>.
23047 * debug/segfault.c: Likewise.
23048 * elf/dl-cache.c: Likewise.
23049 * elf/dl-minimal.c: Likewise.
23050 * elf/dl-misc.c: Likewise.
23051 * elf/dl-sysdep.c: Likewise.
23052 * elf/dl-version.c: Likewise.
23053 * elf/rtld.c: Likewise.
23054 * hurd/hurdsock.c: Likewise.
23055 * hurd/lookup-retry.c: Likewise.
23056 * malloc/malloc.c: Likewise.
23057 * malloc/mtrace.c: Likewise.
23058 * nscd/nscd_getgr_r.c: Likewise.
23059 * nscd/nscd_getpw_r.c: Likewise.
23060 * nscd/nscd_getserv_r.c: Likewise.
23061 * posix/getopt_init.c: Likewise.
23062 * posix/wordexp.c: Likewise.
23063 * stdio-common/_itoa.c: Likewise.
23064 * stdio-common/printf_fphex.c: Likewise.
23065 * stdio-common/vfprintf.c: Likewise.
23066 * string/_strerror.c: Likewise.
23067 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23068 * sysdeps/i386/i686/hp-timing.h: Likewise.
23069 * sysdeps/mach/_strerror.c: Likewise.
23070 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23071 * sysdeps/mach/hurd/sethostid.c: Likewise.
23072 * sysdeps/mach/hurd/xmknodat.c: Likewise.
23073 * sysdeps/mach/xpg-strerror.c: Likewise.
23074 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23075 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23076 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23077 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23078 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23079 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23080 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23081 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23082 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23083 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23084 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23085 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23086 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23087 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23088 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23089 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23090 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23091 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23092 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23093 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23094 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23095
23096 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23097
23098 * stdio-common/_itoa.h: Moved to ...
23099 * sysdeps/generic/_itoa.h: Here.
23100
23101 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23102
23103 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23104 instead of "_itoa.h" and "_itowa.h".
23105 * stdio-common/vfprintf.: Likewise.
23106
d1af992d
L
231072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23108
23109 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23110 <bits/wordsize.h>.
23111 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23112 (__signbit): Likwise.
23113 (llrintf): Likwise.
23114 (llrint): Likwise.
23115
114883e0
L
231162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23117
23118 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23119 __WORDSIZE != 64.
23120
c135cc1b
JM
231212012-03-20 Joseph Myers <joseph@codesourcery.com>
23122
23123 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23124 OVERFLOW_EXCEPTION_OK.
23125 * math/libm-test.inc ("Philosophy"): Update comment about
23126 exception testing.
23127 (OVERFLOW_EXCEPTION): Define.
23128 (OVERFLOW_EXCEPTION_OK): Likewise.
23129 (INVALID_EXCEPTION_OK): Renumber.
23130 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23131 (IGNORE_ZERO_INF_SIGN): Likewise.
23132 (test_exceptions): Handle FE_OVERFLOW.
23133 (exp10_test): Expect overflow exceptions.
23134 (exp2_test): Likewise.
23135 (expm1_test): Likewise.
23136 (nextafter_test): Likewise.
23137 (pow_test): Likewise.
23138 (scalbn_test): Likewise.
23139 (scalbln_test): Likewise.
23140
95443d88
L
231412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23142
23143 * sysdeps/x86_64/bits/atomic.h
23144 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23145 64bit integer.
23146 (atomic_exchange_acq): Likewise.
23147 (__arch_exchange_and_add_body): Likewise.
23148 (__arch_add_body): Likewise.
23149 (atomic_add_negative): Likewise.
23150 (atomic_add_zero): Likewise.
23151
490df6c4
L
231522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23153
c2722551 23154 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23155 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23156
5e52b189
L
231572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23158
23159 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23160 Check __x86_64__ instead of __WORDSIZE.
23161
a9879d4c
L
231622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23163
23164 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23165
5df98260
DM
231662012-03-19 David S. Miller <davem@davemloft.net>
23167
e1497744
DM
23168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23169
5df98260
DM
23170 * sysdeps/sparc/fpu/fenv_private.h: New file.
23171 * sysdeps/sparc/fpu/math_private.h: Use it.
23172 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23173 Remove.
23174 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23175 (libc_feholdexcept_setroundl): Remove.
23176 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23177 Remove.
23178 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23179 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23180
b4c35121
L
231812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23182
23183 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23184 int64_t instead of long int.
23185 (INSERT_WORDS64): Likwise.
23186
56965fd7
L
231872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23188
23189 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23190 _Unwind_GetCFA return to _Unwind_Ptr first.
23191
83d1aec8
JM
231922012-03-19 Joseph Myers <joseph@codesourcery.com>
23193
1897ad44
JM
23194 [BZ #13629]
23195 * math/s_clog.c: Include <float.h>.
23196 (__clog): Scale large or subnormal inputs.
23197 * math/s_clogf.c: Likewise.
23198 * math/s_clogl.c: Likewise.
23199 * math/s_clog10.c: Include <float.h>.
23200 (M_LOG10_2): Define.
23201 (__clog10): Scale large or subnormal inputs.
23202 * math/s_clog10f.c: Likewise.
23203 * math/s_clog10l.c: Likewise.
23204 * math/libm-test.inc (clog_test): Add more tests.
23205 (clog10_test): Likewise.
23206 * sysdeps/i386/fpu/libm-test-ulps: Update.
23207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23208
7726d6a9
JM
23209 [BZ #11451]
23210 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23211 x and y.
23212 * math/libm-test.inc (atan2_test): Add another test.
23213
83d1aec8
JM
23214 * Makerules (common-objdir-compile): Remove.
23215 * sysdeps/unix/Makefile (config-generated): Do not add
23216 $(unix-generated) to variable.
23217 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23218 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23219 Remove rule.
23220 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23221 Likewise.
23222 [generic bits/local_lim.h] (before-compile): Do not append to
23223 variable.
23224 [generic bits/local_lim.h] (common-generated): Likewise.
23225 [generic sys/param.h] (before-compile): Do not append to variable.
23226 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23227 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23228 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23229 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23230 include.
23231 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23232 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23233 [generic sys/param.h] ($(addprefix
23234 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23235 [generic sys/param.h] (common-generated): Do not append to
23236 variable.
23237 [generic sys/param.h] (sysdep_headers): Likewise.
23238 [generic bits/errno.h] (before-compile): Do not append to
23239 variable.
23240 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23241 rule.
23242 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23243 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23244 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23245 [generic bits/errno.h] (common-generated): Do not append to
23246 variable.
23247 [generic bits/ioctls.h] (before-compile): Do not append to
23248 variable.
23249 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23250 rule.
23251 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23252 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23253 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23254 rule.
23255 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23256 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23257 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23258 [generic bits/ioctls.h] (common-generated): Do not append to
23259 variable.
23260 [generic sys/syscall.h] (syscall.h): Remove variable.
23261 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23262 rule.
23263 [generic sys/syscall.h] (before-compile): Do not append to
23264 variable.
23265 [generic sys/syscall.h] (common-generated): Likewise.
23266 * sysdeps/unix/errnos-tmpl.c: Remove file.
23267 * sysdeps/unix/errnos.awk: Likewise.
23268 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23269 * sysdeps/unix/ioctls.awk: Likewise.
23270 * sysdeps/unix/mk-local_lim.c: Likewise.
23271 * sysdeps/unix/snarf-ioctls: Likewise.
23272
4851a949
RH
232732012-03-19 Richard Henderson <rth@twiddle.net>
23274
bd37f2ee
RH
23275 * sysdeps/i386/fpu/fenv_private.h: New file.
23276 * sysdeps/i386/fpu/math_private.h: Use it.
23277 (math_opt_barrier, math_force_eval): Remove.
23278 (libc_feholdexcept_setround_53bit): Remove.
23279 (libc_feupdateenv_53bit): Remove.
23280 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23281 (math_opt_barrier, math_force_eval): Remove.
23282 (libc_feholdexcept): Remove.
23283 (libc_feholdexcept_setround): Remove.
23284 (libc_fetestexcept, libc_fesetenv): Remove.
23285 (libc_feupdateenv_test): Remove.
23286 (libc_feupdateenv, libc_feholdsetround): Remove.
23287 (libc_feresetround): Remove.
23288
d0adc922
RH
23289 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23290 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23291
0fe0f1f8
RH
23292 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23293 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23294 (libc_feupdateenv_testl): New.
23295 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23296 (libc_feupdateenv_testf): New.
23297 (libc_feupdateenv): Use libc_feupdateenv_test.
23298 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23299 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23300
eb92c487
RH
23301 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23302 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23303 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23304 (libc_feresetround_noex): New.
23305 (libc_feresetround_noexf): New.
23306 (libc_feresetround_noexl): New.
23307 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23308 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23309 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23310 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23311 SET_RESTORE_ROUND.
23312 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23313 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23314 (__cos): Likewise.
23315 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23316 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23317 SET_RESTORE_ROUND_NOEX.
23318 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23319 SET_RESTORE_ROUND_NOEXF.
23320 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23321 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23322 (libc_feholdsetroundf): New.
23323 (libc_feresetround, libc_feresetroundf): New.
23324
7d2e8012
RH
23325 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23326 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23327 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23328
b4dabbb4
RH
23329 * sysdeps/generic/math_private.h: Include <fenv.h>.
23330 (default_libc_feholdexcept): New.
23331 (default_libc_feholdexcept_setround): New.
23332 (default_libc_fesetenv, default_libc_feupdateenv): New.
23333 (libc_feholdexcept): Only define if undefined.
23334 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23335 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23336 (libc_feholdexcept_setroundl): Likewise.
23337 (libc_feholdexcept_setround_53bit): Likewise.
23338 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23339 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23340 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23341 (libc_feupdateenv_53bit): Likewise.
23342 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23343 (libc_feholdexcept): Convert from macro to inline function.
23344 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23345 (libc_fesetenv, libc_feupdateenv): Likewise.
23346
4851a949
RH
23347 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23348 not previously defined.
23349 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23350 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23351 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23352 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23353 * sysdeps/ieee754/flt-32/math_private.h: New file.
23354 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23355 math_private.h below SET_FLOAT_WORD.
23356 (__isnan, __isinf_ns, __finite): Remove.
23357 (__isnanf, __isinf_nsf, __finitef): Remove.
23358
e79d442e
AS
233592012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23360
23361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23362
90b80344
DM
233632012-03-17 David S. Miller <davem@davemloft.net>
23364
23365 [BZ #6471]
23366 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23367 for 2.16.
23368
edc21804
DM
233692012-03-16 David S. Miller <davem@davemloft.net>
23370
77e927af
DM
23371 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23372 warnings.
23373
374976dd
DM
23374 [BZ #6471]
23375 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23376 properly.
23377 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23378 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23379 sysdep_routines when subdir is sysvipc.
23380 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23381 __getshmlba helper.
23382
edc21804
DM
23383 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23384
473c3ef3
L
233852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23386
23387 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23388 [__LP64__].
23389
eb0f39b6
L
233902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23391
23392 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23393 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23394 (__lround): Renamed to ...
23395 (__llround): This. Replace long int with long long int.
23396 Define lround functions as aliases of llround functions.
23397 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23398
6b6cd74b
L
233992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23400
23401 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23402 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23403 adresses to uintptr_t. Replace "long int" and "unsigned long
23404 int" with "greg_t" on va_arg.
23405
f1a77b01
L
234062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23407
23408 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23409 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23410
23411 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23412 Move e_machine check before EI_CLASS check. Handle x32
23413 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23414 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23415 SKIP_EM_IA_64 and include
23416 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23417
23418 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23419 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23420 (add_system_dir): New macro.
23421
23422 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23423 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23424
11b90b9f
JM
234252012-03-16 Joseph Myers <joseph@codesourcery.com>
23426
c36e1d23
JM
23427 [BZ #2551]
23428 [BZ #2552]
23429 [BZ #2553]
23430 [BZ #2554]
23431 [BZ #2562]
23432 [BZ #2563]
23433 [BZ #2565]
23434 [BZ #2566]
23435 [BZ #2576]
23436 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23437 (y0): Likewise.
23438 * math/w_j0f.c (j0f): Likewise.
23439 (y0f): Likewise.
23440 * math/w_j0l.c (__j0l): Likewise.
23441 (__y0l): Likewise.
23442 * math/w_j1.c (j1): Likewise.
23443 (y1): Likewise.
23444 * math/w_j1f.c (j1f): Likewise.
23445 (y1f): Likewise.
23446 * math/w_j1l.c (__j1l): Likewise.
23447 (__y1l): Likewise.
23448 * math/w_jn.c (jn): Likewise.
23449 (yn): Likewise.
23450 * math/w_jnf.c (jnf): Likewise.
23451 (ynf): Likewise.
23452 * math/w_jnl.c (__jnl): Likewise.
23453 (__ynl): Likewise.
23454 * math/libm-test.inc (j0_test): Add more tests.
23455 (j1_test): Likewise.
23456 (jn_test): Likewise. Add trailing semicolon to existing test.
23457 (y0_test): Likewise.
23458 (y1_test): Likewise.
23459 * sysdeps/i386/fpu/libm-test-ulps: Update.
23460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23461
11b90b9f
JM
23462 [BZ #13851]
23463 [BZ #13854]
23464 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23465 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23466 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23467 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23468 (__tanl): Set errno for infinite argument.
23469 * sysdeps/i386/fpu/mptan.c: Remove.
23470 * sysdeps/i386/fpu/s_tan.S: Likewise.
23471 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23472 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23473 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23474 * math/libm-test.inc (tan_test): Add more tests and enable more
23475 tests for double and long double.
23476 * sysdeps/i386/fpu/libm-test-ulps: Update.
23477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23478
6a1bd2a1
JK
234792012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23480
23481 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23482 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23483
10a803e0
RM
234842012-03-16 Roland McGrath <roland@hack.frob.com>
23485
23486 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23487 * configure.in: Use it for both main tree and add-ons.
23488 * configure: Regenerated.
23489
f196c7f7
L
234902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23491
23492 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23493
8848d99d
JM
234942012-03-16 Joseph Myers <joseph@codesourcery.com>
23495
96cbe7f4
JM
23496 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23497 in comment.
23498
8848d99d
JM
23499 [BZ #13851]
23500 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23501 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23502 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23505 infinite argument.
23506 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23507 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23508 != 0 for prec == 2.
23509 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23510 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23511 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23512 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23513 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23514 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23515 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23516 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23517 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23518 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23519 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23520 * math/libm-test.inc (cos_test): Add more tests and enable more
23521 tests for long double.
23522 (sin_test): Likewise.
23523 (sincos_test): Likewise.
23524 * sysdeps/i386/fpu/libm-test-ulps: Update.
23525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23526
dd7f4703
DM
235272012-03-16 David S. Miller <davem@davemloft.net>
23528
23529 * sysdeps/sparc/fpu/math_private.h: New file.
23530
006f1daa
DM
235312012-03-15 David S. Miller <davem@davemloft.net>
23532
c0c83bc8
DM
23533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23534 file.
e6a62e18 23535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23537 file.
e6a62e18
DM
23538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23543 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23544 sysdep routines.
23545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23546
88cb87d9
DM
23547 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23548 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23549
006f1daa 23550 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23552 sparc-ifunc.h
006f1daa 23553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23555 Likewise.
23556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23557 Likewise.
006f1daa
DM
23558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23562 Likewise.
006f1daa
DM
23563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23568 Likewise.
23569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23570 Likewise.
006f1daa
DM
23571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23578 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23590 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23595
11e0098e
AS
235962012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23597
23598 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23599 scaling.
23600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23601
e85b09d0
AJ
236022012-03-15 Andreas Jaeger <aj@suse.de>
23603
23604 [BZ #13852]
23605 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23606 ieee754/flt-32 implementation for sin, cos and sincos.
23607 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23608 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23609 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23610 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23611 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23612 ieee754/flt-32 implementation for tan.
23613
23614 * math/libm-test.inc (cos_test): Enable some large input tests for
23615 float as well
23616 (sin_test): Likewise.
23617 (sincos_test): Likewise.
23618 (tan_test): Add tests for large input.
23619
23620 * sysdeps/i386/fpu/libm-test-ulps: Update.
23621
81c64153
AJ
236222012-03-15 Andreas Jaeger <aj@suse.de>
23623
23624 [BZ #13658]
23625 * math/libm-test.inc (cos_test): Add more test cases.
23626 (sin_test): Likewise.
23627 (sincos_test): Likewise.
23628
7bbfa5c6
AJ
236292012-03-15 Andreas Jaeger <aj@suse.de>
23630
23631 [BZ #13837]
23632 * math/libm-test.inc (cos_test): Add a test case for large input
23633 value.
23634 (sin_test): Likewise.
23635 (sincos_test): Likewise.
23636
236372012-03-15 Andreas Jaeger <aj@suse.de>,
23638 Joseph Myers <joseph@codesourcery.com>
23639
23640 [BZ #13658]
0671f479 23641 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23642 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23643 * sysdeps/i386/fpu/branred.c: Likewise.
23644 * sysdeps/i386/fpu/dosincos.c: Likewise.
23645 * sysdeps/i386/fpu/mpa.c: Likewise.
23646 * sysdeps/i386/fpu/s_cos.S: Likewise.
23647 * sysdeps/i386/fpu/s_sin.S: Likewise.
23648 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23649 * sysdeps/i386/fpu/sincos32.c: Likewise.
23650
23651 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23652 Define.
23653 (libc_feupdateenv_53bit): Define.
23654 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23655 Define.
23656 (libc_feupdateenv_53bit): Define.
23657
23658 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23659 53 bit (without extend i386 double precision).
23660
23661 * math/libm-test.inc (sincos_test): Add tests for large input.
23662 (sin): Likewise.
23663 (cos): Likewise.
23664
23665 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23666
9cad04ea
AS
236672012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23668
23669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23670
f7062b9a
DM
236712012-03-15 David S. Miller <davem@davemloft.net>
23672
23673 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23674 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23675 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23676 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23689 file.
f7062b9a 23690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23692 file.
f7062b9a 23693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23695 file.
f7062b9a 23696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23698 file.
f7062b9a
DM
23699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23700 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23701 fmin/fmax sysdep routines.
23702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23703
7bd951ff
DM
237042012-03-14 David S. Miller <davem@davemloft.net>
23705
559398ab
DM
23706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23734 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23735 routines.
23736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23737 file.
559398ab 23738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23740 file.
559398ab 23741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23743 file.
559398ab 23744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23746 file.
559398ab 23747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23749 file.
559398ab 23750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23752 file.
23753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23754 file.
23755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23756 file.
23757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23758 file.
23759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23760 New file.
23761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23762 file.
23763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23764 file.
559398ab 23765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23767 file.
559398ab 23768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23770 file.
559398ab 23771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23773 file.
559398ab 23774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23776 VIS3 routines.
559398ab
DM
23777
23778 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23779 New file.
23780
5a1c1e32
DM
23781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23782
eae47a36
DM
23783 * sysdeps/sparc/configure.in: New file.
23784 * sysdeps/sparc/configure: Generate.
23785 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23786 * configure: Regenerate.
23787 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23788 * config.make.in (have-as-vis3): New.
23789 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23790 available use -Av9d instead of -Av9a.
23791 * sysdeps/sparc/sparc64/Makefile: Likewise.
23792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23794 New file.
23795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23796 file.
23797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23798 New file.
23799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23800 file.
eae47a36
DM
23801 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23806
c0c83bc8
DM
23807 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23808 fzeros/fnegs to load 0x80000000 into a float register instead of
23809 using the stack.
7bd951ff
DM
23810 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23811
bd951ccb
JM
238122012-03-14 Joseph Myers <joseph@codesourcery.com>
23813
23814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23815 bits/syscall.h.
23816 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23817 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23818 ($(inst_includedir)/bits/syscall.h): Remove rule.
23819 ($(objpfx)bits/syscall.d): Include instead of
23820 $(objpfx)syscall-list.d.
23821 (generated): Change syscall-list.h and syscall-list.d to
23822 bits/syscall.h and bits/syscall.d.
23823
bb4e6db2
RM
238242012-03-14 Roland McGrath <roland@hack.frob.com>
23825
23826 [BZ #13846]
23827 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23828
aa4a2ae1
JM
238292012-03-14 Joseph Myers <joseph@codesourcery.com>
23830
e456826d
JM
23831 [BZ #13841]
23832 * math/s_csqrt.c: Include <float.h>.
23833 (__csqrt): Scale large or subnormal inputs.
23834 * math/s_csqrtf.c: Likewise.
23835 * math/s_csqrtl.c: Likewise.
23836 * math/libm-test.inc (csqrt_test): Add more tests.
23837 * sysdeps/i386/fpu/libm-test-ulps: Update.
23838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23839
aa4a2ae1
JM
23840 [BZ #13840]
23841 * math/libm-test.inc (hypot_test): Add more tests.
23842
7c10fd35
DM
238432012-03-13 David S. Miller <davem@davemloft.net>
23844
23845 [BZ #13840]
23846 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23847 double-precision for the calculation instead of scaling.
23848
f453b98b
JM
238492012-03-13 Joseph Myers <joseph@codesourcery.com>
23850
23851 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23852 manipulate bits before adding and subtracting TWO52[sx].
23853 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23854 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23855 Likewise.
23856 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23857
09a3453f
DM
238582012-03-13 David S. Miller <davem@davemloft.net>
23859
8e59da90
DM
23860 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23861 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23863 rtld-global-offsets.h
23864 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23865
2a8ab7f2
DM
23866 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23867 large parameters.
23868
10f62770
DM
23869 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23870
5f0bdb18
DM
23871 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23872 'err' in the ifdef scope in which it is actually used.
23873
09a3453f
DM
23874 * nss/nss_db/db-init.c: Include string.h
23875
b4b2eb5e
DM
238762012-03-12 David S. Miller <davem@davemloft.net>
23877
98bb2f1c
DM
23878 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23879 masking out of the most significant byte of random value used.
23880 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23881 Fix coding style in previous change.
23882
b4b2eb5e
DM
23883 * sysdeps/unix/sysv/linux/kernel-features.h
23884 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23885 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23886 expression.
23887 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23888 later.
23889
6e226b09
DM
238902012-03-11 David S. Miller <davem@davemloft.net>
23891
a1bcbd40
DM
23892 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23893 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23894 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23895 for 'resultvar' otherwise things get truncated on 64-bit.
23896
cb9d6174
DM
23897 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23898 Fix masking out of the most significant byte of random value used.
23899
6e226b09
DM
23900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23901
058c132d
AS
239022012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23903
23904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23905
2d2cd515
DM
239062012-03-09 David S. Miller <davem@davemloft.net>
23907
23908 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23909 variables with appropriate CPP guards.
23910 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23911 frame pointer, not the stack pointer. Correct layout comments. Fix test
23912 on resulting framesize and the management of the outregs buffer for pltexit.
23913 Preserve floating point return values across _dl_call_pltexit call.
23914 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23915 framesize and the management of the outregs buffer for pltexit.
23916 Preserve floating point return values across _dl_call_pltexit
23917 call.
23918 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23919 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23920 (print_exit): Fix format string for return register value.
23921
9a07f9d0
JM
239222012-03-10 Joseph Myers <joseph@codesourcery.com>
23923
23924 * sunrpc/Makefile (others): Add rpcgen.
23925 ($(objpfx)rpcgen): Remove special build rule and dependency on
23926 libc.
23927 * sunrpc/rpcgen.c: New file.
23928
547b5e30
PE
239292012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23930
c524201a
PE
23931 [BZ #13673]
23932 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23933 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23934 * sysdeps/i386/crti.S: Likewise.
23935 * sysdeps/i386/crtn.S: Likewise.
23936 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23937 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23938 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23939 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23940 * sysdeps/sh/crti.S: Likewise.
23941 * sysdeps/sh/crtn.S: Likewise.
23942 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23943
7b6235f2
PE
23944 [BZ #13673]
23945 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23946 with URL.
23947 * locale/programs/locfile-kw.gperf: Likewise.
23948 * locale/programs/charmap-kw.h: Regenerated.
23949 * locale/programs/locfile-kw.h: Likewise.
23950
547b5e30
PE
23951 [BZ #13673]
23952 * intl/plural.y: Replace FSF snail mail address with URL.
23953 * intl/plural.c: Regenerated.
23954
5f0a5dae
RH
239552012-03-09 Richard Henderson <rth@twiddle.net>
23956
23957 * include/math_private.h: Remove file.
23958 * math/math_private.h: Move file ...
23959 * sysdeps/generic/math_private.h: ... here.
23960
b8c03620
RH
23961 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23962 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23963 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23964
4e234f5d 23965 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23966 and <math_private.h>.
23967 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23968 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23969 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23970 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23971 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23972 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23973 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23975 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23976 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23977 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23978 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23979 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23980 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23981 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23982 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23983 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23984 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23985 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23986 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23987 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23988 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23989 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23991 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23992 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23993 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23994 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23995 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23996 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23997 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23998 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23999 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24000 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24001 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24002 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24003 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24004 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24005 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24006 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24007 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24008 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24009 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24010 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24011 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24012 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24013 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24014 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24015 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24016 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24017 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24018 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24019 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24020 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24021 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24022 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24023 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24024 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24025 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24026 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24027 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24028 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24029 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24030 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24031 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24032 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24033 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24034 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24035 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24036 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24037 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24038 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24039 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24040 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24041 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24045 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24046 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24047 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24048 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24049 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24050 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24051 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24053 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24054 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24055 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24056 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24057 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24058 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24060 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24061 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24062 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24063 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24064 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24065 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24066 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24067 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24068 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24069 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24070 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24071 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24072 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24073 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24074 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24075 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24076 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24077 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24078 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24079 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24080 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24081 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24082 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24083 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24084 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24085 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24086 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24087 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24088 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24089 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24090 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24091 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24092 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24093 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24094 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24095 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24096 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24097 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24098 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24099 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24100 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24101 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24102 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24103 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24104 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24105 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24106 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24107 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24108 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24109 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24110 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24111 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24112 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24113 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24114 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24115 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24116 * sysdeps/ieee754/k_standard.c: Likewise.
24117 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24118 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24127 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24128 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24129 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24130 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24131 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24133 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24134 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24135 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24136 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24137 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24138 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24139 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24140 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24141 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24142 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24143 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24144 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24145 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24146 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24148 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24149 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24150 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24151 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24152 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24154 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24155 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24156 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24157 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24158 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24159 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24160 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24161 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24162 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24163 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24165 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24166 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24167 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24168 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24169 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24170 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24172 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24173 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24174 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24175 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24176 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24177 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24178 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24179 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24181 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24183 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24184 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24185 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24186 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24187 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24190 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24232 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24236 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24237 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24238 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24239 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24242 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24243 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24244 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24248 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24249 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24252 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24253 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24260 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24261 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24265 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24266 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24267 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24270 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24273 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24276 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24277 * sysdeps/ieee754/s_lib_version.c: Likewise.
24278 * sysdeps/ieee754/s_matherr.c: Likewise.
24279 * sysdeps/ieee754/s_signgam.c: Likewise.
24280 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24281 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24282 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24283 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24284 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24285 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24286 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24287 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24288 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24289 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24290 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24291 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24292 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24293 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24294 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24295 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24296 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24297 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24298 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24301
1991fa03
JM
243022012-03-09 Joseph Myers <joseph@codesourcery.com>
24303
24304 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24305 * sunrpc/rpc_main.c: Likewise.
24306 * sunrpc/rpc_svcout.c: Likewise.
24307
60d6f5a6
DM
243082012-03-09 David S. Miller <davem@davemloft.net>
24309
24310 * include/math_private.h: New file.
24311
4962050e
JM
243122012-03-09 Joseph Myers <joseph@codesourcery.com>
24313
02a6f887
JM
24314 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24315 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24316 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24317 from <bits/socket_type.h>.
24318 (enum __socket_type): Don't define here.
24319 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24321 bits/socket_type.h.
24322
c6e013c1
JM
24323 [BZ #13566]
24324 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24325 checking __USE_GNU.
24326
4962050e
JM
24327 * Makerules ($(inst_includedir)/%.h): New rule.
24328 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24329 (install-others): Remove variable setting.
24330 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24331
38842f45
RH
243322012-03-08 Richard Henderson <rth@twiddle.net>
24333
67bb6da6
RH
24334 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24335 from macro to inline function; merge with the
24336 !__LIBC_INTERNAL_MATH_INLINES version.
24337 (__ieee754_sqrtf): Likewise.
24338
15194b4b
RH
24339 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24340 to inline function.
24341 (__rintf, __floor, __floorf): Likewise.
24342
64e21ede
RH
24343 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24344 macro to inline function.
24345 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24346
38842f45
RH
24347 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24348 not <math/math_private.h>.
24349
c64bf5fe
DM
243502012-03-08 David S. Miller <davem@davemloft.net>
24351
24352 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24353 copyright year.
24354 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24355
82d86f28
TS
243562012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24357
24358 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24359 normalization.
24360 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24361 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24362
aea5d727
UD
243632012-03-08 Ulrich Drepper <drepper@gmail.com>
24364
24365 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24366 be defined individually, they must be defined as a block. Define
24367 S for printing a string instead of hidint the different by using a
24368 macro for adding the 'l'.
24369 * stdio-common/tst-fphex-wide.c: Adjust.
24370
70bca0a3
MP
243712012-03-07 Marek Polacek <polacek@redhat.com>
24372
24373 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24374
65b81130
MP
243752012-03-08 Marek Polacek <polacek@redhat.com>
24376
24377 [BZ #13806]
24378 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24379 * stdio-common/tst-fphex.c: Define a few macros to make the
24380 test reusable. Use them.
24381 * stdio-common/tst-fphex-wide.c: New file.
24382
07037eeb
JM
243832012-03-08 Joseph Myers <joseph@codesourcery.com>
24384
a7a93d50
JM
24385 [BZ #6911]
24386 * manual/macros.texi (gnusystems): New macro.
24387 (nongnusystems): Likewise.
24388 (gnulinuxhurdsystems): Likewise.
24389 (gnuhurdsystems): Likewise..
24390 (gnulinuxsystems): Likewise.
24391 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24392 variants of the GNU system, not "GNU system".
24393 * manual/conf.texi: Likewise.
24394 * manual/errno.texi: Likewise. Update example of errno macro
24395 expansion.
24396 * manual/filesys.texi: Likewise.
24397 (getumask): Document as specific to GNU/Hurd.
24398 * manual/install.texi: Likewise. Reword some references to
24399 GNU/Linux.
24400 * manual/intro.texi: Likewise.
24401 * manual/io.texi: Likewise.
24402 (File Name Portability): Detail which constraints are inapplicable
24403 to all GNU systems and which are only inapplicable to GNU/Hurd.
24404 * manual/job.texi: Likewise.
24405 * manual/llio.texi: Likewise.
24406 (O_NOCTTY): Document as present on GNU/Linux.
24407 * manual/maint.texi: Likewise.
24408 * manual/memory.texi: Likewise.
24409 * manual/pattern.texi: Likewise.
24410 * manual/pipe.texi: Likewise.
24411 * manual/process.texi: Likewise.
24412 * manual/resource.texi: Likewise.
24413 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24414 child on GNU/Hurd.
24415 * manual/setjmp.texi: Likewise.
24416 * manual/signal.texi: Likewise.
24417 * manual/startup.texi: Likewise.
24418 * manual/stdio.texi: Likewise.
24419 * manual/terminal.texi: Likewise.
24420 (ONLCR): Document as POSIX.
24421 (OXTABS): Document availability on GNU/Linux as XTABS.
24422 (ONOEOT): Document availability separately from other bits.
24423 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24424 * manual/time.texi: Likewise.
24425 * manual/users.texi: Likewise.
24426 * INSTALL: Regenerated.
24427 * sysdeps/gnu/errlist.c: Regenerated.
24428
07037eeb
JM
24429 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24430 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24431 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24432 puts.
24433 * configure: Regenerated.
24434
d1d3431a
JM
244352012-03-07 Joseph Myers <joseph@codesourcery.com>
24436
af6a1e37
JM
24437 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24438 default includes instead of AC_HEADER_CHECK.
24439 * sysdeps/i386/configure: Regenerated.
24440
d1d3431a
JM
24441 [BZ #10716]
24442 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24443 * math/s_cacoshf.c (__cacoshf): Likewise.
24444 * math/s_cacoshl.c (__cacoshl): Likewise.
24445 * math/s_casinh.c (__casinh): Set signs of result from argument.
24446 * math/s_casinhf.c (__casinhf): Likewise.
24447 * math/s_casinhl.c (__casinhl): Likewise.
24448 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24449 (casinh_test): Add more tests.
24450 * sysdeps/i386/fpu/libm-test-ulps: Update.
24451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24452
482ff4da
UD
244532012-03-07 Ulrich Drepper <drepper@gmail.com>
24454
872fda05
UD
24455 * po/zh_TW.po: Update from translation team.
24456
a4300c7a
UD
24457 * login/Makefile (distribute): Remove variable.
24458 * catgets/Makefile: Likewise.
24459 * mach/Makefile: Likewise.
24460 * malloc/Makefile: Likewise.
24461 * misc/Makefile: Likewise.
24462 * iconv/Makefile: Likewise.
24463 * nscd/Makefile: Likewise.
24464 * hurd/Makefile: Likewise.
24465 * manual/Makefile: Likewise.
24466 * locale/Makefile: Likewise.
24467 * intl/Makefile: Likewise.
24468 * conform/Makefile: Likewise.
24469 * nss/Makefile: Likewise.
24470 * time/Makefile: Likewise.
24471 * soft-fp/Makefile: Likewise.
24472 * dirent/Makefile: Likewise.
24473 * gmon/Makefile: Likewise.
24474 * po/Makefile: Likewise.
24475 * rt/Makefile: Likewise.
24476 * socket/Makefile: Likewise.
24477 * math/Makefile: Likewise.
24478 * signal/Makefile: Likewise.
24479 * debug/Makefile: Likewise.
24480 * elf/Makefile: Likewise.
24481 * timezone/Makefile: Likewise.
24482 * stdlib/Makefile: Likewise.
24483 * iconvdata/Makefile: Likewise.
24484 * sunrpc/Makefile: Likewise.
24485 * io/Makefile: Likewise.
24486 * argp/Makefile: Likewise.
24487 * inet/Makefile: Likewise.
24488 * hesiod/Makefile: Likewise.
24489 * grp/Makefile: Likewise.
24490 * csu/Makefile: Likewise.
24491 * wctype/Makefile: Likewise.
24492 * crypt/Makefile: Likewise.
24493 * libio/Makefile: Likewise.
24494 * string/Makefile: Likewise.
24495 * nis/Makefile: Likewise.
24496 * resolv/Makefile: Likewise.
24497 * stdio-common/Makefile: Likewise.
24498 * wcsmbs/Makefile: Likewise.
24499 * dlfcn/Makefile: Likewise.
24500 * posix/Makefile: Likewise.
24501
3b7c4e74 24502 [BZ #6959]
482ff4da
UD
24503 * timezone/Makefile: Don't install timezone files, just the programs
24504 and scripts.
24505
f72ed77d
UD
245062012-03-06 Ulrich Drepper <drepper@gmail.com>
24507
a000466f
UD
24508 * nss/databases.def: Add missing gshadow entry.
24509
f72ed77d
UD
24510 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24511
a53b7a4e
MP
245122012-03-06 Marek Polacek <polacek@redhat.com>
24513
24514 [BZ #13726]
24515 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24516 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24517 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24518 * stdio-common/tst-long-dbl-fphex.c: New file.
24519
e9258400
DM
245202012-03-06 David S. Miller <davem@davemloft.net>
24521
24522 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24523 (set_obp_int): New function.
24524 (get_obp_int): New function.
24525 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24526 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24527 Avoid unused variable warnings on 'val' and use builtin_expect.
24528 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24529 __builtin_expect.
e9258400
DM
24530 (INLINE_CLONE_SYSCALL): Likewise.
24531
3bd2c723
DM
245322012-03-05 David S. Miller <davem@davemloft.net>
24533
24534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24535
bbb78d03
AS
245362012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24537
884c5db4
AS
24538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24539
bbb78d03
AS
24540 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24541 only for |x| >= 40.
24542 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24543
1c9f702a 245442012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24545
24546 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24547 Replace gettimeofday with __vdso_gettimeofday.
24548
7be16f82
RM
24549 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24550 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24551 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24552
24553 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24554 time with __vdso_time.
24555
ed58a00f
JM
245562012-03-05 Joseph Myers <joseph@codesourcery.com>
24557
24558 * manual/lang.texi (size_t): Note types to which size_t may be
24559 equivalent with the GNU C Library, but do not describe when
24560 differences between them are significant.
24561
30ee4ced
AJ
245622012-03-05 Andreas Jaeger <aj@suse.de>
24563
24564 * sysdeps/i386/fpu/libm-test-ulps: Update.
24565
b7cd39e8
JM
245662012-03-05 Joseph Myers <joseph@codesourcery.com>
24567
24568 [BZ #3976]
24569 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24570 (__ieee754_pow): Save and restore rounding mode and use
24571 round-to-nearest for main computations.
24572 * math/libm-test.inc (pow_test_tonearest): New function.
24573 (pow_test_towardzero): Likewise.
24574 (pow_test_downward): Likewise.
24575 (pow_test_upward): Likewise.
24576 (main): Call the new functions.
24577 * sysdeps/i386/fpu/libm-test-ulps: Update.
24578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24579
24580 [BZ #3976]
24581 * math/libm-test.inc (cosh_test_tonearest): New function.
24582 (cosh_test_towardzero): Likewise.
24583 (cosh_test_downward): Likewise.
24584 (cosh_test_upward): Likewise.
24585 (sinh_test_tonearest): Likewise.
24586 (sinh_test_towardzero): Likewise.
24587 (sinh_test_downward): Likewise.
24588 (sinh_test_upward): Likewise.
24589 (main): Call the new functions.
24590 * sysdeps/i386/fpu/libm-test-ulps: Update.
24591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24592
6c6a98c9
TV
245932012-03-05 Tom de Vries <tom@codesourcery.com>
24594
24595 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24596 default stack guard is set in last bytes.
24597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24598
21bb2d2e 245992012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24600
21bb2d2e 24601 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24602
21bb2d2e
AJ
24603 [BZ #13656]
24604 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24605 possibly allocate from heap instead of stack.
24606 * stdio-common/bug-vfprintf-nargs.c: New file.
24607 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24608
c6922934
AS
246092012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24610
24611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24612
bc957d53
MP
246132012-03-03 Marek Polacek <polacek@redhat.com>
24614
24615 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24616 * math/math_private.h: Likewise.
24617 * stdlib/tst-strtod.c: Likewise.
24618 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24619 * sysdeps/x86_64/bits/atomic.h: Likewise.
24620
6358490d
DM
246212012-03-02 David S. Miller <davem@davemloft.net>
24622
24623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24627 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24628 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24629 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24630 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24631
01ae168d
RM
246322012-03-02 Roland McGrath <roland@hack.frob.com>
24633
d9a17c07
RM
24634 [BZ #13792]
24635 * manual/examples/README: New file, says the example source files
24636 can be used under GPL>=2.
24637 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24638 line containing just "*/".
24639 * manual/examples/add.c: Add copyright header (GPL>=2).
24640 * manual/examples/argp-ex1.c: Likewise.
24641 * manual/examples/argp-ex2.c: Likewise.
24642 * manual/examples/argp-ex3.c: Likewise.
24643 * manual/examples/argp-ex4.c: Likewise.
24644 * manual/examples/atexit.c: Likewise.
24645 * manual/examples/db.c: Likewise.
24646 * manual/examples/dir.c: Likewise.
24647 * manual/examples/dir2.c: Likewise.
24648 * manual/examples/execinfo.c: Likewise.
24649 * manual/examples/filecli.c: Likewise.
24650 * manual/examples/filesrv.c: Likewise.
24651 * manual/examples/fmtmsgexpl.c: Likewise.
24652 * manual/examples/genpass.c: Likewise.
24653 * manual/examples/inetcli.c: Likewise.
24654 * manual/examples/inetsrv.c: Likewise.
24655 * manual/examples/isockad.c: Likewise.
24656 * manual/examples/longopt.c: Likewise.
24657 * manual/examples/memopen.c: Likewise.
24658 * manual/examples/memstrm.c: Likewise.
24659 * manual/examples/mkfsock.c: Likewise.
24660 * manual/examples/mkisock.c: Likewise.
24661 * manual/examples/mygetpass.c: Likewise.
24662 * manual/examples/pipe.c: Likewise.
24663 * manual/examples/popen.c: Likewise.
24664 * manual/examples/rprintf.c: Likewise.
24665 * manual/examples/search.c: Likewise.
24666 * manual/examples/select.c: Likewise.
24667 * manual/examples/setjmp.c: Likewise.
24668 * manual/examples/sigh1.c: Likewise.
24669 * manual/examples/sigusr.c: Likewise.
24670 * manual/examples/stpcpy.c: Likewise.
24671 * manual/examples/strdupa.c: Likewise.
24672 * manual/examples/strftim.c: Likewise.
24673 * manual/examples/strncat.c: Likewise.
24674 * manual/examples/subopt.c: Likewise.
24675 * manual/examples/swapcontext.c: Likewise.
24676 * manual/examples/termios.c: Likewise.
24677 * manual/examples/testopt.c: Likewise.
24678 * manual/examples/testpass.c: Likewise.
24679 * manual/examples/timeval_subtract.c: Likewise.
24680
01ae168d
RM
24681 [BZ #13792]
24682 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24683 function to ...
24684 * manual/timeval_subtract.c.texi: ... here, new file.
24685
49efa33d
DM
246862012-03-02 David S. Miller <davem@davemloft.net>
24687
24688 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24689
28afd92d
JM
246902012-03-02 Joseph Myers <joseph@codesourcery.com>
24691
804360ed
JM
24692 [BZ #3976]
24693 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24694 (__sin): Save and restore rounding mode and use round-to-nearest
24695 for all computations.
24696 (__cos): Save and restore rounding mode and use round-to-nearest
24697 for all computations.
24698 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24699 <fenv.h>.
24700 (tan): Save and restore rounding mode and use round-to-nearest for
24701 all computations.
24702 * math/libm-test.inc (cos_test_tonearest): New function.
24703 (cos_test_towardzero): Likewise.
24704 (cos_test_downward): Likewise.
24705 (cos_test_upward): Likewise.
24706 (sin_test_tonearest): Likewise.
24707 (sin_test_towardzero): Likewise.
24708 (sin_test_downward): Likewise.
24709 (sin_test_upward): Likewise.
24710 (tan_test_tonearest): Likewise.
24711 (tan_test_towardzero): Likewise.
24712 (tan_test_downward): Likewise.
24713 (tan_test_upward): Likewise.
24714 (main): Call the new functions.
24715 * sysdeps/i386/fpu/libm-test-ulps: Update.
24716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24717
a6d06d7b
JM
24718 [BZ #10135]
24719 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24720 small n, then large n, before computing and testing k+n.
24721 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24723 Likewise.
24724 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24725 Likewise.
24726 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24727 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24728 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24729 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24732 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24733 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24734 * math/libm-test.inc (scalbn_test): Add more tests.
24735 (scalbln_test): Likewise.
24736
07e12bb3
JM
24737 * manual/filesys.texi (mode_t): Describe constraints on size and
24738 signedness, not exact equivalence to a particular type.
24739 (ino_t): Likewise.
24740 (ino64_t): Likewise.
24741 (dev_t): Likewise.
24742 (nlink_t): Likewise.
24743 (blkcnt_t): Likewise.
24744 (blkcnt64_t): Likewise.
24745 * manual/llio.texi (off_t): Likewise.
24746
28afd92d
JM
24747 [BZ #3976]
24748 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24749 (__ieee754_exp): Save and restore rounding mode and use
24750 round-to-nearest for all computations.
24751 * math/libm-test.inc (exp_test_tonearest): New function.
24752 (exp_test_towardzero): Likewise.
24753 (exp_test_downward): Likewise.
24754 (exp_test_upward): Likewise.
24755 (main): Call the new functions.
24756 * sysdeps/i386/fpu/libm-test-ulps: Update.
24757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24758
b1eeb65d
CD
247592012-03-01 Chris Demetriou <cgd@google.com>
24760
24761 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24762 have predictable order.
24763
53362a4b
DM
247642012-03-01 David S. Miller <davem@davemloft.net>
24765
3c969083
DM
24766 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24767
759707de
DM
24768 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24769 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24770 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24771 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24772
dfdb8ff2
DM
24773 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24774 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24775 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24777 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24778 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24779 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24780 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24781 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24782
ead89f96
DM
24783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24784
7f66bd07
DM
24785 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24786 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24787 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24788
53362a4b
DM
24789 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24790 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24791 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24792 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24793 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24794 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24795 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24796 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24797 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24798 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24799 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24800 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24801 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24802 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24803 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24805 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24806 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24807 * sysdeps/sparc/elf/configure: Regenerated.
24808
7b1902cb
JM
248092012-03-01 Joseph Myers <joseph@codesourcery.com>
24810
bec039bc
JM
24811 * configure.in (AS, LD): Require binutils 2.20 or later.
24812 * configure: Regenerated.
24813 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24814 as required minimum version.
24815 * INSTALL: Regenerated.
24816
7b1902cb
JM
24817 [BZ #2541]
24818 [BZ #4108]
24819 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24820 before squaring exponent.
24821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24822 bottom long double and 27 bits of top long double before squaring
24823 exponent.
24824 * math/libm-test.inc (erfc_test): Add more tests.
24825 * sysdeps/i386/fpu/libm-test-ulps: Update.
24826 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24828
f775c276
KT
248292012-03-01 Kai Tietz <ktietz@redhat.com>
24830
24831 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24832 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24833 containing bit-fields.
24834 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24835 * soft-fp/single.h (_FP_UNION_S): Likewise.
24836 * soft-fp/double.h (_FP_UNION_D): Likewise.
24837
5b8a4d4a
JM
248382012-02-29 Joseph Myers <joseph@codesourcery.com>
24839
0bab47b6
JM
24840 [BZ #13786]
24841 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24842 not include ../strcmp.S.
24843 [USE_AS_STRNCASECMP_L]: Likewise.
24844 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24845 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24846 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24847 (__strncasecmp_l_ia32): Define as alias to
24848 __strncasecmp_l_nonascii.
24849
0fcad3e2
JM
24850 [BZ #5794]
24851 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24852 * sysdeps/i386/fpu/libm-test-ulps: Update.
24853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24854
5b8a4d4a
JM
24855 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24857
8fdceb2e
JL
248582012-02-29 Jeff Law <law@redhat.com>
24859
24860 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24861 out of bounds read.
24862
1f393a11
MP
248632012-02-29 Marek Polacek <polacek@redhat.com>
24864
24865 [BZ #13706]
24866 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24867 * elf/Makefile: Add rules to run tst-unused-dep.out.
24868
8847f037
DM
248692012-02-28 David S. Miller <davem@davemloft.net>
24870
24871 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24872 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24873 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24874 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24875 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24876 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24877
169d7f11
JM
248782012-02-29 Joseph Myers <joseph@codesourcery.com>
24879
24880 * math/libm-test.inc (llround_test): Move one test from
24881 lround_test. Use TEST_f_L in moved test.
24882 (lround_test): Move misplaced test to llround_test. Add testcase
24883 from bug 2561.
24884
39adf059
UD
248852012-02-28 Ulrich Drepper <drepper@gmail.com>
24886
24887 * sysdeps/x86_64/fpu/e_expf.S: New file.
24888 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24889
71b5d1c5
SB
248902012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24891
24892 [BZ #13637]
24893 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24894 of remain_len that may cause incomplete multi-byte character and
24895 false match.
24896 * posix/bug-regex33.c: New file.
24897 * posix/Makefile (tests): Add bug-regex33.
24898
1f77f049
JM
248992012-02-28 Joseph Myers <joseph@codesourcery.com>
24900
24901 * manual/macros.texi: New file.
24902 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24903 * manual/libc.texinfo: Include macros.texi.
24904 * manual/creatute.texi: Likewise.
24905 * manual/install.texi: Likewise.
24906 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24907 @glibcadj{} in references to the GNU C Library.
24908 * manual/charset.texi: Likewise.
24909 * manual/conf.texi: Likewise.
24910 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24911 when not using those macros.
24912 * manual/creature.texi: Likewise.
24913 * manual/crypt.texi: Likewise.
24914 * manual/errno.texi: Likewise.
24915 * manual/filesys.texi: Likewise.
24916 * manual/header.texi: Likewise.
24917 * manual/install.texi: Likewise.
24918 * manual/intro.texi: Likewise.
24919 * manual/io.texi: Likewise.
24920 * manual/job.texi: Likewise.
24921 * manual/lang.texi: Likewise.
24922 * manual/libc.texiinfo: Likewise.
24923 * manual/llio.texi: Likewise.
24924 * manual/locale.texi: Likewise.
24925 * manual/maint.texi: Likewise.
24926 * manual/math.texi: Likewise.
24927 * manual/memory.texi: Likewise.
24928 * manual/message.texi: Likewise.
24929 * manual/nss.texi: Likewise.
24930 * manual/pattern.texi: Likewise.
24931 * manual/process.texi: Likewise.
24932 * manual/resource.texi: Likewise.
24933 * manual/search.texi: Likewise.
24934 * manual/setjmp.texi: Likewise.
24935 * manual/signal.texi: Likewise.
24936 * manual/socket.texi: Likewise.
24937 * manual/startup.texi: Likewise.
24938 * manual/stdio.texi: Likewise.
24939 * manual/string.texi: Likewise.
24940 * manual/sysinfo.texi: Likewise.
24941 * manual/syslog.texi: Likewise.
24942 * manual/terminal.texi: Likewise.
24943 * manual/time.texi: Likewise.
24944 * manual/users.texi: Likewise.
24945 * INSTALL: Regenerated.
24946 * NOTES: Regenerated.
d40c5d54 24947 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24948
450bf206
AS
249492012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24950
24951 * include/dirent.h: Include <dirstream.h> before
24952 <dirent/dirent.h>.
24953
741a235b
DM
249542012-02-28 David S. Miller <davem@davemloft.net>
24955
24956 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24957 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24958 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24959 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24960
d6b5aa58
DM
249612012-02-27 David S. Miller <davem@davemloft.net>
24962
1aff59a3
DM
24963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24965 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24966 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24967
d6b5aa58
DM
24968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24969 frame pointer instead of stack pointer relative arg slot.
24970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24971 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24972 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24973
433f48bf
CD
249742012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24975
24976 [BZ #3992]
24977 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24978
d674b76d
DM
249792012-02-27 David S. Miller <davem@davemloft.net>
24980
24981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24985 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24986 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24987 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24988 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24989
0e7727f7
JM
249902012-02-27 Joseph Myers <joseph@codesourcery.com>
24991
24992 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24993 later. Allow versions 5-9.
43be4ca2 24994 * configure: Regenerated.
0e7727f7
JM
24995 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24996 required minimum version and 4.6 as recommended version. Do not
24997 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24998 * INSTALL: Regenerated.
0e7727f7 24999
a78bc654
DM
250002012-02-27 David S. Miller <davem@davemloft.net>
25001
428d5830
DM
25002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25006 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25007 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25008 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25009 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25010
a78bc654
DM
25011 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25012 manipulate bits before adding and subtracting TWO112[sx].
25013 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25014
4579f81c
RM
250152012-02-27 Roland McGrath <roland@hack.frob.com>
25016
36c8acb4
RM
25017 [BZ #13775]
25018 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25019 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25020 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25021 being in POSIX, because they are in 1003.1-2008.
25022
84ad622b
RM
25023 * rt/tst-aio.c: Include <fcntl.h>.
25024 * rt/tst-aio7.c: Likewise.
25025 * rt/tst-aio64.c: Likewise.
25026
4579f81c
RM
25027 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25028
abd923db
JM
250292012-02-27 Joseph Myers <joseph@codesourcery.com>
25030
25031 * manual/install.texi (--with-headers): Describe headers as
25032 interface headers, not private headers.
25033 (Specific advice for GNU/Linux systems): Describe use of headers
25034 from "make headers_install", not private headers from older
25035 kernels.
43be4ca2 25036 * INSTALL: Regenerated.
abd923db
JM
25037 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25038 Change to 2.6.19.
25039 * sysdeps/unix/sysv/linux/configure: Regenerated.
25040
6664049b
JM
25041 * manual/llio.texi (fclean): Remove documentation.
25042
bb8b6697
JM
25043 * manual/Makefile (libc-texi-generated): New variable. Include
25044 version.texi.
25045 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25046 $(libc-texi-generated), not duplicated list of files.
25047 (version.texi, stamp-version): New rules.
25048 (realclean): Remove $(libc-texi-generated), not individual files
25049 from that list. Do not remove dir-add.texinfo.
25050 * manual/libc.texinfo: Comment out uses of edition numbers and
25051 references to printed manual. Remove last-updated dates.
25052 (EDITION): Comment out.
25053 (ISBN): Likewise.
25054 (VERSION, UPDATED): Remove.
25055 (version.texi): Include.
25056
12e5c3b9
AS
250572012-02-27 Andreas Schwab <schwab@linux-m68k.org>
25058
25059 * sysdeps/posix/spawni.c: Include <signal.h>.
25060 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25061 * sysdeps/pthread/aio_fsync.c: Likewise.
25062
4efeffc1 250632012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 25064
ba63ba08
UD
25065 * conform/Makefile (tests): Run only when not cross-compiling and
25066 when fast-check is not defined.
25067
d94a4670
UD
25068 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25069 * conform/data/limits.h-data: Fixes for POSIX2008.
25070 * conform/run-conformtest.sh: Run all tests.
25071 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25072 headers.
25073 * include/bits/dlfcn.h: Likewise.
25074 * include/langinfo.h: Likewise.
25075 * include/monetary.h: Likewise.
25076 * include/sys/poll.h: Likewise.
25077
25078 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25079 for __USE_GNU.
25080 * posix/spawn.h: Define __need_sigset_t.
25081 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25082 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25083 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25084 to get sigevent_t only.
25085 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25086 only for __USE_GNU.
25087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25088 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25089 process_vm_writev only for __USE_GNU.
25090 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25091
25092 * conform/Makefile: For now ignore errors from run-conformtest.
25093 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25094 POSIX to avoid namespace pollution. Don't prepend headers.
25095 * conform/data/aio.h-data: Fixes for POSIX testing.
25096 * conform/data/fcntl.h-data: Likewise.
25097 * conform/data/glob.h-data: Likewise.
25098 * conform/data/grp.h-data: Likewise.
25099 * conform/data/pthread.h-data: Likewise.
25100 * conform/data/pwd.h-data: Likewise.
25101 * conform/data/signal.h-data: Likewise.
25102 * conform/data/spawn.h-data: Likewise.
25103 * conform/data/stdio.h-data: Likewise.
25104 * conform/data/stdlib.h-data: Likewise.
25105 * conform/data/stropts.h-data: Likewise.
25106 * conform/data/sys/mman.h-data: Likewise.
25107 * conform/data/sys/stat.h-data: Likewise.
25108 * conform/data/sys/types.h-data: Likewise.
25109 * conform/data/sys/wait.h-data: Likewise.
25110 * conform/data/time.h-data: Likewise.
25111 * conform/data/unistd.h-data: Likewise.
25112 * conform/data/utime.h-data: Likewise.
25113
25114 * io/sys/stat.h: fchmod was always in POSIX.
25115 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25116 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25117 * rt/aio.h: Define __need_timespec before including <time.h>.
25118 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25119 struct. Add forward declaration of pthread_attr_t and use it in
25120 sigevent.
25121 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25122 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25123 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25124 always remove CLK_TCK definition.
25125
c20105c3
AS
251262012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25127
25128 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25129
7a270350
UD
251302012-02-25 Ulrich Drepper <drepper@gmail.com>
25131
31341567
UD
25132 * conform/run-conformtest.sh: New file.
25133 * conform/Makefile: Run run-conformtest for tests.
25134 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25135 support.
25136
25137 * conform/data/uchar.h-data: New file.
25138 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25139 * conform/data/arpa/inet.h-data: Likewise.
25140 * conform/data/assert.h-data: Likewise.
25141 * conform/data/complex.h-data: Likewise.
25142 * conform/data/cpio.h-data: Likewise.
25143 * conform/data/ctype.h-data: Likewise.
25144 * conform/data/dirent.h-data: Likewise.
25145 * conform/data/dlfcn.h-data: Likewise.
25146 * conform/data/errno.h-data: Likewise.
25147 * conform/data/fcntl.h-data: Likewise.
25148 * conform/data/float.h-data: Likewise.
25149 * conform/data/fmtmsg.h-data: Likewise.
25150 * conform/data/fnmatch.h-data: Likewise.
25151 * conform/data/ftw.h-data: Likewise.
25152 * conform/data/glob.h-data: Likewise.
25153 * conform/data/grp.h-data: Likewise.
25154 * conform/data/iconv.h-data: Likewise.
25155 * conform/data/inttypes.h-data: Likewise.
25156 * conform/data/langinfo.h-data: Likewise.
25157 * conform/data/libgen.h-data: Likewise.
25158 * conform/data/limits.h-data: Likewise.
25159 * conform/data/locale.h-data: Likewise.
25160 * conform/data/math.h-data: Likewise.
25161 * conform/data/monetary.h-data: Likewise.
25162 * conform/data/mqueue.h-data: Likewise.
25163 * conform/data/ndbm.h-data: Likewise.
25164 * conform/data/net/if.h-data: Likewise.
25165 * conform/data/netdb.h-data: Likewise.
25166 * conform/data/netinet/in.h-data: Likewise.
25167 * conform/data/nl_types.h-data: Likewise.
25168 * conform/data/poll.h-data: Likewise.
25169 * conform/data/pthread.h-data: Likewise.
25170 * conform/data/pwd.h-data: Likewise.
25171 * conform/data/regex.h-data: Likewise.
25172 * conform/data/sched.h-data: Likewise.
25173 * conform/data/search.h-data: Likewise.
25174 * conform/data/semaphore.h-data: Likewise.
25175 * conform/data/setjmp.h-data: Likewise.
25176 * conform/data/signal.h-data: Likewise.
25177 * conform/data/spawn.h-data: Likewise.
25178 * conform/data/stdarg.h-data: Likewise.
25179 * conform/data/stdio.h-data: Likewise.
25180 * conform/data/stdlib.h-data: Likewise.
25181 * conform/data/string.h-data: Likewise.
25182 * conform/data/strings.h-data: Likewise.
25183 * conform/data/stropts.h-data: Likewise.
25184 * conform/data/sys/ipc.h-data: Likewise.
25185 * conform/data/sys/mman.h-data: Likewise.
25186 * conform/data/sys/msg.h-data: Likewise.
25187 * conform/data/sys/resource.h-data: Likewise.
25188 * conform/data/sys/select.h-data: Likewise.
25189 * conform/data/sys/sem.h-data: Likewise.
25190 * conform/data/sys/shm.h-data: Likewise.
25191 * conform/data/sys/socket.h-data: Likewise.
25192 * conform/data/sys/stat.h-data: Likewise.
25193 * conform/data/sys/statvfs.h-data: Likewise.
25194 * conform/data/sys/time.h-data: Likewise.
25195 * conform/data/sys/timeb.h-data: Likewise.
25196 * conform/data/sys/times.h-data: Likewise.
25197 * conform/data/sys/types.h-data: Likewise.
25198 * conform/data/sys/uio.h-data: Likewise.
25199 * conform/data/sys/un.h-data: Likewise.
25200 * conform/data/sys/utsname.h-data: Likewise.
25201 * conform/data/sys/wait.h-data: Likewise.
25202 * conform/data/syslog.h-data: Likewise.
25203 * conform/data/tar.h-data: Likewise.
25204 * conform/data/termios.h-data: Likewise.
25205 * conform/data/utime.h-data: Likewise.
25206 * conform/data/utmpx.h-data: Likewise.
25207 * conform/data/varargs.h-data: Likewise.
25208 * conform/data/wchar.h-data: Likewise.
25209 * conform/data/wctype.h-data: Likewise.
25210 * conform/data/wordexp.h-data: Likewise.
25211
25212 * include/stropts.h: New file.
25213 * include/uchar.h: New file.
25214 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25215 * include/assert.h: Likewise.
25216 * include/ctype.h: Likewise.
25217 * include/dirent.h: Likewise.
25218 * include/dlfcn.h: Likewise.
25219 * include/fcntl.h: Likewise.
25220 * include/fnmatch.h: Likewise.
25221 * include/glob.h: Likewise.
25222 * include/grp.h: Likewise.
25223 * include/libio.h: Likewise.
25224 * include/locale.h: Likewise.
25225 * include/math.h: Likewise.
25226 * include/net/if.h: Likewise.
25227 * include/netdb.h: Likewise.
25228 * include/netinet/in.h: Likewise.
25229 * include/pthread.h: Likewise.
25230 * include/pwd.h: Likewise.
25231 * include/regex.h: Likewise.
25232 * include/sched.h: Likewise.
25233 * include/search.h: Likewise.
25234 * include/setjmp.h: Likewise.
25235 * include/signal.h: Likewise.
25236 * include/stdio.h: Likewise.
25237 * include/stdlib.h: Likewise.
25238 * include/string.h: Likewise.
25239 * include/sys/cdefs.h: Likewise.
25240 * include/sys/mman.h: Likewise.
25241 * include/sys/msg.h: Likewise.
25242 * include/sys/resource.h: Likewise.
25243 * include/sys/select.h: Likewise.
25244 * include/sys/socket.h: Likewise.
25245 * include/sys/stat.h: Likewise.
25246 * include/sys/statvfs.h: Likewise.
25247 * include/sys/time.h: Likewise.
25248 * include/sys/times.h: Likewise.
25249 * include/sys/uio.h: Likewise.
25250 * include/sys/utsname.h: Likewise.
25251 * include/sys/wait.h: Likewise.
25252 * include/termios.h: Likewise.
25253 * include/time.h: Likewise.
25254 * include/ulimit.h: Likewise.
25255 * include/unistd.h: Likewise.
25256 * include/utime.h: Likewise.
25257 * include/wchar.h: Likewise.
25258 * include/wctype.h: Likewise.
25259 * include/wordexp.h: Likewise.
25260
25261 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25262
7a270350
UD
25263 * time/time.h: TIME_UTC must be a macro.
25264 Make timespec_get available for ISO C11 only as well.
25265
7724defc
UD
252662012-02-24 Ulrich Drepper <drepper@gmail.com>
25267
25268 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25269 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25270
6b1d1d46
JM
252712012-02-24 Joseph Myers <joseph@codesourcery.com>
25272
25273 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25274
0f8bbd69
JM
252752012-02-24 Joseph Myers <joseph@codesourcery.com>
25276
25277 * manual/texinfo.tex: Update to version 2012-01-19.16.
25278
66ab80bc
JM
252792012-02-24 Joseph Myers <joseph@codesourcery.com>
25280
25281 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25282
74981cc5
RM
252832012-02-24 Roland McGrath <roland@hack.frob.com>
25284
ee968201
RM
25285 [BZ #13738]
25286 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25287 * manual/fdl-1.3.texi: New file.
25288 * manual/fdl-1.1.texi: File removed.
25289
74981cc5
RM
25290 [BZ #13738]
25291 * manual/libc.texinfo (FDL_VERSION): New @set.
25292 Use it for mention of FDL in cover text.
25293 (Documentation License): Use it in @include file name.
25294
7bb764bc
JM
252952012-02-22 Joseph Myers <joseph@codesourcery.com>
25296 Roland McGrath <roland@hack.frob.com>
25297
25298 [BZ #5461]
25299 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25300 not LONG_LONG_MAX and LONG_LONG_MIN.
25301 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25302 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25303 name.
25304 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25305
6cbeae47
JM
253062012-02-22 Joseph Myers <joseph@codesourcery.com>
25307
25308 [BZ #2547]
25309 [BZ #11365]
25310 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25311 manipulate bits before adding and subtracting TWO23[sx].
25312 * math/libm-test.inc (nearbyint_test): Add more tests.
25313
fe45ce09
JM
253142012-02-22 Joseph Myers <joseph@codesourcery.com>
25315
25316 [BZ #2548]
25317 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25318 bits before adding and subtracting TWO23[sx].
25319 * math/libm-test.inc (rint_test): Add more tests.
25320 (rint_test_tonearest): Likewise.
25321 (rint_test_towardzero): Likewise.
25322 (rint_test_downward): Likewise.
25323 (rint_test_upward: Likewise.
25324
ff3b3d82
JM
253252012-02-22 Joseph Myers <joseph@codesourcery.com>
25326
25327 [BZ #10110]
25328 * include/stdc-predef.h: New file. Extracted from features.h.
25329 * include/features.h: Include stdc-predef.h.
25330 * Makefile (headers): Add stdc-predef.h.
25331 * CONFORMANCE (Compiler limitations): Update.
25332
ef0aab35
JM
253332012-02-22 Joseph Myers <joseph@codesourcery.com>
25334
25335 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25336
58639409
DM
253372012-02-21 David S. Miller <davem@davemloft.net>
25338
25339 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25340 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25341
c0e70b25
DM
253422012-02-20 David S. Miller <davem@davemloft.net>
25343
25344 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25345 using a normal save/restore sequence, rather than allocating a
25346 dummy stack frame just to store a frame pointer and restore.
25347 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25348
fb06851d
JM
253492012-02-21 Joseph Myers <joseph@codesourcery.com>
25350
25351 * manual/install.texi: Fix stray word in line-wrapped comment.
25352
7a8b71c3
DM
253532012-02-20 David S. Miller <davem@davemloft.net>
25354
d510c123
DM
25355 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25356 both binutils and gcc support GOTDATA.
25357
0722d7c2
DM
25358 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25359 "rd %pc" in the PIC register setup sequences.
25360
3d2b3019
DM
25361 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25362 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25363 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25364 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25365 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25366 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25367 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25368 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25370 (SYSCALL_ERROR_HANDLER): Likewise.
25371 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25372 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25373 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25374 (SYSCALL_ERROR_HANDLER): Likewise.
25375
c80098a9
DM
25376 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25377 (HAVE_GCC_GOTDATA): New.
25378 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25379 relocation support in both binutils and gcc.
25380 * sysdeps/sparc/elf/configure: Regenerate.
25381
3a2545a0
DM
25382 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25383 * sysdeps/sparc/sparc32/elf/configure: Delete.
25384 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25385 * sysdeps/sparc/sparc64/elf/configure: Delete.
25386 * sysdeps/sparc/elf/configure.in: New file.
25387 * sysdeps/sparc/elf/configure: Generate.
25388
7a8b71c3
DM
25389 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25390 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25391 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25392 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25393 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25394
f1e86fca
JM
253952012-02-21 Joseph Myers <joseph@codesourcery.com>
25396
25397 * manual/install.texi: Do not mention specific glibc version
25398 numbers.
25399 * manual/libc.texinfo (VERSION, UPDATED): Update.
25400 (@copying): Use @copyright{} and range of years.
25401
0e7dfaef
JM
254022012-02-21 Joseph Myers <joseph@codesourcery.com>
25403
25404 [BZ #13695]
25405 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25406 [crti.S not in sysdirs] (generated): Do not append.
25407 [crti.S not in sysdirs] (omit-deps): Likewise.
25408 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25409 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25410 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25411 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25412 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25413 Likewise.
25414 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25415 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25416 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25417 * csu/defs.awk: Remove file.
25418 * sysdeps/generic/initfini.c: Likewise.
25419 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25420 variable.
25421 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25422 Likewise.
25423
599af3ca
JM
254242012-02-20 Joseph Myers <joseph@codesourcery.com>
25425
25426 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25427 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25428 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25429 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25430 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25431 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25432 <bits/epoll.h>.
25433 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25434 (__EPOLL_PACKED): Define to empty if not defined by
25435 <bits/epoll.h>.
25436 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25438 bits/epoll.h.
25439
0e499750
JM
254402012-02-20 Joseph Myers <joseph@codesourcery.com>
25441
25442 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25443 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25444 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25445 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25446 <bits/timerfd.h>.
25447 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25449 bits/timerfd.h.
25450
5ad91f6e
JM
254512012-02-20 Joseph Myers <joseph@codesourcery.com>
25452
25453 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25454 in C locale.
25455 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25456 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25457 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25459
06b99b02
AJ
254602012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25461
25462 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25463 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25464
7638c0fd
AS
254652012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25466
25467 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25468 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25469 defined.
25470 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25471 Likewise.
25472 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25473 entry for 2.16.
25474
92221550
AJ
254752012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25476
25477 * math/w_acos.c: Use non-signaling floating-point comparisons.
25478 * math/w_acosf.c: Likewise.
25479 * math/w_acosh.c: Likewise.
25480 * math/w_acoshf.c: Likewise.
25481 * math/w_acoshl.c: Likewise.
25482 * math/w_acosl.c: Likewise.
25483 * math/w_asin.c: Likewise.
25484 * math/w_asinf.c: Likewise.
25485 * math/w_asinl.c: Likewise.
25486 * math/w_atanh.c: Likewise.
25487 * math/w_atanhf.c: Likewise.
25488 * math/w_atanhl.c: Likewise.
25489 * math/w_exp2.c: Likewise.
25490 * math/w_exp2f.c: Likewise.
25491 * math/w_exp2l.c: Likewise.
25492 * math/w_j0.c: Likewise.
25493 * math/w_j0f.c: Likewise.
25494 * math/w_j0l.c: Likewise.
25495 * math/w_j1.c: Likewise.
25496 * math/w_j1f.c: Likewise.
25497 * math/w_j1l.c: Likewise.
25498 * math/w_jn.c: Likewise.
25499 * math/w_jnf.c: Likewise.
25500 * math/w_log.c: Likewise.
25501 * math/w_log10.c: Likewise.
25502 * math/w_log10f.c: Likewise.
25503 * math/w_log10l.c: Likewise.
25504 * math/w_log2.c: Likewise.
25505 * math/w_log2f.c: Likewise.
25506 * math/w_log2l.c: Likewise.
25507 * math/w_logf.c: Likewise.
25508 * math/w_logl.c: Likewise.
25509 * math/w_sqrt.c: Likewise.
25510 * math/w_sqrtf.c: Likewise.
25511 * math/w_sqrtl.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25515 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25516 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25517
ebaf36eb
JM
255182012-02-19 Joseph Myers <joseph@codesourcery.com>
25519
25520 [BZ #9739]
25521 * manual/string.texi (strnlen): Use correct parameter name in
25522 equivalent expression.
25523
71c254a6
JM
255242012-02-19 Joseph Myers <joseph@codesourcery.com>
25525
25526 [BZ #11174]
25527 * manual/users.texi (seteuid): Consistently use neweuid for
25528 argument name.
25529
16d2c631
JM
255302012-02-19 Joseph Myers <joseph@codesourcery.com>
25531
25532 [BZ #13704]
25533 * manual/nss.texi (Services in the NSS configuration): Correct
25534 list of services in example configuration file.
25535
cd837b09
NB
255362012-02-19 Nick Bowler <nbowler@draconx.ca>
25537
25538 [BZ #11322]
25539 * manual/arith.texi: Remove statements about negative zero
25540 behaving identically to zero.
25541
02c4bbad
JM
255422012-02-18 Joseph Myers <joseph@codesourcery.com>
25543
25544 [BZ #5993]
25545 * manual/install.texi: Do not document upgrading from libc5.
25546
366842e7
JM
255472012-02-18 Joseph Myers <joseph@codesourcery.com>
25548
25549 [BZ #4596]
25550 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25551
dd54084d
DM
255522012-02-18 David S. Miller <davem@davemloft.net>
25553
25554 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25555 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25556 %o7 across the call.
25557 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25558 instead.
25559 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25560 SETUP_PIC_REG_LEAF.
25561 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25562 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25563 * sysdeps/sparc/crtn.S: Likewise.
25564
2bcc53a3
UD
255652012-02-17 Ulrich Drepper <drepper@gmail.com>
25566
25567 * aout/Makefile: Remove.
25568
09c093b5
RK
255692012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25570
25571 [BZ #13058]
25572 * manual/examples/argp-ex1.c (main): Format definition in GNU
25573 style.
25574 * manual/examples/argp-ex2.c (main): Likewise.
25575 * manual/examples/argp-ex3.c (main): Likewise.
25576 * manual/examples/argp-ex4.c (main): Likewise.
25577 * manual/examples/longopt.c (main): Use new-style prototype
25578 definition.
25579 * manual/examples/strncat.c (main): Specify return type and use
25580 (void) for arguments.
25581 * manual/examples/subopt.c (main): Use char **argv argument.
25582
2ee633a2
JM
255832012-02-17 Joseph Myers <joseph@codesourcery.com>
25584
25585 [BZ #5077]
25586 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25587 rounding modes.
25588
0520adde
FB
255892012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25590
25591 [BZ #6907]
25592 * manual/string.texi (strchr): Change when strchrnul is
25593 recommended.
25594
3f4081cd
DGM
255952012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25596
25597 [BZ #174]
25598 * manual/locale.texi (setlocale): Document LOCPATH.
25599
d1b10e78
JM
256002012-02-17 Joseph Myers <joseph@codesourcery.com>
25601
25602 [BZ #10210]
25603 * manual/process.texi (execle): Move @dots{} before last argument.
25604
79c6869c
PB
256052012-02-17 Paul Bolle <pebolle@tiscali.nl>
25606
25607 [BZ #12047]
25608 * manual/charset.texi (Generic Charset Conversion): Fix typo
25609 (LC_TYPE -> LC_CTYPE).
25610
cc6e48bc
NB
256112012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25612
25613 [BZ #5805]
25614 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25615 (scalbnf): Likewise.
25616 (scalbnl): Likewise.
25617 (scalbln): Likewise.
25618 (scalblnf): Likewise.
25619 (scalblnl): Likewise.
25620 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25621 (vwarnx): Likewise.
25622 (verr): Likewise.
25623 (verrx): Likewise.
25624 * manual/filesys.texi (telldir): Use braces around return type.
25625 * manual/llio.texi (mmap): Add space after comma.
25626 (mmap64): Likewise.
25627 * manual/math.texi (jn): Use @var{} on parameter names.
25628 (jnf): Likewise.
25629 (jnl): Likewise.
25630 (yn): Likewise.
25631 (ynf): Likewise.
25632 (ynl): Likewise.
25633 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25634 line.
25635 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25636 "...".
25637 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25638 (sched_get_priority_max): Likewise.
25639 * manual/signal.texi (sigvec): Add space after comma.
25640 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25641 names.
25642 (if_indextoname): Likewise.
25643 (if_freenameindex): Likewise.
25644 (sendto): Use ',' instead of '.' in prototype.
25645 * manual/startup.texi (syscall): Use @dots{} instead of literal
25646 "...".
25647 * manual/stdio.texi (__fpending): Separate initial words of
25648 paragraph from @deftypefun line.
25649 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25650 "...".
25651 (vsyslog): Use @var{} on parameter names.
25652 * manual/terminal.texi (stty): Use @var{} on parameter names.
25653 * manual/users.texi (getutmp): Use @var{} on parameter names.
25654 (getutmpx): Likewise.
25655
5b23062f
JM
256562012-02-17 Joseph Myers <joseph@codesourcery.com>
25657
25658 [BZ #6884]
25659 * manual/stdio.texi (fopen): Fix typos in description of
25660 ",ccs=STRING".
25661
8dee4833
AJ
256622012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25663
25664 [BZ #4026]
25665 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25666 get clock_id definition.
25667
9078ce93
TS
256682012-02-17 Thomas Schwinge <thomas@schwinge.name>
25669
25670 [BZ #4822]
25671 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25672 (madvise): Cast every argument to void on its own.
25673
3835c55f
JM
256742012-02-17 Joseph Myers <joseph@codesourcery.com>
25675
25676 [BZ #9902]
25677 * manual/startup.texi (Exit Status): Fix typo.
25678
35c47e37
JM
256792012-02-17 Joseph Myers <joseph@codesourcery.com>
25680
25681 [BZ #10140]
25682 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25683 * manual/examples/argp-ex2.c: Likewise.
25684 * manual/examples/argp-ex3.c: Likewise.
25685
e3b69ca7
RH
256862012-02-16 Richard Henderson <rth@redhat.com>
25687
25688 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25689 * sysdeps/s390/s390-32/initfini.c: Remove.
25690 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25691 * sysdeps/s390/s390-64/initfini.c: Remove.
25692
df83af67
KK
256932012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25694
25695 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25696 compiler output for sysdeps/generic/initfini.c.
25697 * sysdeps/sh/elf/initfini.c: Remove file.
25698
f63f3380
DM
256992012-02-16 David S. Miller <davem@davemloft.net>
25700
fb59b3a4
DM
25701 [BZ #11494]
25702 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25703
f63f3380
DM
25704 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25705 * sysdeps/sparc/crti.S: New file.
25706 * sysdeps/sparc/crtn.S: New file.
25707 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25708 * sysdeps/sparc/sparc64/Makefile: Likewise.
25709
df6a4a4a
MF
257102012-02-15 Mike Frysinger <vapier@gentoo.org>
25711
6dd8f3dc 25712 [BZ #3335]
df6a4a4a
MF
25713 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25714
1cac7236
RM
257152012-02-15 Roland McGrath <roland@hack.frob.com>
25716
d2c736f8
RM
25717 [BZ #4822]
25718 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25719
1cac7236
RM
25720 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25721 (write, read, close): Likewise.
25722 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25723
8e475601
JM
257242012-02-15 Joseph Myers <joseph@codesourcery.com>
25725
25726 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25727 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25728 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25729 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25730 <bits/signalfd.h>.
25731 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25733 bits/signalfd.h.
25734
ed656b40
MP
257352012-02-14 Marek Polacek <polacek@redhat.com>
25736
25737 * sysdeps/x86_64/crti.S: New file.
25738 * sysdeps/x86_64/crtn.S: New file.
25739 * sysdeps/x86_64/elf/initfini.c: Remove file.
25740
2a979d3a
JM
257412012-02-13 Joseph Myers <joseph@codesourcery.com>
25742
25743 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25744 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25745 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25746 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25747 <bits/inotify.h>.
25748 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25750 bits/inotify.h.
25751
2a418ac3
JM
257522012-02-13 Joseph Myers <joseph@codesourcery.com>
25753
25754 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25755 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25756 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25757 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25758 <bits/eventfd.h>.
25759 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25760 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25761 bits/eventfd.h.
25762
fb779be7
TS
257632012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25764
e19e83c5
RM
25765 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25766 __feraiseexcept instead of feraiseexcept.
7c35ffed 25767
fb779be7
TS
25768 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25769 nanosleep invocations.
25770 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25771 strings, and add error checking for a nanosleep invocations.
25772
59ba27a6
PE
257732012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25774
25775 Replace FSF snail mail address with URLs, as per GNU coding standards.
25776 Most of the snail mail addresses were wrong anyway, and omitting
25777 them makes the source code easier to maintain. Almost all of the
25778 changes are to license notices and to locale LC_IDENTIFICATION
25779 addresses, except for this one:
25780 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25781 not its snail mail address.
25782
57b957eb
RH
257832012-02-09 Richard Henderson <rth@twiddle.net>
25784
af850b1c
RH
25785 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25786 of kernel-features.h.
25787
57b957eb
RH
25788 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25789
6b73181a
MP
257902012-02-08 Marek Polacek <polacek@redhat.com>
25791
25792 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25793 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25794 * sysdeps/gnu/_G_config.h: Likewise.
25795 * sysdeps/generic/_G_config.h: Likewise.
25796
26ecc33a
AS
257972012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25798
6c6dbc63
AS
25799 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25800 tests.
25801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25802
e216c012
AS
25803 * sysdeps/powerpc/powerpc32/crti.S: New file.
25804 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25805 * sysdeps/powerpc/powerpc64/crti.S: New file.
25806 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25807
26ecc33a
AS
25808 * Makeconfig (have-initfini): Don't set.
25809 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25810 * configure.in (nopic_initfini): Don't substitute.
25811 * config.h.in (HAVE_INITFINI): Don't #undef.
25812 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25813 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25814
3add8e13
JM
258152012-02-08 Joseph Myers <joseph@codesourcery.com>
25816
25817 Support crti.S and crtn.S provided directly by architectures.
25818 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25819 [crti.S in sysdirs] (omit-deps): Likewise.
25820 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25821 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25822 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25823 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25824 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25825 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25826 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25827 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25828 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25829 compiler output for sysdeps/generic/initfini.c.
25830 * sysdeps/i386/elf/Makefile: Remove file.
25831 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25832
a22f12b4
MP
258332012-02-07 Marek Polacek <polacek@redhat.com>
25834
25835 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25836 * sysdeps/gnu/_G_config.h: Likewise.
25837 * sysdeps/mach/hurd/_G_config.h: Likewise.
25838
148cf100
MP
258392012-02-07 Marek Polacek <polacek@redhat.com>
25840
25841 * math/Makefile (tests): Add tst-CMPLX2.
25842 * math/tst-CMPLX2.c: New file.
25843
cfdc0dd7
AS
258442012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25845
84ba42c4
AS
25846 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25847
cfdc0dd7
AS
25848 * math/libm-test.inc (jn_test): Add missing L suffix.
25849
622c86f4
MP
258502012-02-06 Marek Polacek <polacek@redhat.com>
25851
25852 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25853 * sysdeps/i386/fpu/e_powf.S: Likewise.
25854 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25855 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25856 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25857 * sysdeps/i386/fpu/e_pow.S: Likewise.
25858 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25859 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25860 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25861 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25862 * sysdeps/i386/fpu/e_log2.S: Likewise.
25863 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25865 * sysdeps/i386/fpu/e_powl.S: Likewise.
25866 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25867 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25868 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25869 * sysdeps/i386/fpu/e_logl.S: Likewise.
25870 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25871 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25872 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25873 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25874 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25875 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25876 * sysdeps/i386/fpu/e_log.S: Likewise.
25877 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25878 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25879 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25880 * sysdeps/i386/fpu/e_logf.S: Likewise.
25881 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25882 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25883 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25884 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25885 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25886 * sysdeps/i386/fpu/e_log10.S: Likewise.
25887 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25888 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25889 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25890 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25891 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25892 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25893 * sysdeps/i386/asm-syntax.h: Likewise.
25894 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25895 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25896 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25897 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25898 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25899 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25900 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25901 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25902 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25903 * sysdeps/powerpc/sysdep.h: Likewise.
25904 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25905 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25906
d4a54ac6
JM
259072012-02-06 Joseph Myers <joseph@codesourcery.com>
25908
25909 [BZ #411]
25910 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25911
314054ea
JM
259122012-02-06 Joseph Myers <joseph@codesourcery.com>
25913
25914 * sysdeps/i386/sysdep.h: Include <features.h>.
25915 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25916 version.
25917
d8e0ca50
JM
259182012-02-05 Joseph Myers <joseph@codesourcery.com>
25919
25920 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25921 Define.
25922 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25923 LOAD_PIC_REG_STR.
25924
b1da7dd9
JM
259252012-02-03 Joseph Myers <joseph@codesourcery.com>
25926
25927 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25928 (SETUP_PIC_REG): Use GET_PC_THUNK.
25929 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25930 macro.
25931
9a1d9254
JM
259322012-02-03 Joseph Myers <joseph@codesourcery.com>
25933
25934 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25935 for non-PIC compilation.
25936 (SETUP_PIC_REG): Add .p2align directive.
25937 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25938 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25939 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25940 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25941 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25942 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25943 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25944 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25945 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25946 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25947 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25948 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25949 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25950 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25951 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25952 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25953 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25954 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25955 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25956 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25957 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25958 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25959 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25960 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25961 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25963 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25964 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25965 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25966 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25967 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25968 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25969 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25970 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25971 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25972 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25973 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25974 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25975 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25976 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25977 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25978
65dc3b75
JM
259792012-02-03 Joseph Myers <joseph@codesourcery.com>
25980
25981 * math/tst-CMPLX.c: Include <stdio.h>.
25982
d55bf177
JM
259832012-01-31 Joseph Myers <joseph@codesourcery.com>
25984
25985 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25986 float.
25987 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25988 * sysdeps/sparc/bits/mathdef.h: Likewise.
25989
69db4f8f
MP
259902012-01-31 Marek Polacek <polacek@redhat.com>
25991
25992 * libio/libio.h: Don't define _PARAMS.
25993 * locale/programs/config.h: Don't define PARAMS.
25994 * stdlib/strtol_l.c: Likewise.
25995 (__strtol_l): Remove PARAMS from the prototype.
25996
41b81892
UD
259972012-01-31 Ulrich Drepper <drepper@gmail.com>
25998
3b49edc0
UD
25999 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
26000 names. Just use the correct names. Remove unnecessary wrapper
26001 functions.
26002 * malloc/arena.c: Likewise.
26003 * malloc/hooks.c: Likewise.
26004
41b81892
UD
26005 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26006 ARENA_TEST says not to. Simplify test for creation of a new arena.
26007 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26008
27a25b6e
UD
260092012-01-30 Ulrich Drepper <drepper@gmail.com>
26010
26011 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26012 into tail calls.
26013 (update_get_addr): New function.
26014 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26015 GET_ADDR_MODULE parameter.
26016
c8a89e7d
JM
260172012-01-30 Joseph Myers <joseph@codesourcery.com>
26018
26019 * crypt/cert.c: Remove __STDC__ conditionals.
26020 * crypt/crypt-entry.c: Likewise.
26021 * crypt/crypt_util.c: Likewise.
26022 * libio/filedoalloc.c: Likewise.
26023 * libio/fileops.c: Likewise.
26024 * libio/genops.c: Likewise.
26025 * libio/iofclose.c: Likewise.
26026 * libio/iofdopen.c: Likewise.
26027 * libio/iofopen.c: Likewise.
26028 * libio/iofopen64.c: Likewise.
26029 * libio/iogetdelim.c: Likewise.
26030 * libio/iopopen.c: Likewise.
26031 * libio/obprintf.c: Likewise.
26032 * libio/oldfileops.c: Likewise.
26033 * libio/oldiofclose.c: Likewise.
26034 * libio/oldiofdopen.c: Likewise.
26035 * libio/oldiofopen.c: Likewise.
26036 * libio/oldiopopen.c: Likewise.
26037 * libio/wfiledoalloc.c: Likewise.
26038 * libio/wgenops.c: Likewise.
26039 * locale/programs/xmalloc.c: Likewise.
26040 * misc/syslog.c: Likewise.
26041 * stdio-common/xbug.c: Likewise.
26042 * string/memchr.c: Likewise.
26043 * string/memcmp.c: Likewise.
26044 * string/memrchr.c: Likewise.
26045 * string/rawmemchr.c: Likewise.
26046 * sysdeps/posix/getcwd.c: Likewise.
26047 * time/strftime_l.c: Likewise.
26048
3b100462
JM
260492012-01-30 Joseph Myers <joseph@codesourcery.com>
26050
26051 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
26052 * config.make.in (config-cflags-sse2avx): Define.
26053 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26054 Fix typo.
26055
607998af
CM
260562012-01-29 Chris Metcalf <cmetcalf@tilera.com>
26057
26058 * scripts/config.guess: Update from upstream config git repository.
26059 * scripts/config.sub: Likewise.
26060
3601428f
CM
260612012-01-28 Chris Metcalf <cmetcalf@tilera.com>
26062
3ac8b282
CM
26063 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26064 (EM_NUM): Update.
26065 (R_TILEPRO_*, R_TILEGX_*): New macros.
26066
e034841e
CM
26067 * scripts/firstversions.awk: Fix bug in version range handling.
26068
540d7568
CM
26069 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26070
3601428f
CM
26071 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26072
463de862
CM
26073 * include/sys/epoll.h: New file.
26074 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26075 libc_hidden_def.
26076
73139a76
UD
260772012-01-28 Ulrich Drepper <drepper@gmail.com>
26078
96bc5b45
UD
26079 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26080 Avoid unnecessary __WORDSIZE == 64 test.
26081 (fmaxf): Use VEX format if possible.
26082 (fmax): Likewise.
26083 (fminf): Likewise.
26084 (fmin): Likewise.
26085
56f6f6a2
UD
26086 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26087 * math/math_private.h: Remove libc_fegetround* and
26088 libc_fesetround*.
26089 * sysdeps/i386/configure.in: Check for -msse2avx.
26090 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26091 also if SSE2AVX is defined.
26092 Remove libc_fegetround* and libc_fesetround*.
26093 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26094 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26095 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26096 of HAS_YMM_USABLE.
26097 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26098 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26099 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26100 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26101 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26102
73139a76
UD
26103 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26104
d73f93a4
AZ
261052012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26106
26107 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26108 size is not set.
26109 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26110
6ee65ed6
UD
261112012-01-27 Ulrich Drepper <drepper@gmail.com>
26112
26113 [BZ #13618]
26114 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26115 relocation.
26116 * Makeconfig (libm): Define.
26117 * elf/Makefile: Add rules to build and run tst-relsort1.
26118 * elf/tst-relsort1.c: New file.
26119 * elf/tst-relsort1mod1.c: New file.
26120 * elf/tst-relsort1mod2.c: New file.
26121
8db21882
JM
261222012-01-27 Joseph Myers <joseph@codesourcery.com>
26123
26124 * math/s_ldexp.c: Remove __STDC__ conditionals.
26125 * math/s_ldexpf.c: Likewise.
26126 * math/s_ldexpl.c: Likewise.
26127 * math/s_nextafter.c: Likewise.
26128 * math/s_nexttowardf.c: Likewise.
26129 * math/s_significand.c: Likewise.
26130 * math/s_significandf.c: Likewise.
26131 * math/s_significandl.c: Likewise.
26132 * math/w_jnl.c: Likewise.
26133 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26134 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26135 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26136 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26137 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26139 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26140 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26141 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26142 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26143 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26144 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26145 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26147 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26148 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26149 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26150 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26151 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26152 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26153 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26154 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26155 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26156 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26157 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26158 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26159 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26160 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26161 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26162 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26163 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26164 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26165 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26166 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26167 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26168 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26169 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26170 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26171 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26172 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26173 * sysdeps/ieee754/k_standard.c: Likewise.
26174 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26175 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26177 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26178 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26179 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26181 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26183 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26185 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26187 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26188 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26189 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26190 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26191 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26192 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26193 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26194 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26195 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26196 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26197 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26198 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26199 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26203 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26206 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26207 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26208 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26216 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26223 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26227 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26231 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26234 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26235 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26236 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26238 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26239 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26240 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26241 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26242 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26243 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26244 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26245 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26246 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26247 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26248 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26249 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26250 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26251 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26252 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26253 * sysdeps/ieee754/s_matherr.c: Likewise.
26254 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26255 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26256 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26257 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26258
965a54a4
JM
262592012-01-26 Joseph Myers <joseph@codesourcery.com>
26260
26261 * crypt/md5.h: Remove __STDC__ conditionals.
26262 * libio/libioP.h: Likewise.
26263 * locale/programs/config.h: Likewise.
26264 * sysdeps/generic/sysdep.h: Likewise.
26265 * sysdeps/i386/asm-syntax.h: Likewise.
26266 * sysdeps/s390/asm-syntax.h: Likewise.
26267 * sysdeps/unix/sysdep.h: Likewise.
26268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26270
7071ad79
JM
262712012-01-26 Joseph Myers <joseph@codesourcery.com>
26272
26273 * libio/libio.h: Remove __STDC__ conditionals.
26274 * malloc/obstack.h: Likewise.
26275 * math/complex.h: Likewise.
26276 * math/math.h: Likewise.
26277 * sysdeps/generic/_G_config.h: Likewise.
26278 * sysdeps/gnu/_G_config.h: Likewise.
26279 * sysdeps/mach/hurd/_G_config.h: Likewise.
26280 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26281 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26282 * sysdeps/sparc/bits/mathdef.h: Likewise.
26283
afc5ed09
UD
262842012-01-26 Ulrich Drepper <drepper@gmail.com>
26285
26286 [BZ #13583]
26287 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26288 Clean up HAS_* macros.
afc5ed09 26289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26290 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26291 possible.
26292 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26293 HAS_AVX.
26294 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26295 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26296 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26297 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26298 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26299
bdb6de1d
JM
263002012-01-25 Joseph Myers <joseph@codesourcery.com>
26301
26302 * elf/tst-unique3.cc (gets): Remove declaration.
26303 * elf/tst-unique3lib.cc (gets): Likewise.
26304 * elf/tst-unique3lib2.cc (gets): Likewise.
26305 * elf/tst-unique4.cc (gets): Likewise.
26306
b15549e6
UD
263072012-01-24 Ulrich Drepper <drepper@gmail.com>
26308
26309 * include/stdio.h: Add C++ protection. Add gets declarations and
26310 definitions.
26311 * debug/tst-chk1.c: Don't declare gets here.
26312 * stdio-common/tst-gets.c: Likewise.
26313
a037381f
JM
263142012-01-24 Joseph Myers <joseph@codesourcery.com>
26315
26316 * posix/glob: Remove directory.
26317
f1d4aa75
JM
263182012-01-24 Joseph Myers <joseph@codesourcery.com>
26319
26320 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26321
81c0c964
PT
263222012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26323
26324 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26325 of the non-standard EPFNOSUPPORT.
26326
0ea698ae
ST
263272011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26328
26329 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26330 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26331 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26332
d220b117
UD
263332012-01-21 Ulrich Drepper <drepper@gmail.com>
26334
26335 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26336
3e1aa84e
UD
263372012-01-20 Ulrich Drepper <drepper@gmail.com>
26338
26339 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26340 transient errors.
26341 * nscd/grpcache.c (cache_addgr): Likewise.
26342 * nscd/hstcache.c (cache_addhst): Likewise.
26343 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26344 * nscd/pwdcache.c (cache_addpw): Likewise.
26345 * nscd/servicescache.c (cache_addserv): Likewise.
26346
400aa020
UD
263472012-01-16 Ulrich Drepper <drepper@gmail.com>
26348
d77e7869
UD
26349 * malloc/malloc.c: Various cleanups.
26350 * malloc/hooks.c: Likewise.
26351
400aa020
UD
26352 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26353 * stdlib/bug-fmtmsg1.c: New file.
26354
26355 * stdlib/fmtmsg.c (init): Add missing unlock.
26356 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26357
e0a309cf
MP
263582012-01-12 Marek Polacek <polacek@redhat.com>
26359
26360 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26361 and _GNU_SOURCE.
26362
929d11c7
WS
263632012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26364
26365 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26366 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26367 macro to ensure uniqueness of label name.
26368 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26369 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26370
41d0e869
UD
263712012-01-11 Ulrich Drepper <drepper@gmail.com>
26372
0cc5ed3b
UD
26373 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26374
41d0e869
UD
26375 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26376 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26377 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26379
a47a831a
UD
263802012-01-10 Ulrich Drepper <drepper@gmail.com>
26381
daa891c0
UD
26382 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26383
26384 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26385 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26386 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26387
e58ef0f2
UD
26388 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26389
a47a831a 26390 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26391 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26392 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26393 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26394
26395 * math/bits/math-finite.h: Add ldexp support.
26396
a0bfc9c7
MP
263972012-01-10 Marek Polacek <polacek@redhat.com>
26398
26399 * locale/programs/localedef.h (show_archive_content): Add noreturn
26400 attribute.
26401
d6e97a1d
UD
264022012-01-09 Ulrich Drepper <drepper@gmail.com>
26403
26404 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26405
d5835c26
UD
264062012-01-08 Ulrich Drepper <drepper@gmail.com>
26407
e5f484c6
UD
26408 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26409
d5835c26
UD
26410 * io/Makefile (headers): Add bits/poll2.h.
26411
d1f741e9
WS
264122011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26413
26414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26415 typo #include statement.
26416
ec09c1c4
UD
264172012-01-08 Ulrich Drepper <drepper@gmail.com>
26418
26419 * include/sys/cdefs.h: Define __attribute_alloc_size.
26420 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26421 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26422 * elf/pldd.c: Likewise.
26423 * iconv/iconv_charmap.c: Likewise.
26424 * iconv/iconvconfig.c: Likewise.
26425 * iconv/strtab.c: Likewise.
26426 * locale/programs/locale.c: Likewise.
26427 * locale/programs/localedef.h: Likewise.
26428 * locale/programs/simple-hash.c: Likewise.
26429 * nscd/nscd.h: Likewise.
26430 * nss/makedb.c: Likewise.
26431 * sysdeps/generic/ldconfig.h: Likewise.
26432 * locale/programs/localedef.c: Remove xmalloc prototype.
26433 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26434
20b38e03
PP
264352012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26436
26437 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26438 appropriate.
26439
a0da5fe1
UD
264402012-01-08 Ulrich Drepper <drepper@gmail.com>
26441
1d5a644a 26442 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26443 * math/tst-CMPLX.c: New file.
1d5a644a 26444
8784a6db
UD
26445 * math/complex.h (CMPLXL): Fix typo.
26446
d9a216c0
UD
26447 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26448 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26449 GLIBC_2.16.
26450 * debug/tst-chk1.c: Add poll and ppoll tests.
26451 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26452 * include/sys/poll.h: Add hidden proto for ppoll.
26453 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26454 * sysdeps/mach/hurd/ppoll.c: Likewise.
26455 * io/ppoll.c: Likewise.
26456 * debug/poll_chk.c: New file.
26457 * debug/ppoll_chk.c: New file.
26458 * include/bits/poll2.h: New file.
26459 * io/bits/poll2.h: New file.
26460
ac097f5c
UD
26461 [BZ #1350]
26462 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26463
2119dcfa
UD
26464 * configure.in: static is always set to yes. Remove.
26465 * config.make.in: Don't set build-static.
26466 * Makeconfig: Remove use of build-static.
26467 * dlfcn/Makefile: Likewise.
26468 * elf/Makefile: Likewise.
26469 * math/Makefile: Likewise.
26470 * misc/Makefile: Likewise.
26471 * nptl/Makefile: Likewise.
26472 * sysdeps/mach/hurd/Makefile: Likewise.
26473
121766a9
UD
26474 * configure.in: PWD_P is not used anymore.
26475 * config.make.in: Remove PWD_P entry.
26476
51a1d39c 26477 * configure.in: Remove last remnants of RANLIB.
8720d066 26478 No need to check for signed size_t anymore.
215f4bdc
UD
26479 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26480 and IA-64.
3857022a 26481 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26482 * aclocal.m4: Likewise.
26483
d3ed7225
UD
26484 * wcsmbs/mbrtoc16.c: Implement using towc function.
26485 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26486 * wcsmbs/wcsmbsload.c: Likewise.
26487 * iconv/gconv_simple.c: Likewise.
26488 * iconv/gconv_int.h: Likewise.
26489 * iconv/gconv_builtin.h: Likewise.
26490 * iconv/iconv_prog.c: Remove CHAR16 handling.
26491
26492 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26493
26494 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26495
a0da5fe1
UD
26496 * configure.in: Remove --with-elf and --enable-bounded options.
26497 Dont set base_machine for ia64. More non-ELF conditions removed.
26498 Remove testing and setting of leading underscore information.
26499 * config.make.in (build-bounded): Set to no.
26500 * config.h.in: Remove NO_UNDERSCORES entry.
26501 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26502 them.
26503 * csu/start.c: Remove !NO_UNDERSCORE code.
26504 * locale/localeinfo.h: Likewise.
26505 * sysdeps/generic/machine-gmon.h: Likewise.
26506 * sysdeps/generic/sysdep.h: Likewise.
26507 * sysdeps/i386/sysdep.h: Likewise.
26508 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26509 * sysdeps/mach/sysdep.h: Likewise.
26510 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26511 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26512 * sysdeps/sh/sysdep.h: Likewise.
26513 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26514 * sysdeps/unix/i386/sysdep.S: Likewise.
26515 * sysdeps/unix/sparc/start.c: Likewise.
26516 * sysdeps/unix/sparc/sysdep.S: Likewise.
26517 * sysdeps/unix/sparc/sysdep.h: Likewise.
26518 * sysdeps/unix/start.c: Likewise.
26519 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26520 * sysdeps/x86_64/sysdep.h: Likewise.
26521
df78418a
UD
265222012-01-07 Ulrich Drepper <drepper@gmail.com>
26523
a784e502
UD
26524 [BZ #13553]
26525 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26526 for non-gcc.
26527 * argp/argp-fmtstream.h: Use const instead __const.
26528 * argp/argp.h: Likewise.
26529 * assert/assert.h: Likewise.
26530 * bits/fenv.h: Likewise.
26531 * bits/sched.h: Likewise.
26532 * bits/sigset.h: Likewise.
26533 * bits/sigthread.h: Likewise.
26534 * catgets/nl_types.h: Likewise.
26535 * conform/data/pthread.h-data: Likewise.
26536 * crypt/crypt-private.h: Likewise.
26537 * crypt/crypt.h: Likewise.
26538 * crypt/crypt_util.c: Likewise.
26539 * ctype/ctype.h: Likewise.
26540 * debug/execinfo.h: Likewise.
26541 * debug/mbsnrtowcs_chk.c: Likewise.
26542 * debug/mbsrtowcs_chk.c: Likewise.
26543 * debug/wcsnrtombs_chk.c: Likewise.
26544 * debug/wcsrtombs_chk.c: Likewise.
26545 * debug/wcstombs_chk.c: Likewise.
26546 * dirent/dirent.h: Likewise.
26547 * dlfcn/dlfcn.h: Likewise.
26548 * elf/neededtest4.c: Likewise.
26549 * grp/grp.h: Likewise.
26550 * gshadow/gshadow.h: Likewise.
26551 * iconv/gconv.h: Likewise.
26552 * iconv/gconv_int.h: Likewise.
26553 * iconv/gconv_simple.c: Likewise.
26554 * iconv/iconv.h: Likewise.
26555 * iconv/loop.c: Likewise.
26556 * iconv/skeleton.c: Likewise.
26557 * include/aio.h: Likewise.
26558 * include/aliases.h: Likewise.
26559 * include/argz.h: Likewise.
26560 * include/arpa/inet.h: Likewise.
26561 * include/assert.h: Likewise.
26562 * include/dirent.h: Likewise.
26563 * include/dlfcn.h: Likewise.
26564 * include/execinfo.h: Likewise.
26565 * include/fcntl.h: Likewise.
26566 * include/fenv.h: Likewise.
26567 * include/glob.h: Likewise.
26568 * include/grp.h: Likewise.
26569 * include/libintl.h: Likewise.
26570 * include/mntent.h: Likewise.
26571 * include/netdb.h: Likewise.
26572 * include/pwd.h: Likewise.
26573 * include/rpc/netdb.h: Likewise.
26574 * include/sched.h: Likewise.
26575 * include/search.h: Likewise.
26576 * include/shadow.h: Likewise.
26577 * include/signal.h: Likewise.
26578 * include/stdio.h: Likewise.
26579 * include/stdlib.h: Likewise.
26580 * include/string.h: Likewise.
26581 * include/sys/socket.h: Likewise.
26582 * include/sys/stat.h: Likewise.
26583 * include/sys/statfs.h: Likewise.
26584 * include/sys/statvfs.h: Likewise.
26585 * include/sys/syslog.h: Likewise.
26586 * include/sys/time.h: Likewise.
26587 * include/sys/uio.h: Likewise.
26588 * include/time.h: Likewise.
26589 * include/unistd.h: Likewise.
26590 * include/utmp.h: Likewise.
26591 * include/wchar.h: Likewise.
26592 * include/wctype.h: Likewise.
26593 * inet/aliases.h: Likewise.
26594 * inet/arpa/inet.h: Likewise.
26595 * inet/netinet/ether.h: Likewise.
26596 * inet/netinet/in.h: Likewise.
26597 * intl/libintl.h: Likewise.
26598 * io/bits/fcntl2.h: Likewise.
26599 * io/fcntl.h: Likewise.
26600 * io/ftw.h: Likewise.
26601 * io/sys/poll.h: Likewise.
26602 * io/sys/stat.h: Likewise.
26603 * io/sys/statfs.h: Likewise.
26604 * io/sys/statvfs.h: Likewise.
26605 * io/utime.h: Likewise.
26606 * libio/bits/stdio.h: Likewise.
26607 * libio/bits/stdio2.h: Likewise.
26608 * libio/libio.h: Likewise.
26609 * libio/libioP.h: Likewise.
26610 * libio/stdio.h: Likewise.
26611 * locale/lc-ctype.c: Likewise.
26612 * locale/locale.h: Likewise.
26613 * login/utmp.h: Likewise.
26614 * malloc/arena.c: Likewise.
26615 * malloc/malloc.c: Likewise.
26616 * malloc/malloc.h: Likewise.
26617 * malloc/mcheck.c: Likewise.
26618 * malloc/mtrace.c: Likewise.
26619 * math/bits/mathcalls.h: Likewise.
26620 * math/fenv.h: Likewise.
26621 * math/math_private.h: Likewise.
26622 * misc/bits/error.h: Likewise.
26623 * misc/bits/syslog.h: Likewise.
26624 * misc/err.h: Likewise.
26625 * misc/error.h: Likewise.
26626 * misc/fstab.h: Likewise.
26627 * misc/mntent.h: Likewise.
26628 * misc/regexp.h: Likewise.
26629 * misc/search.h: Likewise.
26630 * misc/sgtty.h: Likewise.
26631 * misc/sys/mman.h: Likewise.
26632 * misc/sys/syslog.h: Likewise.
26633 * misc/sys/uio.h: Likewise.
26634 * misc/sys/xattr.h: Likewise.
26635 * misc/ttyent.h: Likewise.
26636 * nis/rpcsvc/ypclnt.h: Likewise.
26637 * nss/nss.h: Likewise.
26638 * posix/bits/unistd.h: Likewise.
26639 * posix/fnmatch.h: Likewise.
26640 * posix/glob.h: Likewise.
26641 * posix/sched.h: Likewise.
26642 * posix/spawn.h: Likewise.
26643 * posix/sys/wait.h: Likewise.
26644 * posix/unistd.h: Likewise.
26645 * posix/wordexp.h: Likewise.
26646 * pwd/pwd.h: Likewise.
26647 * resolv/netdb.h: Likewise.
26648 * resource/sys/resource.h: Likewise.
26649 * rt/aio.h: Likewise.
26650 * rt/bits/mqueue2.h: Likewise.
26651 * rt/mqueue.h: Likewise.
26652 * shadow/shadow.h: Likewise.
26653 * signal/signal.h: Likewise.
26654 * socket/send.c: Likewise.
26655 * socket/sendto.c: Likewise.
26656 * socket/sys/socket.h: Likewise.
26657 * stdio-common/printf.h: Likewise.
26658 * stdlib/bits/stdlib.h: Likewise.
26659 * stdlib/fmtmsg.h: Likewise.
26660 * stdlib/monetary.h: Likewise.
26661 * stdlib/stdlib.h: Likewise.
26662 * stdlib/ucontext.h: Likewise.
26663 * streams/stropts.h: Likewise.
26664 * string/argz.h: Likewise.
26665 * string/bits/string2.h: Likewise.
26666 * string/string.h: Likewise.
26667 * string/strings.h: Likewise.
26668 * sunrpc/rpc/auth.h: Likewise.
26669 * sunrpc/rpc/auth_des.h: Likewise.
26670 * sunrpc/rpc/clnt.h: Likewise.
26671 * sunrpc/rpc/netdb.h: Likewise.
26672 * sunrpc/rpc/pmap_clnt.h: Likewise.
26673 * sunrpc/rpc/xdr.h: Likewise.
26674 * sysdeps/generic/inttypes.h: Likewise.
26675 * sysdeps/generic/net/if.h: Likewise.
26676 * sysdeps/generic/sys/swap.h: Likewise.
26677 * sysdeps/gnu/net/if.h: Likewise.
26678 * sysdeps/gnu/utmpx.h: Likewise.
26679 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26680 * sysdeps/i386/i486/bits/string.h: Likewise.
26681 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26682 * sysdeps/s390/bits/string.h: Likewise.
26683 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26684 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26685 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26686 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26687 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26688 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26689 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26690 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26691 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26692 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26693 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26694 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26695 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26696 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26697 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26698 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26699 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26701 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26702 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26703 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26704 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26705 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26706 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26707 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26708 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26709 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26710 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26711 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26712 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26713 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26714 * sysvipc/sys/ipc.h: Likewise.
26715 * sysvipc/sys/msg.h: Likewise.
26716 * sysvipc/sys/sem.h: Likewise.
26717 * sysvipc/sys/shm.h: Likewise.
26718 * termios/termios.h: Likewise.
26719 * time/sys/time.h: Likewise.
26720 * time/time.h: Likewise.
26721 * wcsmbs/bits/wchar2.h: Likewise.
26722 * wcsmbs/uchar.h: Likewise.
26723 * wcsmbs/wchar.h: Likewise.
26724 * wctype/wctype.h: Likewise.
26725
0269750c
UD
26726 [BZ #13551]
26727 * Makeconfig: Remove all but ELF support including AIX support.
26728 * Makerules: Likewise.
26729 * config.h.in: Likewise.
26730 * config.make.in: Likewise.
26731 * configure: Likewise.
26732 * configure.in: Likewise.
26733 * csu/Makefile: Likewise.
26734 * csu/version.c: Likewise.
26735 * debug/Makefile: Likewise.
26736 * dlfcn/Makefile: Likewise.
26737 * elf/Makefile: Likewise.
26738 * extra-lib.mk: Likewise.
26739 * iconv/Makefile: Likewise.
26740 * include/libc-symbols.h: Likewise.
26741 * include/shlib-compat.h: Likewise.
26742 * resolv/Makefile: Likewise.
26743 * resolv/res_libc.c: Likewise.
26744 * rt/Makefile: Likewise.
26745 * sysdeps/i386/asm-syntax.h: Likewise.
26746 * sysdeps/i386/sysdep.h: Likewise.
26747 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26748 * sysdeps/mach/sysdep.h: Likewise.
26749 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26750 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26751 * sysdeps/s390/asm-syntax.h: Likewise.
26752 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26753 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26754 * sysdeps/sh/sysdep.h: Likewise.
26755 * sysdeps/unix/sparc/sysdep.h: Likewise.
26756 * sysdeps/wordsize-32/divdi3.c: Likewise.
26757 * sysdeps/x86_64/sysdep.h: Likewise.
26758
00bbd29b
UD
26759 * argp/Versions: Remove _argp_unlock_xxx.
26760
26761 [BZ #13559]
26762 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26763 * abilist/libBrokenLocale.abilist: Likewise.
26764 * abilist/libanl.abilist: Likewise.
26765 * abilist/libc.abilist: Likewise.
26766 * abilist/libcrypt.abilist: Likewise.
26767 * abilist/libdl.abilist: Likewise.
26768 * abilist/libm.abilist: Likewise.
26769 * abilist/libnsl.abilist: Likewise.
26770 * abilist/libpthread.abilist: Likewise.
26771 * abilist/libresolv.abilist: Likewise.
26772 * abilist/librt.abilist: Likewise.
26773 * abilist/libthread_db.abilist: Likewise.
26774 * abilist/libutil.abilist: Likewise.
26775 * abilist/libnss_db.abilist: New file.
26776
26777 * scripts/abilist.awk: Add support for indirect functions.
26778
a2693a0e
UD
26779 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26780
3f05895f
UD
26781 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26782
ecb6fb48
UD
26783 * shlib-versions: Remove entries for ports architectures.
26784
664f8cb9
UD
26785 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26786 files in ports.
26787 * elf/stackguard-macros.h: Remove support for IA-64.
26788 * elf/tst-auditmod1.c: Likewise.
26789 * sysdeps/generic/ldsodefs.h: Likewise.
26790
7ae81d88
UD
26791 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26792 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26793 configure files.
26794
bdeba135
UD
26795 [BZ #13552]
26796 * configure.in: Remove --enable-omitfp support.
26797 * FAQ.in: Adjust.
26798 * config.make.in: Likewise.
26799 * Makeconfig: Likewise.
26800 * manual/install.texi: Likewise.
26801
d75a0a62
UD
26802 In case anyone cares, the IA-64 architecture could move to ports.
26803 * sysdeps/ia64/*: Removed.
26804 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26805 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26806
dcc9756b
UD
26807 [BZ #13555]
26808 * configure.in: Remove entries for unsupported architectures.
26809
d3761ebc 26810 [BZ #13533]
9954432e
UD
26811 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26812 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26813 routines.
26814 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26815 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26816 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26817 fall back to using wcrtomb.
26818 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26819 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26820 renaming.
26821 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26822 * wcsmbs/tst-c16c32-1.c: New file.
26823
26824 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26825 local variable.
26826
c3a87236
UD
26827 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26828
28926a1b
UD
26829 * elf/tst-unique3.cc: Add explicit declaration of gets.
26830 * elf/tst-unique3lib.cc: Likewise.
26831 * elf/tst-unique3lib2.cc: Likewise.
26832 * elf/tst-unique4.cc: Likewise.
26833
df78418a
UD
26834 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26835
8ecd6b2a
JM
268362012-01-06 Joseph Myers <joseph@codesourcery.com>
26837
26838 [BZ #13566]
26839 * assert/assert.h (static_assert): Don't define for C++.
26840 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26841 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26842
9f115170
UD
268432012-01-03 Ulrich Drepper <drepper@gmail.com>
26844
5e0d0300
UD
26845 * iconv/loop.c (single loop): Fix assertion in storing of
26846 remaining bytes.
26847
9f115170
UD
26848 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26849
81fb02b0
UD
268502012-01-01 Ulrich Drepper <drepper@gmail.com>
26851
26852 * posix/getconf.c: Update copyright year.
26853 * nss/getent.c: Likewise.
a316c1f6 26854 * nss/makedb.c: Likewise.
81fb02b0
UD
26855 * iconv/iconvconfig.c: Likewise.
26856 * iconv/iconv_prog.c: Likewise.
26857 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26858 * elf/pldd.c: Likewise.
26859 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26860 * catgets/gencat.c: Likewise.
26861 * csu/version.c: Likewise.
26862 * elf/ldd.bash.in: Likewise.
26863 * elf/sprof.c (print_version): Likewise.
26864 * locale/programs/locale.c: Likewise.
26865 * locale/programs/localedef.c: Likewise.
a316c1f6 26866 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26867 * nscd/nscd.c (print_version): Likewise.
26868 * debug/xtrace.sh: Likewise.
26869 * malloc/memusage.sh: Likewise.
26870 * malloc/mtrace.pl: Likewise.
26871 * debug/catchsegv.sh: Likewise.
26872
2ba92745
JJ
268732011-12-30 Jakub Jelinek <jakub@redhat.com>
26874
26875 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26876 pure attribute.
26877
dadebdae
UD
268782011-12-24 Ulrich Drepper <drepper@gmail.com>
26879
d3761ebc 26880 [BZ #13533]
db6af3eb
UD
26881 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26882 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26883 transformations.
26884 * iconv/gconv_int.h: Likewise.
26885 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26886 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26887 from libc for GLIBC_2.16.
26888 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26889 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26890 * wcsmbs/uchar.h: Really define mbstate_t.
26891 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26892 * wcsmbs/c16rtomb.c: New file.
26893 * wcsmbs/mbrtoc16.c: New file.
26894 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26895 for C/POSIX locale.
26896 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26897 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26898
dadebdae
UD
26899 * wcsmbs/wchar.h: Add missing __restrict.
26900
67371b56
UD
269012011-12-23 Ulrich Drepper <drepper@gmail.com>
26902
74033a25
UD
26903 [BZ #13532]
26904 * time/Makefile (routines): Add timespec_get.
26905 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26906 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26907 timespec for ISO C11.
26908 * time/timespec_get.c: New file.
26909 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26910 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26911
380d7e87
UD
26912 [BZ #13531]
26913 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26914 * stdlib/stdlib.h: Declare aligned_alloc.
26915 * Versions.def: Add GLIBC_2.16 for libc.
26916 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26917
4e9e7a35
UD
26918 [BZ 13527]
26919 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26920 ISO C11.
26921
380d7e87 26922 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26923 code.
26924
03a71829
UD
26925 [BZ #13528]
26926 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26927
839e283e
UD
26928 [BZ #13529]
26929 * assert/assert.h (static_assert): Define.
26930
ce5294e2 26931 * version.h: Update for 2.16 development version.
90fa7312 26932
8d44e150 26933 [BZ #13526]
d7809905
UD
26934 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26935 _ISOC11_SOURCE.
26936
c0da14cd
UD
26937 * version.h (RELEASE): Bump for 2.15 release.
26938 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26939
530a3249
MP
26940 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26941 Patch by Marek Polacek <mpolacek@redhat.com>.
26942
67371b56
UD
26943 * bits/byteswap.h: Protect long long constants with __extension__.
26944 * sysdeps/i386/bits/byteswap.h: Likewise.
26945 * sysdeps/ia64/bits/byteswap.h: Likewise.
26946 * sysdeps/s390/bits/byteswap.h: Likewise.
26947 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26948
15db4de1
LD
269492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26950
26951 [BZ #13540]
bbe315ea
LD
26952 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26953 destination buffer.
15db4de1
LD
26954 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26955
2b2596b1
MP
269562011-12-23 Marek Polacek <polacek@redhat.com>
26957
26958 * elf/dl-addr.c (determine_info): Add inline keyword.
26959 * elf/tst-auditmod4b.c (check_avx): Likewise.
26960 * elf/tst-auditmod6b.c (check_avx): Likewise.
26961 * elf/tst-auditmod6c.c (check_avx): Likewise.
26962 * elf/tst-auditmod7b.c (check_avx): Likewise.
26963
70c6c246
UD
269642011-12-23 Ulrich Drepper <drepper@gmail.com>
26965
26966 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26967 !__SSE_MATH__.
26968
c044cf14
LD
269692011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26970
15db4de1 26971 [BZ #13540]
c044cf14
LD
26972 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26973 processing for last bytes.
26974
6b13d9d9
BH
269752011-08-06 Bruno Haible <bruno@clisp.org>
26976
d455f537
BH
26977 [BZ #13061]
26978 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26979 U+0385, not to U+1FEE.
26980
6b13d9d9
BH
26981 [BZ #13062]
26982 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26983 entry for U+00A5 U+0301.
26984
db910efd
UD
269852011-12-22 Ulrich Drepper <drepper@gmail.com>
26986
27deeafc
UD
26987 [BZ #13166]
26988 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26989 buffer for the output is too small.
26990
aed9d171
UD
26991 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26992 optimization.
26993
db910efd
UD
26994 [BZ #13185]
26995 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26996 SSE flags if possible.
26997
2bd779ae
LD
269982011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26999
e7f9dac3 27000 [BZ #13540]
2bd779ae
LD
27001 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27002 processing for last bytes.
27003
154bfc16
JM
270042011-12-22 Joseph Myers <joseph@codesourcery.com>
27005
27006 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27007 (syscall-list-default-options, syscall-list-default-condition)
27008 (syscall-list-includes): Define.
27009 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27010 list of ABIs and options and #if conditions for each ABI. Do not
27011 handle common syscalls between ABIs specially.
27012 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27013 Remove.
27014 (syscall-list-variants, syscall-list-32bit-options)
27015 (syscall-list-32bit-condition, syscall-list-64bit-options)
27016 (syscall-list-64bit-condition): Define.
27017 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27018 (syscall-list-variants, syscall-list-32bit-options)
27019 (syscall-list-32bit-condition, syscall-list-64bit-options)
27020 (syscall-list-64bit-condition): Define.
27021 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27022 Remove.
27023 (syscall-list-variants, syscall-list-32bit-options)
27024 (syscall-list-32bit-condition, syscall-list-64bit-options)
27025 (syscall-list-64bit-condition): Define.
27026 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27027 Remove.
27028 (syscall-list-variants, syscall-list-32bit-options)
27029 (syscall-list-32bit-condition, syscall-list-64bit-options)
27030 (syscall-list-64bit-condition): Define.
27031
21eaf3a5
UD
270322011-12-22 Ulrich Drepper <drepper@gmail.com>
27033
16c6f992
UD
27034 * locale/iso-639.def: Add brx entry.
27035
41043168
UD
27036 [BZ #13328]
27037 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27038 Proposed by Mariusz_Cukr <marcukr@op.pl>.
27039
21eaf3a5
UD
27040 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27041 __feraiseexcept_renamed.
27042
e3a851a2
UD
270432011-12-21 Ulrich Drepper <drepper@gmail.com>
27044
4920765e
UD
27045 [BZ #13538]
27046 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27047 EPOLLET with unsigned values.
27048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27049 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27050
e3a851a2
UD
27051 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27052 to large cancellation.
27053 * math/s_cacoshf.c: Likewise.
27054 * math/s_cacoshl.c: Likewise.
27055
b27e24b8
RK
270562011-11-18 Richard B. Kreckel <kreckel@ginac.de>
27057
27058 [BZ #13305]
aebefeee 27059 [BZ #12786]
b27e24b8
RK
27060 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27061 * math/s_cacoshf.c: Likewise.
27062 * math/s_cacoshl.c: Likewise.
27063
ee190f67
UD
270642011-12-21 Ulrich Drepper <drepper@gmail.com>
27065
27066 [BZ #13439]
27067 * iconv/gconv.h: Define __GCONV_SWAP.
27068 * iconvdata/unicode.c: The swap bit must be stored in __flags.
27069 * iconvdata/utf-16.c: Likewise.
27070 * iconvdata/utf-32.c: Likewise.
27071
707f25df
AS
270722011-12-21 Andreas Schwab <schwab@linux-m68k.org>
27073
27074 [BZ #13524]
27075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27076 numerator after shifting it by one limb.
27077
d2daaa1e
RÁE
270782011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
27079
27080 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27081 under [__USE_EXTERN_INLINES].
27082
a4647e72
UD
270832011-12-17 Ulrich Drepper <drepper@gmail.com>
27084
27085 [BZ #13446]
27086 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27087
f0b264f1
AZ
270882011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27089
27090 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27091 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27092 optimized code.
27093 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27094 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27095 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27096 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27097 for strncasecmp/strncasecmp_l compilation.
27098 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27099 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27100
8ef4f244
MP
271012011-12-08 Marek Polacek <mpolacek@redhat.com>
27102
27103 [BZ #13484]
27104 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27105 of __asm__.
27106
97ac2654
UD
271072011-12-17 Ulrich Drepper <drepper@gmail.com>
27108
27109 [BZ #13506]
27110 * time/tzfile.c (__tzfile_read): Check values from file header.
27111
91d2a845
WS
271122011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27113
27114 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27115 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27116 * powerpc/powerpc32/dl-start.S: Likewise.
27117 * powerpc/powerpc32/elf/start.S: Likewise.
27118 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27119 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27120 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27121 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27122 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27123 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27124 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27125 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27126 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27127 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27128 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27129 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27130 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27131 * powerpc/powerpc32/memset.S: Likewise.
27132 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27133 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27134 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27135 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27136 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27137 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27138 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27139 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27140 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27141 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27142 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27143 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27144 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27145
a1267ba1
AZ
271462011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27147
27148 * math/libm-test.inc: Added more nearbyint tests.
27149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27150 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27152 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27153
ad8ac1bd
RL
271542011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27155
27156 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27157 FD_CLOEXEC.
27158
1d3e4b61
UD
271592011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27160
27161 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27162 Add wcscpy-ssse3 wcscpy-c.
27163 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27164 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27165 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27166 * sysdeps/x86_64/wcschr.S: New file.
27167 * sysdeps/x86_64/wcsrchr.S: New file.
27168 * string/test-strcmp.c: Remove checking of wcscmp function for
27169 wrong alignments.
27170 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27171 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27172 wcsrchr-sse2 wcsrchr-c.
27173 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27174 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27175 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27176 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27177 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27178 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27179 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27180 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27181 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27182 * wcsmbc/wcschr.c (WCSCHR): New macro.
27183
5b330a2d
UD
271842011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27185
27186 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27187 * wcsmbs/test-wcsrchr.c: New file.
27188 * string/test-strrchr.c: Add wcsrchr support.
27189 (WIDE): New macro.
27190 * wcsmbs/test-wcscpy.c: New file.
27191 * string/test-strcpy.c: Add wcscpy support.
27192 (WIDE): New macro.
26428b7c 27193
f039c043
UD
271942011-12-10 Ulrich Drepper <drepper@gmail.com>
27195
27196 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27197 the inner loop.
27198
850fb039
AS
271992011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27200
27201 [BZ #13472]
27202 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27203
4efbd5cb
UD
272042011-12-04 Ulrich Drepper <drepper@gmail.com>
27205
52ff5dd0 27206 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27207 Minor optimizations.
52ff5dd0 27208
4efbd5cb
UD
27209 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27210 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27211 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27212
8a426e12
UD
272132011-12-03 Ulrich Drepper <drepper@gmail.com>
27214
aff2453d
UD
27215 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27216 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27217 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27218 for gcc to avoid warnings.
27219 * inet/Makefile (tests): Add tst-checks.
27220 * inet/tst-checks.c: New file.
27221
27222 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27223 warning.
27224
27225 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27226 __wmemcmp_sse2.
27227
27228 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27229 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27230
8a426e12
UD
27231 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27232
9bea3473
UD
272332011-12-02 Ulrich Drepper <drepper@gmail.com>
27234
3a965496
UD
27235 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27236 problem.
27237
9bea3473
UD
27238 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27239
f101631b
UD
272402011-11-29 Joseph Myers <joseph@codesourcery.com>
27241
27242 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27243 conditional on GCC version.
27244 (__arch_compare_and_exchange_val_8_acq)
27245 (__arch_compare_and_exchange_val_16_acq)
27246 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27247 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27248 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27249
a98275aa
UD
272502011-12-02 Joseph Myers <joseph@codesourcery.com>
27251
27252 * sysdeps/sh/backtrace.c: New file.
27253
d4cc29a2
AS
272542011-12-02 Andreas Schwab <schwab@redhat.com>
27255
27256 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27257 parenthesis.
27258
6257af2d
AS
272592011-12-01 Andreas Schwab <schwab@redhat.com>
27260
27261 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27262 falling back to utime.
27263
b5f44c1a
AS
272642011-11-30 Andreas Schwab <schwab@redhat.com>
27265
27266 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27267 expectations for float.
27268
f3a6cc0a
AS
272692011-11-29 Andreas Schwab <schwab@redhat.com>
27270
27271 * locale/weight.h (findidx): Add parameter len.
27272 * locale/weightwc.h (findidx): Likewise.
27273 * posix/fnmatch_loop.c (FCT): Adjust caller.
27274 * posix/regcomp.c (build_equiv_class): Likewise.
27275 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27276 * posix/regexec.c (check_node_accept_bytes): Likewise.
27277 * string/strcoll_l.c (STRCOLL): Likewise.
27278 * string/strxfrm_l.c (STRXFRM): Likewise.
27279
9d65ea3a
UD
272802011-11-17 Ulrich Drepper <drepper@gmail.com>
27281
27282 * Makefile.in: Remove CVSOPT handling.
27283 * configure.in: Remove use of AC_REVISION.
27284 * iconvdata/Makefile (distribute): No need to filter out CVS.
27285 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27286 handling.
27287
5583a086
AS
272882011-11-16 Andreas Schwab <schwab@redhat.com>
27289
27290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27291 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27292 [USE_AS_STRNCASECMP_L]: Likewise.
27293 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27294 NO_TLS_DIRECT_SEG_REFS.
27295 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27296 Fix argument offsets for non-PIC.
27297 [USE_AS_STRNCASECMP_L]: Likewise.
27298 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27299 NO_TLS_DIRECT_SEG_REFS.
27300
d62a8200
UD
273012011-11-15 Ulrich Drepper <drepper@gmail.com>
27302
9d65ea3a 27303 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27304 O_CLOEXEC.
27305 * locale/loadlocale.c (_nl_load_locale): Likewise.
27306
09f93bd3
AS
273072011-11-15 Andreas Schwab <schwab@redhat.com>
27308
446514f9
AS
27309 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27310 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27311 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27312 (SYSCALL_GETTIME): Set errno on error.
27313
09f93bd3
AS
27314 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27315 count references to noai6ai_cached.
27316
312be3f9
UD
273172011-11-15 Ulrich Drepper <drepper@gmail.com>
27318
27319 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27320
27321 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27322 FD_CLOEXEC for /proc/self/maps.
27323
27324 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27325 FD_CLOEXEC for /proc/meminfo.
27326
27327 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27328 gai.conf.
27329
27330 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27331 FD_CLOEXEC for given file.
27332
27333 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27334
27335 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27336 FD_CLOEXEC for /etc/hosts.
27337 (_gethtent): Likewise.
27338
27339 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27340
27341 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27342 cancellation and set FD_CLOEXEC for /etc/netgroup.
27343
27344 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27345 reading /etc/publickey.
27346
27347 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27348 allow cancellation when reading /etc/group.
27349
27350 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27351 cancellation.
27352 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27353
27354 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27355 when using data file.
27356
27357 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27358
27359 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27360 (write_nis_obj): Use "c" and "e" in fopen.
27361
27362 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27363
27364 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27365
27366 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27367
27368 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27369
27370 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27371 locale.alias.
27372
27373 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27374
27375 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27376
27377 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27378
27379 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27380 file parsing and set FD_CLOEXEC.
27381
82af0fa8
UD
273822011-11-14 Ulrich Drepper <drepper@gmail.com>
27383
27384 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27385
a5fb313c
AS
273862011-11-14 Andreas Schwab <schwab@redhat.com>
27387
27388 * malloc/arena.c (arena_get2): Don't call reused_arena when
27389 _int_new_arena failed.
27390
6abf3465
UD
273912011-11-14 Ulrich Drepper <drepper@gmail.com>
27392
27393 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27394 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27395 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27396 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27397 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27398 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27399 to compile strcasecmp and strncasecmp.
27400 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27401 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27402
27403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27404
76e3966e
UD
274052011-11-13 Ulrich Drepper <drepper@gmail.com>
27406
27407 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27408 locale-defines.sym to gen-as-const-headers.
27409 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27410 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27412 to compile strcasecmp and strncasecmp.
27413 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27414 strcasecmp_l and strncasecmp_l.
27415 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27416 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27417 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27418 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27419 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27420 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27421 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27422 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27423 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27424 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27425 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27426
ab26144e
UD
274272011-11-12 Ulrich Drepper <drepper@gmail.com>
27428
7edb22ef
UD
27429 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27430 result of SYSDEP_GETTIME_CPU to retval.
27431 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27432 parameter list to macro. Remove trailing semicolon. Adjust users.
27433
9694fc44
UD
27434 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27435 variable.
27436
8ad89ef8
UD
27437 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27438 mantissa words.
27439 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27440
0c822ef9
UD
27441 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27442 from unused variable.
27443
874e0564
UD
27444 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27445 DWARF definitions.
27446 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27447 for assembling.
27448
3a2edc79
UD
27449 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27450 over namespaces.
27451
f3c2577f
UD
27452 * sunrpc/rpc_prot.c (rejected): Fix case value.
27453
294ce126
UD
27454 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27455 unsigned long long int to avoid warnings in shift.
27456
5e2b63c6
UD
27457 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27458 of use of trans.
27459 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27460 variable tmp.
27461
e7f4b08e
UD
27462 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27463 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27464 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27465
ab26144e
UD
27466 * nis/nis_table.c (nis_list): Use variable of correct type for
27467 result of __follow_path call.
27468
8a6d5255
AZ
274692011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27470
27471 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27472 of math functions ceil, trunc, floor, round, and sqrt, when
27473 avaliable on the platform.
27474 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27475 name clash.
27476 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27477 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27478 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27479
aaddc98c
MP
274802011-10-30 Marek Polacek <mpolacek@redhat.com>
27481
27482 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27483 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27484
95b7042b
RM
274852011-11-11 Roland McGrath <roland@hack.frob.com>
27486
27487 * include/unistd.h: Fix __readlink return type.
27488 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27489
57769839
UD
274902011-11-11 Ulrich Drepper <drepper@gmail.com>
27491
27492 * stdlib/ucontext.h: Undo last change for makecontext.
27493
edc5984d
AS
274942011-11-11 Andreas Schwab <schwab@redhat.com>
27495
98591e58
AS
27496 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27497
edc5984d
AS
27498 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27499 * setjmp/setjmp.h: Mark functions as non-leaf.
27500 * setjmp/bits/setjmp2.h: Likewise.
27501 * stdlib/ucontext.h: Likewise.
27502
77cdc054
AS
275032011-11-10 Andreas Schwab <schwab@redhat.com>
27504
27505 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27506 (reused_arena): Don't check arena limit.
27507 (arena_get2): Atomically check arena limit.
27508
fe72eebd
UD
275092011-11-08 Ulrich Drepper <drepper@gmail.com>
27510
5f078c32
UD
27511 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27512 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27513
fe72eebd
UD
27514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27515 instructions.
27516
ae1bc2fa
AS
275172011-11-07 Andreas Schwab <schwab@redhat.com>
27518
7583a88d
AS
27519 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27520 handler when locking.
27521
ae1bc2fa
AS
27522 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27523 Fix size of allocated buffer.
27524
10fb0bfa
AS
275252011-11-04 Andreas Schwab <schwab@redhat.com>
27526
998832a4
AS
27527 [BZ #10103]
27528 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27529 declarations for long double functions.
27530 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27531
10fb0bfa
AS
27532 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27533
3d7ba52b
AS
275342011-11-03 Andreas Schwab <schwab@redhat.com>
27535
a9ae54a1
AS
27536 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27537 installed.
27538
3d7ba52b
AS
27539 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27540 is disabled.
27541
bc8db248
ST
275422011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27543
27544 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27545
45b96dd6
AS
275462011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27547
647776f6
AS
27548 * include/alloca.h (stackinfo_alloca_round): Define.
27549 (extend_alloca): Use it.
27550 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27551 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27552 here.
27553
d91a8b93
AS
27554 * scripts/check-local-headers.sh: Ignore libaudit.h.
27555
45b96dd6
AS
27556 * nscd/Makefile (extra-objs): Make recursively expanded.
27557
432d41ce
UD
275582011-11-01 Ulrich Drepper <drepper@gmail.com>
27559
34372fc6
UD
27560 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27561 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27562
fadb59f8
UD
27563 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27564 * posix/tst-rfc3484-2.c: Likewise.
27565 * posix/tst-rfc3484-3.c: Likewise.
27566
78239589
UD
27567 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27568 process_vm_writev.
27569 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27570 process_vm_writev.
27571 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27572 process_vm_writev from libc using GLIBC_2.15 version.
27573
432d41ce
UD
27574 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27575
02f9c6cf
PP
275762011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27577
27578 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27579 stack usage.
27580
3a2c0242
UD
275812011-10-31 Ulrich Drepper <drepper@gmail.com>
27582
f4ec4833
UD
27583 [BZ #13367]
27584 * nss/getent.c (initgroups_keys): Show error message in case no group
27585 names are given.
27586
3a2c0242
UD
27587 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27588 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27589 __bump_nl_timestamp.
27590 * nscd/connections (nscd_init): When host database is served open
27591 netlink socket and request notification about configuration changes.
27592 (main_loop_poll): Track netlink file descriptor and bump timestamp
27593 in case data becomes available.
27594 (main_loop_epoll): Likewise.
27595 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27596 (database_pers_head): Add extra_data fileds.
27597 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27598 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27599 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27600 Adjust caller.
27601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27602 in6ai data, call __free_in6ai.
27603 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27604 Add -DHAVE_NETLINK.
27605 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27606 interface information. Reuse previous data if netlink timestamp
27607 is not changed.
27608 (__bump_nl_timestamp): New function.
27609 (__free_in6ai): New function.
27610
636064eb
UD
276112011-10-30 Ulrich Drepper <drepper@gmail.com>
27612
27613 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27614 close_not_cancel_no_status here.
27615 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27616
9beb2334
UD
276172011-10-29 Ulrich Drepper <drepper@gmail.com>
27618
6ef76f3b
UD
27619 [BZ #13276]
27620 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27621 return value.
27622
0ffc4f3e 27623 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27624 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27625 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27626
cb95113e
UD
276272011-07-03 Andreas Jaeger <aj@suse.de>
27628
27629 [BZ #10709]
27630 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27631 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27632 * math/libm-test.inc (sin_test): Add test case.
27633
a1b560ff
UD
276342011-10-29 Ulrich Drepper <drepper@gmail.com>
27635
c9aaface
UD
27636 [BZ #13337]
27637 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27638 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27639
d272e7f1
UD
27640 * elf/chroot_canon.c (chroot_canon): Cleanups.
27641
1bc33071
UD
27642 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27643
1760874d
TJ
27644 [BZ #13335]
27645 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27646 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27647
51d91b18
UD
27648 * string/test-strchr.c: Make usable for strchrnul testing.
27649 * string/test-strchrnul.c: New file.
27650 * string/Makefile (strop-tests): Add strchrnul.
27651
a1b560ff 27652 * po/it.po: Update from translation team.
b611fb81 27653 * po/es.po: Likewise.
a1b560ff 27654
a5b81e1f
UD
276552011-10-28 Ulrich Drepper <drepper@gmail.com>
27656
fd52bc6d
UD
27657 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27658 the three constants needed as parameters. Drop the others.
27659 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27660 __m128i_strloadu_tolower.
52e4b9eb
UD
27661 Create and initialize variable zero and use it in all the places
27662 where _mm_setzero_si128 was used.
fd52bc6d 27663
a5b81e1f
UD
27664 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27665 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27666 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27667 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27668 anymore.
27669 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27670 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27671 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27672 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27673 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27674 __mpranred, __mptan.
27675 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27676 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27677 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27678 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27679 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27680 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27681 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27682 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27683 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27684
b4343346
AS
276852011-10-28 Andreas Schwab <schwab@redhat.com>
27686
0c92d8a8
AS
27687 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27688 redefine if SHARED.
27689 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27690
b4343346
AS
27691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27692 wide char related routines to wcsmbs subdir.
27693
3871f58f
AS
276942011-10-27 Andreas Schwab <schwab@redhat.com>
27695
27696 [BZ #13344]
27697 * misc/sys/cdefs.h (__THROWNL): Define.
27698 * posix/unistd.h: Use __THREADNL instead of __THREAD
27699 for memory synchronization functions.
27700
94d44d9f
RM
277012011-10-26 Roland McGrath <roland@hack.frob.com>
27702
21b64b15 27703 [BZ #13349]
94d44d9f
RM
27704 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27705 doesn't exist.
27706 * manual/stdio.texi (Obstack Streams): Node removed.
27707
f6ce9294
AS
277082011-10-26 Andreas Schwab <schwab@redhat.com>
27709
80479147
AS
27710 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27711 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27712 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27713
f6ce9294
AS
27714 * math/math_private.h (math_force_eval): Allow non-addressable
27715 arguments.
27716 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27717
618280a1
UD
277182011-10-25 Ulrich Drepper <drepper@gmail.com>
27719
e0016b11
UD
27720 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27721 file is not needed.
27722
27723 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27724 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27725 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27726 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27727 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27728 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27729 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27730 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27731 Add AVX variants.
27732 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27733 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27734 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27735 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27736 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27737 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27738 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27739 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27740 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27741 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27742 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27743 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27744 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27745 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27746 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27747 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27748 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27749 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27750 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27751
27752 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27753 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27754
618280a1
UD
27755 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27756 place. Use VEX encoding when compiling for AVX.
27757
37822576
AS
277582011-10-25 Andreas Schwab <schwab@redhat.com>
27759
1f1e1947
AS
27760 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27761 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27762
37822576
AS
27763 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27764
31ea014d
UD
277652011-10-25 Ulrich Drepper <drepper@gmail.com>
27766
d7826aa1 27767 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27768 useless if() expression.
d7826aa1
UD
27769 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27770 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27771 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27772 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27773 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27774 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27775 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27777 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27778 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27779 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27781 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27782 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27783 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27784 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27785 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27787 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27788
31ea014d
UD
27789 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27790
16437fec
AS
277912011-10-25 Andreas Schwab <schwab@redhat.com>
27792
27793 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27794 condition.
27795 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27796
31d3cc00
UD
277972011-10-25 Ulrich Drepper <drepper@gmail.com>
27798
27799 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27800 .text section. Avoid duplicate constants.
27801 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27802 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27803 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27804 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27805 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27806 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27807 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27808 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27809 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27810 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27811 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27812 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27813 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27814 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27815 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27816 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27817 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27818 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27819 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27820 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27821 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27822 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27823 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27824 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27825 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27826 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27827 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27828 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27829 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27830 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27831 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27832 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27833 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27834 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27835 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27836 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27837 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27838 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27839 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27840 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27841 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27842 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27843 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27844 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27845 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27846
58985aa9
UD
278472011-10-24 Ulrich Drepper <drepper@gmail.com>
27848
202c9deb
UD
27849 * sysdeps/x86_64/dla.h: Move to ...
27850 * sysdeps/x86_64/fpu/dla.h: ...here.
27851 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27852 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27853
af968f62
UD
27854 * config.make.in: Add have-mfma4 entry.
27855 * configure.in: Substitute libc_cv_cc_fma4.
27856 * math/Makefile (dbl-only-routines): Add sincostab.
27857 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27858 Use __sincostab not sincos.
27859 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27860 name is a macro.
27861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27862 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27863 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27865 using __copysign.
27866 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27867 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27868 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27869 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27870 and __inv.
27871 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27872 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27873 __copysign.
27874 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27875 define aliases when function name is a macro.
27876 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27877 sysdeps/ieee754/dbl-64/sincos.tbl.
27878 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27879 fma4-enabled routines.
27880 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27881 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27882 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27883 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27884 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27885 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27886 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27887 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27888 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27889 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27890 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27891 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27892 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27893 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27894 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27895 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27896 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27897 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27898 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27899 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27900 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27901 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27902 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27903 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27904 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27905 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27906 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27907 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27908 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27909 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27910
58985aa9
UD
27911 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27912 rename.
27913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27914 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27916 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27921
a201fbcf
AS
279222011-10-24 Andreas Schwab <schwab@redhat.com>
27923
27924 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27925
fc2ee42a
LD
279262011-10-23 Ulrich Drepper <drepper@gmail.com>
27927
bb3129bd
UD
27928 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27929
0275fff8
UD
27930 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27931 prediction.
27932 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27933
2fa2ae85
UD
27934 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27935 Remove unused variable magic_bits.
27936 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27937
fc2ee42a
LD
27938 * string/strnlen.c: Define and use STRNLEN macro.
27939 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27940 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27941 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27942 * wcsmbs/wcslen.c: Define and use WCSLEN.
27943 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27944 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27945 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27946 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27947 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27948 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27949 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27950
ce7dd29f
LD
279512011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27952
27953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27954 strnlen-sse2-no-bsf.
27955 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27956 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27957 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27958 Add strnlen support.
27959 (USE_AS_STRNLEN): New macro.
27960 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27961 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27962 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27963 * sysdeps/x86_64/wcslen.S: New file.
27964
979c70a3
MZ
279652011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27966
27967 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27968 XMM-moves are used for copying on small sizes.
27969
2d09f82f
LD
279702011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27971
27972 * wcsmbs/Makefile (strop-tests): Add wcschr.
27973 * wcsmbs/test-wcschr.c: New file.
27974 * string/test-strchr.c: Update.
27975 Add wcschr support.
27976 (WIDE): New macro.
27977
619fccca
LD
279782011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27979
2d09f82f 27980 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27981 * wcsmbs/test-wcslen.c: New file.
27982 * string/test-strlen.c: Update.
27983 Add wcslen support.
27984 (WIDE): New macro.
27985
09f699ea
UD
279862011-10-23 Ulrich Drepper <drepper@gmail.com>
27987
27988 * po/it.po: Update from translation team.
27989
95584d3b
LD
279902011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27991
27992 * sysdeps/x86_64/wcscmp.S: Update.
27993 Fix wrong comparison semantics.
27994 wcscmp shall use signed comparison not unsigned.
27995 Don't use substraction to avoid overflow bug.
27996 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27997 * wcsmbc/wcscmp.c: Likewise.
27998 * string/test-strcmp.c: Likewise.
27999 Add new tests to check cases with negative values.
28000
c8b3296b
UD
280012011-10-23 Ulrich Drepper <drepper@gmail.com>
28002
28003 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28004 * sysdeps/x86_64/dla.h: ...here. New file.
28005 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28007 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28010 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28011 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28014
246ad57a
AS
280152011-10-23 Andreas Schwab <schwab@linux-m68k.org>
28016
28017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28018 __ynl_finite aliases.
28019
a1a87169
UD
280202011-10-22 Ulrich Drepper <drepper@gmail.com>
28021
0d355eb7
UD
28022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28023
a1a87169
UD
28024 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28025 define DLA_FMA.
28026 [DLA_FMA] (EMULV): Use DLA_FMA.
28027 [DLA_FMA] (MUL12): Use EMULV.
28028 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28029 that are not needed.
28030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28034 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28036 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28037
ee2aafe0
AS
280382011-10-22 Andreas Schwab <schwab@linux-m68k.org>
28039
28040 * math/s_nan.c: Undef __nan.
28041 * math/s_nanf.c: Undef __nanf.
28042 * math/s_nanl.c: Undef __nanl.
28043 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28044 "math_private.h".
28045
bc62c2fb
UD
280462011-10-22 Ulrich Drepper <drepper@gmail.com>
28047
77425c63
UD
28048 * math/s_catan.c: Add branch predictions.
28049 * math/s_catanf.c: Likewise.
28050 * math/s_catanh.c: Likewise.
28051 * math/s_catanhf.c: Likewise.
28052 * math/s_catanhl.c: Likewise.
28053 * math/s_catanl.c: Likewise.
28054 * math/s_cexp.c: Likewise.
28055 * math/s_cexpf.c: Likewise.
28056 * math/s_cexpl.c: Likewise.
28057 * math/s_clog.c: Likewise.
28058 * math/s_clog10.c: Likewise.
28059 * math/s_clog10f.c: Likewise.
28060 * math/s_clog10l.c: Likewise.
28061 * math/s_clogf.c: Likewise.
28062 * math/s_clogl.c: Likewise.
28063 * math/s_csqrt.c: Likewise.
28064 * math/s_csqrtf.c: Likewise.
28065 * math/s_csqrtl.c: Likewise.
28066 * math/s_ctanf.c: Likewise.
28067 * math/s_ctanh.c: Likewise.
28068 * math/s_ctanhf.c: Likewise.
28069 * math/s_ctanhl.c: Likewise.
28070 * math/s_ctanl.c: Likewise.
28071
bc62c2fb
UD
28072 * math/math_private.h: Define __nan, __nanf, __nanl.
28073 * math/s_cacosh.c: Include <math_private.h>.
28074 * math/s_cacoshl.c: Likewise.
28075 * math/s_casinh.c: Likewise.
28076 * math/s_casinhf.c: Likewise.
28077 * math/s_casinhl.c: Likewise.
28078 * math/s_ccos.c: Rely entire on ccosh.
28079 * math/s_ccosf.c: Rely entire on ccoshf.
28080 * math/s_ccosl.c: Rely entirely on ccoshl.
28081 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28082 Remove tests for FE_INVALID.
28083 * math/s_ccoshf.c: Likewise.
28084 * math/s_ccoshl.c: Likewise.
28085 * math/s_csin.c: Likewise.
28086 * math/s_csinf.c: Likewise.
28087 * math/s_csinh.c Likewise.
28088 * math/s_csinhf.c: Likewise.
28089 * math/s_csinhl.c: Likewise.
28090 * math/s_csinl.c: Likewise.
28091 * math/s_ctan.c: Likewise.
28092 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28093 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28094 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28095
8ec250a4
UD
280962011-10-21 Ulrich Drepper <drepper@gmail.com>
28097
c196fed8
UD
28098 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28099 compilation problems.
28100
8ec250a4
UD
28101 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28102 __builtin_expect.
28103
8d4f46c6
UD
281042011-10-20 Ulrich Drepper <drepper@gmail.com>
28105
ed72b654
UD
28106 * sysdeps/i386/configure.in: Test for -mfma4 option.
28107 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28108 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28109 COMMON_CPUID_INDEX_80000001.
28110 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28111 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28112 use it if FMA3 is not supported.
28113 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28114
8d4f46c6
UD
28115 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28116 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28117
d45c60c2
AS
281182011-10-20 Andreas Schwab <schwab@redhat.com>
28119
28120 [BZ #12892]
28121 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28122 it would create a cycle with a link time dependency.
28123
d9a4d2ab
UD
281242011-10-19 Ulrich Drepper <drepper@gmail.com>
28125
855d1560
UD
28126 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28127 instruction.
28128 * string/Makefile (strop-tests): Add rawmemchr.
28129 * string/test-rawmemchr.c: New file.
28130
d9a4d2ab
UD
28131 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28132 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28133 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28134 when compiling str{,n}casecmp and when AVX is available. Hook up
28135 new optimized code in initializers.
28136
8f3b1ffe
AS
281372011-10-19 Andreas Schwab <schwab@redhat.com>
28138
28139 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28140 __feraiseexcept instead of feraiseexcept.
28141
d38f1dba
UD
281422011-10-18 Ulrich Drepper <drepper@gmail.com>
28143
d9a8d0ab
UD
28144 * math/math_private.h: Define defaults for libc_fetestexcept and
28145 libc_feupdateenv.
28146 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28147 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28148 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28149 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28150 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28151 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28152 libc_fetestexcept and libc_feupdateenv.
28153
4855e3dd
UD
28154 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28155 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28156 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28157 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28158 libc_feholdexcept_setround.
28159
581d30e3
UD
28160 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28161 Add s_nearbyint-c and s_nearbyintf-c.
28162 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28163 nearbyintf inlines.
28164 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28165 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28166 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28167 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28168
d38f1dba
UD
28169 * math/math_private.h: Define defaults for libc_fegetround,
28170 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28171 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28172 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28173 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28174 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28175 standard functions.
28176 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28177 Remove comments and hacks for old compiler versions.
28178 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28179 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28180 libc_feholdexceptl.
28181
caa6c9d8
AS
281822011-10-18 Andreas Schwab <schwab@redhat.com>
28183
28184 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28185 (__feraiseexcept_renamed): Add __NTH.
28186 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28187 namespace violations.
28188
97c066e6
UD
281892011-10-17 Ulrich Drepper <drepper@gmail.com>
28190
99ce7b04
UD
28191 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28192
1004d182
UD
28193 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28194
228a984d
UD
28195 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28196 recently added interfaces.
28197 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28198
c8553a6a
UD
28199 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28200 about macro parameter expansion.
28201
ed22dcf6
UD
28202 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28203 __NO_MATH_INLINES is defined. Cleanups.
28204
28205 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28206 and __floorf is target has SSE4.1.
28207 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28208 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28209 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28210 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28211
b171c137
UD
28212 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28213 name.
28214 (floorf): Likewise.
28215
97c066e6
UD
28216 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28217
629f62ef
AS
282182011-10-17 Andreas Schwab <schwab@redhat.com>
28219
49a43d80
AS
28220 * misc/sys/cdefs.h: Fix last change.
28221
629f62ef
AS
28222 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28223 database lookup.
28224
e453f6cd
UD
282252011-10-16 Ulrich Drepper <drepper@gmail.com>
28226
aa78043a
UD
28227 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28228
ad0f5cad
UD
28229 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28232 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28234 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28235 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28236 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28237 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28238 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28239 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28240 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28241 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28242 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28243 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28244 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28245 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28246 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28247 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28248 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28249 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28250 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28251
28252 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28253 ceil, ceilf, floor, floorf.
28254
28255 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28256 Perform IRELATIVE relocations last.
28257
e453f6cd
UD
28258 * elf/do-rel.h: Add another parameter nrelative, replacing the
28259 local variable with the same name. Change name of the function
28260 to end in Rel or Rela (uppercase).
28261 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28262 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28263 elf_dynamic_do_##reloc function.
28264
fd5bdc09
UD
282652011-10-15 Ulrich Drepper <drepper@gmail.com>
28266
79b195b5
UD
28267 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28268 is sufficient, at least on modern CPUs.
28269
d4a28569
UD
28270 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28271
b61099b5
UD
28272 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28273 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28274
bcf01e6d
UD
28275 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28276 __expl_finite.
28277 * math/bits/math-finite.h: Add entries for exp.
28278 * math/e_expl.c: Add __*_finite alias.
28279 * sysdeps/i386/fpu/e_exp.S: Likewise.
28280 * sysdeps/i386/fpu/e_expf.S: Likewise.
28281 * sysdeps/i386/fpu/e_expl.c: Likewise.
28282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28283 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28286 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28287 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28288 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28289
ba1a0d59
UD
28290 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28291 is sufficient, at least on modern CPUs.
28292
fd5bdc09
UD
28293 * ctype/ctype-info.c (__ctype_init): Define.
28294 * include/ctype.h (__ctype_init): Declare.
28295 (__ctype_b_loc): The variable is always initialized.
28296 (__ctype_toupper_loc): Likewise.
28297 (__ctype_tolower_loc): Likewise.
28298 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28299 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28300
7872cfb0
AS
283012011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28302
b468825a
AS
28303 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28304
7872cfb0
AS
28305 * configure.in: Also look in $cxxmachine/include for C++ system
28306 headers.
28307
be13f7bf
LD
283082011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28309
28310 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28311 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28312 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28313 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28314 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28315 (USE_AS_WMEMCMP): New macro.
28316 Fixing indents.
28317 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28318 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28319 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28320 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28322 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28323 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28325 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28326 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28327 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28328 (USE_AS_WMEMCMP): New macro.
28329 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28330 * sysdeps/string/test-memcmp.c: Update.
28331 Fix simple_wmemcmp.
28332 Add new tests.
28333 * wcsmbs/wmemcmp.c: Update.
28334 (WMEMCMP): New macro.
28335 Fix overflow bug.
28336
556a2007
AJ
283372011-10-12 Andreas Jaeger <aj@suse.de>
28338
28339 [BZ #13268]
28340 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28341
538faaa7
UD
283422011-10-15 Ulrich Drepper <drepper@gmail.com>
28343
ab6737ff
UD
28344 * libio/iofwide.c (do_length): Avoid warning.
28345
538faaa7
UD
28346 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28347
396a21b1
UD
283482011-10-14 Ulrich Drepper <drepper@gmail.com>
28349
cdf2901f
UD
28350 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28351
38ad40ce
UD
28352 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28353 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28354 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28355 * sysdeps/i386/i686/fpu/e_log.S: New file.
28356 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28357 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28358
396a21b1
UD
28359 * ctype/ctype.h: Add support for inlined isXXX functions when
28360 compiling C++ code.
28361
6b1f68c9
AS
283622011-10-14 Andreas Schwab <schwab@redhat.com>
28363
349290c0
AS
28364 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28365
6b1f68c9
AS
28366 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28367
f2282d42
RM
283682011-10-13 Roland McGrath <roland@hack.frob.com>
28369
28370 [BZ #13291]
28371 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28372
5298ffa8
AS
283732011-10-13 Andreas Schwab <schwab@redhat.com>
28374
714fad23
AS
28375 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28376 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28377 feraiseexcept.
28378
81dcc7fb
AS
28379 * sysdeps/x86_64/memrchr.S: Check for zero size.
28380
5298ffa8
AS
28381 * string/stratcliff.c: Add memrchr tests.
28382
951fbcec
LD
283832011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28384
28385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28386 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28387 rawmemchr-sse2 rawmemchr-sse2-bsf.
28388 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28389 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28390 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28391 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28392 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28393 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28394 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28395 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28396 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28397 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28398 * string/memrchr.c (MEMRCHR): New macro.
28399
0ac5ae23
UD
284002011-10-12 Ulrich Drepper <drepper@gmail.com>
28401
28402 Add integration with gcc's -ffinite-math-only and optimize wrapper
28403 functions in libm.
28404 * Versions.def: Define GLIBC_2.15 version for libm.
28405 * math/Makefile (headers): Add bits/math-finite.h.
28406 * math/bits/math-finite.h: New file.
28407 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28408 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28409 * math/e_acoshl.c: Add __*_finite alias.
28410 * math/e_acosl.c: Likewise.
28411 * math/e_asinl.c: Likewise.
28412 * math/e_atan2l.c: Likewise.
28413 * math/e_atanhl.c: Likewise.
28414 * math/e_coshl.c: Likewise.
28415 * math/e_exp10.c: Likewise.
28416 * math/e_exp10f.c: Likewise.
28417 * math/e_exp10l.c: Likewise.
28418 * math/e_exp2l.c: Likewise.
28419 * math/e_fmodl.c: Likewise.
28420 * math/e_gammal_r.c: Likewise.
28421 * math/e_hypotl.c: Likewise.
28422 * math/e_j0l.c: Likewise.
28423 * math/e_j1l.c: Likewise.
28424 * math/e_jnl.c: Likewise.
28425 * math/e_lgammal_r.c: Likewise.
28426 * math/e_log10l.c: Likewise.
28427 * math/e_log2l.c: Likewise.
28428 * math/e_logl.c: Likewise.
28429 * math/e_powl.c: Likewise.
28430 * math/e_sinhl.c: Likewise.
28431 * math/e_sqrtl.c: Likewise.
28432 * math/e_scalb.c: Completely rewritten and optimized.
28433 * math/e_scalbf.c: Likewise.
28434 * math/e_scalbl.c: Likewise.
28435 * math/w_acos.c: Likewise.
28436 * math/w_acosf.c: Likewise.
28437 * math/w_acosl.c: Likewise.
28438 * math/w_acosh.c: Likewise.
28439 * math/w_acoshf.c: Likewise.
28440 * math/w_acoshl.c: Likewise.
28441 * math/w_asin.c: Likewise.
28442 * math/w_asinf.c: Likewise.
28443 * math/w_asinl.c: Likewise.
28444 * math/w_atan2.c: Likewise.
28445 * math/w_atan2f.c: Likewise.
28446 * math/w_atan2l.c: Likewise.
28447 * math/w_atanh.c: Likewise.
28448 * math/w_atanhf.c: Likewise.
28449 * math/w_atanhl.c: Likewise.
28450 * math/w_exp10.c: Likewise.
28451 * math/w_exp10f.c: Likewise.
28452 * math/w_exp10l.c: Likewise.
28453 * math/w_fmod.c: Likewise.
28454 * math/w_fmodf.c: Likewise.
28455 * math/w_fmodl.c: Likewise.
28456 * math/w_j0.c: Likewise.
28457 * math/w_j0f.c: Likewise.
28458 * math/w_j0l.c: Likewise.
28459 * math/w_j1.c: Likewise.
28460 * math/w_j1f.c: Likewise.
28461 * math/w_j1l.c: Likewise.
28462 * math/w_jn.c: Likewise.
28463 * math/w_jnf.c: Likewise.
28464 * math/w_log.c: Likewise.
28465 * math/w_logf.c: Likewise.
28466 * math/w_logl.c: Likewise.
28467 * math/w_log10.c: Likewise.
28468 * math/w_log10f.c: Likewise.
28469 * math/w_log10l.c: Likewise.
28470 * math/w_log2.c: Likewise.
28471 * math/w_log2f.c: Likewise.
28472 * math/w_log2l.c: Likewise.
28473 * math/w_pow.c: Likewise.
28474 * math/w_powf.c: Likewise.
28475 * math/w_powl.c: Likewise.
28476 * math/w_remainder.c: Likewise.
28477 * math/w_remainderf.c: Likewise.
28478 * math/w_remainderl.c: Likewise.
28479 * math/w_scalb.c: Likewise.
28480 * math/w_scalbf.c: Likewise.
28481 * math/w_scalbl.c: Likewise.
28482 * math/w_sqrt.c: Likewise.
28483 * math/w_sqrtf.c: Likewise.
28484 * math/w_sqrtl.c: Likewise.
28485 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28486 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28487 used.
28488 * math/math_private.h: Declare __kernel_standard_f.
28489 * math/w_cosh.c: Remove cruft and optimize a bit.
28490 * math/w_coshf.c: Likewise.
28491 * math/w_coshl.c: Likewise.
28492 * math/w_exp2.c: Likewise.
28493 * math/w_exp2f.c: Likewise.
28494 * math/w_exp2l.c: Likewise.
28495 * math/w_hypot.c: Likewise.
28496 * math/w_hypotf.c: Likewise.
28497 * math/w_hypotl.c: Likewise.
28498 * math/w_lgamma.c: Likewise.
28499 * math/w_lgamma_r.c: Likewise.
28500 * math/w_lgammaf.c: Likewise.
28501 * math/w_lgammaf_r.c: Likewise.
28502 * math/w_lgammal.c: Likewise.
28503 * math/w_lgammal_r.c: Likewise.
28504 * math/w_sinh.c: Likewise.
28505 * math/w_sinhf.c: Likewise.
28506 * math/w_sinhl.c: Likewise.
28507 * math/w_tgamma.c: Likewise.
28508 * math/w_tgammaf.c: Likewise.
28509 * math/w_tgammal.c: Likewise.
28510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28511 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28512 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28513 Minor optimizations. Pretty printing. Remove cruft.
28514 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28515 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28516 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28517 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28518 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28519 * sysdeps/i386/fpu/e_asin.S: Likewise.
28520 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28521 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28522 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28523 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28524 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28525 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28526 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28527 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28528 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28529 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28530 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28531 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28532 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28533 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28534 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28535 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28536 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28537 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28538 * sysdeps/i386/fpu/e_log.S: Likewise.
28539 * sysdeps/i386/fpu/e_log10.S: Likewise.
28540 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28541 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28542 * sysdeps/i386/fpu/e_log2.S: Likewise.
28543 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28544 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28545 * sysdeps/i386/fpu/e_logf.S: Likewise.
28546 * sysdeps/i386/fpu/e_logl.S: Likewise.
28547 * sysdeps/i386/fpu/e_pow.S: Likewise.
28548 * sysdeps/i386/fpu/e_powf.S: Likewise.
28549 * sysdeps/i386/fpu/e_powl.S: Likewise.
28550 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28551 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28552 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28553 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28554 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28555 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28556 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28557 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28558 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28559 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28560 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28561 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28562 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28563 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28564 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28565 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28566 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28567 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28568 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28569 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28570 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28572 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28573 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28575 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28576 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28577 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28578 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28579 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28580 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28581 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28582 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28583 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28584 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28585 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28586 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28587 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28588 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28589 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28590 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28591 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28592 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28593 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28594 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28595 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28596 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28597 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28598 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28599 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28600 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28639 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28642 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28644 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28645 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28647 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28648 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28650 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28651 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28652 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28653 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28654 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28655 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28656 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28657 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28658 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28659 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28660 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28661 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28662 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28663 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28664 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28665 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28667 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28668 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28669 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28670 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28671 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28672 (__isnanf): Likewise.
28673 (__isinf_ns): Likewise.
28674 (__isinf_nsf): Likewise.
28675 (__finite): Likewise.
28676 (__finitef): Likewise.
28677 (__ieee754_sqrt): Define as macro.
28678 (__ieee754_sqrtf): Define as macro.
28679 (__ieee754_sqrtl): Define as macro.
28680 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28681 inlined copy.
28682 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28683 __FINITE_MATH_ONLY__ consistent.
28684 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28685
12cc2fcd
AS
286862011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28687
a843a204
AS
28688 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28689 of rawmemchr.
28690
12cc2fcd
AS
28691 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28692
c853acd5
UD
286932011-10-09 Ulrich Drepper <drepper@gmail.com>
28694
28695 * po/ja.po: Update from translation team.
28696
c658d255
RM
286972011-10-08 Roland McGrath <roland@hack.frob.com>
28698
110946e4
RM
28699 * locale/programs/locarchive.c (prepare_address_space): New function.
28700 (create_archive, enlarge_archive, open_archive): Use it.
28701
50604220
RM
28702 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28703 inside [SHARED], where it is used.
28704
c658d255
RM
28705 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28706
28707 * nss/getent.c (netgroup_keys): Remove unused variable.
28708 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28709
6a621eb7
UD
287102011-10-08 Ulrich Drepper <drepper@gmail.com>
28711
7edb55ce
UD
28712 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28713 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28714 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28715 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28716 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28717 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28718 * math/Makefile (libm-calls): Add s_isinf_ns.
28719 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28720 * math/multc3.c: Likewise.
28721 * math/s_casin.c: Likewise.
28722 * math/s_casinf.c: Likewise.
28723 * math/s_casinl.c: Likewise.
28724 * math/s_ccos.c: Likewise.
28725 * math/s_ccosf.c: Likewise.
28726 * math/s_ccosl.c: Likewise.
28727 * math/s_ctan.c: Likewise.
28728 * math/s_ctanf.c: Likewise.
28729 * math/s_ctanh.c: Likewise.
28730 * math/s_ctanhf.c: Likewise.
28731 * math/s_ctanhl.c: Likewise.
28732 * math/s_ctanl.c: Likewise.
28733 * math/w_fmod.c: Likewise.
28734 * math/w_fmodf.c: Likewise.
28735 * math/w_fmodl.c: Likewise.
28736 * math/w_remainder.c: Likewise.
28737 * math/w_remainderf.c: Likewise.
28738 * math/w_remainderl.c: Likewise.
28739 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28740 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28741 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28742 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28743 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28744 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28745 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28746 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28747
187da0ae
UD
28748 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28749 of the number.
28750 * stdio-common/printf_fphex.c: Likewise.
28751 * stdio-common/printf_size.c: Likewise.
28752
9277c064
UD
28753 * math/e_exp10.c: Include math_private.h using <...> not "...".
28754 * math/e_exp10f.c: Likewise.
28755 * math/e_exp10l.c: Likewise.
28756 * math/e_exp2l.c: Likewise.
28757 * math/e_j0l.c: Likewise.
28758 * math/e_j1l.c: Likewise.
28759 * math/e_jnl.c: Likewise.
28760 * math/e_lgammal_r.c: Likewise.
28761 * math/e_rem_pio2l.c: Likewise.
28762 * math/e_scalb.c: Likewise.
28763 * math/e_scalbf.c: Likewise.
28764 * math/e_scalbl.c: Likewise.
28765 * math/k_cosl.c: Likewise.
28766 * math/k_sinl.c: Likewise.
28767 * math/k_tanl.c: Likewise.
28768 * math/s_cacoshf.c: Likewise.
28769 * math/s_catan.c: Likewise.
28770 * math/s_catanf.c: Likewise.
28771 * math/s_catanh.c: Likewise.
28772 * math/s_catanhf.c: Likewise.
28773 * math/s_catanhl.c: Likewise.
28774 * math/s_catanl.c: Likewise.
28775 * math/s_ccosh.c: Likewise.
28776 * math/s_ccoshf.c: Likewise.
28777 * math/s_ccoshl.c: Likewise.
28778 * math/s_cexp.c: Likewise.
28779 * math/s_cexpf.c: Likewise.
28780 * math/s_cexpl.c: Likewise.
28781 * math/s_clog.c: Likewise.
28782 * math/s_clog10.c: Likewise.
28783 * math/s_clog10f.c: Likewise.
28784 * math/s_clog10l.c: Likewise.
28785 * math/s_clogf.c: Likewise.
28786 * math/s_clogl.c: Likewise.
28787 * math/s_csin.c: Likewise.
28788 * math/s_csinf.c: Likewise.
28789 * math/s_csinh.c: Likewise.
28790 * math/s_csinhf.c: Likewise.
28791 * math/s_csinhl.c: Likewise.
28792 * math/s_csinl.c: Likewise.
28793 * math/s_csqrt.c: Likewise.
28794 * math/s_csqrtf.c: Likewise.
28795 * math/s_csqrtl.c: Likewise.
28796 * math/s_ctan.c: Likewise.
28797 * math/s_ctanf.c: Likewise.
28798 * math/s_ctanh.c: Likewise.
28799 * math/s_ctanhf.c: Likewise.
28800 * math/s_ctanhl.c: Likewise.
28801 * math/s_ctanl.c: Likewise.
28802 * math/s_ldexp.c: Likewise.
28803 * math/s_ldexpf.c: Likewise.
28804 * math/s_ldexpl.c: Likewise.
28805 * math/s_significand.c: Likewise.
28806 * math/s_significandf.c: Likewise.
28807 * math/s_significandl.c: Likewise.
28808 * math/w_acos.c: Likewise.
28809 * math/w_acosf.c: Likewise.
28810 * math/w_acosh.c: Likewise.
28811 * math/w_acoshf.c: Likewise.
28812 * math/w_acoshl.c: Likewise.
28813 * math/w_acosl.c: Likewise.
28814 * math/w_asin.c: Likewise.
28815 * math/w_asinf.c: Likewise.
28816 * math/w_asinl.c: Likewise.
28817 * math/w_atan2.c: Likewise.
28818 * math/w_atan2f.c: Likewise.
28819 * math/w_atan2l.c: Likewise.
28820 * math/w_atanh.c: Likewise.
28821 * math/w_atanhf.c: Likewise.
28822 * math/w_atanhl.c: Likewise.
28823 * math/w_cosh.c: Likewise.
28824 * math/w_coshf.c: Likewise.
28825 * math/w_coshl.c: Likewise.
28826 * math/w_dremf.c: Likewise.
28827 * math/w_exp10.c: Likewise.
28828 * math/w_exp10f.c: Likewise.
28829 * math/w_exp10l.c: Likewise.
28830 * math/w_exp2.c: Likewise.
28831 * math/w_exp2f.c: Likewise.
28832 * math/w_fmod.c: Likewise.
28833 * math/w_fmodf.c: Likewise.
28834 * math/w_fmodl.c: Likewise.
28835 * math/w_hypot.c: Likewise.
28836 * math/w_hypotf.c: Likewise.
28837 * math/w_hypotl.c: Likewise.
28838 * math/w_j0.c: Likewise.
28839 * math/w_j0f.c: Likewise.
28840 * math/w_j0l.c: Likewise.
28841 * math/w_j1.c: Likewise.
28842 * math/w_j1f.c: Likewise.
28843 * math/w_j1l.c: Likewise.
28844 * math/w_jn.c: Likewise.
28845 * math/w_jnf.c: Likewise.
28846 * math/w_jnl.c: Likewise.
28847 * math/w_lgamma.c: Likewise.
28848 * math/w_lgamma_r.c: Likewise.
28849 * math/w_lgammaf.c: Likewise.
28850 * math/w_lgammaf_r.c: Likewise.
28851 * math/w_lgammal.c: Likewise.
28852 * math/w_lgammal_r.c: Likewise.
28853 * math/w_log.c: Likewise.
28854 * math/w_log10.c: Likewise.
28855 * math/w_log10f.c: Likewise.
28856 * math/w_log10l.c: Likewise.
28857 * math/w_log2.c: Likewise.
28858 * math/w_log2f.c: Likewise.
28859 * math/w_log2l.c: Likewise.
28860 * math/w_logf.c: Likewise.
28861 * math/w_logl.c: Likewise.
28862 * math/w_pow.c: Likewise.
28863 * math/w_powf.c: Likewise.
28864 * math/w_powl.c: Likewise.
28865 * math/w_remainder.c: Likewise.
28866 * math/w_remainderf.c: Likewise.
28867 * math/w_remainderl.c: Likewise.
28868 * math/w_scalb.c: Likewise.
28869 * math/w_scalbf.c: Likewise.
28870 * math/w_scalbl.c: Likewise.
28871 * math/w_sinh.c: Likewise.
28872 * math/w_sinhf.c: Likewise.
28873 * math/w_sinhl.c: Likewise.
28874 * math/w_sqrt.c: Likewise.
28875 * math/w_sqrtf.c: Likewise.
28876 * math/w_sqrtl.c: Likewise.
28877 * math/w_tgamma.c: Likewise.
28878 * math/w_tgammaf.c: Likewise.
28879 * math/w_tgammal.c: Likewise.
28880
6a621eb7
UD
28881 * po/ja.po: Update from translation team.
28882
bf582445
AJ
288832011-09-29 Andreas Jaeger <aj@suse.de>
28884
f9efbf3a
AJ
28885 [BZ #13179]
28886 * sunrpc/netname.c (netname2host): Fix logic.
28887
bf582445
AJ
28888 [BZ #6779]
28889 [BZ #6783]
28890 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28891 correctly.
28892 * math/w_remainder.c (__remainder): Likewise.
28893 * math/w_remainderf.c (__remainderf): Likewise.
28894 * math/libm-test.inc (remainder_test): Add test cases.
28895
48693bea
AK
288962011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28897
28898 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28899 sdiv_qrnnd.
28900
42622229
LD
289012011-10-07 Ulrich Drepper <drepper@gmail.com>
28902
28903 * string/test-memcmp.c: Avoid unncessary #defines.
28904 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28905
093ecf92
LD
289062011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28907
28908 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28909 Use new sse2 version for core i3 - i7 as it's faster
28910 than sse42 version.
28911 (bit_Prefer_PMINUB_for_stringop): New.
28912 * sysdeps/x86_64/rawmemchr.S: Update.
28913 Replace with faster SSE2 version.
28914 * sysdeps/x86_64/memrchr.S: New file.
28915 * sysdeps/x86_64/memchr.S: Update.
28916 Replace with faster SSE2 version.
28917
fde56e5c
MP
289182011-09-12 Marek Polacek <mpolacek@redhat.com>
28919
28920 * elf/dl-load.c (lose): Add cast to avoid warning.
28921
21fd49a9
UD
289222011-10-07 Ulrich Drepper <drepper@gmail.com>
28923
5a06e643
UD
28924 * po/ca.po: Update from translation team.
28925
684ae515
UD
28926 * inet/getnetgrent_r.c: Hook up nscd.
28927 * nscd/Makefile (routines): Add nscd_netgroup.
28928 (nscd-modules): Add netgroupcache.
28929 (CFLAGS-netgroupcache.c): Define.
28930 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28931 (cache_search): Add const to second parameter.
28932 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28933 INNETGR.
28934 (dbs): Add netgrdb entry.
28935 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28936 (verify_persistent_db): Handle netgrdb.
28937 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28938 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28939 GETFDNETGR.
28940 (netgroup_response_header): Define.
28941 (innetgroup_response_header): Define.
28942 (datahead): Add netgroup_response_header and innetgroup_response_header
28943 elements.
28944 * nscd/nscd.conf: Add entries for netgroup cache.
28945 * nscd/nscd.h (dbtype): Add netgrdb.
28946 (_PATH_NSCD_NETGROUP_DB): Define.
28947 (netgroup_iov_disabled): Declare.
28948 (xmalloc, xcalloc, xrealloc): Move declarations here.
28949 (cache_search): Adjust prototype.
28950 Add netgroup-related prototypes.
28951 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28952 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28953 (__nscd_innetgr): Declare.
28954 * nscd/selinux.c (perms): Use access_vector_t as element type and
28955 add netgroup-related initializers.
28956 * nscd/netgroupcache.c: New file.
28957 * nscd/nscd_netgroup.c: New file.
28958 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28959 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28960 For four parameters use innetgr.
28961 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28962 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28963 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28964 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28965
21fd49a9
UD
28966 * nscd/connections.c (register_traced_file): Don't register file
28967 for disabled databases.
28968
054c0457
UD
289692011-10-06 Ulrich Drepper <drepper@gmail.com>
28970
32b63198
UD
28971 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28972
054c0457
UD
28973 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28974 from tree and freeing node.
28975
64031225
JO
289762011-09-25 Jiri Olsa <jolsa@redhat.com>
28977
28978 * nss/nsswitch.c (__nss_database_lookup): Handle
28979 nss_parse_service_list out of memory case.
28980
0490345c
JO
289812011-09-15 Jiri Olsa <jolsa@redhat.com>
28982
28983 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28984 out of memory case.
28985
3a62d00d
AS
289862011-10-04 Andreas Schwab <schwab@redhat.com>
28987
28988 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28989 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28990 pass it down.
28991 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28992 elf_machine_rela, elf_machine_lazy_rel.
28993 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28994 (ELF_DYNAMIC_DO_REL): Likewise.
28995 (ELF_DYNAMIC_DO_RELA): Likewise.
28996 (ELF_DYNAMIC_RELOCATE): Likewise.
28997 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28998 to ELF_DYNAMIC_DO_REL.
28999 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29000 (dl_main): In trace mode always set __RTLD_NOIFUNC.
29001 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29002 elf_machine_rela.
29003 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29004 skip_ifunc, don't call ifunc function if non-zero.
29005 (elf_machine_rela): Likewise.
29006 (elf_machine_lazy_rel): Likewise.
29007 (elf_machine_lazy_rela): Likewise.
29008 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29009 (elf_machine_lazy_rel): Likewise.
29010 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29011 Likewise.
29012 (elf_machine_lazy_rel): Likewise.
29013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29014 Likewise.
29015 (elf_machine_lazy_rel): Likewise.
29016 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29017 (elf_machine_lazy_rel): Likewise.
29018 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29019 (elf_machine_lazy_rel): Likewise.
29020 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29021 (elf_machine_lazy_rel): Likewise.
29022 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29023 (elf_machine_lazy_rel): Likewise.
29024 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29025 (elf_machine_lazy_rel): Likewise.
29026 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29027 (elf_machine_lazy_rel): Likewise.
29028
68577918
UD
290292011-09-28 Ulrich Drepper <drepper@gmail.com>
29030
29031 * nss/nss_files/files-init.c (_nss_files_init): Use static
29032 initialization for all the *_traced_file variables.
29033
68822d74
AS
290342011-09-28 Andreas Schwab <schwab@redhat.com>
29035
29036 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29037
2056100b
RM
290382011-09-27 Roland McGrath <roland@hack.frob.com>
29039
29040 [BZ #13226]
29041 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29042
32c76b63
AS
290432011-09-27 Andreas Schwab <schwab@redhat.com>
29044
29045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29046 Reread the line before reparsing it.
29047
bf972c9d
AS
290482011-09-26 Andreas Schwab <schwab@redhat.com>
29049
29050 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29051
e057a1b5
JM
290522011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
29053 Maxim Kuvyrkov <maxim@codesourcery.com>
29054 Joseph Myers <joseph@codesourcery.com>
29055
29056 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29057 if needed for __stack_chk_guard.
29058
bc7e1c36
RM
290592011-09-19 Roland McGrath <roland@hack.frob.com>
29060
ecb1482f
RM
29061 * sysdeps/posix/spawni.c (script_execute): Always define it.
29062 It will be optimized away if unused.
29063 (maybe_script_execute): New function.
29064 (__spawni): Call it.
29065
bc7e1c36
RM
29066 * Makerules: Don't include tls.make.
29067 (config-tls): Always set to thread.
29068 * tls.make.c: File removed.
29069
1c3b002b
MF
290702011-09-19 Mike Frysinger <vapier@gentoo.org>
29071
29072 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29073 * config.make.in (CPPFLAGS-config): New substituted variable.
29074
2840865d
UD
290752011-09-15 Ulrich Drepper <drepper@gmail.com>
29076
88738eb6
UD
29077 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29078
cbf645a6 29079 [BZ #13192]
2840865d
UD
29080 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29081 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29082
b402e91a
RM
290832011-09-15 Roland McGrath <roland@hack.frob.com>
29084
29085 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29086 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29087 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29088 (CALL_FAIL): Likewise.
29089 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29090 (CALL_FAIL): Macro removed.
29091 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29092
4c1a1f71
UD
290932011-09-15 Ulrich Drepper <drepper@gmail.com>
29094
29095 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29096 for __FINITE_MATH_ONLY__ == 1.
29097
edc121be
AS
290982011-09-15 Andreas Schwab <schwab@redhat.com>
29099
29100 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29101 __ieee754_sqrt instead of sqrt.
29102 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29103 __ieee754_sqrtf instead of sqrtf.
29104 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29105 __floorf instead of floorf.
29106 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29107 __floorf, __truncf instead of floorf, truncf.
29108
cd205654
UD
291092011-09-14 Ulrich Drepper <drepper@gmail.com>
29110
ee4d0315
UD
29111 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29112
cd205654
UD
29113 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29114 __extern_always_inline.
29115 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29116 32-bit.
29117
48b67d71
AS
291182011-09-14 Andreas Schwab <schwab@redhat.com>
29119
29120 * elf/rtld.c (dl_main): Also relocate in dependency order when
29121 doing symbol dependency testing.
29122
1ae12c75
AS
291232011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29124
29125 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29126 Always define `refsym'.
29127
995a80df
AS
291282011-09-13 Andreas Schwab <schwab@redhat.com>
29129
e529793b
AS
29130 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29131 (__FD_ELT): Renamed from __FDELT.
29132 * misc/bits/select2.h (__FD_ELT): Likewise.
29133 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29134 __FD_MASK instead of __FDELT, __FDMASK.
29135 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29136 Likewise.
29137 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29138 Likewise.
29139
52d4fef8
AS
29140 * elf/Makefile (gen-ldd): Fix pattern.
29141
995a80df
AS
29142 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29143 (init_tls): Likewise.
29144
8682f8b0
UD
291452011-09-12 Ulrich Drepper <drepper@gmail.com>
29146
29147 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29148
de82006d
AS
291492011-09-12 Andreas Schwab <schwab@redhat.com>
29150
a7c8e6a1
AS
29151 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29152 `struct cmsghdr *' instead of `void *'.
29153 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29154 Likewise.
29155
0f31fe77
AS
291562011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29157
29158 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29159 if non-absolute.
29160 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29161 ldd_rewrite_script.
0f31fe77 29162
32b4c839
UD
291632011-09-11 Ulrich Drepper <drepper@gmail.com>
29164
83cd1420
UD
29165 * configure.in: Remove --with-tls option.
29166 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29167 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29168 out in case it is missing.
29169 * sysdeps/ia64/elf/configure.in: Likewise.
29170 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29171 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29172 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29173 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29174 * sysdeps/sh/elf/configure.in: Likewise.
29175 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29176 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29177 * sysdeps/x86_64/elf/configure.in: Likewise.
29178 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29179 * sysdeps/mach/hurd/tls.h: Likewise.
29180
633f745d
UD
29181 [BZ #13067]
29182 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29183
f318beb8
UD
29184 [BZ #13090]
29185 * configure.in: Fix use of AC_INIT.
29186
32b4c839
UD
29187 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29188
3ce1f295
UD
291892011-09-10 Ulrich Drepper <drepper@gmail.com>
29190
bb016596
UD
29191 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29192 __set_errno.
8e58439c
UD
29193 * malloc/hooks.c: Likewise.
29194
aebae053 29195 [BZ #11929]
02d46fc4
UD
29196 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29197 variables statically.
29198 (narenas): Initialize.
29199 (list_lock): Initialize.
bb016596
UD
29200 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29201 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29202 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29203 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29204 Add initializers to main_arena and mp_.
29205 (malloc_state): Remove pagesize member. Change all users to use
29206 GLRO(dl_pagesize).
29207
29208 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29209 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29210 is always initialized.
29211
22a89187
UD
29212 * malloc/malloc.c: Removed unused configurations and dead code.
29213 * malloc/arena.c: Likewise.
29214 * malloc/hooks.c: Likewise.
02d46fc4 29215 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29216
d063d164
UD
29217 * include/tls.h: Removed. USE___THREAD must always be defined.
29218 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29219 * elf/dl-libc.c: Likewise.
29220 * elf/dl-tsd.c: Likewise.
29221 * include/errno.h: Likewise.
29222 * include/netdb.h: Likewise.
29223 * include/resolv.h: Likewise.
29224 * inet/herrno-loc.c: Likewise.
29225 * inet/herrno.c: Likewise.
29226 * malloc/arena.c: Likewise.
29227 * malloc/hooks.c: Likewise.
29228 * malloc/malloc.c: Likewise.
29229 * resolv/res-state.c: Likewise.
29230 * resolv/res_libc.c: Likewise.
29231 * sysdeps/i386/dl-machine.h: Likewise.
29232 * sysdeps/ia64/dl-machine.h: Likewise.
29233 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29234 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29235 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29236 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29237 * sysdeps/sh/dl-machine.h: Likewise.
29238 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29239 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29240 * sysdeps/unix/i386/sysdep.S: Likewise.
29241 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29242 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29243 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29244 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29245 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29246 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29247 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29248 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29251 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29252 * sysdeps/x86_64/dl-machine.h: Likewise.
29253 * tls.make.c: Likewise.
29254
3ce1f295
UD
29255 * configure.in: Remove --with-__thread option. Make tests for
29256 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29257 tls_model attribute fail if no support is available. Remove
29258 USE_IN_LIBIO.
29259 * Makeconfig: Adjust for dropped configure option. All features are
29260 now mandatory.
29261 * Makerules: Likewise.
29262 * Versions.def: Likewise.
29263 * argp/argp-fmtstream.c: Likewise.
29264 * argp/argp-fmtstream.h: Likewise.
29265 * argp/argp-help.c: Likewise.
29266 * assert/assert.c: Likewise.
29267 * config.h.in: Likewise.
29268 * config.make.in: Likewise.
29269 * configure: Likewise.
29270 * configure.in: Likewise.
29271 * csu/Versions: Likewise.
29272 * csu/init.c: Likewise.
29273 * elf/tst-audit2.c: Likewise.
29274 * elf/tst-tls10.c: Likewise.
29275 * elf/tst-tls10.h: Likewise.
29276 * elf/tst-tls11.c: Likewise.
29277 * elf/tst-tls12.c: Likewise.
29278 * elf/tst-tls14.c: Likewise.
29279 * elf/tst-tlsmod11.c: Likewise.
29280 * elf/tst-tlsmod12.c: Likewise.
29281 * elf/tst-tlsmod13.c: Likewise.
29282 * elf/tst-tlsmod13a.c: Likewise.
29283 * elf/tst-tlsmod14a.c: Likewise.
29284 * elf/tst-tlsmod15b.c: Likewise.
29285 * elf/tst-tlsmod16a.c: Likewise.
29286 * elf/tst-tlsmod16b.c: Likewise.
29287 * elf/tst-tlsmod7.c: Likewise.
29288 * elf/tst-tlsmod8.c: Likewise.
29289 * elf/tst-tlsmod9.c: Likewise.
29290 * gmon/gmon.c: Likewise.
29291 * grp/fgetgrent_r.c: Likewise.
29292 * grp/putgrent.c: Likewise.
29293 * hurd/fopenport.c: Likewise.
29294 * include/libc-symbols.h: Likewise.
29295 * include/tls.h: Likewise.
29296 * intl/gettextP.h: Likewise.
29297 * intl/loadinfo.h: Likewise.
29298 * locale/global-locale.c: Likewise.
29299 * locale/localeinfo.h: Likewise.
29300 * mach/devstream.c: Likewise.
29301 * malloc/arena.c: Likewise.
29302 * malloc/set-freeres.c: Likewise.
29303 * misc/err.c: Likewise.
29304 * misc/getttyent.c: Likewise.
29305 * misc/mntent_r.c: Likewise.
29306 * posix/getopt.c: Likewise.
29307 * posix/wordexp.c: Likewise.
29308 * pwd/fgetpwent_r.c: Likewise.
29309 * resolv/Versions: Likewise.
29310 * resolv/res_hconf.c: Likewise.
29311 * shadow/fgetspent_r.c: Likewise.
29312 * shadow/putspent.c: Likewise.
29313 * stdio-common/printf_fphex.c: Likewise.
29314 * stdio-common/tmpfile.c: Likewise.
29315 * stdlib/abort.c: Likewise.
29316 * stdlib/fmtmsg.c: Likewise.
29317 * sunrpc/auth_unix.c: Likewise.
29318 * sunrpc/clnt_perr.c: Likewise.
29319 * sunrpc/clnt_tcp.c: Likewise.
29320 * sunrpc/clnt_udp.c: Likewise.
29321 * sunrpc/clnt_unix.c: Likewise.
29322 * sunrpc/openchild.c: Likewise.
29323 * sunrpc/svc_simple.c: Likewise.
29324 * sunrpc/svc_tcp.c: Likewise.
29325 * sunrpc/svc_udp.c: Likewise.
29326 * sunrpc/svc_unix.c: Likewise.
29327 * sunrpc/xdr.c: Likewise.
29328 * sunrpc/xdr_array.c: Likewise.
29329 * sunrpc/xdr_rec.c: Likewise.
29330 * sunrpc/xdr_ref.c: Likewise.
29331 * sunrpc/xdr_stdio.c: Likewise.
29332
1248c1c4
PB
293332011-09-09 Ulrich Drepper <drepper@gmail.com>
29334
29335 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29336
293372011-07-03 Andreas Jaeger <aj@suse.de>
29338
29339 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29340 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29341 regenerate with gen-libm-tests.pl.
29342
293432010-05-12 Petr Baudis <pasky@suse.cz>
29344
29345 [BZ #11589]
29346 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29347 around j0() zero points by switching to j1().
29348 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29351 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29352
f22e1074
UD
293532011-09-09 Ulrich Drepper <drepper@gmail.com>
29354
f19009c1
UD
29355 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29356 instead of 0.
29357 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29358 instead of 0.
f19009c1
UD
29359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29360 Patch in part by Pavel Roskin <proski@gnu.org>.
29361
3f8cc204
UD
29362 [BZ #13138]
29363 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29364 realloc.
29365 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29366 Free memory block if necessary.
29367
f22e1074
UD
29368 [BZ #12847]
29369 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29370 be NULL. Don't lock in this case.
29371
0a2349f9
RM
293722011-09-09 Roland McGrath <roland@hack.frob.com>
29373
29374 * elf/elf.h (ELFOSABI_GNU): New macro.
29375 (ELFOSABI_LINUX): Define to that.
29376
f3cdd467
DZ
293772011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29378
29379 * string/strncat.c (strncat): Undef the symbol in case it has been
29380 defined in bits/string.h.
29381
74718d13
UD
293822011-09-09 Ulrich Drepper <drepper@gmail.com>
29383
633e9e0f
UD
29384 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29385
0a2349f9 29386 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29387 link map.
29388
f9924780
AJ
293892011-08-17 Andreas Jaeger <aj@suse.de>
29390
29391 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29392
7f5517aa
PP
293932011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29394 Ian Lance Taylor <iant@google.com>
29395
29396 * math/libm-test.inc (lround_test): New testcase.
29397 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29398
762011fe
UD
293992011-09-08 Ulrich Drepper <drepper@gmail.com>
29400
92963737
UD
29401 * Makefile: Remove support for automatic cvs check-ins.
29402 * Makerules: Likewise.
29403 * config.make.in: Likewise.
29404 * configure.in: Likewise.
29405 * intl/Makefile: Likewise.
29406 * locale/Makefile: Likewise.
29407 * po/Makefile: Likewise.
29408 * posix/Makefile: Likewise.
29409 * sysdeps/gnu/Makefile: Likewise.
29410 * sysdeps/mach/hurd/Makefile: Likewise.
29411 * sysdeps/sparc/sparc32/Makefile: Likewise.
29412
b0727fd8
JS
29413 [BZ #13118]
29414 * posix/Makefile (bug-regex32-ENV): Define.
29415 Patch by John Stanley <jpsinthemix@verizon.net>.
29416
a0f33f99
UD
29417 * misc/Makefile (headers): Add bits/select2.h.
29418 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29419 * misc/bits/select2.h: New file.
29420 * include/bits/select2.h: New file.
29421 * debug/Makefile (routines): Add fdelt_chk.
29422 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29423 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29424 FD_ISSET.
29425 * debug/fdelt_chk.c: New file.
29426
762011fe
UD
29427 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29428 * wcsmbs/test-wmemcmp.c: Likewise.
29429 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29430 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29431
294322011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29433
29434 * string/Makefile (strop-tests): Add memcmp.
29435 * string/test-wmemcmp.c: New file.
29436 * string/test-memcmp.c: Add wmemcmp support.
29437
7f513ec8
RM
294382011-09-08 Roland McGrath <roland@hack.frob.com>
29439
0442afb4
RM
29440 [BZ #13153]
29441 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29442 2011-07-19 change.
29443
7f513ec8
RM
29444 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29445 garbage value in a __mach_port_mod_refs call in the cases of the
29446 task-self and thread-self ports.
29447
a12b2239
ST
294482011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29449
29450 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29451
610f9ab4
AS
294522011-09-08 Andreas Schwab <schwab@redhat.com>
29453
7f513ec8 29454 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29455
48882a1a
LD
294562011-09-07 Ulrich Drepper <drepper@gmail.com>
29457
b49865be
UD
29458 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29459
fdc86bc9
UD
29460 * elf/dl-libc.c (dlerror_run): Pass back error code from
29461 dl_catch_error.
29462
c966526a
UD
29463 [BZ #13123]
29464 * elf/dl-load.c (lose): Free l_origin if it is valid.
29465
48882a1a
LD
29466 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29467 names.
29468 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29469 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29471 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29472 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29473 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29474
77a2a8b4
AZ
294752011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29476
29477 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29478 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29479 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29480 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29481 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29482 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29483 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29484 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29485 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29486 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29487
24f579d8
AM
294882011-08-15 Alan Modra <amodra@gmail.com>
29489
29490 [BZ #13092]
29491 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29492 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29493 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29494 ppc_mcount to static-only-routines.
29495 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29496 __mcount_internal.
29497 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29498 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29499
3d4837df
UD
295002011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29501
29502 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29503 for finite and infinity parameters.
29504
22700377
WS
295052011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29506
29507 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29508 and add nop instructions for throughput optimization.
29509 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29510
5025581e
WS
295112011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29512
29513 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29514 aligned copy for power7 with vector-scalar instructions.
29515 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29516
08a300c9
L
295172011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29518
29519 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29520 AVX check.
29521
59178ef9
AS
295222011-09-07 Andreas Schwab <schwab@redhat.com>
29523
29524 [BZ #13144]
29525 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29526 last change.
29527
e38ba7ab
UD
295282011-09-07 Ulrich Drepper <drepper@gmail.com>
29529
29530 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29531 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29532 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29533 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29534 clock_gettime.
29535
d53a73ac
UD
295362011-09-06 Ulrich Drepper <drepper@gmail.com>
29537
fc8bffcc
UD
29538 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29539 Forgot to demangle the pointer.
29540
ceaa0c5d
UD
29541 * sysdeps/i386/sysdep.h: Define atom_text_section.
29542 * sysdeps/x86_64/sysdep.h: Likewise.
29543 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29544 section with atom_text_section.
29545 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29546 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29547 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29549 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29550
a77d3c17
UD
29551 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29552 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29553 already be defined. Change to take two parameters and don't assign
29554 result to variable. Adjust all users.
29555 Define INTERNAL_GETTIME if not already defined.
29556 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29557 call.
29558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29559 HAVE_CLOCK_GETTIME_VSYSCALL.
29560 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29561
d53a73ac
UD
29562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29563 gettimeofday vsyscall, just use time.
29564
a8f84144
AS
295652011-09-06 Andreas Schwab <schwab@redhat.com>
29566
29567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29568 <errno.h>.
29569
ef606249
UD
295702011-09-06 Ulrich Drepper <drepper@gmail.com>
29571
29572 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29573 syscall on x86-64.
29574 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29575 syscall.
29576 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29577 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29578 syscall if possible.
29579
6585cb60
UD
295802011-09-05 Ulrich Drepper <drepper@gmail.com>
29581
29582 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29583 e_ident. Don't pass to find_mapsXX.
29584 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29585
a5f524e4
LD
295862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29587
29588 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29589 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29590 * sysdeps/x86_64/multiarch/strchr.S: Update.
29591 Check bit_slow_BSF bit.
29592 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29593 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29594 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29595
554881ef
UD
295962011-09-05 Ulrich Drepper <drepper@gmail.com>
29597
d96de963
UD
29598 [BZ #13134]
29599 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29600 before glibc 2.15.
29601 (tryshell): Define.
29602 (__spawni): Change last parameter to be flag. Test
29603 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29604 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29605 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29606 * posix/spawni.c: Likewise.
29607 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29608 * posix/spawnp.c: Likewise. Change normal version to use
29609 SPAWN_XFLAGS_USE_PATH.
29610 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29611 SPAWN_XFLAGS_TRY_SHELL.
29612
d48e5868
UD
29613 [BZ #13150]
29614 * posix/glob.h: Remove gcc 1.x support.
29615
554881ef
UD
29616 [BZ #13068]
29617 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29618
693fb948
LD
296192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29620
29621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29622 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29623 strrchr-sse2-bsf
29624 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29625 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29626 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29627 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29628 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29629 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29630
1b48c537
UD
296312011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29632
49d42c37
UD
29633 * sysdeps/x86_64/wcscmp.S: New file.
29634
1b48c537
UD
29635 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29636 wcscmp-c wcscmp-sse2
29637 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29638 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29639 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29640 * wcsmbs/wcscmp.c: Allow renaming.
29641
15c95c5d
DM
296422011-09-05 David S. Miller <davem@davemloft.net>
29643
29644 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29645 stack slot, rather than the struct return pointer slot.
29646 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29647 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29649 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29650
2f0ad8f3
UD
296512011-09-05 Ulrich Drepper <drepper@gmail.com>
29652
d88ae418
UD
29653 * po/ja.po: Update from translation team.
29654
2f0ad8f3
UD
29655 [BZ #13144]
29656 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29657 kernel in 64-bit binaries.
29658
5f4318d1
DM
296592011-09-01 David S. Miller <davem@davemloft.net>
29660
29661 * elf/elf.h (HWCAP_SPARC_*): Move to..
29662 * sysdeps/sparc/sysdep.h: this new file and add new values.
29663 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29664 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29665 _DL_HWCAP_COUNT to 24.
29666 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29667 entries.
29668 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29669 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29670 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29672 instead of magic constants.
29673 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29674
3ba57516
DM
296752011-08-31 David S. Miller <davem@davemloft.net>
29676
29677 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29679 Reimplement to do errno handling inline.
29680 (SYSCALL_ERROR_HANDLER): New macro.
29681 (__SYSCALL_STRING): Do not do errno handling in asm.
29682 (__CLONE_SYSCALL_STRING): Delete.
29683 (__INTERNAL_SYSCALL_STRING): Delete.
29684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29685 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29686 (PSEUDO): Reimplement to do errno handling inline.
29687 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29688 (SYSCALL_ERROR_HANDLER): New macro.
29689 (__SYSCALL_STRING): Do not do errno handling in asm.
29690 (__CLONE_SYSCALL_STRING): Delete.
29691 (__INTERNAL_SYSCALL_STRING): Delete.
29692 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29693 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29694 i386.
29695 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29696 (inline_syscall*): Add 'err' argument.
29697 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29698 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29699 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29700 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29701
29702 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29703 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29704
2bc17433
AS
297052011-08-30 Andreas Schwab <schwab@redhat.com>
29706
29707 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29708
fbeb5f4d
JO
297092011-08-29 Jiri Olsa <jolsa@redhat.com>
29710
29711 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29712 directive.
29713
ad69cc26
DM
297142011-08-24 David S. Miller <davem@davemloft.net>
29715
29716 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29717
39dd69df
AS
297182011-08-24 Andreas Schwab <schwab@redhat.com>
29719
29720 * elf/Makefile: Add rules to build and run unload8 test.
29721 * elf/unload8.c: New file.
29722 * elf/unload8mod1.c: New file.
29723 * elf/unload8mod1x.c: New file.
29724 * elf/unload8mod2.c: New file.
29725 * elf/unload8mod3.c: New file.
29726
29727 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29728 it wasn't used.
29729
2c0b250a
DM
297302011-08-23 David S. Miller <davem@davemloft.net>
29731
29732 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29733 subtract stack bias.
29734 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29735 %sp not %fp in calculations.
29736 (_JMPBUF_UNWINDS_ADJ): Likewise.
29737
22044b48
DM
29738 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29739 (aio_suspend): Call it to force an exception region around the
29740 AIO_MISC_WAIT() invocation.
29741
2cae4995
AS
297422011-08-23 Andreas Schwab <schwab@redhat.com>
29743
29744 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29745 backslash.
29746
873a772e
AJ
297472011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29748
29749 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29750 protection macro.
29751 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29752 and <dl-machine.h>.
29753 (Elf64_FuncDesc): Remove.
29754
25ad0df1
DM
297552011-08-22 David S. Miller <davem@davemloft.net>
29756
29757 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29758 sigaltstack check, add missing cfi directives.
29759 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29760 missing cfi directives, and sigaltstack handling.
29761
e888bcbe
AS
297622011-08-16 Andreas Schwab <schwab@redhat.com>
29763
29764 [BZ #11724]
29765 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29766 object is seen twice.
29767 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29768
29769 * elf/Makefile (distribute): Add tst-initorder2.c.
29770 (tests): Add tst-initorder2.
29771 (modules-names): Add tst-initorder2a tst-initorder2b
29772 tst-initorder2c tst-initorder2d. Add rules to build them.
29773 ($(objpfx)tst-initorder2.out): New rule.
29774 * elf/tst-initorder2.c: New file.
29775 * elf/tst-initorder2.exp: New file.
29776
87162f46
AS
297772011-08-22 Andreas Schwab <schwab@redhat.com>
29778
70538b7f
AS
29779 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29780
f55ffe58
AS
29781 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29782 dependencies back to end of function.
29783
87162f46
AS
29784 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29785 $(elfobjdir)/ld.so.
29786
91b392a4
UD
297872011-08-21 Ulrich Drepper <drepper@gmail.com>
29788
29789 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29790 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29792 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29793 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29794 of __vdso_gettimeofday.
29795 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29796 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29797 attribute_hidden.
29798 (_libc_vdso_platform_setup): Remove initialization of
29799 __vdso_gettimeofday and __vdso_time.
29800
5c43483f
UD
298012011-08-20 Ulrich Drepper <drepper@gmail.com>
29802
775a77e7
UD
29803 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29804 and fgetc_unlocked.
29805 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29806 getc_unlocked.
89f447ed 29807
49c74ba9
UD
29808 * elf/dl-open.c (add_to_global): Report additions to the global scope
29809 for LD_DEBUG=scopes.
29810 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29811 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29812
5c43483f
UD
29813 [BZ #13114]
29814 * stdio-common/Makefile (tests): Add bug24.
29815 * stdio-common/bug24.c: New file.
29816
a101b025
AJ
298172011-08-19 Andreas Jaeger <aj@suse.de>
29818
29819 [BZ #13114]
29820 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29821 non-existant file when using close-on-exec mode.
29822
c88f1766
UD
298232011-08-20 Ulrich Drepper <drepper@gmail.com>
29824
0276a718
UD
29825 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29826 the very first instruction.
29827
c88f1766
UD
29828 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29829 the CFI state in the end.
29830 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29831 inclusion of dl-trampoline.h.
29832 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29833
51ccffa0
AS
298342011-08-19 Andreas Schwab <schwab@redhat.com>
29835
94d7165f
AS
29836 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29837 expectations for long double.
29838
51ccffa0
AS
29839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29840 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29841
fd708658 298422011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29843
29844 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29845 artificual limit depends upon the system page size.
29846
44f0a71e
UD
298472011-08-17 Ulrich Drepper <drepper@gmail.com>
29848
29849 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29850 * resolv/Makefile: Define CFLAGS-libresolv.
29851
8de79a24
AS
298522011-08-17 Andreas Schwab <schwab@redhat.com>
29853
29854 * nss/makedb.c (compute_tables): Make variables used in nested
29855 function static.
29856
27724598
UD
298572011-08-17 Ulrich Drepper <drepper@gmail.com>
29858
c5305d88
UD
29859 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29860 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29861 if buffer was too small.
29862
27724598
UD
29863 * elf/pldd.c (main): Attach to all threads in the process.
29864 Rewrite /proc handling to use *at functions.
29865
076fe015
UD
298662011-08-16 Ulrich Drepper <drepper@gmail.com>
29867
174baab3
UD
29868 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29869 specifies first scope to show.
29870 (dl_open_worker): Update callers. Move printing scope of new
29871 object to before the relocation.
44f0a71e 29872 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29873 * sysdeps/generic/ldsodefs.h: Update declaration.
29874
076fe015
UD
29875 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29876 string for the scope number.
29877
a60df2c3
UD
298782011-08-14 Ulrich Drepper <drepper@gmail.com>
29879
29880 * nscd/servicescache.c (cache_addserv): Make sure written is always
29881 initialized.
29882
5e4287d1
RM
298832011-08-14 Roland McGrath <roland@hack.frob.com>
29884
85ae0589
RM
29885 * sysdeps/i386/i486/bits/atomic.h
29886 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29887 statement expression, so as to suppress "set but not used" warning.
29888 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29889
69f63097
RM
29890 * string/strncat.c (STRNCAT): Use prototype definition.
29891
675456ef
RM
29892 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29893 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29894 -Iprograms here.
29895 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29896 (localedef-modules): Add localedef.
29897 (locale-modules): Add locale.
29898
5e4287d1
RM
29899 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29900 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29901 to avoid a warning.
29902
9c96ff23
DM
299032011-08-14 David S. Miller <davem@davemloft.net>
29904
29905 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29906 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29907
f9ddf089
UD
299082011-08-13 Ulrich Drepper <drepper@gmail.com>
29909
44f0a71e 29910 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29911 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29912 * elf/rtld.c (dl_main): Set l_name of vDSO.
29913 Call _dl_show_scope when DL_DEBUG_SCOPES.
29914 (process_dl_debug): Recognize scopes flag and also set it for all.
29915 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29916 Declare _dl_show_scope.
29917
1dc27704
UD
29918 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29919 (do_dlopen): Pass caller_dlopen to dl_open.
29920 (__libc_dlopen_mode): Initialize caller_dlopen.
29921
f9ddf089
UD
29922 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29923 of libc. Make tolower call locale-independent. Optimize a bit by
29924 using isdigit instead of isalnum.
29925 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29926
9ac533d3
UD
299272011-08-12 Ulrich Drepper <drepper@gmail.com>
29928
29929 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29930 was a dependency or dynamically loaded.
29931
89edf2e9
UD
299322011-08-11 Ulrich Drepper <drepper@gmail.com>
29933
8e999d29
UD
29934 * intl/l10nflist.c: Allow architecture-specific pop function.
29935 * sysdeps/x86_64/l10nflist.c: New file.
29936
89edf2e9
UD
29937 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29938 classification.
29939
14d96785
AS
299402011-08-10 Andreas Schwab <schwab@redhat.com>
29941
29942 * include/dirent.h: Add libc_hidden_proto for scandirat and
29943 scandirat64. Don't declare __scandirat64.
29944 * dirent/scandirat.c: Add libc_hidden_def.
29945 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29946 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29947
6761ac04
DM
299482011-08-10 David S. Miller <davem@davemloft.net>
29949
29950 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29951 enum.
29952 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29953 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29954 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29955
c55fbd1e
UD
299562011-08-09 Ulrich Drepper <drepper@gmail.com>
29957
29958 * Versions.def [libc]: Add GLIBC_2.15.
29959 * dirent/Makefile (routines): Add scandirat and scandirat64.
29960 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29961 GLIBC_2.15.
29962 * dirent/dirent.h: Declare scandirat and scandirat64.
29963 * dirent/scandirat.c: New file.
29964 * dirent/scandirat64.c: New file.
29965 * sysdeps/wordsize-64/scandirat.c: New file.
29966 * sysdeps/wordsize-64/scandirat64.c: New file.
29967 * dirent/opendir.c: Define opendirat.
29968 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29969 using scandirat.
29970 * dirent/scandir64.c: Adjust for scandir.c change.
29971 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29972 __scandirat64, and __scandir_cancel_handler.
29973 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29974 additional parameter and use openat instead of open (outside of ld.so).
29975 Add new __opendir as wrapper around __opendirat.
29976 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29977 here without requiring old scandirat implementation.
29978
879165f2
UD
299792011-08-08 Ulrich Drepper <drepper@gmail.com>
29980
29981 * dirent/scandir.c (cancel_handler): Renamed to
29982 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29983 defined. Adjust users.
29984 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29985 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29986
cb7e923b
UD
299872011-08-04 Ulrich Drepper <drepper@gmail.com>
29988
16292edd
UD
29989 * string/test-string.h (IMPL): Use __STRING to expand name and then
29990 stringify it.
29991
cb7e923b
UD
29992 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29993 of cleanups.
29994
cff82933
LD
299952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29996
29997 * string/Makefile: Update.
29998 (strop-tests): Append strncat.
29999 * string/test-wcscmp.c: New file.
30000 New comprehensive test for wcscmp.
30001 * string/test-strcmp.c: Update.
30002 (WIDE): New define.
30003
9be9bfcc
AS
300042011-07-22 Andreas Schwab <schwab@redhat.com>
30005
30006 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30007 line.
30008
2e96f1c7
AS
300092011-07-26 Andreas Schwab <schwab@redhat.com>
30010
30011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30012 encoding to ACE if AI_IDN.
30013
85188888
JJ
300142011-08-01 Jakub Jelinek <jakub@redhat.com>
30015
30016 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30017 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30018
5fa16e9b
LD
300192011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30020
30021 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30022 Fix overflow bug in strncat.
30023 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30024
30025 * string/test-strncat.c: Update.
30026 Add new tests for checking overflow bugs.
30027
300282011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30029
30030 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30031 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30032 * sysdeps/i386/i686/multiarch/strcat.S: New file.
30033 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30034 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30035 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30036 * sysdeps/i386/i686/multiarch/strncat.S: New file.
30037 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30038 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30039
30040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30041 (USE_AS_STRCAT): Define.
30042 Add strcat and strncat support.
30043 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30044
8c1a459f
AS
300452011-07-25 Andreas Schwab <schwab@redhat.com>
30046
30047 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30048 __n bigger than INT_MAX+1.
30049 (__strncmp_g): Likewise.
30050
bba33c28
UD
300512011-07-23 Ulrich Drepper <drepper@gmail.com>
30052
798be72d
UD
30053 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30054 * libio/stido.h: Likewise.
30055
8accd4dc
UD
30056 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30057 (AF_NFC): Define.
30058 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30059 (AF_NFC): Define.
30060
cbff0d96
UD
30061 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30062 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30063 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30064 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30066
9191c04a
UD
30067 [BZ #13021]
30068 * scripts/test-installation.pl: Don't expect libnss_test1 to be
30069 installed.
30070
bba33c28
UD
30071 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30072 typo.
30073 (_dl_x86_64_save_sse): Likewise.
30074
90f139dd
UD
300752011-07-22 Ulrich Drepper <drepper@gmail.com>
30076
1aae088a
UD
30077 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30078 OSXSAVE.
30079 (_dl_x86_64_save_sse): Likewise.
30080
8e2045f5
UD
30081 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30082
90f139dd
UD
30083 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30084
1d002f25
AS
300852011-07-21 Andreas Schwab <schwab@redhat.com>
30086
30087 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30088 change.
30089 (_dl_x86_64_save_sse): Use correct AVX check.
30090
21137f89
UD
300912011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30092
30093 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30094 bug in strncpy/strncat.
30095 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30096
a65c0b7a
UD
300972011-07-21 Ulrich Drepper <drepper@gmail.com>
30098
30099 * string/tester.c (test_strcat): Add tests for different alignments
30100 of source and destination.
30101 (test_strncat): Likewise.
30102
6986b98a
UD
301032011-07-20 Ulrich Drepper <drepper@gmail.com>
30104
90bb2039
UD
30105 [BZ #12852]
30106 * posix/glob.c (glob): Check passed in values before using them in
30107 expressions to avoid some overflows.
30108 (glob_in_dir): Likewise.
30109
5644ef54
UD
30110 [BZ #13007]
30111 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30112 check for AVX enablement so that we don't crash with old kernels and
30113 new hardware.
30114 * elf/tst-audit4.c: Add same checks here.
30115 * elf/tst-audit6.c: Likewise.
30116
30117 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30118
bfc9dc9b
AS
301192011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30120
30121 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30122
702e64bb
UD
301232011-07-20 Ulrich Drepper <drepper@gmail.com>
30124
30125 * po/cs.po: Update from translation team.
30126 * po/bg.po: Likewise.
30127
295e904f
MP
301282011-07-12 Marek Polacek <mpolacek@redhat.com>
30129
30130 * misc/sys/cdefs.h: Add support for const attribute.
30131 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30132 to gnu_dev_{major,minor,makedev} functions.
30133
3ff94596
MP
301342011-07-20 Marek Polacek <mpolacek@redhat.com>
30135
30136 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30137
28b59fca
AS
301382011-07-20 Andreas Schwab <schwab@redhat.com>
30139
30140 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30141 strlen results.
30142
19df733e
AK
301432011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30144
30145 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30146 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30147 register in order to avoid conflicts with the soft frame pointer
30148 being held in r11 when necessary.
30149 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30150 (INTERNAL_VSYSCALL_NCS): Likewise.
30151
c8835729
MP
301522011-07-14 Marek Polacek <mpolacek@redhat.com>
30153
30154 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30155 * elf/dl-fini.c (_dl_fini): Adjust caller.
30156 * elf/dl-close.c (_dl_close_worker): Likewise.
30157 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30158
b902330c
MP
301592011-07-15 Marek Polacek <mpolacek@redhat.com>
30160
8991e135
MP
30161 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30162 "aux_cache->nlibs < 0".
30163
b902330c
MP
30164 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30165 in the reload-count case.
30166
99710781
LD
301672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30168
30169 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30170 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30171 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30172 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30173 * sysdeps/x86_64/multiarch/strcat.S: New file.
30174 * sysdeps/x86_64/multiarch/strncat.S: New file.
30175 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30176 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30177 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30178 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30179 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30180 (USE_AS_STRCAT): Define.
30181 Add strcat and strncat support.
30182 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30183 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30184 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30185 * string/strncat.c: Update.
30186 (USE_AS_STRNCAT): Define.
30187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30188 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30189 and i7.
30190 * sysdeps/x86_64/multiarch/init-arch.h
30191 (bit_Prefer_PMINUB_for_stringop): New.
30192 (index_Prefer_PMINUB_for_stringop): Likewise.
30193 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30194 bit_Prefer_PMINUB_for_stringop.
30195
7dc6bd90
UD
301962011-07-19 Ulrich Drepper <drepper@gmail.com>
30197
30198 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30199 buffer64.
30200 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30201 of casting of buffer.
30202 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30203 buffer32 and buffer64.
30204 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30205 writes instead of casting of buffer.
30206 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30207 buffer32.
30208 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30209 casting of buffer.
30210
e0e72284
AS
302112011-07-19 Andreas Schwab <schwab@redhat.com>
30212
30213 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30214
feb1eb0b
UD
302152011-07-19 Ulrich Drepper <drepper@gmail.com>
30216
30217 * nscd/nscd.c (termination_handler): Don't do anything for a database
30218 if it has not yet been initialized.
30219
298711ff
UD
302202011-07-18 Ulrich Drepper <drepper@gmail.com>
30221
30222 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30223
302242011-07-15 Marek Polacek <mpolacek@redhat.com>
30225
30226 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30227
f9d68389
UD
302282011-07-18 Ulrich Drepper <drepper@gmail.com>
30229
30230 * po/nl.po: Update from translation team.
30231 * po/sv.po: Likewise.
30232
db290cf5
RM
302332011-07-16 Roland McGrath <roland@hack.frob.com>
30234
30235 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30236 now disallowed by GCC.
5c550700 30237
fd5e21c7
RM
30238 * configure.in (use-default-link): Default to yes if a test -shared
30239 link meets our qualifications.
30240 * configure: Regenerated.
30241
5c550700
RM
30242 * config.make.in (output-format): New variable.
30243 * configure.in: Check for ld --print-output-format support.
30244 * configure: Regenerated.
30245 * Makerules ($(common-objpfx)format.lds)
30246 [$(output-format) != unknown]: Just use $(output-format),
30247 instead of the linker-script munging.
30248
9fa2c032
RM
302492011-07-14 Roland McGrath <roland@hack.frob.com>
30250
a6928d51
RM
30251 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30252 of $(common-objpfx)shlib.lds.
30253 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30254
661607b3
RM
30255 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30256 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30257
9fa2c032
RM
30258 * configure.in (-z relro check): Adjust test code to add a large
30259 writable data section after it.
30260 * configure: Regenerated.
30261
defe9061
RM
302622011-07-11 Roland McGrath <roland@hack.frob.com>
30263
30264 * configure.in (-z relro check): Fix test code to make the variable
30265 truly const.
30266 * configure: Regenerated.
30267
319b9ad4
UD
302682011-07-11 Ulrich Drepper <drepper@gmail.com>
30269
30270 * nscd/nscd.h (struct traced_file): Define.
30271 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30272 elements. Add traced_files.
30273 (inotify_fd): Declare.
30274 (register_traced_file): Declare.
30275 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30276 (inotify_fd): Export.
30277 (resolv_conf_descr): Remove.
30278 (nscd_init): Move inotify descriptor creation to main.
30279 Don't register files for notification here.
30280 (register_traced_file): New function.
30281 (invalidate_cache): Don't use reset_res to determine whether to call
30282 res_init, go through the list of registered files.
30283 (main_loop_poll): The inotify descriptors are now stored in the
30284 structures for the traced files.
30285 (main_loop_epoll): Likewise
30286 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30287 to __nss_disable_nscd.
30288 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30289 for a database anymore. Check the records for all the registered
30290 files instead.
30291 * nss/Makefile (libnss_files-routines): Add files-init.
30292 (libnss_db-routines): Add db-init.
30293 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30294 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30295 * nss/nss_db/db-init.c: New file.
30296 * nss/nss_files/files-init.c: New file.
30297 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30298 __nss_lookup_function.
30299 (__nss_lookup_function): Call nss_load_library.
30300 (nss_load_all_libraries): New function.
30301 (__nss_disable_nscd): Take parameter with callback function for files
30302 to register. Set is_nscd. Load all the DSOs for the NSS modules
30303 used for the cached services.
30304 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30305 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30306 options for features to all the files in nscd.
30307
30308 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30309
23bee3e8
RM
303102011-07-10 Roland McGrath <roland@hack.frob.com>
30311
30312 * csu/elf-init.c (__libc_csu_init): Comment typo.
30313
46a5b7f0
UD
303142011-07-09 Ulrich Drepper <drepper@gmail.com>
30315
30316 * po/pl.po: Update from translation team.
30317 * po/ja.po: Likewise.
30318 * po/ru.po: Likewise.
30319 * po/ko.po: Likewise.
30320 * po/fr.po: Likewise.
30321
d30cf5bb
RM
303222011-07-09 Roland McGrath <roland@hack.frob.com>
30323
113ddea4
RM
30324 * configure.in (.ctors/.dtors header and trailer check):
30325 Use an empirical test on a built program.
30326 * configure: Regenerated.
30327
574920b4
RM
30328 * configure.in (-z relro check): Use an empirical test on a built DSO.
30329 Detect, but do not require, on ia64.
30330 * configure: Regenerated.
30331
d30cf5bb
RM
30332 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30333 Update tests that use readelf to use $READELF instead.
30334 * configure: Regenerated.
30335
8538fdb3
UD
303362011-07-08 Ulrich Drepper <drepper@gmail.com>
30337
30338 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30339 if the result is not used.
30340
04d08991
AJ
303412011-07-05 Andreas Jaeger <aj@suse.de>
30342
30343 [BZ#9696]
30344 * stdlib/tst-strtod.c: Add testcase.
30345
de283087
AD
303462011-07-07 Ulrich Drepper <drepper@gmail.com>
30347
4e5f31c8 30348 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30349 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30350 The latter has a higher limit. Take additional parameter to pass to
30351 the new function.
30352 (__pathconf): Pass file to __statfs_link_max.
30353 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30354 __statfs_link_max.
30355 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30356 __statfs_link_max.
30357
de283087
AD
30358 [BZ #12868]
30359 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30361 Handle Lustre.
30362 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30363 (__statfs_filesize_max): Likewise.
30364 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30365
c75fa153
AJ
303662011-07-05 Andreas Jaeger <aj@suse.de>
30367
30368 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30369
1a544854
UD
303702011-07-06 Marek Polacek <mpolacek@redhat.com>
30371
30372 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30373 `status' variable.
30374 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30375 Likewise.
30376
6f0eec67
UD
303772011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30378
30379 * Makefile (strop-tests): Add strncat.
30380 * string/test-strncat.c: New file.
30381
aae30307
UD
303822011-06-30 Marek Polacek <mpolacek@redhat.com>
30383
30384 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30385
c0cfb5eb
UD
303862011-06-21 Andreas Jaeger <aj@suse.de>
30387
30388 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30389 Copy rule from iconvdata/Makefile.
30390
01636b21
UD
303912011-07-06 Ulrich Drepper <drepper@gmail.com>
30392
30393 [BZ #12922]
30394 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30395 but no long options are defined, just return 'W'.
30396
9895c8bc
UD
303972011-06-22 Marek Polacek <mpolacek@redhat.com>
30398
30399 [BZ #9696]
30400 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30401
5d4cf042
UD
304022011-07-06 Ulrich Drepper <drepper@gmail.com>
30403
30404 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30405 netgroups to read.
960e5535 30406 (innetgr): Likewise.
5d4cf042 30407
751eb97e
RM
304082011-07-05 Roland McGrath <roland@hack.frob.com>
30409
30410 * config.make.in (install_root): Default to $(DESTDIR).
30411
f15f1e45
UD
304122011-07-05 Ulrich Drepper <drepper@gmail.com>
30413
30414 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30415
4e34ac6a
RM
304162011-07-02 Roland McGrath <roland@hack.frob.com>
30417
5e9b6af4
RM
30418 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30419
84f9ea0f
RM
30420 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30421 containing directory rather than embedding absolute directory names.
30422
ea5ee9f7
RM
30423 * scripts/check-local-headers.sh: Rewritten using awk.
30424 Match by word, not by line. Print error messages for matches.
30425 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30426
1b74661a
RM
30427 * Makerules [shlib-lds-flags empty]:
30428 ($(common-objpfx)libc_pic.opts): New target.
30429 ($(common-objpfx)libc_pic.os.clean): New target.
30430 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30431
30432 * config.make.in (OBJCOPY): New variable.
30433 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30434 * configure: Regenerated.
30435
f781ef40
RM
30436 * config.make.in (use-default-link): New variable.
30437 * configure.in (use_default_link): Grok --with-default-link to set it.
30438 * configure: Regenerated.
30439 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30440 (shlib-lds, shlib-lds-flags): Define to empty.
30441
2d4fa81e
RM
30442 * Makerules (shlib-lds): New variable.
30443 (shlib-lds-flags): New variable.
30444 (build-shlib, build-moduile, build-module-asneeded): Use it.
30445 ($(common-objpfx)libc.so): Use $(shlib-lds).
30446 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30447 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30448
31fffa6b
RM
30449 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30450 DT_FLAGS/DT_FLAGS_1 with zero flags.
30451
4e34ac6a
RM
30452 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30453 linker script munging.
30454
fcfc776b
UD
304552011-07-02 Ulrich Drepper <drepper@gmail.com>
30456
30457 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30458 as 128-bit value.
30459 * crypt/sha512.c (sha512_process_block): Perform total addition using
30460 128-bit if possible.
30461 (__sha512_finish_ctx): Likewise.
30462 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30463 as 64-bit value.
30464 * crypt/sha256.c (SWAP64): Define.
30465 (sha256_process_block): Perform total addition using 64-bit if
30466 possible.
30467 (__sha256_finish_ctx): Likewise.
30468
99231d9a
UD
304692011-07-01 Ulrich Drepper <drepper@gmail.com>
30470
30471 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30472 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30473 * nscd/hstcache.c (cache_addhst): Likewise.
30474 * nscd/grpcache.c (cache_addgr): Likewise.
30475 * nscd/aicache.c (addhstaiX): Likewise
30476 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30477
445b4a53
TK
304782011-07-01 Thorsten Kukuk <kukuk@suse.de>
30479
30480 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30482 * nscd/hstcache.c (cache_addhst): Likewise.
30483 * nscd/grpcache.c (cache_addgr): Likewise.
30484 * nscd/aicache.c (addhstaiX): Likewise
30485
6d4d8e8e
AS
304862011-07-01 Andreas Schwab <schwab@redhat.com>
30487
30488 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30489 domain only when needed.
30490
89f654c5
AS
304912011-06-30 Andreas Schwab <schwab@redhat.com>
30492
30493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30494 is always restored.
30495
cf3b23ff
UD
304962011-06-29 Ulrich Drepper <drepper@gmail.com>
30497
30498 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30499 are re-adding the entry.
30500 * nscd/servicescache.c (cache_addserv): Likewise.
30501
751626f9
AJ
305022011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30503
30504 * sysdeps/generic/dl-irel.h: fix protection against multiple
30505 inclusions.
30506 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30507
9113ea1f
UD
305082011-06-28 Ulrich Drepper <drepper@gmail.com>
30509
5c0b8d90
UD
30510 [BZ #12935]
30511 * malloc/memusage.sh: Fix quoting in message.
30512 * debug/xtrace.sh: Likewise.
30513
9113ea1f
UD
30514 * configure.in: Remove support for --experimental-malloc option, make
30515 it the default.
30516 * config.make.in: Likewise.
30517 * malloc/Makefile: Likewise.
30518
a4172181
AS
305192011-06-27 Andreas Schwab <schwab@redhat.com>
30520
30521 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30522 two-byte characters.
30523
78a7eee7
RM
305242011-06-27 Roland McGrath <roland@hack.frob.com>
30525
62bede13
RM
30526 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30527 AC_CACHE_CHECK invocation.
30528 * configure: Regenerated.
30529
78a7eee7
RM
30530 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30531
5ce33a62
UD
305322011-06-27 Ulrich Drepper <drepper@gmail.com>
30533
034807a9
UD
30534 [BZ #12350]
30535 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30536 bit from old_res_options.
30537
4902da17
UD
30538 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30539
5ce33a62
UD
30540 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30541 value type for setfct.
30542
c2344f56
L
305432011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30544
30545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30546 __gettimeofday instead of gettimeofday.
30547
68468076
UD
305482011-06-26 Ulrich Drepper <drepper@gmail.com>
30549
30550 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30551
acb0d739
L
305522011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30553
30554 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30555
30556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30557 info.
30558
8912479f
L
305592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30560
30561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30562 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30563 strcpy-sse2-unaligned strncpy-sse2-unaligned
30564 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30565 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30566 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30567 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30568 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30569 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30570 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30571 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30572 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30573 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30574 (STRCPY): Support SSE2 and SSSE3 versions.
30575
d5495a11
UD
305762011-06-24 Ulrich Drepper <drepper@gmail.com>
30577
30578 [BZ #12874]
30579 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30580 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30581 kernels which artificially limit size of requests.
30582
0b1cbaae
L
305832011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30584
30585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30586 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30587 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30588 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30589 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30590 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30591 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30592 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30593 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30594 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30595 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30596 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30597 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30598 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30599 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30601 Enable unaligned load optimization for Intel Core i3, i5 and i7
30602 processors.
30603 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30604 Define.
30605 (index_Fast_Unaligned_Load): Define.
30606 (HAS_FAST_UNALIGNED_LOAD): Define.
30607
07f494a0
MP
306082011-06-23 Marek Polacek <mpolacek@redhat.com>
30609
30610 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30611
fa3fc0fe
UD
306122011-06-22 Ulrich Drepper <drepper@gmail.com>
30613
30614 [BZ #12907]
30615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30616 until it is clear that the information is realy needed.
30617 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30618
e12df166
AS
306192011-06-22 Andreas Schwab <schwab@redhat.com>
30620
30621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30622
852eb34d
UD
306232011-06-22 Ulrich Drepper <drepper@gmail.com>
30624
84e2a551
UD
30625 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30626 /sys/devices/system/cpu/online if it is usable.
30627
852eb34d
UD
30628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30629 reading the information from the /proc filesystem to once a second.
30630
6e502e19
UD
306312011-06-21 Andreas Jaeger <aj@suse.de>
30632
30633 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30634 NULL after inclusion of kernel headers.
30635
75d39ff2
UD
306362011-06-21 Ulrich Drepper <drepper@gmail.com>
30637
51f9aa6a
UD
30638 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30639 calls to internal_setent.
30640
c0244a9d
UD
30641 [BZ #12885]
30642 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30643 addresses using gethostbyname4_r ignore IPv4 addresses.
30644
c5e3c2ae
UD
30645 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30646 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30647
75d39ff2
UD
30648 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30649
42675c6f
DM
306502011-06-20 David S. Miller <davem@davemloft.net>
30651
30652 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30653 inclusions.
30654 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30655
30656 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30657 (elf_irel): Use it.
30658 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30659 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30660 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30661 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30662 * sysdeps/x86_64/dl-irel.h: Likewise.
30663
30664 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30665 * elf/dl-sym.c: Likewise.
30666
57912a71
UD
306672011-06-15 Ulrich Drepper <drepper@gmail.com>
30668
30669 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30670 need to dereference resplen2.
30671
ee22793d
AS
306722011-06-14 Andreas Schwab <schwab@redhat.com>
30673
30674 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30675
a9e836b0
UD
306762011-06-15 Ulrich Drepper <drepper@gmail.com>
30677
77fb9117
UD
30678 * Makeconfig: Define vardbdir and inst_vardbdir.
30679 * nss/Makefile: Add rules to install db-Makefile.
30680
40c1b22c
UD
30681 * nss/nss_db/db-XXX.c: Cleanup.
30682
9f2da732
UD
30683 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30684 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30685 GLIBC_PRIVATE.
30686 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30687 * nss/makedb.c: Implement -g option to specify that value strings
30688 are generated and should not be added to table iterated over for
30689 get*ent calls.
30690 * nss/nss_db/db-initgroups.c: New file.
30691
82e9a1f7
UD
30692 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30693 interface.
30694
c41af17e
UD
30695 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30696 (internal_getgrouplist): Adjust to name change.
30697 Update use_initgroups_entry if this is not the first call.
30698 * nss/databases.def: Add initgroups entry.
30699
a9e836b0
UD
30700 * nss/makedb.c (compute_tables): Check result of multiple hash table
30701 sizes to minimize maximum chain length.
30702
2666d441
UD
307032011-06-14 Ulrich Drepper <drepper@gmail.com>
30704
30705 * Versions.def: Add entry for libnss_db.
30706 * shlib-versions: Likewise.
30707 * nss/Makefile: Add rules to build libnss_db.
30708 * nss/Versions: Add libnss_db information. Organize libnss_files
30709 entries better.
30710 * nss/db-Makefile: Add gshadow support. Change rules for the new
30711 makedb progra. Some minor improvements to generate smaller files.
30712 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30713 here from...
30714 * nss/makedb.c: ...here.
30715 Improve database format to be smaller and require less memory at
30716 runtime.
30717 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30718 db anymore.
30719 * nss/nss_db/db-netgrp.c: Likewise.
30720 * nss/nss_db/db-open.c: Likewise.
30721 * nss/nss_files/flies-XXX.x: Adjust comments.
30722 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30723 * nss/nss_files/files-grp.c: Likewise.
30724 * nss/nss_files/files-hosts.c: Likewise.
30725 * nss/nss_files/files-network.c: Likewise.
30726 * nss/nss_files/files-proto.c: Likewise.
30727 * nss/nss_files/files-pwd.c: Likewise.
30728 * nss/nss_files/files-rpc.c: Likewise.
30729 * nss/nss_files/files-service.c: Likewise.
30730 * nss/nss_files/files-sgrp.c: Likewise.
30731 * nss/nss_files/files-spwd.c: Likewise.
30732 * nss/nss_db/db-alias.c: Removed.
30733 * nss/nss_db/dummy-db.h: Removed.
30734
9ee76b5a
UD
307352011-06-02 Ulrich Drepper <drepper@gmail.com>
30736
30737 * nss/makedb.c: Rewritten to not use database library.
30738 * nss/Makefile: Update to build new makedb program.
30739
c71ca1f8
AJ
307402011-06-14 Andreas Jaeger <aj@suse.de>
30741
30742 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30743 memset declaration.
30744
3154bfb8
UD
307452011-06-10 Andreas Schwab <schwab@redhat.com>
30746
30747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30748 tmpbuf.
30749
b350afab
RM
307502011-06-10 Roland McGrath <roland@hack.frob.com>
30751
decd4e50
RM
30752 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30753 * elf/Makefile ($(objpfx)ld.so): Likewise.
30754
5615eaf2
RM
30755 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30756 Don't list ld.so twice in dependencies.
30757
30758 * posix/bug-regex31.c: Include <stdlib.h>.
30759
30760 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30761
30762 * nis/nss_compat/compat-spwd.c
30763 (getspent_next_nss_netgr): Remove unused variable.
30764 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30765
30766 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30767 nonmembers" output to use the right array.
30768
30769 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30770
30771 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30772
30773 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30774 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30775 * catgets/gencat.c (read_input_file): Likewise.
30776 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30777
30778 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30779 variable definition inside #if's controlling its use.
30780
30781 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30782
30783 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30784
30785 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30786
30787 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30788 unreachable code.
30789
30790 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30791
b68e08db
RM
30792 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30793 * configure: Regenerated.
30794
b350afab
RM
30795 * Makerules: Revert last change.
30796 * elf/Makefile: Likewise.
30797
28368601
RM
307982011-06-09 Roland McGrath <roland@hack.frob.com>
30799
30800 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30801 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30802 (reloc-link): Likewise.
30803
11988f8f
UD
308042011-06-09 Ulrich Drepper <drepper@gmail.com>
30805
30806 * elf/Makefile: Add rules to build pldd.
30807 * elf/pldd.c: New file.
30808 * elf/pldd-xx.c: New file.
30809
e80fab37
UD
308102011-06-07 Ulrich Drepper <drepper@gmail.com>
30811
30812 * version.h: Update for 2.15 development version.
30813
9b849836
DM
308142011-06-07 David S. Miller <davem@davemloft.net>
30815
30816 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30817 ifuncs.
30818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30819 elf_machine_lazy_rel): Likewise.
30820 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30822 elf_machine_lazy_rel): Likewise.
30823 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30824 dl_hwcap via passed in argument.
30825 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30826 Likewise.
30827
5a31b283
AK
308282011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30829
30830 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30831
069e52f8
RM
308322011-06-06 Roland McGrath <roland@hack.frob.com>
30833
30834 [BZ #12849]
30835 * manual/fdl-1.1.texi: New file, verbatim from:
30836 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30837 * manual/lgpl-2.1.texi: New file, verbatim from:
30838 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30839 * manual/Makefile (licenses): New variable, list those new file names.
30840 (texis): Use it.
30841 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30842
30843 * manual/fdl.texi: File removed.
30844 * manual/lesser.texi: File removed.
30845 * manual/libc.texinfo (Copying, Documentation License):
30846 Use new @include file names, put @appendix directive before @include.
30847
f16846a5
JJ
308482011-06-04 Jakub Jelinek <jakub@redhat.com>
30849
30850 [BZ #12841]
30851 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30852 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30853 (mq_open): Add __NTH.
30854
3d29045b
L
308552011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30856
30857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30858 Assume Intel Core i3/i5/i7 processor if AVX is available.
30859
8c297311
UD
308602011-05-31 Ulrich Drepper <drepper@gmail.com>
30861
30862 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30863 typo.
30864
c8fc0c91
UD
308652011-05-31 Andreas Schwab <schwab@redhat.com>
30866
30867 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30868 memory. Use alloca_account. Fix memory leak when retrying.
30869
5b27a807
UD
308702011-05-31 Ulrich Drepper <drepper@gmail.com>
30871
356f8bc6
UD
30872 * version.h (RELEASE): Bump for 2.14 release.
30873 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30874
5b27a807
UD
30875 * config.make.in (RANLIB): Remove entry.
30876
01f16ab0
UD
308772011-05-30 Ulrich Drepper <drepper@gmail.com>
30878
41fce8bd
UD
30879 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30880 (libc.pot): Work around missing support for .ksh extension in xgettext.
30881
4769ae77
UD
30882 [BZ #12684]
30883 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30884 if both request failed.
30885 (send_dg): In case of server errors clear resplen or *resplen2.
30886
6b1e7d19
UD
30887 [BZ #12454]
30888 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30889 when there are multiple maps.
30890 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30891 (_dl_fini): Remove test here.
30892
01f16ab0
UD
30893 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30894
b1ebd700
UD
308952011-05-29 Ulrich Drepper <drepper@gmail.com>
30896
7ae22829
UD
30897 [BZ #12350]
30898 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30899 bit from old_res_options.
30900 (gaih_inet): Likewise.
30901
553149f6 30902 [BZ #11099]
18a84741 30903 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30904 as signed.
30905
652ffab1
UD
30906 * resolv/res_init.c (res_setoptions): Make the code more compact.
30907
16985fd0
UD
30908 [BZ #11558]
30909 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30910 set RES_USEVC.
30911
0464f746
UD
30912 [BZ #11634]
30913 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30914
7d17596c
UD
30915 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30916
cf6bbbd7
UD
30917 [BZ #11781]
30918 * malloc/malloc.h: Declare malloc hook variables as volatile.
30919
13f1ab36
UD
30920 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30921 in last patch.
30922
b1ebd700
UD
30923 [BZ #11799]
30924 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30925 raise in the comment.
80e2212d
UD
30926 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30928 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30929
ce67228d
UD
309302011-05-28 Ulrich Drepper <drepper@gmail.com>
30931
8887a920
UD
30932 [BZ #12811]
30933 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30934 grow the buffers more if it already has to be sufficient.
30935 (build_wcs_upper_buffer): Likewise.
30936 * posix/regexec.c (check_matching): Likewise.
30937 (clean_state_log_if_needed): Likewise.
30938 (extend_buffers): Don't enlarge buffers beyond size of the input
30939 buffer.
30940 Patches mostly by Emil Wojak <emil@wojak.eu>.
30941 * posix/bug-regex32.c: New file.
30942 * posix/Makefile (tests): Add bug-regex32.
30943
4f031072
UD
30944 * locale/findlocale.c (_nl_find_locale): Return right away if
30945 _nl_explode_name failed.
30946 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30947
d0478f0c
UD
30948 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30949
de81b246
UD
30950 * debug/xtrace.sh: Unify messages.
30951 * malloc/memusage.sh: Likewise.
30952
c738465a
UD
30953 [BZ #12813]
30954 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30955 time symbol from vDSO. Substitute with vsyscall if not available.
30956 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30957 __vdso_time.
30958
f1f929d7
UD
30959 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30960 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30961 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30962 Add sendmmsg and internal_sendmmsg.
30963 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30964 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30965 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30966
ce67228d
UD
30967 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30968 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30969 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30970
e57420c6
UD
309712011-05-27 Ulrich Drepper <drepper@gmail.com>
30972
a8509ca5
UD
30973 [BZ #12813]
30974 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30975 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30976 available.
30977 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30978 __vdso_getcpu.
30979
e57420c6
UD
30980 [BZ #12814]
30981 * iconvdata/Makefile (tests): Add bug-iconv9.
30982 * iconvdata/bug-iconv9.c: New file.
30983
4d07db15
AS
309842011-05-27 Andreas Schwab <schwab@redhat.com>
30985
30986 [BZ #12814]
30987 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30988
ea486f69
JJ
309892011-05-25 Jakub Jelinek <jakub@redhat.com>
30990
30991 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30992 (struct user_regs_struct): Change intcs field back to cs.
30993
6f038433
UD
309942011-05-25 Ulrich Drepper <drepper@gmail.com>
30995
30996 * po/ja.po: Update from translation team.
30997
67f86a25
UD
309982011-05-23 Ulrich Drepper <drepper@gmail.com>
30999
31000 [BZ #12795]
31001 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31002 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31003
def7fbd6
AS
310042011-05-20 Andreas Schwab <schwab@redhat.com>
31005
31006 * stdlib/longlong.h: Update from GCC.
31007
f50ef8f1
AS
310082011-05-23 Andreas Schwab <schwab@redhat.com>
31009
31010 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31011 parameter name.
31012 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31013 Add parameter name.
31014 (__sysconf): Pass it down.
31015
de7ce8f1
UD
310162011-05-22 Ulrich Drepper <drepper@gmail.com>
31017
f2962a71
UD
31018 [BZ #12671]
31019 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31020 some situations.
31021 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31022 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31023 add in in __libc_use_alloca calls. Adjust callers.
31024 (glob): Use malloc in some situations.
31025
de7ce8f1
UD
31026 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31027 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31028 pltexit.
31029
aec84f53
UD
310302011-05-21 Ulrich Drepper <drepper@gmail.com>
31031
05bb4a68
UD
31032 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31033 and CLOCK_BOOTTIME_ALARM.
31034
7ea72f99
UD
31035 [BZ #12782]
31036 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31037 is returned.
31038
7e4afad5
UD
31039 * string/_strerror.c (__strerror_r): Print negative errors as signed
31040 numbers.
31041
8e211fec
UD
31042 [BZ #12777]
31043 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31044 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31045 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31046
f7d82dc9
UD
31047 * configure.in: Fix typo in redirection and correct removal of test
31048 files in two cases.
31049
cc9e536d
UD
31050 [BZ #12788]
31051 * locale/setlocale.c (new_composite_name): Fix test to check for
31052 identical name of all categories.
31053
aec84f53
UD
31054 [BZ #12792]
31055 * libio/filedoalloc.c (local_isatty): New function.
31056 (_IO_file_doallocate): Use local_isatty.
31057 * stdio-common/perror.c (perror): In case a new stream is used
31058 forward the stream error.
31059 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31060 error flag.
31061
78e64fdc
RT
310622011-05-20 Ulrich Drepper <drepper@gmail.com>
31063
34a9094f
UD
31064 [BZ #11869]
31065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31066 alloca.
31067 * include/alloca.h (extend_alloca_account): Define.
31068
78e64fdc
RT
31069 [BZ #11857]
31070 * posix/regex.h: Fix comments with documentation of user-accessible
31071 fields after compilation and describe correct free'ing of pattern
31072 after re_compile_pattern.
31073 Patch by Reuben Thomas <rrt@sc3d.org>.
31074
457bddfc
RA
310752011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
31076
31077 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31078 and -mno-altivec to prevent the compiler from using Altivec and/or
31079 VSX instructions when the corresponding registers are not available.
31080
a4527b51
AS
310812011-05-19 Andreas Schwab <schwab@redhat.com>
31082
31083 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31084
ed690b2f
UD
310852011-05-19 Ulrich Drepper <drepper@gmail.com>
31086
31087 * libio/freopen.c (freopen): Use __dup2, not dup2.
31088 * libio/freopen64.c (freopen64): Likewise.
31089
8db73634
L
310902011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31091
31092 [BZ #12775]
31093 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31094 * math/Makefile (tests): Add test-powl.
31095 (CFLAGS-test-powl.c): Define.
31096 * math/test-powl.c: New file.
31097
0a197a9d
L
310982011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31099
31100 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31101
ee30c380
UD
311022011-05-17 Ulrich Drepper <drepper@gmail.com>
31103
31104 [BZ #11837]
31105 * iconvdata/gb18030.c: Update to GB18020-2005.
31106
6ce75379
UD
311072011-05-16 Ulrich Drepper <drepper@gmail.com>
31108
a4b89fd8
AR
31109 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31110 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31111 Patch by Aharon Robbins <arnold@skeeve.com>.
31112
ea389b12
UD
31113 [BZ #11892]
31114 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31115 on the stack.
31116
68a3f91f
UD
31117 [BZ #11895]
31118 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31119 through underflows.
31120
15cc7dd1
UD
31121 [BZ #12766]
31122 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31123 point to strings before performing equality test for error_one_per_line
31124 mode.
31125
f3799213
UD
31126 [BZ #11697]
31127 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31128
d79a9c94
UD
31129 [BZ #11820]
31130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31131 (struct user_fpregs_struct): Avoid __uint*_t types.
31132
56e5eb46
UD
31133 [BZ #6420]
31134 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31135 symbol info. Use it instead of calling _dl_addr locally.
31136 (lock_and_info): New function.
31137 (tr_freehook): Call lock_and_info and pass symbol info as additional
31138 parameter to tr_where.
31139 (tr_mallochook): Likewise.
31140 (tr_reallochook): Likewise.
31141 (tr_memalignhook): Likewise.
31142
6ce75379
UD
31143 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31144 used and couldn't be at all thread-safe.
31145
f8a3b5bf
UD
311462011-05-15 Ulrich Drepper <drepper@gmail.com>
31147
94b7cc37
UD
31148 * libio/freopen.c (freopen): Don't close old file descriptor
31149 before the new one is opened. Instead dup the new file descriptor
31150 to the old one after the new stream is created.
31151 * libio/freopen64.c (freopen64): Likewise.
31152 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31153 * libio/fileops.c (_IO_new_file_close_it): Handle new
31154 _IO_FLAGS2_NOCLOSE flag.
31155 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31156 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31157 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31158 _IO_FLAGS2_NOCLOSE flag.
31159 * include/unistd.h: Add hidden_proto for dup3.
31160 Define __have_dup3.
31161 * io/dup3.c: Define hidden symbol.
31162 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31163
bd25564e
UD
31164 [BZ #7101]
31165 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31166 when an incomplete long option is used.
31167 * posix/tst-getopt_long1.c: New file.
31168 * posix/Makefile (tests): Add tst-getopt_long1.
31169
c84cfef4
UD
31170 [BZ #10138]
31171 * scripts/config.guess: Update from autoconf-2.68.
31172 * scripts/config.sub: Likewise.
31173
3b85df27
UD
31174 [BZ #10157]
31175 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31176 tests into ...
31177 (has_cpuclock): ...this. New function.
31178 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31179 macro here based on has_cpuclock code.
31180
15a856b1
UD
31181 [BZ #10149]
31182 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31183 First byte (not low byte) is now always NUL.
31184 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31185
05f399e6
UD
31186 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31187 Use non-cancelable interfaces.
31188
10a52685 31189 [BZ #9809]
94ecc67d
UD
31190 * locale/iso-639.def: Add entry for Sorani.
31191
f8a3b5bf
UD
31192 [BZ #11901]
31193 * include/stdlib.h: Move include protection to the right place.
31194 Define abort_msg_s. Declare __abort_msg with it.
31195 * stdlib/abort.c (__abort_msg): Adjust type.
31196 * assert/assert.c (__assert_fail_base): New function. Majority
31197 of code from __assert_fail. Allocate memory for __abort_msg with
31198 mmap.
31199 (__assert_fail): Now call __assert_fail_base.
31200 * assert/assert-perr.c: Remove bulk of implementation. Use
31201 __assert_fail_base.
31202 * include/assert.hL Declare __assert_fail_base.
31203 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31204 mmap.
31205 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31206
1af4e298
UD
312072011-05-14 Ulrich Drepper <drepper@gmail.com>
31208
f8a3b5bf 31209 [BZ #11952]
d26dfc60
MG
31210 [BZ #12453]
31211 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31212 until all modules are registered in the DTV.
31213 * elf/Makefile: Add rules to build and run tst-tls19.
31214 * elf/tst-tls19.c: New file.
31215 * elf/tst-tls19mod1.c: New file.
31216 * elf/tst-tls19mod2.c: New file.
31217 * elf/tst-tls19mod3.c: New file.
31218 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31219
2fc54d6f
UD
31220 [BZ #12083]
31221 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31222 correctly.
31223
98d76b46
UD
31224 [BZ #12601]
31225 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31226 two-byte sequence errors.
31227 * iconvdata/Makefile (tests): Add bug-iconv8.
31228 * iconvdata/bug-iconv8.c: New file.
31229
da3c19ef
UD
31230 [BZ #12626]
31231 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31232 buf2 definition.
31233
ca408c15
UD
31234 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31235
d6f67f7d
UD
31236 [BZ #12432]
31237 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31238 (dummy_getcfa): New function.
31239 (init): Get _Unwind_GetCFA address, use dummy if not found.
31240 (backtrace_helper): In recursion check, also check whether CFA changes.
31241 (__backtrace): Completely initialize arg.
31242
1af4e298 31243 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31244 storing incomplete byte sequence in state object. Avoid testing for
31245 guaranteed too small input if we know there is enough data available.
1af4e298 31246
da62f81b
AS
312472011-05-11 Andreas Schwab <schwab@redhat.com>
31248
31249 * Makeconfig (+link-pie): Indent.
31250 * Rules (binaries-pie): Define if $(have-fpie) and
31251 $(build-shared).
31252 (binaries-shared): Also filter out $(binaries-pie).
31253 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31254 * nscd/Makefile (others-pie): Add nscd.
31255 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31256 ($(objpfx)nscd): Remove command override.
31257 * login/Makefile (others-pie): Add pt_chown.
31258 ($(objpfx)pt_chown): Remove command override.
31259 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31260 remove command overrides.
31261
fcabc0f8
UD
312622011-05-13 Ulrich Drepper <drepper@gmail.com>
31263
20030ae6
UD
31264 * libio/tst_putwc.c: Fix error messages.
31265
fcabc0f8
UD
31266 [BZ #12724]
31267 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31268 currently writing and seek to current position when not.
31269 * libio/Makefile (tests): Add bug-fclose1.
31270 * libio/bug-fclose1.c: New file.
31271
320a5dc0
PB
312722011-05-12 Ulrich Drepper <drepper@gmail.com>
31273
31274 [BZ #12511]
31275 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31276 don't set DF_1_NODELETE here.
31277 (do_lookup_x): When entering new entry test for copy relocation
31278 and if necessary set DF_1_NODELETE flag.
31279 * elf/tst-unique4.cc: New file.
31280 * elf/tst-unique4.h: New file.
31281 * elf/tst-unique4lib.cc: New file.
31282 * elf/Makefile: Add rules to build and run tst-unique4.
31283 Patch by Piotr Bury <pbury@goahead.com>.
31284
22836f52
UD
312852011-05-11 Ulrich Drepper <drepper@gmail.com>
31286
f574184a
UD
31287 [BZ #12052]
31288 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31289
e1fb097f
UD
31290 [BZ #12625]
31291 * misc/mntent_r.c (addmntent): Flush the stream after the output
31292
22836f52
UD
31293 [BZ #12393]
31294 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31295 (is_trusted_path_normalize): Skip initial colon. Append slash
31296 to empty buffer. Duplicate is_trusted_path code but allow
31297 constructed patch to be prefix.
31298 (is_dst): Allow $ORIGIN followed by /.
31299 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31300 Correct testing of result of is_trusted_path_normalize
31301 (decompose_rpath): Fix warning.
31302
7b3b0b2a
UD
313032011-05-10 Ulrich Drepper <drepper@gmail.com>
31304
31305 [BZ #11257]
31306 * grp/initgroups.c (internal_getgrouplist): When we found the service
31307 list through the initgroups entry in nsswitch.conf do not always
31308 continue on a successful lookup. Don't always use the
eac80ce2 31309 __nss_group_database value if it is set.
7b3b0b2a
UD
31310 * nss/nsswitch.conf (initgroups): Change action for successful db
31311 lookup to continue for compatibility.
31312
2a81eaa5
UD
313132011-05-09 Ulrich Drepper <drepper@gmail.com>
31314
be97a69e
UD
31315 [BZ #11532]
31316 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31317 and CP774 modules.
31318 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31319 and CP774 modules.
31320 * iconvdata/tst-tables.sh: Likewise.
31321 * iconvdata/cp770.c: New file.
31322 * iconvdata/cp771.c: New file.
31323 * iconvdata/cp772.c: New file.
31324 * iconvdata/cp773.c: New file.
31325 * iconvdata/cp774.c: New file.
31326 * iconvdata/testdata/CP770: New file.
31327 * iconvdata/testdata/CP770..UTF8: New file.
31328 * iconvdata/testdata/CP771: New file.
31329 * iconvdata/testdata/CP771..UTF8: New file.
31330 * iconvdata/testdata/CP772: New file.
31331 * iconvdata/testdata/CP772..UTF8: New file.
31332 * iconvdata/testdata/CP773: New file.
31333 * iconvdata/testdata/CP773..UTF8: New file.
31334 * iconvdata/testdata/CP774: New file.
31335 * iconvdata/testdata/CP774..UTF8: New file.
31336
31337 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31338 END CHARMAP line.
31339 * iconvdata/gen-8bit-gap.sh: Likewise.
31340 * iconvdata/gen-8bit.sh: Likewise.
31341
c1e9e399
UD
31342 * locale/iso-639.def: Add ary entry.
31343
24c55fb3 31344 [BZ #11258]
96b4b1b0
UD
31345 * locale/C-translit.h.in: Add U20A1 transliteration.
31346
bdc2f971
KB
31347 [BZ #12178]
31348 * locale/iso-639.def: Add wae entry.
31349 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31350
2952b117
UD
31351 [BZ #12545]
31352 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31353 for n.
31354
2a81eaa5
UD
31355 [BZ #12711]
31356 * locale/C-translit.h.in: Add entry for U20B9.
31357 Patch by pravin.d.s@gmail.com.
31358
28377d1b
UD
313592011-05-08 Ulrich Drepper <drepper@gmail.com>
31360
7fb90fb8
UD
31361 [BZ #12713]
31362 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31363 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31364 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31365 in rtld. Use *stat64.
7fb90fb8 31366 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31367 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31368 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31369 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31370 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31371 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31372 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31373 __fstatat64 macros.
7fb90fb8
UD
31374 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31375 * dirent/rewinddir.c: Add libc_hidden_def.
31376 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31377 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31378
28377d1b
UD
31379 * include/dirent.h (__alloc_dir): Add flags parameter.
31380 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31381 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31382 __alloc_dir.
31383 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31384 from fdopendir if O_CLOEXEC is already set.
31385
66bdbaa4
AM
313862011-03-15 Alan Modra <amodra@gmail.com>
31387
31388 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31389 l_tls_firstbyte_offset non-zero. Save padding offset in
31390 l_tls_firstbyte_offset for later use.
31391 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31392 freeing static tls block.
31393
95721191
JN
313942011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31395
31396 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31397 where #ifdef was intended. The intent is to prevent ARG_MAX from
31398 being defined by the kernel headers.
31399
f87dfb1f
UD
314002011-05-07 Ulrich Drepper <drepper@gmail.com>
31401
31402 [BZ #12734]
31403 * resolv/resolv.h: Define RES_NOTLDQUERY.
31404 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31405 no-tld-query and set RES_NOTLDQUERY.
31406 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31407 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31408 modern BIND to search name as TLD unless forbidden.
31409
47c3cd7a
UD
314102011-05-07 Petr Baudis <pasky@suse.cz>
31411 Ulrich Drepper <drepper@gmail.com>
31412
31413 [BZ #12393]
31414 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31415 (is_trusted_path): ...to here.
c1e9ea35 31416 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31417 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31418 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31419
8a35c912
PP
314202011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31421
31422 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31423 __BEGIN/__END_DECLS.
31424
acd41f47
UD
314252011-05-06 Ulrich Drepper <drepper@gmail.com>
31426
31427 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31428 NSS_STATUS_NOTFOUND if no record was found.
31429
597df647
AS
314302011-05-05 Andreas Schwab <schwab@redhat.com>
31431
31432 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31433 (headers-not-in-tirpc): Remove rpc/netdb.h
31434 * resolv/netdb.h: Revert last change.
31435
b9af1301
PP
314362011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31437
31438 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31439 circular dependency between libgcc.a and libc.a.
31440
4e34d5f5
AS
314412011-05-05 Andreas Schwab <schwab@redhat.com>
31442
31443 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31444 * nis/Makefile: Don't install rpcsvc/*.
31445 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31446 instead of <rpc/types.h>.
31447 (MAXHOSTNAMELEN): Define.
31448
00ee369c
AS
314492011-05-03 Andreas Schwab <schwab@redhat.com>
31450
31451 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31452
0b592a30
MB
314532011-04-28 Maciej Babinski <mbabinski@google.com>
31454
31455 [BZ #12714]
31456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31457 gethostbyname4_r when IPv6 results are possible.
31458
6e04cbbe
UD
314592011-05-02 Ulrich Drepper <drepper@gmail.com>
31460
31461 [BZ #12723]
31462 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31463 _PC_PIPE_BUF handling.
31464
e4ecafe0
BH
314652011-04-30 Bruno Haible <bruno@clisp.org>
31466
31467 [BZ #12717]
31468 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31469 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31470 to 'int'.
31471 * inet/getnameinfo.c (getnameinfo): Likewise.
31472
125ee683
UD
314732011-04-29 Ulrich Drepper <drepper@gmail.com>
31474
31475 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31476 to groups setting in database lookup.
31477 * nss/nsswitch.conf: Add initgroups entry.
31478
b722481a
EB
314792011-04-22 Ulrich Drepper <drepper@gmail.com>
31480
31481 [BZ #12685]
31482 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31483 mode string.
31484 Patch by Eric Blake <eblake@redhat.com>.
31485
4df46dbd
L
314862011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31487
31488 * sunrpc/Makefile (need-export-routines): Add svc_run.
31489 (routines): Remove svc_run.
31490 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31491 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31492 * sunrpc/svc_run.c (svc_run): Likewise.
31493 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31494
e84142d2
UD
314952011-04-21 Ulrich Drepper <drepper@gmail.com>
31496
31497 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31498 problem in reallocation in last patch.
31499
877175d8
UD
315002011-04-20 Ulrich Drepper <drepper@gmail.com>
31501
31502 * sunrpc/Makefile: Move inclusion of Rules.
31503
ab8eed78
UD
315042011-04-19 Ulrich Drepper <drepper@gmail.com>
31505
31506 * nss/nss_files/files-initgroups.c: New file.
31507 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31508 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31509 _nss_files_initgroups_dyn.
31510
e3d8f584
RS
315112011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31512
31513 * elf/elf.h (R_ARM_IRELATIVE): Define.
31514
af190f45
UD
315152011-04-19 Ulrich Drepper <drepper@gmail.com>
31516
31517 * po/ru.po: Update from translation team.
31518
53cf59ef
UD
315192011-04-17 Ulrich Drepper <drepper@gmail.com>
31520
31521 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31522 dependencies.
31523
4c559bcd
MF
315242011-02-06 Mike Frysinger <vapier@gentoo.org>
31525
31526 [BZ #12653]
31527 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31528 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31529 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31530 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31531 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31532
4420675c
AS
315332011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31534
31535 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31536 differing bytes.
31537 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31538 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31539 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31540
75ea32ab
UD
315412011-04-17 Ulrich Drepper <drepper@gmail.com>
31542
31543 [BZ #12420]
31544 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31545 storing it.
31546 * stdlib/bug-getcontext.c: New file.
31547 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31548
27390476
AK
315492011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31550
31551 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31552 instructions into .machine "z9-109".
31553 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31554 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31555
10442705
AK
315562011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31557
31558 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31559 between environment variables and auxiliary vector.
31560
7b57bfe5
UD
315612011-04-16 Ulrich Drepper <drepper@gmail.com>
31562
31563 * Makefile: Add rules to build linkobj/libc.so.
31564 * include/libc-symbols.h: Define libc_hidden_nolink.
31565 * include/rpc/auth.h: Mark functions which are to be hidden.
31566 * include/rpc/auth_des.h: Likewise.
31567 * include/rpc/auth_unix.h: Likewise.
31568 * include/rpc/clnt.h: Likewise.
31569 * include/rpc/des_crypt.h: Likewise.
31570 * include/rpc/key_prot.h: Likewise.
31571 * include/rpc/pmap_clnt.h: Likewise.
31572 * include/rpc/pmap_prot.h: Likewise.
31573 * include/rpc/pmap_rmt.h: Likewise.
31574 * include/rpc/rpc_msg.h: Likewise.
31575 * include/rpc/svc.h: Likewise.
31576 * include/rpc/svc_auth.h: Likewise.
31577 * include/rpc/xdr.h: Likewise.
31578 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31579 * nss/Makefile: Likewise.
31580 * sunrpc/Makefile: Don't install headers. Build library with normal
31581 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31582 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31583 for the compat linking library. Remove use of INTDEF/INTUSE.
31584 * sunrpc/auth_none.c: Likewise.
31585 * sunrpc/auth_unix.c: Likewise.
31586 * sunrpc/authdes_prot.c: Likewise.
31587 * sunrpc/authuxprot.c: Likewise.
31588 * sunrpc/clnt_gen.c: Likewise.
31589 * sunrpc/clnt_perr.c: Likewise.
31590 * sunrpc/clnt_raw.c: Likewise.
31591 * sunrpc/clnt_simp.c: Likewise.
31592 * sunrpc/clnt_tcp.c: Likewise.
31593 * sunrpc/clnt_udp.c: Likewise.
31594 * sunrpc/clnt_unix.c: Likewise.
31595 * sunrpc/des_crypt.c: Likewise.
31596 * sunrpc/des_soft.c: Likewise.
31597 * sunrpc/get_myaddr.c: Likewise.
31598 * sunrpc/key_call.c: Likewise.
31599 * sunrpc/key_prot.c: Likewise.
31600 * sunrpc/netname.c: Likewise.
31601 * sunrpc/pm_getmaps.c: Likewise.
31602 * sunrpc/pm_getport.c: Likewise.
31603 * sunrpc/pmap_clnt.c: Likewise.
31604 * sunrpc/pmap_prot.c: Likewise.
31605 * sunrpc/pmap_prot2.c: Likewise.
31606 * sunrpc/pmap_rmt.c: Likewise.
31607 * sunrpc/publickey.c: Likewise.
31608 * sunrpc/rpc_cmsg.c: Likewise.
31609 * sunrpc/rpc_common.c: Likewise.
31610 * sunrpc/rpc_dtable.c: Likewise.
31611 * sunrpc/rpc_prot.c: Likewise.
31612 * sunrpc/rpc_thread.c: Likewise.
31613 * sunrpc/rtime.c: Likewise.
31614 * sunrpc/svc.c: Likewise.
31615 * sunrpc/svc_auth.c: Likewise.
31616 * sunrpc/svc_authux.c: Likewise.
31617 * sunrpc/svc_raw.c: Likewise.
31618 * sunrpc/svc_run.c: Likewise.
31619 * sunrpc/svc_simple.c: Likewise.
31620 * sunrpc/svc_tcp.c: Likewise.
31621 * sunrpc/svc_udp.c: Likewise.
31622 * sunrpc/svc_unix.c: Likewise.
31623 * sunrpc/svcauth_des.c: Likewise.
31624 * sunrpc/xcrypt.c: Likewise.
31625 * sunrpc/xdr.c: Likewise.
31626 * sunrpc/xdr_array.c: Likewise.
31627 * sunrpc/xdr_float.c: Likewise.
31628 * sunrpc/xdr_intXX_t.c: Likewise.
31629 * sunrpc/xdr_mem.c: Likewise.
31630 * sunrpc/xdr_rec.c: Likewise.
31631 * sunrpc/xdr_ref.c: Likewise.
31632 * sunrpc/xdr_sizeof.c: Likewise.
31633 * sunrpc/xdr_stdio.c: Likewise.
31634
e6c61494
UD
316352011-04-10 Ulrich Drepper <drepper@gmail.com>
31636
31637 [BZ #12650]
31638 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31639 * sysdeps/ia64/dl-tls.h: Likewise.
31640 * sysdeps/powerpc/dl-tls.h: Likewise.
31641 * sysdeps/s390/dl-tls.h: Likewise.
31642 * sysdeps/sh/dl-tls.h: Likewise.
31643 * sysdeps/sparc/dl-tls.h: Likewise.
31644 * sysdeps/x86_64/dl-tls.h: Likewise.
31645 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31646
34fe483e
AS
316472011-03-14 Andreas Schwab <schwab@redhat.com>
31648
31649 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31650 rpath element also skip the following colon.
31651 (expand_dynamic_string_token): Add is_path parameter and pass
31652 down to DL_DST_REQUIRED and _dl_dst_substitute.
31653 (decompose_rpath): Call expand_dynamic_string_token with
31654 non-zero is_path. Ignore empty rpaths.
31655 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31656 with zero is_path.
31657
f12a32e6
AS
316582011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31659
31660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31661 Make cancelable.
31662
38a7d692
UD
316632011-04-09 Ulrich Drepper <drepper@gmail.com>
31664
31665 [BZ #12655]
31666 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31667 Patch by Filipe David Manana <fdmanana@apache.org>.
31668
e451d22b
AS
316692011-04-07 Andreas Schwab <schwab@redhat.com>
31670
31671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31672 Maintain aligned stack.
31673 (CHECK_RSP): Remove unused macro.
31674
dedc7c7b
UD
316752011-04-03 Ulrich Drepper <drepper@gmail.com>
31676
31677 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31678 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31679
94521213
UD
316802011-04-02 Ulrich Drepper <drepper@gmail.com>
31681
31682 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31683
8cb700c0 31684 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31685
0354e355
L
316862011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31687
31688 [BZ #12518]
31689 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31690 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31691 * sysdeps/x86_64/memmove.c: New file.
31692 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31693 (memcpy): Renamed to ...
31694 (__new_memcpy): This.
31695 (memcpy): Provide GLIBC_2_14 memcpy.
31696 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31697 (memcpy): Provide GLIBC_2_2_5 memcpy.
31698
8593482f
UD
316992011-04-01 Ulrich Drepper <drepper@gmail.com>
31700
31701 [BZ #12631]
31702 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31703
81a5726b
AS
317042011-03-30 Andreas Schwab <schwab@redhat.com>
31705
31706 * misc/syncfs.c: New file.
31707 * misc/Makefile (routines): Add syncfs.
31708 * posix/unistd.h: Declare syncfs.
31709 * sysdeps/unix/syscalls.list: Add syncfs.
31710
00e5419f
AS
317112011-04-01 Andreas Schwab <schwab@redhat.com>
31712
31713 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31714 open_by_handle_at.
31715 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31716 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31718 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31720 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31721 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31722
748876bf
UD
317232011-04-01 Ulrich Drepper <drepper@gmail.com>
31724
658e451d
UD
31725 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31727 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31729 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31730 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31731 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31732
748876bf
UD
31733 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31734 sync_file_range.c with -fexceptions.
31735 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31736 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31737 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31738 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31739 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31740 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31741 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31742 sync_file_range as cancellation point
31743 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31744 now a wrapper around __call_sync_file_range with cancellation handling.
31745 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31746 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31747 function name to __call_sync_file_range.
31748 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31749 Add call_sync_file_range.
748876bf 31750
6e63d5e1
AS
317512011-04-01 Andreas Schwab <schwab@redhat.com>
31752
31753 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31754 bits/timex.h.
6e63d5e1 31755
46998f74
UD
317562011-04-01 Ulrich Drepper <drepper@gmail.com>
31757
4c1423ed
UD
31758 * iconv/iconv.h: Fix typo in comment.
31759 * io/fcntl.h: Likewise.
31760 * libio/stdio.h: Likewise.
31761 * posix/spawn.h: Likewise.
31762 * posix/unistd.h: Likewise.
31763 * stdlib/stdlib.h: Likewise.
31764 * time/time.h: Likewise.
31765 * wcsmbs/wchar.h: Likewise.
31766
158648c0
UD
31767 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31768 open_by_handle): Add.
31769 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31770 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31771 Augment a few comments.
31772 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31774 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31777 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31778 open_by_handle.
31779
46998f74
UD
31780 * io/fcntl.h (AT_EMPTY_PATH): Define.
31781
83fe108b
UD
317822011-03-30 Ulrich Drepper <drepper@gmail.com>
31783
31784 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31785 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31786 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31787 to...
31788 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31789 * Versions.def: Add GLIBC_2.14.
31790 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31791 Export.
83fe108b 31792
bb242059
UD
317932011-03-22 Ulrich Drepper <drepper@gmail.com>
31794
31795 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31796 round counter.
31797 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31798
c97a1282
L
317992011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31800
31801 [BZ #12597]
31802 * string/test-strncmp.c (do_page_test): New function.
31803 (check2): Likewise.
31804 (test_main): Call check2.
31805 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31806
2a115601
UD
318072011-03-20 Ulrich Drepper <drepper@gmail.com>
31808
31809 [BZ #12587]
31810 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31811 Handle cache information in CPU leaf 4.
31812 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31813
8126d904
UD
318142011-03-18 Ulrich Drepper <drepper@gmail.com>
31815
042c49c6 31816 [BZ #12583]
8126d904
UD
31817 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31818 character representation.
31819 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31820
ccfe366e
RA
318212011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31822
31823 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31824 END(__isnan) to END(__isnanf) to match function entry point/label
31825 EALIGN(__isnanf,...).
31826
c6e13027
JJ
318272011-03-10 Jakub Jelinek <jakub@redhat.com>
31828
31829 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31830
33f85a3f
UD
318312011-03-10 Ulrich Drepper <drepper@gmail.com>
31832
028478fa
UD
31833 [BZ #12510]
31834 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31835 copy from the symbol referenced in the relocation to initialize the
31836 used variable.
31837 Patch by Piotr Bury <pbury@goahead.com>.
31838 * elf/Makefile: Add rules to build and tst-unique3.
31839 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31840 * elf/tst-unique3.cc: New file.
31841 * elf/tst-unique3.h: New file.
31842 * elf/tst-unique3lib.cc: New file.
31843 * elf/tst-unique3lib2.cc: New file.
31844
33f85a3f
UD
31845 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31846
03592fc7
MF
318472011-03-10 Mike Frysinger <vapier@gentoo.org>
31848
31849 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31850 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31851 to _start.
03592fc7 31852
6a5ee102
UD
318532011-03-06 Ulrich Drepper <drepper@gmail.com>
31854
31855 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31856 to-be-loaded object along a path to loader is ld.so.
31857
7e4ba49c
HJ
318582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31859 Ulrich Drepper <drepper@gmail.com>
31860
31861 * sysdeps/x86_64/memset.S: After aligning destination, code
31862 branches to different locations depending on the value of
31863 misalignment, when multiarch is enabled. Fix this.
31864
318652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31866
31867 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31868 Set _x86_64_preferred_memory_instruction for AMD processsors.
31869 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31870 Set bit_Prefer_SSE_for_memop for AMD processors.
31871
13a804de
UD
318722011-03-04 Ulrich Drepper <drepper@gmail.com>
31873
31874 * libio/fmemopen.c (fmemopen): Optimize a bit.
31875
9d25c392
AS
318762011-03-03 Andreas Schwab <schwab@redhat.com>
31877
31878 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31879
a5543c6a
RM
318802011-03-03 Roland McGrath <roland@redhat.com>
31881
31882 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31883
012d35f7
DM
318842011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31885
7e4ba49c 31886 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31887 __bzero_ultra1 instead of __memset_ultra1.
31888
4bff6e01
AS
318892011-02-23 Andreas Schwab <schwab@redhat.com>
31890 Ulrich Drepper <drepper@gmail.com>
31891
31892 [BZ #12509]
31893 * include/link.h (struct link_map): Add l_orig_initfini.
31894 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31895 returning unsuccessfully.
31896 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31897 close of a file loaded at startup, restore the original l_initfini
31898 list.
31899 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31900 list, store the pointer.
31901 * elf/Makefile ($(objpfx)noload-mem): New rule.
31902 (noload-ENV): Define.
31903 (tests): Add $(objpfx)noload-mem.
31904 * elf/noload.c: Include <memcheck.h>.
31905 (main): Call mtrace. Close all opened handles.
31906
f2092faf
AS
319072011-02-17 Andreas Schwab <schwab@redhat.com>
31908
31909 [BZ #12454]
31910 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31911 dependencies are missing.
31912
6c8a2e88
ST
319132011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31914
f2092faf 31915 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31916 Hurd needs munmap.
31917 * sysdeps/mach/hurd/ifreq.h: New file.
31918
84a42118
PB
319192011-01-27 Petr Baudis <pasky@suse.cz>
31920 Ulrich Drepper <drepper@gmail.com>
31921
071f805e 31922 [BZ 12445]#
84a42118
PB
31923 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31924 to extend_alloca().
31925 * stdio-common/bug23.c: New file.
31926 * stdio-common/Makefile (tests): Add bug23.
31927
e23fe25b
AS
319282010-09-28 Andreas Schwab <schwab@redhat.com>
31929 Ulrich Drepper <drepper@gmail.com>
31930
31931 [BZ #12489]
31932 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31933 before performing relro protection. At old place add assertion
31934 to make sure nothing changed.
31935
d3f02e10
NS
319362011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31937 Glauber de Oliveira Costa <glommer@gmail.com>
31938
31939 * elf/elf.h: Add new ARM TLS relocs.
31940
d55fd7a5
RA
319412011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31942
31943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31944 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31945 cast from r3.
31946 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31947 'tests' variable.
31948 * sysdeps/wordsize-64/tst-writev.c: New file.
31949
2206397e
RA
319502011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31951
31952 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31953 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31954 insns in _dl_start to prevent a TOC reference before relocs are
31955 resolved.
31956
e9433893
UD
319572011-02-15 Ulrich Drepper <drepper@gmail.com>
31958
31959 [BZ #12469]
31960 * Makeconfig: Remove RANLIB definition.
31961 * Makerules: Don't use RANLIB.
31962 * aclocal.m4: Remove ranlib test.
31963 * configure.in: No need to check for ranlib.
31964 * elf/rtld-Rules: Don't use RANLIB.
31965
f75286c6
ST
319662011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31967
8e31c82d
ST
31968 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31969 protection macro.
31970 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31971 inclusion protection macro.
31972
f75286c6
ST
31973 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31974 SIGRTMIN and SIGRTMAX and print information in that case only when
31975 SIGRTMIN is defined.
31976
c1d0e639
JJ
319772011-02-11 Jakub Jelinek <jakub@redhat.com>
31978
31979 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31980 arginfo fn returning -1.
31981
31982 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31983 and thousands string is zero terminated.
31984
edf9294e
AS
319852011-02-03 Andreas Schwab <schwab@redhat.com>
31986
31987 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31988 sysdeps/unix/sysv/linux/bits/socket.h.
31989
2b7e92df
ST
319902011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31991
edf9294e
AS
31992 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31993 (__CPU_COUNT): Remove old macros.
31994 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31995 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31996 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31997 (__sched_cpualloc, __sched_cpufree): Add declarations.
31998
a4c7ea7b
UD
319992011-02-05 Ulrich Drepper <drepper@gmail.com>
32000
32001 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32002 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32003 * nscd/aicache.c (addhstaiX): Return timeout of added value.
32004 (readdhstai): Return value of addhstaiX call.
32005 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32006 (addgrbyX): Return value returned by cache_addgr.
32007 (readdgrbyname): Return value returned by addgrbyX.
32008 (readdgrbygid): Likewise.
32009 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32010 (addpwbyX): Return value returned by cache_addpw.
32011 (readdpwbyname): Return value returned by addhstbyX.
32012 (readdpwbyuid): Likewise.
32013 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32014 (addservbyX): Return value returned by cache_addserv.
32015 (readdservbyname): Return value returned by addservbyX:
32016 (readdservbyport): Likewise.
32017 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32018 (addhstbyX): Return value returned by cache_addhst.
32019 (readdhstbyname): Return value returned by addhstbyX.
32020 (readdhstbyaddr): Likewise.
32021 (readdhstbynamev6): Likewise.
32022 (readdhstbyaddrv6): Likewise.
32023 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32024 (readdinitgroups): Return value returned by addinitgroupsX.
32025 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32026 (prune_cache): Keep track of timeout value of re-added entries.
32027 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32028 * nscd/nscd.h: Adjust prototypes of readd* functions.
32029
a0bf67cc
RM
320302011-02-04 Roland McGrath <roland@redhat.com>
32031
32032 * nis/nis_server.c (nis_servstate): Use the right name for 0.
32033 (nis_stats): Likewise.
32034 * nis/nis_modify.c (nis_modify): Likewise.
32035 * nis/nis_remove.c (nis_remove): Likewise.
32036 * nis/nis_add.c (nis_add): Likewise.
32037
32038 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32039
32040 * posix/fnmatch_loop.c: Add some consts.
32041
32042 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32043
435b95eb
L
320442011-02-02 H.J. Lu <hongjiu.lu@intel.com>
32045
32046 [BZ #12460]
32047 * config.make.in (config-cflags-novzeroupper): Define.
32048 * configure.in: Substitute libc_cv_cc_novzeroupper.
32049 * elf/Makefile (AVX-CFLAGS): Define.
32050 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32051 (CFLAGS-tst-auditmod4a.c): Likewise.
32052 (CFLAGS-tst-auditmod4b.c): Likewise.
32053 (CFLAGS-tst-auditmod6b.c): Likewise.
32054 (CFLAGS-tst-auditmod6c.c): Likewise.
32055 (CFLAGS-tst-auditmod7b.c): Likewise.
32056 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32057
8517b15e
UD
320582011-02-02 Ulrich Drepper <drepper@gmail.com>
32059
32060 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32061 function to the callback.
32062 Patch partly by Jiri Olsa <jolsa@redhat.com>.
32063
10a656fe
AS
320642011-02-02 Andreas Schwab <schwab@redhat.com>
32065
32066 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32067 of errno.
32068
968dad0a
UD
320692011-01-19 Ulrich Drepper <drepper@gmail.com>
32070
9f94d2ea 32071 [BZ #11724]
968dad0a
UD
32072 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32073 of constructors.
32074 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32075 of destructors.
32076 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32077
32078 [BZ #11724]
32079 * elf/Makefile: Add rules to build and run new test.
32080 * elf/tst-initorder.c: New file.
32081 * elf/tst-initorder.exp: New file.
32082 * elf/tst-initordera1.c: New file.
32083 * elf/tst-initordera2.c: New file.
32084 * elf/tst-initordera3.c: New file.
32085 * elf/tst-initordera4.c: New file.
32086 * elf/tst-initorderb1.c: New file.
32087 * elf/tst-initorderb2.c: New file.
32088 * elf/tst-order-a1.c: New file.
32089 * elf/tst-order-a2.c: New file.
32090 * elf/tst-order-a3.c: New file.
32091 * elf/tst-order-a4.c: New file.
32092 * elf/tst-order-b1.c: New file.
32093 * elf/tst-order-b2.c: New file.
32094 * elf/tst-order-main.c: New file.
32095 New test case by George Gensure <werkt0@gmail.com>.
32096
86e92359
UD
320972010-10-01 Andreas Schwab <schwab@redhat.com>
32098
32099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32100 decoding ACE if AI_CANONIDN.
32101
5d5732b0
UD
321022011-01-18 Ulrich Drepper <drepper@gmail.com>
32103
32104 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32105
a77e8cbc
UD
321062011-01-17 Ulrich Drepper <drepper@gmail.com>
32107
6392473f
UD
32108 * version.h (RELEASE): Bump for 2.13 release.
32109 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32110
620a0529
UD
32111 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32112
18ba70a5
UD
32113 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32114 MADV_NOHUGEPAGE.
32465c3e
UD
32115 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32116 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32117 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32118 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32119 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32121
c0dafcf1
UD
32122 * posix/getconf.c: Update copyright year.
32123 * catgets/gencat.c: Likewise.
32124 * csu/version.c: Likewise.
32125 * debug/catchsegv.sh: Likewise.
32126 * debug/xtrace.sh: Likewise.
32127 * elf/ldconfig.c: Likewise.
32128 * elf/ldd.bash.in: Likewise.
32129 * elf/sprof.c (print_version): Likewise.
32130 * iconv/iconv_prog.c: Likewise.
32131 * iconv/iconvconfig.c: Likewise.
32132 * locale/programs/locale.c: Likewise.
32133 * locale/programs/localedef.c: Likewise.
32134 * malloc/memusage.sh: Likewise.
32135 * malloc/mtrace.pl: Likewise.
32136 * nscd/nscd.c (print_version): Likewise.
32137 * nss/getent.c: Likewise.
32138
a77e8cbc
UD
32139 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32140 PF_CAIF, and PF_ALG.
32141 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32142
77e8bddf
AS
321432011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32144
1f20b93a
AS
32145 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32146 (modules-names): Use them.
32147 (ifunc-test-modules, ifunc-pie-tests): Define.
32148 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32149 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32150 (test-extras): Likewise.
32151 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32152 $(compile-command.c).
32153 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32154 (all-built-dso): Define.
32155 (check-textrel.out, check-execstack.out): Depend on it.
32156
77e8bddf
AS
32157 * configure.in: Don't override --enable-multi-arch.
32158
bc425b33
UD
321592011-01-15 Ulrich Drepper <drepper@gmail.com>
32160
32161 [BZ #6812]
32162 * nscd/hstcache.c (tryagain): Define.
32163 (cache_addhst): Return tryagain not notfound for temporary errors.
32164 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32165 failed.
32166
794c3ad3
UD
321672011-01-14 Ulrich Drepper <drepper@gmail.com>
32168
70181fdd
UD
32169 [BZ #10563]
32170 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32171 to make the syscall.
32172 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32173
794c3ad3
UD
32174 [BZ #12378]
32175 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32176 and fall back to matching as normal character if the string ends before
32177 the matching ']' is found. This is what POSIX requires.
32178 * posix/testfnm.c: Adjust test result.
32179 * posix/globtest.sh: Adjust test result. Add new test.
32180 * posix/tst-fnmatch.input: Likewise.
32181 * posix/tst-fnmatch2.c: Add new test.
32182
68dc9497
AS
321832010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32184
32185 * elf/Makefile (check-execstack): Revert last change. Depend on
32186 check-execstack.h.
32187 (check-execstack.h): New target.
32188 (generated): Add check-execstack.h.
32189 * elf/check-execstack.c: Include "check-execstack.h".
32190 (main): Revert last change.
32191 (handle_file): Return zero if GNU_STACK is absent and
32192 DEFAULT_STACK_PERMS doesn't include PF_X.
32193
451f001b
UD
321942011-01-13 Ulrich Drepper <drepper@gmail.com>
32195
cfa28e56
UD
32196 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32197 in child fails because the descriptor is already closed.
8cf8ce17
UD
32198 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32199 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32200 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32201
1086d70d
UD
32202 [BZ #12397]
32203 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32204 syscall.
32205
451f001b
UD
32206 [BZ #10484]
32207 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32208 temporary buffer used to handle multi lookups locally.
a85b5cb4 32209 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32210
08769175
UD
322112011-01-12 Ulrich Drepper <drepper@gmail.com>
32212
32213 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32214 loader is ld.so.
32215
5e49c52e
UD
322162011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32217
32218 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32219 alignment for SSE2.
32220
60522a5f
UD
322212011-01-12 Ulrich Drepper <drepper@gmail.com>
32222
32223 [BZ #12394]
32224 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32225 characters. When rounding increased number of integer digits recompute
32226 number of groups.
32227 * stdio-common/tst-grouping.c: New file.
32228 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32229
f257bbd7
UD
322302011-01-09 Ulrich Drepper <drepper@gmail.com>
32231
32232 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32233 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32234
32235 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32236 void.
32237 * bits/select.h: Likewise.
32238
fa9c15cb
UD
322392011-01-08 Ulrich Drepper <drepper@gmail.com>
32240
32241 * po/ja.po: Update from translation team.
32242
16c2895f
DM
322432011-01-04 David S. Miller <davem@sunset.davemloft.net>
32244
32245 [BZ #11155]
32246 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32247 implementation just like for lxstat, fxstatat, et al.
32248
2543fef2
JM
322492010-12-27 Jim Meyering <meyering@redhat.com>
32250
32251 [BZ #12348]
32252 * posix/regexec.c (build_trtable): Return failure indication upon
32253 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32254
98727dbe
UD
322552010-12-25 Ulrich Drepper <drepper@gmail.com>
32256
5bd6dc5c
UD
32257 [BZ #12201]
32258 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32259 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32260 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32261 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32262
97983464
UD
32263 [BZ #12207]
32264 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32265
98727dbe
UD
32266 [BZ #12204]
32267 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32268 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32269
4a531bb0
L
322702010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32271
32272 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32273 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32274 script has SORT_BY_INIT_PRIORITY.
32275 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32276 NO_CTORS_DTORS_SECTIONS is defined.
32277 * elf/soinit.c: Likewise.
32278 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32279 NO_CTORS_DTORS_SECTIONS is defined.
32280 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32281 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32282 * sysdeps/sh/init-first.c: Likewise.
32283 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32284
07eb4b71
UD
322852010-12-24 Ulrich Drepper <drepper@gmail.com>
32286
32287 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32288 always use the slow path.
32289
30950a5f
RA
322902010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32291
32292 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32293 similar rule which adds the sysdep directories to the header search in
32294 order to pick up the correct platform stackinfo.h.
32295 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32296 perform test if it is, otherwise return successfully without testing.
32297 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32298 DEFAULT_STACK_PERMS define in stackinfo.h.
32299 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32300 defined in stackinfo.h.
32301 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32302 DEFAULT_STACK_PERMS defined in stackinfo.h.
32303 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32304 * sysdeps/ia64/stackinfo.h: Likewise.
32305 * sysdeps/s390/stackinfo.h: Likewise.
32306 * sysdeps/sh/stackinfo.h: Likewise.
32307 * sysdeps/sparc/stackinfo.h: Likewise.
32308 * sysdeps/x86_64/stackinfo.h: Likewise.
32309 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32310 PF_X for powerpc64. Retain PF_X for powerpc32.
32311
db753e2c
UD
323122010-12-19 Ulrich Drepper <drepper@gmail.com>
32313
14b697f7
UD
32314 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32315 accurately.
db753e2c
UD
32316 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32317 GETDENTS_64BIT_ALIGNED.
32318
28300719
UD
323192010-12-14 Ulrich Drepper <dreper@gmail.com>
32320
14b697f7 32321 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32322
4f197237
AS
323232010-12-10 Andreas Schwab <schwab@redhat.com>
32324
dbb0472f
AS
32325 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32326 _GNU_SOURCE.
32327
4f197237
AS
32328 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32329 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32330 Remove __restrict.
32331 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32332 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32333
fb88ac72
UD
323342010-12-09 Ulrich Drepper <drepper@gmail.com>
32335
32336 [BZ #11655]
32337 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32338 are initialized.
32339
42acbb92
JJ
323402010-12-09 Jakub Jelinek <jakub@redhat.com>
32341
32342 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32343
c038d98d
UD
323442010-12-03 Ulrich Drepper <drepper@gmail.com>
32345
32346 * po/it.po: Update from translation team.
32347
3a4a2499
L
323482010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32349
32350 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32351 unused codes.
32352
1e24cf6e
UD
323532010-11-30 Ulrich Drepper <drepper@gmail.com>
32354
32355 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32356
a7690819
AS
323572010-11-24 Andreas Schwab <schwab@redhat.com>
32358
32359 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32360 specially.
32361 (gaih_getanswer_slice): Likewise.
32362
3bf8d1b1
JJ
323632010-10-20 Jakub Jelinek <jakub@redhat.com>
32364
32365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32366
6db52fbb
PB
323672010-05-31 Petr Baudis <pasky@suse.cz>
32368
32369 [BZ #11149]
32370 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32371 silently even in the chroot mode.
32372
eaca7569
UD
323732010-11-22 Ulrich Drepper <drepper@gmail.com>
32374
32375 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32376 last patch a bit. Pretty printing
32377
3056dcdb
UD
323782010-05-31 Petr Baudis <pasky@suse.cz>
32379
32380 [BZ #10085]
32381 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32382 initialization of skip_initgroups_dyn.
32383
cf7c9078
UD
323842010-11-19 Ulrich Drepper <drepper@gmail.com>
32385
32386 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32387 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32388
a1fb5e3e
UD
323892010-11-16 Ulrich Drepper <drepper@gmail.com>
32390
32391 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32392
3540d66b
AS
323932010-11-11 Andreas Schwab <schwab@redhat.com>
32394
32395 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32396 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32397 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32398 ($(objpfx)tst-fnmatch-mem): New rule.
32399 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32400 * posix/tst-fnmatch.c (main): Call mtrace.
32401
13b69574
L
324022010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32403
32404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32405 Support Intel processor model 6 and model 0x2c.
32406
da93d214
LM
324072010-11-10 Luis Machado <luisgpm@br.ibm.com>
32408
32409 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32410 signed comparison.
32411
8ca52c6e
L
324122010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32413
32414 [BZ #12205]
32415 * string/test-strncasecmp.c (check_result): New function.
32416 (do_one_test): Use it.
32417 (check1): New function.
32418 (test_main): Use it.
32419 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32420 Support strcasecmp and strncasecmp.
32421
69da074d
UD
324222010-11-08 Ulrich Drepper <drepper@gmail.com>
32423
32424 [BZ #12194]
32425 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32426 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32427
ff02d528
L
324282010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32429
32430 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32431 IFUNC support.
32432 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32433 memset-x86-64.
32434 * sysdeps/x86_64/multiarch/bzero.S: New file.
32435 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32436 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32437 * sysdeps/x86_64/multiarch/memset.S: New file.
32438 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32440 Set bit_Prefer_SSE_for_memop for Intel processors.
32441 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32442 Define.
32443 (index_Prefer_SSE_for_memop): Define.
32444 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32445
344d0b54
LM
324462010-11-04 Luis Machado <luisgpm@br.ibm.com>
32447
32448 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32449 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32450
c0dde15b
UD
324512010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32452
32453 [BZ #12191]
32454 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32455 (__x86_64_raw_data_cache_size_half): Likewise.
32456 (__x86_64_raw_shared_cache_size): Likewise.
32457 (__x86_64_raw_shared_cache_size_half): Likewise.
32458
32459 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32460 (__x86_64_raw_data_cache_size_half): Likewise.
32461 (__x86_64_raw_shared_cache_size): Likewise.
32462 (__x86_64_raw_shared_cache_size_half): Likewise.
32463 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32464 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32465 and __x86_64_raw_shared_cache_size_half. Round
32466 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32467 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32468 to multiple of 256 bytes.
32469
0e516e0e
MS
324702010-11-03 Ulrich Drepper <drepper@gmail.com>
32471
32472 [BZ #12167]
32473 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32474 of inacessible symlinks. Verify result of symlink before returning it.
32475 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32476 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32477
0e012e87
ER
324782010-10-28 Erich Ritz <erichritz@gmail.com>
32479
32480 * math/math.h (isinf): Fix typo in comment.
32481
de0ff7bc
UD
324822010-11-01 Ulrich Drepper <drepper@gmail.com>
32483
32484 * po/da.po: Update from translation team.
32485
fa41c84d
UD
324862010-10-26 Ulrich Drepper <drepper@gmail.com>
32487
32488 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32489 is added to the list.
32490
f0967738
AK
324912010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32492 Ulrich Drepper <drepper@gmail.com>
32493
32494 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32495 the global list here. Move code to...
32496 (_dl_add_to_namespace_list): ...here. New function.
32497 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32498 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32499 * elf/dl-load.c (lose): Don't remove the element from the list.
32500 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32501 (_dl_map_object): Likewise.
32502
325032010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32504
32505 [BZ #12159]
32506 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32507 into all bytes of SSE register.
32508 Patch by Richard Li <richardpku@gmail.com>.
32509
f0967738 325102010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32511
32512 [BZ #12140]
32513 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32514 perturbing.
32515
d0b9e94f
MB
325162010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32517
32518 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32519 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32520 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32521 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32523 submachine.
32524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32525
8e9f92e9
AS
325262010-10-22 Andreas Schwab <schwab@redhat.com>
32527
32528 * include/dlfcn.h (__RTLD_SECURE): Define.
32529 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32530 mode & __RTLD_SECURE instead.
32531 (open_path): Rename preloaded parameter to secure.
32532 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32533 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32534 * elf/dl-deps.c (openaux): Likewise.
32535 * elf/rtld.c (struct map_args): Remove is_preloaded.
32536 (map_doit): Don't use it.
32537 (dl_main): Likewise.
32538 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32539 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32540
bc96fbda
AS
325412010-09-09 Andreas Schwab <schwab@redhat.com>
32542
32543 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32544 (sysd-rules-targets): Remove duplicates.
32545 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32546 rtld-%.$o dependency.
32547
22cd1c9b
AS
325482010-10-18 Andreas Schwab <schwab@redhat.com>
32549
32550 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32551 _dl_map_object do it.
32552
18edac48
UD
325532010-10-19 Ulrich Drepper <drepper@gmail.com>
32554
32555 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32556 fast fma builtins, define the macros in the C99 standard.
32557 (FP_FAST_FMAF): Likewise.
32558 (FP_FAST_FMAL): Likewise.
32559 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32560
32561 * bits/mathdef.h: Update copyright year.
32562 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32563
d2050124
MM
325642010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32565
32566 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32567 builtins, define the macros in the C99 standard.
32568 (FP_FAST_FMAF): Likewise.
32569 (FP_FAST_FMAL): Likewise.
32570 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32571 multiply/add.
32572 (FP_FAST_FMAF): Likewise.
32573
475facd1
JJ
325742010-10-15 Jakub Jelinek <jakub@redhat.com>
32575
32576 [BZ #3268]
32577 * math/libm-test.inc (fma_test): Some new testcases.
32578 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32579 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32580 y and infinite z. Do multiplication by C already in long double.
32581 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32583 y and infinite z. Do bitwise or of inexact bit into u.d.
32584 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32585 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32586 * sysdeps/i386/fpu/s_fma.S: Removed.
32587 * sysdeps/i386/fpu/s_fmal.S: Removed.
32588
7c08a05c
JJ
325892010-10-16 Jakub Jelinek <jakub@redhat.com>
32590
32591 [BZ #3268]
32592 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32593 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32594 computation is not scheduled after fetestexcept. Fix value
32595 of minimum denormal long double.
32596
f3f7372d
JJ
325972010-10-14 Jakub Jelinek <jakub@redhat.com>
32598
32599 [BZ #3268]
32600 * math/libm-test.inc (fma_test): Add some more tests.
32601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32602 correctly.
32603
14d43591
AS
326042010-10-15 Andreas Schwab <schwab@redhat.com>
32605
32606 * scripts/data/localplt-s390-linux-gnu.data: New file.
32607 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32608
5e908464
JJ
326092010-10-13 Jakub Jelinek <jakub@redhat.com>
32610
32611 [BZ #3268]
32612 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32613 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32614 instead of dbl-64.
32615 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32616 inlines.
32617 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32619 if one of x and y is very large and the other is subnormal.
32620 * sysdeps/s390/fpu/s_fmaf.c: New file.
32621 * sysdeps/s390/fpu/s_fma.c: New file.
32622 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32623 * sysdeps/powerpc/fpu/s_fma.S: New file.
32624 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32625 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32626 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32627
326282010-10-12 Jakub Jelinek <jakub@redhat.com>
32629
32630 [BZ #3268]
32631 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32632 fma tests.
32633 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32634 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32635 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32636 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32637 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32638 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32639 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32640
b833d51f
UD
326412010-10-12 Ulrich Drepper <drepper@redhat.com>
32642
32643 [BZ #12078]
32644 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32645 * posix/bug-regex31.input: Add test case.
32646
1751705d
UD
326472010-10-11 Ulrich Drepper <drepper@gmail.com>
32648
e9b9cbf5
UD
32649 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32650 * posix/bug-regex31.input: New file.
32651
32652 [BZ #12078]
32653 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32654 (parse_sub_exp): Fix last change, use postorder.
32655
ef06edbe
UD
32656 * posix/bug-regex31.c: New file.
32657 * posix/Makefile: Add rules to build and run bug-regex31.
32658
a129c80d
UD
32659 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32660
32661 [BZ #12078]
32662 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32663
b76b818e
UD
32664 [BZ #12108]
32665 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32666 to have entries in sys_siglist.
32667
1751705d
UD
32668 [BZ #12093]
32669 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32670 be NULL.
32671
9ff8d36f
JJ
326722010-10-07 Jakub Jelinek <jakub@redhat.com>
32673
32674 [BZ #3268]
32675 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32676 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32677 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32678 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32679 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32680 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32681 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32682 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32683 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32684 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32685 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32686 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32687 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32688 * math/ftestexcept.c (fetestexcept): Likewise.
32689 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32690 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32691 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32692 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32693 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32694 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32695 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32696
af325969
UD
326972010-10-11 Ulrich Drepper <drepper@gmail.com>
32698
c579b202 32699 [BZ #12107]
af325969
UD
32700 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32701 newline.
32702
67a67b95
UD
327032010-10-06 Ulrich Drepper <drepper@gmail.com>
32704
32705 * string/bug-strstr1.c: New file.
32706 * string/Makefile: Add rules to build and run bug-strstr1.
32707
5fb308bc
EB
327082010-10-05 Eric Blake <eblake@redhat.com>
32709
32710 [BZ #12092]
32711 * string/str-two-way.h (two_way_long_needle): Always clear memory
32712 when skipping input due to the shift table.
32713
45db99c7
UD
327142010-10-03 Ulrich Drepper <drepper@gmail.com>
32715
3b111893
UD
32716 [BZ #12005]
32717 * malloc/mcheck.c: Handle large requests.
32718
45db99c7
UD
32719 [BZ #12077]
32720 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32721 for strncmp and strncasecmp.
32722 * string/stratcliff.c: Add tests for strcmp and strncmp.
32723 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32724
cf7a1eb8
NI
327252010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32726
32727 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32728 __set_fpscr.
32729
6484ba5e
AJ
327302010-09-30 Andreas Jaeger <aj@suse.de>
32731
32732 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32733 (CGROUP_SUPER_MAGIC): Define.
32734 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32735 Handle btrfs and cgroup file systems.
32736 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32737 Likewise.
32738
91c42559
LM
327392010-09-27 Luis Machado <luisgpm@br.ibm.com>
32740
32741 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32742 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32743
87a97932
AK
327442010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32745
32746 [BZ #12067]
32747 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32748 trying to locate the ELF header.
32749
c21cc9bc
AS
327502010-09-27 Andreas Schwab <schwab@redhat.com>
32751
32752 [BZ #11611]
32753 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32754 Mask out sign-bit copies when constructing f_fsid.
32755
315970f6
PB
327562010-09-24 Petr Baudis <pasky@suse.cz>
32757
32758 * debug/stack_chk_fail_local.c: Add missing licence exception.
32759 * debug/warning-nop.c: Likewise.
32760
1ac7a2c7
JM
327612010-09-15 Joseph Myers <joseph@codesourcery.com>
32762
32763 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32764 implementing getdents64 using getdents syscall, set d_type if
32765 __ASSUME_GETDENTS32_D_TYPE.
32766
56801c50
AS
327672010-09-16 Andreas Schwab <schwab@redhat.com>
32768
32769 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32770 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32771
dda51327
UD
327722010-09-21 Ulrich Drepper <drepper@redhat.com>
32773
32774 [BZ #12037]
32775 * posix/unistd.h: Undo change of feature selection for ftruncate from
32776 2010-01-11.
32777
8ffcee4a
UD
327782010-09-20 Ulrich Drepper <drepper@redhat.com>
32779
a545ecd9 32780 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32781 detection.
32782
e24f0a8b
AS
327832010-09-20 Andreas Schwab <schwab@redhat.com>
32784
32785 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32786 fanotify_mark.
32787 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32788
7291c56f
AS
327892010-09-14 Andreas Schwab <schwab@redhat.com>
32790
32791 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32792 variables after CHECK_SP call.
32793 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32794
bc5fb037
AS
327952010-09-13 Andreas Schwab <schwab@redhat.com>
32796 Ulrich Drepper <drepper@redhat.com>
32797
32798 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32799 re-relocationg ld.so.
32800 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32801 _dl_init_paths call.
32802 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32803 here anymore.
32804
e66e7419
UD
328052010-09-14 Ulrich Drepper <drepper@redhat.com>
32806
32807 * resolv/res_init.c (__res_vinit): Count the default server we added.
32808
c044aa75
CLT
328092010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32810 Ulrich Drepper <drepper@redhat.com>
32811
32812 [BZ #11968]
32813 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32814 (____longjmp_chk): Use %ebx for saving value across system call.
32815 Add unwind info.
32816
32cf4069
AS
328172010-09-06 Andreas Schwab <schwab@redhat.com>
32818
32819 * manual/Makefile: Don't mix pattern rules with normal rules.
32820
817328ee
AS
328212010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32822
32823 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32824 operation.
32825 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32826 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32827 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32828 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32830 Likewise.
32831
29fddf61
UD
328322010-09-04 Ulrich Drepper <drepper@redhat.com>
32833
32834 [BZ #11979]
32835 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32836 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32837
0959ffc9
UD
328382010-09-02 Ulrich Drepper <drepper@redhat.com>
32839
32840 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32841 * sysdeps/x86_64/addmul_1.S: Likewise.
32842 * sysdeps/x86_64/lshift.S: Likewise.
32843 * sysdeps/x86_64/mul_1.S: Likewise.
32844 * sysdeps/x86_64/rshift.S: Likewise.
32845 * sysdeps/x86_64/sub_n.S: Likewise.
32846 * sysdeps/x86_64/submul_1.S: Likewise.
32847
ece29840
ST
328482010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32849
0959ffc9
UD
32850 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32851 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32852 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32853 * bits/sched.h [__need_schedparam]
ece29840 32854 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32855 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32856 (__defined_schedparam): Define to 1.
ece29840
ST
32857 (__sched_param): New structure, identical to sched_param.
32858 (__need_schedparam): Undefine.
32859
e53a31fe
MF
328602010-08-31 Mike Frysinger <vapier@gentoo.org>
32861
fdc0c10d
MF
32862 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32863 (epoll_create1): Declare.
32864
e53a31fe
MF
32865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32866
a726d796
AS
328672010-08-31 Andreas Schwab <schwab@redhat.com>
32868
32869 [BZ #7066]
32870 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32871 shifting retval into place.
32872
2f3e3dc7
UD
328732010-09-01 Ulrich Drepper <drepper@redhat.com>
32874
f2933da9
UD
32875 * nis/rpcsvc/nis.h: Update copyright notice.
32876 * nis/rpcsvc/nis.x: Likewise.
32877 * nis/rpcsvc/nis_callback.h: Likewise.
32878 * nis/rpcsvc/nis_callback.x: Likewise.
32879 * nis/rpcsvc/nis_object.x: Likewise.
32880 * nis/rpcsvc/nis_tags.h: Likewise.
32881 * nis/rpcsvc/yp.h: Likewise.
32882 * nis/rpcsvc/yp.x: Likewise.
32883 * nis/rpcsvc/ypupd.h: Likewise.
32884 * nis/yp_xdr.c: Likewise.
32885 * nis/ypupdate_xdr.c: Likewise.
32886
2f3e3dc7
UD
32887 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32888 mainly the body of pmap_getport. Add parameters to specify timeouts.
32889 (pmap_getport): Use __libc_rpc_getport.
32890 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32891 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32892 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32893
f3dcc2f9
AS
328942010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32895
32896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32897 fanotify_mark.
32898
6d34eb5b
RM
328992010-08-27 Roland McGrath <roland@redhat.com>
32900
32901 * sysdeps/i386/i686/multiarch/Makefile
32902 (CFLAGS-varshift.c): New variable.
32903
9ea3de11
UD
329042010-08-27 Ulrich Drepper <drepper@redhat.com>
32905
c96d23fc
UD
32906 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32907 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32908
9ea3de11
UD
32909 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32910
32911 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32912
623aac7f
L
329132010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32914
32915 * sysdeps/x86_64/strlen.S: Unroll the loop.
32916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32917 strlen-sse2 strlen-sse2-bsf.
32918 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32919 __strlen_no_bsf if bit_Slow_BSF is set.
32920 (__strlen_sse42): Removed.
32921 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32922 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32923
8b2b7715
RM
329242010-08-25 Roland McGrath <roland@redhat.com>
32925
32926 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32927 * sysdeps/x86_64/multiarch/varshift.c: New file.
32928 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32929 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32930 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32931 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32932
e73015f2
L
329332010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32934
32935 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32936 strlen-sse2 strlen-sse2-bsf.
32937 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32938 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32939 (__strlen_sse2): Removed.
32940 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32941 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32943 bit_Slow_BSF for Atom.
32944 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32945 (index_Slow_BSF): Define.
32946 (HAS_SLOW_BSF): Define.
32947
df24a73e
UD
329482010-08-25 Ulrich Drepper <drepper@redhat.com>
32949
32950 [BZ #10851]
32951 * resolv/res_init.c (__res_vinit): When no server address at all
32952 is given default to loopback.
32953
f2ac4868
RM
329542010-08-24 Roland McGrath <roland@redhat.com>
32955
09055553
RM
32956 * configure.in: Remove config-name.h generation.
32957 * configure: Regenerated.
32958 * config-name.in: File removed.
32959 * scripts/config-uname.sh: New file.
32960 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32961 ($(objdir)config-name.h): New target.
32962
f2ac4868
RM
32963 * sunrpc/rpc_parse.h: Avoid nested comment.
32964
73f27d5e
RH
329652010-08-24 Richard Henderson <rth@redhat.com>
32966 Ulrich Drepper <drepper@redhat.com>
32967 H.J. Lu <hongjiu.lu@intel.com>
32968
32969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32970 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32971 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32972 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32973 _mm_alignr_epi8 with _mm_loadu_si128.
32974 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32975 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32976 (__m128i_shift_right): Removed.
32977 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32978 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32979 * sysdeps/x86_64/multiarch/varshift.h: New file.
32980 * sysdeps/x86_64/multiarch/varshift.S: New file.
32981
84b9230c
MF
329822010-08-21 Mike Frysinger <vapier@gentoo.org>
32983
32984 * configure.in: Move assembler checks to before sysdep dir checking.
32985
9bbd0ddc
PB
329862010-08-20 Petr Baudis <pasky@suse.cz>
32987
32988 * LICENSES: Sync the sunrpc license.
32989
9da4bb31
UD
329902010-08-19 Ulrich Drepper <drepper@redhat.com>
32991
a7ab6ec8
UD
32992 * sunrpc/auth_des.c: Update copyright notice once again.
32993 * sunrpc/auth_none.c: Likewise.
32994 * sunrpc/auth_unix.c: Likewise.
32995 * sunrpc/authdes_prot.c: Likewise.
32996 * sunrpc/authuxprot.c: Likewise.
32997 * sunrpc/bindrsvprt.c: Likewise.
32998 * sunrpc/clnt_gen.c: Likewise.
32999 * sunrpc/clnt_perr.c: Likewise.
33000 * sunrpc/clnt_raw.c: Likewise.
33001 * sunrpc/clnt_simp.c: Likewise.
33002 * sunrpc/clnt_tcp.c: Likewise.
33003 * sunrpc/clnt_udp.c: Likewise.
33004 * sunrpc/clnt_unix.c: Likewise.
33005 * sunrpc/des_crypt.c: Likewise.
33006 * sunrpc/des_soft.c: Likewise.
33007 * sunrpc/get_myaddr.c: Likewise.
33008 * sunrpc/getrpcport.c: Likewise.
33009 * sunrpc/key_call.c: Likewise.
33010 * sunrpc/key_prot.c: Likewise.
33011 * sunrpc/openchild.c: Likewise.
33012 * sunrpc/pm_getmaps.c: Likewise.
33013 * sunrpc/pm_getport.c: Likewise.
33014 * sunrpc/pmap_clnt.c: Likewise.
33015 * sunrpc/pmap_prot.c: Likewise.
33016 * sunrpc/pmap_prot2.c: Likewise.
33017 * sunrpc/pmap_rmt.c: Likewise.
33018 * sunrpc/rpc/auth.h: Likewise.
33019 * sunrpc/rpc/auth_unix.h: Likewise.
33020 * sunrpc/rpc/clnt.h: Likewise.
33021 * sunrpc/rpc/des_crypt.h: Likewise.
33022 * sunrpc/rpc/key_prot.h: Likewise.
33023 * sunrpc/rpc/netdb.h: Likewise.
33024 * sunrpc/rpc/pmap_clnt.h: Likewise.
33025 * sunrpc/rpc/pmap_prot.h: Likewise.
33026 * sunrpc/rpc/pmap_rmt.h: Likewise.
33027 * sunrpc/rpc/rpc.h: Likewise.
33028 * sunrpc/rpc/rpc_des.h: Likewise.
33029 * sunrpc/rpc/rpc_msg.h: Likewise.
33030 * sunrpc/rpc/svc.h: Likewise.
33031 * sunrpc/rpc/svc_auth.h: Likewise.
33032 * sunrpc/rpc/types.h: Likewise.
33033 * sunrpc/rpc/xdr.h: Likewise.
33034 * sunrpc/rpc_clntout.c: Likewise.
33035 * sunrpc/rpc_cmsg.c: Likewise.
33036 * sunrpc/rpc_common.c: Likewise.
33037 * sunrpc/rpc_cout.c: Likewise.
33038 * sunrpc/rpc_dtable.c: Likewise.
33039 * sunrpc/rpc_hout.c: Likewise.
33040 * sunrpc/rpc_main.c: Likewise.
33041 * sunrpc/rpc_parse.c: Likewise.
33042 * sunrpc/rpc_parse.h: Likewise.
33043 * sunrpc/rpc_prot.c: Likewise.
33044 * sunrpc/rpc_sample.c: Likewise.
33045 * sunrpc/rpc_scan.c: Likewise.
33046 * sunrpc/rpc_scan.h: Likewise.
33047 * sunrpc/rpc_svcout.c: Likewise.
33048 * sunrpc/rpc_tblout.c: Likewise.
33049 * sunrpc/rpc_util.c: Likewise.
33050 * sunrpc/rpc_util.h: Likewise.
33051 * sunrpc/rpcinfo.c: Likewise.
33052 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33053 * sunrpc/rpcsvc/key_prot.x: Likewise.
33054 * sunrpc/rpcsvc/klm_prot.x: Likewise.
33055 * sunrpc/rpcsvc/mount.x: Likewise.
33056 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33057 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33058 * sunrpc/rpcsvc/rex.x: Likewise.
33059 * sunrpc/rpcsvc/rstat.x: Likewise.
33060 * sunrpc/rpcsvc/rusers.x: Likewise.
33061 * sunrpc/rpcsvc/sm_inter.x: Likewise.
33062 * sunrpc/rpcsvc/spray.x: Likewise.
33063 * sunrpc/rpcsvc/yppasswd.x: Likewise.
33064 * sunrpc/rtime.c: Likewise.
33065 * sunrpc/svc.c: Likewise.
33066 * sunrpc/svc_auth.c: Likewise.
33067 * sunrpc/svc_authux.c: Likewise.
33068 * sunrpc/svc_raw.c: Likewise.
33069 * sunrpc/svc_run.c: Likewise.
33070 * sunrpc/svc_simple.c: Likewise.
33071 * sunrpc/svc_tcp.c: Likewise.
33072 * sunrpc/svc_udp.c: Likewise.
33073 * sunrpc/svc_unix.c: Likewise.
33074 * sunrpc/svcauth_des.c: Likewise.
33075 * sunrpc/xcrypt.c: Likewise.
33076 * sunrpc/xdr.c: Likewise.
33077 * sunrpc/xdr_array.c: Likewise.
33078 * sunrpc/xdr_float.c: Likewise.
33079 * sunrpc/xdr_mem.c: Likewise.
33080 * sunrpc/xdr_rec.c: Likewise.
33081 * sunrpc/xdr_ref.c: Likewise.
33082 * sunrpc/xdr_sizeof.c: Likewise.
33083 * sunrpc/xdr_stdio.c: Likewise.
33084
9da4bb31
UD
33085 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33086 handling.
33087
bdaa77bc
AS
330882010-08-19 Andreas Schwab <schwab@redhat.com>
33089
33090 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33091
fe2f79db
LM
330922010-08-19 Luis Machado <luisgpm@br.ibm.com>
33093
33094 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33095 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33096 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33097 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33098 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33099 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33100 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33101 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33102 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33103 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33104 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33105 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33106 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33107 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33108
b9b42ee0
AB
331092010-07-26 Anton Blanchard <anton@samba.org>
33110
33111 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33112 * malloc/arena.c (heap_trim): Likewise.
33113
1c06ba31
UD
331142010-08-16 Ulrich Drepper <drepper@redhat.com>
33115
33116 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33117 here. Not...
33118 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33119 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33120
f8392f40
L
331212010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33122
33123 * sysdeps/i386/elf/Makefile: New file.
33124
3162f12e
AS
331252010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33126
33127 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33128 from fanotify_init.
33129 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33130 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33131
28c90b2c
UD
331322010-08-15 Ulrich Drepper <drepper@redhat.com>
33133
33134 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33135 of strncasecmp_l.
1feccb6c 33136 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33137
ca6bb004
UD
331382010-08-14 Ulrich Drepper <drepper@redhat.com>
33139
e9f82e0d
UD
33140 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33141 strncase_l-nonascii.
33142 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33143 Add strncase_l-ssse3.
33144 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33145 * sysdeps/x86_64/strcmp.S: Likewise.
33146 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33147 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33148 * sysdeps/x86_64/strncase.S: New file.
33149 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33150 * sysdeps/x86_64/strncase_l.S: New file.
33151 * string/Makefile (strop-tests): Add strncasecmp.
33152 * string/test-strncasecmp.c: New file.
33153
33154 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33155 warning.
33156
ca6bb004
UD
33157 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33158 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33159
052fa7b3
AS
331602010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33161
33162 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33163
962dba78
UD
331642010-08-12 Ulrich Drepper <drepper@redhat.com>
33165
33166 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33167 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33168 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33169
bebff237
AM
331702010-05-01 Alan Modra <amodra@gmail.com>
33171
33172 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33173 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33174 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33175 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33176 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33177 tidying. Don't tail-call __sigjmp_save for static lib.
33178 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33179 save location.
33180 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33181 (CALL_MCOUNT): Add eh info, and nop after bl.
33182 (TAIL_CALL_SYSCALL_ERROR): New macro.
33183 (PSEUDO_RET): Use it.
33184 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33185 Correct save location of integer regs and cr.
33186 (_dl_profile_resolve): Correct cr save location. Delete nops
33187 after bl when SHARED. Reduce cfi size a little by better
33188 placement of cfi directives.
33189 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33190 make a stack frame. Instead use parm save area as a temp.
33191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33192 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33194 Don't make a stack frame for parent, use parm save area.
33195 Increase child stack frame to 112 bytes. Don't save unused reg,
33196 and adjust reg usage. Set up cfi on error recovery and
33197 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33199 (__makecontext): Add dummy nop after jump to exit.
33200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33201 Use correct parm save area and cr save, reduce stack frame.
33202 Correct cfi for possible PSEUDO_RET frame setup.
33203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33204 Branch to local label emitted by PSEUDO_RET rather than
33205 __syscall_error.
33206
02637374
AS
332072010-08-12 Andreas Schwab <schwab@redhat.com>
33208
33209 [BZ #11904]
33210 * locale/programs/locale.c (print_assignment): New function.
33211 (show_locale_vars): Use it.
33212
c3e2f19b
UD
332132010-08-11 Ulrich Drepper <drepper@redhat.com>
33214
3cdaa6ad
UD
33215 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33216 field.
33217 (struct statfs64): Likewise.
33218 (_STATFS_F_FLAGS): Define.
33219 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33221 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33222 (ST_VALID): Define locally.
33223 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33224 __statvfs_getflags, use the provided value.
33225 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33226 __ASSUME_STATFS_F_FLAGS.
33227
754f7da3
UD
33228 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33229
10b3bedc
UD
33230 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33231 Add sys/fanotify.h.
33232 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33233 fanotify_mask for GLIBC_2.13.
33234 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33235 fanotify_init and fanotify_mark.
33236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33237 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33238
c08fb0d7
UD
33239 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33240 Add prlimit.
33241 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33242 prlimit64 for GLIBC_2.13.
33243 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33244 prlimit64.
33245 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33246 syscall.
33247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33249 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33250 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33251 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33252 add prlimit alias.
33253 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33254
15bac72b
UD
33255 [BZ #11903]
33256 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33257 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33258
c3e2f19b
UD
33259 * nss/Makefile: Add rules to build and run tst-nss-test1.
33260 * shlib-versions: Add entry for libnss_test1.
33261 * nss/nss_test1.c: New file.
33262 * nss/tst-nss-test1.c: New file.
33263
33264 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33265 (__nss_configure_lookup): Set appropriate entry in
33266 __nss_configure_lookup to true.
33267 * nss/nsswitch.h: Define enum with indeces of databases in
33268 databases and __nss_database_custom arrays. Declare
33269 __nss_database_custom.
33270 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33271 to avoid using nscd when custom rules are installed.
33272 * nss/getXXbyYY_r.c: Likewise.
33273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33274
33275 * nss/nss_files/files-parse.c: Whitespace fixes.
33276
f15ce4d8
UD
332772010-08-09 Ulrich Drepper <drepper@redhat.com>
33278
33279 [BZ #11883]
33280 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33281 * posix/fnmatch_loop.c: Likewise.
33282
d22e4cc9
AK
332832010-07-17 Andi Kleen <ak@linux.intel.com>
33284
33285 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33286 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33287 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33288 * Versions.def [GLIBC_2.13]: Add.
33289
805bc17d
UD
332902010-08-06 Ulrich Drepper <drepper@redhat.com>
33291
33292 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33293 Also fail if tpwd after pwuid call is NULL.
33294
5a42321d
ST
332952010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33296
33297 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33298 when converting to ms.
33299
fd3ebeda
ST
333002010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33301
33302 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33303 EOPNOTSUPP errors with ENOTTY.
33304 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33305 EOPNOTSUPP errors with ENOTTY.
33306
73507d3a
UD
333072010-07-31 Ulrich Drepper <drepper@redhat.com>
33308
33309 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33310 Add strcasecmp_l-ssse3.
33311 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33312 strcasecmp.
33313 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33314 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33315 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33316
fe36dd02
UD
333172010-07-30 Ulrich Drepper <drepper@redhat.com>
33318
66f6765a
UD
33319 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33320
42e08a54
UD
33321 * string/Makefile (strop-tests): Add strcasecmp.
33322 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33323 strcasecmp_l-nonascii.
33324 (gen-as-const-headers): Add locale-defines.sym.
33325 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33326 * sysdeps/x86_64/strcasecmp.S: New file.
33327 * sysdeps/x86_64/strcasecmp_l.S: New file.
33328 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33329 * sysdeps/x86_64/locale-defines.sym: New file.
33330 * string/test-strcasecmp.c: New file.
33331
fe36dd02
UD
33332 * string/test-strcasestr.c: Test both ends of the range of characters.
33333 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33334
48cbc0d6
RM
333352010-07-29 Roland McGrath <roland@redhat.com>
33336
76e6d6bc 33337 [BZ #11856]
48cbc0d6
RM
33338 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33339
880113d9
UD
333402010-07-27 Ulrich Drepper <drepper@redhat.com>
33341
33342 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33343 for ld.so.
33344
deb9cabb
AS
333452010-07-27 Andreas Schwab <schwab@redhat.com>
33346
33347 * manual/memory.texi (Malloc Tunable Parameters): Document
33348 M_PERTURB.
33349
1c7570ff
RM
333502010-07-26 Roland McGrath <roland@redhat.com>
33351
33352 [BZ #11840]
33353 * configure.in (-fgnu89-inline check): Set and substitute
33354 gnu89_inline, not libc_cv_gnu89_inline.
33355 * configure: Regenerated.
33356 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33357
24fb0f88
UD
333582010-07-26 Ulrich Drepper <drepper@redhat.com>
33359
33360 * string/test-strnlen.c: New file.
33361 * string/Makefile (strop-tests): Add strnlen.
33362 * string/tester.c (test_strnlen): Add a few more test cases.
33363 * string/tst-strlen.c: Better error reporting.
33364
33365 * sysdeps/x86_64/strnlen.S: New file.
33366
8e96b93a
UD
333672010-07-24 Ulrich Drepper <drepper@redhat.com>
33368
33369 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33370 lower-latency instructions.
33371
dbc676d4
UD
333722010-07-23 Ulrich Drepper <drepper@redhat.com>
33373
33374 * string/test-strcasestr.c: New file.
33375 * string/test-strstr.c: New file.
33376 * string/Makefile (strop-tests): Add strstr and strcasestr.
33377 * string/str-two-way.h: Don't undefine MAX.
33378 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33379
f6a31e0e
AS
333802010-07-21 Andreas Schwab <schwab@redhat.com>
33381
33382 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33383 strcasestr-nonascii.
33384 (CFLAGS-strcasestr-nonascii.c): Define.
33385 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33386 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33387 Remove unused attribute.
33388
5dbc3b6c
RM
333892010-07-20 Roland McGrath <roland@redhat.com>
33390
33391 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33392 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33393 ld.so.cache was broken. With it, there is no way to disable dsocaps
33394 like LD_HWCAP_MASK can disable hwcaps.
33395
23d101d8
EPM
333962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33397
33398 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33399
cc9f2e47
UD
334002010-07-16 Ulrich Drepper <drepper@redhat.com>
33401
33402 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33403 call in strcasestr.
33404 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33405 __strcasestr_sse42_nonascii.
33406 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33407 strcasestr-nonascii.c.
33408 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33409
77c1b069
LM
334102010-06-15 Luis Machado <luisgpm@br.ibm.com>
33411
33412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33413 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33414 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33415 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33416
440566c3
UD
334172010-07-09 Ulrich Drepper <drepper@redhat.com>
33418
33419 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33420 fcntl.
33421
5be9d05d
AS
334222010-07-06 Andreas Schwab <schwab@redhat.com>
33423
c30b7ee2 33424 [BZ #11577]
5be9d05d
AS
33425 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33426 dl_signal_cerror.
33427
8a492a67
UD
334282010-07-06 Ulrich Drepper <drepper@redhat.com>
33429
33430 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33431 _PC_PIPE_BUF using F_GETPIPE_SZ.
33432
713df3d5
RM
334332010-07-05 Roland McGrath <roland@redhat.com>
33434
33435 * manual/arith.texi (Rounding Functions): Fix rint description
33436 implicit in round description.
33437
702e8f14
UD
334382010-07-02 Ulrich Drepper <drepper@redhat.com>
33439
33440 * elf/Makefile: Fix linking for a few tests to make recent linker
33441 happy.
33442
52ed8be9
AS
334432010-06-30 Andreas Schwab <schwab@redhat.com>
33444
33445 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33446 $(common-objpfx)libc_nonshared.a.
33447
f47c9a11
LM
334482010-06-21 Luis Machado <luisgpm@br.ibm.com>
33449
33450 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33451 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33452 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33453 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33454 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33455 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33456 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33457 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33472 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33473 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33474 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33475 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33476 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33477 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33478 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33479 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33480 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33481 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33482 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33483 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33498
6fb8cbcb
L
334992010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33500
33501 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33502 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33503 * string/memmove.c (memmove): Renamed to ...
33504 (MEMMOVE): ...this. Default to memmove.
33505 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33506 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33507 (END_CHK): Define.
33508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33509 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33510 mempcpy-ssse3-back memmove-ssse3-back.
33511 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33512 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33513 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33514 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33515 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33516 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33517 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33518 * sysdeps/x86_64/multiarch/memmove.c: New file.
33519 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33520 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33521 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33522 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33523 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33524 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33525 Define.
33526 (index_Fast_Copy_Backward): Define.
33527 (HAS_ARCH_FEATURE): Define.
33528 (HAS_FAST_REP_STRING): Define.
33529 (HAS_FAST_COPY_BACKWARD): Define.
33530
4e733bac 335312010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33532
33533 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33534 Restore proper fallback handling.
33535
63c4ed22
UD
335362010-06-19 Ulrich Drepper <drepper@redhat.com>
33537
ac2b484c
UD
33538 [BZ #11701]
33539 * posix/group_member.c (__group_member): Correct checking loop.
33540
63c4ed22
UD
33541 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33542 OOM in getpwuid_r correctly. Return error number when the caller
33543 should return, otherwise -1.
33544 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33545 call returning > 0 value.
33546 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33547
765ade4b
AS
335482010-06-07 Andreas Schwab <schwab@redhat.com>
33549
33550 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33551 libc_nonshared.a from targets in modules-names.
33552
80da2e09
KS
335532010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33554
33555 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33556 requires it.
33557
158db122
LM
335582010-06-10 Luis Machado <luisgpm@br.ibm.com>
33559
33560 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33561 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33562 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33563 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33564
caa78cf8
AS
335652010-06-02 Andreas Schwab <schwab@redhat.com>
33566
33567 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33568
b2ef2c01
UD
335692010-06-14 Ulrich Drepper <drepper@redhat.com>
33570
33571 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33572 and F_GETPIPE_SZ.
33573 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33574 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33577 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33578 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33579
fbd643b6
RM
335802010-06-14 Roland McGrath <roland@redhat.com>
33581
33582 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33583
f32f2869
JJ
335842010-06-07 Jakub Jelinek <jakub@redhat.com>
33585
33586 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33587 __REDIRECT followed by __THROW.
33588 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33589 * posix/getopt.h (getopt): Likewise.
33590
2a50c078
EPM
335912010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33592
33593 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33594 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33595 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33596 in AT_FLAGS.
33597 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33598 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33599
eb5ad2eb
LM
336002010-05-28 Luis Machado <luisgpm@br.ibm.com>
33601
33602 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33603
3c88fe1e
L
336042010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33605
33606 [BZ #11640]
33607 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33608 Properly check family and model.
33609
d2f73151
TY
336102010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33611
33612 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33613
ebd2e13d
LM
336142010-05-24 Luis Machado <luisgpm@br.ibm.com>
33615
33616 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33617
b32b8b45
UD
336182010-05-21 Ulrich Drepper <drepper@redhat.com>
33619
33620 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33621 symbol reference.
33622
9acbe24d
AS
336232010-05-19 Andreas Schwab <schwab@redhat.com>
33624
33625 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33626 symbol reference.
33627
f0ccf6ea
AS
336282010-05-21 Andreas Schwab <schwab@redhat.com>
33629
3d04ff3a
AS
33630 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33631 and internal_recvmmsg.
33632 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33633 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33634 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33635 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33636
f0ccf6ea
AS
33637 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33638 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33639 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33640
5b08ac57
AS
336412010-05-20 Andreas Schwab <schwab@redhat.com>
33642
33643 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33644
4828935d
LM
336452010-05-17 Luis Machado <luisgpm@br.ibm.com>
33646
33647 POWER7 optimizations.
33648 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33649 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33650
373d545e
UD
336512010-05-19 Ulrich Drepper <drepper@redhat.com>
33652
33653 * version.h: Update for 2.13 development version.
33654
21a2b1ae
AS
336552010-05-12 Andrew Stubbs <ams@codesourcery.com>
33656
33657 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33658 exceptions. Return 0.
33659
3f7dcb2b
RM
336602010-05-07 Roland McGrath <roland@redhat.com>
33661
33662 * elf/ldconfig.c (main): Add a const.
33663
5f24d53a 336642010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33665
a160f8d8
UD
33666 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33667 (args_options): Add no-idn option.
33668 (ahosts_keys_int): Add idn_flags to ai_flags.
33669 (parse_option): Handle 'i' option to clear idn_flags.
33670
5f24d53a
UD
33671 * malloc/malloc.c (_int_free): Possible race in the most recently
33672 added check. Only act on the data if no current modification
33673 happened.
265bb1ce
UD
33674
33675See ChangeLog.17 for earlier changes.