]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC floating point little-endian [10 of 15]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
da13146d
AM
12013-10-04 Alan Modra <amodra@gmail.com>
2
3 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5
603e8410
AM
62013-10-04 Alan Modra <amodra@gmail.com>
7
8 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9 use vector int constants.
10 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11
4a28b3ca
AB
122013-10-04 Anton Blanchard <anton@au1.ibm.com>
13
14 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
15 array with long long.
16 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
17 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
29
2ca85d2b
AB
302013-10-04 Anton Blanchard <anton@au1.ibm.com>
31
32 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
33 (__signbit): Likewise. Correct for little-endian.
34 (__signbitl): Call __signbit.
35 (lrint): Correct for little-endian.
36 (lrintf): Call lrint.
37
62a728ae
AM
382013-10-04 Alan Modra <amodra@gmail.com>
39
40 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
41 union 32-bit int array member with 64-bit int array.
42 (t515, tm256): Double rather than long double.
43 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
44
32c301df
AM
452013-10-04 Alan Modra <amodra@gmail.com>
46
47 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
48 Delete.
49 (IEEE854_LONG_DOUBLE_BIAS): Delete.
50 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51 version of math_ldbl.h.
52
650ef4bd
AM
532013-10-04 Alan Modra <amodra@gmail.com>
54
55 [BZ #15734], [BZ #15735]
56 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
57 all uses of ieee875 long double macros and unions. Simplify test
58 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
59 ldbl_extract_mantissa value for ix,iy exponents. Properly
60 normalize after ldbl_extract_mantissa, and don't add hidden bit
61 already handled. Don't treat low word of ieee854 mantissa like
62 low word of IBM long double and mask off bit when testing for
63 zero.
64 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
65 all uses of ieee875 long double macros and unions. Simplify tests
66 for 0.0L and inf. Correct double adjustment of k. Delete dead code
67 adjusting ha,hb. Simplify code setting kld. Delete two600 and
68 two1022, instead use their values. Recognise that tests for large
69 "a" and small "b" are mutually exclusive. Rename vars. Comment.
70 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
71 Rewrite all uses of ieee875 long double macros and unions. Simplify
72 test for 0.0L and nan. Correct negation.
73 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
74 ieee875 long double macros and unions. Correct output for large
75 magnitude x. Correct absolute value calculation.
76 (__erfcl): Likewise.
77 * math/libm-test.inc: Add tests for errors discovered in IBM long
78 double versions of fmodl, remainderl, erfl and erfcl.
79
765714ca
AM
802013-10-04 Alan Modra <amodra@gmail.com>
81
82 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
83 all uses of ieee854 long double macros and unions. Simplify tests
84 for long doubles that are fully specified by the high double.
85 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
86 Likewise.
87 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
88 Remove dead code too.
89 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
90 (__ieee754_ynl): Likewise.
91 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
92 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
93 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
94 Remove dead code too.
95 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
96 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
97 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
98 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
99 Simplify.
100 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
101 Simplify.
102 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
103 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
104 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
105 Comment on variable precision.
106 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
107 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
108 Likewise.
109 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
110 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
111 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
112 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
113 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
114
4ebd120c
AM
1152013-10-04 Alan Modra <amodra@gmail.com>
116
117 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
119 all uses of ieee854 long double macros and unions.
120 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
121 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
124 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
125 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
126 Likewise.
127 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
128 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
129 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
130 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
131 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
132 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
133 Simplify sign and nan test too.
134 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
135 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
136 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
137 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
138 Likewise.
139 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
140 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
141 Likewise.
142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
143 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
144 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
145 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
146 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
148
1b6adf88
AM
1492013-10-04 Alan Modra <amodra@gmail.com>
150
151 * stdio-common/printf_size.c (__printf_size): Don't use
152 union ieee854_long_double in fpnum union.
153 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
154 signbit macro to retrieve sign from long double.
155 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
156 retrieve sign from long double.
157 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
158 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
159 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
160 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
161 * math/test-misc.c (main): Don't use union ieee854_long_double.
162
4cf69995
AM
1632013-10-04 Alan Modra <amodra@gmail.com>
164
165 [BZ #15680]
166 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
167 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
168 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
169 calculation. Remove unnecessary test for denormal exponent.
170 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
171 Correct handling of denormals. Avoid undefined shift behaviour.
172 Correct normalisation of low mantissa when low double is denormal.
173 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
174 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
175 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
176 Correct normalisation of low mantissa. Test for overflow of high
177 mantissa and normalise.
178 (ldbl_nearbyint): Use more readable constant for two52.
179 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
180 (__mpn_construct_long_double): Fix test for overflow of high
181 mantissa and correct normalisation. Avoid undefined shift.
182
9605ca6c
AM
1832013-10-04 Alan Modra <amodra@gmail.com>
184
185 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
186 (union ibm_extended_long_double): Define as an array of ieee754_double.
187 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
188 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
189 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
190 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
191 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
192 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
193 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
194 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
195 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
196 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
197 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
198
975569d0
JM
1992013-10-03 Joseph Myers <joseph@codesourcery.com>
200
d3d23756
JM
201 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
202 page size instead of calling getpagesize.
203
975569d0
JM
204 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
205 (LOCFILE_ALIGN_MASK): Likewise.
206 (LOCFILE_ALIGN_UP): Likewise.
207 (LOCFILE_ALIGNED_P): Likewise.
208 * locale/programs/ld-collate.c (collate_output): Use the new
209 macros instead of __alignof__ (int32_t).
210 * locale/weight.h (findidx): Likewise.
211
b1fe1f2b
OB
2122013-10-03 Ondřej Bílka <neleai@seznam.cz>
213
214 [BZ #431]
215 * manual/string.texi: Fix strncat and wcsncat.
216
5f855e35
BM
2172013-10-03 Brooks Moses <bmoses@google.com>
218
219 [BZ #15915]
220 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
221 * Makerules: ...here, and adjust associated comments.
222
3cef6009
WN
2232013-10-02 Will Newton <will.newton@linaro.org>
224
225 * malloc/Makefile: Add tst-pvalloc.
226 * malloc/tst-pvalloc.c: New file.
227
7815420b
WN
2282013-10-02 Will Newton <will.newton@linaro.org>
229
230 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
231 improve test coverage.
232
4868b204
WN
2332013-10-02 Will Newton <will.newton@linaro.org>
234
235 * malloc/Makefile: Add tst-posix_memalign.
236 * malloc/tst-posix_memalign.c: New file.
237
29c793b3
EB
2382013-10-01 Eric Blake <eblake@redhat.com>
239
240 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
241 Use __THROWNL rather than __THROW on static functions.
242
fd967522
PM
2432013-09-30 Petr Machata <pmachata@redhat.com>
244
245 * elf/elf.h (R_AARCH64_ABS16): New macro.
246 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
247 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
248 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
249 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
250 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
251 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
252 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
253 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
254 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
255 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
256 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
257 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
258 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
259 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
260 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
261 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
262 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
263 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
264 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
265 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
266 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
267 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
268 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
269 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
270 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
271 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
272 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
273 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
274 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
275 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
276 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
277 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
278 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
279 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
280 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
281 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
282 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
283 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
284 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
285 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
286 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
287 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
288 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
289 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
290 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
291 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
292 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
293 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
294 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
295 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
296 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
297 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
298 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
299 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
300 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
301 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
302 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
303 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
304 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
305 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
306 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
307 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
308 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
309 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
310 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
311 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
312 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
313 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
314 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
315 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
316 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
317 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
318 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
319 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
320 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
321 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
322 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
323 (R_AARCH64_TLSDESC_LDR): Likewise.
324 (R_AARCH64_TLSDESC_ADD): Likewise.
325 (R_AARCH64_TLSDESC_CALL): Likewise.
326
b2179107
AS
3272013-09-30 Andreas Schwab <schwab@suse.de>
328
329 [BZ #15048]
330 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
331 the nss database lookup.
332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
334
47f28d0a
MF
3352013-09-28 Mike Frysinger <vapier@gentoo.org>
336
337 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
338
3392013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
340
341 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
342 ${Bash-specific parameter/pattern/string} parameter expansion.
343 * sysdeps/unix/make-syscalls.sh: Likewise.
344
f4518a17
KK
3452013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
346
347 * sysdeps/sh/stackguard-macros.h: New file.
348
dc1a95c7
OB
3492013-09-26 Ondřej Bílka <neleai@seznam.cz>
350
351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
352 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
353 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
354 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
355 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
356 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
357
5ebbff8f
AZ
3582013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
359
360 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
361 Fix thread ID register.
362
4fd2cf9f
JM
3632013-09-25 Joseph Myers <joseph@codesourcery.com>
364
365 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
366 [POSIX || UNIX98]: Require rather than permitting all symbols from
367 <time.h>.
368 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
369 element of struct sched_param.
370 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
371 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
372 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
373 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
374 constant.
375
12c22bc4
OL
3762013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
377
378 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
379 argument calculation.
380
a03d8ea7
JM
3812013-09-24 Joseph Myers <joseph@codesourcery.com>
382
383 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
384 Expect macro.
385 [POSIX] (pthread_attr_t): Do not require type.
386 [POSIX] (pthread_cond_t): Likewise.
387 [POSIX] (pthread_condattr_t): Likewise.
388 [POSIX] (pthread_key_t): Likewise.
389 [POSIX] (pthread_mutex_t): Likewise.
390 [POSIX] (pthread_mutexattr_t): Likewise.
391 [POSIX] (pthread_once_t): Likewise.
392 [POSIX] (pthread_t): Likewise.
393 [POSIX-based standards] (pthread_atfork): Expect function.
394
6055173a
JM
3952013-09-24 Joseph Myers <joseph@codesourcery.com>
396 Richard Sandiford <richard@codesourcery.com>
397
398 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
399 (swap_endianness_p): New extern variable.
400 (set_big_endian): New inline function.
401 (maybe_swap_uint32): Likewise.
402 (maybe_swap_uint32_array): Likewise.
403 (maybe_swap_uint32_obstack): Likewise.
404 * locale/programs/locfile.c: Include <stdbool.h>.
405 (swap_endianness_p): New variable.
406 (add_locale_uint32): Call maybe_swap_uint32.
407 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
408 (write_locale_data): Call maybe_swap_uint32_array.
409 * locale/programs/ld-collate.c (obstack_int32_grow): Call
410 maybe_swap_uint32.
411 (obstack_int32_grow_fast): Likewise.
412 (output_weightwc): Call maybe_swap_uint32_obstack.
413 (collate_output): Likewise.
414 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
415 (OPT_LITTLE_ENDIAN): Likewise.
416 (options): Add --little-endian and --big-endian options.
417 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
418 * locale/programs/locarchive.c: Include "locfile.h".
419 (GET): New macro.
420 (SET): Likewise.
421 (INC): Likewise.
422 (create_archive): Use the new macros to access fields of
423 structures directly mapped from or written to locale archives.
424 (oldlocrecentcmp): Likewise.
425 (enlarge_archive): Likewise.
426 (insert_name): Likewise.
427 (add_alias): Likewise.
428 (add_locale): Likewise.
429 (delete_locales_from_archive): Likewise.
430 (show_archive_content): Likewise.
431 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
432 locale data.
433
39bf0bb4
RM
4342013-09-24 Roland McGrath <roland@hack.frob.com>
435
436 * manual/freemanuals.texi: Updated from (newly) canonical copy at
437 http://www.gnu.org/doc/freemanuals.texi.
438 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
439
f02eed10
WN
4402013-09-24 Will Newton <will.newton@linaro.org>
441
442 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
443 macro.
444
a3a6c312
JM
4452013-09-23 Joseph Myers <joseph@codesourcery.com>
446
447 * locale/hashval.h (compute_hashval): Interpret bytes of key as
448 unsigned char.
449
107375ac
MR
4502013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
451
452 * manual/threads.texi (POSIX Threads): Fix a typo.
453
141f3a77
SP
4542013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
455
303e567a
SP
456 [BZ #14547]
457 * string/tst-strcoll-overflow.c: New test case.
458 * string/Makefile (xtests): Add tst-strcoll-overflow.
459 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
460 cache if string sizes may cause integer overflow.
461
141f3a77
SP
462 [BZ #14547]
463 * string/strcoll_l.c (coll_seq): New members rule, idx,
464 save_idx and back_us.
465 (get_next_seq_nocache): New function.
466 (do_compare_nocache): New function.
467 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
468 when malloc fails.
469
c61b4d41
CD
4702013-09-23 Carlos O'Donell <carlos@redhat.com>
471
0b1f8e35
CD
472 [BZ #15754]
473 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
474 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
475 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
476
c61b4d41
CD
477 [BZ #15754]
478 * elf/Makefile (tests): Add tst-ptrguard1.
479 (tests-static): Add tst-ptrguard1-static.
480 (tst-ptrguard1-ARGS): Define.
481 (tst-ptrguard1-static-ARGS): Define.
482 * elf/tst-ptrguard1.c: New file.
483 * elf/tst-ptrguard1-static.c: New file.
484 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
485 * sysdeps/i386/stackguard-macros.h: Likewise.
486 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
487 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
488 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
489 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
490 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
491 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
492
4932013-09-23 Hector Marco <hecmargi@upv.es>
494 Ismael Ripoll <iripoll@disca.upv.es>
495 Carlos O'Donell <carlos@redhat.com>
496
497 [BZ #15754]
498 * sysdeps/generic/stackguard-macros.h: Define
499 __pointer_chk_guard_local and POINTER_CHK_GUARD.
500 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
501 Define __pointer_chk_guard_local.
502 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
503 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
504
f5f4e7b4
VV
5052013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
506
507 [BZ #15859]
508 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
509
5bb43a43
AS
5102013-09-20 Andreas Schwab <schwab@linux-m68k.org>
511
512 * include/string.h (__ffs): Declare as hidden.
513 * string/ffs.c (__ffs): Define as hidden.
514 * sysdeps/i386/ffs.c (__ffs): Likewise.
515 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
516 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
517 * sysdeps/s390/ffs.c (__ffs): Likewise.
518 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
519
3ea5be54
AO
5202013-09-20 Alexandre Oliva <aoliva@redhat.com>
521
ffb89e53
AO
522 * NEWS: Mention malloc probes.
523
322dea08
AO
524 * malloc/arena.c (new_heap): New memory_heap_new probe.
525 (grow_heap): New memory_heap_more probe.
526 (shrink_heap): New memory_heap_less probe.
527 (heap_trim): New memory_heap_free probe.
528 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
529 (systrim): New memory_sbrk_less probe.
530 * manual/probes.texi: Document them.
531
655673f3
AO
532 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
533 * manual/probes.texi: Document it.
534
35fed6f1
AO
535 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
536 (__libc_realloc): Add memory_realloc_retry probe.
537 (__libc_memalign): Add memory_memalign_retry probe.
538 (__libc_valloc): Add memory_valloc_retry probe.
539 (__libc_pvalloc): Add memory_pvalloc_retry probe.
540 (__libc_calloc): Add memory_calloc_retry probe.
541 * manual/probes.texi: Document them.
542
6999d38c
AO
543 * malloc/arena.c (get_free_list): Add probe
544 memory_arena_reuse_free_list.
545 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
546 and memory_arena_reuse.
547 (arena_get2) [!PER_THREAD]: Likewise.
548 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
549 memory_arena_reuse_realloc.
550 * manual/probes.texi: Document them.
551
0653427f
AO
552 * malloc/malloc.c (__libc_free): Add
553 memory_mallopt_free_dyn_thresholds probe.
554 (__libc_mallopt): Add multiple memory_mallopt probes.
555 * manual/probes.texi: Document them.
556
3ea5be54
AO
557 * malloc/malloc.c: Include stap-probe.h.
558 (__libc_mallopt): Add memory_mallopt probe.
559 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
560 * manual/probes.texi: New.
561 * manual/Makefile (chapters): Add probes.
562 * manual/threads.texi: Set next node.
563
e35696c3 5642013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 565
e35696c3
CL
566 [BZ #15963, #13985]
567 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
568 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
569 Add `Chinese' to `nan' entry name.
570
4aafb73c
SP
5712013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
572
573 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
574 (POLYNOMIAL): Likewise.
575 (TAYLOR_SINCOS): Likewise.
576 (TAYLOR_SLOW): Likewise.
577 (__sin): Use TAYLOR_SINCOS.
578 (__cos): Likewise.
579 (slow): Use TAYLOR_SLOW.
580 (sloww): Likewise.
581 (bsloww): Likewise.
582 (csloww): Likewise.
583
d84f25c7
LD
5842013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
585
586 * stdlib/strtod_l.c: Fix buffer overrun.
587
5eea0404
SP
5882013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
589
7849ff93
SP
590 * benchtests/Makefile (bench): Add sincos.
591 * benchtests/bench-sincos.c: New file.
592
cfa3c886
SP
593 * math/libm-test.inc (cos_test_data): New test inputs.
594 (sin_test_data): Likewise.
595
b348e1e3
SP
596 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
597 macro.
598 (__sin): Use it.
599 (__cos): Likewise.
600 (slow1): Likewise.
601 (slow2): Likewise.
602 (sloww1): Likewise.
603 (sloww2): Likewise.
604 (bsloww1): Likewise.
605 (bsloww2): Likewise.
606 (cslow2): Likewise.
607 (csloww1): Likewise.
608 (csloww2): Likewise.
609
6cce25f8
SP
610 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
611 function.
612 (__sin): Use it.
613 (__cos): Likewise.
614
5eea0404
SP
615 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
616 gotos.
617 (__cos): Likewise.
618
9c21573c
MR
6192013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
620
621 * config.h.in (HAVE_MIPS_NAN2008): New macro.
622 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
623 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
624 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
625 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
626 * elf/cache.c (print_entry): Handle the new cache flags.
627
24d22e65
JM
6282013-09-18 Joseph Myers <joseph@codesourcery.com>
629 Aldy Hernandez <aldyh@redhat.com>
630
631 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
632 Change condition to [_SOFT_FLOAT].
633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
634 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
635 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
636 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
637 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
638 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
639 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
640 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
641 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
642 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
643 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
645 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
648 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
649 declaration.
650
d13ef066
JM
6512013-09-18 Joseph Myers <joseph@codesourcery.com>
652
2e071de0
JM
653 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
654 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
655 (__longjmp): Use LOAD_GP to load saved GPRs.
656 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
657 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
658 (__sigsetjmp): Use SAVE_GP to save GPRs.
659
d13ef066
JM
660 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
661 Do not append -msoft-float.
662 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
663
97a0650b
SP
6642013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
665
666 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
667
11ca09e9
JM
6682013-09-17 Joseph Myers <joseph@codesourcery.com>
669
670 [BZ #15966]
671 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
672 (_FPU_GETCW): Use initial "__" on variable and field names but not
673 on macro parameter name.
674 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
675 parentheses around reference to macro parameter.
676
08ffcf34
RS
6772013-09-13 Richard Sandiford <richard@codesourcery.com>
678
679 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
680 prototype.
681 (ctype_startup): Use uint32_t in cast and sizeof for
682 ctype->charnames.
683
ae7080d3
JL
6842013-09-11 Jia Liu <proljc@gmail.com>
685
686 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
687 __daddr_t_defined.
688 [__FreeBSD__]: Likewise.
689
5905e7b3
OB
6902013-09-11 Ondřej Bílka <neleai@seznam.cz>
691
692 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
693 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
694 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
695 (strchr): Remove __strchr_sse42 ifunc selection.
696 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
697 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
698
b987c776
WN
6992013-09-11 Will Newton <will.newton@linaro.org>
700
701 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
702 parameter to RES. Remove hardcoded 1000 value.
703 * benchtests/bench-skeleton.c (main): Pass RES parameter
704 to TIMING_INIT and multiply result by 1000.
705
ddf985af
AZ
7062013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
707
708 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
709
ffdd3181
AS
7102013-09-11 Andreas Schwab <schwab@suse.de>
711
712 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
713 if not defined.
714 (O_TMPFILE) [__USE_GNU]: Define.
715 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
716 Define.
717
b73ed247
WN
7182013-09-11 Will Newton <will.newton@linaro.org>
719
720 [BZ #15857]
721 * malloc/malloc.c (__libc_memalign): Check the value of bytes
722 does not overflow.
723
55e17aad
WN
7242013-09-11 Will Newton <will.newton@linaro.org>
725
726 [BZ #15856]
727 * malloc/malloc.c (__libc_valloc): Check the value of bytes
728 does not overflow.
729
1159a193
WN
7302013-09-11 Will Newton <will.newton@linaro.org>
731
732 [BZ #15855]
733 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
734 does not overflow.
735
5905e7b3 7362013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
737
738 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
739 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
740 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
741 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
742 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
743
cdfc721b
AM
7442013-09-10 Allan McRae <allan@archlinux.org>
745
aa04af00
AM
746 [BZ #15748]
747 * manual/arith.texi (Parsing of Floats): Clarify
748 cross-reference.
749
cdfc721b
AM
750 [BZ #15849]
751 * manual/install.texi (Running make install): Mention
752 --enable-pt-chown.
753 * INSTALL: Regenerated.
754
95e7cf29
MR
7552013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
756
757 * csu/init-first.c (_init): Remove the !SHARED condition around
758 FPU control word initialization.
759 * elf/dl-support.c (_dl_fpu_control): New variable.
760 (_dl_aux_init) <AT_FPUCW>: Initialize it.
761 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
762 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
763 * math/test-fpucw-static.c: New file.
764 * math/test-fpucw-ieee.c: New file.
765 * math/test-fpucw-ieee-static.c: New file.
766 * math/Makefile (tests): Add `test-fpucw-ieee' and
767 `$(tests-static)'.
768 (tests-static): New variable.
769 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
770 dependency to...
771 [($(build-shared),yes)]
772 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
773 ... this.
774 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
775 New dependency.
776
83e43bf0
AM
7772013-09-09 Allan McRae <allan@archlinux.org>
778
a9f5ce09
AM
779 [BZ #15939]
780 * manual/string.texi (Collation Functions): Fix typo in
781 strcoll example.
782 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
783
34829bc2
AM
784 [BZ #15893]
785 * stdlib/isomac.c (get_null_defines): Fix memory leak.
786
3932737d
AM
787 [BZ #15892]
788 * libio/memstream.c (open_memstream): Fix memory leak.
789 * libio/wmemstream.c (open_wmemstream): Likewise.
790
83e43bf0
AM
791 [BZ #15895]
792 * nscd/netgroupcache.c: Fix nesting of ifdefs.
793
0c66b8e9
WN
7942013-09-09 Will Newton <will.newton@linaro.org>
795
796 * malloc/Makefile: Add tst-realloc to tests.
797 * malloc/tst-realloc.c: New file.
798
f6b00fd1
AM
7992013-09-09 Allan McRae <allan@archlinux.org>
800
801 [BZ #15844]
802 * COPYING: Update from GNU website to fix FSF address.
803 * COPYING.LIB: Likewise.
804
eec55e16
DM
8052013-09-06 David S. Miller <davem@davemloft.net>
806
807 * po/zh_TW.po: Update Chinese (traditional) translation from
808 translation project.
809
1ecbb381
RS
8102013-09-06 Richard Sandiford <richard@codesourcery.com>
811 Joseph Myers <joseph@codesourcery.com>
812
813 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
814 "localeinfo.h".
815 (obstack_chunk_alloc): New macro.
816 (obstack_chunk_free): Likewise.
817 (record_offset): New function.
818 (init_locale_data): Likewise.
819 (align_locale_data): Likewise.
820 (add_locale_empty): Likewise.
821 (add_locale_raw_data): Likewise.
822 (add_locale_raw_obstack): Likewise.
823 (add_locale_string): Likewise.
824 (add_locale_wstring): Likewise.
825 (add_locale_uint32): Likewise.
826 (add_locale_uint32_array): Likewise.
827 (add_locale_char): Likewise.
828 (start_locale_structure): Likewise.
829 (end_locale_structure): Likewise.
830 (start_locale_prelude): Likewise.
831 (end_locale_prelude): Likewise.
832 (write_locale_data): Take locale_file structure rather than an
833 iovec.
834 * locale/programs/locfile.h: Include "obstack.h".
835 (struct locale_file): Change to store locale file contents instead
836 of header.
837 (init_locale_data): New prototype.
838 (align_locale_data): Likewise.
839 (add_locale_empty): Likewise.
840 (add_locale_raw_data): Likewise.
841 (add_locale_raw_obstack): Likewise.
842 (add_locale_string): Likewise.
843 (add_locale_wstring): Likewise.
844 (add_locale_uint32): Likewise.
845 (add_locale_uint32_array): Likewise.
846 (add_locale_char): Likewise.
847 (start_locale_structure): Likewise.
848 (end_locale_structure): Likewise.
849 (start_locale_prelude): Likewise.
850 (end_locale_prelude): Likewise.
851 (write_locale_data): Update prototype.
852 * locale/programs/3level.h (struct TABLE): Remove result field.
853 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
854 Use new locale_file interface.
855 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
856 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
857 * locale/programs/ld-address.c (address_output): Use new
858 locale_file interface.
859 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
860 NO_ADD_LOCALE.
861 (collate_finish): Don't call collseq_table_finalize.
862 (collate_output): Use new locale_file interface.
863 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
864 in file.
865 (NO_FINALIZE): Change to NO_ADD_LOCALE.
866 (TABLE): Move defines earlier in file.
867 (ELEMENT): Likewise.
868 (DEFAULT): Likewise.
869 (wctrans_table_add): Move macro and inline function earlier in
870 file.
871 (struct wctype_table): Move type earlier in file.
872 (add_locale_wctype_table): New static prototype.
873 (struct locale_ctype_t): Use logical types instead of struct iovec
874 pointers for members.
875 (ctype_output): Use new locale_file interface.
876 (wctype_table_finalize): Change to add_locale_wctype_table. Use
877 new locale_file interface.
878 (allocate_arrays): Update for use of new locale_file interface.
879 * locale/programs/ld-identification.c (identification_output): Use
880 new locale_file interface.
881 * locale/programs/ld-measurement.c (measurement_output): Likewise.
882 * locale/programs/ld-messages.c (messages_output): Likewise.
883 * locale/programs/ld-monetary.c (monetary_output): Likewise.
884 * locale/programs/ld-name.c (name_output): Likewise.
885 * locale/programs/ld-numeric.c (numeric_output): Likewise.
886 * locale/programs/ld-paper.c (paper_output): Likewise.
887 * locale/programs/ld-telephone.c (telephone_output): Likewise.
888 * locale/programs/ld-time.c (time_output): Likewise.
889
e029e2e5
AZ
8902013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891
892 * benchtests/Makefile: Add memrchr benchmark.
893 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
894 benchmark as memrchr.
895 * benchtests/bench-memrchr-ifunc.c: New file.
896 * benchtests/bench-memrchr.c: New file.
897
bbf6e8e4
WN
8982013-09-06 Will Newton <will.newton@linaro.org>
899
900 * benchtests/Makefile (string-bench): Add memcpy.
901
6c82a2f8
CD
9022013-09-05 Carlos O'Donell <carlos@redhat.com>
903 Cong Wang <amwang@redhat.com>
904
905 * sysdeps/unix/sysv/linux/bits/in.h
906 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
907 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
908 before __USE_KERNEL_IPV6_DEFS uses.
909 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
910 IPPROTO_BEETPH.
911 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
912 sockaddr_in6, or ipv6_mreq.
913
5430fc65
AZ
9142013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
915
916 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
917 memory access for final bytes in some large inputs.
918 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
919
4660856c
AZ
9202013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
921
922 * string/test-memrchr.c: New file.
923 * string/test-memrchr-ifunc.c: New file.
924 * string/Makefile: Add new memrchr testcase.
925
bb8ea713
MF
9262013-09-05 Mike Frysinger <vapier@gentoo.org>
927
928 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
929 fanotify_init returns EPERM.
930
b92a20b5
JM
9312013-09-04 Joseph Myers <joseph@codesourcery.com>
932
933 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
934 errors.
935 (top level): Treat second token from macro or constant entries for
936 allowed headers as allowed.
937 * include/complex.h: Condition internal declarations on
938 [!_ISOMAC].
939 * include/fenv.h: Condition include of <stdbool.h> and internal
940 declarations on [!_ISOMAC].
7447ccd9
CL
941
9422013-09-04 Chris Leonard <cjl@sugarlabs,.org>
943
3e181dda 944 [BZ #15923]
7447ccd9
CL
945 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
946
3f2e46a4
JM
9472013-09-04 Joseph Myers <joseph@codesourcery.com>
948
949 * configure.in (--enable-versioning): Remove configure option.
950 (libc_cv_asm_symver_directive): Remove configure test.
951 (libc_cv_ld_version_script_option): Likewise.
952 (VERSIONING): Remove variable and AC_SUBST.
953 (DO_VERSIONING): Remove AC_DEFINE.
954 * configure: Regenerated.
955 * config.h.in (DO_VERSIONING): Remove macro.
956 * Makerules [$(versioning) = yes]: Change conditionals to
957 [$(build-shared) = yes].
958 * config.make.in (versioning): Remove variable.
959 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
960 [$(build-shared) = yes].
961 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
962 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
963 * elf/Makefile [$(versioning) = yes]: Change conditionals to
964 [$(build-shared) = yes].
965 * extra-lib.mk [$(versioning) = yes]: Likewise.
966 * hurd/Makefile [$(versioning) = yes]: Likewise.
967 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
968 [SHARED].
969 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
970 [SHARED].
971 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
972 [SHARED && !NO_HIDDEN].
973 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
974 [SHARED].
975 [SHARED && DO_VERSIONING]: Likewise..
976 * libio/Makefile [$(versioning) = yes]: Change conditionals to
977 [$(build-shared) = yes].
978 * manual/install.texi (--disable-versioning): Remove
979 documentation.
980 * INSTALL: Regenerated.
981 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
982 to [SHARED].
983 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
984 [$(build-shared) = yes].
985 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
986 * sysdeps/i386/i686/multiarch/strstr-c.c
987 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
988 [SHARED && !NO_HIDDEN].
989 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
990 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
991 * sysdeps/powerpc/powerpc32/dl-machine.c
992 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
993 * sysdeps/powerpc/powerpc32/sysdep.h
994 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
995 to [SHARED && PIC && !NO_HIDDEN].
996 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
997 conditional to [SHARED].
998
44558701
WN
9992013-09-04 Will Newton <will.newton@linaro.org>
1000
1001 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1002 * benchtests/bench-string.h: Include bench-timing.h instead
1003 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1004 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1005 call to HP_TIMING_DIFF_INIT.
1006 * benchtests/bench-memccpy.c: Use bench-timing.h macros
1007 instead of hp-timing.h macros.
1008 * benchtests/bench-memchr.c: Likewise.
1009 * benchtests/bench-memcmp.c: Likewise.
1010 * benchtests/bench-memcpy.c: Likewise.
1011 * benchtests/bench-memmem.c: Likewise.
1012 * benchtests/bench-memmove.c: Likewise.
1013 * benchtests/bench-memset.c: Likewise.
1014 * benchtests/bench-rawmemchr.c: Likewise.
1015 * benchtests/bench-strcasecmp.c: Likewise.
1016 * benchtests/bench-strcasestr.c: Likewise.
1017 * benchtests/bench-strcat.c: Likewise.
1018 * benchtests/bench-strchr.c: Likewise.
1019 * benchtests/bench-strcmp.c: Likewise.
1020 * benchtests/bench-strcpy.c: Likewise.
1021 * benchtests/bench-strcpy_chk.c: Likewise.
1022 * benchtests/bench-strlen.c: Likewise.
1023 * benchtests/bench-strncasecmp.c: Likewise.
1024 * benchtests/bench-strncat.c: Likewise.
1025 * benchtests/bench-strncmp.c: Likewise.
1026 * benchtests/bench-strncpy.c: Likewise.
1027 * benchtests/bench-strnlen.c: Likewise.
1028 * benchtests/bench-strpbrk.c: Likewise.
1029 * benchtests/bench-strrchr.c: Likewise.
1030 * benchtests/bench-strspn.c: Likewise.
1031 * benchtests/bench-strstr.c: Likewise.
1032
cae16d66
WN
10332013-09-04 Will Newton <will.newton@linaro.org>
1034
1035 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1036
ffa3cd7f
JM
10372013-09-03 Joseph Myers <joseph@codesourcery.com>
1038
1039 [BZ #15427]
1040 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1041 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1042 * math/libm-test.inc (lgamma_test_data): Add more tests.
1043 * sysdeps/i386/fpu/libm-test-ulps: Update.
1044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1045
8f02859f
OB
10462013-09-03 Ondřej Bílka <neleai@seznam.cz>
1047
1048 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1050 Add ifunc.
1051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1052 Add strcmp-sse2-unaligned
1053 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1054
18d43716
MF
10552013-09-02 Mike Frysinger <vapier@gentoo.org>
1056
1057 * Versions.def (libc): Add GLIBC_2.19.
1058
ac444012
MF
10592013-09-02 Mike Frysinger <vapier@gentoo.org>
1060
1061 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1062 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1063
b7835e32
JM
10642013-09-02 Joseph Myers <joseph@codesourcery.com>
1065
1066 [BZ #14155]
1067 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1068 intermediate calculations in recurrence.
1069 (__ieee754_ynf): Likewise.
1070 * math/libm-test.inc (jn_test_data): Do not allow spurious
1071 underflow exception. Add more tests.
1072 (yn_test_data): Add more tests.
1073 * sysdeps/i386/fpu/libm-test-ulps: Update.
1074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1075
8220f4f0
OB
10762013-09-02 Ondřej Bílka <neleai@seznam.cz>
1077
1078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1079
f24a6d08
OB
10802013-08-30 Ondřej Bílka <neleai@seznam.cz>
1081
1082 * csu/init-first.c: Fix then/than typos.
1083 * locale/programs/ld-collate.c: Likewise.
1084 * locale/programs/linereader.h: Likewise.
1085 * manual/charset.texi: Likewise.
1086 * manual/filesys.texi: Likewise.
1087 * manual/stdio.texi: Likewise.
1088 * manual/string.texi: Likewise.
1089 * stdlib/fmtmsg.c: Likewise.
1090 * sysdeps/i386/stpncpy.S: Likewise.
1091 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1092 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1093 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1094 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1095
382466e0
OB
10962013-08-30 Ondřej Bílka <neleai@seznam.cz>
1097
1098 * elf/dl-open.c: Fix typos.
1099 * iconvdata/gbbig5.c: Likewise.
1100 * iconvdata/iso-2022-jp.c: Likewise.
1101 * iconv/gconv_int.h: Likewise.
1102 * iconv/loop.c: Likewise.
1103 * nis/rpcsvc/nis.h: Likewise.
1104 * resolv/ns_name.c: Likewise.
1105 * stdio-common/vfscanf.c: Likewise.
1106 * streams/stropts.h: Likewise.
1107 * sunrpc/rpc_thread.c: Likewise.
1108 * sysdeps/i386/strpbrk.S: Likewise.
1109 * sysdeps/ieee754/k_standard.c: Likewise.
1110 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1111 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1112 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1113 * sysdeps/mach/hurd/profil.c: Likewise.
1114 * sysdeps/s390/dl-procinfo.h: Likewise.
1115 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1116 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1117 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1118 * sysdeps/x86_64/dl-trampoline.S: Likewise.
1119 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1120
0186c6e9
OB
11212013-08-30 Ondřej Bílka <neleai@seznam.cz>
1122
1123 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1124 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1125
d4e16af1
OB
11262013-08-29 Ondřej Bílka <neleai@seznam.cz>
1127
1128 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1129 aix specific files.
1130 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1131 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1132 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1133 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1134 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1135 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1136 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1137 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1138
88335980
TS
11392013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1140 Roland McGrath <roland@hack.frob.com>
1141
1142 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1143 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1144
ed479b02
ST
11452013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
1146
1147 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1148 __executable_start symbol instead of _start.
1149
f1cc4c86
TS
11502013-08-29 Thomas Schwinge <thomas@codesourcery.com>
1151
d821f07c
TS
1152 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1153 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1154 Move macros to...
1155 * sysdeps/gnu/ldsodefs.h: ... this new file.
1156
c54290cf
TS
1157 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1158 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1159 instead of ELFOSABI_LINUX.
1160
0007fc9b 1161 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
1162 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1163 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1164 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1165 Likewise.
1166 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1167 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1168 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1169 Likewise.
1170 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1171 (ibm_extended_long_double): Add ieee_nan member.
1172 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1173 (do_test): New function.
1174
f1cc4c86
TS
1175 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1176 TEST_TRUNC.
1177 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1178 functions, renamed from truncdfsf_test, trunctfsf_test,
1179 trunctfdf_test.
1180 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1181 functions.
1182 (do_test): Run all these.
1183
6f65e668
OB
11842013-08-29 Ondřej Bílka <neleai@seznam.cz>
1185
1186 * argp/argp-help.c: Fix typos.
1187 * argp/argp-parse.c: Likewise.
1188 * debug/backtracesyms.c: Likewise.
1189 * elf/elf.h: Likewise.
1190 * malloc/malloc.c: Likewise.
1191 * nis/nis_print.c: Likewise.
1192 * resolv/res_comp.c: Likewise.
1193 * stdlib/stdlib.h: Likewise.
1194 * sunrpc/clnt_tcp.c: Likewise.
1195 * sunrpc/clnt_udp.c: Likewise.
1196 * sunrpc/clnt_unix.c: Likewise.
1197 * sysdeps/unix/bsd/ptsname.c: Likewise.
1198 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1199 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
1200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1201 Likewise.
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1203 Likewise.
1204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1205 Likewise.
6f65e668
OB
1206 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1207
3a309239
SP
12082013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1209
1210 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1212
3b813b29
MF
12132013-08-27 Mike Frysinger <vapier@gentoo.org>
1214
1215 [BZ #15897]
1216 * dlfcn/Makefile (tests): Add bug-dl-leaf.
1217 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1218 ($(objpfx)bug-dl-leaf): New rule.
1219 ($(objpfx)bug-dl-leaf.so): Likewise.
1220 ($(objpfx)bug-dl-leaf.out): Likewise.
1221 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1222 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1223 * dlfcn/bug-dl-leaf.c: New test.
1224 * dlfcn/bug-dl-leaf-lib.c: Likewise.
1225 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1226 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1227 (dlclose): Likewise.
1228 (dlmopen): Likewise.
1229
8cc3269f
RM
12302013-08-27 Roland McGrath <roland@hack.frob.com>
1231
7f9d0034
RM
1232 * include/netdb.h [!_ISOMAC]:
1233 Don't include <tls.h>.
1234 (h_errno, __libc_h_errno): Move declaration and macros out of
1235 [_LIBC_REENTRANT].
1236
fb431262
RM
1237 * include/resolv.h [_RESOLV_H_]:
1238 Don't include <tls.h>.
1239 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1240 * resolv/res_libc.c: Don't include <tls.h>.
1241 (_res): Use __attribute__ ((nocommon)) in place of
1242 __attribute__ ((section (".bss"))).
1243
bd81123a
RM
1244 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1245 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1246
c4e42566
RM
1247 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1248
f890a59b
RM
1249 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1250 only under [SIOCGIFCONF && SIOCGIFNETMASK].
1251
1252 * resolv/res_mkquery.c: Include <sys/time.h>.
1253
5d1f0a09
RM
1254 * inet/ifreq.c: Moved to ...
1255 * sysdeps/unix/ifreq.c: ... here.
1256 * inet/ifreq.c: New file, true stub version.
1257
6fcf28b3
RM
1258 * socket/sa_len.c: New file.
1259 * socket/Makefile (aux): Add it.
1260 * sysdeps/unix/sysv/linux/Makefile
1261 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1262 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1263 and #include <socket/sa_len.c>.
1264 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1265 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1266
e041fb8b
RM
1267 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1268 * bits/socket.h: ... here.
1269
8cc3269f
RM
1270 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1271 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1272 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1273
5d228a43
AS
12742013-08-27 Andreas Schwab <schwab@suse.de>
1275
45b8accc
AS
1276 [BZ #15736]
1277 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1278 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1279 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1280 * string/test-strcasecmp.c (test_main): Run tests in several
1281 locales.
1282 * string/test-strncasecmp.c (test_main): Likewise.
1283
5d228a43
AS
1284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1285 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1286 to __strcasecmp_nonascii and __strncasecmp_nonascii.
1287 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1288 (__strncasecmp_ssse3) [PIC]: Likewise.
1289
59d112a4
RM
12902013-08-26 Roland McGrath <roland@hack.frob.com>
1291
53234cc3
RM
1292 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1293
59d112a4
RM
1294 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1295 instead of explicitly declaring xdecrypt.
1296 * nis/nss_nis/nis-publickey.c: Likewise.
1297
595aba70
SP
12982013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1299
1300 [BZ #15890]
1301 * nscd/aicache.c: Include res_hconf.h.
1302 (addhstaiX): Initialize res_hconf.
1303
ffabd393
AS
13042013-08-26 Andreas Schwab <schwab@suse.de>
1305
1306 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1307 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1308
e0a69f5c
SP
13092013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1310
1311 * nscd/aicache.c (addhstaiX): Fix indentation.
1312
8c12f01d
MF
13132013-08-25 Mike Frysinger <vapier@gentoo.org>
1314
1315 * configure.ac: Quote $build_pt_chown test.
1316 * configure: Regenerated.
1317
8fe89494
JM
13182013-08-23 Joseph Myers <joseph@codesourcery.com>
1319
1320 [BZ #15532]
1321 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1322 * math/s_cexpf.c (__cexpf): Likewise.
1323 * math/s_cexpl.c (__cexpl): Likewise.
1324 * math/libm-test.inc (cexp_test_data): Correct expected return
1325 value for NaN + i0. Add another test.
1326
75b181d6
DM
13272013-08-22 David S. Miller <davem@davemloft.net>
1328
1329 * po/ca.po: Update Catalan translation from translation project.
936241e4 1330 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 1331
acd06bb1
JM
13322013-08-21 Joseph Myers <joseph@codesourcery.com>
1333
1334 [BZ #15797]
1335 * math/s_fdim.c (__fdim): Check for infinite arguments if result
1336 is infinite, not alongside NaN test.
1337 * math/s_fdimf.c (__fdimf): Likewise.
1338 * math/s_fdiml.c (__fdiml): Likewise.
1339 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
1340 errno is unchanged.
1341
c0c3f78a
OB
13422013-08-21 Ondřej Bílka <neleai@seznam.cz>
1343
1344 * argp/argp-help.c: Fix typos.
1345 * crypt/speeds.c: Likewise.
1346 * csu/check_fds.c: Likewise.
1347 * elf/dl-load.c: Likewise.
1348 * elf/dl-open.c: Likewise.
1349 * elf/reldep3.c: Likewise.
1350 * elf/reldep.c: Likewise.
1351 * elf/sprof.c: Likewise.
1352 * iconv/iconv_charmap.c: Likewise.
1353 * iconv/skeleton.c: Likewise.
1354 * iconv/strtab.c: Likewise.
1355 * io/lockf64.c: Likewise.
1356 * libio/libioP.h: Likewise.
1357 * resolv/gai_notify.c: Likewise.
1358 * resolv/ns_name.c: Likewise.
1359 * resolv/ns_samedomain.c: Likewise.
1360 * resolv/res_send.c: Likewise.
1361 * stdlib/random.c: Likewise.
1362 * sunrpc/rpc/xdr.h: Likewise.
1363 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1364 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1365 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1366 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1367 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1368 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1370 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1371 * sysdeps/mach/hurd/check_fds.c: Likewise.
1372 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1373 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1374 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1375 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1376 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1377 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1378 * sysdeps/pthread/aio_notify.c: Likewise.
1379 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1380 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1381 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1382 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1383 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1384
46ed1038
LD
13852013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1386
1387 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1388 version if bit_Slow_SSE4_2 is set.
1389 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1390 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1391
d400dcac
AZ
13922013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1393
1394 [BZ #15867]
1395 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1396 trampoline stack frame information.
1397 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1398 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1399 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1400 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1401 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1402 * sysdeps/unix/sysv/linux/powerpc/init-first.c
1403 (_libc_vdso_platform_setup): Initialize the signal trampolines.
1404 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1405 sa_flags value.
1406 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1407 interrupting a syscall and set with option SA_SIGINFO.
1408
42c8fdd8
JM
14092013-08-20 Joseph Myers <joseph@codesourcery.com>
1410
c980f2f4
JM
1411 [BZ #15531]
1412 * math/s_cproj.c (__cproj): Only return an infinity if one part of
1413 argument is infinite.
1414 * math/s_cprojf.c (__cprojf): Likewise.
1415 * math/s_cprojl.c (__cprojl): Likewise.
1416 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1417 * math/libm-test.inc (cproj_test_data): Add more tests.
1418
0716c4fc
JM
1419 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1420
42c8fdd8
JM
1421 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1422 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1423 size. Use __ffs to determine corresponding shift.
1424
b31469d0
JM
14252013-08-20 Joseph Myers <joseph@codesourcery.com>
1426 Roland McGrath <roland@hack.frob.com>
1427
1428 * Makefile (INSTALL): Remove trailing blank lines from output of
1429 makeinfo.
1430
4e39af6e
AK
14312013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1432
1433 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1434 Align 32 bit compat elf_greg to 8 bytes.
1435
f315524e
AA
14362013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1437
1438 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1439
1326ba1a
SP
14402013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1441
1442 * string/strcoll_l.c (coll_seq): New structure.
1443 (get_next_seq_cached): New function.
1444 (get_next_seq): New function.
1445 (do_compare): New function.
1446 (STRCOLL): Use GNU style definition. Simplify implementation
1447 by using get_next_seq, get_next_seq_cached and do_compare.
1448
91ce4085
FW
14492013-08-16 Florian Weimer <fweimer@redhat.com>
1450
1451 [BZ #14699]
1452 CVE-2013-4237
1453 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1454 member.
1455 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1456 member.
1457 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1458 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1459 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
1460 conditional.
1461 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1462 GETDENTS_64BIT_ALIGNED.
1463 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1464 * manual/filesys.texi (Reading/Closing Directory): Document
1465 ENAMETOOLONG return value of readdir_r. Recommend readdir more
1466 strongly.
1467 * manual/conf.texi (Limits for Files): Add portability note to
1468 NAME_MAX, PATH_MAX.
1469 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1470
ca0a6bc4
AS
14712013-08-13 Andreas Schwab <schwab@suse.de>
1472
1473 [BZ #15749]
1474 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1475 of fabs.
1476 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1477 LDBL_MAX_EXP >= 16384]: Add tests for it.
1478
6c1fd795
DM
14792013-08-12 David S. Miller <davem@davemloft.net>
1480
1481 * version.h (RELEASE): Set to "development".
1482 (VERSION): Set to "2.18.90".
1483 * NEWS: Add 2.19 section.
1484
31ad488d
DM
14852013-08-03 David S. Miller <davem@davemloft.net>
1486
1487 * po/ko.po: Update Korean translation from translation project.
1488
db24e684
DM
14892013-08-01 David S. Miller <davem@davemloft.net>
1490
1491 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
1492 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1493 Bilka.
1494
f723285b
DM
14952013-07-30 David S. Miller <davem@davemloft.net>
1496
1497 * po/fr.po: Update French translation from translation project.
1498
3cbc52db
DM
14992013-07-28 David S. Miller <davem@davemloft.net>
1500
30bbc0cc
DM
1501 * po/cs.po: Update Czech translation from translation project.
1502
3cbc52db
DM
1503 * po/sv.po: Update Swedish translation from translation project.
1504
d492e6d0
DM
15052013-07-27 David S. Miller <davem@davemloft.net>
1506
f1a7f492
DM
1507 * po/eo.po: Update Esperanto translation from translation project.
1508
90e62a4a
DM
1509 * po/vi.po: Update Vietnamese translation from translation project.
1510
d492e6d0
DM
1511 * po/de.po: Update German translation from translation project.
1512
d4baa62d
DM
15132013-07-26 David S. Miller <davem@davemloft.net>
1514
641aa7b4
DM
1515 * po/bg.po: Update Bulgarian translation from translation project.
1516
d4baa62d
DM
1517 * po/nl.po: Update Dutch translation from translation project.
1518 * po/pl.po: Update Polish translation from translation project.
1519 * po/ru.po: Update Russian translation from translation project.
1520
61a9dcb9
DM
15212013-07-24 David S. Miller <davem@davemloft.net>
1522
1523 * po/libc.pot: Update.
1524
7b1f8b58
AZ
15252013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1526
1527 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1528 variable page size.
1529 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1530 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1531 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1532
a8fc7a03
AK
15332013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1534
1535 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1536
e4608715
CD
15372013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1538 Andreas Schwab <schwab@suse.de>
1539 Roland McGrath <roland@hack.frob.com>
1540 Joseph Myers <joseph@codesourcery.com>
1541 Carlos O'Donell <carlos@redhat.com>
1542
1543 [BZ #15755]
1544 * config.h.in: Define HAVE_PT_CHOWN.
1545 * config.make.in (build-pt-chown): New variable.
1546 * configure.in (--enable-pt_chown): New configure option.
1547 * configure: Regenerate.
1548 * login/Makefile: Include Makeconfig. Build pt_chown only if
1549 build-pt-chown is enabled.
1550 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1551 pt_chown to fix pty ownership.
1552 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1553 CLOSE_ALL_FDS.
1554 * manual/install.texi (Configuring and compiling): Mention
1555 --enable-pt_chown. Add @findex for grantpt.
1556 * INSTALL: Regenerate.
1557
da2d62df
DM
15582013-07-20 David S. Miller <davem@davemloft.net>
1559
1560 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1561 difference between 32-bit and 64-bit.
1562
d7e06450
CD
15632013-07-15 Carlos O'Donell <carlos@redhat.com>
1564
1565 [BZ #15711]
1566 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1567 Avoid system header dependency with -ffreestanding.
1568 ($(objpfx)bits/syscall%d): Likewise.
1569
f959cfd7
DM
15702013-07-13 David S. Miller <davem@davemloft.net>
1571
1572 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1573 underflows from atanl/atan2l due to bug 15319.
1574 (casinh_test_data): Likewise.
1575
c61f8513
DM
15762013-07-07 David S. Miller <davem@davemloft.net>
1577
1578 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1579
72c90ed0
JA
15802013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
1581
1582 * sysdeps/i386/fpu/libm-test-ulps: Update.
1583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1584
52dfbe13
SP
15852013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1586
1587 * configure.in (--enable-lock-elision): Fix message text.
1588 * INSTALL: Regenerate.
1589 * configure: Regenerate.
1590
3f169543
AZ
15912013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1592
1593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1594
521c6785
AJ
15952013-07-03 Andreas Jaeger <aj@suse.de>
1596
1597 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1598 define.
1599 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1600 (ptrace_peeksiginfo_args): Add.
1601 (__ptrace_peeksiginfo_flags): Add.
1602 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1603 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1604 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1605
d2cc15cb
AM
16062013-07-03 Allan McRae <allan@archlinux.org>
1607
1608 * sysdeps/i386/fpu/libm-test-ulps: Update.
1609
3aaeeca7
DM
16102013-07-02 David S. Miller <davem@davemloft.net>
1611
1612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1613
5314ed1a
MT
16142013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
1615
1616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1617
67338156
JM
16182013-07-02 Joseph Myers <joseph@codesourcery.com>
1619
1620 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1622
1717da59
AK
16232013-07-02 Andi Kleen <ak@linux.intel.com>
1624
1625 * config.h.in (ENABLE_LOCK_ELISION): Add.
1626 * configure.in (--enable-lock-elision): Add option.
1627 * manual/install.texi: Document --enable lock elision.
1628 * configure: Regenerate
1629 * INSTALL: Regenerate.
1630
1c81621c
L
16312013-07-02 H.J. Lu <hongjiu.lu@intel.com>
1632
1633 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1634 SSE4.2 strcasecmp for libc.a.
1635 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1636
77f01ab5
JM
16372013-07-02 Joseph Myers <joseph@codesourcery.com>
1638
1639 [BZ #13304]
1640 * soft-fp/op-common.h (_FP_FMA): New macro.
1641 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1642 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
1643 (_FP_MUL_MEAT_1_imm): ... here.
1644 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
1645 (_FP_MUL_MEAT_1_wide): ... here.
1646 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
1647 (_FP_MUL_MEAT_1_hard): ... here.
1648 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1649 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
1650 (_FP_MUL_MEAT_2_wide): ... here.
1651 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
1652 (_FP_MUL_MEAT_2_wide_3mul): ... here.
1653 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
1654 (_FP_MUL_MEAT_2_gmp): ... here.
1655 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1656 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
1657 (_FP_MUL_MEAT_4_wide): ... here.
1658 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
1659 (_FP_MUL_MEAT_4_gmp): ... here.
1660 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1661 (_FP_WFRACBITS_DW_S): Likewise.
1662 (_FP_WFRACXBITS_DW_S): Likewise.
1663 (_FP_HIGHBIT_DW_S): Likewise.
1664 (FP_FMA_S): Likewise.
1665 (_FP_FRAC_HIGH_DW_S): Likewise.
1666 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1667 (_FP_WFRACBITS_DW_D): Likewise.
1668 (_FP_WFRACXBITS_DW_D): Likewise.
1669 (_FP_HIGHBIT_DW_D): Likewise.
1670 (FP_FMA_D): Likewise.
1671 (_FP_FRAC_HIGH_DW_D): Likewise.
1672 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1673 (_FP_WFRACBITS_DW_E): Likewise.
1674 (_FP_WFRACXBITS_DW_E): Likewise.
1675 (_FP_HIGHBIT_DW_E): Likewise.
1676 (FP_FMA_E): Likewise.
1677 (_FP_FRAC_HIGH_DW_E): Likewise.
1678 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1679 (_FP_WFRACBITS_DW_Q): Likewise.
1680 (_FP_WFRACXBITS_DW_Q): Likewise.
1681 (_FP_HIGHBIT_DW_Q): Likewise.
1682 (FP_FMA_Q): Likewise.
1683 (_FP_FRAC_HIGH_DW_Q): Likewise.
1684 * soft-fp/fmasf4.c: New file.
1685 * soft-fp/fmadf4.c: Likewise.
1686 * soft-fp/fmatf4.c: Likewise.
1687
6308fd9a
LD
16882013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1689
1690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1691 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1692 Silvermont.
1693 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1694 macro.
1695 (index_Slow_SSE4_2): Likewise.
1696 (index_Prefer_PMINUB_for_stringop): Likewise.
1697 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1698 bit_Slow_SSE4_2 is set.
1699 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1700 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1701
89cd9569
RA
17022013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1703
1704 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1705 rtld_global._dl_hwcap2.
1706 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1707 POWER8.
1708 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1709 POWER8 feature descriptions defined in _dl_hwcap2.
1710 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1711 string handling for POWER8 feature bits.
1712 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1713 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1714 _dl_powerpc_cap_flags.
1715 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1716 * sysdeps/powerpc/rtld-global-offsets.sym
1717 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1718 _dl_hwcap2 in the rtld_global_ro structure.
1719
1ae8bfe0
RA
17202013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1721
1722 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1723 hardware capabilities in support of AT_HWCAP2.
1724 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1725 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1726 GLRO(dl_hwcap2).
1727 (_dl_show_auxv): Add support for calling _dl_procinfo to display
1728 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
1729 explicitly the unknown a_type display mechanism is used.
1730 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1731 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1732 struct member.
1733 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1734 to macro prototype for AT_HWCAP2 support.
1735 * sysdeps/i386/dl-procinfo.h: Likewise.
1736 * sysdeps/s390/dl-procinfo.h: Likewise.
1737 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1738 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
1739 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
1740 return -1 for unknown a_type display fallback.
1741 * sysdeps/sparc/dl-procinfo.h: Likewise.
1742 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1743 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1744
8fbec010
JM
17452013-06-28 Joseph Myers <joseph@codesourcery.com>
1746
1747 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1748 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1749
0432680e
PY
17502013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
1751
1752 [BZ #12492]
1753 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1754 mprotect making __stack_prot writable.
1755
ce61a2ad
NF
17562013-06-28 Nathan Froyd <froydnj@codesourcery.com>
1757 Joseph Myers <joseph@codesourcery.com>
1758
1759 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1760 as being properly aligned.
1761
f91f1c0f
MR
17622013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
1763
3d0f5d0c
MR
1764 * dlfcn/modstatic5.c: New file.
1765 * dlfcn/tststatic5.c: New file.
1766 * dlfcn/Makefile (tests): Add tststatic5.
1767 (tests-static): Likewise.
1768 (modules-names): Add modstatic5.
1769 (tststatic5-ENV): New variable.
1770 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1771
f91f1c0f
MR
1772 [BZ #15022]
1773 * elf/dl-support.c (_dl_main_map): New variable.
1774 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1775 (_dl_nns, _dl_load_adds): Set to 1.
1776 (_dl_initial_searchlist): Refer to _dl_main_map.
1777 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1778 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1779 call to _dl_get_origin.
1780 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1781 around call_map.
1782 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1783 * dlfcn/modstatic3.c: New file.
1784 * dlfcn/tststatic3.c: New file.
1785 * dlfcn/tststatic4.c: New file.
1786 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1787 (tests-static): Likewise.
1788 (modules-names): Add modstatic3.
1789 (tststatic3-ENV, tststatic4-ENV): New variables.
1790 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1791 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1792
cbe7d24b
JM
17932013-06-26 Joseph Myers <joseph@codesourcery.com>
1794
1795 * configure.in (CC): Require GCC version 4.4 or later.
1796 * configure: Regenerated.
1797 * manual/install.texi (Tools for Compilation): Update GCC version
1798 requirement.
1799 * INSTALL: Regenerated.
1800
11b8a0e1
LD
18012013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1802
1803 [BZ #15674]
bb5bb87c
L
1804 * string/test-memcmp.c (check2): New.
1805 (main): Call check2.
1806
11b8a0e1
LD
1807 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1808
b0037103
MR
18092013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
1810
1811 [BZ #15022]
1812 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1813 over to...
1814 (dl_open_worker) [!SHARED]: ... here.
1815
c18c701d
RA
18162013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1817
1818 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1819
1d17fa5f
RH
18202013-06-25 Richard Henderson <rth@redhat.com>
1821
1822 * locale/programs/locarchive.c: Include <libc-internal.h>
1823
8fcb833a
JM
18242013-06-25 Joseph Myers <joseph@codesourcery.com>
1825
1826 * manual/texinfo.tex: Update to version 2013-06-21.17, with
1827 trailing whitespace removed.
1828
17db6e8d
MF
18292013-06-24 Mike Frysinger <vapier@gentoo.org>
1830
1831 [BZ #10283]
17db6e8d
MF
1832 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1833 * locale/programs/locarchive.c: Include libc-mmap.h.
1834 (prepare_address_space): Take two new outputs (the mmap base and len).
1835 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
1836 values.
1837 (create_archive): Declare new mmap base and len values for
1838 prepare_address_space, and store the result in ah.
1839 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1840 (enlarge_archive): If ah->mmap_base is not NULL, use that and
1841 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1842 Declare new mmap base and len values for
1843 prepare_address_space, and store the result in new_ah.
1844 (open_archive): Declare new mmap base and len values for
1845 prepare_address_space, and store the result in ah.
1846 (close_archive): If ah->mmap_base is not NULL, use that and
1847 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1848 * sysdeps/generic/libc-mmap.h: New file.
1849
d605071e
MF
18502013-06-24 Mike Frysinger <vapier@gentoo.org>
1851
1852 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1853 (ALIGN_UP): Likewise.
1854 (PTR_ALIGN_DOWN): Likewise.
1855 (PTR_ALIGN_UP): Likewise.
1856
2f063a6e
RA
18572013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1858
1859 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1860 entry mapped to PPC_PLATFORM_POWER8.
1861 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1862 POWER8.
1863 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1864 (_dl_string_platform): Add case for exporting platform position for
1865 POWER8.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1867 search path to sysdeps/powerpc/powerpc32/power8 directory.
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1869 search path to sysdeps/powerpc/powerpc64/power8 directory.
1870 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1871 power7 directories.
1872 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1873 power7 directories.
1874
a31ee4b3
SP
18752013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1876
a74ca98f
SP
1877 * INSTALL: Regenerate.
1878
a31ee4b3
SP
1879 * nscd/connections.c (nscd_init): Fix comment.
1880
695c378f
JM
18812013-06-22 Joseph Myers <joseph@codesourcery.com>
1882
d8412221
JM
1883 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1884
695c378f
JM
1885 [BZ #15667]
1886 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1887 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1888
d1d54715
MR
18892013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1890
1891 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1892 DL_DST_REQ_STATIC.
1893 (DL_DST_REQ_STATIC): Remove macro.
1894
8fdda7af
JM
18952013-06-21 Joseph Myers <joseph@codesourcery.com>
1896
1897 [BZ #7006]
1898 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1899 with a shift of 0 bits.
1900
f3bc5e5a
MR
19012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
1902
1903 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1904 $(tststatic-ENV).
1905
be09e8c9
KK
19062013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1907
1908 [BZ #15655]
1909 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1910
85c2e611
AZ
19112013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1912
1913 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1914 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1915 accepts -fno-tree-loop-distribute-patterns.
1916 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1917 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1918 recursive call.
1919 * string/memset.c (memset): Likewise.
1920 * string/test-memmove.c (simple_memmove): Disable loop transformation
1921 to library calls.
1922 * string/test-memset.c (simple_memset): Likewise.
1923 * benchtests/bench-memmove.c (simple_memmove): Likewise.
1924 * benchtests/bench-memset.c (simple_memset): Likewise.
1925 * configure: Regenerated.
1926
c91e0825
JM
19272013-06-20 Joseph Myers <joseph@codesourcery.com>
1928
b8c792af
JM
1929 * math/test-misc.c (main): Ignore fesetround failure when failures
1930 of subsequent rounding tests would be ignored.
1931
c91e0825
JM
1932 [BZ #15654]
1933 * math/fedisblxcpt.c (fedisableexcept): Return 0.
1934 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1935 * math/fegetenv.c (__fegetenv): Return 0.
1936 * math/fegetexcept.c (fegetexcept): Return 0.
1937 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1938 FE_TONEAREST.
1939 * math/feholdexcpt.c (feholdexcept): Return 0.
1940 * math/fesetenv.c (__fesetenv): Return 0.
1941 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1942 argument FE_TONEAREST.
1943 * math/feupdateenv.c (__feupdateenv): Return 0.
1944 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1945
bfcacbde
RM
19462013-06-18 Roland McGrath <roland@hack.frob.com>
1947
1948 * elf/rtld-Rules (rtld-compile-command.S): New variable.
1949 (rtld-compile-command.s, rtld-compile-command.c): New variables.
1950 ($(objpfx)rtld-%.os rules): Use them.
1951
e55a9b25
AZ
19522013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1953
1954 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1955 fields.
1956
346d65b3
RM
19572013-06-17 Roland McGrath <roland@hack.frob.com>
1958
12086fb4
RM
1959 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1960 length of target pattern, then descending length of dependency pattern.
1961 * configure.in (AWK): Require gawk 3.1.2 or newer.
1962 * manual/install.texi (Tools for Compilation): Say that we do.
1963 * configure: Regenerated.
1964
346d65b3
RM
1965 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1966 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1967 * scripts/sysd-rules.awk: ... this new script.
1968 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1969 than a glob-style pattern.
1970
1a846317
JM
19712013-06-17 Joseph Myers <joseph@codesourcery.com>
1972
1973 * math/test-misc.c (main): Do not treat incorrectly rounded
1974 conversions as failure unless ROUNDING_TESTS passes.
1975
8fc75e6f
JM
19762013-06-15 Joseph Myers <joseph@codesourcery.com>
1977
3711a167
JM
1978 [BZ #15631]
1979 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1980 restore exception state around main square root computation, then
1981 check for inexactness explicitly.
1982
8fc75e6f
JM
1983 * math/libm-test.inc (fma_test_data): Add another test.
1984
61dd6208
SP
19852013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1986
adf23d2c
SP
1987 * manual/threads.texi (Non-POSIX Extensions): New document
1988 node. Document pthread_getattr_default_np and
1989 pthread_setattr_default_np.
1990
61dd6208
SP
1991 * Versions.def (libpthread): Add GLIBC_2.18.
1992 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1994 Likewise.
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1996 Likewise.
1997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1998 Likewise.
1999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2000 Likewise.
2001 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2002 Likewise.
2003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2004 Likewise.
2005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2006 Likewise.
2007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2008 Likewise.
2009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2010 Likewise.
2011
d086fc7b
LD
20122013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2013
2014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2015 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2016
747ef469
SP
20172013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2018 H.J. Lu <hjl.tools@gmail.com>
2019
2020 [BZ #15627]
2021 * sysdeps/x86_64/rtld-memset.c: Remove file.
2022 * sysdeps/x86_64/rtld-memset.S: New file.
2023
1b2feed2
JM
20242013-06-14 Joseph Myers <joseph@codesourcery.com>
2025
2026 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2027 (test_in_one_mode): Take arguments for whether the rounding mode
2028 is supported for each floating-point type.
2029 (do_test): Pass new arguments to test_in_one_mode using
2030 ROUNDING_TESTS.
2031
a58ad3f8
RM
20322013-06-13 Roland McGrath <roland@hack.frob.com>
2033
2034 * posix/tst-waitid.c (do_test): Distinguish different instances of
2035 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
2036 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2037 before entering the kernel for waitpid.
2038
c204ab28
SP
20392013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2040
2041 * NEWS: Fix note on clock function precision. Text by Roland
2042 McGrath.
2043
f4a29fba
RM
20442013-06-13 Roland McGrath <roland@hack.frob.com>
2045
2046 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2047 it into place only when and if the sanity check passes.
2048
1f24b9ad
JM
20492013-06-13 Joseph Myers <joseph@codesourcery.com>
2050
2051 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2052 output for whether conversion result is exact. Take argument
2053 indicating whether type is IBM long double.
2054 (round_for_all): Change need_exact field to ibm_ld.
2055 * stdlib/tst-strtod-round.c (struct exactness): New type.
2056 (struct test): Change bool ld_ok field to struct exactness exact.
2057 (TEST): Update all definitions for change to field.
2058 (tests): Regenerate array contents.
2059 (test_in_one_mode): Take pointer to new field instead of old ld_ok
2060 field value. Check for IBM long double here.
2061 (do_test): Update calls to test_in_one_mode.
2062
58206c68
SP
20632013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2064
2065 [BZ #12515]
2066 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2067 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2068
2d6f4c5b 20692013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
2070
2071 [BZ #15605]
2072 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2073 generated by the compiler on loop optimizations.
2074 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2075 general definitions.
2076
94f2c076
JM
20772013-06-12 Joseph Myers <joseph@codesourcery.com>
2078
2079 * math/bug-nextafter.c: Include <math-tests.h>.
2080 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2081 the relevant type.
2082 * math/bug-nexttoward.c: Include <math-tests.h>.
2083 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2084 the relevant type.
2085 * math/test-misc.c: Include <math-tests.h>.
2086 (main): Only test for exceptions if EXCEPTION_TESTS is true for
2087 the relevant type.
2088
e0e50a0a
AJ
20892013-06-12 Andreas Jaeger <aj@suse.de>
2090
2091 * po/ia.po: Update Interlingua translation from translation
2092 project.
2093
25061094
SP
20942013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2095
2096 * include/fenv.h: Include stdbool.h.
2097 (struct rm_ctx): New structure.
2098 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2099 Define macro.
2100 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2101 (SET_RESTORE_ROUNDF): Likewise.
2102 (SET_RESTORE_ROUNDL): Likewise.
2103 (SET_RESTORE_ROUND_NOEX): Likewise.
2104 (SET_RESTORE_ROUND_NOEXF): Likewise.
2105 (SET_RESTORE_ROUND_NOEXL): Likewise.
2106 (SET_RESTORE_ROUND_53BIT): Likewise.
2107 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2108 (libc_feresetround_noexf_ctx): Likewise.
2109 (libc_feresetround_noexl_ctx): Likewise.
2110 (libc_feholdsetround_53bit_ctx): Likewise.
2111 (libc_feresetround_53bit_ctx): Likewise.
2112 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2113 (libc_feholdexcept_setround_sse_ctx): New function.
2114 (libc_fesetenv_sse_ctx): Likewise.
2115 (libc_feupdateenv_sse_ctx): Likewise.
2116 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2117 (libc_feholdexcept_setround_387_ctx): Likewise.
2118 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2119 (libc_feholdsetround_387_prec_ctx): Likewise.
2120 (libc_feholdsetround_387_ctx): Likewise.
2121 (libc_feholdsetround_387_53bit_ctx): Likewise.
2122 (libc_feholdsetround_sse_ctx): Likewise.
2123 (libc_feresetround_sse_ctx): Likewise.
2124 (libc_feresetround_387_ctx): Likewise.
2125 (libc_feupdateenv_387_ctx): Likewise.
2126 (libc_feholdexcept_setroundf_ctx): Define macro.
2127 (libc_fesetenvf_ctx): Likewise.
2128 (libc_feupdateenvf_ctx): Likewise.
2129 (libc_feholdsetroundf_ctx): Likewise.
2130 (libc_feresetroundf_ctx): Likewise.
2131 (libc_feholdexcept_setround_ctx): Likewise.
2132 (libc_fesetenv_ctx): Likewise.
2133 (libc_feupdateenv_ctx): Likewise.
2134 (libc_feholdsetround_ctx): Likewise.
2135 (libc_feresetround_ctx): Likewise.
2136 (libc_feholdexcept_setroundl_ctx): Likewise.
2137 (libc_feupdateenvl_ctx): Likewise.
2138 (libc_feholdsetroundl_ctx): Likewise.
2139 (libc_feresetroundl_ctx): Likewise.
2140 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2141 (libc_feresetround_53bit_ctx): Likewise.
2142
59b30555
SP
21432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2144
2145 * locale/iso-639.def: Convert to UTF-8.
2146
f1d73d30
JM
21472013-06-11 Joseph Myers <joseph@codesourcery.com>
2148
2149 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2150 (EXCEPTION_TESTS_double): Likewise.
2151 (EXCEPTION_TESTS_long_double): Likewise.
2152 (EXCEPTION_TESTS): Likewise.
2153 * math/libm-test.inc (test_exceptions): Only test exceptions if
2154 EXCEPTION_TESTS (FLOAT).
2155
94aca5e7
SP
21562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2157
2158 * benchtests/Makefile (string-bench): Add strcpy_chk and
2159 stpcpy_chk.
2160 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2161 * benchtests/bench-stpcpy_chk.c: New file.
2162 * benchtests/bench-strcpy_chk-ifunc.c: New file.
2163 * benchtests/bench-strcpy_chk.c: New file.
2164 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2165 code.
2166 (do_test): Likewise.
2167
fac0c5f2
RA
21682013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2169
2170 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2171 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2172 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2173 with tabs where appropriate.
2174 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2175 dl-procinfo.h.
2176 [PPC_PLATFORM_PPC440]: Likewise.
2177 [PPC_PLATFORM_PPC464]: Likewise.
2178 [PPC_PLATFORM_PPC476]: Likewise.
2179 (_dl_string_platform): Add support for detecting ppc405, ppc440,
2180 ppc464, and ppc476 platform strings merging from ports/
2181 dl-procinfo.h.
2182
f22bc486
AS
21832013-06-11 Andreas Schwab <schwab@suse.de>
2184
2185 [BZ #14991]
2186 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2187 (from_ucs4_idx): Regenerate.
2188 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2189 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2190 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2191 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2192 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2193 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2194 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2195 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2196 from FROM_LOOP and TO_LOOP specific macros.
2197 (BODY): Handle combining characters.
2198 * iconvdata/BIG5HKSCS.irreversible: Update.
2199 * iconvdata/BIG5HKSCS.precomposed: New file.
2200 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2201 characters.
2202 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2203
c1f75dc3
SP
22042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2205
4eacded2
SP
2206 * include/sys/time.h: Fix indentation and add copyright header.
2207
fec799f8
SP
2208 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2209 (do_test): Likewise.
2210 * string/test-memchr.c (do_one_test): Likewise.
2211 (do_test): Likewise.
2212 * string/test-memcmp.c (do_one_test): Likewise.
2213 (do_test): Likewise.
2214 * string/test-memcpy.c (do_one_test): Likewise.
2215 (do_test): Likewise.
2216 * string/test-memmem.c (do_one_test): Likewise.
2217 (do_test): Likewise.
2218 (do_random_tests): Likewise.
2219 * string/test-memmove.c (do_one_test): Likewise.
2220 (do_test): Likewise.
2221 * string/test-memset.c (do_one_test): Likewise.
2222 (do_test): Likewise.
2223 * string/test-rawmemchr.c (do_one_test): Likewise.
2224 (do_test): Likewise.
2225 * string/test-strcasecmp.c (do_one_test): Likewise.
2226 (do_test): Likewise.
2227 * string/test-strcasestr.c (do_one_test): Likewise.
2228 (do_test): Likewise.
2229 * string/test-strcat.c (do_one_test): Likewise.
2230 (do_test): Likewise.
2231 * string/test-strchr.c (do_one_test): Likewise.
2232 (do_test): Likewise.
2233 * string/test-strcmp.c (do_one_test): Likewise.
2234 (do_test): Likewise.
2235 * string/test-strcpy.c (do_one_test): Likewise.
2236 (do_test): Likewise.
2237 * string/test-string.h: Likewise.
2238 (test_init): Likewise.
2239 * string/test-strlen.c (do_one_test): Likewise.
2240 (do_test): Likewise.
2241 * string/test-strncasecmp.c (do_one_test): Likewise.
2242 (do_test): Likewise.
2243 * string/test-strncat.c (do_one_test): Likewise.
2244 (do_test): Likewise.
2245 * string/test-strncmp.c (do_one_test): Likewise.
2246 (do_test_limit): Likewise.
2247 (do_test): Likewise.
2248 * string/test-strncpy.c (do_one_test): Likewise.
2249 (do_test): Likewise.
2250 * string/test-strnlen.c (do_one_test): Likewise.
2251 (do_test): Likewise.
2252 * string/test-strpbrk.c (do_one_test): Likewise.
2253 (do_test): Likewise.
2254 * string/test-strrchr.c (do_one_test): Likewise.
2255 (do_test): Likewise.
2256 * string/test-strspn.c (do_one_test): Likewise.
2257 (do_test): Likewise.
2258 * string/test-strstr.c (do_one_test): Likewise.
2259 (do_test): Likewise.
2260
97020474
SP
2261 * benchtests/Makefile (string-bench): Add string benchmarks.
2262 * benchtests/bench-bcopy-ifunc.c: New file.
2263 * benchtests/bench-bcopy.c: New file.
2264 * benchtests/bench-bzero-ifunc.c: New file.
2265 * benchtests/bench-bzero.c: New file.
2266 * benchtests/bench-memccpy-ifunc.c: New file.
2267 * benchtests/bench-memccpy.c: New file.
2268 * benchtests/bench-memchr-ifunc.c: New file.
2269 * benchtests/bench-memchr.c: New file.
2270 * benchtests/bench-memcmp-ifunc.c: New file.
2271 * benchtests/bench-memcmp.c: New file.
2272 * benchtests/bench-memmem-ifunc.c: New file.
2273 * benchtests/bench-memmem.c: New file.
2274 * benchtests/bench-memmove-ifunc.c: New file.
2275 * benchtests/bench-memmove.c: New file.
2276 * benchtests/bench-mempcpy-ifunc.c: New file.
2277 * benchtests/bench-mempcpy.c: New file.
2278 * benchtests/bench-memset-ifunc.c: New file.
2279 * benchtests/bench-memset.c: New file.
2280 * benchtests/bench-rawmemchr-ifunc.c: New file.
2281 * benchtests/bench-rawmemchr.c: New file.
2282 * benchtests/bench-stpcpy-ifunc.c: New file.
2283 * benchtests/bench-stpcpy.c: New file.
2284 * benchtests/bench-stpncpy-ifunc.c: New file.
2285 * benchtests/bench-stpncpy.c: New file.
2286 * benchtests/bench-strcasecmp-ifunc.c: New file.
2287 * benchtests/bench-strcasecmp.c: New file.
2288 * benchtests/bench-strcasestr-ifunc.c: New file.
2289 * benchtests/bench-strcasestr.c: New file.
2290 * benchtests/bench-strcat-ifunc.c: New file.
2291 * benchtests/bench-strcat.c: New file.
2292 * benchtests/bench-strchr-ifunc.c: New file.
2293 * benchtests/bench-strchr.c: New file.
2294 * benchtests/bench-strchrnul-ifunc.c: New file.
2295 * benchtests/bench-strchrnul.c: New file.
2296 * benchtests/bench-strcmp-ifunc.c: New file.
2297 * benchtests/bench-strcmp.c: New file.
2298 * benchtests/bench-strcpy-ifunc.c: New file.
2299 * benchtests/bench-strcpy.c: New file.
2300 * benchtests/bench-strcspn-ifunc.c: New file.
2301 * benchtests/bench-strcspn.c: New file.
2302 * benchtests/bench-strlen-ifunc.c: New file.
2303 * benchtests/bench-strlen.c: New file.
2304 * benchtests/bench-strncasecmp-ifunc.c: New file.
2305 * benchtests/bench-strncasecmp.c: New file.
2306 * benchtests/bench-strncat-ifunc.c: New file.
2307 * benchtests/bench-strncat.c: New file.
2308 * benchtests/bench-strncmp-ifunc.c: New file.
2309 * benchtests/bench-strncmp.c: New file.
2310 * benchtests/bench-strncpy-ifunc.c: New file.
2311 * benchtests/bench-strncpy.c: New file.
2312 * benchtests/bench-strnlen-ifunc.c: New file.
2313 * benchtests/bench-strnlen.c: New file.
2314 * benchtests/bench-strpbrk-ifunc.c: New file.
2315 * benchtests/bench-strpbrk.c: New file.
2316 * benchtests/bench-strrchr-ifunc.c: New file.
2317 * benchtests/bench-strrchr.c: New file.
2318 * benchtests/bench-strspn-ifunc.c: New file.
2319 * benchtests/bench-strspn.c: New file.
2320 * benchtests/bench-strstr-ifunc.c: New file.
2321 * benchtests/bench-strstr.c: New file.
2322
c1f75dc3
SP
2323 * benchtests/Makefile: Disable parallel execution of targets.
2324 (string-bench): Add memcpy.
2325 (benchset): New variable to store a list of benchmark sets.
2326 (bench-func): Renamed from bench.
2327 (bench-set): New target.
2328 (bench): Depend on bench-func and bench-set.
2329 * benchtests/README: Add section on benchmark sets.
2330 * benchtests/bench-memcpy-ifunc.c: New file.
2331 * benchtests/bench-memcpy.c: New file.
2332 * benchtests/bench-string.h: New file.
2333
50fd745b
AS
23342013-06-11 Andreas Schwab <schwab@suse.de>
2335
2336 [BZ #15577]
2337 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2338 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2339 values in the triple.
2340 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2341 terminator in the group key.
2342
3ee7e9fe
AJ
23432013-06-11 Andreas Jaeger <aj@suse.de>
2344
2345 * po/zh_TW.po: Update Chinese (traditional) translation from
2346 translation project.
2347
89fb6835
SP
23482013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2349
2350 * include/time.h (__clock_gettime): Add libc_hidden_proto.
2351 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2352 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
2353 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2354 (clock_getcpuclockid): Likewise.
2355 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2356 Add weak_alias and libc_hidden_def.
2357 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2358 * rt/clock_gettime.c (clock_gettime): Rename to
2359 __clock_gettime. Add weak_alias and libc_hidden_def.
2360 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2361 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2362 __clock_nanosleep. Add weak_alias and libc_hidden_def.
2363 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2364 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2365 Likewise.
2366 * rt/clock_settime.c (clock_settime): Rename to
2367 __clock_settime. Add weak_alias and libc_hidden_def.
2368 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2369
0efa6f8b
JM
23702013-06-10 Joseph Myers <joseph@codesourcery.com>
2371
b8c61b4b
JM
2372 * mach/err_boot.sub: Remove trailing whitespace.
2373 * mach/err_ipc.sub: Likewise.
2374 * mach/err_mach.sub: Likewise.
2375
0efa6f8b
JM
2376 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2377 (ROUNDING_TESTS_double): Likewise.
2378 (ROUNDING_TESTS_long_double): Likewise.
2379 (ROUNDING_TESTS): Likewise.
2380 * math/libm-test.inc: Include <math-tests.h>.
2381 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2382 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2383 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2384 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2385
50b818bf
SP
23862013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2387
2388 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2389 of assigning.
2390
60d2f8f3
JM
23912013-06-08 Joseph Myers <joseph@codesourcery.com>
2392
4902d2c3
JM
2393 * sysdeps/gnu/errlist.awk: Do not generate space at end of
2394 otherwise empty TRANS lines.
2395 * sysdeps/gnu/errlist.c: Regenerated.
2396
60d2f8f3
JM
2397 * catgets/gencat.c (error_print): Use (void) in function
2398 definition.
2399 * crypt/crypt_util.c (__init_des): Likewise.
2400 * crypt/speeds.c (Stop): Likewise.
2401 (main): Likewise.
2402 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2403 * inet/ruserpass.c (token): Likewise.
2404 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2405 * intl/localealias.c (extend_alias_table): Likewise.
2406 * intl/plural-exp.c (init_germanic_plural): Likewise.
2407 * libio/fcloseall.c (__fcloseall): Likewise.
2408 * libio/genops.c (_IO_flush_all): Likewise.
2409 (_IO_flush_all_linebuffered): Likewise.
2410 (_IO_cleanup): Likewise.
2411 (_IO_iter_begin): Likewise.
2412 (_IO_iter_end): Likewise.
2413 (_IO_list_lock): Likewise.
2414 (_IO_list_unlock): Likewise.
2415 (_IO_list_resetlock): Likewise.
2416 * libio/getchar.c (getchar): Likewise.
2417 * libio/getchar_u.c (getchar_unlocked): Likewise.
2418 * libio/getwchar.c (getwchar): Likewise.
2419 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2420 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2421 * login/getpt.c (__getpt): Likewise.
2422 * login/tst-utmp.c (main): Likewise.
2423 * malloc/hooks.c (__malloc_check_init): Likewise.
2424 * malloc/malloc.c (__malloc_stats): Likewise.
2425 * malloc/mtrace.c (tr_break): Likewise.
2426 (mtrace): Likewise.
2427 (muntrace): Likewise.
2428 * misc/fstab.c (endfsent): Likewise.
2429 * misc/getclktck.c (__getclktck): Likewise.
2430 * misc/getdtsz.c (__getdtablesize): Likewise.
2431 * misc/gethostid.c (gethostid): Likewise.
2432 * misc/getpagesize.c (__getpagesize): Likewise.
2433 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2434 (__get_nprocs): Likewise.
2435 (__get_phys_pages): Likewise.
2436 (__get_avphys_pages): Likewise.
2437 * misc/getttyent.c (getttyent): Likewise.
2438 (setttyent): Likewise.
2439 (endttyent): Likewise.
2440 * misc/getusershell.c (getusershell): Likewise.
2441 (endusershell): Likewise.
2442 (setusershell): Likewise.
2443 (initshells): Likewise.
2444 * misc/hsearch.c (__hdestroy): Likewise.
2445 * misc/sync.c (sync): Likewise.
2446 * misc/syslog.c (closelog_internal): Likewise.
2447 (closelog): Likewise.
2448 * misc/ttyslot.c (ttyslot): Likewise.
2449 * misc/vhangup.c (vhangup): Likewise.
2450 * posix/fork.c (__fork): Likewise.
2451 * posix/getegid.c (__getegid): Likewise.
2452 * posix/geteuid.c (__geteuid): Likewise.
2453 * posix/getgid.c (__getgid): Likewise.
2454 * posix/getpid.c (__getpid): Likewise.
2455 * posix/getppid.c (__getppid): Likewise.
2456 * posix/getuid.c (__getuid): Likewise.
2457 * posix/pause.c (pause): Likewise.
2458 * posix/setpgrp.c (setpgrp): Likewise.
2459 * posix/setsid.c (__setsid): Likewise.
2460 * posix/test-vfork.c (noop): Likewise.
2461 * resolv/gethnamaddr.c (_endhtent): Likewise.
2462 (_gethtent): Likewise.
2463 (ht_endhostent): Likewise.
2464 (gethostent): Likewise.
2465 (dns_service): Likewise.
2466 * stdlib/drand48.c (drand48): Likewise.
2467 * stdlib/lrand48.c (lrand48): Likewise.
2468 * stdlib/mrand48.c (mrand48): Likewise.
2469 * stdlib/rand.c (rand): Likewise.
2470 * stdlib/random.c (__random): Likewise.
2471 * stdlib/setenv.c (clearenv): Likewise.
2472 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2473 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2474 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2475 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2476 (__get_nprocs): Likewise.
2477 (__get_phys_pages): Likewise.
2478 (__get_avphys_pages): Likewise.
2479 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2480 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2481 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2482 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2483 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2484 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2485 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2486 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2487 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2488 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2489 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2490 * sysdeps/mach/hurd/sync.c (sync): Likewise.
2491 * sysdeps/posix/clock.c (clock): Likewise.
2492 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2493 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2494 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2495 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2496 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2497 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2498 (__get_nprocs_conf): Likewise.
2499 (__get_phys_pages): Likewise.
2500 (__get_avphys_pages): Likewise.
2501 * time/clock.c (clock): Likewise.
2502 * time/tzset.c (__tzname_max): Likewise.
2503
2e09a79a
JM
25042013-06-07 Joseph Myers <joseph@codesourcery.com>
2505
2506 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2507 (__bswap_32): Do not use "register".
2508 * crypt/crypt.c (_ufc_doit_r): Likewise.
2509 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2510 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2511 * gmon/gmon.c (__monstartup): Likewise.
2512 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2513 * hurd/hurdmalloc.c (more_memory): Likewise.
2514 (malloc): Likewise.
2515 (free): Likewise.
2516 (realloc): Likewise.
2517 (malloc_fork_prepare): Likewise.
2518 (malloc_fork_parent): Likewise.
2519 (malloc_fork_child): Likewise.
2520 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2521 (_svcauth_des): Likewise.
2522 * inet/inet_lnaof.c (inet_lnaof): Likewise.
2523 * inet/inet_net.c (inet_network): Likewise.
2524 * inet/inet_netof.c (inet_netof): Likewise.
2525 * inet/rcmd.c (__validuser2_sa): Likewise.
2526 * io/fts.c (fts_open): Likewise.
2527 (fts_load): Likewise.
2528 (fts_close): Likewise.
2529 (fts_read): Likewise.
2530 (fts_children): Likewise.
2531 (fts_build): Likewise.
2532 (fts_stat): Likewise.
2533 (fts_sort): Likewise.
2534 (fts_alloc): Likewise.
2535 (fts_lfree): Likewise.
2536 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2537 (_IO_file_xsgetn): Likewise.
2538 (_IO_file_xsgetn_mmap): Likewise.
2539 * libio/iofopncook.c (_IO_cookie_read): Likewise.
2540 (_IO_cookie_write): Likewise.
2541 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2542 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2543 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2544 * malloc/obstack.c (_obstack_begin): Likewise.
2545 (_obstack_begin_1): Likewise.
2546 (_obstack_newchunk): Likewise.
2547 (_obstack_allocated_p): Likewise.
2548 (obstack_free): Likewise.
2549 (_obstack_memory_used): Likewise.
2550 * misc/getttyent.c (getttynam): Likewise.
2551 (getttyent): Likewise.
2552 (skip): Likewise.
2553 (value): Likewise.
2554 * misc/getusershell.c (initshells): Likewise.
2555 * misc/syslog.c (__vsyslog_chk): Likewise.
2556 * misc/ttyslot.c (ttyslot): Likewise.
2557 * nis/nis_hash.c (__nis_hash): Likewise.
2558 * posix/fnmatch_loop.c (FCT): Likewise.
2559 * posix/getconf.c (print_all): Likewise.
2560 (main): Likewise.
2561 * posix/getopt.c (exchange): Likewise.
2562 * posix/glob.c (globfree): Likewise.
2563 (prefix_array): Likewise.
2564 (__glob_pattern_type): Likewise.
2565 * resolv/arpa/nameser.h (NS_GET16): Likewise.
2566 (NS_GET32): Likewise.
2567 (NS_PUT16): Likewise.
2568 (NS_PUT32): Likewise.
2569 * resolv/gethnamaddr.c (getanswer): Likewise.
2570 (gethostbyname2): Likewise.
2571 (gethostbyaddr): Likewise.
2572 (_gethtent): Likewise.
2573 (_gethtbyname2): Likewise.
2574 (_gethtbyaddr): Likewise.
2575 * resolv/ns_print.c (dst_s_get_int16): Likewise.
2576 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2577 * resolv/res_init.c (__res_vinit): Likewise.
2578 (net_mask): Likewise.
2579 * resolv/res_mkquery.c (outchar): Likewise.
2580 (PRINT): Likewise.
2581 * stdio-common/printf_fp.c (outchar): Likewise.
2582 (PRINT): Likewise.
2583 * stdio-common/printf_fphex.c (outchar): Likewise.
2584 (PRINT): Likewise.
2585 * stdio-common/printf_size.c (outchar): Likewise.
2586 (PRINT): Likewise.
2587 * stdio-common/test_rdwr.c (main): Likewise.
2588 * stdio-common/tfformat.c (matches): Likewise.
2589 * stdio-common/vfprintf.c (outchar): Likewise.
2590 (printf_unknown): Likewise.
2591 (buffered_vfprintf): Likewise.
2592 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2593 * stdio-common/xbug.c (AppendToBuffer): Likewise.
2594 (ReadFile): Likewise.
2595 * stdlib/qsort.c (SWAP): Likewise.
2596 (_quicksort): Likewise.
2597 * stdlib/setenv.c (__add_to_environ): Likewise.
2598 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2599 * stdlib/strtol_l.c (__strtol_l): Likewise.
2600 * stdlib/tst-strtod.c (main): Likewise.
2601 * stdlib/tst-strtol.c (main): Likewise.
2602 * stdlib/tst-strtoll.c (main): Likewise.
2603 * string/bits/string2.h (__strcmp_cc): Likewise.
2604 (__strcmp_cg): Likewise.
2605 (__strcspn_c1): Likewise.
2606 (__strcspn_c2): Likewise.
2607 (__strcspn_c3): Likewise.
2608 (__strspn_c1): Likewise.
2609 (__strspn_c2): Likewise.
2610 (__strspn_c3): Likewise.
2611 (__strsep_1c): Likewise.
2612 (__strsep_2c): Likewise.
2613 (__strsep_3c): Likewise.
2614 * string/memccpy.c (__memccpy): Likewise.
2615 * string/stpcpy.c (__stpcpy): Likewise.
2616 * string/strcmp.c (strcmp): Likewise.
2617 * string/strrchr.c (strrchr): Likewise.
2618 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2619 Likewise.
2620 * sysdeps/mach/hurd/getcwd.c
2621 (_hurd_canonicalize_directory_name_internal): Likewise.
2622 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2623 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2624 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2625 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2626 Likewise, in both definitions.
2627 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2628 definitions.
2629 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2630 64] (__bswap_64): Likewise.
2631 * time/test_time.c (main): Likewise.
2632 * time/tzfile.c (__tzfile_read): Likewise.
2633 (__tzfile_compute): Likewise.
2634 * time/tzset.c (__tzset_parse_tz): Likewise.
2635 (tzset_internal): Likewise.
2636 (compute_change): Likewise.
2637 * wcsmbs/wcscat.c (__wcscat): Likewise.
2638 * wcsmbs/wcschr.c (wcschr): Likewise.
2639 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2640 * wcsmbs/wcscspn.c (wcscspn): Likewise.
2641 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2642 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2643 * wcsmbs/wcsspn.c (wcsspn): Likewise.
2644 * wcsmbs/wcsstr.c (wcsstr): Likewise.
2645 * wcsmbs/wmemchr.c (wmemchr): Likewise.
2646 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2647 * wcsmbs/wmemset.c (wmemset): Likewise.
2648
9e54314b
JM
26492013-06-06 Joseph Myers <joseph@codesourcery.com>
2650
2651 * scripts/config.guess: Update to version 2013-05-16.
2652 * scripts/config.sub: Update to version 2013-04-24.
2653 * scripts/install-sh: Update to version 2011-11-20.07.
2654 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2655 * scripts/move-if-change: Update to version 2012-01-06 07:23.
2656
350635a5
OB
26572013-06-06 Ondřej Bílka <neleai@seznam.cz>
2658
2659 * debug/fgetws_u_chk.c: Fix leading whitespaces.
2660 * elf/sln.c: Likewise.
2661 * hurd/hurd/ioctl.h: Likewise.
2662 * hurd/hurdmalloc.c: Likewise.
2663 * hurd/xattr.c: Likewise.
2664 * include/shlib-compat.h: Likewise.
2665 * inet/ruserpass.c: Likewise.
2666 * libio/iofgets_u.c: Likewise.
2667 * libio/iofgetws_u.c: Likewise.
2668 * locale/programs/ld-identification.c: Likewise.
2669 * locale/programs/ld-time.c: Likewise.
2670 * mach/msg-destroy.c: Likewise.
2671 * nss/nss_files/files-netgrp.c: Likewise.
2672 * resolv/res_data.c: Likewise.
2673 * soft-fp/op-1.h: Likewise.
2674 * soft-fp/op-2.h: Likewise.
2675 * soft-fp/op-4.h: Likewise.
2676 * soft-fp/op-common.h: Likewise.
2677 * stdio-common/printf_fphex.c: Likewise.
2678 * stdlib/strtod_l.c: Likewise.
2679 * sunrpc/rpc/clnt.h: Likewise.
2680 * sysdeps/generic/framestate.c: Likewise.
2681 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2682 * sysdeps/i386/bsd-setjmp.S: Likewise.
2683 * sysdeps/i386/__longjmp.S: Likewise.
2684 * sysdeps/i386/setjmp.S: Likewise.
2685 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2686 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2687 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2688 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2690 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2693 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2694 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2695 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2696 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2697 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2698 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2699 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2700 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2701 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2702 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2703 * sysdeps/ieee754/support.c: Likewise.
2704 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2705 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2706 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2707 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2708 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2709 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2710 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2711 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2712 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2713 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2714 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2715 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2716 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2717 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2718 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2719 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2720 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2722
44a988af
OB
27232013-06-05 Ondřej Bílka <neleai@seznam.cz>
2724
25506f09 2725 * posix/transbug.c: Remove executable mode.
44a988af 2726
9c84384c
JM
27272013-06-05 Joseph Myers <joseph@codesourcery.com>
2728
2729 * crypt/speeds.c: Remove trailing whitespace.
2730 * dlfcn/default.c: Likewise.
2731 * elf/ifuncdep2.c: Likewise.
2732 * elf/ifuncmain1.c: Likewise.
2733 * elf/ifuncmain1vis.c: Likewise.
2734 * elf/testobj.h: Likewise.
2735 * elf/tst-stackguard1.c: Likewise.
2736 * gmon/sys/gmon.h: Likewise.
2737 * hurd/hurdmsg.c: Likewise.
2738 * hurd/new-fd.c: Likewise.
2739 * hurd/ports-get.c: Likewise.
2740 * iconvdata/ibm1008_420.c: Likewise.
2741 * inet/tst-getni1.c: Likewise.
2742 * inet/tst-getni2.c: Likewise.
2743 * libio/ioungetc.c: Likewise.
2744 * libio/wfiledoalloc.c: Likewise.
2745 * manual/libm-err-tab.pl: Likewise.
2746 * math/w_dremf.c: Likewise.
2747 * misc/ftruncate.c: Likewise.
2748 * posix/bug-glob2.c: Likewise.
2749 * posix/tst-pcre.c: Likewise.
2750 * posix/wait4.c: Likewise.
2751 * resolv/README: Likewise.
2752 * resolv/res_debug.h: Likewise.
2753 * resolv/tst-inet_ntop.c: Likewise.
2754 * setjmp/bug269-setjmp.c: Likewise.
2755 * soft-fp/extended.h: Likewise.
2756 * soft-fp/op-1.h: Likewise.
2757 * soft-fp/op-2.h: Likewise.
2758 * soft-fp/op-4.h: Likewise.
2759 * soft-fp/op-8.h: Likewise.
2760 * soft-fp/testit.c: Likewise.
2761 * stdio-common/bug16.c: Likewise.
2762 * stdlib/random.c: Likewise.
2763 * sunrpc/rpcsvc/rquota.x: Likewise.
2764 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2765 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2766 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2767 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2768 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2769 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2770 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2771 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2772 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2773 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2774 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2775 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2776 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2777 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2778 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2779 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2780 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2781 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2782 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2783 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2784 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2785 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2786 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2787 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2788 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2789 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2790 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2791 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2793 * sysdeps/ieee754/s_lib_version.c: Likewise.
2794 * sysdeps/mach/hurd/check_fds.c: Likewise.
2795 * sysdeps/mach/hurd/getsockname.c: Likewise.
2796 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2797 * sysdeps/mach/hurd/recvfrom.c: Likewise.
2798 * sysdeps/powerpc/bits/link.h: Likewise.
2799 * sysdeps/powerpc/dl-procinfo.c: Likewise.
2800 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2801 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2802 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2803 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2804 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2805 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2806 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2807 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2808 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2809 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2810 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2811 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2812 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2813 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2814 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2815 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2816 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2818 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2819 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2820 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2821 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2822 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2823 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2824 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2825 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2826 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2827 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2828 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2829 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2830 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2831 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2832 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2833 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2834 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2835 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2836 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2837 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2838 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2839 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2840 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2841 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2842 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2843 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2844 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2845 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2846 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2847 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2848 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2849 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2850 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2851 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2852 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2853 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2854 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2855 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2856 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2857 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2858 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2859 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2860 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2861 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2862 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2863 * sysdeps/powerpc/sysdep.h: Likewise.
2864 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2865 * sysdeps/s390/s390-64/sub_n.S: Likewise.
2866 * sysdeps/sh/dl-trampoline.S: Likewise.
2867 * sysdeps/sh/memset.S: Likewise.
2868 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2869 * sysdeps/sh/strlen.S: Likewise.
2870 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2871 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2872 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2873 * sysdeps/sparc/sparc32/rem.S: Likewise.
2874 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2875 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2876 * sysdeps/sparc/sparc32/strchr.S: Likewise.
2877 * sysdeps/sparc/sparc32/udiv.S: Likewise.
2878 * sysdeps/sparc/sparc32/urem.S: Likewise.
2879 * sysdeps/sparc/sparc64/add_n.S: Likewise.
2880 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2881 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2882 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2883 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2884 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2885 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2886 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2887 * sysdeps/unix/bsd/times.c: Likewise.
2888 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2889 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2893 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2894 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2895 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2896 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2897 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2898 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2899 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2900 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2901 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2902 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2903 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2904 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2905 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2906 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2907 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2908 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2909 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2910 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2911 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2912 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2913 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2914 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2915 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2916 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2917 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2918 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2919 * sysdeps/x86_64/strcspn.S: Likewise.
2920
869378a5
RA
29212013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2922
2923 * locale/C-translit.h: Revert #include <stdint.h> because this is a
2924 generated file. Regenerate properly from gen-translit.pl.
2925 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
2926 locale/C-translit.h.
2927
840e2943
AS
29282013-06-05 Andreas Schwab <schwab@suse.de>
2929
2930 [BZ #15100]
2931 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2932 week as 6 instead of -1.
2933 * time/tst-strptime.c (day_tests): Add test case.
2934
4c60cb0c
SP
29352013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2936
2937 * sysdeps/generic/math_private.h
2938 (libc_feholdexcept_setround_53bit): Replace with
2939 libc_feholdsetround_53bit.
2940 (libc_feupdateenv_53bit): Replace with
2941 libc_feresetround_53bit.
2942 (SET_RESTORE_ROUND_53BIT): Adjust.
2943
d180203e
SP
29442013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2945
96df079a
SP
2946 * string/test-strchrnul.c: Add copyright header.
2947
d180203e
SP
2948 * posix/tst-getaddrinfo4.c: Increase test timeout.
2949
8b0ccb2d
CD
29502013-06-03 Carlos O'Donell <carlos@redhat.com>
2951
2952 [BZ #15536]
2953 * math/libm-test.inc (MAX_EXP): Remove
2954 (MIN_EXP): Define.
2955 (ulp): Use MIN_EXP - MANT_DIG.
2956 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2957
3b3c4d40
CD
29582013-05-31 Carlos O'Donell <carlos@redhat.com>
2959
2960 * po/be.po: Revert last change.
2961 * po/zh_CN.po: Likewise.
2962 * po/header.pot: Likewise.
2963
fab7ce3f
JM
29642013-05-31 Joseph Myers <joseph@codesourcery.com>
2965
2966 * Makefile ($(common-objpfx)linkobj/libc.so): Define
2967 link-libc-deps to empty as target-specific variable.
2968 * Makerules (link-libc-args): New variable.
2969 (libc-for-link): Likewise.
2970 (link-libc-deps): Likewise.
2971 (lib%.so): Depend on $(link-libc-deps). Link with
2972 $(link-libc-args).
2973 (build-module): Link with $(link-libc-args).
2974 (build-module-asneeded): Likewise.
2975 (build-module-helper-objlist): Filter out $(link-libc-deps) from
2976 list of objects.
2977 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2978 target-specific variable.
2979 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2980 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2981 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2982 libc.
2983 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2984 libc and ld.so.
2985 ($(objpfx)libpcprofile.so): Likewise.
2986 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2987 libc_nonshared.a.
2988 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2989 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2990 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2991 $(link-libc-deps).
2992 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2993 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2994 * login/Makefile ($(objpfx)libutil.so): Likewise.
2995 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2996 * math/Makefile ($(objpfx)libm.so): Likewise.
2997 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2998 $(objpfx)libnsl.so): Define libc-for-link as target-specific
2999 variable instead of depending directly on libc.
3000 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3001 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3002 $(link-libc-deps).
3003 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3004 libc.
3005 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3006 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3007 ($(objpfx)libanl.so): Likewise.
3008 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3009 ld.so.
3010 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3011 $(link-libc-deps).
3012 * sysdeps/i386/fpu/Makefile: Remove file.
3013 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3014 ($(objpfx)libm.so): Remove dependency on ld.so.
3015
eca5920c
PF
30162013-05-30 Patsy Franklin <pfrankli@redhat.com>
3017
3018 [BZ # 15553]
3019 * nis/yp_xdr.c (XDRMAXNAME): Define.
3020 (XDRMAXRECORD): Define.
3021 (xdr_domainname): Use XDRMAXNAME.
3022 (xdr_mapname): Likewise.
3023 (xdr_peername): Likewise.
3024 (xdr_keydat): Use XDRMAXRECORD.
3025 (xdr_valdat): Likewise.
3026
30272013-05-30 Jeff Law <law@redhat.com>
96945714
JL
3028
3029 [BZ #14256]
3030 * manual/errno.texi (ESTALE): Update to account for more than
3031 just NFS file systems.
3032 * sysdeps/gnu/errlist.c: Regenerated.
3033
b9375348
SP
30342013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3035
3036 [BZ #15465]
3037 * elf/Makefile (tests): Add tst-null-argv.
3038 (modules-names): Add tst-null-argv-lib.
3039 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3040 (tst-null-argv-ENV): Set environment for tst-null-argv.
3041 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3042 (RTLD_PROGNAME): New macro.
3043 * elf/tst-null-argv.c: New test case.
3044 * elf/tst-null-argv-lib.c: Library for test case.
3045 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3046 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3047 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3048 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3049 * elf/dl-init.c (call_init): Likewise.
3050 (_dl_init): Likewise.
3051 * elf/dl-load.c (print_search_path): Likewise.
3052 (_dl_map_object): Likewise.
3053 * elf/dl-lookup.c (do_lookup_x): Likewise.
3054 (add_dependency): Likewise.
3055 (_dl_lookup_symbol_x): Likewise.
3056 (_dl_debug_bindings): Likewise.
3057 * elf/dl-open.c (_dl_show_scope): Likewise.
3058 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3059 * elf/dl-version.c (match_symbol): Likewise.
3060 (_dl_check_map_versions): Likewise.
3061 * elf/rtld.c (dl_main): Likewise.
3062 (print_unresolved): Use RTLD_PROGNAME.
3063 (print_missing_version): Likewise.
3064 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3065 (elf_machine_rela): Likewise.
3066 * sysdeps/powerpc/powerpc32/dl-machine.c
3067 (__process_machine_rela): Likewise.
3068 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3069 Likewise.
3070 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3071 Likewise.
3072 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3073 Likewise.
3074 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3075 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3076 Likewise.
3077 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3078 Likewise.
3079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3080
8a9f20c8
CD
30812013-05-28 Carlos O'Donell <carlos@redhat.com>
3082
3083 * po/be.po: Add descriptive title.
3084 * po/zh_CN.po: Likewise.
3085 * po/header.pot: Likewise.
3086
0e60d68e
MF
30872013-05-28 Mike Frysinger <vapier@gentoo.org>
3088
3089 * locale/programs/locarchive.c (create_archive): Inlucde fname in
3090 error message.
3091 (enlarge_archive): Likewise.
3092
56b672e9
BN
30932013-05-28 Ben North <ben@redfrontdoor.org>
3094
3095 * manual/arith.texi (frexp): It is the magnitude of the return
3096 value which lies in [0.5, 1), not the return value itself.
3097
5e056687
AZ
30982013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3099
3100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3101
2b66ef5d
TS
31022013-05-26 Thomas Schwinge <thomas@codesourcery.com>
3103
528c2405
TS
3104 * stdio-common/bug26.c (main): Correct fscanf template.
3105
07b4c13d
TS
3106 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3107 declare _dl_skip_args.
3108
ec9dd97c
TS
3109 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3110 Don't declare.
3111
2b66ef5d
TS
3112 * manual/platform.texi: Add missing @end deftypefun.
3113
4f8dfe27
JM
31142013-05-24 Joseph Myers <joseph@codesourcery.com>
3115
0323d086
JM
3116 [BZ #15529]
3117 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3118 bit of mantissa of 2^16382.
3119 * math/libm-test.inc (hypot_test_data): Add more tests.
3120
dd4259b9
JM
3121 * math/libm-test.inc: Add drem and pow10 to list of tested
3122 functions.
3123 (pow10_test): New function.
3124 (drem_test): Likewise.
3125 (drem_test_tonearest): Likewise.
3126 (drem_test_towardzero): Likewise.
3127 (drem_test_downward): Likewise.
3128 (drem_test_upward): Likewise.
3129 (main): Call the new functions.
3130
4f8dfe27
JM
3131 * math/libm-test.inc (finite_test_data): Remove.
3132 (finite_test): Run tests from isfinite_test_data.
3133 (gamma_test_data): Remove.
3134 (gamma_test): Run tests from lgamma_test_data.
3135 * sysdeps/i386/fpu/libm-test-ulps: Update.
3136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3137
d116b7c4
AZ
31382013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3139
3140 * manual/platform.texi: Add PowerPC PPR function set documentation.
3141 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3142 implementation.
3143
e96e3767
CD
31442013-05-24 Carlos O'Donell <carlos@redhat.com>
3145
3146 * math/libm-test.inc (MAX_EXP): Define.
3147 (ULPDIFF): Define.
3148 (ulp): New function.
3149 (check_float_internal): Use ULPDIFF.
3150 (cpow_test): Disable failing test.
3151 (check_ulp): Test ulp() implemetnation.
3152 (main): Call check_ulp before starting tests.
3153
b679a606
JM
31542013-05-24 Joseph Myers <joseph@codesourcery.com>
3155
e8bdba36
JM
3156 * math/gen-libm-test.pl (generate_testfile): Do not handle
3157 START_DATA and END_DATA.
3158 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3159 END_DATA.
3160 (acos_tonearest_test_data): Likewise.
3161 (acos_towardzero_test_data): Likewise.
3162 (acos_downward_test_data): Likewise.
3163 (acos_upward_test_data): Likewise.
3164 (acosh_test_data): Likewise.
3165 (asin_test_data): Likewise.
3166 (asin_tonearest_test_data): Likewise.
3167 (asin_towardzero_test_data): Likewise.
3168 (asin_downward_test_data): Likewise.
3169 (asin_upward_test_data): Likewise.
3170 (asinh_test_data): Likewise.
3171 (atan_test_data): Likewise.
3172 (atanh_test_data): Likewise.
3173 (atan2_test_data): Likewise.
3174 (cabs_test_data): Likewise.
3175 (cacos_test_data): Likewise.
3176 (cacosh_test_data): Likewise.
3177 (carg_test_data): Likewise.
3178 (casin_test_data): Likewise.
3179 (casinh_test_data): Likewise.
3180 (catan_test_data): Likewise.
3181 (catanh_test_data): Likewise.
3182 (cbrt_test_data): Likewise.
3183 (ccos_test_data): Likewise.
3184 (ccosh_test_data): Likewise.
3185 (ceil_test_data): Likewise.
3186 (cexp_test_data): Likewise.
3187 (cimag_test_data): Likewise.
3188 (clog_test_data): Likewise.
3189 (clog10_test_data): Likewise.
3190 (conj_test_data): Likewise.
3191 (copysign_test_data): Likewise.
3192 (cos_test_data): Likewise.
3193 (cos_tonearest_test_data): Likewise.
3194 (cos_towardzero_test_data): Likewise.
3195 (cos_downward_test_data): Likewise.
3196 (cos_upward_test_data): Likewise.
3197 (cosh_test_data): Likewise.
3198 (cosh_tonearest_test_data): Likewise.
3199 (cosh_towardzero_test_data): Likewise.
3200 (cosh_downward_test_data): Likewise.
3201 (cosh_upward_test_data): Likewise.
3202 (cpow_test_data): Likewise.
3203 (cproj_test_data): Likewise.
3204 (creal_test_data): Likewise.
3205 (csin_test_data): Likewise.
3206 (csinh_test_data): Likewise.
3207 (csqrt_test_data): Likewise.
3208 (ctan_test_data): Likewise.
3209 (ctan_tonearest_test_data): Likewise.
3210 (ctan_towardzero_test_data): Likewise.
3211 (ctan_downward_test_data): Likewise.
3212 (ctan_upward_test_data): Likewise.
3213 (ctanh_test_data): Likewise.
3214 (ctanh_tonearest_test_data): Likewise.
3215 (ctanh_towardzero_test_data): Likewise.
3216 (ctanh_downward_test_data): Likewise.
3217 (ctanh_upward_test_data): Likewise.
3218 (erf_test_data): Likewise.
3219 (erfc_test_data): Likewise.
3220 (exp_test_data): Likewise.
3221 (exp_tonearest_test_data): Likewise.
3222 (exp_towardzero_test_data): Likewise.
3223 (exp_downward_test_data): Likewise.
3224 (exp_upward_test_data): Likewise.
3225 (exp10_test_data): Likewise.
3226 (exp2_test_data): Likewise.
3227 (expm1_test_data): Likewise.
3228 (fabs_test_data): Likewise.
3229 (fdim_test_data): Likewise.
3230 (finite_test_data): Likewise.
3231 (floor_test_data): Likewise.
3232 (fma_test_data): Likewise.
3233 (fma_towardzero_test_data): Likewise.
3234 (fma_downward_test_data): Likewise.
3235 (fma_upward_test_data): Likewise.
3236 (fmax_test_data): Likewise.
3237 (fmin_test_data): Likewise.
3238 (fmod_test_data): Likewise.
3239 (fpclassify_test_data): Likewise.
3240 (frexp_test_data): Likewise.
3241 (gamma_test_data): Likewise.
3242 (hypot_test_data): Likewise.
3243 (ilogb_test_data): Likewise.
3244 (isfinite_test_data): Likewise.
3245 (isgreater_test_data): Likewise.
3246 (isgreaterequal_test_data): Likewise.
3247 (isinf_test_data): Likewise.
3248 (isless_test_data): Likewise.
3249 (islessequal_test_data): Likewise.
3250 (islessgreater_test_data): Likewise.
3251 (isnan_test_data): Likewise.
3252 (isnormal_test_data): Likewise.
3253 (issignaling_test_data): Likewise.
3254 (isunordered_test_data): Likewise.
3255 (j0_test_data): Likewise.
3256 (j1_test_data): Likewise.
3257 (jn_test_data): Likewise.
3258 (ldexp_test_data): Likewise.
3259 (lgamma_test_data): Likewise.
3260 (lrint_test_data): Likewise.
3261 (lrint_tonearest_test_data): Likewise.
3262 (lrint_towardzero_test_data): Likewise.
3263 (lrint_downward_test_data): Likewise.
3264 (lrint_upward_test_data): Likewise.
3265 (llrint_test_data): Likewise.
3266 (llrint_tonearest_test_data): Likewise.
3267 (llrint_towardzero_test_data): Likewise.
3268 (llrint_downward_test_data): Likewise.
3269 (llrint_upward_test_data): Likewise.
3270 (log_test_data): Likewise.
3271 (log10_test_data): Likewise.
3272 (log1p_test_data): Likewise.
3273 (log2_test_data): Likewise.
3274 (logb_test_data): Likewise.
3275 (logb_downward_test_data): Likewise.
3276 (lround_test_data): Likewise.
3277 (llround_test_data): Likewise.
3278 (modf_test_data): Likewise.
3279 (nearbyint_test_data): Likewise.
3280 (nextafter_test_data): Likewise.
3281 (nexttoward_test_data): Likewise.
3282 (pow_test_data): Likewise.
3283 (pow_tonearest_test_data): Likewise.
3284 (pow_towardzero_test_data): Likewise.
3285 (pow_downward_test_data): Likewise.
3286 (pow_upward_test_data): Likewise.
3287 (remainder_test_data): Likewise.
3288 (remainder_tonearest_test_data): Likewise.
3289 (remainder_towardzero_test_data): Likewise.
3290 (remainder_downward_test_data): Likewise.
3291 (remainder_upward_test_data): Likewise.
3292 (remquo_test_data): Likewise.
3293 (rint_test_data): Likewise.
3294 (rint_tonearest_test_data): Likewise.
3295 (rint_towardzero_test_data): Likewise.
3296 (rint_downward_test_data): Likewise.
3297 (rint_upward_test_data): Likewise.
3298 (round_test_data): Likewise.
3299 (scalb_test_data): Likewise.
3300 (scalbn_test_data): Likewise.
3301 (scalbln_test_data): Likewise.
3302 (signbit_test_data): Likewise.
3303 (sin_test_data): Likewise.
3304 (sin_tonearest_test_data): Likewise.
3305 (sin_towardzero_test_data): Likewise.
3306 (sin_downward_test_data): Likewise.
3307 (sin_upward_test_data): Likewise.
3308 (sincos_test_data): Likewise.
3309 (sinh_test_data): Likewise.
3310 (sinh_tonearest_test_data): Likewise.
3311 (sinh_towardzero_test_data): Likewise.
3312 (sinh_downward_test_data): Likewise.
3313 (sinh_upward_test_data): Likewise.
3314 (sqrt_test_data): Likewise.
3315 (tan_test_data): Likewise.
3316 (tan_tonearest_test_data): Likewise.
3317 (tan_towardzero_test_data): Likewise.
3318 (tan_downward_test_data): Likewise.
3319 (tan_upward_test_data): Likewise.
3320 (tanh_test_data): Likewise.
3321 (tgamma_test_data): Likewise.
3322 (trunc_test_data): Likewise.
3323 (y0_test_data): Likewise.
3324 (y1_test_data): Likewise.
3325 (yn_test_data): Likewise.
3326 (significand_test_data): Likewise.
3327
b679a606
JM
3328 * math/gen-libm-test.pl (@functions): Remove variable.
3329 (generate_testfile): Don't handle START and END lines.
3330 * math/libm-test.inc (START): New macro.
3331 (END): Likewise.
3332 (END_COMPLEX): Likewise.
3333 (acos_test): Use END macro without arguments.
3334 (acos_test_tonearest): Likewise.
3335 (acos_test_towardzero): Likewise.
3336 (acos_test_downward): Likewise.
3337 (acos_test_upward): Likewise.
3338 (acosh_test): Likewise.
3339 (asin_test): Likewise.
3340 (asin_test_tonearest): Likewise.
3341 (asin_test_towardzero): Likewise.
3342 (asin_test_downward): Likewise.
3343 (asin_test_upward): Likewise.
3344 (asinh_test): Likewise.
3345 (atan_test): Likewise.
3346 (atanh_test): Likewise.
3347 (atan2_test): Likewise.
3348 (cabs_test): Likewise.
3349 (cacos_test): Use END_COMPLEX macro without arguments.
3350 (cacosh_test): Likewise.
3351 (carg_test): Use END macro without arguments.
3352 (casin_test): Use END_COMPLEX macro without arguments.
3353 (casinh_test): Likewise.
3354 (catan_test): Likewise.
3355 (catanh_test): Likewise.
3356 (cbrt_test): Use END macro without arguments.
3357 (ccos_test): Use END_COMPLEX macro without arguments.
3358 (ccosh_test): Likewise.
3359 (ceil_test): Use END macro without arguments.
3360 (cexp_test): Use END_COMPLEX macro without arguments.
3361 (cimag_test): Use END macro without arguments.
3362 (clog_test): Use END_COMPLEX macro without arguments.
3363 (clog10_test): Likewise.
3364 (conj_test): Likewise.
3365 (copysign_test): Use END macro without arguments.
3366 (cos_test): Likewise.
3367 (cos_test_tonearest): Likewise.
3368 (cos_test_towardzero): Likewise.
3369 (cos_test_downward): Likewise.
3370 (cos_test_upward): Likewise.
3371 (cosh_test): Likewise.
3372 (cosh_test_tonearest): Likewise.
3373 (cosh_test_towardzero): Likewise.
3374 (cosh_test_downward): Likewise.
3375 (cosh_test_upward): Likewise.
3376 (cpow_test): Use END_COMPLEX macro without arguments.
3377 (cproj_test): Likewise.
3378 (creal_test): Use END macro without arguments.
3379 (csin_test): Use END_COMPLEX macro without arguments.
3380 (csinh_test): Likewise.
3381 (csqrt_test): Likewise.
3382 (ctan_test): Likewise.
3383 (ctan_test_tonearest): Likewise.
3384 (ctan_test_towardzero): Likewise.
3385 (ctan_test_downward): Likewise.
3386 (ctan_test_upward): Likewise.
3387 (ctanh_test): Likewise.
3388 (ctanh_test_tonearest): Likewise.
3389 (ctanh_test_towardzero): Likewise.
3390 (ctanh_test_downward): Likewise.
3391 (ctanh_test_upward): Likewise.
3392 (erf_test): Use END macro without arguments.
3393 (erfc_test): Likewise.
3394 (exp_test): Likewise.
3395 (exp_test_tonearest): Likewise.
3396 (exp_test_towardzero): Likewise.
3397 (exp_test_downward): Likewise.
3398 (exp_test_upward): Likewise.
3399 (exp10_test): Likewise.
3400 (exp2_test): Likewise.
3401 (expm1_test): Likewise.
3402 (fabs_test): Likewise.
3403 (fdim_test): Likewise.
3404 (finite_test): Likewise.
3405 (floor_test): Likewise.
3406 (fma_test): Likewise.
3407 (fma_test_towardzero): Likewise.
3408 (fma_test_downward): Likewise.
3409 (fma_test_upward): Likewise.
3410 (fmax_test): Likewise.
3411 (fmin_test): Likewise.
3412 (fmod_test): Likewise.
3413 (fpclassify_test): Likewise.
3414 (frexp_test): Likewise.
3415 (gamma_test): Likewise.
3416 (hypot_test): Likewise.
3417 (ilogb_test): Likewise.
3418 (isfinite_test): Likewise.
3419 (isgreater_test): Likewise.
3420 (isgreaterequal_test): Likewise.
3421 (isinf_test): Likewise.
3422 (isless_test): Likewise.
3423 (islessequal_test): Likewise.
3424 (islessgreater_test): Likewise.
3425 (isnan_test): Likewise.
3426 (isnormal_test): Likewise.
3427 (issignaling_test): Likewise.
3428 (isunordered_test): Likewise.
3429 (j0_test): Likewise.
3430 (j1_test): Likewise.
3431 (jn_test): Likewise.
3432 (ldexp_test): Likewise.
3433 (lgamma_test): Likewise.
3434 (lrint_test): Likewise.
3435 (lrint_test_tonearest): Likewise.
3436 (lrint_test_towardzero): Likewise.
3437 (lrint_test_downward): Likewise.
3438 (lrint_test_upward): Likewise.
3439 (llrint_test): Likewise.
3440 (llrint_test_tonearest): Likewise.
3441 (llrint_test_towardzero): Likewise.
3442 (llrint_test_downward): Likewise.
3443 (llrint_test_upward): Likewise.
3444 (log_test): Likewise.
3445 (log10_test): Likewise.
3446 (log1p_test): Likewise.
3447 (log2_test): Likewise.
3448 (logb_test): Likewise.
3449 (logb_test_downward): Likewise.
3450 (lround_test): Likewise.
3451 (llround_test): Likewise.
3452 (modf_test): Likewise.
3453 (nearbyint_test): Likewise.
3454 (nextafter_test): Likewise.
3455 (nexttoward_test): Likewise.
3456 (pow_test): Likewise.
3457 (pow_test_tonearest): Likewise.
3458 (pow_test_towardzero): Likewise.
3459 (pow_test_downward): Likewise.
3460 (pow_test_upward): Likewise.
3461 (remainder_test): Likewise.
3462 (remainder_test_tonearest): Likewise.
3463 (remainder_test_towardzero): Likewise.
3464 (remainder_test_downward): Likewise.
3465 (remainder_test_upward): Likewise.
3466 (remquo_test): Likewise.
3467 (rint_test): Likewise.
3468 (rint_test_tonearest): Likewise.
3469 (rint_test_towardzero): Likewise.
3470 (rint_test_downward): Likewise.
3471 (rint_test_upward): Likewise.
3472 (round_test): Likewise.
3473 (scalb_test): Likewise.
3474 (scalbn_test): Likewise.
3475 (scalbln_test): Likewise.
3476 (signbit_test): Likewise.
3477 (sin_test): Likewise.
3478 (sin_test_tonearest): Likewise.
3479 (sin_test_towardzero): Likewise.
3480 (sin_test_downward): Likewise.
3481 (sin_test_upward): Likewise.
3482 (sincos_test): Likewise.
3483 (sinh_test): Likewise.
3484 (sinh_test_tonearest): Likewise.
3485 (sinh_test_towardzero): Likewise.
3486 (sinh_test_downward): Likewise.
3487 (sinh_test_upward): Likewise.
3488 (sqrt_test): Likewise.
3489 (tan_test): Likewise.
3490 (tan_test_tonearest): Likewise.
3491 (tan_test_towardzero): Likewise.
3492 (tan_test_downward): Likewise.
3493 (tan_test_upward): Likewise.
3494 (tanh_test): Likewise.
3495 (tgamma_test): Likewise.
3496 (trunc_test): Likewise.
3497 (y0_test): Likewise.
3498 (y1_test): Likewise.
3499 (yn_test): Likewise.
3500 (significand_test): Likewise.
3501
bae143d2
OB
35022013-05-24 Ondřej Bílka <neleai@seznam.cz>
3503
3504 [BZ #15381]
3505 * libio/genops.c (_IO_no_init): Initialize wide struct info.
3506
9323d39b
EM
35072013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
3508
d4ea44a0 3509 [BZ #14894]
9323d39b
EM
3510 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3511 __ppc_mdoio and __ppc_mdoom.
3512 * manual/platform.texi: Document new functions __ppc_yield,
3513 __ppc_mdoio and __ppc_mdoom.
3514
13e23af7
CD
35152013-05-22 Carlos O'Donell <carlos@redhat.com>
3516
3517 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3518 (main): Mention "tls" pseudo-hwcap is legacy.
3519 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3520
351fe550
JM
35212013-05-22 Joseph Myers <joseph@codesourcery.com>
3522
3523 * math/gen-libm-test.pl (parse_args): Output only string of
3524 arguments as text for test name, not full call or descriptions of
3525 tests for extra outputs.
3526 (generate_testfile): Do not pass function name to parse_args.
3527 Generate this_func variable from START.
3528 * math/libm-test.inc (struct test_f_f_data): Rename test_name
3529 field to arg_str.
3530 (struct test_ff_f_data): Likewise.
3531 (test_ff_f_data_nexttoward): Likewise.
3532 (struct test_fi_f_data): Likewise.
3533 (struct test_fl_f_data): Likewise.
3534 (struct test_if_f_data): Likewise.
3535 (struct test_fff_f_data): Likewise.
3536 (struct test_c_f_data): Likewise.
3537 (struct test_f_f1_data): Likewise. Remove field extra_name.
3538 (struct test_fF_f1_data): Likewise.
3539 (struct test_ffI_f1_data): Likewise.
3540 (struct test_c_c_data): Rename test_name field to arg_str.
3541 (struct test_cc_c_data): Likewise.
3542 (struct test_f_i_data): Likewise.
3543 (struct test_ff_i_data): Likewise.
3544 (struct test_f_l_data): Likewise.
3545 (struct test_f_L_data): Likewise.
3546 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
3547 and extra2_name.
3548 (COMMON_TEST_SETUP): New macro.
3549 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3550 (COMMON_TEST_CLEANUP): Likewise.
3551 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3552 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
3553 macros.
3554 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3555 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
3556 macros.
3557 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3558 (RUN_TEST_fff_f): Take argument string. Call new setup and
3559 cleanup macros.
3560 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3561 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
3562 macros.
3563 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3564 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
3565 macros.
3566 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3567 (RUN_TEST_fF_f1): Take argument string. Call new setup and
3568 cleanup macros.
3569 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3570 (RUN_TEST_fI_f1): Take argument string. Call new setup and
3571 cleanup macros.
3572 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3573 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
3574 cleanup macros.
3575 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3576 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
3577 macros.
3578 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3579 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
3580 macros.
3581 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3582 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
3583 macros.
3584 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3585 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
3586 cleanup macros.
3587 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3588 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
3589 cleanup macros.
3590 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3591 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
3592 macros.
3593 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3594 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
3595 cleanup macros.
3596 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3597 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
3598 macros.
3599 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3600 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
3601 macros.
3602 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3603 (RUN_TEST_fFF_11): Take argument string. Call new setup and
3604 cleanup macros.
3605 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3606
85118d4d
EBM
36072013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3608
3609 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3610 to _sifields.sigfault.
3611 (si_addr_lsb): Define new macro.
3612 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3614 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3615
7a44c18f
CD
36162013-05-03 Carlos O'Donell <carlos at redhat.com>
3617
3618 [BZ #15441]
3619 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3620 returns -1.
3621 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3622 null return -1.
3623 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3624 loading the domain.
3625
b50a7181
JM
36262013-05-22 Joseph Myers <joseph@codesourcery.com>
3627
3628 * math/gen-libm-test.pl (parse_args): Do not include expected
3629 result in test name.
3630 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3631 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3632 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3633 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3634 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3636
051063c8
SP
36372013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3638
3ce9e010
SP
3639 * benchtests/Makefile: Sort function entries.
3640
051063c8
SP
3641 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3642 tanh, asinh, acosh, atanh.
3643 * benchtests/acos-inputs: New file.
3644 * benchtests/acosh-inputs: New file.
3645 * benchtests/asin-inputs: New file.
3646 * benchtests/asinh-inputs: New file.
3647 * benchtests/atanh-inputs: New file.
3648 * benchtests/cosh-inputs: New file.
3649 * benchtests/log-inputs: New file.
3650 * benchtests/sinh-inputs: New file.
3651 * benchtests/tanh-inputs: New file.
3652
47c22455
DL
36532013-05-21 Dmitry V. Levin <ldv@altlinux.org>
3654
3655 [BZ #15339]
3656 * posix/tst-getaddrinfo4.c: New test.
3657 * posix/Makefile (tests): Add it.
3658
3d04f5db
SP
36592013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3660
3661 [BZ #15339]
3662 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3663 when no services were used.
3664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3665 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3666
d5dd6189
AS
36672013-05-21 Andreas Schwab <schwab@suse.de>
3668
3669 [BZ #15014]
3670 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3671 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3672 successful.
3673 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3674 redundant variable declarations and reallocation of buffer when
3675 parsing as IPv6 address. Always set NSS status when called from
3676 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
3677 buffer too small. Correct computation of needed size.
3678 * nss/Makefile (tests): Add test-digits-dots.
3679 * nss/test-digits-dots.c: New test.
3680
fef94eab
SP
36812013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3682
3683 * benchtests/Makefile: Remove instructions for adding
3684 benchmark tests.
3685 * benchtests/README: New file to explain how to execute and
3686 enhance the benchmark tests.
3687
e39adf43
AS
36882013-05-21 Andreas Schwab <schwab@suse.de>
3689
3690 [BZ #15493]
3691 * setjmp/Makefile (tests): Add tst-sigsetjmp.
3692 * setjmp/tst-sigsetjmp.c: New test.
3693
b2b671b6
OB
36942013-05-20 Ondřej Bílka <neleai@seznam.cz>
3695
3696 * sysdeps/x86_64/memset.S (memset): New implementation.
3697 (__bzero): Likewise.
3698 (__memset_tail): New function.
3699
2d48b41c
OB
37002013-05-20 Ondřej Bílka <neleai@seznam.cz>
3701
3702 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3703 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3704 __memcpy_sse2_unaligned ifunc selection.
3705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3706 Add memcpy-sse2-unaligned.S.
3707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3708 Add: __memcpy_sse2_unaligned.
3709
f16cc3eb
JM
37102013-05-19 Joseph Myers <joseph@codesourcery.com>
3711
3e694268
JM
3712 [BZ #15490]
3713 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3714 math_force_eval before restoring floating-point envrionment.
3715 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3717 Likewise.
3718 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3719 <math_private.h>.
3720 (__nearbyintl): Use math_force_eval before restoring
3721 floating-point environment.
3722 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3723
db62a907
JM
3724 * math/gen-libm-test.pl (special_functions): Remove.
3725 (parse_args): Don't handle TEST_extra. Handle functions with no
3726 return value.
3727 * math/libm-test.inc (struct test_sincos_data): Replace with
3728 struct test_fFF_11_data.
3729 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3730 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3731 (sincos_test_data): Change element type to struct
3732 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
3733 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3734 RUN_TEST_LOOP_sincos.
3735 * math/README.libm-test: Don't mention special handling of
3736 individual functions.
3737 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3738 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3739 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3740 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3741 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3743
f16cc3eb
JM
3744 * math/gen-libm-test.pl (get_variable): Remove function.
3745 (parse_args): Don't show pointer parameters to call in test
3746 names. Use "extra output N" in test names for extra outputs
3747 rather than naming variables.
3748
3779b5b6
JM
37492013-05-18 Joseph Myers <joseph@codesourcery.com>
3750
2ee094ff
JM
3751 [BZ #15488]
3752 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3753 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3754 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3755 double tests.
3756 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3757 disable.
3758 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3759 check_long_double.
3760
3779b5b6
JM
3761 * math/gen-libm-test.pl (@tests): Remove variable.
3762 ($count): Likewise.
3763 (new_test): Remove function.
3764 (show_exceptions): New function.
3765 (special_functions): Use show_exceptions instead of new_test.
3766 (parse_args): Likewise.
3767 (generate_testfile): Pass only function name in generated call to
3768 print_max_error or print_complex_max_error.
3769 (get_ulps): Do not handle complex tests specially.
3770 (output_test): Rename to ...
3771 (get_all_ulps_for_test): ... this. Return a string rather than
3772 printing to a file. Require ulps to be present.
3773 (output_ulps): Generate arrays rather than #defines.
3774 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3775 (struct ulp_data): New type.
3776 (BUILD_COMPLEX_ULP): Remove macro.
3777 (compare_ulp_data): New function.
3778 (find_ulps): Likewise.
3779 (find_test_ulps): Likewise.
3780 (find_function_ulps): Likewise.
3781 (find_complex_function_ulps): Likewise.
3782 (print_max_error): Determine allowed ulps using
3783 find_function_ulps.
3784 (print_complex_max_error): Determine allowed ulps using
3785 find_complex_function_ulps.
3786 (check_float_internal): Determine max ulps using find_test_ulps.
3787 (check_float): Do not take max_ulp parameter. Update call to
3788 check_float_internal.
3789 (check_complex): Likewise.
3790 (check_int): Do not take max_ulp parameter.
3791 (check_long): Likewise.
3792 (check_bool): Likewise.
3793 (check_longlong): Likewise.
3794 (struct test_f_f_data): Remove max_ulp field.
3795 (struct test_ff_f_data): Likewise.
3796 (struct test_ff_f_data_nexttoward): Likewise.
3797 (struct test_fi_f_data): Likewise.
3798 (struct test_fl_f_data): Likewise.
3799 (struct test_if_f_data): Likewise.
3800 (struct test_fff_f_data): Likewise.
3801 (struct test_c_f_data): Likewise.
3802 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3803 (struct test_fF_f1_data): Likewise.
3804 (struct test_ffI_f1_data): Likewise.
3805 (struct test_c_c_data): Remove max_ulp field.
3806 (struct test_cc_c_data): Likewise.
3807 (struct test_f_i_data): Likewise.
3808 (struct test_ff_i_data): Likewise.
3809 (struct test_f_l_data): Likewise.
3810 (struct test_f_L_data): Likewise.
3811 (struct test_sincos_data): Likewise.
3812 (RUN_TEST_f_f): Do not handle ulps.
3813 (RUN_TEST_LOOP_f_f): Likewise.
3814 (RUN_TEST_2_f): Likewise.
3815 (RUN_TEST_LOOP_2_f): Likewise.
3816 (RUN_TEST_fff_f): Likewise.
3817 (RUN_TEST_LOOP_fff_f): Likewise.
3818 (RUN_TEST_c_f): Likewise.
3819 (RUN_TEST_LOOP_c_f): Likewise.
3820 (RUN_TEST_f_f1): Likewise.
3821 (RUN_TEST_LOOP_f_f1): Likewise.
3822 (RUN_TEST_fF_f1): Likewise.
3823 (RUN_TEST_LOOP_fF_f1): Likewise.
3824 (RUN_TEST_fI_f1): Likewise.
3825 (RUN_TEST_LOOP_fI_f1): Likewise.
3826 (RUN_TEST_ffI_f1): Likewise.
3827 (RUN_TEST_LOOP_ffI_f1): Likewise.
3828 (RUN_TEST_c_c): Likewise.
3829 (RUN_TEST_LOOP_c_c): Likewise.
3830 (RUN_TEST_cc_c): Likewise.
3831 (RUN_TEST_LOOP_cc_c): Likewise.
3832 (RUN_TEST_f_i): Likewise.
3833 (RUN_TEST_LOOP_f_i): Likewise.
3834 (RUN_TEST_f_i_tg): Likewise.
3835 (RUN_TEST_LOOP_f_i_tg): Likewise.
3836 (RUN_TEST_ff_i_tg): Likewise.
3837 (RUN_TEST_LOOP_ff_i_tg): Likewise.
3838 (RUN_TEST_f_b): Likewise.
3839 (RUN_TEST_LOOP_f_b): Likewise.
3840 (RUN_TEST_f_b_tg): Likewise.
3841 (RUN_TEST_LOOP_f_b_tg): Likewise.
3842 (RUN_TEST_f_l): Likewise.
3843 (RUN_TEST_LOOP_f_l): Likewise.
3844 (RUN_TEST_f_L): Likewise.
3845 (RUN_TEST_LOOP_f_L): Likewise.
3846 (RUN_TEST_sincos): Likewise.
3847 (RUN_TEST_LOOP_sincos): Likewise.
3848
8269107f
JM
38492013-05-17 Joseph Myers <joseph@codesourcery.com>
3850
bb38759d
JM
3851 [BZ #15480]
3852 [BZ #15485]
3853 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3854 main case of finite arguments, set rounding mode to FE_TONEAREST
3855 and discard exceptions.
3856 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3857 exceptions.
3858 (remainder_tonearest_test_data): New variable.
3859 (remainder_test_tonearest): New function.
3860 (remainder_towardzero_test_data): New variable.
3861 (remainder_test_towardzero): New function.
3862 (remainder_downward_test_data): New variable.
3863 (remainder_test_downward): New function.
3864 (remainder_upward_test_data): New variable.
3865 (remainder_test_upward): New function.
3866 (main): Call the new test functions.
3867
a00bdcf0
JM
3868 * math/libm-test.inc (struct test_f_f1_data): Remove field
3869 extra_init.
3870 (struct test_fF_f1_data): Likewise.
3871 (struct test_ffI_f1_data): Likewise.
3872 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
3873 based on value of EXTRA_EXPECTED.
3874 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3875 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
3876 EXTRA_VAR based on value of EXTRA_EXPECTED.
3877 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3878 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
3879 EXTRA_VAR based on value of EXTRA_EXPECTED.
3880 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3881 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
3882 EXTRA_VAR based on value of EXTRA_EXPECTED.
3883 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3884 * math/gen-libm-test.pl (parse_args): Don't output initializers
3885 for extra output values.
3886
de407f79
JM
3887 * math/libm-test.inc (check_int): Expect result to be exactly
3888 equal to expected value and do not handle ulps.
3889 (check_long): Likewise.
3890 (check_longlong): Likewise.
3891
8269107f
JM
3892 * math/libm-test.inc (ceil_test_data): Test for "inexact"
3893 exceptions.
3894 (cimag_test_data): Likewise.
3895 (conj_test_data): Likewise.
3896 (copysign_test_data): Likewise.
3897 (cproj_test_data): Likewise.
3898 (creal_test_data): Likewise.
3899 (fabs_test_data): Likewise.
3900 (fdim_test_data): Likewise.
3901 (finite_test_data): Likewise.
3902 (floor_test_data): Likewise.
3903 (fmax_test_data): Likewise.
3904 (fmin_test_data): Likewise.
3905 (fmod_test_data): Likewise.
3906 (fpclassify_test_data): Likewise.
3907 (frexp_test_data): Likewise.
3908 (ilogb_test_data): Likewise.
3909 (isfinite_test_data): Likewise.
3910 (isgreater_test_data): Likewise.
3911 (isgreaterequal_test_data): Likewise.
3912 (isinf_test_data): Likewise.
3913 (isless_test_data): Likewise.
3914 (islessequal_test_data): Likewise.
3915 (islessgreater_test_data): Likewise.
3916 (isnan_test_data): Likewise.
3917 (isnormal_test_data): Likewise.
3918 (issignaling_test_data): Likewise.
3919 (isunordered_test_data): Likewise.
3920 (ldexp_test_data): Likewise.
3921 (lrint_test_data): Likewise.
3922 (lrint_test_data) [TEST_FLOAT]: Disable one test.
3923 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3924 (lrint_tonearest_test_data): Test for "inexact" exceptions.
3925 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3926 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3927 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3928 test input.
3929 (lrint_towardzero_test_data): Test for "inexact" exceptions.
3930 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3931 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3932 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3933 that test input.
3934 (lrint_downward_test_data): Test for "inexact" exceptions.
3935 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3936 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3937 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3938 test input.
3939 (lrint_upward_test_data): Test for "inexact" exceptions.
3940 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3941 test input.
3942 (llrint_test_data): Test for "inexact" exceptions.
3943 (llrint_test_data) [TEST_FLOAT]: Disable one test.
3944 (llrint_tonearest_test_data): Test for "inexact" exceptions.
3945 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3946 (llrint_towardzero_test_data): Test for "inexact" exceptions.
3947 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3948 (llrint_downward_test_data): Test for "inexact" exceptions.
3949 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3950 (llrint_upward_test_data): Test for "inexact" exceptions.
3951 (logb_test_data): Likewise.
3952 (logb_downward_test_data): Likewise.
3953 (nextafter_test_data): Likewise.
3954 (nexttoward_test_data): Likewise.
3955 (remainder_test_data): Likewise.
3956 (remquo_test_data): Likewise.
3957 (scalbn_test_data): Likewise.
3958 (scalbln_test_data): Likewise.
3959 (signbit_test_data): Likewise.
3960 (sqrt_test_data): Likewise.
3961 (significand_test_data): Likewise.
3962
48a18de1
SP
39632013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3964
3965 [BZ #15424]
3966 * benchtests/bench-modf.c (struct args): Mark arg0 as
3967 volatile.
3968 * scripts/bench.pl: Mark members of struct args as volatile.
3969
13d3b41a
AZ
39702013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3971
68191c1d 3972 [BZ # 15497]
13d3b41a
AZ
3973 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3974 negative infinity on POWER6 or lower.
3975 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3976
2848b105
MR
39772013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3978
3979 [BZ #15442]
3980 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3981 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3982 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3983 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3984 (_FP_SETQNAN): New macro.
3985 (_FP_SETQNAN_SEMIRAW): Likewise.
3986 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3987 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3988 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3989 (FP_EXTEND): Use _FP_FRAC_SNANP.
3990 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3991 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3992 into account.
3993 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3994 New macro.
3995 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3996 Likewise.
3997
323e5cb7
JM
39982013-05-16 Joseph Myers <joseph@codesourcery.com>
3999
c58b274f
JM
4000 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4001 with DIVIDE_BY_ZERO_EXCEPTION.
4002 (gamma_test_data): Likewise.
4003 (lgamma_test_data): Likewise.
4004 (log_test_data): Likewise.
4005 (log10_test_data): Likewise.
4006 (log2_test_data): Likewise.
4007 (tgamma_test_data): Likewise.
4008
0ab34904
JM
4009 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4010 (acos_test_tonearest): Likewise.
4011 (acos_test_towardzero): Likewise.
4012 (acos_test_downward): Likewise.
4013 (acos_test_upward): Likewise.
4014 (acosh_test): Likewise.
4015 (asin_test): Likewise.
4016 (asin_test_tonearest): Likewise.
4017 (asin_test_towardzero): Likewise.
4018 (asin_test_downward): Likewise.
4019 (asin_test_upward): Likewise.
4020 (asinh_test): Likewise.
4021 (atan_test): Likewise.
4022 (atanh_test): Likewise.
4023 (atan2_test): Likewise.
4024 (cabs_test): Likewise.
4025 (cacos_test): Likewise.
4026 (cacosh_test): Likewise.
4027 (casin_test): Likewise.
4028 (casinh_test): Likewise.
4029 (catan_test): Likewise.
4030 (catanh_test): Likewise.
4031 (cbrt_test): Likewise.
4032 (ccos_test): Likewise.
4033 (ccosh_test): Likewise.
4034 (cexp_test): Likewise.
4035 (clog_test): Likewise.
4036 (clog10_test): Likewise.
4037 (cos_test): Likewise.
4038 (cos_test_tonearest): Likewise.
4039 (cos_test_towardzero): Likewise.
4040 (cos_test_downward): Likewise.
4041 (cos_test_upward): Likewise.
4042 (cosh_test): Likewise.
4043 (cosh_test_tonearest): Likewise.
4044 (cosh_test_towardzero): Likewise.
4045 (cosh_test_downward): Likewise.
4046 (cosh_test_upward): Likewise.
4047 (cpow_test): Likewise.
4048 (csin_test): Likewise.
4049 (csinh_test): Likewise.
4050 (csqrt_test): Likewise.
4051 (ctan_test): Likewise.
4052 (ctan_test_tonearest): Likewise.
4053 (ctan_test_towardzero): Likewise.
4054 (ctan_test_downward): Likewise.
4055 (ctan_test_upward): Likewise.
4056 (ctanh_test): Likewise.
4057 (ctanh_test_tonearest): Likewise.
4058 (ctanh_test_towardzero): Likewise.
4059 (ctanh_test_downward): Likewise.
4060 (ctanh_test_upward): Likewise.
4061 (erf_test): Likewise.
4062 (erfc_test): Likewise.
4063 (exp_test): Likewise.
4064 (exp_test_tonearest): Likewise.
4065 (exp_test_towardzero): Likewise.
4066 (exp_test_downward): Likewise.
4067 (exp_test_upward): Likewise.
4068 (exp10_test): Likewise.
4069 (exp2_test): Likewise.
4070 (expm1_test): Likewise.
4071 (fmod_test): Likewise.
4072 (gamma_test): Likewise.
4073 (hypot_test): Likewise.
4074 (j0_test): Likewise.
4075 (j1_test): Likewise.
4076 (jn_test): Likewise.
4077 (lgamma_test): Likewise.
4078 (log_test): Likewise.
4079 (log10_test): Likewise.
4080 (log1p_test): Likewise.
4081 (log2_test): Likewise.
4082 (logb_test_downward): Likewise.
4083 (pow_test): Likewise.
4084 (pow_test_tonearest): Likewise.
4085 (pow_test_towardzero): Likewise.
4086 (pow_test_downward): Likewise.
4087 (pow_test_upward): Likewise.
4088 (remainder_test): Likewise.
4089 (remquo_test): Likewise.
4090 (sin_test): Likewise.
4091 (sin_test_tonearest): Likewise.
4092 (sin_test_towardzero): Likewise.
4093 (sin_test_downward): Likewise.
4094 (sin_test_upward): Likewise.
4095 (sincos_test): Likewise.
4096 (sinh_test): Likewise.
4097 (sinh_test_tonearest): Likewise.
4098 (sinh_test_towardzero): Likewise.
4099 (sinh_test_downward): Likewise.
4100 (sinh_test_upward): Likewise.
4101 (sqrt_test): Likewise.
4102 (tan_test): Likewise.
4103 (tan_test_tonearest): Likewise.
4104 (tan_test_towardzero): Likewise.
4105 (tan_test_downward): Likewise.
4106 (tan_test_upward): Likewise.
4107 (tanh_test): Likewise.
4108 (tgamma_test): Likewise.
4109 (y0_test): Likewise.
4110 (y1_test): Likewise.
4111 (yn_test): Likewise.
4112
323e5cb7
JM
4113 * math/gen-libm-test.pl (adjust_arg): Remove function.
4114 (special_function): Remove argument $in_func. Only handle
4115 generating output for tables of tests, not inside functions.
4116 (parse_args): Likewise.
4117 (generate_testfile): Remove variable $in_func. Update call to
4118 parse_args.
4119 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4120 (MINUS_ZERO_INIT): Rename macro to minus_zero.
4121 (PLUS_INFTY_INIT): Rename macro to plus_infty.
4122 (MINUS_INFTY_INIT): Rename macro to minus_infty.
4123 (QNAN_VALUE_INIT): Rename macro to qnan_value.
4124 (MAX_VALUE_INIT): Rename macro to max_value.
4125 (MIN_VALUE_INIT): Rename macro to min_value.
4126 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4127 (plus_zero): Remove variable.
4128 (minus_zero): Likewise.
4129 (plus_infty): Likewise.
4130 (minus_infty): Likewise.
4131 (qnan_value): Likewise.
4132 (max_value): Likewise.
4133 (min_value): Likewise.
4134 (min_subnorm_value): Likewise.
4135
e054f494
RA
41362013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4137
4138 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4139 uint64_t or uint32_t usage.
4140 * crypt/sha256-block.c: Likewise.
4141 * crypt/sha256-crypt.c: Likewise.
4142 * crypt/sha256.c: Likewise.
4143 * crypt/sha512-block.c: Likewise.
4144 * crypt/sha512-crypt.c: Likewise.
4145 * crypt/sha512.c: Likewise.
4146 * debug/backtrace-tst.c: Likewise.
4147 * debug/pcprofiledump.c: Likewise.
4148 * elf/cache.c: Likewise.
4149 * elf/dl-cache.c: Likewise.
4150 * elf/dl-misc.c: Likewise.
4151 * elf/dl-profile.c: Likewise.
4152 * elf/dl-support.c: Likewise.
4153 * elf/ldconfig.c: Likewise.
4154 * elf/sprof.c: Likewise.
4155 * iconv/dummy-repertoire.c: Likewise.
4156 * iconv/iconv_charmap.c: Likewise.
4157 * iconv/skeleton.c: Likewise.
4158 * iconvdata/8bit-generic.c: Likewise.
4159 * iconvdata/cp737.h: Likewise.
4160 * iconvdata/cp775.h: Likewise.
4161 * iconvdata/ibm1008.h: Likewise.
4162 * iconvdata/ibm1025.h: Likewise.
4163 * iconvdata/ibm1046.h: Likewise.
4164 * iconvdata/ibm1097.h: Likewise.
4165 * iconvdata/ibm1112.h: Likewise.
4166 * iconvdata/ibm1122.h: Likewise.
4167 * iconvdata/ibm1123.h: Likewise.
4168 * iconvdata/ibm1124.h: Likewise.
4169 * iconvdata/ibm1129.h: Likewise.
4170 * iconvdata/ibm1130.h: Likewise.
4171 * iconvdata/ibm1132.h: Likewise.
4172 * iconvdata/ibm1133.h: Likewise.
4173 * iconvdata/ibm1137.h: Likewise.
4174 * iconvdata/ibm1140.h: Likewise.
4175 * iconvdata/ibm1141.h: Likewise.
4176 * iconvdata/ibm1142.h: Likewise.
4177 * iconvdata/ibm1143.h: Likewise.
4178 * iconvdata/ibm1144.h: Likewise.
4179 * iconvdata/ibm1145.h: Likewise.
4180 * iconvdata/ibm1146.h: Likewise.
4181 * iconvdata/ibm1147.h: Likewise.
4182 * iconvdata/ibm1148.h: Likewise.
4183 * iconvdata/ibm1149.h: Likewise.
4184 * iconvdata/ibm1153.h: Likewise.
4185 * iconvdata/ibm1154.h: Likewise.
4186 * iconvdata/ibm1155.h: Likewise.
4187 * iconvdata/ibm1156.h: Likewise.
4188 * iconvdata/ibm1157.h: Likewise.
4189 * iconvdata/ibm1158.h: Likewise.
4190 * iconvdata/ibm1160.h: Likewise.
4191 * iconvdata/ibm1161.h: Likewise.
4192 * iconvdata/ibm1162.h: Likewise.
4193 * iconvdata/ibm1163.h: Likewise.
4194 * iconvdata/ibm1164.h: Likewise.
4195 * iconvdata/ibm1166.h: Likewise.
4196 * iconvdata/ibm1167.h: Likewise.
4197 * iconvdata/ibm12712.h: Likewise.
4198 * iconvdata/ibm1390.h: Likewise.
4199 * iconvdata/ibm1399.h: Likewise.
4200 * iconvdata/ibm16804.h: Likewise.
4201 * iconvdata/ibm4517.h: Likewise.
4202 * iconvdata/ibm4899.h: Likewise.
4203 * iconvdata/ibm4909.h: Likewise.
4204 * iconvdata/ibm4971.h: Likewise.
4205 * iconvdata/ibm5347.h: Likewise.
4206 * iconvdata/ibm803.h: Likewise.
4207 * iconvdata/ibm856.h: Likewise.
4208 * iconvdata/ibm901.h: Likewise.
4209 * iconvdata/ibm902.h: Likewise.
4210 * iconvdata/ibm9030.h: Likewise.
4211 * iconvdata/ibm9066.h: Likewise.
4212 * iconvdata/ibm921.h: Likewise.
4213 * iconvdata/ibm922.h: Likewise.
4214 * iconvdata/ibm9448.h: Likewise.
4215 * iconvdata/isiri-3342.h: Likewise.
4216 * iconvdata/jis0201.h: Likewise.
4217 * include/link.h: Likewise.
4218 * include/netdb.h: Likewise.
4219 * inet/check_native.c: Likewise.
4220 * inet/check_pf.c: Likewise.
4221 * inet/getipv4sourcefilter.c: Likewise.
4222 * inet/getnameinfo.c: Likewise.
4223 * inet/getsourcefilter.c: Likewise.
4224 * inet/htonl.c: Likewise.
4225 * inet/setipv4sourcefilter.c: Likewise.
4226 * inet/setsourcefilter.c: Likewise.
4227 * inet/test-inet6_opt.c: Likewise.
4228 * inet/tst-network.c: Likewise.
4229 * locale/C-collate.c: Likewise.
4230 * locale/C-ctype.c: Likewise.
4231 * locale/C-time.c: Likewise.
4232 * locale/C-translit.h: Likewise.
4233 * locale/loadarchive.c: Likewise.
4234 * locale/programs/3level.h: Likewise.
4235 * locale/programs/charmap.c: Likewise.
4236 * locale/programs/charmap.h: Likewise.
4237 * locale/programs/ld-address.c: Likewise.
4238 * locale/programs/ld-collate.c: Likewise.
4239 * locale/programs/ld-ctype.c: Likewise.
4240 * locale/programs/ld-identification.c: Likewise.
4241 * locale/programs/ld-measurement.c: Likewise.
4242 * locale/programs/ld-messages.c: Likewise.
4243 * locale/programs/ld-monetary.c: Likewise.
4244 * locale/programs/ld-name.c: Likewise.
4245 * locale/programs/ld-numeric.c: Likewise.
4246 * locale/programs/ld-paper.c: Likewise.
4247 * locale/programs/ld-telephone.c: Likewise.
4248 * locale/programs/ld-time.c: Likewise.
4249 * locale/programs/linereader.c: Likewise.
4250 * locale/programs/locale.c: Likewise.
4251 * locale/programs/locarchive.c: Likewise.
4252 * locale/programs/locfile.h: Likewise.
4253 * locale/programs/repertoire.c: Likewise.
4254 * locale/programs/simple-hash.c: Likewise.
4255 * locale/programs/simple-hash.h: Likewise.
4256 * malloc/memusage.c: Likewise.
4257 * malloc/memusagestat.c: Likewise.
4258 * nis/nis_defaults.c: Likewise.
4259 * nis/nis_hash.c: Likewise.
4260 * nis/nis_print.c: Likewise.
4261 * nis/nis_xdr.c: Likewise.
4262 * nscd/connections.c: Likewise.
4263 * nscd/hstcache.c: Likewise.
4264 * nscd/nscd_gethst_r.c: Likewise.
4265 * nscd/nscd_getserv_r.c: Likewise.
4266 * nscd/nscd_helper.c: Likewise.
4267 * nscd/servicescache.c: Likewise.
4268 * nss/makedb.c: Likewise.
4269 * nss/nss_db/db-XXX.c: Likewise.
4270 * nss/nss_db/db-initgroups.c: Likewise.
4271 * nss/nss_db/db-netgrp.c: Likewise.
4272 * nss/nss_files/files-network.c: Likewise.
4273 * nss/nss_files/files-parse.c: Likewise.
4274 * posix/bug-regex5.c: Likewise.
4275 * posix/fnmatch_loop.c: Likewise.
4276 * posix/regcomp.c: Likewise.
4277 * posix/regexec.c: Likewise.
4278 * posix/tst-rfc3484-2.c: Likewise.
4279 * posix/tst-rfc3484-3.c: Likewise.
4280 * posix/tst-rfc3484.c: Likewise.
4281 * resolv/nss_dns/dns-canon.c: Likewise.
4282 * resolv/nss_dns/dns-network.c: Likewise.
4283 * resolv/res_init.c: Likewise.
4284 * resolv/res_mkquery.c: Likewise.
4285 * resolv/tst-aton.c: Likewise.
4286 * stdlib/cxa_atexit.c: Likewise.
4287 * stdlib/cxa_finalize.c: Likewise.
4288 * stdlib/gen-fpioconst.c: Likewise.
4289 * stdlib/strtol_l.c: Likewise.
4290 * string/tst-endian.c: Likewise.
4291 * sunrpc/auth_des.c: Likewise.
4292 * sunrpc/clnt_udp.c: Likewise.
4293 * sunrpc/rtime.c: Likewise.
4294 * sunrpc/svcauth_des.c: Likewise.
4295 * sunrpc/xdr.c: Likewise.
4296 * sunrpc/xdr_intXX_t.c: Likewise.
4297 * sunrpc/xdr_rec.c: Likewise.
4298 * sysdeps/generic/ldconfig.h: Likewise.
4299 * sysdeps/generic/ldsodefs.h: Likewise.
4300 * sysdeps/generic/memusage.h: Likewise.
4301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4303 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4304 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4305 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4307 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4308 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4309 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4311 * sysdeps/posix/getaddrinfo.c: Likewise.
4312 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4313 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4314 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4315 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4316 * sysdeps/powerpc/test-gettimebase.c: Likewise.
4317 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4318 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4319 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4320 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4321 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4322 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4323 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4324 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4325 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4326 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4327 * sysdeps/x86_64/dl-tls.h: Likewise.
4328 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4329 * time/alt_digit.c: Likewise.
4330 * time/era.c: Likewise.
4331 * wcsmbs/tst-c16c32-1.c: Likewise.
4332
8c75f674
JM
43332013-05-16 Joseph Myers <joseph@codesourcery.com>
4334
4335 * math/libm-test.inc (struct test_sincos_data): New type.
4336 (RUN_TEST_LOOP_sincos): New macro.
4337 (sincos_test_data): New variable.
4338 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4339
e6e49e59
RH
43402013-05-16 Richard Henderson <rth@redhat.com>
4341
4342 * math/atest-exp2.c (LIMB64): New macro.
4343 (CONSTSZ): New macro.
4344 (mp_exp1, mp_exp_m1, mp_log2): New variables.
4345 (hexdig): Move ...
4346 (print_mpn_fp): ... to function scope.
4347 (read_mpn_hex): Remove.
4348 (get_log2): Remove.
4349 (exp2_mpn): Use mp_log2.
4350 (main): Use mp_exp1.
4351
15c7c18d
JM
43522013-05-16 Joseph Myers <joseph@codesourcery.com>
4353
105a07df
JM
4354 * math/libm-test.inc: Remove comment about not testing "inexact"
4355 exceptions.
4356 (INEXACT_EXCEPTION): New macro.
4357 (NO_INEXACT_EXCEPTION): Likewise.
4358 (INVALID_EXCEPTION_OK): Update value.
4359 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4360 (OVERFLOW_EXCEPTION_OK): Likewise.
4361 (UNDERFLOW_EXCEPTION_OK): Likewise.
4362 (IGNORE_ZERO_INF_SIGN): Likewise.
4363 (ERRNO_UNCHANGED): Likewise.
4364 (ERRNO_EDOM): Likewise.
4365 (ERRNO_ERANGE): Likewise.
4366 (test_exceptions): Handle testing "inexact" exceptions.
4367 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4368 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4369 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4370 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4371 INEXACT_EXCEPTION.
4372 (rint_towardzero_test_data): Likewise.
4373 (rint_downward_test_data): Likewise.
4374 (rint_upward_test_data): Likewise.
4375
e9eee333
JM
4376 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4377 with OVERFLOW_EXCEPTION.
4378 (exp10_test_data): Likewise.
4379 (exp2_test_data): Likewise.
4380 (expm1_test_data): Likewise.
4381 (lgamma_test_data): Likewise.
4382 (pow_test_data): Likewise.
4383 (tgamma_test_data): Likewise.
4384 (yn_test_data): Remove duplicate test of overflow.
4385
1c38ff73
JM
4386 * math/libm-test.inc (struct test_cc_c_data): New type.
4387 (RUN_TEST_LOOP_cc_c): New macro.
4388 (cpow_test_data): New variable.
4389 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4390
15c7c18d
JM
4391 * math/libm-test.inc (struct test_f_L_data): New type.
4392 (RUN_TEST_LOOP_f_L): New macro.
4393 (llrint_test_data): New variable.
4394 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4395 (llrint_tonearest_test_data): New variable.
4396 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4397 (llrint_towardzero_test_data): New variable.
4398 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4399 (llrint_downward_test_data): New variable.
4400 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4401 (llrint_upward_test_data): New variable.
4402 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4403 (llround_test_data): New variable.
4404 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4405
f137ff13
PC
44062013-05-13 Peter Collingbourne <pcc@google.com>
4407
4408 * math/atest-exp2.c (get_log2): Remove const attribute.
4409
3608cb24
JM
44102013-05-15 Joseph Myers <joseph@codesourcery.com>
4411
4412 * math/libm-test.inc (struct test_f_l_data): New type.
4413 (RUN_TEST_LOOP_f_l): New macro.
4414 (lrint_test_data): New variable.
4415 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4416 (lrint_tonearest_test_data): New variable.
4417 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4418 (lrint_towardzero_test_data): New variable.
4419 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4420 (lrint_downward_test_data): New variable.
4421 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4422 (lrint_upward_test_data): New variable.
4423 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4424 (lround_test_data): New variable.
4425 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4426
39b1f617
PC
44272013-05-15 Peter Collingbourne <pcc@google.com>
4428
1deff3dc
PC
4429 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4430 (EXTRACT_WORDS64) Use where appropriate.
4431 (INSERT_WORDS64) Likewise.
4432
791f3ba0
PC
4433 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4434 constraints with x constraints.
4435 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4436
39b1f617
PC
4437 * malloc/obstack.c (_obstack_compat): Add initializer.
4438
12fba011
EM
44392013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
4440
4441 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4442 si_trapno and add si_addr_lsb to _sifields.sigfault.
4443 (si_trapno): Remove macro.
4444 (si_addr_lsb): Define new macro.
4445 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4446
d369f531
JM
44472013-05-15 Joseph Myers <joseph@codesourcery.com>
4448
b861c6c4
JM
4449 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4450 instead of TEST_f_l.
4451 (llrint_test_tonearest): Likewise.
4452 (llrint_test_towardzero): Likewise.
4453 (llrint_test_downward): Likewise.
4454 (llrint_test_upward): Likewise.
4455 (llround_test): Likewise.
4456
7abeee12
JM
4457 * math/libm-test.inc (struct test_f_i_data): Add comment.
4458 (RUN_TEST_LOOP_f_b): New macro.
4459 (RUN_TEST_LOOP_f_b_tg): Likewise.
4460 (finite_test_data): New variable.
4461 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4462 (isfinite_test_data): New variable.
4463 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4464 (isinf_test_data): New variable.
4465 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4466 (isnan_test_data): New variable.
4467 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4468 (isnormal_test_data): New variable.
4469 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4470 (issignaling_test_data): New variable.
4471 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4472 (signbit_test_data): New variable.
4473 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4474
cbe8c4d3
JM
4475 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4476 with INVALID_EXCEPTION.
4477 (acosh_test_data): Likewise.
4478 (asin_test_data): Likewise.
4479 (atanh_test_data): Likewise.
4480 (fmod_test_data): Likewise.
4481 (log_test_data): Likewise.
4482 (log10_test_data): Likewise.
4483 (log2_test_data): Likewise.
4484 (pow_test_data): Likewise.
4485 (sqrt_test_data): Likewise.
4486 (y0_test_data): Likewise.
4487 (y1_test_data): Likewise.
4488 (yn_test_data): Likewise.
4489
5575c0e5
JM
4490 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4491 function contents.
4492
d369f531
JM
4493 * math/libm-test.inc (struct test_ff_i_data): New type.
4494 (RUN_TEST_LOOP_ff_i_tg): New macro.
4495 (isgreater_test_data): New variable.
4496 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4497 (isgreaterequal_test_data): New variable.
4498 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4499 (isless_test_data): New variable.
4500 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4501 (islessequal_test_data): New variable.
4502 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4503 (islessgreater_test_data): New variable.
4504 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4505 (isunordered_test_data): New variable.
4506 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4507
781fd748
DM
45082013-05-14 David S. Miller <davem@davemloft.net>
4509
4510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4511
87aa21df
JM
45122013-05-14 Joseph Myers <joseph@codesourcery.com>
4513
5e908270
JM
4514 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4515
f71172e5
JM
4516 * math/libm-test.inc (struct test_fF_f1_data): Change type of
4517 extra_test to int.
4518 (struct test_f_i_data): Change type of max_ulp to int.
4519
8cfa635a
JM
4520 * math/libm-test.inc (test_ffI_f1_data): New type.
4521 (RUN_TEST_LOOP_ffI_f1): New macro.
4522 (remquo_test_data): New variable.
4523 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4524
2bcb36b2
JM
4525 * setjmp/tst-setjmp-fp.c: New file.
4526 * setjmp/Makefile (tests): Add tst-setjmp-fp.
4527 (link-libm): New variable.
4528 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4529
acbd839a
JM
4530 * math/libm-test.inc (struct test_f_i_data): New type.
4531 (RUN_TEST_LOOP_f_i): New macro.
4532 (RUN_TEST_LOOP_f_i_tg): Likewise.
4533 (fpclassify_test_data): New variable.
4534 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4535 (ilogb_test_data): New variable.
4536 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4537
e414d745
JM
4538 * math/libm-test.inc (scalbln_test): Correct function name in END
4539 call.
4540
d9c2a0fd
JM
4541 * math/libm-test.inc (struct test_f_f1_data): Add comment.
4542 (RUN_TEST_LOOP_fI_f1): New macro.
4543 (frexp_test_data): New variable.
4544 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4545
9dc9095d
JM
4546 * math/libm-test.inc (struct test_fF_f1_data): New type.
4547 (RUN_TEST_LOOP_fF_f1): New macro.
4548 (modf_test_data): New variable.
4549 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4550
87aa21df
JM
4551 * math/libm-test.inc (struct test_f_f1_data): New type.
4552 (RUN_TEST_LOOP_f_f1): New macro.
4553 (gamma_test_data): New variable.
4554 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4555 (lgamma_test_data): New variable.
4556 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4557
141af660
CD
45582013-05-13 Carlos O'Donell <carlos@redhat.com>
4559
4560 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4561 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4562 (main): Comment "tls" pseudo-hwcap.
4563
6d33265c
JM
45642013-05-13 Joseph Myers <joseph@codesourcery.com>
4565
68fc074c
JM
4566 * math/libm-test.inc (struct test_fl_f_data): New type.
4567 (RUN_TEST_LOOP_fl_f): New variable.
4568 (scalbln_test_data): New variable.
4569 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4570
243216e1
JM
4571 * math/libm-test.inc (struct test_fi_f_data): New type.
4572 (RUN_TEST_LOOP_fi_f): New macro.
4573 (ldexp_test_data): New variable.
4574 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4575 (scalbn_test_data): New variable.
4576 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4577
6a1992e2
JM
4578 * math/libm-test.inc (struct test_c_f_data): New type.
4579 (RUN_TEST_LOOP_c_f): New macro.
4580 (cabs_test_data): New variable.
4581 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4582 (carg_test_data): New variable.
4583 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4584 (cimag_test_data): New variable.
4585 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4586 (creal_test_data): New variable.
4587 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4588
0e400df5
JM
4589 * math/libm-test.inc (struct test_if_f_data): New type.
4590 (RUN_TEST_LOOP_if_f): New macro.
4591 (jn_test_data): New variable.
4592 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4593 (yn_test_data): New variable.
4594 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4595
6d33265c
JM
4596 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4597
f98ece5f
AZ
45982013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4599
4600 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4601 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4602
0f7d347b
SP
46032013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4604
43fe811b
SP
4605 * benchtests/Makefile (CPPFLAGS-nonlib): Add
4606 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4607 (bench-deps): Add bench-timing.h.
4608 * benchtests-bench-skeleton.c: Include bench-timing.h.
4609 (main): Use TIMING_* macros instead of clock_gettime.
4610 * benchtests/bench-timing.h: New file.
4611
0f7d347b
SP
4612 [BZ #14582]
4613 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4614 Renamed from _LIB_VERSION.
4615 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4616
601a3a5f
JM
46172013-05-12 Joseph Myers <joseph@codesourcery.com>
4618
4f184d30
JM
4619 * math/libm-test.inc (struct test_fff_f_data): New type.
4620 (RUN_TEST_LOOP_fff_f): New macro.
4621 (fma_test_data): New variable.
4622 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4623 (fma_towardzero_test_data): New variable.
4624 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4625 (fma_downward_test_data): New variable.
4626 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4627 (fma_upward_test_data): New variable.
4628 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4629
08198877
JM
4630 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4631 (struct test_c_c_data): New type.
4632 (RUN_TEST_LOOP_c_c): New macro.
4633 (cacos_test_data): New variable.
4634 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4635 (cacosh_test_data): New variable.
4636 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4637 (casin_test_data): New variable.
4638 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4639 (casinh_test_data): New variable.
4640 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4641 (catan_test_data): New variable.
4642 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4643 (catanh_test_data): New variable.
4644 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4645 (ccos_test_data): New variable.
4646 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4647 (ccosh_test_data): New variable.
4648 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4649 (cexp_test_data): New variable.
4650 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4651 (clog_test_data): New variable.
4652 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4653 (clog10_test_data): New variable.
4654 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4655 (conj_test_data): New variable.
4656 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4657 (cproj_test_data): New variable.
4658 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4659 (csin_test_data): New variable.
4660 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4661 (csinh_test_data): New variable.
4662 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4663 (csqrt_test_data): New variable.
4664 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4665 (ctan_test_data): New variable.
4666 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4667 (ctan_tonearest_test_data): New variable.
4668 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4669 (ctan_towardzero_test_data): New variable.
4670 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4671 (ctan_downward_test_data): New variable.
4672 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4673 (ctan_upward_test_data): New variable.
4674 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4675 (ctanh_test_data): New variable.
4676 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4677 (ctanh_tonearest_test_data): New variable.
4678 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4679 (ctanh_towardzero_test_data): New variable.
4680 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4681 (ctanh_downward_test_data): New variable.
4682 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4683 (ctanh_upward_test_data): New variable.
4684 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4685 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4686 of BUILD_COMPLEX.
4687
601a3a5f
JM
4688 * math/libm-test.inc (struct test_ff_f_data): New type.
4689 (struct test_ff_f_data_nexttoward): Likewise.
4690 (RUN_TEST_LOOP_2_f): New macro.
4691 (RUN_TEST_LOOP_ff_f): Likewise.
4692 (atan2_test_data): New variable.
4693 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4694 (copysign_test_data): New variable.
4695 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4696 (fdim_test_data): New variable.
4697 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4698 (fmax_test_data): New variable.
4699 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4700 (fmin_test_data): New variable.
4701 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4702 (fmod_test_data): New variable.
4703 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4704 (hypot_test_data): New variable.
4705 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4706 (nextafter_test_data): New variable.
4707 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4708 (nexttoward_test_data): New variable.
4709 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4710 (pow_test_data): New variable.
4711 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4712 (pow_tonearest_test_data): New variable.
4713 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4714 (pow_towardzero_test_data): New variable.
4715 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4716 (pow_downward_test_data): New variable.
4717 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4718 (pow_upward_test_data): New variable.
4719 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4720 (remainder_test_data): New variable.
4721 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4722 (scalb_test_data): New variable.
4723 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4724 * sysdeps/i386/fpu/libm-test-ulps: Update.
4725
74c57478
JM
47262013-05-11 Joseph Myers <joseph@codesourcery.com>
4727
8329e4da
JM
4728 * math/libm-test.inc (fma_test): Use max_value instead of local
4729 variable fltmax.
4730 (nextafter_test): Likewise.
4731
74c57478
JM
4732 * math/libm-test.inc (acos_towardzero_test_data): New variable.
4733 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4734 (acos_downward_test_data): New variable.
4735 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4736 (acos_upward_test_data): New variable.
4737 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4738 (acosh_test_data): New variable.
4739 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4740 (asin_test_data): New variable.
4741 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4742 (asin_tonearest_test_data): New variable.
4743 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4744 (asin_towardzero_test_data): New variable.
4745 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4746 (asin_downward_test_data): New variable.
4747 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4748 (asin_upward_test_data): New variable.
4749 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4750 (asinh_test_data): New variable.
4751 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4752 (atan_test_data): New variable.
4753 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4754 (atanh_test_data): New variable.
4755 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4756 (cbrt_test_data): New variable.
4757 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4758 (ceil_test_data): New variable.
4759 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4760 (cos_test_data): New variable.
4761 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4762 (cos_tonearest_test_data): New variable.
4763 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4764 (cos_towardzero_test_data): New variable.
4765 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4766 (cos_downward_test_data): New variable.
4767 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4768 (cos_upward_test_data): New variable.
4769 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4770 (cosh_test_data): New variable.
4771 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4772 (cosh_tonearest_test_data): New variable.
4773 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4774 (cosh_towardzero_test_data): New variable.
4775 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4776 (cosh_downward_test_data): New variable.
4777 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4778 (cosh_upward_test_data): New variable.
4779 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4780 (erf_test_data): New variable.
4781 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4782 (erfc_test_data): New variable.
4783 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4784 (exp_test_data): New variable.
4785 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4786 (exp_tonearest_test_data): New variable.
4787 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4788 (exp_towardzero_test_data): New variable.
4789 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4790 (exp_downward_test_data): New variable.
4791 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4792 (exp_upward_test_data): New variable.
4793 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4794 (exp10_test_data): New variable.
4795 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4796 (exp2_test_data): New variable.
4797 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4798 (expm1_test_data): New variable.
4799 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4800 (fabs_test_data): New variable.
4801 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4802 (floor_test_data): New variable.
4803 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4804 (j0_test_data): New variable.
4805 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4806 (j1_test_data): New variable.
4807 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4808 (log_test_data): New variable.
4809 (log_test): Run tests with RUN_TEST_LOOP_f_f.
4810 (log10_test_data): New variable.
4811 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4812 (log1p_test_data): New variable.
4813 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4814 (log2_test_data): New variable.
4815 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4816 (logb_test_data): New variable.
4817 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4818 (logb_downward_test_data): New variable.
4819 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4820 (nearbyint_test_data): New variable.
4821 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4822 (rint_test_data): New variable.
4823 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4824 (rint_tonearest_test_data): New variable.
4825 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4826 (rint_towardzero_test_data): New variable.
4827 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4828 (rint_downward_test_data): New variable.
4829 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4830 (rint_upward_test_data): New variable.
4831 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4832 (round_test_data): New variable.
4833 (round_test): Run tests with RUN_TEST_LOOP_f_f.
4834 (sin_test_data): New variable.
4835 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4836 (sin_tonearest_test_data): New variable.
4837 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4838 (sin_towardzero_test_data): New variable.
4839 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4840 (sin_downward_test_data): New variable.
4841 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4842 (sin_upward_test_data): New variable.
4843 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4844 (sinh_test_data): New variable.
4845 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4846 (sinh_tonearest_test_data): New variable.
4847 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4848 (sinh_towardzero_test_data): New variable.
4849 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4850 (sinh_downward_test_data): New variable.
4851 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4852 (sinh_upward_test_data): New variable.
4853 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4854 (sqrt_test_data): New variable.
4855 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4856 (tan_test_data): New variable.
4857 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4858 (tan_tonearest_test_data): New variable.
4859 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4860 (tan_towardzero_test_data): New variable.
4861 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4862 (tan_downward_test_data): New variable.
4863 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4864 (tan_upward_test_data): New variable.
4865 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4866 (tanh_test_data): New variable.
4867 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4868 (tgamma_test_data): New variable.
4869 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4870 (trunc_test_data): New variable.
4871 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4872 (y0_test_data): New variable.
4873 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4874 (y1_test_data): New variable.
4875 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4876 (significand_test_data): New variable.
4877 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4878
7187d844
CG
48792013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
4880
4881 [BZ #12387]
4882 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4883
f63fae73
PT
48842013-05-10 Pino Toscano <toscano.pino@tiscali.it>
4885
4886 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4887
8a67a4b3
AJ
48882013-05-10 Andreas Jaeger <aj@suse.de>
4889
4890 [BZ #15448]
4891 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4892 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4893
51df539d
JM
48942013-05-10 Joseph Myers <joseph@codesourcery.com>
4895
4896 * math/gen-libm-test.pl (adjust_arg): New function.
4897 (special_functions): Handle generating output in both functions
4898 and arrays.
4899 (parse_args): Likewise.
4900 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
4901 $in_func argument to parse_args.
4902 * math/libm-test.inc (struct test_f_f_data): New type.
4903 (IF_ROUND_INIT_): New macro.
4904 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4905 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4906 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4907 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4908 (ROUND_RESTORE_): Likewise.
4909 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4910 (ROUND_RESTORE_FE_TONEAREST): Likewise.
4911 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4912 (ROUND_RESTORE_FE_UPWARD): Likewise.
4913 (RUN_TEST_LOOP_f_f): New macro.
4914 (acos_test_data): New variable.
4915 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4916 (acos_tonearest_test_data): New variable.
4917 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4918
5c637fe5
SP
49192013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4920
4921 * benchtests/bench-skeleton.c (startup): Fix coding style.
4922
ab2b9461
JM
49232013-05-10 Joseph Myers <joseph@codesourcery.com>
4924
4925 [BZ #6809]
4926 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4927 negative infinity argument.
4928 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4929 negative infinity argument.
4930 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4931 negative infinity argument.
4932 * math/libm-test.inc (tgamma_test): Expect errno to be set for
4933 domain errors.
4934
4c0fe6fe
FW
49352013-05-10 Florian Weimer <fweimer@redhat.com>
4936
4937 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4938 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4939 * iconv/iconv_prog.c (main): Likewise.
4940 * locale/programs/charmap-dir.c (charmap_readdir)
4941 (fopen_uncompressed): Likewise.
4942 * locale/programs/locfile.c (siblings_uncached)
4943 (write_locale_data): Use lstat64 instead of lstat.
4944 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4945 stat.
4946
a3375d29
AJ
49472013-05-10 Andreas Jaeger <aj@suse.de>
4948
4949 [BZ #15395]
4950 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4951 localization.
4952 Include <locale.h>.
4953
36129722
CD
49542013-05-09 Carlos O'Donell <carlos@redhat.com>
4955
4956 * elf/dl-close.c (_dl_close_worker): Add comments.
4957
faa7f811
JM
49582013-05-09 Joseph Myers <joseph@codesourcery.com>
4959
ed41ffef
JM
4960 [BZ #15359]
4961 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4962 high part of pi/2.
4963 (__ieee754_rem_pio2l): Update comments.
4964
d0213cd0
JM
4965 [BZ #15429]
4966 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4967 high part of pi/2.
4968 (__ieee754_rem_pio2l): Update comments.
4969
0d3e777a
JM
4970 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4971 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4972
24f56066
JM
4973 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4974 M_PI_4l.
4975
faa7f811
JM
4976 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4977 (M_PI_34_LOG10El): Likewise.
4978 (M_PI2_LOG10El): Likewise.
4979 (M_PI4_LOG10El): Likewise.
4980 (M_PI_LOG10El): Likewise.
4981
e9a5e0fd
AZ
49822013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4983
4984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4985
d8cd06db
JM
49862013-05-08 Joseph Myers <joseph@codesourcery.com>
4987
a0d9f9d7
JM
4988 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4989 (MINUS_ZERO_INIT): Likewise.
4990 (PLUS_INFTY_INIT): Likewise.
4991 (MINUS_INFTY_INIT): Likewise.
4992 (QNAN_VALUE_INIT): Likewise.
4993 (MAX_VALUE_INIT): Likewise.
4994 (MIN_VALUE_INIT): Likewise.
4995 (MIN_SUBNORM_VALUE_INIT): Likewise.
4996 (plus_zero): Initialize with PLUS_ZERO_INIT.
4997 (minus_zero): Initialize with MINUS_ZERO_INIT.
4998 (plus_infty): Initialize with PLUS_INFTY_INIT.
4999 (minus_infty): Initialize with MINUS_INFTY_INIT.
5000 (qnan_value): Initialize with QNAN_VALUE_INIT.
5001 (max_value): Initialize with MAX_VALUE_INIT.
5002 (min_value): Initialize with MIN_VALUE_INIT.
5003 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5004
ae08db3b
JM
5005 * math/libm-test.inc (RUN_TEST_if_f): New macro.
5006 (jn_test): Use TEST_if_f instead of TEST_ff_f.
5007 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5008 (yn_test): Use TEST_if_f instead of TEST_ff_f.
5009
f44bf14a
JM
5010 * math/libm-test.inc (RUN_TEST_f_f): New macro.
5011 (RUN_TEST_2_f): Likewise.
5012 (RUN_TEST_ff_f): Likewise.
5013 (RUN_TEST_fi_f): Likewise.
5014 (RUN_TEST_fl_f): Likewise.
5015 (RUN_TEST_fff_f): Likewise.
5016 (RUN_TEST_c_f): Likewise.
5017 (RUN_TEST_f_f1): Likewise.
5018 (RUN_TEST_fF_f1): Likewise.
5019 (RUN_TEST_fI_f1): Likewise.
5020 (RUN_TEST_ffI_f1): Likewise.
5021 (RUN_TEST_c_c): Likewise.
5022 (RUN_TEST_cc_c): Likewise.
5023 (RUN_TEST_f_i): Likewise.
5024 (RUN_TEST_f_i_tg): Likewise.
5025 (RUN_TEST_ff_i_tg): Likewise.
5026 (RUN_TEST_f_b): Likewise.
5027 (RUN_TEST_f_b_tg): Likewise.
5028 (RUN_TEST_f_l): Likewise.
5029 (RUN_TEST_f_L): Likewise.
5030 (RUN_TEST_sincos): Likewise.
5031 * math/gen-libm-test.pl (new_test): Take new argument to indicate
5032 whether to show exceptions. Do not include ");\n" in return
5033 value.
5034 (special_functions): Output call to RUN_TEST_sincos instead of
5035 check_float calls. Update calls to new_test.
5036 (parse_args): Output call to single RUN_TEST_* macro instead of
5037 check_* calls and other assignments. Update calls to new_test.
5038
d8cd06db
JM
5039 [BZ #2546]
5040 [BZ #2560]
5041 [BZ #5159]
5042 [BZ #15426]
5043 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5044 input to result for tgamma overflow.
5045 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5046 (gamma_coeff): New variable.
5047 (NCOEFF): New macro.
5048 (gamma_positive): New function.
5049 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5050 underflow here. Use gamma_positive instead of exp (lgamma) for
5051 other arguments.
5052 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5053 (gamma_coeff): New variable.
5054 (NCOEFF): New macro.
5055 (gammaf_positive): New function.
5056 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5057 underflow here. Use gamma_positive instead of exp (lgamma) for
5058 other arguments.
5059 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5060 (gamma_coeff): New variable.
5061 (NCOEFF): New macro.
5062 (gammal_positive): New function.
5063 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5064 underflow here. Use gamma_positive instead of exp (lgamma) for
5065 other arguments.
5066 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5067 (gamma_coeff): New variable.
5068 (NCOEFF): New macro.
5069 (gammal_positive): New function.
5070 (__ieee754_gammal_r): Handle positive infinity, overflow and
5071 underflow here. Handle NaN the same as positive infinity. Remove
5072 check x < 0xffffffff for negative integers. Use gamma_positive
5073 instead of exp (lgamma) for other arguments.
5074 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5075 (gamma_coeff): New variable.
5076 (NCOEFF): New macro.
5077 (gammal_positive): New function.
5078 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5079 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5080 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5081 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5082 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5083 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5084 * sysdeps/generic/math_private.h (__gamma_productf): New
5085 prototype.
5086 (__gamma_product): Likewise.
5087 (__gamma_productl): Likewise.
5088 * math/Makefile (libm-calls): Add gamma_product.
5089 * math/libm-test.inc (tgamma_test): Add more tests.
5090 * sysdeps/i386/fpu/libm-test-ulps: Update.
5091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5092
bb7cf681
OB
50932013-05-08 Ondřej Bílka <neleai@seznam.cz>
5094
5095 * benchtests/bench-skeleton.c (main): Preheat CPU.
5096
ba853947
AJ
50972013-05-07 Aurelien Jarno <aurelien@aurel32.net>
5098
5099 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5100
8347c74c
RM
51012013-05-07 Roland McGrath <roland@hack.frob.com>
5102
5103 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5104 and _dl_skip_args_internal.
5105
e8dd4791
CD
51062013-05-07 Carlos O'Donell <carlos@redhat.com>
5107
5108 * manual/message.texi (Message Translation): Talk about users.
5109 Message to key mapping impacts design.
5110
c7405830
RM
51112013-05-06 Roland McGrath <roland@hack.frob.com>
5112
a9173057
RM
5113 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5114
976e2f03
RM
5115 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5116
9723ffc5
RM
5117 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5118 * sysdeps/wordsize-64/glob64.c: ... here.
5119
962e6658
RM
5120 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5121 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5122 New macros.
5123
ee586a6d
RM
5124 * debug/getlogin_r_chk.c: Moved to ...
5125 * login/getlogin_r_chk.c: ... here.
5126 * debug/Makefile (routines): Move getlogin_r_chk to ...
5127 * login/Makefile (routines): ... here.
5128 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5129 * login/Versions (libc: GLIBC_2.4): ... here.
5130
355f9165
RM
5131 * io/poll.c (__poll): Renamed from poll.
5132 Add libc_hidden_def.
5133 (poll): Define as weak alias.
5134
bd9ffde6
RM
5135 * debug/ptsname_r_chk.c: Moved to ...
5136 * login/ptsname_r_chk.c: ... here.
5137 * debug/Makefile (routines): Move ptsname_r_chk to ...
5138 * login/Makefile (routines): ... here.
5139 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5140 * login/Versions (libc: GLIBC_2.4): ... here.
5141
8fb16a04
RM
5142 * posix/getlogin.c: Moved to ...
5143 * login/getlogin.c: ... here.
5144 * posix/getlogin_r.c: Moved to ...
5145 * login/getlogin_r.c: ... here.
5146 * posix/getlogin_r.c: Moved to ...
5147 * login/getlogin_r.c: ... here.
5148 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5149 * login/Makefile (routines): ... here.
5150 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5151 * login/Versions (libc: GLIBC_2.0): ... here.
5152
b99b892f
RM
5153 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5154 (setrlimit): Define as weak alias.
5155
c7405830
RM
5156 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5157 Call __ names for open, ftruncate, and close.
5158 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5159 (truncate): Define as weak alias.
5160
5bf96de5
JM
51612013-05-06 Joseph Myers <joseph@codesourcery.com>
5162
9ea3513c
JM
5163 * math/gen-libm-test.pl (parse_args): Initialize x before each
5164 test of frexp, modf and remquo.
5165
5bf96de5
JM
5166 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5167 test signgam value.
5168
16e616a7
AZ
51692013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5170
5171 [BZ #15418]
5172 [BZ #15419]
5173 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5174 internal tests.
5175 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5176
d5e82754
RM
51772013-05-06 Roland McGrath <roland@hack.frob.com>
5178
5179 * elf/dl-writev.h: New file.
5180 * elf/dl-misc.c: Include it.
5181 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5182 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5183
a7548d41
JM
51842013-05-04 Joseph Myers <joseph@codesourcery.com>
5185
b7dab1e4
JM
5186 * math/libm-test.inc (noXFails): Remove variable.
5187 (noXPasses): Likewise.
5188 (BUILD_COMPLEX_INT): Remove macro.
5189 (print_screen): Remove xfail argument.
5190 (print_screen_max_error): Likewise.
5191 (update_stats): Likewise.
5192 (print_max_error): Likewise. Update calls to other affected
5193 functions.
5194 (print_complex_max_error): Likewise.
5195 (test_single_exception): Update calls to print_screen.
5196 (test_single_errno): Likewise.
5197 (check_float_internal): Remove xfail argument. Update calls to
5198 other affected functions.
5199 (check_float): Likewise.
5200 (check_complex): Likewise.
5201 (check_int): Likewise.
5202 (check_long): Likewise.
5203 (check_bool): Likewise.
5204 (check_longlong): Likewise.
5205 (main): Don't print noXFails and noXPasses.
5206 * math/gen-libm-test.pl (top level): Don't mention expected
5207 failure handling in comment.
5208 (new_test): Don't handle expected failures.
5209 (parse_args): Don't mention expected failure handling in comment.
5210 (generate_testfile): Don't handle expected failures.
5211 (parse_ulps): Likewise.
5212 (print_ulps_file): Likewise.
5213 (get_failure): Remove function.
5214 (output_test): Don't handle expected failures.
5215 * make/README.libm-test: Don't mention expected failure handling.
5216
a7548d41
JM
5217 * math/libm-test.inc (plus_zero): Make const. Add initializer.
5218 (minus_zero): Likewise.
5219 (plus_infty): Likewise.
5220 (minus_infty): Likewise.
5221 (qnan_value): Likewise.
5222 (max_value): Likewise.
5223 (min_value): Likewise.
5224 (min_subnorm_value): Likewise.
5225 (initialize): Do not initialize those variables dynamically.
5226
60bfd54c
RM
52272013-05-03 Roland McGrath <roland@hack.frob.com>
5228
cc0e6ed8
RM
5229 * io/open.c (__open_2): Moved to ...
5230 * io/open_2.c: ... this new file.
5231 * io/open64.c (__open64_2): Moved to ...
5232 * io/open64_2.c: ... this new file.
5233 * io/openat.c (__openat_2): Moved to ...
5234 * io/openat_2.c: ... this new file.
5235 * io/openat64.c (__openat64_2): Moved to ...
5236 * io/openat64_2.c: ... this new file.
5237 * io/Makefile (routines): Add them.
5238 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5239 * sysdeps/unix/sysv/linux/open_2.c: File removed.
5240 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5241 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5242 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5243 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5244 (__openat64): Add hidden_ver.
5245 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5246 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5247
60bfd54c
RM
5248 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5249 Separately conditionalize setting of GLRO(dl_sysinfo) so
5250 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5251 as well, but the actual setting is only under [NEED_DL_SYSINFO].
5252
83e7640f
AZ
52532013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5254
5255 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5256 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5257 definition.
5258 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5259 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5260 (_libc_vdso_platform_setup): Add __vdso_time initialization.
5261 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5262 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5263
d5dc2af3
JM
52642013-05-03 Joseph Myers <joseph@codesourcery.com>
5265
c31a5b1e
JM
5266 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5267 test signgam value.
5268
d5dc2af3
JM
5269 * math/libm-test.inc (hypot_test): Do not use
5270 IGNORE_ZERO_INF_SIGN.
5271
164fd39d
AJ
52722013-05-03 Andreas Jaeger <aj@suse.de>
5273
5274 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5275 Linux 3.9.
5276 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5277 (PF_MAX): Adjust for VSOCK change.
5278
8237f48c
AZ
52792013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5280
5281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5282
9df02941
CD
52832013-05-02 Carlos O'Donell <carlos@redhat.com>
5284
5285 [BZ #15264]
5286 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5287 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5288 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5289
d422395e
DM
52902013-05-02 David S. Miller <davem@davemloft.net>
5291
5292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5293
a07c5731
OB
52942013-05-01 Ondřej Bílka <neleai@seznam.cz>
5295
5296 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5297
1324e37f
RM
52982013-05-01 Roland McGrath <roland@hack.frob.com>
5299
5300 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5301
0695940b
RS
53022013-05-01 Richard Smith <richard@metafoo.co.uk>
5303
bb5f27ad 5304 [BZ #14952]
0695940b
RS
5305 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5306 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5307 Use __attribute__ ((__gnu_inline__)).
5308 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5309 Don't use __attribute__ ((__gnu_inline__)).
5310
10de07f5
JM
53112013-05-01 Joseph Myers <joseph@codesourcery.com>
5312
5313 [BZ #15423]
5314 * math/s_catan.c (__catan): Handle small real or imaginary part of
5315 input specially to avoid spurious underflow.
5316 * math/s_catanf.c (__catanf): Likewise.
5317 * math/s_catanh.c (__catanh): Likewise.
5318 * math/s_catanhf.c (__catanhf): Likewise.
5319 * math/s_catanhl.c (__catanhl): Likewise.
5320 * math/s_catanl.c (__catanl): Likewise.
5321 * math/libm-test.inc (catan_test): Add more tests.
5322 (catanh_test): Likewise.
5323 * sysdeps/i386/fpu/libm-test-ulps: Update.
5324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5325
cb4d5414
AZ
53262013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5327
5328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5329
caf84319
JM
53302013-04-30 Joseph Myers <joseph@codesourcery.com>
5331
5332 [BZ #15416]
5333 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5334 accurately for denominator in atan2.
5335 * math/s_catanf.c (__catanf): Likewise.
5336 * math/s_catanh.c (__catanh): Likewise.
5337 * math/s_catanhf.c (__catanhf): Likewise.
5338 * math/s_catanhl.c (__catanhl): Likewise.
5339 * math/s_catanl.c (__catanl): Likewise.
5340 * math/libm-test.inc (catan_test): Add more tests.
5341 (catanh_test): Likewise.
5342 * sysdeps/i386/fpu/libm-test-ulps: Update.
5343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5344
d569c6ee
SP
53452013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5346
6dbe713d
SP
5347 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5348
f0ee064b
SP
5349 * benchtests/Makefile (bench): Remove slow benchmarks.
5350 * benchtests/atan-inputs: Add slow benchmark inputs.
5351 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5352 (BENCH_FUNC): Accept variant offset.
5353 (VARIANT): Define.
5354 * benchtests/bench-skeleton.c (main): Run benchmark for each
5355 variant.
5356 * benchtests/cos-inputs: Add slow benchmark inputs.
5357 * benchtests/exp-inputs: Likewise.
5358 * benchtests/pow-inputs: Likewise.
5359 * benchtests/sin-inputs: Likewise.
5360 * benchtests/slowatan-inputs: Remove.
5361 * benchtests/slowatan.c: Remove.
5362 * benchtests/slowcos-inputs: Remove.
5363 * benchtests/slowcos.c: Remove.
5364 * benchtests/slowexp-inputs: Remove.
5365 * benchtests/slowexp.c: Remove.
5366 * benchtests/slowpow-inputs: Remove.
5367 * benchtests/slowpow.c: Remove.
5368 * benchtests/slowsin-inputs: Remove.
5369 * benchtests/slowsin.c: Remove.
5370 * benchtests/slowtan-inputs: Remove.
5371 * benchtests/slowtan.c: Remove.
5372 * benchtests/tan-inputs: Add slow benchmark inputs.
5373 * scripts/bench.pl: Parse comments and directives.
5374
d569c6ee
SP
5375 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
5376 in CPPFLAGS.
5377 ($(objpfx)bench-%.c): Remove *-ITER.
5378 * benchtests/bench-modf.c: Remove definition of ITER.
5379 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5380 (main): Loop for DURATION seconds instead of fixed number of
5381 iterations.
5382 * scripts/bench.pl: Don't expect iterations in parameters.
5383
a6a242fe
RM
53842013-04-29 Roland McGrath <roland@hack.frob.com>
5385
5386 * io/fchdir.c (__fchdir): Renamed from fchdir.
5387 (fchdir): Define as weak alias.
5388
f2da7793
JM
53892013-04-29 Joseph Myers <joseph@codesourcery.com>
5390
5391 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5392 (ERRNO_EDOM): Likewise.
5393 (ERRNO_ERANGE): Likewise.
5394 (noErrnoTests): New variable.
5395 (init_max_error): Set errno to 0.
5396 (test_single_errno): New function.
5397 (test_errno): Likewise.
5398 (check_float_internal): Call test_errno. Set errno to 0.
5399 (check_complex): Refer to errno tests in comment.
5400 (check_int): Call test_errno. Set errno to 0.
5401 (check_long): Likewise.
5402 (check_bool): Likewise.
5403 (check_longlong): Likewise.
5404 (cos_test): Use ERRNO_* flags for errno tests instead of
5405 check_int.
5406 (expm1_test): Likewise.
5407 (fmod_test): Likewise.
5408 (ilogb_test): Likewise.
5409 (lgamma_test): Likewise.
5410 (pow_test): Likewise.
5411 (remainder_test): Likewise.
5412 (sin_test): Likewise.
5413 (tan_test): Likewise.
5414 (yn_test): Likewise.
5415 (initialize): Set errno to 0.
5416 (main): Print number of errno tests.
5417 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5418
b1a36ceb
AJ
54192013-04-29 Andreas Jaeger <aj@suse.de>
5420
c3ed8088
AJ
5421 [BZ #15084]
5422 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5423 and RES_USEVC.
5424
f1a24198
AJ
5425 [BZ #15085]
5426 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5427 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5428 unimplemented.
5429
9ce3b2cb
AJ
5430 [BZ #15380]
5431 * stdlib/random.c (__initstate): Return NULL if
5432 __initstate fails.
5433
f1a24198 5434 [BZ #15086]
b1a36ceb
AJ
5435 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5436 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5437 RES_SNGLKUPREOP.
5438
7e7b6f36
AZ
54392013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5440
5441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5442
4d14f449
JM
54432013-04-29 Joseph Myers <joseph@codesourcery.com>
5444
5445 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5446 of individual tests.
5447 (casin_test): Likewise.
5448 (casinh_test): Likewise.
5449
5b4217d7
JM
54502013-04-27 Joseph Myers <joseph@codesourcery.com>
5451
5452 [BZ #15409]
5453 * math/s_catan.c (__catan): Handle arguments with large real or
5454 imaginary part separately without squaring.
5455 * math/s_catanf.c (__catanf): Likewise.
5456 * math/s_catanh.c (__catanh): Likewise.
5457 * math/s_catanhf.c (__catanhf): Likewise.
5458 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5459 and redefine.
5460 (__catanhl): Handle arguments with large real or imaginary part
5461 separately without squaring.
5462 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5463 and redefine.
5464 (__catanl): Handle arguments with large real or imaginary part
5465 separately without squaring.
5466 * math/libm-test.inc (catan_test): Add more tests.
5467 (catanh_test): Likewise.
5468 * sysdeps/i386/fpu/libm-test-ulps: Update.
5469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5470
4220c3ef
AJ
54712013-04-27 Andreas Jaeger <aj@suse.de>
5472
5473 [BZ #15007]
5474 * stdlib/stdlib.h: Update guards for qecvt.
5475 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5476 <stdlib.h>.
5477
4721b2d1
AM
54782013-04-27 Allan McRae <allan@archlinux.org>
5479
5480 * sysdeps/i386/fpu/libm-test-ulps: Update.
5481
f0302940
JM
54822013-04-26 Joseph Myers <joseph@codesourcery.com>
5483
9457fd95
JM
5484 [BZ #15406]
5485 * math/s_catan.c: Include <float.h>.
5486 (__catan): Ensure underflow exception occurs for underflowed
5487 result.
5488 * math/s_catanf.c: Include <float.h>.
5489 (__catanf): Ensure underflow exception occurs for underflowed
5490 result.
5491 * math/s_catanh.c: Include <float.h>.
5492 (__catanh): Ensure underflow exception occurs for underflowed
5493 result.
5494 * math/s_catanhf.c: Include <float.h>.
5495 (__catanhf): Ensure underflow exception occurs for underflowed
5496 result.
5497 * math/s_catanhl.c: Include <float.h>.
5498 (__catanhl): Ensure underflow exception occurs for underflowed
5499 result.
5500 * math/s_catanl.c: Include <float.h>.
5501 (__catanl): Ensure underflow exception occurs for underflowed
5502 result.
5503 * math/libm-test.inc (catan_test): Add more tests.
5504 (catanh_test): Likewise.
5505
f0302940
JM
5506 [BZ #15405]
5507 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5508 underflowed result.
5509 * math/s_ccoshf.c (__ccoshf): Likewise.
5510 * math/s_ccoshl.c (__ccoshl): Likewise.
5511 * math/s_csin.c (__csin): Likewise.
5512 * math/s_csinf.c (__csinf): Likewise.
5513 * math/s_csinh.c (__csinh): Likewise.
5514 * math/s_csinhf.c (__csinhf): Likewise.
5515 * math/s_csinhl.c (__csinhl): Likewise.
5516 * math/s_csinl.c (__csinl): Likewise.
5517 * math/libm-test.inc (ccos_test): Add more tests.
5518 (ccosh_test): Likewise.
5519 (csin_test): Likewise.
5520 (csinh_test): Likewise.
5521
aa630f59
AZ
55222013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5523
5524 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5525 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5526 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5527 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5528 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5529 powerpc/power5+/fpu folders.
5530 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5531
5532
1b835983
MT
55332013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
5534
5535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5536
73709b26
JM
55372013-04-25 Joseph Myers <joseph@codesourcery.com>
5538
5539 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5540 additions to variable.
5541 [$(config-machine) = x86_64] (modules-names): Likewise.
5542 ($(objpfx)tst-audit3): Remove dependency.
5543 ($(objpfx)tst-audit3.out): Likewise.
5544 ($(objpfx)tst-audit4): Likewise.
5545 ($(objpfx)tst-audit4.out): Likewise.
5546 ($(objpfx)tst-audit5): Likewise.
5547 ($(objpfx)tst-audit5.out): Likewise.
5548 ($(objpfx)tst-audit6): Likewise.
5549 ($(objpfx)tst-audit6.out): Likewise.
5550 ($(objpfx)tst-audit7): Likewise.
5551 ($(objpfx)tst-audit7.out): Likewise.
5552 (tst-audit3-ENV): Remove variable.
5553 (tst-audit4-ENV): Likewise.
5554 (tst-audit5-ENV): Likewise.
5555 (tst-audit6-ENV): Likewise.
5556 (tst-audit7-ENV): Likewise.
5557 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5558 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5559 addition to variable.
5560 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5561 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5562 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5563 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5564 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5565 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5566 tst-audit3, tst-audit4 and tst-audit5.
5567 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5568 tst-audit6 and tst-audit7.
5569 [$(subdir) = elf] (modules-names): Add audit modules for those
5570 tests.
5571 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5572 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5573 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5574 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5575 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5576 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5577 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5578 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5579 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5580 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5581 [$(subdir) = elf] (tst-audit3-ENV): New variable.
5582 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5583 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5584 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5585 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5586 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5587 Likewise.
5588 [$(subdir) = elf && $(config-cflags-avx) = yes]
5589 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5590 [$(subdir) = elf && $(config-cflags-avx) = yes]
5591 (CFLAGS-tst-auditmod4a.c): Likewise.
5592 [$(subdir) = elf && $(config-cflags-avx) = yes]
5593 (CFLAGS-tst-auditmod4b.c): Likewise.
5594 [$(subdir) = elf && $(config-cflags-avx) = yes]
5595 (CFLAGS-tst-auditmod6b.c): Likewise.
5596 [$(subdir) = elf && $(config-cflags-avx) = yes]
5597 (CFLAGS-tst-auditmod6c.c): Likewise.
5598 [$(subdir) = elf && $(config-cflags-avx) = yes]
5599 (CFLAGS-tst-auditmod7b.c): Likewise.
5600 * elf/tst-audit3.c: Move to ...
5601 * sysdeps/x86_64/tst-audit3.c: ... here.
5602 * elf/tst-audit4.c: Move to ...
5603 * sysdeps/x86_64/tst-audit4.c: ... here.
5604 * elf/tst-audit5.c: Move to ...
5605 * sysdeps/x86_64/tst-audit5.c: ... here.
5606 * elf/tst-audit6.c: Move to ...
5607 * sysdeps/x86_64/tst-audit6.c: ... here.
5608 * elf/tst-audit7.c: Move to ...
5609 * sysdeps/x86_64/tst-audit7.c: ... here.
5610 * elf/tst-auditmod3a.c: Move to ...
5611 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5612 * elf/tst-auditmod3b.c: Move to ...
5613 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5614 * elf/tst-auditmod4a.c: Move to ...
5615 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5616 * elf/tst-auditmod4b.c: Move to ...
5617 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5618 * elf/tst-auditmod5a.c: Move to ...
5619 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5620 * elf/tst-auditmod5b.c: Move to ...
5621 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5622 * elf/tst-auditmod6a.c: Move to ...
5623 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5624 * elf/tst-auditmod6b.c: Move to ...
5625 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5626 * elf/tst-auditmod6c.c: Move to ...
5627 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5628 * elf/tst-auditmod7a.c: Move to ...
5629 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5630 * elf/tst-auditmod7b.c: Move to ...
5631 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5632
1ef74943
PP
56332013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
5634
5635 [BZ #15366]
5636 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5637 define unconditionally.
5638 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5639 define unconditionally.
5640 (INT8_C, INT16_C, etc.): Likewise.
5641
93fd48c5
MR
56422013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
5643
ae9552cf
MR
5644 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5645 __ehdr_start with hidden visibility.
5646
93fd48c5
MR
5647 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5648
418601aa
CD
56492013-04-24 Carlos O'Donell <carlos@redhat.com>
5650
5651 * math/libm-test.inc (cos_test): Use accurate hex constants.
5652 (sincost_test): Likewise.
5653
2f38fbfe
JM
56542013-04-24 Joseph Myers <joseph@codesourcery.com>
5655
5e221800
JM
5656 * math/libm-test.inc (catan_test): Add more tests.
5657 (catanh_test): Likewise.
5658
77f143fd
JM
5659 * math/s_catanf.c (__catanf): Use suffixed floating-point
5660 constants.
5661 * math/s_catanhf.c (__catanhf): Likewise.
5662 * math/s_catanhl.c (__catanhl): Likewise.
5663 * math/s_catanl.c (__catanl): Likewise.
5664
2f38fbfe
JM
5665 [BZ #15394]
5666 * math/s_catan.c (__catan): Calculate imaginary part of result
5667 with log1p not log unless computing log of number close to 0.
5668 * math/s_catanf.c (__catanf): Likewise.
5669 * math/s_catanl.c (__catanl): Likewise.
5670 * math/s_catanh.c (__catanh): Calculate real part of result with
5671 log1p not log unless computing log of number close to 0.
5672 * math/s_catanhf.c (__catanhf): Likewise.
5673 * math/s_catanhl.c (__catanhl): Likewise.
5674 * math/libm-test.inc (catan_test): Add more tests.
5675 (catanh_test): Likewise.
5676 * sysdeps/i386/fpu/libm-test-ulps: Update.
5677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5678
45d69176
SP
56792013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5680
5681 * benchtests/Makefile: Mention files in which fast and slow
5682 paths of math functions are implemented.
5683
87f51853
RM
56842013-04-23 Roland McGrath <roland@hack.frob.com>
5685
5686 * sysdeps/posix/timespec_get.c: New file.
5687
3c026539
AZ
56882013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5689
5690 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5691 POWER.
5692 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5693 for POWER.
5694 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5695 powerpc/power5/fpu folders.
5696 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5697 * benchtests/Makefile: Add modf testcase.
5698 * benchtests/bench-modf.c: New file: Benchmark test for mo
5699
ff491d14
SP
57002013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5701
5702 [BZ #14888]
5703 * time/Makefile (tests): Add tst-strptime-whitespace.
5704 * time/strptime_l.c (get_number): Use ISSPACE.
5705 (__strptime_internal): Likewise.
5706 * time/tst-strptime-whitespace.c: New test case.
5707
7ed3f4e8
AS
57082013-04-23 Andreas Schwab <schwab@linux-m68k.org>
5709
5710 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5711 member.
5712 (_nss_files_init): Set it here.
5713
5c95f7b6
HC
57142013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
5715
5716 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5717 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5718 unsigned.
5719
d34c9158
JBG
57202013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
5721
5722 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5723
2169712d
SP
57242013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5725
5726 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5727 size just once.
5728
29c5de99
DM
57292013-04-21 David S. Miller <davem@davemloft.net>
5730
5731 * po/ru.po: Update Russion translation from translation project.
5732
ccdad15d
AC
57332013-04-17 Adam Conrad <adconrad@0c3.net>
5734
5735 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5736 and setfsgid.
5737
0f122b8d
CD
57382013-04-17 Carlos O'Donell <carlos@redhat.com>
5739
5c5b07da 5740 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 5741 * configure: Regenerate.
5c5b07da 5742 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
5743 Add example to error message.
5744 * sysdeps/i386/configure: Regenerate.
5745
037714dd
SP
57462013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5747
5748 * benchtests/Makefile (bench): Add cos, tan, slowcos and
5749 slowtan.
5750 * benchtests/cos-inputs: New file.
5751 * benchtests/slowcos-inputs: New file.
5752 * benchtests/slowcos.c: New file.
5753 * benchtests/slowtan-inputs: New file.
5754 * benchtests/slowtan.c: New file.
5755 * benchtests/tan-inputs: New file.
5756
e913141d
RM
57572013-04-16 Roland McGrath <roland@hack.frob.com>
5758
5759 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5760 considered kosher.
5761
a2964074
SP
57622013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5763
4856bcd2
SP
5764 * benchtests/Makefile: Include cppflags-iterator.mk to add
5765 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5766
a2964074
SP
5767 * Makefile.in (bench-clean): New target.
5768 * benchtests/Makefile (bench-clean): Likewise.
5769
9fbf9aca
DH
57702013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
5771
5772 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5773
207d1e2a
TS
57742013-04-15 Thomas Schwinge <thomas@codesourcery.com>
5775
5776 * stdio-common/tstdiomisc.c: Fix coding-style violation.
5777
306dfba9
AS
57782013-04-15 Andreas Schwab <schwab@suse.de>
5779
5780 * nscd/grpcache.c (cache_addgr): Properly check for short write.
5781 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5782 * nscd/pwdcache.c (cache_addpw): Likewise.
5783 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
5784 more than recsize.
5785
206a6699
SP
57862013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5787
5788 * benchtests/Makefile (bench): Write all output to
5789 bench-out.tmp together.
5790
0582f6b3
AS
57912013-04-15 Andreas Schwab <schwab@suse.de>
5792
5793 * nscd/nscd.c (main): Don't fork again after closing files.
5794
acb4325f
SP
57952013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5796
5cb26d0a
SP
5797 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5798
acb4325f
SP
5799 * benchtests/Rules (bench-deps): Collect dependencies into a
5800 single variable. Add Makefile to dependencies.
5801 ($(objpfx)bench-%.c): Depend on bench-deps.
5802
47792506
RM
58032013-04-12 Roland McGrath <roland@hack.frob.com>
5804 Xavier Roche <roche+kml2@exalead.com>
5805
5806 [BZ #15361]
5807 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5808 just that it's a file descriptor.
5809 * manual/llio.texi (Synchronizing AIO Operations): Update description
5810 for EBADF error from aio_fsync.
5811
8fc1bee5
SP
58122013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5813
5814 * Rules (bench): Move target definition...
5815 * benchtests/Makefile: ... here.
5816
aba5e333
CD
58172013-04-11 Carlos O'Donell <carlos@redhat.com>
5818
5819 * math/libm-test.inc (cos_test): Fix PI/2 test.
5820 (sincos_test): Likewise.
5821 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5822 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5823
273cdee8
AS
58242013-04-11 Andreas Schwab <schwab@suse.de>
5825
6ecec3b6
AS
5826 [BZ #13988]
5827 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5828 accept exponent character only when digits were seen.
5829 * stdio-common/Makefile (tests): Add bug26.
5830 * stdio-common/bug26.c: New file.
5831
273cdee8
AS
5832 [BZ #14293]
5833 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5834 non-freeable.
5835
8da491f5
SP
58362013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5837
01dc6df9
SP
5838 * Makeconfig (rtld-prefix): Define built linker prefix.
5839 * Rules (run-bench): Use it.
5840 * math/Makefile (run-regen-ulps): Likewise.
5841
8da491f5
SP
5842 * Rules (bench): Remove eval.
5843
abe7f530
SP
58442013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5845 Roland McGrath <roland@hack.frob.com>
5846 Ondrej Bilka <neleai@seznam.cz>
5847
5848 [BZ #15346]
5849 * time/getdate.c: Include ctype.h and alloca.h.
5850 (__getdate_r): Trim leading and trailing spaces of input.
5851 * time/tst-getdate.c (tests): Add tests with leading and
5852 trailing spaces.
5853
61c23e62
RM
58542013-04-08 Roland McGrath <roland@hack.frob.com>
5855
5856 [BZ #14280]
5857 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5858 when computing value.
5859
7208a313
CD
58602013-04-06 Carlos O'Donell <carlos@redhat.com>
5861
085b2d41
CD
5862 * math/README.libm-test (How can I generate "libm-test-ulps"?):
5863 Use testrun.sh to run libm tests.
5864
7208a313
CD
5865 [BZ #15309]
5866 * elf/dl-open.c (dl_open_worker): memset all of seen array.
5867
872c0acd
MM
58682013-04-06 Marko Myllynen <myllynen@redhat.com>
5869
5870 [BZ #15264]
5871 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5872
26510bdd
CD
58732013-04-06 Carlos O'Donell <carlos@redhat.com>
5874
5875 * Makefile.in (regen-ulps): New target.
5876 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5877 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5878 [ifneq (no,$(PERL)] (regen-ulps): New target.
5879 [ifeq (no,$(PERL)] (regen-ulps): New target.
5880 * math/libm-test.inc (ulps_file_name): Define.
5881 (output_dir): New variable.
5882 (options): Add "output-dir" option.
5883 (parse_opt): Handle 'o' case.
5884 (main): If output_dir is non-NULL use it as a prefix
5885 otherwise use "".
5886 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5887
a01f19c8
CD
58882013-04-06 Carlos O'Donell <carlos@redhat.com>
5889
5890 [BZ #10060, #10062]
5891 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5892 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5893 fail configure if __sync_val_compare_and_swap is not inlined.
5894 * sysdeps/i386/configure: Regenerate.
5895 * configure.in: Build for i686 when configured for i386.
5896 * configure: Regenerate.
5897 * README: Remove i386 reference.
5898
b7a329a5
CD
58992013-04-06 Carlos O'Donell <carlos@redhat.com>
5900
5901 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5902 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5903
bf0f50df
TS
59042013-04-05 Thomas Schwinge <thomas@codesourcery.com>
5905
ee091edf
TS
5906 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5907 (lmsnanval): New variables.
5908 (F): Add conversion tests.
5909 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5910 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5911
a8b792d6
TS
5912 * stdio-common/tstdiomisc.c (F): Properly collect individual
5913 tests' results.
5914
a1cbf437
TS
5915 [BZ #14686, #15336]
5916 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5917 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5918 Instead, use input NaN values or generate a qNaN by arithmetic
5919 operation. Also fix bugs to comply with the standard.
5920 * math/libm-test.inc (remainder_test): Add more tests.
5921
8b43a0c9
TS
5922 [BZ #15335, #15342]
5923 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5924 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5925 input NaN values or generate a qNaN by arithmetic operation.
5926
d91da4ce
TS
5927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5928 unreachable code.
5929
bf0f50df
TS
5930 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5931 definitions.
5932
05e166c8
JM
59332013-04-03 Joseph Myers <joseph@codesourcery.com>
5934
5935 [BZ #14478]
5936 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5937 underflowed result.
5938 * math/s_cexpf.c (__cexpf): Likewise.
5939 * math/s_cexpl.c (__cexpl): Likewise.
5940 * math/libm-test.inc (cexp_test): Add more tests.
5941
1cef1b19
AS
59422013-04-03 Andreas Schwab <schwab@suse.de>
5943
5944 [BZ #15330]
5945 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5946 order arrays from heap if bigger than alloca cutoff.
5947
74d87055
TS
59482013-04-03 Thomas Schwinge <thomas@codesourcery.com>
5949
5950 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5951 (SNAN_TESTS_double): Refer to GCC PR56831.
5952 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5953 GCC PR56828.
5954
d755bba4
SP
59552013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5956
90d5d5bb
SP
5957 * Rules (bench): Move bench.out after the run is complete.
5958
73e0cd5d
SP
5959 * Rules (bench): Echo currently running benchmark.
5960
64aabd4b
SP
5961 * benchtests/Makefile (bench): Add atan and slowatan.
5962 * benchtests/atan-inputs: New file.
5963 * benchtests/slowatan-inputs: New file.
5964 * benchtests/slowatan.c: New file.
5965
c871eccd
SP
5966 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5968 its value.
5969
d755bba4
SP
5970 [BZ #15305]
5971 * sysdeps/unix/sysv/linux/kernel-features.h
5972 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5973 __ASSUME_XFS_RESTRICTED_CHOWN.
5974 * sysdeps/unix/sysv/linux/pathconf.c
5975 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5976 Save and restore errno.
5977
52ce4860
JM
59782013-04-02 Joseph Myers <joseph@codesourcery.com>
5979
5980 [BZ #15327]
5981 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5982 arguments using __kernel_casinh.
5983 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5984 arguments using __kernel_casinhf.
5985 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5986 arguments using __kernel_casinhl.
5987 * math/libm-test.inc (cacosh_test): Add more tests.
5988 * sysdeps/i386/fpu/libm-test-ulps: Update.
5989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5990
81f311c2
SP
59912013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5992
e7906a47
SP
5993 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5994 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5995
92e3664b
SP
5996 * bench/Makefile (bench): Add sin and slowsin.
5997 * benchtests/sin-inputs: New file.
5998 * benchtests/slowsin-inputs: New file.
5999 * benchtests/slowsin.c: New file.
6000
81f311c2
SP
6001 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6002 (bench): Add slowexp and slowpow.
6003 (exp-ITER): Increase iterations.
6004 (pow-ITER): Likewise.
6005 * benchtests/exp-inputs: Change input.
6006 * benchtests/pow-inputs: Likewise.
6007 * benchtests/slowexp-inputs: New file.
6008 * benchtests/slowexp.c: New file.
6009 * benchtests/slowpow-inputs: New file.
6010 * benchtests/slowpow.c: New file.
6011
ab0f1aa9
AZ
60122013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6013
6014 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6015 instructions.
6016 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6017 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6018 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6019 * benchtests/Makefile: Add rint benchtest.
6020 * benchtests/rint-inputs: Input for rint benchtest.
6021
57267616
TS
60222013-04-02 Thomas Schwinge <thomas@codesourcery.com>
6023
6024 * Versions.def (libm): Add GLIBC_2.18.
6025 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6026 hidden libm prototypes.
6027 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6028 * math/Makefile (libm-calls): Add s_issignaling.
6029 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6030 __issignalingf, __issignalingl. Adjust all libm.abilist files.
6031 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6032 declaration.
6033 * math/math.h [__USE_GNU] (issignaling): New macro.
6034 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6035 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6036 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6037 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6038 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6039 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6040 * manual/arith.texi (issignaling): New section.
6041 * manual/libm-err-tab.pl (@all_functions): Update comment.
6042 * math/gen-libm-test.pl (parse_args): Apply special handling for
6043 issignaling.
6044 * math/libm-test.inc (print_float, issignaling_test): New
6045 functions.
6046 (check_float_internal): Add issignaling checks.
6047 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6048 default definition.
6049 * sysdeps/powerpc/math-tests.h: New file.
6050 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6051 tests.
6052 * math/test-snan.c (TEST_FUNC): Likewise.
6053
6142896d
DM
60542013-03-30 David S. Miller <davem@davemloft.net>
6055
6056 * po/de.po: Update from translation team.
6057
ccc8cadf
JM
60582013-03-30 Joseph Myers <joseph@codesourcery.com>
6059
6060 [BZ #10357]
6061 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6062 imaginary part less than 1.0 and real part less than 0.5
6063 specially.
6064 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6065 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6066 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6067 (cacos_test): Add more tests.
6068 (casin_test): Likewise.
6069 (casinh_test): Likewise.
6070 * sysdeps/i386/fpu/libm-test-ulps: Update.
6071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6072
0f6a8d4b
SP
60732013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6074
0d1029de
SP
6075 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6076 ONE with its value.
6077
c2d94018
SP
6078 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6079 (__pow_mp): Replace ONE and MONE with their values.
6080 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6081 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6082 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6083 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6084 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6085 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6086
27ec37f1
SP
6087 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6088
a64d7e0e
SP
6089 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6090 (__pow_mp): Replace ZERO and MZERO with their values.
6091 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6092 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6093 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6095 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6096 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6097 (__sqr): Likewise.
6098
d26dd3eb
SP
6099 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6100
0f6a8d4b
SP
6101 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6102
e57b0c61
RM
61032013-03-28 Roland McGrath <roland@hack.frob.com>
6104
6105 * include/stdlib.h [!SHARED] (__call_tls_dtors):
6106 Declare with __attribute__ ((weak)).
6107 * stdlib/exit.c (__libc_atexit) [!SHARED]:
6108 Call __call_tls_dtors only if it's not NULL.
6109
356b3480
RM
61102013-03-28 Roland McGrath <roland@hack.frob.com>
6111
288f7d79
RM
6112 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6113 didn't do it already, then set _dl_phdr and _dl_phnum based on the
6114 magic __ehdr_start linker symbol if it's defined.
6115 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6116 them up here if it was already done.
6117
dc0a0263
RM
6118 * elf/dl-support.c (_dl_phdr): Make pointer to const.
6119 (_dl_aux_init): Use const in cast when setting it.
6120 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6121 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6122 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6123
3d3436ae
RM
6124 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6125 Declare them here.
6126 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6127 * csu/libc-tls.c: Nor here.
6128 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6129
356b3480
RM
6130 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6131 (__libc_message): Never call vsyslog.
6132
b0f1246a
AM
61332013-03-28 Alan Modra <amodra@gmail.com>
6134
6135 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6136 Define as empty.
6137 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6138 Likewise.
6139
fbbe2b9a
AZ
61402013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6141
6142 [BZ #15214]
6143 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6144 underflow.
6145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6146
1728ab37
SP
61472013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6148
7a86be6e
SP
6149 [BZ #15304]
6150 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6151 Don't add gid passed as argument.
6152
1728ab37
SP
6153 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6154
3a7182a1
JM
61552013-03-27 Joseph Myers <joseph@codesourcery.com>
6156
6157 [BZ #15307]
6158 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6159 imaginary part between 1.0 and 1.5 and real part less than 0.5
6160 specially.
6161 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6162 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6163 * math/libm-test.inc (cacos_test): Add more tests.
6164 (casin_test): Likewise.
6165 (casinh_test): Likewise.
6166 * sysdeps/i386/fpu/libm-test-ulps: Update.
6167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6168
6f2e90e7
SP
61692013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6170
5739f705
SP
6171 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6172 constants.
6173 (norm): Likewise.
6174 (denorm): Likewise.
6175 (__dbl_mp): Likewise.
6176 (add_magnitudes): Likewise.
6177 (sub_magnitudes): Likewise.
6178 (__add): Likewise.
6179 (__sub): Likewise.
6180 (__mul): Likewise.
6181 (__sqr): Likewise.
6182 (__inv): Likewise.
6183 (__dvd): Likewise.
6184
e375e83d
SP
6185 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6186 commented code.
6187 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6188 (__dubcos): Likewise.
6189 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6190 (__ieee754_acos): Likewise.
6191 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6192 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6193 (__exp1): Likewise.
6194 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6195 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6196 (log1): Likewise.
6197 (my_log2): Likewise.
6198 (checkint): Likewise.
6199 * sysdeps/ieee754/dbl-64/e_remainder.c
6200 (__ieee754_remainder): Likewise.
6201 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6202 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6203 (bsloww): Likewise.
6204 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6205
6f2e90e7
SP
6206 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6207 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6208 MANTISSA_STORE_T to store computations on mantissa. Use
6209 macros for rounding and division.
6210 (denorm): Likewise.
6211 (__dbl_mp): Likewise.
6212 (add_magnitudes): Likewise.
6213 (sub_magnitudes): Likewise.
6214 (__mul): Likewise.
6215 (__sqr): Likewise.
6216 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6217 powers of two in terms of TWOPOW macro.
6218 (mp_no): Make type of mantissa as MANTISSA_T.
6219 [!RADIXI]: Define RADIXI.
6220 [!TWO52]: Define TWO52.
6221 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6222
fce14d4e
AZ
62232013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6224
6225 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6226 llroundl symbol when building for PPC32.
6227
9ad027fb
MW
62282013-03-24 Mark H Weaver <mhw@netris.org>
6229
6230 * manual/arith.texi (Normalization Functions): Fix prototypes for
6231 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6232
e42a38dd
AZ
62332013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6234
6235 [BZ #13889]
6236 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6237 high value to check if expl overflow.
6238 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6239 to check for underflow and overflow.
6240 * math/libm-test.inc: Add exp test.
6241
2e0fb521
DL
62422013-03-21 Dmitry V. Levin <ldv@altlinux.org>
6243
6244 [BZ #11120]
6245 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6246 with NOT_IN_libc.
6247
b5784d95
AZ
62482013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6249
6250 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6251 symbol.
6252
5aa4a1a1
TS
62532013-03-21 Thomas Schwinge <thomas@codesourcery.com>
6254
bdef0be7
TS
6255 * math/gen-libm-test.pl (parse_args, special_functions): Properly
6256 wrap blocks consisting of several statements.
6257
5aa4a1a1
TS
6258 * sysdeps/generic/math-tests.h: New file.
6259 * sysdeps/i386/fpu/math-tests.h: Likewise.
6260 * math/test-snan.c: Include it.
6261 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6262
98c48fe5
JM
62632013-03-21 Joseph Myers <joseph@codesourcery.com>
6264
6265 [BZ #15285]
6266 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6267 (__ieee754_j0l): Do not improve calculations using cos of twice
6268 input for inputs above LDBL_MAX / 2.0L.
6269 (__ieee754_y0l): Likewise.
6270 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6271 (__ieee754_j1l): Do not improve calculations using cos of twice
6272 input for inputs above LDBL_MAX / 2.0L.
6273 (__ieee754_y1l): Likewise.
6274 * math/libm-test.inc (j0_test): Add another test.
6275 (j1_test): Likewise.
6276 (y0_test): Likewise.
6277 (y1_test): Likewise.
6278 * sysdeps/i386/fpu/libm-test-ulps: Update.
6279
3775a8bc
SP
62802013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6281
6282 * Rules ($(objpfx)bench-%.c): Include code from a C source
6283 file.
6284
0a1b2ae6
JM
62852013-03-21 Joseph Myers <joseph@codesourcery.com>
6286
6287 [BZ #15287]
6288 * math/k_casinh.c (__kernel_casinh): Handle arguments with
6289 imaginary part 1.0 and real part less than 0.5 specially.
6290 * math/k_casinhf.c (__kernel_casinhf): Likewise.
6291 * math/k_casinhl.c (__kernel_casinhl): Likewise.
6292 * math/libm-test.inc (cacos_test): Add more tests.
6293 (casin_test): Likewise.
6294 (casinh_test): Likewise.
6295 * sysdeps/i386/fpu/libm-test-ulps: Update.
6296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6297
b33d4ce4
SP
62982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6299
6300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6301 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6302
bef0b507
JM
63032013-03-20 Joseph Myers <joseph@codesourcery.com>
6304
6305 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6306 * config.make.in (config-cflags-sse4): Remove variable.
6307 (config-cflags-avx): Likewise.
6308 (config-cflags-sse2avx): Likewise.
6309 (config-cflags-novzeroupper): Likewise.
6310 (config-asflags-i686): Likewise.
6311 (have-mfma4): Likewise.
6312 (have-as-vis3): Likewise.
6313 (MIG): Likewise.
6314 * configure.in (MIG): Do not AC_SUBST.
6315 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6316 (libc_cv_cc_sse4): Do not AC_SUBST.
6317 (libc_cv_cc_avx): Likewise.
6318 (libc_cv_cc_sse2avx): Likewise.
6319 (libc_cv_cc_novzeroupper): Likewise.
6320 (libc_cv_cc_fma4): Likewise.
6321 (libc_cv_as_i686): Likewise.
6322 (libc_cv_sparc_as_vis3): Likewise.
6323 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6324 LIBC_CONFIG_VAR.
6325 (config-asflags-i686): Likewise.
6326 (config-cflags-avx): Likewise.
6327 (config-cflags-sse2avx): Likewise.
6328 (have-mfma4): Likewise.
6329 (config-cflags-novzeroupper): Likewise.
6330 * sysdeps/mach/configure.in (MIG): Likewise.
6331 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6332 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6333 LIBC_CONFIG_VAR.
6334 (config-cflags-avx): Likewise.
6335 (config-cflags-sse2avx): Likewise.
6336 (have-mfma4): Likewise.
6337 (config-cflags-novzeroupper): Likewise.
6338 * configure: Regenerated.
6339 * sysdeps/i386/configure: Likewise.
6340 * sysdeps/mach/configure: Likewise.
6341 * sysdeps/sparc/configure: Likewise.
6342 * sysdeps/x86_64/configure: Likewise.
6343
912cc4b3
RM
63442013-03-20 Roland McGrath <roland@hack.frob.com>
6345
6346 [BZ #14812]
6347 * locale/programs/localedef.c (options): Put N_ translation marker
6348 on argument names, not just descriptions.
6349
04eed2b0
MS
63502013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6351
6352 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6353
a065ceff
OB
63542013-03-20 Ondřej Bílka <neleai@seznam.cz>
6355
9bb2a810 6356 [BZ #14176]
a065ceff
OB
6357 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6358
a600e5ce
RM
63592013-03-19 Roland McGrath <roland@hack.frob.com>
6360
6361 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6362 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6363 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6364 [!BEFORE_ABORT] (before_abort): New function.
6365 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6366 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6367 (writev_for_fatal): New function.
6368 (WRITEV_FOR_FATAL): New macro; call that.
6369 (backtrace_and_maps): New function.
6370 (BEFORE_ABORT): New macro; call that.
6371 (struct str_list): Type removed.
6372 (__libc_message, __libc_fatal): Functions removed.
6373 Include <sysdeps/posix/libc_fatal.c> instead.
6374
6b18bea6
JM
63752013-03-19 Joseph Myers <joseph@codesourcery.com>
6376
6377 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6378 constants.
6379 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6380 double constants.
6381
aaa8cb4b
AS
63822013-03-19 Andreas Schwab <schwab@suse.de>
6383
44673770
AS
6384 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6385 * sysdeps/gnu/configure: Regenerate.
6386
aaa8cb4b
AS
6387 * configure.in: Substitute libc_cv_rtlddir.
6388 * configure: Regenerate.
6389 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6390 * Makeconfig (rtlddir, inst_rtlddir): New variables.
6391 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6392 * elf/Makefile (install-others, CFLAGS-interp.c)
6393 (ldso_install, common-ldd-rewrite): Likewise.
6394 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6395 $(inst_slibdir)/$(rtld-installed-name).
6396 * scripts/rellns-sh: Add -p option.
6397 * Makerules (make-shlib-link): Use rellns-sh to get relative name
6398 for source.
6399
d3cfc668
SP
64002013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6401
6402 * manual/nptl.texi: Renamed to ...
6403 * manual/threads.texi: ... this.
6404 * manual/Makefile (chapters): Update.
6405
0e2b9cdd
RM
64062013-03-18 Roland McGrath <roland@hack.frob.com>
6407
6408 [BZ #14812]
6409 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6410 on argument names, not just descriptions.
0e2b9cdd
RM
6411 * malloc/memusagestat.c (options): Likewise.
6412 * nss/getent.c (options): Likewise.
63270c24
RM
6413
64142013-03-18 Benno Schulenberg <bensberg@justemail.net>
6415
6416 [BZ #14812]
6417 * iconv/iconv_prog.c (options): Put N_ translation marker
6418 on argument names, not just descriptions.
6419 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 6420
b2e1393c
OB
64212013-03-18 Ondrej Bilka <neleai@seznam.cz>
6422
6423 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6424 implementation which is faster on all x86_64 architectures.
6425 Tested on AMD, Intel Nehalem, SNB, IVB.
6426 * sysdeps/x86_64/strnlen.S: Likewise.
6427
6428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6429 Remove all multiarch strlen and strnlen versions.
6430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6431 Remove strlen and strnlen related parts.
6432
6433 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6434 Inline strlen part.
6435 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6436
6437 * sysdeps/x86_64/multiarch/strlen.S: Remove.
6438 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6439 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6440 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6441 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6442 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6443
ec4ff04d
CD
64442013-03-17 Carlos O'Donell <carlos@redhat.com>
6445
6446 * manual/memory.texi (Malloc Tunable Parameters):
6447 Sort parameters alphabetically. Add comments for missing entries.
6448
cd18e90a
DM
64492013-03-17 David S. Miller <davem@davemloft.net>
6450
6451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6452
2a185d32
JM
64532013-03-16 Joseph Myers <joseph@codesourcery.com>
6454
d2f9799e
JM
6455 [BZ #15283]
6456 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6457 for arguments at most half maximum finite value.
6458 * math/libm-test.inc (j0_test): Add more tests.
6459 (j1_test): Likewise.
6460 (y0_test): Likewise.
6461 (y1_test): Likewise.
6462 * sysdeps/i386/fpu/libm-test-ulps: Update.
6463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6464
2a185d32
JM
6465 [BZ #14155]
6466 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6467 1 / x and functions P and Q for arguments above 0x1p256L.
6468 (__ieee754_y0l): Likewise.
6469 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6470 (__ieee754_y1l): Likewise.
6471 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6472 (j1_test): Likewise.
6473 (y0_test): Likewise.
6474 (y1_test): Likewise.
6475
6cbec759
TS
64762013-03-16 Thomas Schwinge <thomas@codesourcery.com>
6477
6478 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6479 variable.
6480
bc16e260
RM
64812013-03-15 Roland McGrath <roland@hack.frob.com>
6482
aefc9b8c
RM
6483 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6484 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6485 zero since it's initialized to EXEC_PAGESIZE.
6486
bc16e260
RM
6487 * sysdeps/unix/sysv/linux/ldsodefs.h
6488 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6489 * sysdeps/generic/ldsodefs.h: ... here.
6490
a57da955
TS
64912013-03-15 Thomas Schwinge <thomas@codesourcery.com>
6492
af00a34d
TS
6493 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6494
495ded2c
TS
6495 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6496 math/test-snan.c.
6497 * math/test-snan.c: Renamed from
6498 sysdeps/powerpc/fpu/test-powerpc-snan.c.
6499 * math/Makefile (tests): Add test-snan.
6500 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6501 test-powerpc-snan.
6502
777b0332
TS
6503 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6504 SUFFIX. Initialize qNaN_var with __builtin_nan family of
6505 functions.
6506 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
6507 __builtin_nan family of functions.
6508 * math/libm-test.inc (initialize): Initialize qnan_value with
6509 __builtin_nan family of functions.
6510 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6511 Remove variables.
6512 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6513 Remove functions.
6514 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
6515 storage class. Initialize qNaN_var and sNaN_var with
6516 __builtin_nan and __builtin_nans families of functions,
6517 respectively.
6518
64d063b8
TS
6519 * math/libm-test.inc (acosh_test): Also test with qNaN input.
6520 (sqrt_test): Remove duplicate test with qNaN input.
6521 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6522 (round_test, signbit_test, significand_test): Note missing +/-Inf
6523 as well as qNaN tests.
6524
67e971f1
TS
6525 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6526 qNaN_var. Fix a few strings, too.
6527 * math/libm-test.inc (nan_value): Rename to qnan_value.
6528 * math/gen-libm-test.pl (%beautify): Adjust to that.
6529 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6530 * math/test-misc.c (main): Likewise.
6531 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6532 to __qnan_bytes, and __qnan_union, respectively.
6533 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6534 Likewise.
6535 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6536 and lqnanval, respectively.
6537 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6538 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6539 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6540 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6541
64487e12
TS
6542 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6543 * math/test-misc.c (main) [__x86_64__]: Enable test for long
6544 doubles.
6545
e015e27b
TS
6546 * math/test-misc.c (main): Fix copy'n'pastos.
6547 * misc/tst-efgcvt.c (special): Likewise.
6548
a57da955
TS
6549 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6550 Remove declarations.
6551
1e380345
SP
65522013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6553
6554 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6555 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6556 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6557 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6558
ef26eece
AZ
65592013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6560
6561 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6562 macro to return vdso values correctly in IFUNC implementations.
6563 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6564 Optimization by using IFUNC.
6565
8cfdb7e0
SP
65662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6567 Richard Henderson <rth@redhat.com>
6568 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6569
6570 * Makefile.in (bench): New target.
6571 * NEWS: Mention the benchmark framework.
6572 * Rules (bench): Likewise.
6573 (binaries-bench): Generate binaries for functions to
6574 benchmark.
6575 * benchtests/Makefile: New makefile for benchmark tests.
6576 * benchtests/bench-skeleton.c: New skeleton file for benchmark
6577 programs.
6578 * benchtests/exp-inputs: New input file for EXP function.
6579 * benchtests/pow-inputs: New input file for POW function.
6580 * scripts/bench.pl: New script to generate source files for
6581 benchmark programs.
6582
bcda9880
SP
65832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6584
d22ca8cd
SP
6585 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6586 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6587 computations on mantissa. Use macros for rounding and
6588 division.
6589 (denorm): Likewise.
6590 (__dbl_mp): Likewise.
6591 (add_magnitudes): Likewise.
6592 (sub_magnitudes): Likewise.
6593 (__mul): Likewise.
6594 (__sqr): Likewise.
6595 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
6596 powers of two in terms of TWOPOW macro.
6597 (mp_no): Make type of mantissa as MANTISSA_T.
6598 [!RADIXI]: Define RADIXI.
6599 [!TWO52]: Define TWO52.
6600 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6601
bcda9880
SP
6602 * manual/nptl.texi (cindex): Modify threads to pthreads.
6603
06d5adfb
JM
66042013-03-15 Joseph Myers <joseph@codesourcery.com>
6605
6606 * sysdeps/x86_64/preconfigure: Regenerated.
6607
41c7328e
JM
66082013-03-14 Joseph Myers <joseph@codesourcery.com>
6609
6610 [BZ #14155]
6611 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6612 0x1p28 and above.
6613 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6614 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6615 0x1p28 and above.
6616 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6617 * math/libm-test.inc (j0_test): Do not allow one spurious
6618 underflow exception.
6619 (y1_test): Likewise.
6620
e25cfa60
SP
66212013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6622
0409959c
SP
6623 * manual/Makefile (chapters): Add nptl.
6624 * manual/debug.texi (Debugging Support): Add link to Threads
6625 chapter.
6626 * manual/nptl.texi: New file.
6627
e25cfa60
SP
6628 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6629
58a1335e
PB
66302013-03-14 Petr Baudis <pasky@ucw.cz>
6631
6632 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6633 for non-NULL pointer before the memory validity test. Pointed
6634 out by Holger Brunck <holger.brunck@keymile.com>.
6635
9dc7c64f
AS
66362013-03-13 Andreas Schwab <schwab@suse.de>
6637
6638 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6639 instead of .os.
6640
54206aa6
JM
66412013-03-13 Joseph Myers <joseph@codesourcery.com>
6642
6643 * timezone/zic.c: Update from tzcode 2013b.
6644
e98cdb38
CD
66452013-03-12 Carlos O'Donell <carlos@redhat.com>
6646
6647 * manual/install.texi (Configuring and compiling):
6648 Mention i686 and i586.
6649 * INSTALL: Regenerate.
6650
9967e003
RM
66512013-03-12 Roland McGrath <roland@hack.frob.com>
6652
6653 * sysdeps/init_array/elf-init.c: New file.
6654 * csu/elf-init.c
6655 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6656 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6657
6658 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6659 __gmon_start__ as global, but as static with a .preinit_array pointer.
6660 * sysdeps/init_array/gmon-start.c: New file. Use that.
6661 * sysdeps/init_array/crti.S: New file, empty except for comments.
6662 * sysdeps/init_array/crtn.S: Likewise.
6663
e6b5a293 66642013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
6665
6666 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6667 definining bcopy.
80f844c9
OB
6668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6669 Remove Prefer_SSE_for_memop.
6670 * sysdeps/x86_64/multiarch/init-arch.h: Remove
6671 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6672 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
6673 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6674 memset-x86-64.
80f844c9 6675 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 6676 Remove bzero, memset ifunc support.
80f844c9
OB
6677 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6678 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6679 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6680 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6681
fb6b0fcb
AS
66822013-03-11 Andreas Schwab <schwab@suse.de>
6683
6684 [BZ #15234]
6685 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6686 by SHLIB_COMPAT.
6687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6688 (GLIBC_2.16): Remove pthread_atfork.
6689
3e6bd4b1
PP
66902013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6691
6692 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6693 (ptestcases.h): Likewise.
6694
222d7f00
RM
66952013-03-08 Roland McGrath <roland@hack.frob.com>
6696
6697 * Makeconfig ($(common-objpfx)config.status): Depend on
6698 sysdeps/*/preconfigure{,.in} too.
6699
1ba4f030
JM
67002013-03-08 Joseph Myers <joseph@codesourcery.com>
6701
a222d91a
JM
6702 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6703 (__free_hook): Use void * instead of __malloc_ptr_t.
6704 (__malloc_hook): Likewise.
6705 (__realloc_hook): Likewise.
6706 (__memalign_hook): Likewise.
6707 (__after_morecore_hook): Likewise.
6708 * malloc/arena.c (save_malloc_hook): Likewise.
6709 (save_free_hook): Likewise.
6710 * malloc/hooks.c (malloc_hook_ini): Likewise.
6711 (realloc_hook_ini): Likewise.
6712 (memalign_hook_ini): Likewise.
6713 * malloc/malloc.c (malloc_hook_ini): Likewise.
6714 (realloc_hook_ini): Likewise.
6715 (memalign_hook_ini): Likewise.
6716 (__free_hook): Likewise.
6717 (__malloc_hook): Likewise.
6718 (__realloc_hook): Likewise.
6719 (__memalign_hook): Likewise.
6720 (__libc_malloc): Likewise.
6721 (__libc_free): Likewise.
6722 (__libc_realloc): Likewise.
6723 (__libc_memalign): Likewise.
6724 (__libc_valloc): Likewise.
6725 (__libc_pvalloc): Likewise.
6726 (__libc_calloc): Likewise.
6727 (__posix_memalign): Likewise.
6728 * malloc/morecore.c (__sbrk): Likewise.
6729 (__default_morecore): Likewise.
6730
5cc45e10
JM
6731 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6732
dd54b864
JM
6733 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6734 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6735 __malloc_ptrdiff_t.
6736
1ba4f030
JM
6737 * malloc/malloc.h (__malloc_size_t): Remove macro.
6738 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6739 __malloc_size_t.
6740 (old_memalign_hook): Likewise.
6741 (old_realloc_hook): Likewise.
6742 (struct hdr): Likewise.
6743 (flood): Likewise.
6744 (mallochook): Likewise.
6745 (memalignhook): Likewise.
6746 (reallochook): Likewise.
6747 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6748 (tr_old_realloc_hook): Likewise.
6749 (tr_old_memalign_hook): Likewise.
6750 (tr_mallochook): Likewise.
6751 (tr_reallochook): Likewise.
6752 (tr_memalignhook): Likewise.
6753
edf66e57
AZ
67542013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755
6756 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6757 default_ldbl_pack and using as default implementation.
6758 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6759 implementation.
6760 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6761 redundant definition.
6762 (ldbl_insert_mantissa): Likewise.
6763 (ldbl_canonicalize): Likewise.
6764 (ldbl_nearbyint): Likewise.
6765 (ldbl_pack): Rename to ldbl_pack_ppc.
6766 (ldbl_unpack): Rename to ldbl_unpack_ppc.
6767 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6768 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6769
6d9145d8
SP
67702013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6771
6772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6773 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6774 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6775 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6777 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6778 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6779 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6780
4dd4e157
AJ
67812013-03-07 Andreas Jaeger <aj@suse.de>
6782
6783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6784 bits/mman-linux.h.
6785
adbb8027
SP
67862013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6787
ce544b5b
SP
6788 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6789 Include mpa.h and declare __MPEXP.
6790 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6791 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6792 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6793 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6794 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6795 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6796 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6797
4cc149fd
SP
6798 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6799 (__slowpow): Use long double EXPL and LOGL functions to
6800 compute POW.
6801 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6802 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6803 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6804 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6805 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6807
e6ebd4a7
SP
6808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6809 intermediate variable to calculate exponent.
6810 (__sqr): Likewise.
6811 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6812 Likewise.
6813 (__sqr): Likewise.
6814
82a9811d
SP
6815 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6816 [!NO__SQR]: Define __sqr.
6817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6818 and NO__SQR. Remove all code except __mul and __sqr. Include
6819 sysdeps/ieee754/dbl-64/mpa.c.
6820 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6821
adbb8027
SP
6822 [BZ #12723]
6823 * posix/Makefile (tests): Add tst-pathconf.
6824 * posix/tst-pathconf.c: New test case.
6825 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6826 _PC_PIPE_BUF.
6827 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6828
39120df9
PF
68292013-03-06 Patsy Franklin <pfrankli@redhat.com>
6830
6831 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6832
67525cb8
AJ
68332013-03-06 Andreas Jaeger <aj@suse.de>
6834
664a9ce4
AJ
6835 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6836 definition via __MAP_ANONYMOUS.
6837
8e39047d
AJ
6838 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6839 it's not part of Linux headers.
6840
67525cb8
AJ
6841 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6842 (MAP_HUGE_MASK): Define.
6843
6844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6845 Define.
6846 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6848 Define.
6849 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6850 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6851 Define.
6852 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6853 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6854 Define.
6855 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6856
6857 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6858 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6859 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6860 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6861 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6862 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6863
6864 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6865 Handle f2fs.
6866
6867 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6868 Handle f2fs and efivarfs.
6869
6870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6871 f2fs.
6872
6873 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6874 (EFIVARFS_MAGIC): Add.
6875 (F2FS_LINK_MAX): Add.
6876
e1b42695
PP
68772013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6878
6879 * stdio-common/vfprintf.c: Replace __builtin_expect with
6880 __glibc_unlikely.
6881
2d67d91a
JM
68822013-03-06 Joseph Myers <joseph@codesourcery.com>
6883
6884 [BZ #13550]
6885 * sysdeps/generic/bp-sym.h: Remove file.
6886 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6887 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6888 <bp-sym.h> and <bp-asm.h>.
6889 (__longjmp): Don't use BP_SYM.
6890 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6891 and <bp-asm.h>.
6892 (memcpy): Don't use BP_SYM.
6893 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6894 <bp-sym.h> and <bp-asm.h>.
6895 (memcpy): Don't use BP_SYM.
6896 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6897 <bp-asm.h>.
6898 (memcpy): Don't use BP_SYM.
6899 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6900 <bp-asm.h>.
6901 (memset): Don't use BP_SYM.
6902 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6903 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6904 (__bzero): Don't use BP_SYM.
6905 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6906 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6907 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6908 <bp-sym.h> and <bp-asm.h>.
6909 (memcmp): Don't use BP_SYM. Remove comment about bounded
6910 pointers.
6911 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6912 <bp-sym.h> and <bp-asm.h>.
6913 (memcpy): Don't use BP_SYM.
6914 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6915 <bp-sym.h> and <bp-asm.h>.
6916 (memset): Don't use BP_SYM.
6917 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6918 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6919 (__bzero): Don't use BP_SYM.
6920 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6921 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6923 <bp-sym.h> and <bp-asm.h>.
6924 (strncmp): Don't use BP_SYM. Remove comment about bounded
6925 pointers.
6926 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6927 <bp-sym.h> and <bp-asm.h>.
6928 (memcpy): Don't use BP_SYM.
6929 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6930 <bp-sym.h> and <bp-asm.h>.
6931 (memset): Don't use BP_SYM.
6932 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6933 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6934 (__bzero): Don't use BP_SYM.
6935 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6936 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6937 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6938 <bp-sym.h> and <bp-asm.h>.
6939 (__memchr): Don't use BP_SYM.
6940 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6941 <bp-sym.h> and <bp-asm.h>.
6942 (memcmp): Don't use BP_SYM. Remove comment about bounded
6943 pointers.
6944 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6945 <bp-sym.h> and <bp-asm.h>.
6946 (memcpy): Don't use BP_SYM.
6947 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6948 <bp-sym.h> and <bp-asm.h>.
6949 (__mempcpy): Don't use BP_SYM.
6950 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6951 <bp-sym.h> and <bp-asm.h>.
6952 (__memrchr): Don't use BP_SYM.
6953 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6954 <bp-sym.h> and <bp-asm.h>.
6955 (memset): Don't use BP_SYM.
6956 (__bzero): Likewise.
6957 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6958 <bp-sym.h> and <bp-asm.h>.
6959 (__rawmemchr): Don't use BP_SYM.
6960 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6961 <bp-sym.h> and <bp-asm.h>.
6962 (__STRCMP): Don't use BP_SYM.
6963 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6964 <bp-sym.h> and <bp-asm.h>.
6965 (strchr): Don't use BP_SYM.
6966 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6967 <bp-sym.h> and <bp-asm.h>.
6968 (__strchrnul): Don't use BP_SYM.
6969 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6970 <bp-sym.h> and <bp-asm.h>.
6971 (strlen): Don't use BP_SYM.
6972 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6973 <bp-sym.h> and <bp-asm.h>.
6974 (strncmp): Don't use BP_SYM. Remove comment about bounded
6975 pointers.
6976 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6977 <bp-sym.h> and <bp-asm.h>.
6978 (__strnlen): Don't use BP_SYM.
6979 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6980 <bp-sym.h> and <bp-asm.h>.
6981 (__GI__setjmp): Don't use BP_SYM.
6982 (_setjmp): Likewise.
6983 (__sigsetjmp): Likewise.
6984 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6985 (L(start_addresses)): Don't use BP_SYM.
6986 (_start): Likewise.
6987 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6988 <bp-asm.h>.
6989 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6990 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6991 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6992 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6993 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6994 <bp-asm.h>.
6995 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6996 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
6997 about bounded pointers.
6998 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6999 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7000 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7001 <bp-asm.h>.
7002 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7003 about bounded pointers. Remove GKM FIXME comments.
7004 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7005 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7006 <bp-asm.h>.
7007 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7008 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
7009 Remove GKM FIXME comments.
7010 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7011 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7012 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7013 <bp-asm.h>.
7014 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
7015 about bounded pointers. Remove GKM FIXME comment.
7016 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7017 and <bp-asm.h>.
7018 (strncmp): Don't use BP_SYM. Remove comment about bounded
7019 pointers.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7021 <bp-sym.h> and <bp-asm.h>.
7022 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7024 <bp-sym.h> and <bp-asm.h>.
7025 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7026 comment.
7027
cdcf361f
PP
70282013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7029
7030 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7031 call free(NULL).
7032
3c4a2b15
DM
70332013-03-05 David S. Miller <davem@davemloft.net>
7034
7035 * po/es.po: Update from translation team.
7036
cdcf361f 70372013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
7038
7039 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7040 <bits/mman-linux.h>.
7041 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7042 is fine.
7043 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7044 <bits/mman-linux.h> to end of file.
7045 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7046 is fine.
7047 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7048 <bits/mman-linux.h> to end of file.
7049 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7050 is fine.
7051 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7052 <bits/mman-linux.h> to end of file.
7053
7054 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7055 (MCL_CURRENT, MCL_FUTURE): Define here.
7056
5f67c04f
AK
70572013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7058
8a4473cc 7059 [BZ #15232]
5f67c04f
AK
7060 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7061 attribute_hidden.
7062 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7063
c3e94a95
AK
70642013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7065
7066 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7067 fourth parameter needed for rt_sigprocmask syscall.
7068 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7069 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7070 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7071 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7072 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7073 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7074
cfb6382a
JM
70752013-03-04 Joseph Myers <joseph@codesourcery.com>
7076
7077 [BZ #13550]
7078 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7079 comment about bounded pointers.
7080 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7081 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7082
539d8e01
AJ
70832013-03-04 Andreas Jaeger <aj@suse.de>
7084
7085 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7086 common definitions.
7087
7088 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7089 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7090 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7091 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7092 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
7093 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7094
2e167a70 70952013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
7096
7097 [BZ #15055]
7098 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7099 __ieee754_sqrl instead of __sqrl.
7100
68508633
JM
71012013-03-01 Joseph Myers <joseph@codesourcery.com>
7102
7103 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7104 * sysdeps/powerpc/fpu_control.h: ... here.
7105 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7106 * sysdeps/powerpc/bits/fenvinline.h: ... here.
7107 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7108 * sysdeps/powerpc/bits/mathinline.h: ... here.
7109
7775448e
RM
71102013-03-01 Roland McGrath <roland@hack.frob.com>
7111
7112 * elf/dl-hwcaps.c (_dl_important_hwcaps):
7113 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7114 to just [NEED_DL_SYSINFO_DSO].
7115 * elf/dl-support.c: Likewise.
7116 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7117 * elf/rtld.c (dl_main): Likewise.
7118 * elf/setup-vdso.h (setup_vdso): Likewise.
7119 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7120 * sysdeps/unix/sysv/linux/dl-sysdep.c
7121 (_dl_discover_osversion): Likewise.
7122
4e9b5995
CD
71232013-03-01 Carlos O'Donell <carlos@redhat.com>
7124
7125 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7126 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7127
e23872c8
SP
71282013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7129
e5c74c63
SP
7130 * NEWS: Mention libm performance improvements and non-x86 PI
7131 futex support.
7132
e23872c8
SP
7133 * csu/libc-start.c (__pthread_initialize_minimal): Change
7134 function arguments.
7135 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7136
b5510883
JM
71372013-02-28 Joseph Myers <joseph@codesourcery.com>
7138
7139 [BZ #13550]
7140 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7141 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7142 <bp-sym.h> and <bp-asm.h>.
7143 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7144 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7145 and <bp-asm.h>.
7146 (memcpy): Don't use BP_SYM.
7147 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7148 <bp-asm.h>.
7149 (__mpn_add_n): Don't use BP_SYM.
7150 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7151 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7152 and <bp-asm.h>.
7153 (__mpn_addmul_1): Don't use BP_SYM.
7154 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7155 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7156 <bp-sym.h>.
7157 (_setjmp): Don't use BP_SYM.
7158 (__novmx_setjmp): Likewise.
7159 (__GI__setjmp): Likewise.
7160 (__vmx_setjmp): Likewise.
7161 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7162 <bp-sym.h>.
7163 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7164 (__bzero): Don't use BP_SYM.
7165 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7166 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7167 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7168 <bp-sym.h> and <bp-asm.h>.
7169 (memcpy): Don't use BP_SYM.
7170 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7171 <bp-sym.h> and <bp-asm.h>.
7172 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7173 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7174 <bp-sym.h> and <bp-asm.h>.
7175 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7176 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7177 <bp-asm.h>.
7178 (__mpn_lshift): Don't use BP_SYM.
7179 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7180 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7181 <bp-asm.h>.
7182 (memset): Don't use BP_SYM.
7183 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7184 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7185 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7186 <bp-asm.h>.
7187 (__mpn_mul_1): Don't use BP_SYM.
7188 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7189 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7190 <bp-sym.h> and <bp-asm.h>.
7191 (memcmp): Don't use BP_SYM.
7192 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7193 <bp-sym.h> and <bp-asm.h>.
7194 (memcpy): Don't use BP_SYM.
7195 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7196 <bp-sym.h> and <bp-asm.h>.
7197 (memset): Don't use BP_SYM.
7198 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7199 <bp-sym.h> and <bp-asm.h>.
7200 (strncmp): Don't use BP_SYM.
7201 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7202 <bp-sym.h> and <bp-asm.h>.
7203 (memcpy): Don't use BP_SYM.
7204 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7205 <bp-sym.h> and <bp-asm.h>.
7206 (memset): Don't use BP_SYM.
7207 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7208 <bp-sym.h> and <bp-asm.h>.
7209 (__memchr): Don't use BP_SYM.
7210 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7211 <bp-sym.h> and <bp-asm.h>.
7212 (memcmp): Don't use BP_SYM.
7213 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7214 <bp-sym.h> and <bp-asm.h>.
7215 (memcpy): Don't use BP_SYM.
7216 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7217 <bp-sym.h> and <bp-asm.h>.
7218 (__mempcpy): Don't use BP_SYM.
7219 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7220 <bp-sym.h> and <bp-asm.h>.
7221 (__memrchr): Don't use BP_SYM.
7222 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7223 <bp-sym.h> and <bp-asm.h>.
7224 (memset): Don't use BP_SYM.
7225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7226 <bp-sym.h> and <bp-asm.h>.
7227 (__rawmemchr): Don't use BP_SYM.
7228 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7229 <bp-sym.h> and <bp-asm.h>.
7230 (__STRCMP): Don't use BP_SYM.
7231 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7232 <bp-sym.h> and <bp-asm.h>.
7233 (strchr): Don't use BP_SYM.
7234 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7235 <bp-sym.h> and <bp-asm.h>.
7236 (__strchrnul): Don't use BP_SYM.
7237 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7238 <bp-sym.h> and <bp-asm.h>.
7239 (strlen): Don't use BP_SYM.
7240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7241 <bp-sym.h> and <bp-asm.h>.
7242 (strncmp): Don't use BP_SYM.
7243 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7244 <bp-sym.h> and <bp-asm.h>.
7245 (__strnlen): Don't use BP_SYM.
7246 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7247 <bp-asm.h>.
7248 (__mpn_rshift): Don't use BP_SYM.
7249 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7250 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7251 <bp-sym.h> and <bp-asm.h>.
7252 (__sigsetjmp): Don't use BP_SYM.
7253 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7254 (L(start_addresses)): Don't use BP_SYM.
7255 (_start): Likewise.
7256 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7257 <bp-asm.h>.
7258 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7259 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7260 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7261 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7262 <bp-asm.h>.
7263 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7264 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7265 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7266 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7267 <bp-asm.h>.
7268 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7269 comments.
7270 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7271 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7272 <bp-asm.h>.
7273 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
7274 FIXME comments.
7275 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7276 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7277 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7278 <bp-asm.h>.
7279 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
7280 comment.
7281 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7282 and <bp-asm.h>.
7283 (strncmp): Don't use BP_SYM,
7284 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7285 <bp-asm.h>.
7286 (__mpn_sub_n): Don't use BP_SYM.
7287 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7288 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7289 and <bp-asm.h>.
7290 (__mpn_submul_1): Don't use BP_SYM.
7291 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7293 <bp-sym.h> and <bp-asm.h>.
7294 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7296 <bp-sym.h> and <bp-asm.h>.
7297 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
7298 comment.
7299
8d19fe64
SP
73002013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7301
7302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7303 Use ZK to minimize writes to Z.
7304 (sub_magnitudes): Simplify code a bit.
7305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7306 Use ZK to minimize writes to Z.
7307 (sub_magnitudes): Simplify code a bit.
7308
85bd816a
RM
73092013-02-27 Roland McGrath <roland@hack.frob.com>
7310
7311 * csu/gmon-start.c: Add special exception to license text.
7312
b5977bf2
RH
73132013-02-27 Richard Henderson <rth@redhat.com>
7314
7315 * scripts/config.guess: Update from config.git.
7316 * scripts/config.sub: Likewise.
7317
11d6e2f2
SP
73182013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7319
09c14ed2
SP
7320 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7321
a688864e
SP
7322 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7323
6295157a
SP
7324 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7325
b8de2202
SP
7326 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7327
11d6e2f2
SP
7328 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7329
7e80ddb8
RM
73302013-02-26 Roland McGrath <roland@hack.frob.com>
7331
7332 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7333 [$(build-shared = yes].
7e80ddb8 7334
7da6d9ed
SP
73352013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7336
45f05884
SP
7337 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7338 (__mul): Reduce iterations for calculating mantissa.
7339
2236d359
SP
7340 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7341 MPTWO.
7342 (__mpranred): Likewise.
7343
7da6d9ed
SP
7344 [BZ #15160]
7345 * malloc/memusagestat.c (main): Draw graphs for heap and stack
7346 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7347
b7688c42
PE
73482013-02-26 Paul Eggert <eggert@cs.ucla.edu>
7349
7350 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7351 Define __attribute__.
7352
53a5c423
SP
73532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7354
7355 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7356 unused.
7357 * posix/regex_internal.h (__attribute): Remove.
7358 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7359 (re_string_context_at): Likewise.
7360 (bitset_not): Use __attribute__ and mark function as possibly
7361 unused.
7362 (bitset_merge): Likewise.
7363 (bitset_mask): Likewise.
7364 (re_string_char_size_at): Likewise.
7365 (re_string_wchar_at): Likewise.
7366 (re_string_elem_size_at): Likewise.
7367
60f5a8b5
SP
73682013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7369
2a983a2e
SP
7370 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7371 code.
7372 (cc32): Likewise.
7373
e69804d1
SP
7374 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7375 (__acr): Likewise.
7376 (__cpy): Likewise.
7377 (norm): Likewise.
7378 (denorm): Likewise.
7379 (__dbl_mp): Likewise.
7380 (add_magnitudes): Likewise.
7381 (sub_magnitudes): Likewise.
7382 (__mul): Likewise.
7383 (__inv): Likewise.
7384
2f22a1e8
SP
7385 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7386 style.
7387
8930ddc7
SP
7388 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7389 style.
7390
dc60cb11
SP
7391 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7392 code.
7393
60f5a8b5
SP
7394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7395 up changes with default code.
7396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7397 Likewise.
7398
b4d1fd33
AM
73992013-02-24 Allan McRae <allan@archlinux.org>
7400
faf6f8bc
AM
7401 * manual/socket.texi (The Internet Namespace): Order menu items
7402 to match that in the file.
7403
b4d1fd33
AM
7404 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7405 node listing of the info page menu.
7406
2366713d
JM
74072013-02-21 Joseph Myers <joseph@codesourcery.com>
7408
7409 [BZ #13550]
7410 * sysdeps/i386/bp-asm.h: Remove file.
7411 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7412 (PARMS): Do not use macros from bp-asm.h.
7413 (S1): Likewise.
7414 (S2): Likewise.
7415 (SIZE): Likewise.
7416 (__mpn_add_n): Do not use BP_SYM
7417 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7418 "bp-asm.h".
7419 (PARMS): Do not use macros from bp-asm.h.
7420 (S1): Likewise.
7421 (SIZE): Likewise.
7422 (__mpn_addmul_1): Do not use BP_SYM
7423 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7424 "bp-asm.h".
7425 (PARMS): Do not use macros from bp-asm.h.
7426 (SIGMSK): Likewise.
7427 (_setjmp): Likewise. Do not use BP_SYM.
7428 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7429 "bp-asm.h".
7430 (PARMS): Do not use macros from bp-asm.h.
7431 (SIGMSK): Likewise.
7432 (setjmp): Likewise. Do not use BP_SYM.
7433 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7434 "bp-asm.h".
7435 (PARMS): Do not use macros from bp-asm.h.
7436 (__frexp): Do not use BP_SYM.
7437 (frexp): Likewise.
7438 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7439 "bp-asm.h".
7440 (PARMS): Do not use macros from bp-asm.h.
7441 (__frexpf): Do not use BP_SYM.
7442 (frexpf): Likewise.
7443 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7444 "bp-asm.h".
7445 (PARMS): Do not use macros from bp-asm.h.
7446 (__frexpl): Do not use BP_SYM.
7447 (frexpl): Likewise.
7448 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7449 "bp-asm.h".
7450 (PARMS): Do not use macros from bp-asm.h.
7451 (__remquo): Do not use BP_SYM.
7452 (remquo): Likewise.
7453 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7454 "bp-asm.h".
7455 (PARMS): Do not use macros from bp-asm.h.
7456 (__remquof): Do not use BP_SYM.
7457 (remquof): Likewise.
7458 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7459 "bp-asm.h".
7460 (PARMS): Do not use macros from bp-asm.h.
7461 (__remquol): Do not use BP_SYM.
7462 (remquol): Likewise.
7463 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7464 "bp-asm.h".
7465 (PARMS): Do not use macros from bp-asm.h.
7466 (DEST): Likewise.
7467 (SRC): Likewise.
7468 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
7469 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7470 "bp-asm.h".
7471 (PARMS): Do not use macros from bp-asm.h.
7472 (strlen): Do not use BP_SYM.
7473 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7474 "bp-asm.h".
7475 (PARMS): Do not use macros from bp-asm.h.
7476 (S1): Likewise.
7477 (S2): Likewise.
7478 (SIZE): Likewise.
7479 (__mpn_add_n): Do not use BP_SYM.
7480 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7481 "bp-asm.h".
7482 (PARMS): Do not use macros from bp-asm.h.
7483 (S1): Likewise.
7484 (SIZE): Likewise.
7485 (__mpn_addmul_1): Do not use BP_SYM.
7486 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7487 weak_alias.
7488 (bzero): Likewise.
7489 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7490 "bp-asm.h".
7491 (PARMS): Do not use macros from bp-asm.h.
7492 (S): Likewise.
7493 (SIZE): Likewise.
7494 (__mpn_lshift): Do not use BP_SYM.
7495 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7496 "bp-asm.h".
7497 (PARMS): Do not use macros from bp-asm.h.
7498 (DEST): Likewise.
7499 (SRC): Likewise.
7500 (LEN): Likewise.
7501 (memcpy): Likewise. Do not use BP_SYM.
7502 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7503 libc_hidden_def and weak_alias.
7504 (mempcpy): Do not use BP_SYM in weak_alias.
7505 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7506 "bp-asm.h".
7507 (PARMS): Do not use macros from bp-asm.h.
7508 (DEST): Likewise.
7509 (LEN): Likewise.
7510 [!BZERO_P] (CHR): Likewise.
7511 (memset): Likewise. Do not use BP_SYM.
7512 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7513 "bp-asm.h".
7514 (PARMS): Do not use macros from bp-asm.h.
7515 (S1): Likewise.
7516 (SIZE): Likewise.
7517 (__mpn_mul_1): Do not use BP_SYM.
7518 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7519 "bp-asm.h".
7520 (PARMS): Do not use macros from bp-asm.h.
7521 (S): Likewise.
7522 (SIZE): Likewise.
7523 (__mpn_rshift): Do not use BP_SYM.
7524 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7525 "bp-asm.h".
7526 (PARMS): Do not use macros from bp-asm.h.
7527 (STR): Likewise.
7528 (CHR): Likewise.
7529 (strchr): Likewise. Do not use BP_SYM.
7530 (index): Do not use BP_SYM in weak_alias.
7531 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7532 "bp-asm.h".
7533 (PARMS): Do not use macros from bp-asm.h.
7534 (DEST): Likewise.
7535 (SRC): Likewise.
7536 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
7537 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7538 "bp-asm.h".
7539 (PARMS): Do not use macros from bp-asm.h.
7540 (strlen): Do not use BP_SYM.
7541 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7542 "bp-asm.h".
7543 (PARMS): Do not use macros from bp-asm.h.
7544 (S1): Likewise.
7545 (S2): Likewise.
7546 (SIZE): Likewise.
7547 (__mpn_sub_n): Do not use BP_SYM.
7548 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7549 "bp-asm.h".
7550 (PARMS): Do not use macros from bp-asm.h.
7551 (S1): Likewise.
7552 (SIZE): Likewise.
7553 (__mpn_submul_1): Do not use BP_SYM.
7554 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7555 "bp-asm.h".
7556 (PARMS): Do not use macros from bp-asm.h.
7557 (S1): Likewise.
7558 (S2): Likewise.
7559 (SIZE): Likewise.
7560 (__mpn_add_n): Do not use BP_SYM.
7561 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7562 weak_alias.
7563 (bzero): Likewise.
7564 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7565 "bp-asm.h".
7566 (PARMS): Do not use macros from bp-asm.h.
7567 (BLK2): Likewise.
7568 (LEN): Likewise.
7569 (memcmp): Do not use BP_SYM.
7570 (bcmp): Do not use BP_SYM in weak_alias.
7571 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7572 "bp-asm.h".
7573 (PARMS): Do not use macros from bp-asm.h.
7574 (DEST): Likewise.
7575 (SRC): Likewise.
7576 (LEN): Likewise.
7577 (memcpy): Likewise. Do not use BP_SYM.
7578 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7579 "bp-asm.h".
7580 (PARMS): Do not use macros from bp-asm.h.
7581 (DEST): Likewise.
7582 (SRC): Likewise.
7583 (LEN): Likewise.
7584 (memmove): Likewise. Do not use BP_SYM.
7585 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7586 "bp-asm.h".
7587 (PARMS): Do not use macros from bp-asm.h.
7588 (DEST): Likewise.
7589 (SRC): Likewise.
7590 (LEN): Likewise.
7591 (__mempcpy): Likewise. Do not use BP_SYM.
7592 (mempcpy): Do not use BP_SYM in weak_alias.
7593 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7594 "bp-asm.h".
7595 (PARMS): Do not use macros from bp-asm.h.
7596 (DEST): Likewise.
7597 (LEN): Likewise.
7598 [!BZERO_P] (CHR): Likewise.
7599 (memset): Likewise. Do not use BP_SYM.
7600 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7601 "bp-asm.h".
7602 (PARMS): Do not use macros from bp-asm.h.
7603 (STR2): Likewise.
7604 (strcmp): Do not use BP_SYM.
7605 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7606 "bp-asm.h".
7607 (PARMS): Do not use macros from bp-asm.h.
7608 (STR): Likewise.
7609 (DELIM): Likewise.
7610 [USE_AS_STRTOK_R] (SAVE): Likewise.
7611 (FUNCTION): Likewise. Do not use BP_SYM.
7612 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7613 aliases.
7614 (strtok_r): Likewise.
7615 (__GI___strtok_r): Likewise.
7616 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7617 (PARMS): Do not use macros from bp-asm.h.
7618 (S): Likewise.
7619 (SIZE): Likewise.
7620 (__mpn_lshift): Do not use BP_SYM.
7621 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7622 (PARMS): Do not use macros from bp-asm.h.
7623 (STR): Likewise.
7624 (CHR): Likewise.
7625 (__memchr): Do not use BP_SYM.
7626 (memchr): Do not use BP_SYM in weak_alias.
7627 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7628 (PARMS): Do not use macros from bp-asm.h.
7629 (BLK2): Likewise.
7630 (LEN): Likewise.
7631 (memcmp): Do not use BP_SYM.
7632 (bcmp): Do not use BP_SYM in weak_alias.
7633 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7634 (PARMS): Do not use macros from bp-asm.h.
7635 (S1): Likewise.
7636 (SIZE): Likewise.
7637 (__mpn_mul_1): Do not use BP_SYM.
7638 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7639 "bp-asm.h".
7640 (PARMS): Do not use macros from bp-asm.h.
7641 (STR): Likewise.
7642 (CHR): Likewise.
7643 (__rawmemchr): Do not use BP_SYM.
7644 (rawmemchr): Do not use BP_SYM in weak_alias.
7645 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7646 (PARMS): Do not use macros from bp-asm.h.
7647 (S): Likewise.
7648 (SIZE): Likewise.
7649 (__mpn_rshift): Do not use BP_SYM.
7650 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7651 (PARMS): Do not use macros from bp-asm.h.
7652 (SIGMSK): Likewise.
7653 (__sigsetjmp): Likewise. Do not use BP_SYM.
7654 * sysdeps/i386/start.S: Do not include "bp-sym.h".
7655 (_start): Do not use BP_SYM.
7656 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7657 (PARMS): Do not use macros from bp-asm.h.
7658 (DEST): Likewise.
7659 (SRC): Likewise.
7660 (__stpcpy): Likewise. Do not use BP_SYM.
7661 (stpcpy): Do not use BP_SYM in weak_alias.
7662 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7663 "bp-asm.h".
7664 (PARMS): Do not use macros from bp-asm.h.
7665 (DEST): Likewise.
7666 (SRC): Likewise.
7667 (LEN): Likewise.
7668 (__stpncpy): Likewise. Do not use BP_SYM.
7669 (stpncpy): Do not use BP_SYM in weak_alias.
7670 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7671 (PARMS): Do not use macros from bp-asm.h.
7672 (STR): Likewise.
7673 (CHR): Likewise.
7674 (strchr): Likewise. Do not use BP_SYM.
7675 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7676 "bp-asm.h".
7677 (PARMS): Do not use macros from bp-asm.h.
7678 (STR): Likewise.
7679 (CHR): Likewise.
7680 (__strchrnul): Likewise. Do not use BP_SYM.
7681 (strchrnul): Do not use BP_SYM in weak_alias.
7682 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7683 "bp-asm.h".
7684 (PARMS): Do not use macros from bp-asm.h.
7685 (STOP): Likewise.
7686 (strcspn): Do not use BP_SYM.
7687 * sysdeps/i386/strpbrk.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 (STOP): Likewise.
7692 (strpbrk): Likewise. Do not use BP_SYM.
7693 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7694 "bp-asm.h".
7695 (PARMS): Do not use macros from bp-asm.h.
7696 (STR): Likewise.
7697 (CHR): Likewise.
7698 (strrchr): Likewise. Do not use BP_SYM.
7699 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7700 (PARMS): Do not use macros from bp-asm.h.
7701 (SKIP): Likewise.
7702 (strspn): Do not use BP_SYM.
7703 * sysdeps/i386/strtok.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 (DELIM): Likewise.
7707 (SAVE): Likewise.
7708 (FUNCTION): Likewise. Do not use BP_SYM.
7709 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7710 aliases.
7711 (strtok_r): Likewise.
7712 (__GI___strtok_r): Likewise.
7713 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7714 (PARMS): Do not use macros from bp-asm.h.
7715 (S1): Likewise.
7716 (S2): Likewise.
7717 (SIZE): Likewise.
7718 (__mpn_sub_n): Do not use BP_SYM.
7719 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7720 "bp-asm.h".
7721 (PARMS): Do not use macros from bp-asm.h.
7722 (S1): Likewise.
7723 (SIZE): Likewise.
7724 (__mpn_submul_1): Do not use BP_SYM.
7725 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7726 <bp-sym.h>.
7727 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7728 and <bp-asm.h>.
7729 (PARMS): Do not use macros from bp-asm.h.
7730 (FLAGS): Likewise.
7731 (PTID): Likewise.
7732 (TLS): Likewise.
7733 (CTID): Likewise.
7734 (__clone): Do not use BP_SYM.
7735 (clone): Do not use BP_SYM in weak_alias.
7736 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7737 and <bp-asm.h>.
7738 (PARMS): Do not use macros from bp-asm.h.
7739 (LEN): Likewise.
7740 (__mmap64): Do not use BP_SYM.
7741 (mmap64): Do not use BP_SYM in weak_alias.
7742 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7743 <bp-sym.h> and <bp-asm.h>.
7744 (PARMS): Do not use macros from bp-asm.h.
7745 (__posix_fadvise64_l64): Do not use BP_SYM.
7746 * sysdeps/unix/sysv/linux/i386/semtimedop.S
7747 (PARMS): Do not use macros from bp-asm.h.
7748 (NSOPS): Likewise.
7749 (semtimedop): Do not use BP_SYM.
7750 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7751 and <bp-asm.h>.
7752
582a3cff
AM
77532013-02-21 Allan McRae <allan@archlinux.org>
7754
7755 * manual/message.texi (Charset conversion in gettext):
7756 Move @end statement to beginning of line.
7757
bab8a695
SP
77582013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7759
80945231
SP
7760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7761 static.
7762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7763 Likewise.
7764
bab8a695
SP
7765 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7766 (denorm): Likewise.
7767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7769
e21d7aa7
AK
77702013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7771
7772 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7773 tail-call to the resolved function if pltexit isn't needed.
7774
4c7a4263
SP
77752013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7776
7777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7778 or Y being zero as being unlikely.
7779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7780 Likewise.
7781
41f49342
CD
77822013-02-20 Carlos O'Donell <carlos@redhat.com>
7783
7784 * manual/nss.texi (System Databases and Name Service Switch):
7785 Remove frobnicate @pxref.
7786
50022a93
TS
77872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7788
7789 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7790 __attribute__ ((unused)) to __attribute__ ((__unused__)).
7791
08cbd996
PM
77922013-02-20 Petr Machata <pmachata@redhat.com>
7793
7794 * elf/elf.h (R_ARM_TARGET1): New macro.
7795 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7796 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7797 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7798 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7799 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7800 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7801 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7802 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7803 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7804 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7805 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7806 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7807 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7808 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7809 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7810 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7811 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7812 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7813 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7814 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7815 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7816 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7817 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7818 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7819 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7820 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7821 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7822 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7823 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7824 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7825 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7826 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7827 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7828 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7829 (R_ARM_THM_GOT_BREL12): Likewise.
7830 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7831 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7832 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7833 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7834 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7835 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7836 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7837 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7838 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7839
c7b275d6
TS
78402013-02-20 Thomas Schwinge <thomas@codesourcery.com>
7841
7842 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7843 __attribute_used__ to __attribute__ ((unused)).
7844
20cd7fb3
SP
78452013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7846
7847 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7848 powerpc mpa.c.
7849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7850 comment formatting.
7851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7852
92945b52
JM
78532013-02-19 Joseph Myers <joseph@codesourcery.com>
7854
7855 [BZ #13550]
7856 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7857 Remove macro.
7858 (ENTER): Remove both macro definitions.
7859 (LEAVE): Likewise.
7860 (CHECK_BOUNDS_LOW): Likewise.
7861 (CHECK_BOUNDS_HIGH): Likewise.
7862 (CHECK_BOUNDS_BOTH): Likewise.
7863 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7864 (RETURN_BOUNDED_POINTER): Likewise.
7865 (RETURN_NULL_BOUNDED_POINTER): Likewise.
7866 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7867 (POP_ERRNO_LOCATION_RETURN): Likewise.
7868 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7869 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7870 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7871 macros.
7872 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7873 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7874 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7875 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7876 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7877 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7878 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7879 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7880 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7881 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7882 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7883 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7884 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7885 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7886 removed macros.
7887 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7888 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7889 macros.
7890 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7891 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7892 * sysdeps/i386/i586/memset.S (memset): Likewise.
7893 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7894 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7895 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7896 macros.
7897 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7898 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7899 Change uses of L(2) to L(out).
7900 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7901 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7902 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7903 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7904 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7905 removed macros.
7906 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7907 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7908 macros.
7909 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7910 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7911 (RETURN): Do not use macro LEAVE.
7912 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7913 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7914 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7915 * sysdeps/i386/i686/memset.S (memset): Likewise.
7916 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7917 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7918 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7919 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7920 Likewise.
7921 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7922 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
7923 L(1_2) and L(1_3) into L(1).
7924 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7925 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7926 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7927 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7928 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7929 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7930 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7931 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7932 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7933 macros.
7934 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7935 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7936 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7937 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7938 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7939 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7940 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7941 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7942 * sysdeps/i386/strcspn.S (strcspn): Likewise.
7943 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7944 * sysdeps/i386/strrchr.S (strrchr): Likewise.
7945 * sysdeps/i386/strspn.S (strspn): Likewise.
7946 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7947 conditional code.
7948 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7949 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7950 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7951 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
7952 L(1_3) into L(1_1).
7953 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7954 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7955 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7956 macros.
7957 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7958
2389741a
JJ
79592013-02-19 Jakub Jelinek <jakub@redhat.com>
7960
7961 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7962 macro.
7963
2016b3cd
SP
79642013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7965
e4f22324
SP
7966 * math/atest-exp.c (exp_mpn): Remove ROUND.
7967 * math/atest-exp2.c (exp_mpn): Likewise.
7968 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7969
2016b3cd
SP
7970 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7971 * stdlib/tst-tls-atexit-lib.c: Likewise.
7972 * stdlib/tst-tls-atexit.c: Likewise.
7973
4be9b544
MF
79742013-02-18 Mike Frysinger <vapier@gentoo.org>
7975
7976 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7977 and __attribute_alloc_size__.
7978
2f62b9ee
MF
79792013-02-18 Mike Frysinger <vapier@gentoo.org>
7980
7981 * include/programs/xmalloc.h: Change __attribute_alloc_size to
7982 __attribute_alloc_size__.
7983 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7984 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7985
6ff444c4
MF
79862013-02-18 Mike Frysinger <vapier@gentoo.org>
7987
7988 * include/programs/xmalloc.h: New file.
7989 * catgets/gencat.c: Include it.
7990 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7991 * elf/pldd.c: Likewise.
7992 * iconv/iconv_charmap.c: Likewise.
7993 * iconv/iconvconfig.c: Likewise.
7994 * iconv/strtab.c: Likewise.
7995 * locale/programs/locale.c: Likewise.
7996 * locale/programs/localedef.h: Likewise.
7997 * locale/programs/simple-hash.c: Likewise.
7998 * nscd/nscd.h: Likewise.
7999 * nss/makedb.c: Likewise.
8000 * sysdeps/generic/ldconfig.h: Likewise.
8001
be179c8a
SP
80022013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8003
ba384f6e
SP
8004 * Versions.def: Add GLIBC_2.18.
8005 * include/link.h (struct link_map): New member l_tls_dtor_count.
8006 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8007 (__call_tls_dtors): Likewise.
8008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8009 __cxa_thread_atexit_impl.
8010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8011 Likewise.
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8013 Likewise.
8014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8015 Likewise.
8016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8017 Likewise.
8018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8020 Likewise.
8021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8022 Likewise.
8023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8025 Likewise.
8026 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8027 (tests): Add test case tst-tls-atexit.
8028 (modules-names): Add shared library for tst-tls-atexit.
85891aca 8029 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
8030 (GLIBC_PRIVATE): Add __call_tls_dtors.
8031 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8032 for libstdc++.
8033 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8034 * stdlib/tst-tls-atexit.c: New test case.
8035 * stdlib/tst-tls-atexit-lib.c: New test case.
8036
ffaa74cf 8037 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 8038
be179c8a
SP
8039 * elf/Versions (ld): Add _dl_find_dso_for_object.
8040 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8041 * elf/dl-open.c (_dl_find_dso_for_object): New function.
8042 (dl_open_worker): Use _dl_find_dso_for_object.
8043 * elf/dl-sym.c (do_sym): Likewise.
8044 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8045
f78b5caa
AK
80462013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8047
8048 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8049 Syntactic changes only.
8050 (_dl_runtime_profile): Do a tail-call to the resolved function.
8051
29691210
JM
80522013-02-17 Joseph Myers <joseph@codesourcery.com>
8053
8054 [BZ #13550]
8055 * sysdeps/x86_64/bp-asm.h: Remove file.
8056 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8057 <bp-sym.h> and <bp-asm.h>.
8058 (__clone): Do not use BP_SYM.
8059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8060 <bp-sym.h> and <bp-asm.h>.
8061 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8062 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8063 "bp-asm.h".
8064 (_setjmp): Do not use BP_SYM.
8065 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8066 "bp-asm.h".
8067 (setjmp): Do not use BP_SYM.
8068 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8069 libc_hidden_def.
8070 (mempcpy): Do not use BP_SYM in weak_alias.
8071 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8072 "bp-asm.h".
8073 (strchr): Do not use BP_SYM.
8074 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8075 "bp-asm.h".
8076 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8077 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8078 (_start): Do not use BP_SYM.
8079 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8080 "bp-asm.h".
8081 (strcat): Do not use BP_SYM.
8082 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8083 "bp-asm.h".
8084 (STRCMP): Do not use BP_SYM.
8085 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8086 "bp-asm.h".
8087 (STRCPY): Do not use BP_SYM.
8088 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8089 "bp-asm.h".
8090 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8091 "bp-asm.h".
8092 (FUNCTION): Do not use BP_SYM.
8093 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8094 weak_alias.
8095 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8096
f238fd19
AJ
80972013-02-17 Andreas Jaeger <aj@suse.de>
8098
8099 * time/Versions: Sort entries.
8100 * string/Versions: Likewise.
8101 * resolv/Versions: Likewise.
8102 * posix/Versions: Likewise.
8103 * iconv/Versions: Likewise.
8104 * elf/Versions: Likewise.
8105 * wcsmbs/Versions: Likewise.
8106
bd07f23c 81072013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 8108
22af19f9
SP
8109 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8110 loop termination condition.
8111
4709fe76
SP
8112 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8113 variable to calculate EZ.
8114 (__sqr): Likewise.
2d0e0f29
SP
8115
8116 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8117 the lower precision input.
8118
daaa7713
JM
81192013-02-15 Joseph Myers <joseph@codesourcery.com>
8120
8121 [BZ #13550]
8122 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8123 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8124 (run-via-rtld-prefix): Do not handle %-bp tests.
8125 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8126 (all-object-suffixes): Remove .ob.
8127 (bppfx): Remove variable.
8128 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8129 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8130 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8131 [$(build-bounded) = yes] (libtype.ob): Likewise.
8132 * Makerules (elide-routines.ob): Remove variable.
8133 (do-tests-clean): Do not handle *-bp.out.
8134 (common-mostlyclean): Do not handle *-bp and *-bp.out.
8135 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8136 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8137 (tests): Do not include $(tests-bp.out).
8138 (xtests): Do not include $(xtests-bp.out).
8139 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8140 [$(build-bounded) = yes] ($(addprefix
8141 $(objpfx),$(binaries-bounded))): Remove rule.
8142 ($(objpfx)%-bp.out): Remove rule.
8143 * config.make.in (build-bounded): Remove variable.
8144 * crypt/Makefile [$(build-bounded) = yes]
8145 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8146 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8147 append to variable.
8148 [$(build-bounded) = yes] (install-lib): Likewise.
8149 [$(build-bounded) = yes] (generated): Likewise.
8150 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8151 Remove rule.
8152 * intl/Makefile [$(build-bounded) = yes]
8153 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8154 * math/Makefile [$(build-bounded) = yes]
8155 ($(tests:%=$(objpfx)%-bp): Likewise.
8156 * misc/Makefile [$(build-bounded) = yes]
8157 ($(objpfx)tst-tsearch-bp): Likewise.
8158 * nptl/Makeconfig (bounded-thread-library): Remove variable.
8159 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8160 Remove dependency.
8161 * string/Makefile (o-objects.ob): Remove variable.
8162 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8163 (CFLAGS-.ob): Remove variable.
8164 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8165 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8166 both definitions of variable.
8167 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8168 (ASFLAGS-.ob): Remove variable.
8169
e97ed6dd
JM
81702013-02-14 Joseph Myers <joseph@codesourcery.com>
8171
2bdd4ca6
JM
8172 [BZ #13550]
8173 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8174 Remove __BOUNDED_POINTERS__ from condition.
8175 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8176 * string/bits/string2.h [!__NO_STRING_INLINES &&
8177 !__BOUNDED_POINTERS__]: Likewise.
8178 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8179 Likewise.
8180 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8181 Remove conditional code.
8182 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8183 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8184 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8185 condition.
8186
e97ed6dd
JM
8187 [BZ #13550]
8188 * csu/libc-start.c: Do not include <bp-sym.h>.
8189 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8190 * elf/dl-open.c: Do not include <bp-sym.h>.
8191 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8192 * math/fegetenv.c: Do not include <bp-sym.h>.
8193 (fegetenv): Do not use BP_SYM in versioned symbols.
8194 * nptl/sysdeps/pthread/bits/libc-lockP.h
8195 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8196 <bp-sym.h>.
8197 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8198 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8199 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8200 (__pthread_mutex_destroy): Likewise.
8201 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8202 (__pthread_mutex_lock): Likewise.
8203 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8204 (__pthread_mutex_trylock): Likewise.
8205 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8206 (__pthread_mutex_unlock): Likewise.
8207 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8208 (__pthread_mutexattr_init): Likewise.
8209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8210 (__pthread_mutexattr_destroy): Likewise.
8211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8212 (__pthread_mutexattr_settype): Likewise.
8213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8214 (__pthread_rwlock_init): Likewise.
8215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8216 (__pthread_rwlock_destroy): Likewise.
8217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8218 (__pthread_rwlock_rdlock): Likewise.
8219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8220 (__pthread_rwlock_tryrdlock): Likewise.
8221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8222 (__pthread_rwlock_wrlock): Likewise.
8223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8224 (__pthread_rwlock_trywrlock): Likewise.
8225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8226 (__pthread_rwlock_unlock): Likewise.
8227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8228 (__pthread_key_create): Likewise.
8229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8230 (__pthread_setspecific): Likewise.
8231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8232 (__pthread_getspecific): Likewise.
8233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8234 Likewise.
8235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8236 (_pthread_cleanup_push_defer): Likewise.
8237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8238 (_pthread_cleanup_pop_restore): Likewise.
8239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8240 (pthread_setcancelstate): Likewise.
8241 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8242 <bp-sym.h>.
8243 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8244 (memchr): Do not use BP_SYM in weak_alias.
8245 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8246 (fegetenv): Do not use BP_SYM in versioned symbols.
8247 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8248 (fesetenv): Do not use BP_SYM in versioned symbols.
8249 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8250 (feupdateenv): Do not use BP_SYM in versioned symbols.
8251 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8252 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8253 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8254 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8255 (open64): Do not use BP_SYM in weak_alias.
8256 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8257 (fegetenv): Do not use BP_SYM in versioned symbols.
8258 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8259 (fesetenv): Do not use BP_SYM in versioned symbols.
8260 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8261 (feupdateenv): Do not use BP_SYM in versioned symbols.
8262 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8263 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8264 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8265 (feraiseexcept): Do not use BP_SYM in versioned symbols.
8266 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8267 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8268 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8269 <bp-sym.h>.
8270 (__libc_start_main): Do not use BP_SYM.
8271
d6752ccd
SP
82722013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8273
cb57ce60
SP
8274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8275 redundant return line.
8276 (norm): Likewise.
8277 (denorm): Likewise.
8278 (dbl_mp): Likewise.
8279 (sub_magnitudes): Likewise.
8280 (__add): Likewise.
8281 (__sub): Likewise.
8282 (__mul): Likewise.
8283 (__inv): Likewise.
8284 (__dvd): Likewise.
8285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8286 (norm): Likewise.
8287 (denorm): Likewise.
8288 (dbl_mp): Likewise.
8289 (sub_magnitudes): Likewise.
8290 (__add): Likewise.
8291 (__sub): Likewise.
8292 (__mul): Likewise.
8293 (__inv): Likewise.
8294 (__dvd): Likewise.
8295
f414520d
SP
8296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8297 instead of __mul.
8298 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8299 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8300 (cc32): Likewise.
8301
d6752ccd
SP
8302 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8303 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8305 of __mul for squares.
8306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8307 function
8308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8309 Likewise.
8310 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8311 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8312
70d9946a
JM
83132013-02-13 Joseph Myers <joseph@codesourcery.com>
8314
8315 [BZ #13550]
8316 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8317 code.
8318 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8319 prototype or function definition. Rename ubp_* variables and
8320 parameters. Remove argv definitions conditional on
8321 [__BOUNDED_POINTERS__].
8322 * debug/backtrace.c (__backtrace): Do not use __unbounded.
8323 * elf/dl-runtime.c (_dl_fixup): Likewise.
8324 * include/set-hooks.h (RUN_HOOK): Likewise.
8325 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8326 definition.
8327 * string/strcpy.c (strcpy): Do not use __unbounded.
8328 * sysdeps/generic/frame.h (struct layout): Likewise.
8329 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8330 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8331 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8332 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8333 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8334 (__backtrace): Likewise.
8335 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8336 use __ptrvalue.
8337 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8338 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8339 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8340 Likewise.
8341 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8342 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8343 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8344 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8345 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8346 Do not use __unbounded.
8347 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8348 Rename __unboundedrlimits parameter to rlimits in prototype.
8349 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8350 Do not use __unbounded.
8351 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8352 not use __ptrvalue.
8353 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8354 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8355 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8356 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8357 __ptrvalue or __unbounded.
8358 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8359 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8360 use __unbounded.
8361 (__new_msgctl): Do not use __ptrvalue.
8362 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8363 __unbounded.
8364 (__libc_msgrcv): Do not use __ptrvalue.
8365 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8366 startup_info): Do not use __unbounded.
8367 (__libc_start_main): Likewise. Rename ubp_* variables and
8368 parameters. Remove argv definitions conditional on
8369 [__BOUNDED_POINTERS__].
8370 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8371 __ptrvalue.
8372 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8373 use __unbounded.
8374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8375 or __ptrvalue.
8376 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8377 use __unbounded.
8378 (__new_shmctl): Do not use __ptrvalue.
8379 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8380 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8381 Likewise.
8382 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8383 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8384 (__libc_sigaction): Likewise.
8385 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8386 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8387 Likewise.
8388 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8389
cc7834d6
OB
83902013-02-13 Ondřej Bílka <neleai@seznam.cz>
8391
ffb1ec7b 8392 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
8393
8394 * string/mempcpy.c: Implement by calling memcpy.
8395
bdf02814
SP
83962013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8397
c2af38aa
SP
8398 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8399
4e92d59e
SP
8400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8401 evaluation.
8402
909279a5
SP
8403 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8404 values in the mantissa.
8405
bdf02814
SP
8406 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8407 minimize writes to Z.
8408 (sub_magnitudes): Simplify code a bit.
8409
cd525923
RM
84102013-02-12 Roland McGrath <roland@hack.frob.com>
8411
8412 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8413 from the message. The linker prefixes all warnings with that already.
8414
7e2f0d2d
AS
84152013-02-12 Andreas Schwab <schwab@suse.de>
8416
a445af0b
AS
8417 [BZ #15078]
8418 * posix/regexec.c (extend_buffers): Add parameter min_len.
8419 (check_matching): Pass minimum needed length.
8420 (clean_state_log_if_needed): Likewise.
8421 (get_subexp): Likewise.
8422 * posix/Makefile (tests): Add bug-regex34.
8423 (bug-regex34-ENV): Define.
8424 * posix/bug-regex34.c: New file.
8425
7e2f0d2d
AS
8426 [BZ #11561]
8427 * posix/regcomp.c (parse_bracket_exp): When looking up collating
8428 elements compare against the byte sequence of it, not its name.
8429 * posix/Makefile (tests): Add bug-regex35.
8430 (bug-regex35-ENV): Define.
8431 * posix/bug-regex35.c: New file.
8432
a175b684
TV
84332013-02-11 Tom de Vries <tom@codesourcery.com>
8434
8435 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
8436 comment.
8437 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8438 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8439 (CHECK_EOL): Add undef.
8440
310998fe 84412013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
8442
8443 * bits/stdlib-bsearch.h: New file.
8444 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 8445 * stdlib/stdlib.h: Likewise.
41eda41d 8446
8ded91fb
RM
84472013-02-11 Roland McGrath <roland@hack.frob.com>
8448
8449 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8450 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8451 declaration.
8452 * manual/search.texi (Array Search Function): Add missing const in
8453 lfind prototype.
8454 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8455 declaration to use rlim_t.
8456 (Basic Scheduling Functions): Remove erroneous const from
8457 sched_getparam prototype. Remove erroneous * from
8458 sched_get_priority_max and sched_get_priority_min prototypes.
8459 (Resource Usage): Fix summary @comment on vtimes to refer to
8460 sys/vtimes.h rather than vtimes.h.
8461 Add missing *s in vtimes prototype.
8462 (Limits on Resources): Fix ulimit prototype to return long int.
8463 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8464 prototypes to use long int rather than double.
8465 (BSD Random): Fix initstate and setstate to use char *, not void *.
8466 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8467 prototype to make second argument 'struct aiocb64 *const[]'.
8468 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8469 (Status of AIO Operations): Remove erroneous const in aio_return and
8470 aio_return64 prototypes.
8471 (Synchronizing I/O): Fix sync prototype to return void.
8472 * manual/startup.texi (Suboptions): Remove an erroneous const in
8473 getsubopt prototype.
8474 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8475 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8476 use size_t rather than int.
8477 (Scanning All Users): Likewise for getpwent_r.
8478 (Setting Groups): Add missing const to setgroups prototype.
8479 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8480 * manual/socket.texi (Host Names): Fix gethostbyaddr and
8481 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8482 'const void *' rather than 'const char *'.
8483 (Host Address Functions): Likewise for inet_ntop.
8484 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8485 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8486 ssize_t for return value.
8487 (Sending Data): Likewise for send, sendto, sendmsg.
8488 (Socket Option Functions): Add a missing const in setsockopt prototype.
8489 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8490 use wchar_t for the argument.
8491 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8492 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8493 take no arguments.
8494 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8495 double/float/long double for second argument.
8496 Fix return types of significand, significandf, significandl.
8497 * manual/filesys.texi (Setting Permissions): Use mode_t for second
8498 argument in fchmod prototype.
8499 (File Owner): Use uid_t and gid_t in fchown prototype.
8500 (File Times): Add const to utimes, futimes, and lutimes prototypes.
8501 (Making Special Files): Use mode_t and dev_t in mknod prototype.
8502 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8503 use 'const struct dirent **' as argument types to CMP function pointer
8504 argument.
8505 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8506 (File Times): Fix summary magic @comment for struct utimbuf and utime
8507 to refer to utime.h, not time.h.
8508 * manual/string.texi (Argz Functions): Add missing const in
8509 argz_extract and argz_next prototypes.
8510 (Finding Tokens in a String): Likewise for basename.
8511 (String/Array Comparison): Fix typo in wcscasecmp prototype.
8512 (Copying and Concatenation): Fix typo in wmemmove prototype.
8513 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8514 (Signal Stack): Remove erroneous const in sigstack prototype.
8515 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8516 prototype.
8517 (Simple Calendar Time): Likewise for stime.
8518 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8519 prototype.
8520 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8521 say sys/sysctl.h instead.
8522 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8523 and vsyslog prototypes.
8524
fe77fe6d
TV
85252013-02-11 Tom de Vries <tom@codesourcery.com>
8526
8527 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8528 Remove.
8529
3a09b620
RM
85302013-02-11 Roland McGrath <roland@hack.frob.com>
8531
8532 * misc/sys/mman.h: Fix typo in mremap comment.
8533
550a0b89
RM
85342013-02-08 Roland McGrath <roland@hack.frob.com>
8535
8536 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8537 the '\0' terminator.
8538
a2da1673
JM
85392013-02-08 Joseph Myers <joseph@codesourcery.com>
8540
8541 [BZ #13550]
8542 * debug/segfault.c: Don't include <bp-checks.h>.
8543 * sysdeps/generic/bp-checks.h: Remove file.
8544 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8545 (__GETDENTS): Don't use CHECK_N.
8546 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8547 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8548 (__getgroups): Don't use CHECK_N.
8549 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8550 (setgroups): Don't use CHECK_N.
8551 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8552 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8553 (__libc_msgrcv): Don't use CHECK_N.
8554 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8555 (__libc_msgsnd): Don't use CHECK_N.
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8557 <bp-checks.h>.
8558 (__libc_pread): Don't use CHECK_N.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8560 include <bp-checks.h>.
8561 (__libc_pread64): Don't use CHECK_N.
8562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8563 include <bp-checks.h>.
8564 (__libc_pwrite): Don't use CHECK_N.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8566 include <bp-checks.h>.
8567 (__libc_pwrite64): Don't use CHECK_N.
8568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8569 <bp-checks.h>.
8570 (__libc_pread): Don't use CHECK_N.
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8572 include <bp-checks.h>.
8573 (__libc_pread64): Don't use CHECK_N.
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8575 include <bp-checks.h>.
8576 (__libc_pwrite): Don't use CHECK_N.
8577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8578 include <bp-checks.h>.
8579 (__libc_pwrite64): Don't use CHECK_N.
8580 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8581 (do_pread): Don't use CHECK_N.
8582 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8583 (do_pread64): Don't use CHECK_N.
8584 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8585 (do_pwrite): Don't use CHECK_N.
8586 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8587 (do_pwrite64): Don't use CHECK_N.
8588 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8589 (__libc_readv): Don't use CHECK_N.
8590 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8591 (semop): Don't use CHECK_N.
8592 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8593 <bp-checks.h>.
8594 (semtimedop): Don't use CHECK_N.
8595 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8596 (__libc_pread): Don't use CHECK_N.
8597 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8598 <bp-checks.h>.
8599 (__libc_pread64): Don't use CHECK_N.
8600 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8601 <bp-checks.h>.
8602 (__libc_pwrite): Don't use CHECK_N.
8603 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8604 <bp-checks.h>.
8605 (__libc_pwrite64): Don't use CHECK_N.
8606 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8607 <bp-checks.h>.
8608 (__libc_msgrcv): Don't use CHECK_N.
8609 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8610 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
8611 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8612 (__libc_writev): Don't use CHECK_N.
8613
b84660a8
RM
86142013-02-08 Roland McGrath <roland@hack.frob.com>
8615
7f3e75f8
RM
8616 * string/strcpy.c: Removed unused variable.
8617
b84660a8
RM
8618 * Makeconfig (+sysdep-includes): Define with := rather than =.
8619 Use an existing include/ subdir of each sysdeps dir before it.
8620
471514d3
CD
86212013-02-08 Carlos O'Donell <carlos@redhat.com>
8622
8623 * nscd/connection.c (register_traced_file): Comment function.
8624 [HAVE_INOTIFY] (union __inev): Define.
8625 [HAVE_INOTIFY] (inotify_check_files): New function.
8626 [HAVE_INOTIFY] (clear_db_cache): Likewise.
8627 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8628 clear_db_cache.
8629 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8630
b2d3c3be
CD
86312013-02-08 Carlos O'Donell <carlos@redhat.com>
8632
8633 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8634 loaded if not already and that a failure is permanent.
8635
b39949d2
CD
86362013-02-08 Carlos O'Donell <carlos@redhat.com>
8637
ddacd1db 8638 [BZ #15006]
b39949d2
CD
8639 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8640 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8641
b2c9eff4
JM
86422013-02-08 Joseph Myers <joseph@codesourcery.com>
8643
f3aae3f3
JM
8644 [BZ #13550]
8645 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8646 (CHECK_1_NULL_OK): Likewise.
8647 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8648 (__fxstat): Do not use CHECK_1.
8649 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8650 <bp-checks.h>.
8651 (___fxstat64): Do not use CHECK_1.
8652 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8653 <bp-checks.h>.
8654 (__fxstatat): Do not use CHECK_1.
8655 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8656 <bp-checks.h>.
8657 (__fxstatat64): Do not use CHECK_1.
8658 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8659 <bp-checks.h>.
8660 (__fxstat): Do not use CHECK_1.
8661 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8662 <bp-checks.h>.
8663 (__fxstatat): Do not use CHECK_1.
8664 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8665 <bp-checks.h>.
8666 (__getresgid): Do not use CHECK_1.
8667 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8668 <bp-checks.h>.
8669 (__getresuid): Do not use CHECK_1.
8670 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8671 <bp-checks.h>.
8672 (__lxstat): Do not use CHECK_1.
8673 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8674 <bp-checks.h>.
8675 (__old_msgctl): Do not use CHECK_1.
8676 (__new_msgctl): Likewise.
8677 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8678 <bp-checks.h>.
8679 (__new_setrlimit): Do not use CHECK_1.
8680 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8681 <bp-checks.h>.
8682 (__old_shmctl): Do not use CHECK_1.
8683 (__new_shmctl): Likewise.
8684 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8685 <bp-checks.h>.
8686 (__xstat): Do not use CHECK_1.
8687 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8688 (__lxstat): Do not use CHECK_1.
8689 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8690 <bp-checks.h>.
8691 (___lxstat64): Do not use CHECK_1.
8692 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8693 (__old_msgctl): Do not use CHECK_1.
8694 (__new_msgctl): Likewise.
8695 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8696 <bp-checks.h>.
8697 (__gettimeofday): Do not use CHECK_1.
8698 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8699 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8700 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8701 <bp-checks.h>.
8702 (__gettimeofday): Do not use CHECK_1.
8703 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8704 (__old_shmctl): Do not use CHECK_1_NULL_OK.
8705 (__new_shmctl): Do not use CHECK_1.
8706 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8707 <bp-checks.h>.
8708 (do_sigtimedwait): Do not use CHECK_1.
8709 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8710 <bp-checks.h>.
8711 (do_sigwaitinfo): Do not use CHECK_1.
8712 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8713 <bp-checks.h>.
8714 (msgctl): Do not use CHECK_1.
8715 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8716 <bp-checks.h>.
8717 (shmctl): Do not use CHECK_1.
8718 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8719 (ustat): Do not use CHECK_1.
8720 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8721 <bp-checks.h>.
8722 (__fxstat): Do not use CHECK_1.
8723 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8724 <bp-checks.h>.
8725 (__fxstatat): Do not use CHECK_1.
8726 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8727 <bp-checks.h>.
8728 (__lxstat): Do not use CHECK_1.
8729 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8730 <bp-checks.h>.
8731 (__xstat): Do not use CHECK_1.
8732 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8733 (__xstat): Do not use CHECK_1.
8734 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8735 (___xstat64): Do not use CHECK_1.
8736
b2c9eff4
JM
8737 [BZ #13550]
8738 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8739 definitions.
8740 (CHECK_BOUNDS_HIGH): Likewise.
8741 * string/strcpy.c: Do not include <bp-checks.h>.
8742 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8743
f1d70dad
RM
87442013-02-07 Roland McGrath <roland@hack.frob.com>
8745
8746 * nscd/nscd-client.h (__nscd_drop_map_ref):
8747 Add __attribute__ ((unused)).
8748 * nis/nss-nisplus.h (niserr2nss): Likewise.
8749
8750 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8751 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8752
8753 * csu/libc-tls.c (init_static_tls, init_slotinfo):
8754 Remove inline keyword.
8755 * include/rounding-mode.h (round_away): Likewise.
8756 * libio/wfileops.c (adjust_wide_data): Likewise.
8757 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8758 (__m128i_strloadu_tolower): Likewise.
8759 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8760 (__m128i_strloadu_tolower): Likewise.
8761 * time/mktime.c (ydhms_diff): Likewise.
8762 * locale/elem-hash.h (elem_hash): Likewise.
8763 * locale/setlocale.c (setdata): Likewise.
8764 * posix/regex_internal.h (re_string_char_size_at): Likewise.
8765 (re_string_wchar_at): Likewise.
8766 (bitset_not, bitset_merge, bitset_mask): Likewise.
8767 [!(__GNUC__ > 3)] (inline): Remove macro.
8768 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8769 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8770 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8771 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8772 * string/memcmp.c (memcmp_bytes): Likewise.
8773 * locale/programs/locarchive.c (compute_hashval): Likewise.
8774 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8775 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8776 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8777 * nss/getent.c (print_rpc, print_protocols): Likewise.
8778 (print_passwd, print_group, print_aliases): Likewise.
8779 * nis/nss-nisplus.h (niserr2nss): Likewise.
8780 * nscd/connections.c (restart_p): Likewise.
8781 Change return type to bool.
8782
eab55bfb
RM
87832013-02-05 Roland McGrath <roland@hack.frob.com>
8784
7bd642f5
RM
8785 * Makeconfig (all-Depend-files): Add existing
8786 $(sorted-subdirs:=/Depend) files.
8787 (all-subdirs): Remove nss.
8788 * sysdeps/unix/inet/Subdirs: Add it here instead.
8789 * hesiod/Depend: New file.
8790
573c29b2
RM
8791 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8792 instead of calling alloca.
8793
b2e25af0
RM
8794 * io/lseek.c (__lseek): Rename to __libc_lseek.
8795 Define __lseek as an alias.
8796
eab55bfb
RM
8797 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8798
9a0d1941
CD
87992013-02-04 Carlos O'Donell <carlos@redhat.com>
8800
8801 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8802 else clause and remove check for non-standard endianness.
8803
b83bbec4
DM
88042013-02-04 David S. Miller <davem@davemloft.net>
8805
8806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8807
6277fdab
JM
88082013-02-04 Joseph Myers <joseph@codesourcery.com>
8809
8810 [BZ #13550]
8811 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8812 (__ubp_memchr): Remove prototype.
8813 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8814 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8815 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8816 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8817 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8818 Remove alias.
8819 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8820 (__ubp_memchr): Likewise.
8821 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8822 (__ubp_memchr): Likewise.
8823 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8824 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8825 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8826 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8827 CHECK_STRING.
8828 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8829 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8830 (__getcwd): Do not use CHECK_STRING.
8831 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8832 <bp-checks.h>.
8833 (__real_chown): Do not use CHECK_STRING.
8834 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8835 <bp-checks.h>.
8836 (fchownat): Do not use CHECK_STRING.
8837 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8838 CHECK_STRING.
8839 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8840 <bp-checks.h>.
8841 (__lchown): Do not use CHECK_STRING.
8842 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8843 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8844 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8845 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8847 include <bp-checks.h>.
8848 (truncate64): Do not use CHECK_STRING.
8849 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8850 <bp-checks.h>.
8851 (__real_chown): Do not use CHECK_STRING.
8852 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8853 <bp-checks.h>.
8854 (__lchown): Do not use CHECK_STRING.
8855 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8856 <bp-checks.h>.
8857 (__chown): Do not use CHECK_STRING.
8858 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8859 <bp-checks.h>.
8860 (truncate64): Do not use CHECK_STRING.
8861 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8862 Likewise.
8863 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8864 (__xmknod): Do not use CHECK_STRING.
8865 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8866 <bp-checks.h>.
8867 (__xmknodat): Do not use CHECK_STRING.
8868 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8869 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8870
903ae060
AS
88712013-02-04 Andreas Schwab <schwab@suse.de>
8872
8873 [BZ #14142]
8874 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8875 * include/netdb.h: Likewise for h_errno.
8876 * elf/tst-stackguard1.c: Include <tls.h>.
8877
542f9466
JK
88782013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8879
8880 * elf/link.h (struct link_map): Extend the l_addr comment.
8881 * include/link.h (struct link_map): Likewise.
8882
e782a927
JM
88832013-02-01 Joseph Myers <joseph@codesourcery.com>
8884
8885 [BZ #13550]
8886 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8887 (BOUNDED_1): Remove macro.
8888 * debug/backtrace.c: Don't include <bp-checks.h>.
8889 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8890 (__backtrace): Likewise.
8891 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8892 <bp-checks.h>.
8893 (__backtrace): Don't use BOUNDED_1.
8894 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8895 <bp-checks.h>.
8896 (__backtrace): Don't use BOUNDED_1.
8897 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8898 (__backtrace): Don't use BOUNDED_1.
8899 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8900 (shmat): Don't use BOUNDED_N.
8901
8cf28c5e
JM
89022013-01-31 Joseph Myers <joseph@codesourcery.com>
8903
3a7ac8a0
JM
8904 [BZ #13550]
8905 * sysdeps/generic/bp-start.h: Remove file.
8906 * csu/libc-start.c: Don't include <bp-start.h>.
8907 (LIBC_START_MAIN): Set up __environ directly instead of using
8908 INIT_ARGV_and_ENVIRON.
8909 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8910 <bp-start.h>.
8911
f3499f95
JM
8912 [BZ #13550]
8913 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8914 definitions.
8915 (CHECK_FCNTL): Likewise.
8916 (CHECK_N_PAGES): Likewise.
8917
32a45bea
JM
8918 [BZ #13550]
8919 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8920 definitions.
8921 (CHECK_SIGSET_NULL_OK): Likewise.
8922 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8923 <bp-checks.h>.
8924 (sigpending): Don't use CHECK_SIGSET.
8925 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8926 <bp-checks.h>.
8927 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8928 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8929 <bp-checks.h>.
8930 (do_sigsuspend): Don't use CHECK_SIGSET.
8931 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8932 use CHECK_SIGSET.
8933 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8934 (do_sigwait): Don't use CHECK_SIGSET.
8935 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8936 use CHECK_SIGSET.
8937 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8938 include <bp-checks.h>.
8939 (sigpending): Don't use CHECK_SIGSET.
8940 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8941 include <bp-checks.h>.
8942 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8943 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8944 <bp-checks.h>.
8945 (sigpending): Don't use CHECK_SIGSET.
8946 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8947 <bp-checks.h>.
8948 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8949
2e8a5c8c
JM
8950 [BZ #13550]
8951 * sysdeps/generic/bp-semctl.h: Remove file.
8952 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8953 <bp-checks.h> and <bp-semctl.h>.
8954 (__old_semctl): Don't use CHECK_SEMCTL.
8955 (__new_semctl): Likewise.
8956 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8957 and <bp-semctl.h>.
8958 (__old_semctl): Don't use CHECK_SEMCTL.
8959 (__new_semctl): Likewise.
8960 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8961 <bp-checks.h> and <bp-semctl.h>.
8962 (__old_semctl): Don't use CHECK_SEMCTL.
8963 (__new_semctl): Likewise.
8964 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8965 <bp-checks.h> and <bp-semctl.h>.
8966 (semctl): Don't use CHECK_SEMCTL.
8967
c2d54929
JM
8968 [BZ #13550]
8969 * Makerules (elide-bp-thunks): Remove variable.
8970 (elide-routines.oS): Don't use $(elide-bp-thunks).
8971 (elide-routines.os): Likewise.
8972 (elide-routines.o): Likewise.
8973 (elide-routines.op): Likewise.
8974 (elide-routines.og): Likewise.
8975 (objects): Don't use $(bp-thunks).
8976 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8977 include.
8978 (common-generated): Do not add s-proto-bp.d.
8979 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8980 (int): Likewise.
8981 (typ): Likewise.
8982 Do not generate makefile rules for bounded-pointer thunks.
8983 * sysdeps/generic/bp-thunks.h: Remove file.
8984 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8985 * sysdeps/unix/s-proto-bp.S: Likewise.
8986
8cf28c5e
JM
8987 [BZ #15062]
8988 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8989 parts of result separately when argument is not close to line from
8990 -i to i and one part of argument is small.
8991 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8992 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8993 * math/libm-test.inc (cacos_test): Add more tests.
8994 (casin_test): Likewise.
8995 (casinh_test): Likewise.
8996 * sysdeps/i386/fpu/libm-test-ulps: Update.
8997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8998
c4e33b8d
DM
89992013-01-31 David S. Miller <davem@davemloft.net>
9000
9001 * po/de.po: Update from translation team.
9002
3b60b421
MK
90032013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
9004
9005 * time/tzfile.c: Include stdint.h for SIZE_MAX.
9006
bb931195
TS
90072013-01-25 Thomas Schwinge <thomas@codesourcery.com>
9008
b5a5da23
TS
9009 * configure.in (_AC_PROG_CC_C89): New definition.
9010 * configure: Regenerate.
9011
bb931195
TS
9012 * configure.in (AC_PROG_CPP): New definition.
9013 * configure: Regenerate.
9014
8c53a12c
JM
90152013-01-23 Joseph Myers <joseph@codesourcery.com>
9016
9017 * debug/tst-backtrace.h: New file.
9018 * debug/tst-backtrace2.c: Include tst-backtrace.h.
9019 (ret): Remove variable.
9020 (x): Likewise.
9021 (FAIL): Remove macro.
9022 (NO_INLINE): Likewise.
9023 (fn1): Use match function instead of strstr.
9024 * debug/tst-backtrace3.c: Include tst-backtrace.h.
9025 (ret): Remove variable.
9026 (x): Likewise.
9027 (FAIL): Remove macro.
9028 (NO_INLINE): Likewise.
9029 (fn): Use match function instead of strstr.
9030 * debug/tst-backtrace4.c: Include tst-backtrace.h.
9031 (ret): Remove variable.
9032 (x): Likewise.
9033 (FAIL): Remove macro.
9034 (NO_INLINE): Likewise.
9035 (handle_signal): Use match function instead of strstr.
9036 * debug/tst-backtrace5.c: Include tst-backtrace.h.
9037 (ret): Remove variable.
9038 (x): Likewise.
9039 (FAIL): Remove macro.
9040 (NO_INLINE): Likewise.
9041 (handle_signal): Use match function instead of strstr.
9042
4858fa2a
RM
90432013-01-23 Roland McGrath <roland@hack.frob.com>
9044
9045 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9046
bae8e7f5
DM
90472013-01-23 David S. Miller <davem@davemloft.net>
9048
9049 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9050 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9051 argument of CAS if possible.
9052 * sysdeps/sparc/sparc64/bits/atomic.h
9053 (__arch_compare_and_exchange_val_32_acq): Likewise.
9054 (__arch_compare_and_exchange_val_64_acq): Likewise.
9055
9cbbc4ae
PT
90562013-01-23 Pino Toscano <toscano.pino@tiscali.it>
9057
9058 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9059 * sysdeps/posix/ulimit.c: ... this.
92a601b8 9060 Include <limits.h>.
67b3f58c 9061 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 9062
5655a0b5
AC
90632013-01-23 Adam Conrad <adconrad@0c3.net>
9064
9065 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9066 (LDFLAGS-tst-array5): Likewise.
9067
052aff95
JM
90682013-01-23 Joseph Myers <joseph@codesourcery.com>
9069
9070 [BZ #15036]
9071 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9072 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9073 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9074 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9075
7c1e01aa
DM
90762013-01-21 David S. Miller <davem@davemloft.net>
9077
9078 * sysdeps/sparc/backtrace.c: New file.
9079 * sysdeps/sparc/sparc32/backtrace.h: New file.
9080 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9081 * sysdeps/sparc/sparc64/backtrace.h: New file.
9082 * sysdeps/sparc/sparc64/backtrace.c: Delete.
9083 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9084 -funwind-tables.
9085
ab087e0a
AS
90862013-01-21 Andreas Schwab <schwab@suse.de>
9087
9088 [BZ #15020]
9089 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9090 closed its stdout.
9091
ed689c2f
AS
90922013-01-20 Andreas Schwab <schwab@linux-m68k.org>
9093
9094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9095 "mpa2.h".
9096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9097
31d470ac
JM
90982013-01-18 Joseph Myers <joseph@codesourcery.com>
9099 Mark Mitchell <mark@codesourcery.com>
9100 Tom de Vries <tom@codesourcery.com>
9101 Paul Pluzhnikov <ppluzhnikov@google.com>
9102
9103 * debug/tst-backtrace2.c: New file.
9104 * debug/tst-backtrace3.c: Likewise.
9105 * debug/tst-backtrace4.c: Likewise.
9106 * debug/tst-backtrace5.c: Likewise.
9107 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9108 (CFLAGS-tst-backtrace3.c): Likewise.
9109 (CFLAGS-tst-backtrace4.c): Likewise.
9110 (CFLAGS-tst-backtrace5.c): Likewise.
9111 (LDFLAGS-tst-backtrace2): Likewise.
9112 (LDFLAGS-tst-backtrace3): Likewise.
9113 (LDFLAGS-tst-backtrace4): Likewise.
9114 (LDFLAGS-tst-backtrace5): Likewise.
9115 (tests): Add new tests tst-backtrace2, tst-backtrace3,
9116 tst-backtrace4 and tst-backtrace5.
9117
90567f30 91182013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
9119 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9120
9121 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9122 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9123 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9124 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9126 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9127 "+r" and remove output regs list as redundant. Add explicit inline
9128 asm to specify register of return val to work around compiler codegen
9129 bug. Remove (int) cast on return value. Add return type parameter to
9130 use in macro so that this macro does not truncate return value for
9131 64-bit values.
9132 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9133 pass to INTERNAL_VSYSCALL_NCS.
9134 (INLINE_VSYSCALL): Add 'long int' as return type to
9135 INTERNAL_VSYSCALL_NCS macro invocation.
9136 (INTERNAL_VSYSCALL): Add 'long int' as return type to
9137 INTERNAL_VSYSCALL_NCS macro invocation.
9138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9139
d3b9ea61
SP
91402013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9141
0b57daeb
SP
9142 [BZ #14496]
9143 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9144 Fix application of SIMD FP exception mask.
9145
caa99d06
SP
9146 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9147 mp_no from a power of two.
9148 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9149 __mpexp_twomm1. Use __pow_mp.
9150
d3b9ea61
SP
9151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9152 multiplication.
9153
1dbaee3c
DM
91542013-01-17 David S. Miller <davem@davemloft.net>
9155
9156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9157
728d7b43
JM
91582013-01-17 Joseph Myers <joseph@codesourcery.com>
9159
9160 [BZ #15023]
9161 * include/complex.h: Condition contents on [!_COMPLEX_H].
9162 (__kernel_casinhf): New prototype.
9163 (__kernel_casinh): Likewise.
9164 (__kernel_casinhl): Likewise.
9165 * math/Makefile (libm_calls): Add k_casinh.
9166 * math/k_casinh.c: New file.
9167 * math/k_casinhf.c: Likewise.
9168 * math/k_casinhl.c: Likewise.
9169 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9170 finite nonzero arguments.
9171 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9172 finite nonzero arguments.
9173 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9174 finite nonzero arguments.
9175 * math/s_casinh.c: Do not include <float.h>.
9176 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9177 * math/s_casinhf.c: Do not include <float.h>.
9178 (__casinhf): Move code for finite nonzero arguments to
9179 k_casinhf.c.
9180 * math/s_casinhl.c: Do not include <float.h>.
9181 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9182 redefine.
9183 (__casinhl): Move code for finite nonzero arguments to
9184 k_casinhl.c.
9185 * math/libm-test.inc (cacos_test): Add more tests.
9186 * sysdeps/i386/fpu/libm-test-ulps: Update.
9187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9188
2a26ef3a
PT
91892013-01-17 Pino Toscano <toscano.pino@tiscali.it>
9190
9191 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9192 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9193 [!HAVE_MREMAP]: Remove [defined linux] case.
9194 * malloc/arena.c: Do not include <malloc-sysdep.h>.
9195
a897655d
SP
91962013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9197
9198 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9199
881ebe89 92002013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
9201
9202 * elf/elf.h (R_386_SIZE32): New relocation.
9203 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9204 R_386_SIZE32.
9205 (elf_machine_rela): Likewise.
9206 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9207 R_X86_64_SIZE64 and R_X86_64_SIZE32.
9208
59981e9b
JM
92092013-01-17 Joseph Myers <joseph@codesourcery.com>
9210
9211 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9212 (FP_FAST_FMA): Do not define.
9213 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9214 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9215 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9216 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9217 !_SOFT_FLOAT]: Likewise.
9218 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9219 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9220 value.
9221 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9222 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9223 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9224 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9225 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9226 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9227 file.
9228
cfa8054f
AS
92292013-01-16 Andreas Schwab <schwab@suse.de>
9230
9231 [BZ #14327]
9232 * include/stdlib.h (__mktemp): Add declaration.
9233 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9234 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9235
dd930cc5
SP
92362013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9237
881ebe89
SP
9238 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9239 definitions.
9240 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9241 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9242 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9243 definitions here.
9244 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9245 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9246 definitions.
9247 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9248 and ONE.
9249 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9250 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9251 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9252 definitions.
9253 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9254 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9255 definitions.
9256 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 9257
dd930cc5
SP
9258 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9259
c19a9f89
DM
92602013-01-15 David S. Miller <davem@davemloft.net>
9261
1aa61767
DM
9262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9263 trunc{,f} to libm-sysdep_routes.
9264 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9266 file.
9267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9269 file.
9270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9271 file.
9272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9274 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9275 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9276 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9277 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9278 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9279 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9280
c42d5e98
DM
9281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9282 nearbyint{,f} to libm-sysdep_routes.
9283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9285 New file.
9286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9287 file.
9288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9289 New file.
9290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9291 file.
9292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9294 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9295 file.
9296 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9297 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9298 file.
9299 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9300 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9301 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9302
c19a9f89
DM
9303 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9304 libc_feholdexcept and libc_fesetenv.
9305
357679d2
MF
93062013-01-15 Mike Frysinger <vapier@gentoo.org>
9307
9308 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9309
65a82e3d
DM
93102013-01-14 David S. Miller <davem@davemloft.net>
9311
8b954ab9
DM
9312 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9313 (SPARC_ASM_VIS2_IFUNC): Likewise.
9314 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9316 use of 'siam' instruction.
9317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9318 Likewise.
9319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9320 Likewise.
9321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9322 Likewise.
9323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9328 file.
9329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9330 file.
9331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9332 file.
9333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9334 file.
9335 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9336 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9340 new VIS2 routines.
9341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9344 Likewise.
9345 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9346 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9350 routines to libm-sysdep_routines.
9351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9352
65a82e3d
DM
9353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9354 fdim/fdimf to libm-sysdep_routines.
9355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9356 file.
9357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9359 file.
9360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9363 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9364 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9365 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9366 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9367
e34ab705
SP
93682013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9369
2a91b573
SP
9370 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9371 to optimize copies.
9372
1066a534
SP
9373 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9374 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9375 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9376
e34ab705
SP
9377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9378 local variable MPTWO.
9379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9380 Likewise.
9381
aba5e596
MF
93822013-01-13 Mike Frysinger <vapier@gentoo.org>
9383
9384 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9385 GLOB_NOESCAPE.
9386
e557e9e5
MF
93872013-01-13 Mike Frysinger <vapier@gentoo.org>
9388
9389 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9390
0428cec9
MF
93912013-01-13 Mike Frysinger <vapier@gentoo.org>
9392
9393 * manual/pattern.texi (glob_t): Document gl_flags.
9394 (glob64_t): Likewise.
9395
8794a964
DM
93962013-01-11 David S. Miller <davem@davemloft.net>
9397
66438c3f
RM
9398 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9399 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9400 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
9401 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9402 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9403 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9404 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9405 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9406 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9407 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9408 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9409 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9410 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9411
4ae4244d
DM
9412 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9413 sparc V9 rather than using V8 code.
9414 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9415 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9416
8794a964
DM
9417 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9418 Move to...
9419 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9420 Here.
9421
6270516e
RM
94222013-01-11 Roland McGrath <roland@hack.frob.com>
9423
9424 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9425 not in the main loop.
9426 * configure: Regenerated.
9427
6a57d931
JM
94282013-01-11 Joseph Myers <joseph@codesourcery.com>
9429
9430 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9431 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9432 to just #else.
9433 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
9434 [!__GLIBC_HAVE_LONG_LONG] case.
9435 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9436 condition to just #else.
9437 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9438 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9439 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9440 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9441 unconditional.
9442 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9443 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9444 #elif condition to just #else.
9445 * sysdeps/unix/sysv/linux/sys/sysmacros.h
9446 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9447 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9448 #elif condition to just #else.
9449
0e8529e9
SE
94502013-01-11 Steve Ellcey <sellcey@mips.com>
9451
9452 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9453 (EF_MIPS_ARCH_64): Fix value.
9454 (EF_MIPS_ARCH_32R2): New.
9455 (EF_MIPS_ARCH_64R2): New.
9456
740b3dbe
L
94572013-01-11 H.J. Lu <hongjiu.lu@intel.com>
9458
9459 * Makeconfig (+link-pie-before-libc): New.
9460 (+link-pie-after-libc): Likewise.
9461 (+link-pie-tests): Likewise.
9462 (+link-pie): Rewritten.
9463 (link-before-libc): Remove $(config-LDFLAGS).
9464 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9465 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9466 (config-LDFLAGS): Renamed to ...
9467 (rtld-LDFLAGS): This.
9468 (rtld-tests-LDFLAGS): New macro.
9469 (link-libc-rpath-link): Likewise.
9470 (link-libc-tests-rpath-link): Likewise.
9471 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9472 (link-libc): Prepand $(link-libc-rpath-link).
9473 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9474 (test-program-prefix): New macro.
9475 (test-via-rtld-prefix): Likewise.
9476 (test-program-cmd): Likewise.
9477 (host-test-program-cmd): Likewise.
9478 * Makefile ($(common-objpfx)testrun.sh): Replace
9479 $(run-program-prefix) with $(test-program-prefix).
9480 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9481 $(rtld-LDFLAGS).
9482 ($(common-objpfx)shlib.lds): Likewise.
9483 (build-module-helper): Likewise.
9484 ($(common-objpfx)format.lds): Likewise.
9485 * Rules (binaries-pie-tests): New.
9486 (binaries-pie-notests): Likewise.
9487 (binaries-pie): Rewritten.
9488 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9489 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9490 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9491 (make-test-out): Replace $(host-built-program-cmd) with
9492 $(host-test-program-cmd).
9493 * config.make.in (build-hardcoded-path-in-tests): New variable.
9494 * configure.in (--enable-hardcoded-path-in-tests): New configure
9495 option.
9496 (hardcoded_path_in_tests): New AC_SUBST.
9497 * configure: Regenerated.
9498 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9499 $(built-program-cmd) with $(test-program-cmd).
9500 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9501 (test_program_cmd): This.
9502 * elf/Makefile ($(objpfx)order.out): Run test with
9503 $(test-program-prefix).
9504 ($(objpfx)order2.out): Likewise.
9505 ($(objpfx)tst-initorder.out): Likewise.
9506 ($(objpfx)tst-initorder2.out): Likewise.
9507 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9508 $(test-program-cmd).
9509 ($(objpfx)tst-array1-static.out): Likewise.
9510 ($(objpfx)tst-array2.out): Likewise.
9511 ($(objpfx)tst-array3.out): Likewise.
9512 ($(objpfx)tst-array4.out): Likewise.
9513 ($(objpfx)tst-array5.out): Likewise.
9514 ($(objpfx)tst-array5-static.out): Likewise.
9515 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9516 $(test-program-cmd).
9517 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9518 $(run-program-prefix) with $(test-program-prefix).
9519 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9520 (test_program_prefix): This.
9521 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9522 $(run-program-prefix) with $(test-program-prefix).
9523 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9524 (test_program_prefix): This.
9525 * iconvdata/tst-tables.sh: Likewise.
9526 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9527 $(run-program-prefix) with $(test-program-prefix).
9528 ($(objpfx)tst-translit.out): Likewise.
9529 ($(objpfx)tst-gettext2.out): Likewise.
9530 ($(objpfx)tst-gettext4.out): Likewise.
9531 ($(objpfx)tst-gettext6.out): Likewise.
9532 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9533 (test_program_prefix): This.
9534 * intl/tst-gettext2.sh: Likewise.
9535 * intl/tst-gettext4.sh Likewise.
9536 * intl/tst-gettext6.sh: Likewise.
9537 * intl/tst-translit.sh: Likewise.
9538 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9539 with $(test-program-cmd).
9540 * libio/Makefile ($(objpfx)test-freopen.out): Replace
9541 $(run-program-prefix) with $(test-program-prefix).
9542 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9543 (test_program_prefix): This.
9544 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9545 $(run-program-prefix) with $(test-program-prefix).
9546 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9547 (test_program_prefix): This.
9548 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9549 * posix/Makefile ($(objpfx)globtest.out): Replace
9550 $(run-via-rtld-prefix) and $(test-wrapper) with
9551 $(test-program-prefix) and $(test-via-rtld-prefix).
9552 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9553 $(test-program-prefix).
9554 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9555 $(host-test-program-cmd).
9556 (tst-spawn-ARGS): Likewise.
9557 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9558 $(test-program-prefix).
9559 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9560 (test_via_rtld_prefix): This.
9561 (test_wrapper): Renamed to ...
9562 (test_program_prefix): This.
9563 (run_program_prefix): Replaced by test_program_prefix.
9564 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9565 (test_program_prefix): This.
9566 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9567 with $(host-test-program-cmd).
9568 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9569 $(run-program-prefix) with $(test-program-prefix).
9570 ($(objpfx)tst-printf.out): Likewise.
9571 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9572 $(test-program-cmd).
9573 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9574 (test_program_prefix): This.
9575 * stdio-common/tst-unbputc.sh: Likewise.
9576 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9577 $(run-program-prefix) with $(test-program-prefix).
9578 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9579 (test_program_prefix): This.
9580 * string/Makefile ($(objpfx)tst-svc.out): Replace
9581 $(built-program-cmd) with $(test-program-cmd).
9582
c6fe55cf
AJ
95832013-01-11 Andreas Jaeger <aj@suse.de>
9584
9585 [BZ #15003]
9586 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9587 value. Sync with Linux 3.7.
9588
9e6919c8
DM
95892013-01-10 David S. Miller <davem@davemloft.net>
9590
9591 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9592 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9593 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9594
1c9f1a02
RM
95952013-01-10 Roland McGrath <roland@hack.frob.com>
9596
9597 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9598 never set.
9599 * configure: Regenerated.
9600
b9de2dde
DM
96012013-01-10 David S. Miller <davem@davemloft.net>
9602
9603 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9604 sparc V9 rather than using V8 code.
9605 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9606 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9607
e7f68ef4
RM
96082013-01-10 Roland McGrath <roland@hack.frob.com>
9609
9610 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9611 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9612 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9613 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9614 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9615 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9616 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9617 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9618 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9619 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9620 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9621 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9622 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9623 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9624 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9625 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9626 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9627 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9628 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9629 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9630 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9631 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9632 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9633 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9634 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9635 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9636 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9637
5a47cc9c
DM
96382013-01-10 David S. Miller <davem@davemloft.net>
9639
9640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9641
4cf8f209
L
96422013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9643
9644 * posix/Makefile (tests-static): New variable.
9645 (tests): Add $(tests-static).
9646 (tst-exec-static-ARGS): New variable.
9647 (tst-spawn-static-ARGS): Likewise.
9648 * posix/tst-exec-static.c: New file.
9649 * posix/tst-spawn-static.c: Likewise.
9650 * posix/tst-exec.c: Support run directly.
9651 * posix/tst-spawn.c: Likewise.
9652
fed0faa1
JM
96532013-01-10 Joseph Myers <joseph@codesourcery.com>
9654
828beb13
JM
9655 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9656 long.
9657 * math/bits/mathcalls.h (llrint): Likewise.
9658 (llround): Likewise.
9659 * stdlib/stdlib.h (struct drand48_data): Likewise.
9660 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9661 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9662 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9663 Likewise.
9664 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9665 Likewise.
9666 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9667 (elf_greg_t): Likewise.
9668 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9669 (__jmp_buf): Likewise.
9670 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9671 definitions.
9672 (llrint): Likewise, for all definitions.
9673 (llrintl): Likewise.
9674
fed0faa1
JM
9675 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9676 Remove [__GNUC__] condition.
9677 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9678 condition to just [__USE_ISOC99].
9679 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9680
1a20cb20
L
96812013-01-10 H.J. Lu <hongjiu.lu@intel.com>
9682
9683 [BZ #14200]
9684 * sysdeps/unix/sysv/linux/x86/bits/environments.h
9685 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9686 defined.
9687 (_POSIX_V6_ILP32_OFF32): Likewise.
9688 (_XBS5_ILP32_OFF32): Likewise.
9689 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9690 (__ILP32_OFFBIG_LDFLAGS): Likewise.
9691
751b85f7
SP
96922013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9693
7490eb81
SP
9694 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9695
751b85f7
SP
9696 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9697 doubles __mpexp_twomm1. Adjust usage.
9698 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9699 Remove.
9700
988197f0
AS
97012013-01-10 Andreas Schwab <schwab@suse.de>
9702
9703 [BZ #14964]
9704 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9705 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9706
e83d7298
DM
97072013-01-09 David S. Miller <davem@davemloft.net>
9708
034ed64b 9709 [BZ #15003]
e83d7298
DM
9710 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9711 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9712 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9713 TCP_FASTOPEN): Define.
9714 (tcp_repair_opt): New structure.
9715 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9716 enum values.
9717 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9718 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9719 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9720 (tcp_cookie_transactions): New structure.
9721
d5e0b9bd
AB
97222013-01-09 Anton Blanchard <anton@samba.org>
9723
9724 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9725 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9726 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9727 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9728
0c07e3ea
JM
97292013-01-09 Joseph Myers <joseph@codesourcery.com>
9730
9731 * include/features.h (__USE_ANSI): Remove.
9732
232f7002
RM
97332013-01-09 Roland McGrath <roland@hack.frob.com>
9734
ad98e30c
RM
9735 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9736
232f7002
RM
9737 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9738
950c99ca
SP
97392013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9740
b5792741
SP
9741 * sysdeps/s390/fpu/libm-test-ulps: Update.
9742
47cf2278
SP
9743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9744
950c99ca
SP
9745 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9746 (__acr): Likewise.
9747 (__cpy): Likewise.
9748 (norm): Likewise.
9749 (denorm): Likewise.
9750 (__mp_dbl): Likewise.
9751 (__dbl_mp): Likewise.
9752 (add_magnitudes): Likewise.
9753 (sub_magnitudes): Likewise.
9754 (__add): Likewise.
9755 (__sub): Likewise.
9756 (__mul): Likewise.
9757 (__inv): Likewise.
9758 (__dvd): Likewise.
9759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9760 (__acr): Likewise.
9761 (__cpy): Likewise.
9762 (norm): Likewise.
9763 (denorm): Likewise.
9764 (__mp_dbl): Likewise.
9765 (__dbl_mp): Likewise.
9766 (add_magnitudes): Likewise.
9767 (sub_magnitudes): Likewise.
9768 (__add): Likewise.
9769 (__sub): Likewise.
9770 (__mul): Likewise.
9771 (__inv): Likewise.
9772 (__dvd): Likewise.
9773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9774 (__acr): Likewise.
9775 (__cpy): Likewise.
9776 (norm): Likewise.
9777 (denorm): Likewise.
9778 (__mp_dbl): Likewise.
9779 (__dbl_mp): Likewise.
9780 (add_magnitudes): Likewise.
9781 (sub_magnitudes): Likewise.
9782 (__add): Likewise.
9783 (__sub): Likewise.
9784 (__mul): Likewise.
9785 (__inv): Likewise.
9786 (__dvd): Likewise.
9787
eede9df9
JM
97882013-01-08 Joseph Myers <joseph@codesourcery.com>
9789
9790 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9791 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9792 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9793 2 && __USE_EXTERN_INLINES]: Likewise.
9794
c40ea3d9
AJ
97952013-01-08 Andreas Jaeger <aj@suse.de>
9796
9797 [BZ# 14985]
9798 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9799 Remove.
9800 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9801 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9802
2ccdea26
AB
98032013-01-07 Anton Blanchard <anton@samba.org>
9804
9805 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9806 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9807 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9808 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9809 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9810 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9811 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9812 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9814 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9815 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9816 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9817 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9819 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9820 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9821 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9822 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9823 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9824 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9825 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9826 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9827 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9828 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9829 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9830 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9831 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9832 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9833 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9834 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9835 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9837 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9838 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9839 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9840 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9841 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9842 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9843 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9844 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9845 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9846 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9847 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9848
a9708fed
JM
98492013-01-07 Joseph Myers <joseph@codesourcery.com>
9850
375607b9
JM
9851 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9852 (__MALLOC_PMT): Likewise.
9853 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9854 [__GNUC__], only on [_LIBC].
9855 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9856 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9857 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9858 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9859 forward declaration.
9860 (realloc_hook_ini): Likewise.
9861 (memalign_hook_ini): Likewise.
9862 (__libc_memalign): Do not use __MALLOC_PMT in variable
9863 declaration.
9864 (__libc_valloc): Likewise.
9865 (__libc_pvalloc): Likewise.
9866 (__libc_calloc): Likewise.
9867 (__posix_memalign): Likewise.
9868
a9708fed
JM
9869 [BZ #14996]
9870 * math/s_casinh.c: Include <float.h>.
9871 (__casinh): Do not do computation with squaring and square root
9872 for large arguments.
9873 * math/s_casinhf.c: Include <float.h>.
9874 (__casinhf): Do not do computation with squaring and square root
9875 for large arguments.
9876 * math/s_casinhl.c: Include <float.h>.
9877 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9878 (__casinhl): Do not do computation with squaring and square root
9879 for large arguments.
9880 * math/libm-test.inc (casin_test): Add more tests.
9881 (casinh_test): Likewise.
9882 * sysdeps/i386/fpu/libm-test-ulps: Update.
9883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9884
afec409a
L
98852013-01-04 H.J. Lu <hongjiu.lu@intel.com>
9886
9887 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9888 (__x86_64_raw_data_cache_size): Likewise.
9889 (__x86_64_data_cache_size_half): Likewise.
9890 (__x86_64_raw_data_cache_size_half): Likewise.
9891 (__x86_64_shared_cache_size): Likewise.
9892 (__x86_64_raw_shared_cache_size): Likewise.
9893 (__x86_64_shared_cache_size_half): Likewise.
9894 (__x86_64_raw_shared_cache_size_half): Likewise.
9895 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9896 to ...
9897 (__x86_data_cache_size): This.
9898 (__x86_64_raw_data_cache_size): Renamed to ...
9899 (__x86_raw_data_cache_size): This.
9900 (__x86_64_data_cache_size_half): Renamed to ...
9901 (__x86_data_cache_size_half): This.
9902 (__x86_64_raw_data_cache_size_half): Renamed to ...
9903 (__x86_raw_data_cache_size_half): This.
9904 (__x86_64_shared_cache_size): Renamed to ...
9905 (__x86_shared_cache_size): This.
9906 (__x86_64_raw_shared_cache_size): Renamed to ...
9907 (__x86_raw_shared_cache_size): This.
9908 (__x86_64_shared_cache_size_half): Renamed to ...
9909 (__x86_shared_cache_size_half): This.
9910 (__x86_64_raw_shared_cache_size_half): Renamed to ...
9911 (__x86_raw_shared_cache_size_half): This.
9912 * sysdeps/x86_64/memcpy.S: Updated.
9913 * sysdeps/x86_64/memset.S: Likewise.
9914 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9915 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9916 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9917
0b3986d0
DM
99182013-01-04 David S. Miller <davem@davemloft.net>
9919
9920 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9921
e47686e9
AS
99222013-01-04 Andreas Schwab <schwab@linux-m68k.org>
9923
d643bac1
AS
9924 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9925 1 to avoid redefinition warning.
9926 (__USE_GNU): Don't define.
9927 (init_signaling_nan): Protoize.
9928
e47686e9
AS
9929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9930
b18decba
SP
99312013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9932
fffb407f
SP
9933 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9935 (__cpymn): Likewise.
9936 (norm): Remove commented code.
9937 (denorm): Likewise.
9938 (__mp_dbl): Likewise.
9939 (__inv): Likewise.
9940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9941 (__cpymn): Likewise.
9942 (norm): Remove commented code.
9943 (denorm): Likewise.
9944 (__mp_dbl): Likewise.
9945 (__inv): Likewise.
9946
b18decba
SP
9947 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9948 mp_no value for 1.0 and 2.0.
9949 (norm): Use RADIXI instead of radixi.d.
9950 (denorm): Likewise.
9951 (__mul): Use 0.0 instead of zero.d.
9952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9953 mp_no value for 1.0 and 2.0.
9954 (norm): Use RADIXI instead of radixi.d.
9955 (denorm): Likewise.
9956 (__mul): Use 0.0 instead of zero.d.
9957
cdc1c96f
JM
99582013-01-04 Joseph Myers <joseph@codesourcery.com>
9959
9960 [BZ #14994]
9961 * math/s_casinh.c (__casinh): Reduce finite argument to first
9962 quadrant then set signs of results at the end.
9963 * math/s_casinhf.c (__casinhf): Likewise.
9964 * math/s_casinhl.c (__casinhl): Likewise.
9965 * math/libm-test.inc (casin_test): Add more tests.
9966 (casinh_test): Likewise.
9967 * sysdeps/i386/fpu/libm-test-ulps: Update.
9968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9969
302913e1
SP
99702013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9971
6420d207
SP
9972 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9973
a9e48ab4
SP
9974 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9975
b7837264
SP
9976 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9977 declarations.
9978 (denorm): Likewise.
9979 (__mp_dbl): Likewise.
9980 (__inv): Likewise.
9981
f8af25d2
SP
9982 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9983 and adjust the header comment.
9984
302913e1
SP
9985 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9986 variable name from declaration.
9987
5d7dd1ca
L
99882013-01-03 H.J. Lu <hongjiu.lu@intel.com>
9989
9990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9991 Initialize COMMON_CPUID_INDEX_7 element.
9992 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9993 (CPUID_RTM): Likewise.
9994 (HAS_RTM): Likewise.
9995 (COMMON_CPUID_INDEX_7): New enum.
9996
2f5f40f4
AS
99972013-01-03 Andreas Schwab <schwab@linux-m68k.org>
9998
9999 [BZ #14981]
10000 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10001 size is zero, record memory as freed.
10002
4056f4a0
AJ
100032013-01-03 Andreas Jaeger <aj@suse.de>
10004
10005 * po/ia.po: Add new Interlingua translation.
10006
ab15736f 100072012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
10008
10009 * locale/programs/localedef.c: Fix description of '--posix' flag.
10010
568035b7
JM
100112013-01-02 Joseph Myers <joseph@codesourcery.com>
10012
e6898b8d
JM
10013 * NEWS: Update dates in second copyright notice.
10014 * README: Update copyright dates in example.
10015 * manual/libc.texinfo: Update copyright dates.
10016 * scripts/test-installation.pl: Update copyright date in --version
10017 output.
10018
0e2f9562
JM
10019 * hurd/ctty-input.c: Fix copyright notice formatting.
10020 * hurd/ctty-output.c: Likewise.
10021 * hurd/dtable.c: Likewise.
10022 * hurd/hurd-raise.c: Likewise.
10023 * hurd/hurdprio.c: Likewise.
10024 * hurd/msgportdemux.c: Likewise.
10025 * misc/sys/file.h: Likewise.
10026 * misc/sys/ioctl.h: Likewise.
10027 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10028 * sysdeps/mach/hurd/chdir.c: Likewise.
10029 * sysdeps/mach/hurd/fchdir.c: Likewise.
10030 * sysdeps/mach/hurd/rename.c: Likewise.
10031 * sysdeps/mach/hurd/rmdir.c: Likewise.
10032 * sysdeps/mach/hurd/seekdir.c: Likewise.
10033 * sysdeps/mach/hurd/setsid.c: Likewise.
10034 * sysdeps/posix/wait3.c: Likewise.
10035
568035b7
JM
10036 * All files with FSF copyright notices: Update copyright dates
10037 using scripts/update-copyrights.
10038 * intl/plural.c: Regenerated.
10039 * locale/programs/charmap-kw.h: Likewise.
10040 * locale/programs/locfile-kw.h: Likewise.
10041
da08f647
SP
100422013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10043
0f5477af
SP
10044 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10045 four values.
10046
44e0d4c2
SP
10047 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10048 calculation loop and add branch prediction.
10049
4d55b4e5
SP
10050 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10051 check access beyond bounds of m1np.
10052
da08f647
SP
10053 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10054 MPTWO.
10055 (__inv): Remove local variable MPTWO to use the global
10056 constant.
10057 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10058 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10059 variable MPTWO.
10060 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10061 MP3HALFS static const.
10062
8e051029
DM
100632013-01-01 David S. Miller <davem@davemloft.net>
10064
10065 * po/ca.po: Update from translation team.
10066
f4cf5f2d
JM
100672013-01-01 Joseph Myers <joseph@codesourcery.com>
10068
10069 * scripts/update-copyrights: New file.
10070 * Makeconfig: Reformat copyright notice.
10071 * ctype/ctype.h: Likewise.
10072 * debug/swprintf_chk.c: Likewise.
10073 * elf/dl-cache.c: Likewise.
10074 * elf/dl-debug.c: Likewise.
10075 * elf/dl-object.c: Likewise.
10076 * grp/initgroups.c: Likewise.
10077 * hurd/Makefile: Likewise.
10078 * hurd/hurd/signal.h: Likewise.
10079 * hurd/hurdfault.c: Likewise.
10080 * hurd/hurdioctl.c: Likewise.
10081 * hurd/hurdlookup.c: Likewise.
10082 * hurd/intr-msg.c: Likewise.
10083 * iconv/gconv_open.c: Likewise.
10084 * libio/swprintf.c: Likewise.
10085 * locale/lc-ctype.c: Likewise.
10086 * locale/nl_langinfo.c: Likewise.
10087 * mach/Machrules: Likewise.
10088 * mach/Makefile: Likewise.
10089 * malloc/obstack.h: Likewise.
10090 * manual/Makefile: Likewise.
10091 * manual/tsort.awk: Likewise.
10092 * misc/bits/stab.def: Likewise.
10093 * nis/nis_print_group_entry.c: Likewise.
10094 * nis/nis_table.c: Likewise.
10095 * nis/nss_compat/compat-pwd.c: Likewise.
10096 * nis/nss_compat/compat-spwd.c: Likewise.
10097 * po/Makefile: Likewise.
10098 * posix/fnmatch.c: Likewise.
10099 * posix/regex.h: Likewise.
10100 * resolv/Makefile: Likewise.
10101 * resolv/nss_dns/dns-network.c: Likewise.
10102 * resolv/res_hconf.c: Likewise.
10103 * scripts/gen-sorted.awk: Likewise.
10104 * soft-fp/soft-fp.h: Likewise.
10105 * stdio-common/printf.h: Likewise.
10106 * stdlib/monetary.h: Likewise.
10107 * stdlib/random.c: Likewise.
10108 * stdlib/random_r.c: Likewise.
10109 * sysdeps/generic/Makefile: Likewise.
10110 * sysdeps/gnu/Makefile: Likewise.
10111 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10113 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10115 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10125 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10126 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10131 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10132 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10133 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10134 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10135 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10136 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10137 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10138 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10139 * sysdeps/mach/hurd/errnos.awk: Likewise.
10140 * sysdeps/mach/hurd/fork.c: Likewise.
10141 * sysdeps/mach/hurd/getcwd.c: Likewise.
10142 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10143 * sysdeps/mach/hurd/mmap.c: Likewise.
10144 * sysdeps/mach/hurd/utimes.c: Likewise.
10145 * sysdeps/mach/hurd/xmknod.c: Likewise.
10146 * sysdeps/posix/profil.c: Likewise.
10147 * sysdeps/posix/readdir_r.c: Likewise.
10148 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10149 * sysdeps/powerpc/bits/setjmp.h: Likewise.
10150 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10151 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10153 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10154 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10155 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10159 * sysdeps/pthread/lio_listio.c: Likewise.
10160 * sysdeps/sparc/dl-procinfo.h: Likewise.
10161 * sysdeps/unix/i386/sysdep.S: Likewise.
10162 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10163 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10164 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10165 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10167 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10168 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10169 * sysdeps/unix/sysv/linux/speed.c: Likewise.
10170 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10171 * sysdeps/wordsize-32/divdi3.c: Likewise.
10172 * time/sys/time.h: Likewise.
10173 * wcsmbs/Makefile: Likewise.
10174
0549fbba
DM
101752013-01-01 David S. Miller <davem@davemloft.net>
10176
a141f1a7
DM
10177 * po/fr.po: Update from translation team.
10178
0549fbba
DM
10179 * catgets/gencat.c: Update copyright year.
10180 * csu/version.c: Likewise.
10181 * debug/catchsegv.sh: Likewise.
10182 * debug/pcprofiledump.c: Likewise.
10183 * debug/xtrace.sh: Likewise.
10184 * elf/ldconfig.c: Likewise.
10185 * elf/ldd.bash.in: Likewise.
10186 * elf/pldd.c: Likewise.
10187 * elf/sotruss.ksh: Likewise.
10188 * elf/sprof.c: Likewise.
10189 * iconv/iconv_prog.c: Likewise.
10190 * iconv/iconvconfig.c: Likewise.
10191 * locale/programs/locale.c: Likewise.
10192 * locale/programs/localedef.c: Likewise.
10193 * login/programs/pt_chown.c: Likewise.
10194 * malloc/memusage.sh: Likewise.
10195 * malloc/memusagestat.c: Likewise.
10196 * malloc/mtrace.pl: Likewise.
10197 * nscd/nscd.c: Likewise.
10198 * nss/getent.c: Likewise.
10199 * nss/makedb.c: Likewise.
10200 * posix/getconf.c: Likewise.
10201
18ea052c
SP
102022012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10203
10204 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10205 numbers.
10206
9c89fca6
MF
102072012-12-30 Mike Frysinger <vapier@gentoo.org>
10208
10209 * math/bits/mathcalls.h (modf): Use __nonnull.
10210
085ec079
SP
102112012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10212
10213 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10214 (split): Use macro CN instead of the bare value.
10215 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10216 could be used.
10217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10218 instead of the bare value.
10219 (power1): Likewise.
10220
6d9f97e1
SP
102212012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10222
d63f73be
SP
10223 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10224 __ATAN_TWOM.
10225 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10226
6d9f97e1
SP
10227 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10228 their values.
10229 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10230 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10231 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10232 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10233
4c4febf5
AJ
102342012-12-28 Andreas Jaeger <aj@suse.de>
10235
af5843ef
AJ
10236 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
10237 values are from Linux 3.7.
10238
4c4febf5
AJ
10239 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10240 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
10241
99136f82
SP
102422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10243
2f216c3c 10244 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
10245 TRUE case.
10246
99136f82
SP
10247 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10248 (norm): Likewise.
10249 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10250 variables with preprocessor constants.
10251 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10252 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10253 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10254
7fffbdff
BH
102552012-12-27 Bruno Haible <bruno@clisp.org>
10256
10257 [BZ #14317]
10258 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10259 only if needed.
10260
b76eb5f0
SP
102612012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10262
31a7fe5c
SP
10263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10264 and use variable directly.
10265 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10266
b76eb5f0
SP
10267 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10268 MPONE.
10269 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10270 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10271 variable MPONE.
10272 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10273 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10274 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10275 include directive. Remove local variable MPONE.
10276 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10277 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10278 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10279
2c8bfe7d
DM
102802012-12-25 David S. Miller <davem@davemloft.net>
10281
10282 * version.h (RELEASE): Set to "development".
10283 (VERSION): Set to "2.17.90".
10284 * NEWS: Add 2.18 section.
10285
147d03b0
DM
102862012-12-21 David S. Miller <davem@davemloft.net>
10287
10288 * po/hr.po: Update from translation team.
10289
a8ebb2b9
AK
102902012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10291
10292 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10293
95b4f1b6
SE
102942012-12-19 Steve Ellcey <sellcey@mips.com>
10295
b2d94007 10296 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 10297
cedb2a90
MS
102982012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10299
10300 * manual/contrib.texi (Contributors): Spelling correction.
10301
bbf527d6
DM
103022012-12-15 David S. Miller <davem@davemloft.net>
10303
10304 * po/ru.po: Update from translation team.
10305
bc38c906
DM
103062012-12-13 David S. Miller <davem@davemloft.net>
10307
85429b1a
DM
10308 * NEWS: Mention IFUNC testsuite enhancements.
10309
d283e353
DM
10310 * po/pl.po: Update from translation team.
10311 * po/bg.po: Likewise.
10312
bc38c906
DM
10313 * manual/contrib.texi (Contributors): Update entries for Hongjiu
10314 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
10315
a181b0d7
DM
103162012-12-11 David S. Miller <davem@davemloft.net>
10317
4641d57e
DM
10318 * po/sv.po: Update from translation team.
10319
f7bc6495
DM
10320 * po/vi.po: Update from translation team.
10321
6fc9048f
DM
10322 * po/cs.po: Update from translation team.
10323
a181b0d7
DM
10324 * po/de.po: Update from translation team.
10325 * po/eo.po: Likewise.
10326 * po/nl.po: Likewise.
10327
f70bfe80
SP
103282012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10329
3c8b4190
SP
10330 [BZ #14246]
10331 * manual/argp.texi (Argp Helper Functions): Move node to follow
10332 Argp Parsing State.
10333
f70bfe80
SP
10334 [BZ #14872]
10335 * manual/conf.texi (Limits on File System Capacity): Mention if
10336 terminating null is included in the max size.
10337
188f0adf
AJ
103382012-12-10 Andreas Jaeger <aj@suse.de>
10339
10340 * po/cs.po: Update from translation team.
10341
56e7d3ad
SP
103422012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
10343
10344 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10345 void pointer and cast to uintptr_t.
10346 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10347 path.
10348 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10349 * sysdeps/s390/s390-64/memset.S: Likewise.
10350
76f2d2ea 103512012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
10352
10353 [BZ #14833]
10354 * menual/message.texi (Message Translation): Fix typos.
10355 (Helper programs for gettext): Likewise.
10356
67cbf9a2
AS
103572012-12-07 Andreas Schwab <schwab@linux-m68k.org>
10358
10359 [BZ #14898]
10360 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10361 Change to -1.
10362
682d0e9a
DM
103632012-12-07 David S. Miller <davem@davemloft.net>
10364
10365 * po/libc.pot: Update.
10366
573cd484
RH
103672012-12-07 Richard Henderson <rth@redhat.com>
10368
7e9da188 10369 [BZ #10114]
573cd484
RH
10370 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10371 normal/normal case to before the switch.
10372 (_FP_DIV): Likewise.
10373
e933a943
MF
103742012-12-06 Carlos O'Donell <carlos@systemhalted.org>
10375 Mike Frysinger <vapier@gentoo.org>
10376
10377 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10378 check for __NR_fadvise64_64.
10379
82123268
CM
103802012-12-06 Chris Metcalf <cmetcalf@tilera.com>
10381
10382 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10383 0, not just to plain "0" as a statement.
10384 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10385 with cw.
10386
d9814526
JM
103872012-12-06 Joseph Myers <joseph@codesourcery.com>
10388
10389 * NEWS: Use sourceware.org in Bugzilla URL.
10390
7728c574
SP
103912012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10392
f16946dd
SP
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10394 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10395
5704bbcb
SP
10396 * stdio-common/tst-put-error.c (do_test): Add newline to the
10397 padded test to ensure flush.
10398
17aa0516
JL
103992012-12-05 Jeff Law <law@redhat.com>
10400
10401 * sunrpc/etc.rpc (fedfs_admin): Add entry.
10402
363313b5
JM
104032012-12-05 Joseph Myers <joseph@codesourcery.com>
10404
effbd42a
JM
10405 * README: Don't refer to ports add-on as distributed separately.
10406 Mention AArch64 in list of systems supported in the ports add-on.
10407
87600365
JM
10408 * LICENSES: Add more non-FSF copyright and license notices.
10409
a0d7066a
JM
10410 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10411 ((unused)).
10412
66ca5a5b
JM
10413 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10414
363313b5
JM
10415 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10416 10000 as width of padded output.
10417
b37984ad
JM
104182012-12-04 Joseph Myers <joseph@codesourcery.com>
10419
9003570a
JM
10420 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10421
b37984ad
JM
10422 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10423 variable LX with __attribute__ ((unused)).
10424 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10425 Likewise.
10426 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10427 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10428 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10429 with __attribute__ ((unused)).
10430
c8df52ec
DM
104312012-12-04 David S. Miller <davem@abraco.davemloft.net>
10432
10433 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10434
b3b099af
JM
104352012-12-04 Joseph Myers <joseph@codesourcery.com>
10436
c33aa6e3
JM
10437 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10438 (CFLAGS-nldbl-acos.c): New variable.
10439 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10440 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10441 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10442 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10443 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10444 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10445 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10446 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10447 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10448 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10449 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10450 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10451 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10452 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10453 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10454 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10455 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10456 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10457 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10458 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10459 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10460 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10461 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10462 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10463 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10464 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10465 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10466 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10467 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10468 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10469 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10470 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10471 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10472 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10473 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10474 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10475 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10476 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10477 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10478 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10479 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10480 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10481 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10482 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10483 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10484 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10485 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10486 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10487 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10488 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10489 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10490 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10491 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10492 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10493 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10494 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10495 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10496 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10497 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10498 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10499 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10500 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10501 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10502 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10503 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10504 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10505 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10506 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10507 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10508 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10509 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10510 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10511 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10512 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10513 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10514 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10515 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10516 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10517 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10518 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10519 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10520 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10521 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10522 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10523 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10524 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10525 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10526 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10527 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10528 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10529 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10530 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10531 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10532 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10533 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10534 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10535 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10536
20f0018d
JM
10537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10538 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10539
b3b099af
JM
10540 [BZ #14914]
10541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10542 whole low double instead of just low 47 bits when splitting values
10543 into two parts.
10544
029264d1
AM
105452012-12-03 Allan McRae <allan@archlinux.org>
10546
10547 * manual/stdio.texi (Predefined Printf Handlers): Remove
10548 @hsep and @vsep usage.
10549
c9d6789e
MF
105502012-12-03 Mike Frysinger <vapier@gentoo.org>
10551
10552 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10553 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10554
4b7634a5
JL
105552012-12-03 Jeff Law <law@redhat.com>
10556
10557 * time/sys/time.h (settimeofday): Do not mark TV argument
10558 as __nonnull.
10559
eb6cbd24
MF
105602012-12-01 Mike Frysinger <vapier@gentoo.org>
10561
10562 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10563 when currently writing and seek to current position when not.
10564 * libio/Makefile (tests): Remove bug-fclose1.
10565 * libio/bug-fclose1.c: Delete.
10566
f638872a
JM
105672012-12-01 Joseph Myers <joseph@codesourcery.com>
10568
10569 * manual/arith.texi (feenableexcept): Fix typo.
10570 (fedisableexcept): Likewise.
10571
48085d14
RM
105722012-11-30 Roland McGrath <roland@hack.frob.com>
10573
10574 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10575 second, differently-typed declaration, rather than a cast.
10576
1a538b9f
SP
105772012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10578
10579 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10580 * include/rpc/svc.h: ... here.
10581
d07f2ff1 105822012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
10583
10584 [BZ #13013]
10585 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10586 depending n and resplen2 to catch cases where answer
10587 equals answerp2.
10588
c93ec1f0
CD
105892012-11-29 Carlos O'Donell <carlos@systemhalted.org>
10590
10591 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10592 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10593
37db69de
MF
105942012-11-29 Mike Frysinger <vapier@gentoo.org>
10595
10596 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10597
e10c4e4f
RM
105982012-11-29 Roland McGrath <roland@hack.frob.com>
10599
10600 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10601
2af1b328
JL
106022012-11-28 Jeff Law <law@redhat.com>
10603
10604 [BZ #13761]
10605 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10606 dataset_temporary. Track alloca usage into alloca_used.
10607 If dataset is large allocate and release it via malloc/free.
10608
111db5b1
FW
106092012-06-04 Florian Weimer <fweimer@redhat.com>
10610
f06cc227 10611 [BZ #14197]
111db5b1
FW
10612 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10613
dd694abd
DM
106142012-11-28 David S. Miller <davem@davemloft.net>
10615
10616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10617
9984dd01
JM
106182012-11-28 Joseph Myers <joseph@codesourcery.com>
10619
10620 [BZ #14803]
10621 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10622 of pi/2 rounded to nearest to 64 bits.
10623 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10624 nearest to 64 bits.
10625 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10626 bits.
10627
14bc93a9
JL
106282012-11-28 Jeff Law <law@redhat.com>
10629 Martin Osvald <mosvald@redhat.com>
10630
10631 [BZ #14889]
10632 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10633 * sunrpc/svc.c: Include time.h.
10634 (__svc_accept_failed): New function.
10635 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10636 any reason other than EINTR, call __svc_accept_failed.
10637 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10638 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10639
e3c6aa3a
AS
106402012-11-28 Andreas Schwab <schwab@suse.de>
10641
10642 * scripts/abilist.awk: Also handle indirect functions in .opd
10643 section.
10644
1bead169
JM
106452012-11-28 Joseph Myers <joseph@codesourcery.com>
10646
10647 [BZ #13881]
10648 * sysdeps/x86/fpu/powl_helper.c: New file.
10649 * sysdeps/x86/fpu/Makefile: Likewise.
10650 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10651 (p3): New object.
10652 (__ieee754_powl): Use __powl_helper for finite arguments except
10653 integer exponents below 8.
10654 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10655 (p3): New object.
10656 (__ieee754_powl): Use __powl_helper for finite arguments except
10657 integer exponents below 8.
10658 * math/libm-test.inc (pow_test): Add more tests and enable some
10659 previously disabled tests.
10660 * sysdeps/i386/fpu/libm-test-ulps: Update.
10661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10662
0817d63d
SP
106632012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10664 Carlos O'Donell <carlos_odonell@mentor.com>
10665
10666 * nss/makedb.c (is_prime): Assert that input is odd and greater
10667 than 4. Note that fact in a comment too.
10668 (next_prime): Add 4 to input.
10669
de2fd463
SP
106702012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10671
10672 [BZ #11741]
10673 * libio/Makefile (tests): Add test case tst-fwrite-error.
10674 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10675 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10676 * libio/tst-fwrite-error.c: New test case.
10677
c515fb51
L
106782012-11-26 H.J. Lu <hongjiu.lu@intel.com>
10679
10680 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10681 before casting to void *.
10682 * include/libc-internal.h (__pointer_type): New macro.
10683 (__integer_if_pointer_type_sub): Likewise.
10684 (__integer_if_pointer_type): Likewise.
10685 (cast_to_integer): Likewise.
10686 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10687 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10688 before casting to atomic64_t.
10689 (atomic_exchange_acq): Likewise.
10690 (__arch_exchange_and_add_body): Likewise.
10691 (__arch_add_body): Likewise.
10692 (atomic_add_negative): Likewise.
10693 (atomic_add_zero): Likewise.
10694
4cf77aa9
JM
106952012-11-26 Joseph Myers <joseph@codesourcery.com>
10696
10697 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10698 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10699 (add_fdes): Likewise.
10700 (linear_search_fdes): Likewise.
10701 (binary_search_unencoded_fdes): Likewise.
10702
d260b3b4
AS
107032012-11-26 Andreas Schwab <schwab@linux-m68k.org>
10704
10705 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10706
67060746
AC
107072012-11-24 Adam Conrad <adconrad@0c3.net>
10708
10709 * configure.in: Autodetect C++ header directories.
10710 * configure: Regenerated.
10711
800938a1
MF
107122012-11-23 Mike Frysinger <vapier@gentoo.org>
10713
10714 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10715
4e6e34e6
AS
107162012-11-23 Andreas Schwab <schwab@linux-m68k.org>
10717
10718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10719
7c7feb47
JM
107202012-11-22 Joseph Myers <joseph@codesourcery.com>
10721
7184dcdf
JM
10722 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10723 LDBL_MANT_DIG == 106]: Disable some tests.
10724 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10725 Likewise.
10726 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10727 Likewise.
10728
0a42601f
JM
10729 [BZ #14871]
10730 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10731 input for small inputs. Return +/- pi/2 for large inputs.
10732 * math/libm-test.inc (atan_test): Add more tests.
10733
79c9b9fe
JM
10734 * sysdeps/generic/unwind-dw2-fde-glibc.c
10735 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10736 __attribute__ ((unused)).
10737
c60d3bf2
JM
10738 [BZ #14645]
10739 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10740 x * y if x and y are nonzero and z is zero.
10741
ef1e0867
JM
10742 [BZ #14811]
10743 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10744 nonzero exponents with absolute value below 0x1p-117 to +/-
10745 0x1p-117.
10746
1468ded3
JM
10747 [BZ #14869]
10748 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10749 up arguments below 2**-450, not just those below 2**-500.
10750 * math/libm-test.inc (hypot_test): Add another test.
10751
8e27e3cc
JM
10752 [BZ #14868]
10753 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10754 Return a+b for ratio over 2**120, not 2**60.
10755 * math/libm-test.inc (hypot_test): Add another test.
10756
c9c0279b
JM
10757 * math/libm-test.inc (clog_test): Use
10758 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10759 (clog10_test): Likewise.
10760
7c7feb47
JM
10761 [BZ #6778]
10762 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10763
fff1530e
AS
107642012-11-22 Andreas Schwab <schwab@suse.de>
10765
10766 * sysdeps/i386/fpu/libm-test-ulps: Update.
10767
94558d30
PT
107682012-11-22 Pino Toscano <toscano.pino@tiscali.it>
10769
10770 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10771 printf output with newline.
10772
7e1be741
L
107732012-11-21 H.J. Lu <hongjiu.lu@intel.com>
10774
6bfea974
L
10775 [BZ #14865]
10776 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10777 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10778 -z nodlopen, -z initfirst and -z execstack support.
10779 * configure: Regenerated.
10780
7e1be741
L
10781 * elf/elf.h (DF_1_NODIRECT): New macro.
10782 (DF_1_IGNMULDEF): Likewise.
10783 (DF_1_NOKSYMS): Likewise.
10784 (DF_1_NOHDR): Likewise.
10785 (DF_1_EDITED): Likewise.
10786 (DF_1_NORELOC): Likewise.
10787 (DF_1_SYMINTPOSE): Likewise.
10788 (DF_1_GLOBAUDIT): Likewise.
10789 (DF_1_SINGLETON): Likewise.
10790 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10791 DT_1_SUPPORTED_MASK bits.
10792 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10793
105ce2ce
CD
107942012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
10795
10796 * sysdeps/unix/make-syscalls.sh: Document prefixes.
10797
123be9de
TS
107982012-11-20 Thomas Schwinge <thomas@codesourcery.com>
10799
d072f3f7
TS
10800 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10801 macro.
10802
123be9de
TS
10803 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10804 (sendmmsg): Move declarations...
10805 * socket/sys/socket.h: ... here.
10806 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10807 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10808 include it from...
10809 * socket/recvmmsg.c: ... this new file.
10810 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10811 (sendmmsg): Rename to __sendmmsg, create weak alias and make
10812 definition of __sendmmsg hidden.
10813 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10814 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10815 Move ENOSYS stub into and include it from...
10816 * socket/sendmmsg.c: ... this new file.
10817 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10818 (sysdep_routines): Move recvmmsg and sendmmsg...
10819 * socket/Makefile (routines): ... here.
10820 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10821 (GLIBC_PRIVATE): Add __sendmmsg.
10822 * include/sys/socket.h (__sendmmsg): Add declarations.
10823 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10824 sendmmsg.
10825
cf9a5d18
JM
108262012-11-20 Joseph Myers <joseph@codesourcery.com>
10827
10828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10829 variable I1 with __attribute__ ((unused)).
10830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10831
ecd4caf9
JM
108322012-11-19 Joseph Myers <joseph@codesourcery.com>
10833
be14d48f
JM
10834 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10835 DUMMY variables with __attribute__ ((unused)).
10836
ecd4caf9
JM
10837 * bits/byteswap.h: Include <bits/types.h>.
10838 (__bswap_64): Use __uint64_t instead of unsigned long long int.
10839
986cab95
PT
108402012-11-19 Pino Toscano <toscano.pino@tiscali.it>
10841
10842 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10843 string_t. Do not manually set errno.
10844 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10845 length with __strnlen. Make sure to both set errno and return it on
10846 failure.
10847
6d33cc9d
DM
108482012-11-19 David S. Miller <davem@davemloft.net>
10849
10850 With help from Joseph Myers.
10851 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10852 very large arguments properly.
10853 * math/libm-test.inc (atan_test): New tests.
10854 (atan2_test): New tests.
10855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10856 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10857
ee663277
JM
108582012-11-19 Joseph Myers <joseph@codesourcery.com>
10859
877f2d8e
JM
10860 [BZ #14856]
10861 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10862 Define to 3.
10863
116fc08a
JM
10864 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10865 [POSIX] (EADDRNOTAVAIL): Likewise.
10866 [POSIX] (EAFNOSUPPORT): Likewise.
10867 [POSIX] (EALREADY): Likewise.
10868 [POSIX] (ECONNABORTED): Likewise.
10869 [POSIX] (ECONNREFUSED): Likewise.
10870 [POSIX] (ECONNRESET): Likewise.
10871 [POSIX] (EDESTADDRREQ): Likewise.
10872 [POSIX] (EDQUOT): Likewise.
10873 [POSIX] (EHOSTUNREACH): Likewise.
10874 [POSIX] (EIDRM): Likewise.
10875 [POSIX] (EISCONN): Likewise.
10876 [POSIX] (ELOOP): Likewise.
10877 [POSIX] (EMULTIHOP): Likewise.
10878 [POSIX] (ENETDOWN): Likewise.
10879 [POSIX] (ENETUNREACH): Likewise.
10880 [POSIX] (ENOBUFS): Likewise.
10881 [POSIX] (ENODATA): Likewise.
10882 [POSIX] (ENOLINK): Likewise.
10883 [POSIX] (ENOMSG): Likewise.
10884 [POSIX] (ENOPROTOOPT): Likewise.
10885 [POSIX] (ENOSR): Likewise.
10886 [POSIX] (ENOSTR): Likewise.
10887 [POSIX] (ENOTCONN): Likewise.
10888 [POSIX] (ENOTSOCK): Likewise.
10889 [POSIX] (EOPNOTSUPP): Likewise.
10890 [POSIX] (EOVERFLOW): Likewise.
10891 [POSIX] (EPROTO): Likewise.
10892 [POSIX] (EPROTONOSUPPORT): Likewise.
10893 [POSIX] (EPROTOTYPE): Likewise.
10894 [POSIX] (ESTALE): Likewise.
10895 [POSIX] (ETIME): Likewise.
10896 [POSIX] (ETXTBSY): Likewise.
10897 [POSIX] (EWOULDBLOCK): Likewise.
10898 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10899 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10900 [POSIX] (SEEK_CUR): Likewise.
10901 [POSIX] (SEEK_END): Likewise.
10902 [POSIX || UNIX98] (mode_t): Do not require.
10903 [POSIX] (off_t): Likewise.
10904 [POSIX] (pid_t): Likewise.
10905 [POSIX] (sys/stat.h): Do not allow header.
10906 [POSIX] (unistd.h): Likewise.
10907 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10908 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10909 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10910 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10911 require.
10912 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10913 sigevent): Specify elements.
10914 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10915 entry.
10916 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10917 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10918
a483863f
JM
10919 * conform/data/cpio.h-data [POSIX]: Disable whole file.
10920 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10921 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10922 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10923 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10924 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10925 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10926 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10927 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10928 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10929 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10930 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10931 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10932 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10933 Likewise.
10934 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10935 Likewise.
10936 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10937 Likewise.
10938 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10939 Likewise.
10940 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10941 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10942 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10943 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10944 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10945 Specify lower bound on value.
10946 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10947 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10948 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10949 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10950 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10951 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10952 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10953 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10954 value.
10955 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10956 as optional.
10957 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10958 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10959 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10960 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10961 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10962 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10963 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10964 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10965 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10966 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10967 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10968 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10969 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10970 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10971 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10972 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10973 entry.
10974 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10975 optional.
10976 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10977 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10978 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10979 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10980 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10981 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10982 Likewise.
10983 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10984 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10985 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10986 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10987 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
10988 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10989 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10990 as optional.
10991 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10992 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10993 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10994 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10995 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10996 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10997 specify as optional.
10998 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10999 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11000 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11001 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11002 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11003 [XPG3] (NL_LANGMAX): Likewise.
11004 [POSIX || XPG3] (NL_MSGMAX): Likewise.
11005 [POSIX || XPG3] (NL_NMAX): Likewise.
11006 [POSIX || XPG3] (NL_SETMAX): Likewise.
11007 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11008 [XPG3] (NZERO): Likewise.
11009 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11010 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11011 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11012 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11013 (REG_ERANGE): Expect.
11014 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11015 optional-constant.
11016 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11017 Use (void) in prototype.
11018 [POSIX] (*_t): Allow.
11019 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11020 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11021 (WRDE_BADVAL): Expect.
11022
5ba924e3
JM
11023 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11024 expect.
11025 [XPG3 || XPG4] (O_RSYNC): Likewise.
11026 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11027 Likewise.
11028 [XPG3 || XPG4] (pthread_sigmask): Likewise.
11029 [XPG3 || XPG4] (sigqueue): Likewise.
11030 [XPG3 || XPG4] (sigtimedwait): Likewise.
11031 [XPG3 || XPG4] (sigwaitinfo): Likewise.
11032 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11033 [XPG3 || XPG4] (vsnprintf): Likewise.
11034 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11035 Likewise.
11036 [XPG3 || XPG4] (blksize_t): Likewise.
11037 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11038 Likewise.
11039 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11040 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11041 [XPG3 || XPG4] (struct itimerspec): Likewise.
11042 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11043 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11044 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11045 [XPG3 || XPG4] (clockid_t): Likewise.
11046 [XPG3 || XPG4] (timer_t): Likewise.
11047 [XPG3 || XPG4] (clock_getres): Likewise.
11048 [XPG3 || XPG4] (clock_gettime): Likewise.
11049 [XPG3 || XPG4] (clock_settime): Likewise.
11050 [XPG3 || XPG4] (nanosleep): Likewise.
11051 [XPG3 || XPG4] (timer_create): Likewise.
11052 [XPG3 || XPG4] (timer_delete): Likewise.
11053 [XPG3 || XPG4] (timer_gettime): Likewise.
11054 [XPG3 || XPG4] (timer_getoverrun): Likewise.
11055 [XPG3 || XPG4] (timer_settime): Likewise.
11056 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11057 [XPG3 || XPG4] (getlogin_r): Likewise.
11058 [XPG3 || XPG4] (pread): Likewise.
11059 [XPG3 || XPG4] (pthread_atfork): Likewise.
11060 [XPG3 || XPG4] (pwrite): Likewise.
11061
ee663277
JM
11062 [BZ #14835]
11063 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11064 <bits/siginfo.h>.
11065
942caa16
PT
110662012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11067
e19af380
PT
11068 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11069 finalizing MALLSTREAM.
11070
942caa16
PT
11071 * sysdeps/mach/hurd/syncfs.c: New file.
11072
cfde9b46
SP
110732012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11074
11075 [BZ #14719]
11076 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11077 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11078 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11079 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11080 (_nss_dns_gethostbyname4_r): Likewise.
11081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11082 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11083
f6da27e5
PH
110842012-11-19 Peng Haitao <penght@cn.fujitsu.com>
11085
11086 [BZ #13763]
11087 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11088
6665d4a2
SM
110892012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
11090
1f51ee92
SM
11091 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11092 * elf/cache.c (print_entry): Print ",AArch64" for
11093 FLAG_AARCH64_LIB64
11094
6665d4a2
SM
11095 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11096 * elf/cache.c (print_entry): Print ",hard-float" for
11097 FLAG_ARM_LIBHF.
11098
05b227bd
DM
110992012-11-18 David S. Miller <davem@davemloft.net>
11100
11101 With help from Joseph Myers.
11102 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11103 cutoff to 2**-13.
11104 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11105 cutoff to 2**-25.
11106 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11107 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11108 small.
11109 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11110 * math/libm-test.inc (y0_test): New tests.
11111 (y1_test): New tests.
11112 * sysdeps/i386/fpu/libm-test-ulps: Update.
11113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11115
786b0b67
AS
111162012-11-18 Andreas Schwab <schwab@linux-m68k.org>
11117
11118 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11119 64-bit targets.
11120 * configure: Regenerated.
11121
8e18b86d
DM
111222012-11-17 David S. Miller <davem@davemloft.net>
11123
11124 [BZ #14811]
11125 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11126 nonzero exponents with absolute value below 0x1p-128 to +/-
11127 0x1p-128.
11128
531f1ae0
JM
111292012-11-17 Joseph Myers <joseph@codesourcery.com>
11130
12df29e2
JM
11131 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11132
150dc1a0
JM
11133 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11134
531f1ae0
JM
11135 * posix/getconf-speclist.c: New file.
11136 * posix/posix-envs.def: Likewise.
11137 * posix/confstr.c (START_ENV_GROUP): New macro.
11138 (END_ENV_GROUP): Likewise.
11139 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11140 (KNOWN_PRESENT_ENV_STRING): Likewise.
11141 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11142 (UNKNOWN_ENVIRONMENT): Likewise.
11143 (confstr): Include posix-envs.def instead of handling
11144 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11145 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11146 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11147 (END_ENV_GROUP): Likewise.
11148 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11149 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11150 (UNKNOWN_ENVIRONMENT): Likewise.
11151 (__sysconf): Include posix-envs.def instead of handling associated
11152 cases directly here.
11153 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11154 preprocessing getconf-speclist.c rather than running getconf or
11155 generating empty file.
11156
a93f9cbc
PT
111572012-11-16 Pino Toscano <toscano.pino@tiscali.it>
11158
11159 * scripts/check-local-headers.sh: Ignore 'mach' headers.
11160
d64d9f87
AL
111612012-11-16 Andrej Lajovic <natrij@gmail.com>
11162
11163 [BZ #14672]
11164 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11165
447885eb
DM
111662012-11-16 David S. Miller <davem@davemloft.net>
11167
11168 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11169 smaller than LDBL_EPSILON/2.0L, just return xm1.
11170
bcbf9830
L
111712012-11-16 H.J. Lu <hongjiu.lu@intel.com>
11172
11173 * elf/tst-array1.c (init): Set constructor priority to 1000.
11174 (fini): Set destructor priority to 1000.
11175 * elf/tst-array2dep.c: Likewise.
11176
2b766585
SP
111772012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11178
11179 [BZ #11741]
11180 * libio/fileops.c (_IO_new_file_write): Correctly return error.
11181 (_IO_new_file_xsputn): Also return EOF if none of the input
11182 data was written when overflow failed.
11183 * libio/iopadn.c (_IO_padn): Likewise.
11184 * libio/iowpadn.c (_IO_wpadn): Likewise.
11185 * stdio-common/tst-put-error.c: Add copyright notice.
11186 (do_test): Add case for printing padded string.
11187 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11188 _IO_padn returned error.
11189 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11190 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11191 return EOF.
11192
b1848fde
SP
111932012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11194
11195 * libio/libioP.h: Add comment note that the references to C++
11196 bits are now obsolete.
11197
2fd89785
MS
111982012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11199
11200 * math/libm-test.inc (check_complex): Use asprintf.
11201
e3ea5409
JM
112022012-11-14 Joseph Myers <joseph@codesourcery.com>
11203
11204 * debug/pcprofiledump.c (print_version): Update copyright year.
11205 * malloc/memusagestat.c (print_version): Likewise.
11206
2e64d265
L
112072012-11-14 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 [BZ #14831]
11210 * elf/Makefile (tests): Add tst-audit8.
11211 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11212 ($(objpfx)tst-audit8.out): New target.
11213 (tst-audit8-ENV): New variable.
11214 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11215 audit if l_reloc_result is NULL.
11216 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11217 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11218 * elf/tst-audit8.c: New file.
11219
c485e4d2
MS
112202012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11221
11222 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11223 * misc/Makefile (CFLAGS-select.c): Define.
11224 * posix/Makefile (CFLAGS-pause.c): Define.
11225
3a0d900a
DM
112262012-11-13 David S. Miller <davem@davemloft.net>
11227
11228 * crypt/Makefile: Move test targets after toplevel Rules
11229 inclusion. Grab any necessary sysdep routines when linking.
11230 * crypt/md5.c (md5_process_block): Remove define, we will always
11231 name it __md5_process_block.
11232 (md5_finish_ctx): Update md5_process_block call.
11233 (md5_stream): Likewise.
11234 (md5_process_bytes): Likewise.
11235 (md5_process_block): Rename to __md5_process_block and move to ...
11236 * crypt/md5-block.c: ... here.
11237 * crypt/sha256.c (sha256_process_block): Move to ...
11238 * crypt/sha256-block.c: ... here.
11239 * crypt/sha512.c (sha512_process_block): Move to ...
11240 * crypt/sha512-block.c: ... here.
11241 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11242 path.
11243 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11244 * sysdeps/sparc/sparc64/multiarch/Makefile
11245 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11246 crypt subdir.
11247 (localedef-aux): Add md5 crypto assembler when in locale subdir.
11248 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11249 multiarch changes.
11250 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11251 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11252 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11253 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11254 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11255 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11256 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11257 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11258 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11259 file.
11260 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11261 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11262 file.
11263 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11264
8ca89318
JM
112652012-11-13 Joseph Myers <joseph@codesourcery.com>
11266
e27d476a
JM
11267 * timezone/tzselect.ksh: Update from tzcode git revision
11268 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11269 * timezone/zdump.c: Likewise.
11270 * timezone/zic.c: Likewise.
11271 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11272 in TZVERSION setting, not $(PKGVERSION).
11273 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
11274 REPORT_BUGS_TO settings.
11275
8ca89318
JM
11276 [BZ #14838]
11277 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11278 macro.
11279
47594329
MS
112802012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11281
11282 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11283 detection to immediately after _FP_ROUND().
11284 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11285 bits are 0.
11286
640ac3f1
DM
112872012-11-11 David S. Miller <davem@davemloft.net>
11288
11289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11290 inttypes.h
11291 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11292 __close rather than their public counterparts.
11293
3d2577bb
JM
112942012-11-10 Joseph Myers <joseph@codesourcery.com>
11295
11296 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11297 file.
11298 [UNIX98] (sem_timedwait): Do not expect.
11299 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11300 [XPG4 || UNIX98] (sockatmark): Do not expect.
11301 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11302 (clock_getcpuclockid): Do not expect.
11303 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11304 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11305 Do not expect.
11306 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11307 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11308 [UNIX98] (vwscanf): Likewise.
11309 [UNIX98] (vswscanf): Likewise.
11310
fb1ae1ee
JM
113112012-11-09 Joseph Myers <joseph@codesourcery.com>
11312
9ec6f8bd
JM
11313 * timezone/version.h: Remove file.
11314 * timezone/README: Do not refer to version.h.
11315 * timezone/Makefile ($(objpfx)zic.o): New dependency on
11316 $(objpfx)version.h.
11317 ($(objpfx)zdump.o): Likewise.
c3f81911 11318 ($(objpfx)version.h): New target.
9ec6f8bd 11319
0aa8f8a1
JM
11320 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11321 2012i.
11322 * timezone/README: Don't mention modification to tzselect.ksh.
11323 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11324 work on unmodified tzselect.ksh. Substitute version numbers in
11325 tzselect.ksh.
11326
4e87147f
JM
11327 * Makefile (format-me): Remove.
11328 (INSTALL): Adjust indentation. Use commands directly instead of
11329 using $(format-me).
11330
8b748aed
JM
11331 * aclocal.m4 (ACX_PKGVERSION): New macro.
11332 (ACX_BUGURL): Likewise.
11333 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11334 (PKGVERSION): New AC_DEFINE_UNQUOTED.
11335 (REPORT_BUGS_TO): Likewise.
11336 * configure: Regenerated.
11337 * config.h.in (PKGVERSION): New macro.
11338 (REPORT_BUGS_TO): Likewise.
11339 * config.make.in (PKGVERSION): New variable.
11340 (PKGVERSION_TEXI): Likewise.
11341 (REPORT_BUGS_TO): Likewise.
11342 (REPORT_BUGS_TEXI): Likewise.
11343 * Makefile (format-me): Use -I$(common-objpfx)manual.
11344 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11345 ($(common-objpfx)manual/%): New target.
11346 (manual/%): Remove target.
11347 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11348 (print_version): Use PKGVERSION.
11349 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11350 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11351 and REPORT_BUGS_TO.
11352 ($(objpfx)xtrace): Likewise.
11353 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11354 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11355 (print_version): Use PKGVERSION.
11356 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11357 (do_version): Use PKGVERSION.
11358 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11359 REPORT_BUGS_TO.
11360 (common-ldd-rewrite): Likewise.
11361 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11362 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11363 (print_version): Use PKGVERSION.
11364 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11365 * elf/pldd.c (argp_program_bug_address): Remove variable.
11366 (more_help): New function.
11367 (argp): Use more_help.
11368 (print_version): Use PKGVERSION.
11369 * elf/sln.c (main): Use PKGVERSION.
11370 (usage): Use REPORT_BUGS_TO.
11371 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11372 (top level): Use PKGVERSION.
11373 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11374 (print_version): Use PKGVERSION.
11375 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11376 (print_version): Use PKGVERSION.
11377 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11378 (print_version): Use PKGVERSION.
11379 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11380 (print_version): Use PKGVERSION.
11381 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11382 (print_version): Use PKGVERSION.
11383 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11384 (print_version): Use PKGVERSION.
11385 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11386 and BUGURL.
11387 ($(objpfx)memusage): Likewise.
11388 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11389 (do_version): Use PKGVERSION.
11390 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11391 (print_version): Use PKGVERSION.
11392 * malloc/mtrace.pl ($PACKAGE): Remove variable.
11393 ($PKGVERSION): New variable.
11394 ($REPORT_BUGS_TO): Likewise.
11395 (usage): Use $REPORT_BUGS_TO.
11396 (top level): Use $PKGVERSION.
11397 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11398 ($(objpfx)pkgvers.texi): New rule.
11399 ($(objpfx)stamp-pkgvers): Likewise.
11400 * manual/install.texi: Include pkgvers.texi.
11401 (--with-pkgversion): Document new configure option.
11402 (--with-bugurl): Likewise.
11403 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11404 than necessarily for this particular distribution. Use
11405 REPORT_BUGS_TO for where to report bugs.
11406 * INSTALL: Regenerated.
11407 * manual/libc.texinfo: Include pkgvers.texi.
11408 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11409 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11410 (print_version): Use PKGVERSION.
11411 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11412 (print_version): Use PKGVERSION.
11413 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11414 (print_version): Use PKGVERSION.
11415 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11416 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11417 macro.
11418 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11419 (print_version): Use PKGVERSION.
11420 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11421 (print_version): Use PKGVERSION.
11422 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11423 and PKGVERSION.
11424
92e4b6a9
JM
11425 * timezone/checktab.awk: Update from tzcode 2012i.
11426 * timezone/ialloc.c: Likewise.
11427 * timezone/private.h: Likewise.
11428 * timezone/scheck.c: Likewise.
11429 * timezone/tzfile.h: Likewise.
11430 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11431 (TZVERSION): Hardcode tzcode version number.
11432 * timezone/zdump.c: Update from tzcode 2012i.
11433 * timezone/zic.c: Likewise.
11434 * timezone/version.h: New file.
11435 * timezone/README: Describe version.h. Update upstream location.
11436
9bde902c
JM
11437 [BZ #14824]
11438 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11439 (mktemp): Enable declaration.
11440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11441 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11442 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11443 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11444 Likewise.
11445 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11446 Likewise.
11447 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11448 Likewise.
11449 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11450 Likewise.
11451 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11452 Likewise.
11453 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11454 Likewise.
11455
fb1ae1ee
JM
11456 [BZ #14821]
11457 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11458 offset in buffer as u_int32_t not u_long. Consistently use memcpy
11459 for copies of such integer values.
11460 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11461 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11462
2c1adbcb
AJ
114632012-11-09 Andreas Jaeger <aj@suse.de>
11464
11465 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11466 definitions and declarations that are provided by
11467 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11468
d0f8457e
AK
114692012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11470
3a235abb 11471 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
11472 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11473 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11474 definition.
11475
57241e26
MS
114762012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11477
11478 * elf/elf.h: Update comment before AArch64 relocations.
11479
60e8270d
DM
114802012-11-07 David S. Miller <davem@davemloft.net>
11481
11482 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11483 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11484 (__start_context): Declare.
11485 (__makecontext_ret): Delete.
11486 (__makecontext): Hook up __start_context instead of
11487 __makecontext_ret.
11488 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11489 (sysdep_routines): Add __start_context when in stdlib.
11490
0fbb0fbc
JM
114912012-11-07 Joseph Myers <joseph@codesourcery.com>
11492
11493 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11494 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11495 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
11496 hardcoded "nm".
11497 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
11498 (READELF): New variable. Use it instead of hardcoded "readelf".
11499
eb48db7e
L
115002012-11-07 H.J. Lu <hongjiu.lu@intel.com>
11501
11502 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11503 * sysdeps/x86/Makefile: Here.
11504 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11505 * sysdeps/x86/tst-xmmymm.sh: This.
11506
05bcf62a
JM
115072012-11-07 Joseph Myers <joseph@codesourcery.com>
11508
c4b6cf53
JM
11509 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11510 expectations.
11511 [UNIX98] (pthread_barrier_t): Do not expect.
11512 [UNIX98] (pthread_barrierattr_t): Likewise.
11513 [UNIX98] (pthread_spinlock_t): Likewise.
11514 [UNIX98] (pthread_barrier_destroy): Likewise.
11515 [UNIX98] (pthread_barrier_init): Likewise.
11516 [UNIX98] (pthread_barrier_wait): Likewise.
11517 [UNIX98] (pthread_barrierattr_destroy): Likewise.
11518 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11519 [UNIX98] (pthread_barrierattr_init): Likewise.
11520 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11521 [UNIX98] (pthread_getcpuclockid): Likewise.
11522 [UNIX98] (pthread_mutex_timedlock): Likewise.
11523 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11524 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11525 [UNIX98] (pthread_sigmask): Likewise.
11526 [UNIX98] (pthread_spin_destroy): Likewise.
11527 [UNIX98] (pthread_spin_init): Likewise.
11528 [UNIX98] (pthread_spin_lock): Likewise.
11529 [UNIX98] (pthread_spin_trylock): Likewise.
11530 [UNIX98] (pthread_spin_unlock): Likewise.
11531 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11532 Do not expect.
11533 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11534 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11535 [XPG3 || XPG4] (pthread_cond_t): Likewise.
11536 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11537 [XPG3 || XPG4] (pthread_key_t): Likewise.
11538 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11539 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11540 [XPG3 || XPG4] (pthread_once_t): Likewise.
11541 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11542 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11543 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11544 [XPG3 || XPG4] (pthread_t): Likewise.
11545
cbe6e120
JM
11546 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11547 not expect.
11548 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11549
1b126443
JM
11550 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11551 Change function return type to int.
11552
b961a573
JM
11553 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11554 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11555 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11556 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11557 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11558 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11559 [!POSIX] (posix_madvise): Likewise.
11560 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11561 && !UNIX98].
11562 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11563 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11564 (mode_t): Likewise.
11565 (posix_mem_offset): Likewise.
11566 (posix_typed_mem_get_info): Likewise.
11567 (posix_typed_mem_open): Likewise.
11568
9e188909
JM
11569 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11570 Change condition to [XOPEN2K8].
11571
05bcf62a
JM
11572 * conform/conformtest.pl: Preprocess allow-header data with -x c
11573 instead of from stdin.
11574 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11575 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11576 [C99-based standards] (cerfc): Likewise.
11577 [C99-based standards] (cexp2): Likewise.
11578 [C99-based standards] (cexpm1): Likewise.
11579 [C99-based standards] (clog10): Likewise.
11580 [C99-based standards] (clog1p): Likewise.
11581 [C99-based standards] (clog2): Likewise.
11582 [C99-based standards] (clgamma): Likewise.
11583 [C99-based standards] (ctgamma): Likewise.
11584 [C99-based standards] (cerff): Likewise.
11585 [C99-based standards] (cerfcf): Likewise.
11586 [C99-based standards] (cexp2f): Likewise.
11587 [C99-based standards] (cexpm1f): Likewise.
11588 [C99-based standards] (clog10f): Likewise.
11589 [C99-based standards] (clog1pf): Likewise.
11590 [C99-based standards] (clog2f): Likewise.
11591 [C99-based standards] (clgammaf): Likewise.
11592 [C99-based standards] (ctgammaf): Likewise.
11593 [C99-based standards] (cerfl): Likewise.
11594 [C99-based standards] (cerfcl): Likewise.
11595 [C99-based standards] (cexp2l): Likewise.
11596 [C99-based standards] (cexpm1l): Likewise.
11597 [C99-based standards] (clog10l): Likewise.
11598 [C99-based standards] (clog1pl): Likewise.
11599 [C99-based standards] (clog2l): Likewise.
11600 [C99-based standards] (clgammal): Likewise.
11601 [C99-based standards] (ctgammal): Likewise.
11602 * conform/data/inttypes.h-data [C99-based standards]: Include
11603 stdint.h-data. Remove all expectations for stdint.h contents.
11604 [C99-based standards] (PRI*): Do not allow.
11605 [C99-based standards] (SCN*): Likewise.
11606 [C99-based standards] (*_t): Likewise.
11607 [C99-based-standards] (PRId8): Expect macro.
11608 [C99-based-standards] (PRIi8): Likewise.
11609 [C99-based-standards] (PRIo8): Likewise.
11610 [C99-based-standards] (PRIu8): Likewise.
11611 [C99-based-standards] (PRIx8): Likewise.
11612 [C99-based-standards] (PRIX8): Likewise.
11613 [C99-based-standards] (SCNd8): Likewise.
11614 [C99-based-standards] (SCNi8): Likewise.
11615 [C99-based-standards] (SCNo8): Likewise.
11616 [C99-based-standards] (SCNu8): Likewise.
11617 [C99-based-standards] (SCNx8): Likewise.
11618 [C99-based-standards] (PRIdLEAST8): Likewise.
11619 [C99-based-standards] (PRIiLEAST8): Likewise.
11620 [C99-based-standards] (PRIoLEAST8): Likewise.
11621 [C99-based-standards] (PRIuLEAST8): Likewise.
11622 [C99-based-standards] (PRIxLEAST8): Likewise.
11623 [C99-based-standards] (PRIXLEAST8): Likewise.
11624 [C99-based-standards] (SCNdLEAST8): Likewise.
11625 [C99-based-standards] (SCNiLEAST8): Likewise.
11626 [C99-based-standards] (SCNoLEAST8): Likewise.
11627 [C99-based-standards] (SCNuLEAST8): Likewise.
11628 [C99-based-standards] (SCNxLEAST8): Likewise.
11629 [C99-based-standards] (PRIdFAST8): Likewise.
11630 [C99-based-standards] (PRIiFAST8): Likewise.
11631 [C99-based-standards] (PRIoFAST8): Likewise.
11632 [C99-based-standards] (PRIuFAST8): Likewise.
11633 [C99-based-standards] (PRIxFAST8): Likewise.
11634 [C99-based-standards] (PRIXFAST8): Likewise.
11635 [C99-based-standards] (SCNdFAST8): Likewise.
11636 [C99-based-standards] (SCNiFAST8): Likewise.
11637 [C99-based-standards] (SCNoFAST8): Likewise.
11638 [C99-based-standards] (SCNuFAST8): Likewise.
11639 [C99-based-standards] (SCNxFAST8): Likewise.
11640 [C99-based-standards] (PRId16): Likewise.
11641 [C99-based-standards] (PRIi16): Likewise.
11642 [C99-based-standards] (PRIo16): Likewise.
11643 [C99-based-standards] (PRIu16): Likewise.
11644 [C99-based-standards] (PRIx16): Likewise.
11645 [C99-based-standards] (PRIX16): Likewise.
11646 [C99-based-standards] (SCNd16): Likewise.
11647 [C99-based-standards] (SCNi16): Likewise.
11648 [C99-based-standards] (SCNo16): Likewise.
11649 [C99-based-standards] (SCNu16): Likewise.
11650 [C99-based-standards] (SCNx16): Likewise.
11651 [C99-based-standards] (PRIdLEAST16): Likewise.
11652 [C99-based-standards] (PRIiLEAST16): Likewise.
11653 [C99-based-standards] (PRIoLEAST16): Likewise.
11654 [C99-based-standards] (PRIuLEAST16): Likewise.
11655 [C99-based-standards] (PRIxLEAST16): Likewise.
11656 [C99-based-standards] (PRIXLEAST16): Likewise.
11657 [C99-based-standards] (SCNdLEAST16): Likewise.
11658 [C99-based-standards] (SCNiLEAST16): Likewise.
11659 [C99-based-standards] (SCNoLEAST16): Likewise.
11660 [C99-based-standards] (SCNuLEAST16): Likewise.
11661 [C99-based-standards] (SCNxLEAST16): Likewise.
11662 [C99-based-standards] (PRIdFAST16): Likewise.
11663 [C99-based-standards] (PRIiFAST16): Likewise.
11664 [C99-based-standards] (PRIoFAST16): Likewise.
11665 [C99-based-standards] (PRIuFAST16): Likewise.
11666 [C99-based-standards] (PRIxFAST16): Likewise.
11667 [C99-based-standards] (PRIXFAST16): Likewise.
11668 [C99-based-standards] (SCNdFAST16): Likewise.
11669 [C99-based-standards] (SCNiFAST16): Likewise.
11670 [C99-based-standards] (SCNoFAST16): Likewise.
11671 [C99-based-standards] (SCNuFAST16): Likewise.
11672 [C99-based-standards] (SCNxFAST16): Likewise.
11673 [C99-based-standards] (PRId32): Likewise.
11674 [C99-based-standards] (PRIi32): Likewise.
11675 [C99-based-standards] (PRIo32): Likewise.
11676 [C99-based-standards] (PRIu32): Likewise.
11677 [C99-based-standards] (PRIx32): Likewise.
11678 [C99-based-standards] (PRIX32): Likewise.
11679 [C99-based-standards] (SCNd32): Likewise.
11680 [C99-based-standards] (SCNi32): Likewise.
11681 [C99-based-standards] (SCNo32): Likewise.
11682 [C99-based-standards] (SCNu32): Likewise.
11683 [C99-based-standards] (SCNx32): Likewise.
11684 [C99-based-standards] (PRIdLEAST32): Likewise.
11685 [C99-based-standards] (PRIiLEAST32): Likewise.
11686 [C99-based-standards] (PRIoLEAST32): Likewise.
11687 [C99-based-standards] (PRIuLEAST32): Likewise.
11688 [C99-based-standards] (PRIxLEAST32): Likewise.
11689 [C99-based-standards] (PRIXLEAST32): Likewise.
11690 [C99-based-standards] (SCNdLEAST32): Likewise.
11691 [C99-based-standards] (SCNiLEAST32): Likewise.
11692 [C99-based-standards] (SCNoLEAST32): Likewise.
11693 [C99-based-standards] (SCNuLEAST32): Likewise.
11694 [C99-based-standards] (SCNxLEAST32): Likewise.
11695 [C99-based-standards] (PRIdFAST32): Likewise.
11696 [C99-based-standards] (PRIiFAST32): Likewise.
11697 [C99-based-standards] (PRIoFAST32): Likewise.
11698 [C99-based-standards] (PRIuFAST32): Likewise.
11699 [C99-based-standards] (PRIxFAST32): Likewise.
11700 [C99-based-standards] (PRIXFAST32): Likewise.
11701 [C99-based-standards] (SCNdFAST32): Likewise.
11702 [C99-based-standards] (SCNiFAST32): Likewise.
11703 [C99-based-standards] (SCNoFAST32): Likewise.
11704 [C99-based-standards] (SCNuFAST32): Likewise.
11705 [C99-based-standards] (SCNxFAST32): Likewise.
11706 [C99-based-standards] (PRId64): Likewise.
11707 [C99-based-standards] (PRIi64): Likewise.
11708 [C99-based-standards] (PRIo64): Likewise.
11709 [C99-based-standards] (PRIu64): Likewise.
11710 [C99-based-standards] (PRIx64): Likewise.
11711 [C99-based-standards] (PRIX64): Likewise.
11712 [C99-based-standards] (SCNd64): Likewise.
11713 [C99-based-standards] (SCNi64): Likewise.
11714 [C99-based-standards] (SCNo64): Likewise.
11715 [C99-based-standards] (SCNu64): Likewise.
11716 [C99-based-standards] (SCNx64): Likewise.
11717 [C99-based-standards] (PRIdLEAST64): Likewise.
11718 [C99-based-standards] (PRIiLEAST64): Likewise.
11719 [C99-based-standards] (PRIoLEAST64): Likewise.
11720 [C99-based-standards] (PRIuLEAST64): Likewise.
11721 [C99-based-standards] (PRIxLEAST64): Likewise.
11722 [C99-based-standards] (PRIXLEAST64): Likewise.
11723 [C99-based-standards] (SCNdLEAST64): Likewise.
11724 [C99-based-standards] (SCNiLEAST64): Likewise.
11725 [C99-based-standards] (SCNoLEAST64): Likewise.
11726 [C99-based-standards] (SCNuLEAST64): Likewise.
11727 [C99-based-standards] (SCNxLEAST64): Likewise.
11728 [C99-based-standards] (PRIdFAST64): Likewise.
11729 [C99-based-standards] (PRIiFAST64): Likewise.
11730 [C99-based-standards] (PRIoFAST64): Likewise.
11731 [C99-based-standards] (PRIuFAST64): Likewise.
11732 [C99-based-standards] (PRIxFAST64): Likewise.
11733 [C99-based-standards] (PRIXFAST64): Likewise.
11734 [C99-based-standards] (SCNdFAST64): Likewise.
11735 [C99-based-standards] (SCNiFAST64): Likewise.
11736 [C99-based-standards] (SCNoFAST64): Likewise.
11737 [C99-based-standards] (SCNuFAST64): Likewise.
11738 [C99-based-standards] (SCNxFAST64): Likewise.
11739 [C99-based-standards] (PRIdMAX): Likewise.
11740 [C99-based-standards] (PRIiMAX): Likewise.
11741 [C99-based-standards] (PRIoMAX): Likewise.
11742 [C99-based-standards] (PRIuMAX): Likewise.
11743 [C99-based-standards] (PRIxMAX): Likewise.
11744 [C99-based-standards] (PRIXMAX): Likewise.
11745 [C99-based-standards] (SCNdMAX): Likewise.
11746 [C99-based-standards] (SCNiMAX): Likewise.
11747 [C99-based-standards] (SCNoMAX): Likewise.
11748 [C99-based-standards] (SCNuMAX): Likewise.
11749 [C99-based-standards] (SCNxMAX): Likewise.
11750 [C99-based-standards] (PRIdPTR): Likewise.
11751 [C99-based-standards] (PRIiPTR): Likewise.
11752 [C99-based-standards] (PRIoPTR): Likewise.
11753 [C99-based-standards] (PRIuPTR): Likewise.
11754 [C99-based-standards] (PRIxPTR): Likewise.
11755 [C99-based-standards] (PRIXPTR): Likewise.
11756 [C99-based-standards] (SCNdPTR): Likewise.
11757 [C99-based-standards] (SCNiPTR): Likewise.
11758 [C99-based-standards] (SCNoPTR): Likewise.
11759 [C99-based-standards] (SCNuPTR): Likewise.
11760 [C99-based-standards] (SCNxPTR): Likewise.
11761 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11762 allow.
11763 * conform/data/stdint.h-data: Update comments to clarify
11764 requirements.
11765 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
11766 type.
11767 [C99-based standards] (INT8_MAX): Likewise.
11768 [C99-based standards] (INT16_MIN): Likewise.
11769 [C99-based standards] (INT16_MAX): Likewise.
11770 [C99-based standards] (INT32_MIN): Likewise.
11771 [C99-based standards] (INT32_MAX): Likewise.
11772 [C99-based standards] (INT64_MIN): Likewise.
11773 [C99-based standards] (INT64_MAX): Likewise.
11774 [C99-based standards] (UINT8_MAX): Likewise.
11775 [C99-based standards] (UINT16_MAX): Likewise.
11776 [C99-based standards] (UINT32_MAX): Likewise.
11777 [C99-based standards] (UINT64_MAX): Likewise.
11778 [C99-based standards] (INT_LEAST8_MIN): Likewise.
11779 [C99-based standards] (INT_LEAST8_MAX): Likewise.
11780 [C99-based standards] (INT_LEAST16_MIN): Likewise.
11781 [C99-based standards] (INT_LEAST16_MAX): Likewise.
11782 [C99-based standards] (INT_LEAST32_MIN): Likewise.
11783 [C99-based standards] (INT_LEAST32_MAX): Likewise.
11784 [C99-based standards] (INT_LEAST64_MIN): Likewise.
11785 [C99-based standards] (INT_LEAST64_MAX): Likewise.
11786 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11787 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11788 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11789 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11790 [C99-based standards] (INT_FAST8_MIN): Likewise.
11791 [C99-based standards] (INT_FAST8_MAX): Likewise.
11792 [C99-based standards] (INT_FAST16_MIN): Likewise.
11793 [C99-based standards] (INT_FAST16_MAX): Likewise.
11794 [C99-based standards] (INT_FAST32_MIN): Likewise.
11795 [C99-based standards] (INT_FAST32_MAX): Likewise.
11796 [C99-based standards] (INT_FAST64_MIN): Likewise.
11797 [C99-based standards] (INT_FAST64_MAX): Likewise.
11798 [C99-based standards] (UINT_FAST8_MAX): Likewise.
11799 [C99-based standards] (UINT_FAST16_MAX): Likewise.
11800 [C99-based standards] (UINT_FAST32_MAX): Likewise.
11801 [C99-based standards] (UINT_FAST64_MAX): Likewise.
11802 [C99-based standards] (INTPTR_MIN): Likewise.
11803 [C99-based standards] (INTPTR_MAX): Likewise.
11804 [C99-based standards] (UINTPTR_MAX): Likewise.
11805 [C99-based standards] (INTMAX_MIN): Likewise.
11806 [C99-based standards] (INTMAX_MAX): Likewise.
11807 [C99-based standards] (UINTMAX_MAX): Likewise.
11808 [C99-based standards] (PTRDIFF_MIN): Likewise.
11809 [C99-based standards] (PTRDIFF_MAX): Likewise.
11810 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11811 [C99-based standards] (SIZE_MAX): Likewise.
11812 [C99-based standards] (WCHAR_MAX): Likewise.
11813 [C99-based standards] (WINT_MAX): Likewise.
11814 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
11815 constraint on value.
11816 [C99-based standards] (WCHAR_MIN): Likewise.
11817 [C99-based standards] (WINT_MIN): Likewise.
11818 [C99-based standards] (*_t): Allow.
11819 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11820 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11821 Include math.h-data and complex.h-data. Remove all expectations
11822 of math.h and complex.h contents.
11823 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11824 at end of line.
11825 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11826 (struct tm): Expect tag.
11827 [C99-based-standards] (wcstof): Expect function.
11828 [C99-based-standards] (wcstold): Likewise.
11829 [C99-based-standards] (wcstoll): Likewise.
11830 [C99-based-standards] (wcstoull): Likewise.
11831 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11832 macro-int-constant. Specify type.
11833 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
11834 constraint on value.
11835 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11836 Specify type.
11837 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11838 Specify value.
11839 [ISO C standards]: Do not allow headers.
11840 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11841 wcs[abcdefghijklmnopqrstuvwxyz]*.
11842 [ISO C standards] (*_t): Do not allow.
11843 * conform/data/wctype.h-data [C99-based standards] (iswblank):
11844 Expect function.
11845 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11846 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11847 Specify type.
11848 [ISO C standards]: Do not allow headers.
11849 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11850 is[abcdefghijklmnopqrstuvwxyz]*.
11851 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11852 to[abcdefghijklmnopqrstuvwxyz]*.
11853 [ISO C standards] (*_t): Do not allow.
11854 * conform/data/stdalign.h-data: New file.
11855 * conform/data/stdbool.h-data: Likewise.
11856 * conform/data/stdnoreturn.h-data: Likewise.
11857
7514feb8
RM
118582012-11-07 Roland McGrath <roland@hack.frob.com>
11859
11860 [BZ #14815]
11861 * manual/filesys.texi (Directory Entries): Typo fix.
11862 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11863
19b2ecfc
MS
118642012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11865
11866 * elf/elf.h (EM_AARCH64): New macro.
11867 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11868 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11869 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11870 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11871 (R_AARCH64_TLSDESC): Likewise.
11872 (NT_ARM_TLS): Likewise.
11873 (NT_ARM_HW_BREAK): Likewise.
11874 (NT_ARM_HW_WATCH): Likewise.
11875
60e235ee
JM
118762012-11-07 Joseph Myers <joseph@codesourcery.com>
11877
11878 [BZ #14811]
11879 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11880 (__ieee754_powl): Saturate nonzero exponents with absolute value
11881 below 0x1p-79 to +/- 0x1p-79.
11882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11883 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11884 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11885 nonzero exponents with absolute value below 0x1p-32 to +/-
11886 0x1p-32.
11887 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11888 (__ieee754_powl): Saturate nonzero exponents with absolute value
11889 below 0x1p-79 to +/- 0x1p-79.
11890 * math/libm-test.inc (pow_test): Add more tests.
11891
0ab234b7
AK
118922012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11893
11894 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11895 _dl_s390_cap_flags with kernel. Increase string length.
11896 (_dl_s390_platforms): Add z196 and zEC12.
11897
45832f74
JM
118982012-11-07 Joseph Myers <joseph@codesourcery.com>
11899
11900 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11901 Change XOPEN21K to XOPEN2K.
11902
19218757
MK
119032012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
11904
11905 * string/memmove.c: Use memcpy when possible.
11906
c5f45721
AJ
119072012-11-06 Andreas Jaeger <aj@suse.de>
11908
11909 * po/eo.po: Update from translation team.
11910
82477c28
JM
119112012-11-06 Joseph Myers <joseph@codesourcery.com>
11912
11913 [BZ #14793]
11914 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11915 exponent and small x and y exponents, scale x or y up. Increase
11916 by 2 the exponent used in scaling up.
11917 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11919 * math/libm-test.inc (fma_test): Add more tests.
11920 (fma_test_towardzero): Likewise.
11921 (fma_test_downward): Likewise.
11922 (fma_test_upward): Likewise.
11923
99252c8c
JM
119242012-11-05 Joseph Myers <joseph@codesourcery.com>
11925
acfa885f
JM
11926 [BZ #14805]
11927 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11928 fenv_t *.
11929
99252c8c
JM
11930 [BZ #14801]
11931 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11932 namespace for names of struct fields.
11933 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11934 fenv_t fields.
11935 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11936 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11937
d6d98dea
ST
119382012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
11939
11940 [BZ #3665]
11941 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11942
e10bb107
TS
119432012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11944
11945 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11946 PTR_DEMANGLE.
11947
11948 [BZ #5246]
11949 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11950 PTR_DEMANGLE.
11951
a0c2940d
JM
119522012-11-04 Joseph Myers <joseph@codesourcery.com>
11953
11954 [BZ #14797]
11955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11956 definitely overflow as x * y not x * y + z.
11957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11959 * math/libm-test.inc (fma_test): Add more tests.
11960 (fma_test_towardzero): Likewise.
11961 (fma_test_downward): Likewise.
11962 (fma_test_upward): Likewise.
11963
b830319d
TS
119642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
11965
11966 [BZ #157]
11967
11968 * include/stub-tag.h: Remove file.
11969 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11970 '#include' of it.
11971 * manual/maint.texi (Porting): Don't reference it.
11972 * Makerules ($(objpfx)stubs): Likewise.
11973 * dirent/closedir.c: Don't include <stub-tag.h>.
11974 * dirent/dirfd.c: Likewise.
11975 * dirent/fdopendir.c: Likewise.
11976 * dirent/getdents.c: Likewise.
11977 * dirent/getdents64.c: Likewise.
11978 * dirent/opendir.c: Likewise.
11979 * dirent/readdir.c: Likewise.
11980 * dirent/readdir64.c: Likewise.
11981 * dirent/readdir64_r.c: Likewise.
11982 * dirent/readdir_r.c: Likewise.
11983 * dirent/rewinddir.c: Likewise.
11984 * dirent/seekdir.c: Likewise.
11985 * dirent/telldir.c: Likewise.
11986 * gmon/profil.c: Likewise.
11987 * grp/setgroups.c: Likewise.
11988 * inet/if_index.c: Likewise.
11989 * io/access.c: Likewise.
11990 * io/chdir.c: Likewise.
11991 * io/chmod.c: Likewise.
11992 * io/chown.c: Likewise.
11993 * io/close.c: Likewise.
11994 * io/dup.c: Likewise.
11995 * io/dup2.c: Likewise.
11996 * io/dup3.c: Likewise.
11997 * io/euidaccess.c: Likewise.
11998 * io/faccessat.c: Likewise.
11999 * io/fchdir.c: Likewise.
12000 * io/fchmod.c: Likewise.
12001 * io/fchmodat.c: Likewise.
12002 * io/fchown.c: Likewise.
12003 * io/fchownat.c: Likewise.
12004 * io/fcntl.c: Likewise.
12005 * io/flock.c: Likewise.
12006 * io/fstatfs.c: Likewise.
12007 * io/fstatfs64.c: Likewise.
12008 * io/fstatvfs.c: Likewise.
12009 * io/fstatvfs64.c: Likewise.
12010 * io/futimens.c: Likewise.
12011 * io/fxstat.c: Likewise.
12012 * io/fxstat64.c: Likewise.
12013 * io/fxstatat.c: Likewise.
12014 * io/fxstatat64.c: Likewise.
12015 * io/getcwd.c: Likewise.
12016 * io/isatty.c: Likewise.
12017 * io/lchmod.c: Likewise.
12018 * io/lchown.c: Likewise.
12019 * io/link.c: Likewise.
12020 * io/linkat.c: Likewise.
12021 * io/lseek.c: Likewise.
12022 * io/lseek64.c: Likewise.
12023 * io/lxstat64.c: Likewise.
12024 * io/mkdir.c: Likewise.
12025 * io/mkdirat.c: Likewise.
12026 * io/mkfifo.c: Likewise.
12027 * io/mkfifoat.c: Likewise.
12028 * io/open.c: Likewise.
12029 * io/open64.c: Likewise.
12030 * io/openat.c: Likewise.
12031 * io/openat64.c: Likewise.
12032 * io/pipe.c: Likewise.
12033 * io/pipe2.c: Likewise.
12034 * io/poll.c: Likewise.
12035 * io/posix_fadvise.c: Likewise.
12036 * io/posix_fadvise64.c: Likewise.
12037 * io/posix_fallocate.c: Likewise.
12038 * io/posix_fallocate64.c: Likewise.
12039 * io/read.c: Likewise.
12040 * io/readlink.c: Likewise.
12041 * io/readlinkat.c: Likewise.
12042 * io/rmdir.c: Likewise.
12043 * io/sendfile.c: Likewise.
12044 * io/sendfile64.c: Likewise.
12045 * io/statfs.c: Likewise.
12046 * io/statfs64.c: Likewise.
12047 * io/statvfs.c: Likewise.
12048 * io/statvfs64.c: Likewise.
12049 * io/symlink.c: Likewise.
12050 * io/symlinkat.c: Likewise.
12051 * io/ttyname.c: Likewise.
12052 * io/ttyname_r.c: Likewise.
12053 * io/umask.c: Likewise.
12054 * io/unlink.c: Likewise.
12055 * io/unlinkat.c: Likewise.
12056 * io/utime.c: Likewise.
12057 * io/utimensat.c: Likewise.
12058 * io/write.c: Likewise.
12059 * io/xmknod.c: Likewise.
12060 * io/xmknodat.c: Likewise.
12061 * io/xstat.c: Likewise.
12062 * io/xstat64.c: Likewise.
12063 * login/getpt.c: Likewise.
12064 * login/grantpt.c: Likewise.
12065 * login/unlockpt.c: Likewise.
12066 * math/e_acoshl.c: Likewise.
12067 * math/e_acosl.c: Likewise.
12068 * math/e_asinl.c: Likewise.
12069 * math/e_atan2l.c: Likewise.
12070 * math/e_atanhl.c: Likewise.
12071 * math/e_coshl.c: Likewise.
12072 * math/e_expl.c: Likewise.
12073 * math/e_fmodl.c: Likewise.
12074 * math/e_gammal_r.c: Likewise.
12075 * math/e_hypotl.c: Likewise.
12076 * math/e_j0l.c: Likewise.
12077 * math/e_j1l.c: Likewise.
12078 * math/e_jnl.c: Likewise.
12079 * math/e_lgammal_r.c: Likewise.
12080 * math/e_log10l.c: Likewise.
12081 * math/e_log2l.c: Likewise.
12082 * math/e_logl.c: Likewise.
12083 * math/e_powl.c: Likewise.
12084 * math/e_rem_pio2l.c: Likewise.
12085 * math/e_sinhl.c: Likewise.
12086 * math/e_sqrtl.c: Likewise.
12087 * math/fclrexcpt.c: Likewise.
12088 * math/fedisblxcpt.c: Likewise.
12089 * math/feenablxcpt.c: Likewise.
12090 * math/fegetenv.c: Likewise.
12091 * math/fegetexcept.c: Likewise.
12092 * math/fegetround.c: Likewise.
12093 * math/feholdexcpt.c: Likewise.
12094 * math/fesetenv.c: Likewise.
12095 * math/fesetround.c: Likewise.
12096 * math/feupdateenv.c: Likewise.
12097 * math/fgetexcptflg.c: Likewise.
12098 * math/fraiseexcpt.c: Likewise.
12099 * math/fsetexcptflg.c: Likewise.
12100 * math/ftestexcept.c: Likewise.
12101 * math/k_cosl.c: Likewise.
12102 * math/k_rem_pio2l.c: Likewise.
12103 * math/k_sinl.c: Likewise.
12104 * math/k_tanl.c: Likewise.
12105 * math/s_asinhl.c: Likewise.
12106 * math/s_atanl.c: Likewise.
12107 * math/s_cbrtl.c: Likewise.
12108 * math/s_erfl.c: Likewise.
12109 * math/s_expm1l.c: Likewise.
12110 * math/s_log1pl.c: Likewise.
12111 * math/s_tanhl.c: Likewise.
12112 * misc/acct.c: Likewise.
12113 * misc/brk.c: Likewise.
12114 * misc/chflags.c: Likewise.
12115 * misc/chroot.c: Likewise.
12116 * misc/fchflags.c: Likewise.
12117 * misc/fgetxattr.c: Likewise.
12118 * misc/flistxattr.c: Likewise.
12119 * misc/fremovexattr.c: Likewise.
12120 * misc/fsetxattr.c: Likewise.
12121 * misc/fsync.c: Likewise.
12122 * misc/ftruncate.c: Likewise.
12123 * misc/futimes.c: Likewise.
12124 * misc/futimesat.c: Likewise.
12125 * misc/getdomain.c: Likewise.
12126 * misc/getdtsz.c: Likewise.
12127 * misc/gethostid.c: Likewise.
12128 * misc/gethostname.c: Likewise.
12129 * misc/getloadavg.c: Likewise.
12130 * misc/getpagesize.c: Likewise.
12131 * misc/getsysstats.c: Likewise.
12132 * misc/getxattr.c: Likewise.
12133 * misc/gtty.c: Likewise.
12134 * misc/ioctl.c: Likewise.
12135 * misc/lgetxattr.c: Likewise.
12136 * misc/listxattr.c: Likewise.
12137 * misc/llistxattr.c: Likewise.
12138 * misc/lremovexattr.c: Likewise.
12139 * misc/lsetxattr.c: Likewise.
12140 * misc/lutimes.c: Likewise.
12141 * misc/madvise.c: Likewise.
12142 * misc/mincore.c: Likewise.
12143 * misc/mlock.c: Likewise.
12144 * misc/mlockall.c: Likewise.
12145 * misc/mmap.c: Likewise.
12146 * misc/mprotect.c: Likewise.
12147 * misc/msync.c: Likewise.
12148 * misc/munlock.c: Likewise.
12149 * misc/munlockall.c: Likewise.
12150 * misc/munmap.c: Likewise.
12151 * misc/preadv.c: Likewise.
12152 * misc/preadv64.c: Likewise.
12153 * misc/ptrace.c: Likewise.
12154 * misc/pwritev.c: Likewise.
12155 * misc/pwritev64.c: Likewise.
12156 * misc/readv.c: Likewise.
12157 * misc/reboot.c: Likewise.
12158 * misc/remap_file_pages.c: Likewise.
12159 * misc/removexattr.c: Likewise.
12160 * misc/revoke.c: Likewise.
12161 * misc/select.c: Likewise.
12162 * misc/setdomain.c: Likewise.
12163 * misc/setegid.c: Likewise.
12164 * misc/seteuid.c: Likewise.
12165 * misc/sethostid.c: Likewise.
12166 * misc/sethostname.c: Likewise.
12167 * misc/setregid.c: Likewise.
12168 * misc/setreuid.c: Likewise.
12169 * misc/setxattr.c: Likewise.
12170 * misc/sstk.c: Likewise.
12171 * misc/stty.c: Likewise.
12172 * misc/swapoff.c: Likewise.
12173 * misc/swapon.c: Likewise.
12174 * misc/sync.c: Likewise.
12175 * misc/syncfs.c: Likewise.
12176 * misc/syscall.c: Likewise.
12177 * misc/truncate.c: Likewise.
12178 * misc/ualarm.c: Likewise.
12179 * misc/usleep.c: Likewise.
12180 * misc/ustat.c: Likewise.
12181 * misc/utimes.c: Likewise.
12182 * misc/vhangup.c: Likewise.
12183 * misc/writev.c: Likewise.
12184 * posix/_exit.c: Likewise.
12185 * posix/alarm.c: Likewise.
12186 * posix/execve.c: Likewise.
12187 * posix/fexecve.c: Likewise.
12188 * posix/fork.c: Likewise.
12189 * posix/fpathconf.c: Likewise.
12190 * posix/getaddrinfo.c: Likewise.
12191 * posix/getegid.c: Likewise.
12192 * posix/geteuid.c: Likewise.
12193 * posix/getgid.c: Likewise.
12194 * posix/getgroups.c: Likewise.
12195 * posix/getlogin.c: Likewise.
12196 * posix/getlogin_r.c: Likewise.
12197 * posix/getpgid.c: Likewise.
12198 * posix/getpid.c: Likewise.
12199 * posix/getppid.c: Likewise.
12200 * posix/getresgid.c: Likewise.
12201 * posix/getresuid.c: Likewise.
12202 * posix/getsid.c: Likewise.
12203 * posix/getuid.c: Likewise.
12204 * posix/glob64.c: Likewise.
12205 * posix/nanosleep.c: Likewise.
12206 * posix/pathconf.c: Likewise.
12207 * posix/pause.c: Likewise.
12208 * posix/posix_madvise.c: Likewise.
12209 * posix/pread.c: Likewise.
12210 * posix/pread64.c: Likewise.
12211 * posix/pwrite.c: Likewise.
12212 * posix/pwrite64.c: Likewise.
12213 * posix/sched_getaffinity.c: Likewise.
12214 * posix/sched_getp.c: Likewise.
12215 * posix/sched_gets.c: Likewise.
12216 * posix/sched_primax.c: Likewise.
12217 * posix/sched_primin.c: Likewise.
12218 * posix/sched_rr_gi.c: Likewise.
12219 * posix/sched_setaffinity.c: Likewise.
12220 * posix/sched_setp.c: Likewise.
12221 * posix/sched_sets.c: Likewise.
12222 * posix/sched_yield.c: Likewise.
12223 * posix/setgid.c: Likewise.
12224 * posix/setlogin.c: Likewise.
12225 * posix/setpgid.c: Likewise.
12226 * posix/setresgid.c: Likewise.
12227 * posix/setresuid.c: Likewise.
12228 * posix/setsid.c: Likewise.
12229 * posix/setuid.c: Likewise.
12230 * posix/sleep.c: Likewise.
12231 * posix/spawni.c: Likewise.
12232 * posix/sysconf.c: Likewise.
12233 * posix/times.c: Likewise.
12234 * posix/wait.c: Likewise.
12235 * posix/wait3.c: Likewise.
12236 * posix/wait4.c: Likewise.
12237 * posix/waitpid.c: Likewise.
12238 * resolv/gai_sigqueue.c: Likewise.
12239 * resource/getpriority.c: Likewise.
12240 * resource/getrlimit.c: Likewise.
12241 * resource/getrusage.c: Likewise.
12242 * resource/nice.c: Likewise.
12243 * resource/setpriority.c: Likewise.
12244 * resource/setrlimit.c: Likewise.
12245 * resource/ulimit.c: Likewise.
12246 * rt/aio_cancel.c: Likewise.
12247 * rt/aio_fsync.c: Likewise.
12248 * rt/aio_read.c: Likewise.
12249 * rt/aio_sigqueue.c: Likewise.
12250 * rt/aio_suspend.c: Likewise.
12251 * rt/aio_write.c: Likewise.
12252 * rt/clock_getres.c: Likewise.
12253 * rt/clock_gettime.c: Likewise.
12254 * rt/clock_nanosleep.c: Likewise.
12255 * rt/clock_settime.c: Likewise.
12256 * rt/lio_listio.c: Likewise.
12257 * rt/mq_close.c: Likewise.
12258 * rt/mq_getattr.c: Likewise.
12259 * rt/mq_notify.c: Likewise.
12260 * rt/mq_open.c: Likewise.
12261 * rt/mq_receive.c: Likewise.
12262 * rt/mq_send.c: Likewise.
12263 * rt/mq_setattr.c: Likewise.
12264 * rt/mq_timedreceive.c: Likewise.
12265 * rt/mq_timedsend.c: Likewise.
12266 * rt/mq_unlink.c: Likewise.
12267 * rt/shm_open.c: Likewise.
12268 * rt/shm_unlink.c: Likewise.
12269 * rt/timer_create.c: Likewise.
12270 * rt/timer_delete.c: Likewise.
12271 * rt/timer_getoverr.c: Likewise.
12272 * rt/timer_gettime.c: Likewise.
12273 * rt/timer_settime.c: Likewise.
12274 * setjmp/__longjmp.c: Likewise.
12275 * setjmp/setjmp.c: Likewise.
12276 * signal/kill.c: Likewise.
12277 * signal/killpg.c: Likewise.
12278 * signal/raise.c: Likewise.
12279 * signal/sigaction.c: Likewise.
12280 * signal/sigaltstack.c: Likewise.
12281 * signal/sigblock.c: Likewise.
12282 * signal/sigignore.c: Likewise.
12283 * signal/sigintr.c: Likewise.
12284 * signal/signal.c: Likewise.
12285 * signal/sigpause.c: Likewise.
12286 * signal/sigpending.c: Likewise.
12287 * signal/sigqueue.c: Likewise.
12288 * signal/sigreturn.c: Likewise.
12289 * signal/sigset.c: Likewise.
12290 * signal/sigsetmask.c: Likewise.
12291 * signal/sigstack.c: Likewise.
12292 * signal/sigsuspend.c: Likewise.
12293 * signal/sigtimedwait.c: Likewise.
12294 * signal/sigvec.c: Likewise.
12295 * signal/sigwait.c: Likewise.
12296 * signal/sigwaitinfo.c: Likewise.
12297 * signal/sysv_signal.c: Likewise.
12298 * socket/accept.c: Likewise.
12299 * socket/accept4.c: Likewise.
12300 * socket/bind.c: Likewise.
12301 * socket/connect.c: Likewise.
12302 * socket/getpeername.c: Likewise.
12303 * socket/getsockname.c: Likewise.
12304 * socket/getsockopt.c: Likewise.
12305 * socket/isfdtype.c: Likewise.
12306 * socket/listen.c: Likewise.
12307 * socket/recv.c: Likewise.
12308 * socket/recvfrom.c: Likewise.
12309 * socket/recvmsg.c: Likewise.
12310 * socket/send.c: Likewise.
12311 * socket/sendmsg.c: Likewise.
12312 * socket/sendto.c: Likewise.
12313 * socket/setsockopt.c: Likewise.
12314 * socket/shutdown.c: Likewise.
12315 * socket/sockatmark.c: Likewise.
12316 * socket/socket.c: Likewise.
12317 * socket/socketpair.c: Likewise.
12318 * stdio-common/ctermid.c: Likewise.
12319 * stdio-common/cuserid.c: Likewise.
12320 * stdio-common/remove.c: Likewise.
12321 * stdio-common/rename.c: Likewise.
12322 * stdio-common/renameat.c: Likewise.
12323 * stdio-common/tempname.c: Likewise.
12324 * stdlib/getcontext.c: Likewise.
12325 * stdlib/makecontext.c: Likewise.
12326 * stdlib/setcontext.c: Likewise.
12327 * stdlib/swapcontext.c: Likewise.
12328 * stdlib/system.c: Likewise.
12329 * streams/fattach.c: Likewise.
12330 * streams/fdetach.c: Likewise.
12331 * streams/getmsg.c: Likewise.
12332 * streams/getpmsg.c: Likewise.
12333 * streams/putmsg.c: Likewise.
12334 * streams/putpmsg.c: Likewise.
12335 * sysdeps/unix/bsd/getpt.c: Likewise.
12336 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12337 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12338 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12340 Likewise.
12341 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12342 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12343 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12344 * sysvipc/msgctl.c: Likewise.
12345 * sysvipc/msgget.c: Likewise.
12346 * sysvipc/msgrcv.c: Likewise.
12347 * sysvipc/msgsnd.c: Likewise.
12348 * sysvipc/semctl.c: Likewise.
12349 * sysvipc/semget.c: Likewise.
12350 * sysvipc/semop.c: Likewise.
12351 * sysvipc/semtimedop.c: Likewise.
12352 * sysvipc/shmat.c: Likewise.
12353 * sysvipc/shmctl.c: Likewise.
12354 * sysvipc/shmdt.c: Likewise.
12355 * sysvipc/shmget.c: Likewise.
12356 * termios/tcdrain.c: Likewise.
12357 * termios/tcflow.c: Likewise.
12358 * termios/tcflush.c: Likewise.
12359 * termios/tcgetattr.c: Likewise.
12360 * termios/tcgetpgrp.c: Likewise.
12361 * termios/tcsendbrk.c: Likewise.
12362 * termios/tcsetattr.c: Likewise.
12363 * termios/tcsetpgrp.c: Likewise.
12364 * time/adjtime.c: Likewise.
12365 * time/clock.c: Likewise.
12366 * time/getitimer.c: Likewise.
12367 * time/gettimeofday.c: Likewise.
12368 * time/setitimer.c: Likewise.
12369 * time/settimeofday.c: Likewise.
12370 * time/stime.c: Likewise.
12371 * time/time.c: Likewise.
12372
123732012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 12374
a20492cf
PT
12375 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12376 /usr/old/bin.
12377
72e182e3
PT
12378 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12379 instead of spaces.
12380 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12381
fbeafede
JM
123822012-11-03 Joseph Myers <joseph@codesourcery.com>
12383
5b5b04d6
JM
12384 [BZ #14796]
12385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12386 FE_TONEAREST before applying Dekker multiplication and Knuth
12387 addition. Clear inexact exceptions and check for exact zero
12388 results afterwards.
12389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12390 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12391 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12392 * math/libm-test.inc (fma_test): Add more tests.
12393 (fma_test_towardzero): Likewise.
12394 (fma_test_downward): Likewise.
12395 (fma_test_upward): Likewise.
12396 * sysdeps/generic/math_private.h (default_libc_fesetround): New
12397 function.
12398 (libc_fesetround): New macro.
12399 (libc_fesetroundf): Likewise.
12400 (libc_fesetroundl): Likewise.
12401 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12402 function.
12403 (libc_fesetround_387): Likewise.
12404 (libc_fesetroundf): New macro.
12405 (libc_fesetround): Likewise.
12406 (libc_fesetroundl): Likewise.
12407 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12408 function.
12409 (libc_fesetroundf): New macro.
12410 (libc_fesetround): Likewise.
12411 (libc_fesetroundl): Likewise.
12412 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12413 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12414 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12415 libm_hidden_ver.
12416 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12417 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12418 libm_hidden_def.
12419 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12420 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12421 libm_hidden_ver.
12422 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12423 libm_hidden_def.
12424
fbeafede
JM
12425 [BZ #3439]
12426 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12427 integer constant usable in #if and use that to give value to enum
12428 constant.
12429 (FE_DIVBYZERO): Likewise.
12430 (FE_UNDERFLOW): Likewise.
12431 (FE_OVERFLOW): Likewise.
12432 (FE_INVALID): Likewise.
12433 (FE_INVALID_SNAN): Likewise.
12434 (FE_INVALID_ISI): Likewise.
12435 (FE_INVALID_IDI): Likewise.
12436 (FE_INVALID_ZDZ): Likewise.
12437 (FE_INVALID_IMZ): Likewise.
12438 (FE_INVALID_COMPARE): Likewise.
12439 (FE_INVALID_SOFTWARE): Likewise.
12440 (FE_INVALID_SQRT): Likewise.
12441 (FE_INVALID_INTEGER_CONVERSION): Likewise.
12442 (FE_TONEAREST): Likewise.
12443 (FE_TOWARDZERO): Likewise.
12444 (FE_UPWARD): Likewise.
12445 (FE_DOWNWARD): Likewise.
12446 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12447 (FE_DIVBYZERO): Likewise.
12448 (FE_OVERFLOW): Likewise.
12449 (FE_UNDERFLOW): Likewise.
12450 (FE_INEXACT): Likewise.
12451 (FE_TONEAREST): Likewise.
12452 (FE_DOWNWARD): Likewise.
12453 (FE_UPWARD): Likewise.
12454 (FE_TOWARDZERO): Likewise.
12455 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12456 (FE_UNDERFLOW): Likewise.
12457 (FE_OVERFLOW): Likewise.
12458 (FE_DIVBYZERO): Likewise.
12459 (FE_INVALID): Likewise.
12460 (FE_TONEAREST): Likewise.
12461 (FE_TOWARDZERO): Likewise.
12462 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12463 (FE_OVERFLOW): Likewise.
12464 (FE_UNDERFLOW): Likewise.
12465 (FE_DIVBYZERO): Likewise.
12466 (FE_INEXACT): Likewise.
12467 (FE_TONEAREST): Likewise.
12468 (FE_TOWARDZERO): Likewise.
12469 (FE_UPWARD): Likewise.
12470 (FE_DOWNWARD): Likewise.
12471 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12472 (FE_DIVBYZERO): Likewise.
12473 (FE_OVERFLOW): Likewise.
12474 (FE_UNDERFLOW): Likewise.
12475 (FE_INEXACT): Likewise.
12476 (FE_TONEAREST): Likewise.
12477 (FE_DOWNWARD): Likewise.
12478 (FE_UPWARD): Likewise.
12479 (FE_TOWARDZERO): Likewise.
12480
105ca950
CM
124812012-11-02 Chris Metcalf <cmetcalf@tilera.com>
12482
12483 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12484
a542b389
AS
124852012-11-03 Andreas Schwab <schwab@linux-m68k.org>
12486
12487 * scripts/cross-test-ssh.sh (command): Use newlines to separate
12488 commands. Quote $PWD.
12489 (blacklist_exports): Don't use remove_newlines. Replace "declare
12490 -x" by "export".
12491 (remove_newlines): Remove.
12492
f62c8abc
L
124932012-11-02 H.J. Lu <hongjiu.lu@intel.com>
12494
12495 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12496 * stdlib/stdlib.h (atof): Moved to ...
12497 * include/bits/stdlib-float.h: Here. New file.
12498 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12499 * stdlib/bits/stdlib-float.h: New file.
12500 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12501 -mno-sse -mno-mmx.
12502 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12503 <xmmintrin.h>.
12504
0155d5b2
JM
125052012-11-02 Joseph Myers <joseph@codesourcery.com>
12506
a68d0680
JM
12507 * conform/conformtest.pl (@headers): Add fenv.h.
12508 * conform/data/fenv.h-data: New file.
12509 * include/fenv.h [_ISOMAC]: Disable all contents of file except
12510 include of <math/fenv.h>.
12511
caf7f573
JM
12512 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12513 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12514 && !UNIX98]. Enables tests for XOPEN2K8.
12515 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12516 POSIX2008]: Likewise.
12517
6c073ad6
JM
12518 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12519 (struct rusage): Do not expect type or its members.
12520
0155d5b2
JM
12521 [BZ #3439]
12522 * math/math.h (FP_NAN): Define macro to integer constant usable in
12523 #if and use that to give value to enum constant.
12524 (FP_INFINITE): Likewise.
12525 (FP_ZERO): Likewise.
12526 (FP_SUBNORMAL): Likewise.
12527 (FP_NORMAL): Likewise.
12528
b5dcacb4
AS
125292012-11-02 Andreas Schwab <schwab@linux-m68k.org>
12530
12531 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12532 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12533 arguments.
12534
f7934be8
RM
125352012-11-02 Roland McGrath <roland@hack.frob.com>
12536
12537 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12538 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12539 autoconf-time if not.
12540 * configure.in: Remove AC_PREREQ.
12541
d7d08bde
TMQMF
125422012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12543
12544 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12545 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12546 of the internal implementation.
12547
dcdae19a
JM
125482012-11-02 Joseph Myers <joseph@codesourcery.com>
12549
12550 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12551 except include of <misc/sys/syslog.h>.
12552
d6cffd3e
AS
125532012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12554
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12556 function returns with a NULL context exit with zero.
12557
b3563932
TMQMF
125582012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12559
12560 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12561
b288a93d
L
125622012-11-01 H.J. Lu <hongjiu.lu@intel.com>
12563
12564 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12565 (run_program_cmd): This.
12566 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12567 (tst_langinfo): New variable. Use it.
12568
a2421a68
SAS
125692012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
12570
12571 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12572 floating point opcodes.
12573
6f796e1b
TS
125742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12575
7402596b
TS
12576 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12577 variable.
12578
d0d4f868
TS
12579 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12580
6f796e1b
TS
12581 * sysdeps/mach/hurd/powerpc: Remove directory.
12582 * sysdeps/mach/powerpc: Likewise.
12583
4da224a2
AS
125842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
12585
12586 * scripts/check-local-headers.sh: Ignore c++ headers.
12587
341dd673
TS
125882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12589
12590 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12591 __libc_cleanup_region_start argument.
12592
473611b2
JM
125932012-11-01 Joseph Myers <joseph@codesourcery.com>
12594
12595 [BZ #14784]
12596 [BZ #14785]
12597 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12598 x * y using scaling, not as x * y + z.
12599 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12600 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12601 * math/libm-test.inc (fma_test): Add more tests.
12602 (fma_test_towardzero): Likewise.
12603 (fma_test_downward): Likewise.
12604 (fma_test_upward): Likewise.
12605
4078da3d
TS
126062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
12607
12608 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12609
903252aa
JM
126102012-10-31 Joseph Myers <joseph@codesourcery.com>
12611
12612 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12613 New variable.
12614
cbc818d0
TS
126152012-10-31 Thomas Schwinge <thomas@codesourcery.com>
12616
12617 * rt/tst-shm.c (worker): Correct checking for mmap failure.
12618
5a03cb1e
AS
126192012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12620
12621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12622 Fix sort order.
12623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12624 Likewise.
12625
90aff2ff
TMQMF
126262012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12627
12628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12629 Fix the order of the list for glibc 2.17.
12630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12631 Likewise.
12632
1818fcb7
AS
126332012-10-31 Andreas Schwab <schwab@linux-m68k.org>
12634
12635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12636
ef82f4da
JM
126372012-10-31 Joseph Myers <joseph@codesourcery.com>
12638
16a0e2ec
JM
12639 [BZ #14610]
12640 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12641 for low part of x being zero before using __atanl (y).
12642 * math/libm-test.inc (atan2_test): Add another test.
12643
0eb69512
JM
12644 * manual/install.texi (Configuring and compiling): Document
12645 general use of test-wrapper and test-wrapper-env.
12646 * INSTALL: Regenerated.
12647
ef82f4da
JM
12648 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12649 (__fma): Do not extract and scale down low bits on after-rounding
12650 systems when result rounded to normal precision would have normal
12651 exponent.
12652 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12653 (__fmal): Do not extract and scale down low bits on after-rounding
12654 systems when result rounded to normal precision would have normal
12655 exponent.
12656 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12657 (__fmal): Do not extract and scale down low bits on after-rounding
12658 systems when result rounded to normal precision would have normal
12659 exponent.
12660 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12661 macro.
12662 (fma_test): Add more tests.
12663 (fma_test_towardzero): Likewise.
12664 (fma_test_downward): Likewise.
12665 (fma_test_upward): Likewise.
12666
954ef0d9
L
126672012-10-30 H.J. Lu <hongjiu.lu@intel.com>
12668
12669 * sysdeps/i386/tininess.h: Renamed to ...
12670 * sysdeps/x86/tininess.h: This.
12671 * sysdeps/x86_64/tininess.h: Removed.
12672
df61ffb2
JM
126732012-10-30 Joseph Myers <joseph@codesourcery.com>
12674
12675 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12676 input. Use $(build-program-cmd).
12677 ($(objpfx)tst-array1-static.out): Likewise.
12678 ($(objpfx)tst-array2.out): Likewise.
12679 ($(objpfx)tst-array3.out): Likewise.
12680 ($(objpfx)tst-array4.out): Likewise.
12681 ($(objpfx)tst-array5.out): Likewise.
12682 ($(objpfx)tst-array5-static.out): Likewise.
12683
01767843
CM
126842012-10-30 Chris Metcalf <cmetcalf@tilera.com>
12685
47cc1490
CM
12686 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12687 if defined.
12688
01767843
CM
12689 * nss/nsswitch.h (nss_interface_function): Provide new
12690 macro for use with NSS functions.
12691 * grp/initgroups.c: Use new macro.
12692 * nss/getXXbyYY.c: Likewise.
12693 * nss/getXXbyYY_r.c: Likewise.
12694 * nss/getXXent.c: Likewise.
12695 * nss/getXXent_r.c: Likewise.
12696 * sysdeps/posix/getaddrinfo.c: Likewise.
12697
8321aa97
AJ
126982012-10-30 Andreas Jaeger <aj@suse.de>
12699
12700 * po/ru.po: Update Russion translation from translation project.
12701
2a27fd6d
JM
127022012-10-30 Joseph Myers <joseph@codesourcery.com>
12703
8627a232
JM
12704 [BZ #14152]
12705 [BZ #14783]
12706 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12707 result and shift together with sticky bit instead of replicating
12708 round-to-nearest rounding.
12709 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12710 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12711 * math/libm-test.inc (fma_test): Add more tests. Do not permit
12712 missing underflow exceptions.
12713 (fma_test_towardzero): Add more tests.
12714 (fma_test_downward): Likewise.
12715 (fma_test_upward): Likewise.
12716
2a27fd6d
JM
12717 [BZ #14047]
12718 * sysdeps/generic/tininess.h: New file.
12719 * sysdeps/i386/tininess.h: Likewise.
12720 * sysdeps/sh/tininess.h: Likewise.
12721 * sysdeps/x86_64/tininess.h: Likewise.
12722 * stdlib/tst-strtod-underflow.c: Likewise.
12723 * stdlib/tst-tininess.c: Likewise.
12724 * stdlib/strtod_l.c: Include <tininess.h>.
12725 (round_and_return): Do not set errno for exact underflow cases.
12726 Force an underflow exception when setting errno for underflow.
12727 Determine underflow based on rounding to normal precision if
12728 TININESS_AFTER_ROUNDING.
12729 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12730 ERANGE for exact underflow cases.
12731 * stdlib/Makefile (tests): Add tst-tininess and
12732 tst-strtod-underflow.
12733 ($(objpfx)tst-tininess): Use $(link-libm).
12734 ($(objpfx)tst-strtod-underflow): Likewise.
12735
e7170363
AJ
127362012-10-30 Andreas Jaeger <aj@suse.de>
12737
e5088dc6
AJ
12738 [BZ#14767]
12739 * elf/Makefile (tests): Remove conditional for have-initfini-array
12740 since this is now always required and the variable does not exist
12741 anymore.
12742 (tests-static): Likewise.
12743 (modules-names): Likewise.
12744
e7170363 12745 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
12746
12747 * elf/tst-array1.c (fini_array): Make writeable so that it can be
12748 merged with constructor/destructor.
12749 (init_array): Likewise.
12750 * elf/tst-array2dep.c (fini_array): Likewise.
12751 (init_array): Likewise.
12752
60457d8a
MF
127532012-10-29 Mike Frysinger <vapier@gentoo.org>
12754
12755 * manual/message.texi: Delete @cartouche tags.
12756
8bece752
PT
127572012-10-29 Pino Toscano <toscano.pino@tiscali.it>
12758
94ce799f
PT
12759 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12760 EOPNOTSUPP.
12761 * sysdeps/mach/hurd/fsync.c: Likewise.
12762
8bece752
PT
12763 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12764 [_POSIX_REALTIME_SIGNALS]: Change condition to
12765 [_POSIX_REALTIME_SIGNALS > 0].
12766
86ebe6b1
AJ
127672012-10-27 Andreas Jaeger <aj@suse.de>
12768
12769 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12770 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12772 [__WORDSIZE != 64]: Likewise.
12773
54399c08
L
127742012-10-26 H.J. Lu <hongjiu.lu@intel.com>
12775
12776 * iconvdata/tst-table.sh: Remove ${SHELL}.
12777 * iconvdata/tst-tables.sh: Likewise.
12778
e2211bed
DM
127792012-10-25 David S. Miller <davem@davemloft.net>
12780
12781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12782 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12783 of strtoull.
12784
f303f97c
DM
12785 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12786 ifunc-impl-list.c
12787 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12788 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12789 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12790 file.
12791
1e9d84cd
RM
127922012-10-25 Roland McGrath <roland@hack.frob.com>
12793
12794 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12795 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12796 __getdirentries.
12797
df381762
JM
127982012-10-25 Joseph Myers <joseph@codesourcery.com>
12799 Jim Blandy <jimb@codesourcery.com>
12800
12801 * scripts/cross-test-ssh.sh: New file.
12802 * manual/install.texi (Configuring and compiling): Document use of
12803 cross-test-ssh.sh.
12804 * INSTALL: Regenerated.
12805
bff64913
PT
128062012-10-25 Pino Toscano <toscano.pino@tiscali.it>
12807
12808 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12809 EOPNOTSUPP.
12810
25fe8932
JM
128112012-10-25 Joseph Myers <joseph@codesourcery.com>
12812
12813 * Makeconfig (run-program-prefix): Fix comment.
12814
cc1290d0
JM
128152012-10-24 Joseph Myers <joseph@codesourcery.com>
12816 Jim Blandy <jimb@codesourcery.com>
12817
12818 * Makeconfig (test-wrapper): New variable,
12819 (test-wrapper-env): Likewise.
12820 [$(cross-compiling) = yes && $(test-wrapper) != ""]
12821 (run-built-tests): Define to yes.
12822 (run-program-prefix): Use $(test-wrapper).
12823 (built-program-cmd): Likewise.
12824 * Rules (make-test-out): Use $(test-wrapper-env) and
12825 $(host-built-program-cmd).
12826 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12827 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12828 tst-pathopt.sh.
12829 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12830 $(test-wrapper-env) to tst-rtld-load-self.sh.
12831 ($(objpfx)order2.out): Use $(test-wrapper).
12832 ($(objpfx)tst-initorder.out): Likewise.
12833 ($(objpfx)tst-initorder2.out): Likewise.
12834 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12835 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12836 (test_wrapper_env): New variable. Use it to run ld.so.
12837 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12838 Use it to run ld.so.
12839 (test_wrapper_env): Likewise.
12840 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12841 $(test-wrapper) to run-iconv-test.sh.
12842 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12843 (ICONV): Use $test_wrapper.
12844 * posix/Makefile ($(objpfx)globtest.out): Pass
12845 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12846 globtest.sh, not $(run-program-prefix).
12847 * posix/globtest.sh (run_via_rtld_prefix): New variable.
12848 (test_wrapper): Likewise.
12849 (test_wrapper_env): Likewise. Use it to run globtest with HOME
12850 set together with run_via_rtld_prefix.
12851 (run_program_prefix): Define in terms of test_wrapper and
12852 run_via_rtld_prefix.
12853
6e6249d0
RM
128542012-10-24 Roland McGrath <roland@hack.frob.com>
12855
12856 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12857 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12858 Targets removed.
12859
12860 [BZ #14743]
12861 * include/time.h: Remove librt_hidden_proto (clock_gettime).
12862 Declare __clock_getres, __clock_gettime, __clock_settime,
12863 __clock_nanosleep, and __clock_getcpuclockid.
12864 * rt/clock_gettime.c: Define __clock_gettime as an alias.
12865 Remove librt_hidden_def (clock_gettime).
12866 * sysdeps/unix/clock_gettime.c: Likewise.
12867 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12868 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12869 * rt/clock_getres.c: Define __clock_getres as an alias.
12870 * sysdeps/posix/clock_getres.c: Likewise.
12871 * rt/clock_settime.c: Define __clock_settime as an alias.
12872 * sysdeps/unix/clock_settime.c: Likewise.
12873 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12874 * sysdeps/unix/clock_nanosleep.c: Likewise.
12875 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12876 * rt/clock-compat.c: New file.
12877 * rt/Makefile (librt-routines): Add clock-compat and move
12878 $(clock-routines) to ...
12879 (routines): ... here, new variable.
12880 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12881 Don't add get_clockfreq here.
12882 * rt/Versions (libc: GLIBC_2.17): New version set.
12883 Add clock_* symbols here.
12884 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
12885 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12886 (GLIBC_2.17): Add clock_* symbols.
12887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12889 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12891 Likewise.
12892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12893 Likewise.
12894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12898 * NEWS: Mention the move.
12899
12900 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12901 Use __open, __read, __close rather than their public counterparts.
12902 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12903 (__get_clockfreq_via_cpuinfo): Likewise.
12904 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12905 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12906
12907 * config.h.in (HAVE_IFUNC): New #undef.
12908 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12909 was successful.
12910 * configure: Regenerated.
12911
0cae3f4b
MF
129122012-10-24 Mike Frysinger <vapier@gentoo.org>
12913
12914 * configure.in: Move READELF check to start of file.
12915 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12916 libc_cv_asm_gnu_indirect_function in the process.
12917 * configure: Regenerated.
12918
8175a253
MF
129192012-10-24 Mike Frysinger <vapier@gentoo.org>
12920
12921 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12922 send the output to /dev/null.
12923 (libc_cv_cc_with_libunwind): Likewise.
12924 (libc_cv_as_noexecstack): Likewise.
12925 * configure: Regenerate.
12926
0708a7d1
JM
129272012-10-24 Joseph Myers <joseph@codesourcery.com>
12928
10b40d85
JM
12929 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12930
0708a7d1
JM
12931 * posix/globtest.sh (TMPDIR): Do not set.
12932 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12933 (testout): Likewise.
12934
9fddec1a
AJ
129352012-10-24 Andreas Jaeger <aj@suse.de>
12936
3a8db22f
AJ
12937 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12938 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12939 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12940 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12941 posix_fadvise64, posix_fallocate64.
12942
9fddec1a
AJ
12943 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12944 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12945 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12946 Likewise.
12947 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12948 Likewise.
12949 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12950
12951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12952 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12953 <bits/fcntl-linux.h>.
12954 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12955
12956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12957 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12958 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12959 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12960 [__WORDSIZE != 64]: Likewise.
12961
ebfd1bbd
JM
129622012-10-23 Joseph Myers <joseph@codesourcery.com>
12963
03ac099f
JM
12964 * Makeconfig (run-built-tests): New variable.
12965 * Rules [$(cross-compiling) = yes]: Change condition to
12966 [$(run-built-tests) = no].
12967 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12968 to [$(run-built-tests) = yes].
12969 * elf/Makefile [$(cross-compiling) = no]: Likewise
12970 * grp/Makefile [$(cross-compiling) = no]: Likewise.
12971 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12972 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12973 * intl/Makefile [$(cross-compiling) = no]: Likewise.
12974 * io/Makefile [$(cross-compiling) = no]: Likewise.
12975 * libio/Makefile [$(cross-compiling) = no]: Likewise.
12976 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12977 * misc/Makefile [$(cross-compiling) = no]: Likewise.
12978 * posix/Makefile [$(cross-compiling) = no]: Likewise.
12979 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12980 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12981 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12982 * string/Makefile [$(cross-compiling) = no]: Likewise.
12983
ebfd1bbd
JM
12984 * posix/Makefile ($(objpfx)globtest.out): Pass
12985 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12986 $(rtld-installed-name).
12987 * posix/globtest.sh (elf_objpfx): Remove variable.
12988 (rtld_installed_name): Likewise.
12989 (library_path): Likewise.
12990 (run_program_prefix): New variable. Use for running globtest
12991 binary.
12992
166bca24
JB
129932012-10-23 Jim Blandy <jimb@codesourcery.com>
12994 Joseph Myers <joseph@codesourcery.com>
12995
12996 * Makeconfig (host-built-program-cmd): New variable.
12997 * elf/Makefile (tst-stackguard1-ARGS): Use
12998 $(host-built-program-cmd).
12999 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13000 (tst-spawn-ARGS): Likewise.
13001 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13002
88866099
JM
130032012-10-23 Joseph Myers <joseph@codesourcery.com>
13004 Jim Blandy <jimb@codesourcery.com>
13005
13006 * Makeconfig (run-via-rtld-prefix): New variable.
13007 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13008 (built-program-cmd): Likewise.
13009
b4b4c296
AJ
130102012-10-22 Andreas Jaeger <aj@suse.de>
13011
13012 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13013 __O_RSYNC if it exists, otherwise to O_SYNC.
13014
6fb54a22
JB
130152012-10-22 Jim Blandy <jimb@codesourcery.com>
13016 Joseph Myers <joseph@codesourcery.com>
13017
13018 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13019 /dev/null.
13020 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13021 from /dev/null
13022 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13023 /dev/null.
13024
481b90b9
AJ
130252012-10-22 Andreas Jaeger <aj@suse.de>
13026
2a0e2669
AJ
13027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13028 Define always.
13029 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13030
76e38f9a
AJ
13031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13032 bits/fcntl-linux.h.
13033
7cd37b43
AJ
13034 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13035 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13036
481b90b9
AJ
13037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13038 to __O_LARGEFILE.
13039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13040 to __O_LARGEFILE.
13041
aba75984
JB
130422012-10-21 Jim Blandy <jimb@codesourcery.com>
13043 Joseph Myers <joseph@codesourcery.com>
13044
13045 * config.make.in (NM): New variable.
13046
88d4247f
AJ
130472012-10-21 Andreas Jaeger <aj@suse.de>
13048
13049 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13050 definitions and declarations that are provided by
13051 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13052
f2eed205
L
130532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13054
13055 [BZ #14683]
13056 * elf/Makefile (tests-static): Add tst-leaks1-static.
13057 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13058 ($(objpfx)tst-leaks1-static): New rule.
13059 ($(objpfx)tst-leaks1-static-mem): Likewise.
13060 (tst-leaks1-static-ENV): New macro.
13061 * elf/dl-open.c (dl_open_worker): Check the main application
13062 only if SHARED is defined.
13063 * elf/tst-leaks1-static.c: New file.
13064
335e6931
AJ
130652012-10-20 Andreas Jaeger <aj@suse.de>
13066
13067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13068 generic values for Linux.
13069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13070 and declarations that are provided by <bits/fcntl-linux.h> and
13071 include <bits/fcntl-linux.h>.
13072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13073 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13074
ac5c94d3
RM
130752012-10-20 Roland McGrath <roland@hack.frob.com>
13076
13077 * io/fcntl.h: Move include of <bits/types.h> to the top and
13078 include it unconditionally.
13079
de54b33a
L
130802012-10-20 H.J. Lu <hongjiu.lu@intel.com>
13081
228cfb01
L
13082 * wcsmbs/Makefile (tests-ifunc): New variable.
13083 (tests): Add $(tests-ifunc).
13084 * wcsmbs/test-wcschr-ifunc.c: New file.
13085 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13086 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13087 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13088 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13089 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13090
69f07e5f
L
13091 * string/Makefile (tests-ifunc): New variable.
13092 (tests): Add $(tests-ifunc).
13093 * string/test-memccpy.c (TEST_NAME): New macro.
13094 * string/test-memchr.c (TEST_NAME): Likewise.
13095 * string/test-memcmp.c (TEST_NAME): Likewise.
13096 * string/test-memcpy.c (TEST_NAME): Likewise.
13097 * string/test-memmem.c (TEST_NAME): Likewise.
13098 * string/test-memmove.c (TEST_NAME): Likewise.
13099 * string/test-memset.c (TEST_NAME): Likewise.
13100 * string/test-rawmemchr.c (TEST_NAME): Likewise.
13101 * string/test-stpcpy.c (TEST_NAME): Likewise.
13102 * string/test-stpncpy.c (TEST_NAME): Likewise.
13103 * string/test-strcasecmp.c (TEST_NAME): Likewise.
13104 * string/test-strcasestr.c (TEST_NAME): Likewise.
13105 * string/test-strcat.c (TEST_NAME): Likewise.
13106 * string/test-strchr.c (TEST_NAME): Likewise.
13107 * string/test-strcmp.c(TEST_NAME): Likewise.
13108 * string/test-strcpy.c (TEST_NAME): Likewise.
13109 * string/test-strcspn.c (TEST_NAME): Likewise.
13110 * string/test-strlen.c (TEST_NAME): Likewise.
13111 * string/test-strncasecmp.c (TEST_NAME): Likewise.
13112 * string/test-strncmp.c (TEST_NAME): Likewise.
13113 * string/test-strncpy.c (TEST_NAME): Likewise.
13114 * string/test-strnlen.c (TEST_NAME): Likewise.
13115 * string/test-strpbrk.c (TEST_NAME): Likewise.
13116 * string/test-strrchr.c (TEST_NAME): Likewise.
13117 * string/test-strspn.c (TEST_NAME): Likewise.
13118 * string/test-strstr.c (TEST_NAME): Likewise.
13119 * string/test-bcopy-ifunc.c: New file.
13120 * string/test-bzero-ifunc.c: Likewise.
13121 * string/test-memccpy-ifunc.c: Likewise.
13122 * string/test-memchr-ifunc.c: Likewise.
13123 * string/test-memcmp-ifunc.c: Likewise.
13124 * string/test-memcpy-ifunc.c: Likewise.
13125 * string/test-memmem-ifunc.c: Likewise.
13126 * string/test-memmove-ifunc.c: Likewise.
13127 * string/test-mempcpy-ifunc.c: Likewise.
13128 * string/test-memset-ifunc.c: Likewise.
13129 * string/test-rawmemchr-ifunc.c: Likewise.
13130 * string/test-stpcpy-ifunc.c: Likewise.
13131 * string/test-stpncpy-ifunc.c: Likewise.
13132 * string/test-strcasecmp-ifunc.c: Likewise.
13133 * string/test-strcasestr-ifunc.c: Likewise.
13134 * string/test-strcat-ifunc.c: Likewise.
13135 * string/test-strchr-ifunc.c: Likewise.
13136 * string/test-strchrnul-ifunc.c: Likewise.
13137 * string/test-strcmp-ifunc.c: Likewise.
13138 * string/test-strcpy-ifunc.c: Likewise.
13139 * string/test-strcspn-ifunc.c: Likewise.
13140 * string/test-strlen-ifunc.c: Likewise.
13141 * string/test-strncasecmp-ifunc.c: Likewise.
13142 * string/test-strncat-ifunc.c: Likewise.
13143 * string/test-strncmp-ifunc.c: Likewise.
13144 * string/test-strncpy-ifunc.c: Likewise.
13145 * string/test-strnlen-ifunc.c: Likewise.
13146 * string/test-strpbrk-ifunc.c: Likewise.
13147 * string/test-strrchr-ifunc.c: Likewise.
13148 * string/test-strspn-ifunc.c: Likewise.
13149 * string/test-strstr-ifunc.c: Likewise.
13150
de54b33a
L
13151 * debug/Makefile (tests-ifunc): New variable.
13152 (tests): Add $(tests-ifunc).
13153 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13154 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13155 * debug/test-stpcpy_chk-ifunc.c: New file.
13156 * debug/test-strcpy_chk-ifunc.c: Likewise.
13157
88481c16
SP
131582012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13159
13160 [BZ #13601]
13161 * elf/dl-load.c (open_verify): Retry read if the entire ELF
13162 header is not read in.
13163
135948bd
JM
131642012-10-19 Joseph Myers <joseph@codesourcery.com>
13165
89f1c388
JM
13166 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
13167 script to $(SHELL) as $<. Pass $(common-objpfx) to script
13168 directly. Pass built executable to script as
13169 $(built-program-cmd).
13170 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
13171 $testprogram without using LD_LIBRARY_PATH and $ldso.
13172
e40a0d21
JM
13173 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13174 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13175 $(rtld-installed-name).
13176 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13177 (rtld_installed_name): Likewise.
13178 (library_path): Likewise.
13179 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
13180 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13181 $(run-program-prefix) to tst-tables.sh.
13182 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
13183 it to run tst-table-from and tst-table-to.
13184 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13185 Pass it to tst-table.sh.
13186 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13187 $(run-program-prefix) to tst-gettext.sh.
13188 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13189 tst-translit.sh.
13190 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13191 tst-gettext2.sh.
13192 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
13193 to run tst-gettext.
13194 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
13195 to run tst-gettext2.
13196 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
13197 to run tst-translit.
13198 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13199 $(run-program-prefix) to tst-mtrace.sh.
13200 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
13201 to run tst-mtrace.
13202 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13203 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13204 $(rtld-installed-name).
13205 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13206 (rtld_installed_name): Likewise.
13207 (run_program_prefix): New variable. Use it to run wordexp-test.
13208
728e272a
JM
13209 * Makeconfig (ARCH): Remove all definitions.
13210 (machine): Likewise.
13211 [ARCH]: Remove conditional code.
13212 [!objdir]: Give error.
13213 [!objdir] (objpfx): Remove.
13214 [!objdir] (common-objpfx): Likewise.
13215 [!objdir] (common-objdir): Likewise.
13216 * configure.in (config_makefile): Remove. Hardcode Makefile in
13217 AC_CONFIG_FILES call.
13218 * configure: Regenerated.
13219
d528cdcf
JM
13220 [BZ #13888]
13221 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13222 or TMPDIR.
13223 (testout): Likewise.
13224
135948bd
JM
13225 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13226 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13227 $(rtld-installed-name).
13228 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13229 (rtld_installed_name): Likwise.
13230 (runit): Remove function.
13231 (run_getconf): New variable, Use it for running getconf binary.
13232
38c78296
L
132332012-10-18 H.J. Lu <hongjiu.lu@intel.com>
13234
13235 [BZ #14716]
13236 * string/test-memmem.c (check_result): New function.
13237 (do_one_test): Use it.
13238 (check1): New function.
13239 (test_main): Use it.
13240
d077f65f
MT
132412012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
13242
13243 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13244
ced52c71
JM
132452012-10-18 Joseph Myers <joseph@codesourcery.com>
13246
13247 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13248 (_G_LSEEK64): Likewise.
13249 (_G_MMAP64): Likewise.
13250 (_G_FSTAT64): Likewise.
13251 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13252 (_G_LSEEK64): Likewise.
13253 (_G_MMAP64): Likewise.
13254 (_G_FSTAT64): Likewise.
13255 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13256 unconditional. Call __mmap64 directly.
13257 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13258 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
13259 __lseek64 directly.
13260 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13261 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
13262 __mmap64 directly.
13263 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13264 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
13265 __lseek64 directly.
13266 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13267 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
13268 __lseek64 directly.
13269 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13270 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
13271 __lseek64 directly.
13272 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13273 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
13274 __fxstat64 directly.
13275 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13276 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13277 unconditional.
13278 (freopen64) [!_G_OPEN64]: Remove conditional code.
13279 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13280 unconditional.
13281 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13282 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13283 unconditional.
13284 (ftello64) [!_G_LSEEK64]: Remove conditional code.
13285 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13286 unconditional.
13287 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13288 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13289 unconditional.
13290 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13291 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13292 unconditional.
13293 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13294 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13295 unconditional.
13296 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13297 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13298 unconditional.
13299 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13300
b741de23
SP
133012012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13302
13303 [BZ #12140]
13304 * manual/memory.texi (Malloc Tunable Parameters): Add note
13305 about free list pointers overwriting some perturb bytes.
13306 Wording suggested by Roland McGrath.
13307
f9b9d9c9
JM
133082012-10-17 Joseph Myers <joseph@codesourcery.com>
13309
13310 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13311 (lgamma_test): Likewise.
13312 (tgamma_test): Likewise.
13313
172a631a
FW
133142012-10-16 Florian Weimer <fweimer@redhat.com>
13315
13316 [BZ #14700]
13317 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13318 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13319
e9f37252
MK
133202012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
13321
13322 * NEWS: Mention BZ #14716.
13323 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13324 when removing AVAILABLE1_USES_J macro.
13325
d394eb74
L
133262012-10-12 H.J. Lu <hongjiu.lu@intel.com>
13327
13328 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13329 (__bswap_64): __uint64_t for unsigned 64-bit int.
13330
ca38dc17
AS
133312012-10-12 Andreas Schwab <schwab@linux-m68k.org>
13332
13333 * include/string.h (memmem): Declare libc hidden alias.
13334 * string/memmem.c (memmem): Define libc hidden alias.
13335 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13336 __read, __close instead of open, read, close.
13337
9a387d1f
L
133382012-10-11 H.J. Lu <hongjiu.lu@intel.com>
13339
ac49ecaf
L
13340 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13341 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13342 global and hidden.
13343 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13344 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13345 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13346 Likewise.
13347 (__rawmemchr_sse2): Likewise.
13348 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13349 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13350 (__strchr_sse2): Likewise.
13351 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13352 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13353 (__strcasecmp_sse2): Likewise.
13354 (__strncasecmp_sse2): Likewise.
13355 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13356 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13357 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13358 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13359 (__strrchr_sse2): Likewise.
13360 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13361 ifunc-impl-list.c.
13362 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13363 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13364 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13365 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13366 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13367 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13368 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13369 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13370 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13371 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13372 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13373 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13374 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13375 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13376 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13377 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13378 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13379 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13380 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13381 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13382 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13383 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13384 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13385 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13386 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13387 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13388 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13389 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13390 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13391 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13392
b090e8ea
L
13393 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13394 global and hidden.
13395 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13396 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13397 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13398 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13399 Likewise.
13400 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13401 Likewise.
13402 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13403 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13404 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13405 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13406 ifunc-impl-list.c.
13407 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13408 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13409 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13410 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13411 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13412 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13413 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13414 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13415 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13416 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13417 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13418 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13419 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13420 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13421 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13422 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13423 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13424 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13425 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13426 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13427 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13428 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13429 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13430 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13431 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13432 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13433 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13434 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13435 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13436 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13437 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13438 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13439 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13440 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13441 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13442 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13443 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13444 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13445 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13446 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13447 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13448
11dd4af6
L
13449 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13450 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13451 * include/ifunc-impl-list.h: New file.
13452 * misc/ifunc-impl-list.c: Likewise.
13453 * misc/Makefile (routines): Add ifunc-impl-list.
13454 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13455 * string/test-string.h: Include <ifunc-impl-list.h>.
13456 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13457 impl_array): New variables.
13458 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13459 are defined.
13460 (test_init): Call __libc_ifunc_impl_list to initialize
13461 func_list if TEST_IFUNC and TEST_NAME are defined.
13462
9a387d1f
L
13463 * string/Makefile (strop-tests): Add bcopy and bzero.
13464 * string/test-bcopy.c: New file.
13465 * string/test-bzero.c: Likewise.
13466 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13467 defined.
13468 * string/test-memset.c: Support bzero test if TEST_BZERO is
13469 defined.
13470 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13471 __libc_memmove.
13472 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13473 __libc_memset.
13474 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13475 of memset.
13476
472371b9
JM
134772012-10-10 Joseph Myers <joseph@codesourcery.com>
13478
1e4a9536
JM
13479 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13480 * configure: Regenerated.
13481
d173d12e
JM
13482 * Makeconfig (+link-static-before-libc): Don't include
13483 $(link-static-libc).
13484
472371b9
JM
13485 * libio/libio.h (_IO_pos_t): Remove.
13486
89a3ad0b
AO
134872012-10-10 Alexandre Oliva <aoliva@redhat.com>
13488
13489 * NEWS: Add note about FIPS mode. Wording suggested by Roland
13490 McGrath.
13491
e7451425
AO
134922012-10-10 Alexandre Oliva <aoliva@redhat.com>
13493
13494 * crypt/crypt-entry.c: Include fips-private.h.
13495 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13496 * crypt/md5c-test.c (main): Tolerate disabled MD5.
13497 * sysdeps/unix/sysv/linux/fips-private.h: New file.
13498 * sysdeps/generic/fips-private.h: New file, dummy fallback.
13499
4ba74a35
AO
135002012-10-10 Alexandre Oliva <aoliva@redhat.com>
13501
13502 * crypt/crypt-private.h: Include stdbool.h.
13503 (_ufc_setup_salt_r): Return bool.
13504 * crypt/crypt-entry.c: Include errno.h.
13505 (__crypt_r): Return NULL with EINVAL for bad salt.
13506 * crypt/crypt_util.c (bad_for_salt): New.
13507 (_ufc_setup_salt_r): Check that salt is long enough and within
13508 the specified alphabet.
13509 * crypt/badsalttest.c: New file.
13510 * crypt/Makefile (tests): Add it.
13511 ($(objpfx)badsalttest): New.
13512
f96f1242
MK
135132012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
13514
13515 * NEWS: Add entry for BZ #14602.
13516
0e8e0c1c
JM
135172012-10-09 Joseph Myers <joseph@codesourcery.com>
13518
13519 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13520 type-generic.
13521 * math/libm-test.inc: Update comment listing what functions and
13522 macros are tested.
13523 (isgreater_test): New function.
13524 (isgreaterequal_test): Likewise.
13525 (isless_test): Likewise.
13526 (islessequal_test): Likewise.
13527 (islessgreater_test): Likewise.
13528 (isunordered_test): Likewise.
13529 (main): Call the new functions.
13530
273edc5e
RM
135312012-10-09 Roland McGrath <roland@hack.frob.com>
13532
b8493de0
RM
13533 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13534 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13535 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13536 * sysdeps/i386/configure: Regenerated.
13537 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13538 * sysdeps/mach/configure: Regenerated.
13539 * sysdeps/mach/hurd/configure: Regenerated.
13540 * sysdeps/powerpc/configure: Regenerated.
13541 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13542 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13543 * sysdeps/s390/s390-32/configure: Regenerated.
13544 * sysdeps/s390/s390-64/configure: Regenerated.
13545 * sysdeps/sh/configure: Regenerated.
13546 * sysdeps/sparc/configure: Regenerated.
13547 * sysdeps/unix/sysv/linux/configure: Regenerated.
13548 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13549 * sysdeps/x86_64/configure: Regenerated.
13550
273edc5e
RM
13551 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13552 defined. Don't check if MAP is NULL.
13553
c8450f70
JM
135542012-10-09 Joseph Myers <joseph@codesourcery.com>
13555
13556 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13557 (_G_stat64): Likewise.
13558 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13559 (_G_stat64): Likewise.
13560 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13561 instead of struct _G_stat64.
13562 * libio/fileops.c (mmap_remap_check): Likewise.
13563 (decide_maybe_mmap): Likewise.
13564 (_IO_new_file_seekoff): Likewise.
13565 (_IO_file_stat): Likewise.
13566 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13567 _G_off64_t.
13568 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13569 instead of struct _G_stat64.
13570 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13571
57e605ba
MK
135722012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
13573
13574 [BZ #14602]
13575 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13576 Replace with ...
13577 (CHECK_EOL): New macro.
13578 (two_way_short_needle): Check beginning of haystack for EOL. Use
13579 CHECK_EOL.
13580 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13581 Replace with CHECK_EOL.
13582 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13583 Replace with CHECK_EOL.
13584
ef1bb361
JM
135852012-10-08 Joseph Myers <joseph@codesourcery.com>
13586
13587 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13588 type-generic.
13589 * math/libm-test.inc: Update comment listing what functions and
13590 macros are tested.
13591 (finite_test): New function.
13592 (isinf_test): Likewise.
13593 (isnan_test): Likewise.
13594 (fpclassify_test): Test subnormal input.
13595 (isfinite_test): Likewise.
13596 (isnormal_test): Likewise.
13597 (main): Call the new functions.
13598
55f11534
JN
135992012-10-08 Jonathan Nieder <jrnieder@gmail.com>
13600
13601 [BZ #14660]
13602 * Makerules (%.dynsym): Force C locale when running
13603 $(OBJDUMP) --dynamic-syms.
13604
1ab29350
AS
136052012-10-08 Andreas Schwab <schwab@linux-m68k.org>
13606
13607 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13608 <stdint.h>.
13609
f1ecb7ef
DM
136102012-10-06 David S. Miller <davem@davemloft.net>
13611
13612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13613 upper 32-bits of the length value in %o2 since we use branch-on-register
13614 tests which consider the entire 64-bit register.
13615
5d41d91a
L
136162012-10-06 H.J. Lu <hongjiu.lu@intel.com>
13617
13618 * string/test-strstr.c (check2): Add a test for page boundary.
13619
3baddb72
DM
136202012-10-05 David S. Miller <davem@davemloft.net>
13621
13622 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13623 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13624 file.
13625 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13626 sysdep_routines.
13627 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13628 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13629 and bzero when HWCAP_SPARC_CRYPTO is present.
13630
9cee5585
L
136312012-10-05 H.J. Lu <hongjiu.lu@intel.com>
13632
d7e0dab9
L
13633 [BZ #14602]
13634 * string/test-strstr.c (check2): New function.
13635 (test_main): Call check2.
13636
03759f47
L
13637 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13638 and bug-strchr1.
13639 * string/bug-strcasestr1.c (do_test): Moved to ...
13640 * string/test-strcasestr.c (check1): Here. New function.
13641 (do_one_test): Break out result checking code into ...
13642 (check_result): This. New function.
13643 (do_one_test): Call check_result.
13644 (test_main): Call check1.
13645 * string/bug-strchr1.c (do_test): Moved to ...
13646 * string/test-strchr.c (check1): Here. New function.
13647 (do_one_test): Break out result checking code into ...
13648 (check_result): This. New function.
13649 (do_one_test): Call check_result.
13650 (test_main): Call check1.
13651 * string/bug-strstr1.c (main): Moved to ...
046f153e 13652 * string/test-strstr.c (check1): Here. New function.
03759f47
L
13653 (do_one_test): Break out result checking code into ...
13654 (check_result): This. New function.
13655 (do_one_test): Call check_result.
13656 (test_main): Call check1.
13657 * string/bug-strcasestr1.c: Removed.
13658 * string/bug-strchr1.c: Likewise.
13659 * string/bug-strstr1.c: Likewise.
13660
53cea63e
L
13661 * elf/Makefile (dl-routines): Add hwcaps.
13662 * elf/dl-support.c (_dl_important_hwcaps): Removed.
13663 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13664 (_dl_important_hwcaps): Moved to ...
13665 * elf/dl-hwcaps.c: Here. New file.
13666 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13667
9cee5585 13668 [BZ #14557]
bb859b06
L
13669 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13670 if IS_IN_rtld isn't defined.
13671
9cee5585
L
13672 * elf/dl-support.c (_dl_sysinfo_map): New.
13673 Include "get-dynamic-info.h" and "setup-vdso.h".
13674 (_dl_non_dynamic_init): Call setup_vdso.
13675 * elf/dynamic-link.h: Don't include <assert.h>.
13676 (elf_get_dynamic_info): Moved to ...
13677 * elf/get-dynamic-info.h: Here. New file.
13678 * elf/dynamic-link.h: Include "get-dynamic-info.h".
13679 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13680 * elf/setup-vdso.h: Here. New file.
13681 * elf/rtld.c: Include "setup-vdso.h".
13682 (dl_main): Call setup_vdso.
13683
23c31b76
JM
136842012-10-05 Joseph Myers <joseph@codesourcery.com>
13685
28234b07
JM
13686 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13687 creal in comment listing functions tested. List finite, isinf,
13688 isnan, isless, islessequal, isgreater, isgreaterequal,
13689 islessgreater, isunordered, lgamma_r and pow10 as functions and
13690 macros not tested. Mention which functions not tested are aliases
13691 for other functions. Fix typo. Note that signs of NaNs are not
13692 tested.
13693
23c31b76
JM
13694 * scripts/config.guess: Update from config.git.
13695 * scripts/config.sub: Likewise.
13696
9043e228
RM
136972012-10-04 Roland McGrath <roland@hack.frob.com>
13698
13699 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13700 * misc/madvise.c (madvise): Renamed to __madvise.
13701 Make madvise a weak alias.
13702 * include/sys/mman.h: Declare __madvise.
13703 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13704 * sysdeps/unix/syscalls.list
13705 (madvise): Make __madvise the strong name, and madvise a weak alias.
13706 * sysdeps/unix/sysv/linux/syscalls.list
13707 (madvise, mmap): Remove redundant entries.
13708 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13709 * malloc/malloc.c (mtrim): Likewise.
13710 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13711
f57f8055
RM
137122012-10-03 Roland McGrath <roland@hack.frob.com>
13713
13714 * sysdeps/mach/hurd/dl-cache.c: File removed.
13715 * config.h.in (USE_LDCONFIG): New #undef.
13716 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13717 * configure: Regenerated.
13718 * elf/Makefile (dl-routines): Add dl-cache only under
13719 [$(use-ldconfig) = yes].
13720 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13721 cache on [USE_LDCONFIG].
13722 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13723 [USE_LDCONFIG].
13724 * elf/rtld.c (dl_main): Likewise.
13725
5bb0c10a
PT
137262012-10-03 Pino Toscano <toscano.pino@tiscali.it>
13727
13728 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13729 _SC_LEVEL4_CACHE_LINESIZE.
13730
010188c6
RM
137312012-10-03 Roland McGrath <roland@hack.frob.com>
13732
13733 * sysdeps/unix/bsd/confstr.h: File removed.
13734
b6c5ec07
AO
137352012-10-02 Alexandre Oliva <aoliva@redhat.com>
13736
13737 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13738 sys/sdt-config.h.
13739
408223d4
RM
137402012-10-02 Roland McGrath <roland@hack.frob.com>
13741
13742 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13743 Make 'mapoff' field ElfW(Off) rather than off_t.
13744
bb9510dc
DL
137452012-10-02 Dmitry V. Levin <ldv@altlinux.org>
13746
fc997c6e
DL
13747 * nscd/Makefile: Remove nscd-cflags and all its users.
13748 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13749 (CFLAGS-nonlib): Add compiler flags for nscd modules.
13750
bb9510dc
DL
13751 [BZ #10631]
13752 * malloc.c (malloc_printerr): Clarify error message.
13753
05699367
L
137542012-10-02 H.J. Lu <hongjiu.lu@intel.com>
13755
13756 [BZ #14648]
13757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13758 Set bit_FMA_Usable if FMA is supported.
13759 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13760 macro.
13761 (bit_FMA4_Usable): Updated.
13762 (index_FMA_Usable): New macro.
13763 (CPUID_FMA): Likewise
13764 (HAS_FMA): Defined with bit_FMA_Usable.
13765
51367701
RM
137662012-10-01 Roland McGrath <roland@hack.frob.com>
13767
13768 * bits/types.h (__swblk_t): Type removed.
13769 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13770 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13771 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13772 (__SWBLK_T_TYPE): Likewise.
13773 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13774 (__SWBLK_T_TYPE): Likewise.
13775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13776 (__SWBLK_T_TYPE): Likewise.
13777 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13778 (__SWBLK_T_TYPE): Likewise.
13779
4d57bf63 137802012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 13781 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
13782
13783 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13784 (xdr_mapname): Use YPMAXMAP as maxsize.
13785 (xdr_peername): Use YPMAXPEER as maxsize.
13786 (xdr_keydat): Use YPAXRECORD as maxsize.
13787 (xdr_valdat): Use YPMAXRECORD as maxsize.
13788
93c65d43
RM
137892012-10-01 Roland McGrath <roland@hack.frob.com>
13790
497a03d6
RM
13791 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13792
93c65d43
RM
13793 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13794 * csu/init-first.c: ... here.
13795 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13796 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13797 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13798 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13799 * sysdeps/i386/init-first.c: File removed.
13800 * sysdeps/sh/init-first.c: File removed.
13801
bec749fd
JM
138022012-10-01 Joseph Myers <joseph@codesourcery.com>
13803
13804 [BZ #14645]
13805 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13806 if x * y might underflow to zero and z is zero.
13807 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13808 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13809 * math/libm-test.inc (min_subnorm_value): New variable.
13810 (fma_test): Add more tests.
13811 (fma_test_towardzero): Likewise.
13812 (fma_test_downward): Likewise
13813 (fma_test_upward): Likewise.
13814 (initialize): Set min_subnorm_value.
13815
8ec5b013
JM
138162012-09-29 Joseph Myers <joseph@codesourcery.com>
13817
13818 [BZ #14638]
13819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13820 0 + 0.
13821 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13822 mode for addition resulting in exact zero.
13823 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13824 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13825 exact 0 + 0.
13826 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13828 * math/libm-test.inc (fma_test): Add more tests.
13829 (fma_test_towardzero): New function.
13830 (fma_test_downward): Likewise.
13831 (fma_test_upward): Likewise.
13832 (main): Call the new functions.
13833
b1fa802e
DM
138342012-09-28 David S. Miller <davem@davemloft.net>
13835
13836 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13837
d3b9fd9e
RM
138382012-09-28 Roland McGrath <roland@hack.frob.com>
13839
ea4d37b3
RM
13840 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13841 instead of SIGALRM.
13842
ac51c949
RM
13843 * sysdeps/gnu/_G_config.h: Moved to ...
13844 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13845 * sysdeps/mach/hurd/_G_config.h: Moved to ...
13846 * sysdeps/generic/_G_config.h: ... here.
13847
28c195f7
RM
13848 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
13849
848917f9
RM
13850 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13851
6bacf05b
RM
13852 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13853 Conditionalize target on [libnss_test1.so-version].
13854
91363dbb
RM
13855 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13856
cc87f7d8
RM
13857 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13858 (elfobjdir): Move out of conditionals.
13859
b1c608fe
RM
13860 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13861 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13862 (__nss_lookup_function): Conditionalize label remove_from_tree on
13863 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 13864
1d9a6d96
DM
138652012-09-28 David S. Miller <davem@davemloft.net>
13866
13867 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13868 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13869 file.
13870 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13871 sysdep_routines.
13872 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13873 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13874 when HWCAP_SPARC_CRYPTO is present.
13875
72581615
PT
138762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13877
13878 * io/tst-mknodat.c: Create a FIFO instead of a socket.
13879
715a900c
JL
138802012-09-28 Andreas Schwab <schwab@linux-m68k.org>
13881
13882 [BZ #6530]
13883 * stdio-common/vfprintf.c (process_string_arg): Revert
13884 2000-07-22 change.
13885
138862011-09-28 Jonathan Nieder <jrnieder@gmail.com>
13887
13888 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13889 for testcase.
13890 * stdio-common/tst-sprintf.c: Include <locale.h>
13891 (main): Test sprintf's handling of incomplete multibyte
13892 characters.
13893
9bac1d86
L
138942012-09-28 H.J. Lu <hongjiu.lu@intel.com>
13895
13896 * elf/dl-runtime.c (VERSYMIDX): Removed.
13897 * elf/dl-version.c (VERSYMIDX): Likewise.
13898 * elf/do-rel.h (VERSYMIDX): Likewise.
13899 (VALIDX): Likewise.
13900 * elf/dynamic-link.h (VERSYMIDX): Likewise.
13901 * elf/rtld.c (VALIDX): Likewise.
13902 (ADDRIDX): Likewise.
9bac1d86
L
13903 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13904 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13905 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
13906 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13907 (VALIDX): Likewise.
13908 (ADDRIDX): Likewise.
9bac1d86 13909
b31606c0
PT
139102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13911
13912 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13913
11541177
JL
139142012-09-28 Dmitry V. Levin <ldv@altlinux.org>
13915
13916 [BZ #11438]
13917 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13918 to global scope.
13919 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13920 addresses are in the same scope as 192.0.2/24.
13921 * posix/gai.conf: Document new scope table defaults.
13922
adb26fae
SP
139232012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13924
13925 [BZ #5298]
13926 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13927 for ftell. Compute offsets from write pointers instead.
13928 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13929
4573c6b0
SP
139302012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13931
13932 [BZ #14543]
13933 * libio/Makefile (tests): New test case tst-fseek.
13934 * libio/tst-fseek.c: New test case to verify that fseek/ftell
13935 combination works in wide mode.
13936 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13937 state when the external buffer state changes.
13938
aa9bbfe6
DM
139392012-09-27 David S. Miller <davem@davemloft.net>
13940
13941 [BZ #14376]
13942 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13943 pass reloc->r_addend in as the 'high' argument to
13944 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13945
784421e7
DM
13946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13947
c39bc8b8
PT
139482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
13949
13950 * rt/tst-aio2.c: Include <pthread.h>.
13951 * rt/tst-aio3.c: Likewise.
13952
1ccc2399
SE
139532012-09-27 Steve Ellcey <sellcey@mips.com>
13954
13955 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13956
31ed4153
L
139572012-09-27 H.J. Lu <hongjiu.lu@intel.com>
13958
25f5f885
L
13959 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13960 contents on [SHARED].
31ed4153 13961
b7bfe116
MP
139622012-09-26 Marek Polacek <polacek@redhat.com>
13963
13964 [BZ #14530]
13965 [BZ #13741]
13966 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13967 for C++ and GCC <4.3 as well as for non GCC compilers.
13968
43c4edba
MT
139692012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
13970
13971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13972
6a1bf82f
RM
139732012-09-25 Roland McGrath <roland@hack.frob.com>
13974
13975 * Makefile.in (all, install): Declare with .PHONY.
13976 Reported by Michael Hope <michael.hope@linaro.org>.
13977
8ad11b9a
TMQMF
139782012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13979
13980 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13981 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13982 system header.
13983 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13984 Likewise.
13985 (sydep_routines): Add the new and the internal functions.
13986 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13987 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13989 (GLIBC_2.17): Add the new function.
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13991 (GLIBC_2.17): Likewise.
13992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13993 (GLIBC_2.17): Likewise.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13995 (GLIBC_2.17): Likewise.
13996 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13997
7e2fca8d
AM
139982012-09-25 Alan Modra <amodra@gmail.com>
13999
14000 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14001 Add release barrier before setting once_control to say
14002 initialisation is done. Add hints on lwarx. Use macro in
14003 place of isync.
14004 (clear_once_control): Add release barrier.
14005
b87c4b24
JM
140062012-09-25 Joseph Myers <joseph@codesourcery.com>
14007
d032e0d2
JM
14008 [BZ #13629]
14009 * math/s_clog.c (__clog): Handle more values close to |z| = 1
14010 specially.
14011 * math/s_clog10.c (__clog10): Likewise.
14012 * math/s_clog10f.c (__clog10f): Likewise.
14013 * math/s_clog10l.c (__clog10l): Likewise.
14014 * math/s_clogf.c (__clogf): Likewise.
14015 * math/s_clogl.c (__clogl): Likewise.
14016 * math/Makefile (libm-calls): Add x2y2m1.
14017 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14018 (__x2y2m1): Likewise.
14019 (__x2y2m1l): Likewise.
14020 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14021 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14022 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14023 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14024 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14025 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14026 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14027 * sysdeps/i386/fpu/libm-test-ulps: Update.
14028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14029
b87c4b24
JM
14030 [BZ #14621]
14031 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14032 int as type of variable DEPTH.
14033 (glob): Use size_t instead of int as type of variables NEWCOUNT
14034 and OLD_PATHC.
14035
6d3bf199
LD
140362012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14037
22bf5c17
LD
14038 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14039 Add s_sincosf-sse2.
14040 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14041 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14042 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14043 macros for using routine as __sincosf_ia32.
14044 Use macro for function declaration and weak_alias.
14045 * sysdeps/i386/fpu/libm-test-ulps: Update.
14046
14047 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14049
14050 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
14051 subnormal argument.
14052 * math/s_cexpf.c (__cexpf): Likewise.
14053 * math/s_csinf.c (__csinf): Likewise.
14054 * math/s_csinhf.c (__csinhf): Likewise.
14055 * math/s_ctanf.c (__ctanf): Likewise.
14056 * math/s_ctanhf.c (__ctanhf): Likewise.
14057 * math/s_ccosh.c (__ccoshf): Likewise.
14058 * math/s_cexp.c (__cexpl): Likewise.
14059 * math/s_csin.c (__csin): Likewise.
14060 * math/s_csinh.c (__csinh): Likewise.
14061 * math/s_ctan.c (__ctan): Likewise.
14062 * math/s_ctanh.c (ctanh): Likewise.
14063 * math/s_ccoshl.c (__ccoshl): Likewise.
14064 * math/s_cexpl.c (__cexpl): Likewise.
14065 * math/s_csinl.c (__csinl): Likewise.
14066 * math/s_csinhl.c (__csinhl): Likewise.
14067 * math/s_ctanl.c (__ctanl): Likewise.
14068 * math/s_ctanhl.c (__ctanhl): Likewise.
14069
203e5603
JM
140702012-09-25 Joseph Myers <joseph@codesourcery.com>
14071
14072 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14073 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14074 (_IO_off_t): Define to __off_t, not _G_off_t.
14075 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14076 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14077 (_IO_wint_t): Define to wint_t, not _G_wint_t.
14078 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14079 type of __dummy and __dummy2 fields.
14080 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14081 (_G_ssize_t): Likewise.
14082 (_G_off_t): Likewise.
14083 (_G_pid_t): Likewise.
14084 (_G_uid_t): Likewise.
14085 (_G_wchar_t): Likewise.
14086 (_G_wint_t): Likewise.
14087 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14088 (_G_ssize_t): Likewise.
14089 (_G_off_t): Likewise.
14090 (_G_pid_t): Likewise.
14091 (_G_uid_t): Likewise.
14092 (_G_wchar_t): Likewise.
14093 (_G_wint_t): Likewise.
14094 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14095 (_G_ssize_t): Likewise.
14096 (_G_off_t): Likewise.
14097 (_G_pid_t): Likewise.
14098 (_G_uid_t): Likewise.
14099 (_G_wchar_t): Likewise.
14100 (_G_wint_t): Likewise.
14101
9fab36eb
SP
141022012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14103
14104 * malloc/arena.c: Include malloc-sysdep.h.
14105 (shrink_heap): Use check_may_shrink_heap to decide if madvise
14106 is sufficient to shrink the heap or an unmap is needed.
14107 * sysdeps/generic/malloc-sysdep.h: New file. Define
14108 new function check_may_shrink_heap.
14109 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
14110 new function check_may_shrink_heap.
14111
2b4f00d1
SP
141122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14113
14114 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14115 comments.
14116
9a9028b1
DL
141172012-09-24 Dmitry V. Levin <ldv@altlinux.org>
14118
57c69bef
DL
14119 * catgets/test-gencat.sh: Add "set -e".
14120 * elf/tst-pathopt.sh: Likewise.
14121 * grp/tst_fgetgrent.sh: Likewise.
14122 * iconvdata/run-iconv-test.sh: Likewise.
14123 * intl/tst-gettext.sh: Likewise.
14124 * intl/tst-gettext2.sh: Likewise.
14125 * intl/tst-gettext4.sh: Likewise.
14126 * intl/tst-gettext6.sh: Likewise.
14127 * intl/tst-translit.sh: Likewise.
14128 * io/ftwtest-sh: Likewise.
14129 * libio/test-freopen.sh: Likewise.
14130 * malloc/tst-mtrace.sh: Likewise.
14131 * posix/globtest.sh: Likewise.
14132 * posix/tst-getconf.sh: Likewise.
14133 * posix/wordexp-tst.sh: Likewise.
14134 * stdio-common/tst-printf.sh: Likewise.
14135 * stdio-common/tst-unbputc.sh: Likewise.
14136 * stdlib/tst-fmtmsg.sh: Likewise.
14137 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14138 * catgets/Makefile: Do not specify -e option when running
14139 testsuite shell scripts.
14140 * elf/Makefile: Likewise.
14141 * grp/Makefile: Likewise.
14142 * iconvdata/Makefile: Likewise.
14143 * intl/Makefile: Likewise.
14144 * io/Makefile: Likewise.
14145 * libio/Makefile: Likewise.
14146 * malloc/Makefile: Likewise.
14147 * posix/Makefile: Likewise.
14148 * stdio-common/Makefile: Likewise.
14149 * stdlib/Makefile: Likewise.
14150 * sysdeps/x86_64/Makefile: Likewise.
14151
9a9028b1
DL
14152 * io/ftwtest-sh: Add copyright header.
14153 * posix/globtest.sh: Likewise.
14154 * posix/tst-getconf.sh: Likewise.
14155 * posix/wordexp-tst.sh: Likewise.
14156 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14157
ced6f16e
L
141582012-09-24 H.J. Lu <hongjiu.lu@intel.com>
14159
94b32c39
L
14160 [BZ #13679]
14161 * Makeconfig (+link): Defined as $(+link-static) if
14162 $(build-shared) isn't yes.
14163 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14164 isn't yes.
14165 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14166
189e935b
L
14167 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14168
ced6f16e
L
14169 [BZ #14562]
14170 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14171 new chunk size with MALLOC_ALIGN_MASK.
14172
a9f8e53a
JM
141732012-09-24 Joseph Myers <joseph@codesourcery.com>
14174
14175 [BZ #5044]
14176 * stdio-common/printf_fphex.c: Include <stdbool.h> and
14177 <rounding-mode.h>.
14178 (__printf_fphex): Determine rounding using get_rounding_mode and
14179 round_away.
14180 * stdio-common/tst-printf-round.c (struct hex_test): New
14181 structure.
14182 (hex_tests): New variable.
14183 (test_hex_in_one_mode): New function.
14184 (do_test): Also run tests for hex float output.
14185
43153109
JM
141862012-09-21 Joseph Myers <joseph@codesourcery.com>
14187
14188 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14189 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14190 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14191 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14192 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14193 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14194 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14195 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14196
8a26625d
JM
141972012-09-20 Joseph Myers <joseph@codesourcery.com>
14198
14199 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14200 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14201 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14202 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14203
f3fd569c
DL
142042012-09-19 Dmitry V. Levin <ldv@altlinux.org>
14205
14206 [BZ #14579]
14207 * elf/rtld.c (dl_main): Limit the check for self loading to normal
14208 mode only.
14209 * elf/tst-rtld-load-self.sh: New test.
14210 * elf/Makefile: Run it.
14211
63bbedd4
JM
142122012-09-18 Joseph Myers <joseph@codesourcery.com>
14213
14214 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14215 (tst-writev-ENV): Remove.
14216 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14217
626f8b6a
CM
142182012-09-17 Chris Metcalf <cmetcalf@tilera.com>
14219
14220 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14221
b7aaa4d6
JM
142222012-09-17 Joseph Myers <joseph@codesourcery.com>
14223
14224 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14225 unconditional.
14226 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14227 Likewise.
14228 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14229 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14230 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14231 Likewise.
14232
65513990
L
142332012-09-14 H.J. Lu <hongjiu.lu@intel.com>
14234
14235 [BZ #14587]
14236 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14237 * config.make.in (have-cpp-asm-debuginfo): Removed.
14238 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14239 * configure: Regenerated.
14240
784761be
JM
142412012-09-14 Joseph Myers <joseph@codesourcery.com>
14242
14243 [BZ #5044]
14244 * stdio-common/printf_fp.c: Include <stdbool.h> and
14245 <rounding-mode.h>.
14246 (___printf_fp): Determine rounding using get_rounding_mode and
14247 round_away.
14248 * stdio-common/tst-printf-round.c: New file.
14249 * stdio-common/Makefile (tests): Add tst-printf-round.
14250 (link-libm): New variable.
14251 ($(objpfx)tst-printf-round): Depend in $(link-libm).
14252
9503345f
L
142532012-09-13 H.J. Lu <hongjiu.lu@intel.com>
14254
14255 [BZ #14576]
14256 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14257 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14258 Likewise.
14259 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14260 Likewise.
14261
ad35fc00
JM
142622012-09-13 Joseph Myers <joseph@codesourcery.com>
14263
14264 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14265 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14266 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14267 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14268
6c9b0f68
JM
142692012-09-12 Joseph Myers <joseph@codesourcery.com>
14270
14271 [BZ #14518]
14272 * include/rounding-mode.h: New file.
14273 * sysdeps/generic/get-rounding-mode.h: Likewise.
14274 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14275 * stdlib/strtod_l.c: Include <rounding-mode.h>.
14276 (MAX_VALUE): New macro.
14277 (MIN_VALUE): Likewise.
14278 (overflow_value): New function.
14279 (underflow_value): Likewise.
14280 (round_and_return): Use overflow_value and underflow_value to
14281 determine return values in overflow and underflow cases. Use
14282 round_away to determine rounding depending on rounding mode.
14283 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14284 determine return values in overflow and underflow cases.
14285 * stdlib/tst-strtod-round.c: Include <fenv.h>.
14286 (struct test_results): New structure.
14287 (struct test): Use struct test_results to store expected results
14288 for all rounding modes.
14289 (TEST): Include expected results for all rounding modes.
14290 (test_in_one_mode): New function.
14291 (do_test): Use test_in_one_mode to compute and check results.
14292 Check results for all rounding modes.
14293 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14294 $(link-libm).
14295
19fcedd5
AM
142962012-12-09 Allan McRae <allan@archlinux.org>
14297
1e9d84cd 14298 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 14299
8bbfd2f1
JM
143002012-09-11 Joseph Myers <joseph@codesourcery.com>
14301
14302 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14303 (_G_int32_t): Likewise.
14304 (_G_uint16_t): Likewise.
14305 (_G_uint32_t): Likewise.
14306 (_G_HAVE_BOOL): Likewise.
14307 (_G_HAVE_ATEXIT): Likewise.
14308 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14309 (_G_HAVE_IO_FILE_OPEN): Likewise.
14310 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14311 (_G_int32_t): Likewise.
14312 (_G_uint16_t): Likewise.
14313 (_G_uint32_t): Likewise.
14314 (_G_HAVE_BOOL): Likewise.
14315 (_G_HAVE_ATEXIT): Likewise.
14316 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14317 (_G_HAVE_IO_FILE_OPEN): Likewise.
14318 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14319 (_G_int32_t): Likewise.
14320 (_G_uint16_t): Likewise.
14321 (_G_uint32_t): Likewise.
14322 (_G_HAVE_BOOL): Likewise.
14323 (_G_HAVE_ATEXIT): Likewise.
14324 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14325 (_G_HAVE_IO_FILE_OPEN): Likewise.
14326
b1dc5912
L
143272012-09-11 H.J. Lu <hongjiu.lu@intel.com>
14328
14329 * csu/libc-tls.c: Update copyright years.
14330
0e886ef9
JM
143312012-09-10 Joseph Myers <joseph@codesourcery.com>
14332
28361c5e
JM
14333 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14334 [!_G_USING_THUNKS]: Remove conditional code.
14335 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14336 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14337
0e886ef9
JM
14338 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14339 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14340 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14341 (_G_VTABLE_LABEL_PREFIX): Likewise.
14342 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14343 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14344 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14345 (_G_VTABLE_LABEL_PREFIX): Likewise.
14346 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14347 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14348 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14349 (_G_VTABLE_LABEL_PREFIX): Likewise.
14350 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14351
bcba7aa2
L
143522012-09-10 H.J. Lu <hongjiu.lu@intel.com>
14353
14354 * libio/Makefile: Include ../Makeconfig before tests.
14355 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14356 only if $(build-shared) is yes.
14357
06585ee8
L
14358 * iconv/gconv_db.c: Update copyright years.
14359
80ccd52c
LD
143602012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14361
14362 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14363 unwind info if defined PIC. Fix special cases description.
14364 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14365
14366 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14367 DP_HI_MASK entry.
14368 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14369
691bc9c1
L
143702012-09-07 H.J. Lu <hongjiu.lu@intel.com>
14371
3d9b46b3
L
14372 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14373
de2139a9
L
14374 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14375 is NULL.
14376
5ca78dd0
L
14377 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14378 (LDLIBS-tst-chk4): This.
14379 (LDFLAGS-tst-chk5): Renamed to ...
14380 (LDLIBS-tst-chk5): This.
14381 (LDFLAGS-tst-chk6): Renamed to ...
14382 (LDLIBS-tst-chk6): This.
14383 (LDFLAGS-tst-lfschk4): Renamed to ...
14384 (LDLIBS-tst-lfschk4): This.
14385 (LDFLAGS-tst-lfschk5): Renamed to ...
14386 (LDLIBS-tst-lfschk5): This.
14387 (LDFLAGS-tst-lfschk6): Renamed to ...
14388 (LDLIBS-tst-lfschk6): This.
14389
691bc9c1
L
14390 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14391 on $(common-objpfx)soversions.mk.
14392
65cafb1c
JM
143932012-09-07 Joseph Myers <joseph@codesourcery.com>
14394
14395 [BZ #10014]
14396 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14397 example host name.
14398
c78ab094
SP
143992012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
14400
14401 * malloc/arena.c (arena_get_retry): New function that gets
14402 another arena for the caller to try its request on.
14403 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14404 current arena cannot fulfill the request.
14405 (__libc_memalign): Likewise.
14406 (__libc_memalign): Likewise.
14407 (__libc_pvalloc): Likewise.
14408 (__libc_calloc): Likewise.
14409
01f49f59
JT
144102012-09-05 John Tobey <john.tobey@gmail.com>
14411
14412 [BZ #13542]
14413 * manual/arith.texi (Operations on Complex): Fix description
14414 of carg branch cut.
14415
4c23fed5
JM
144162012-09-06 Joseph Myers <joseph@codesourcery.com>
14417
1d3c8572
JM
14418 [BZ #10014]
14419 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14420 host name.
14421
4c23fed5
JM
14422 [BZ #10038]
14423 * manual/memory.texi (Memory): Make order of menu items match
14424 order of sections.
14425
04570aaa
L
144262012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14427
14428 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14429 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
14430 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14431
b80af2f4
L
144322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14433
14434 * csu/libc-tls.c (static_dtv): Renamed to ...
14435 (_dl_static_dtv): This. Make it global.
14436 (_dl_initial_dtv): Removed.
14437 (__libc_setup_tls): Updated.
14438 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14439 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14440 DL_INITIAL_DTV.
14441
2abe9f15
PM
144422012-09-06 Petr Machata <pmachata@redhat.com>
14443
14444 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14445 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14446 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14447 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14448
0948c3af
L
144492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14450
14451 [BZ #14545]
14452 * csu/libc-tls.c (_dl_initial_dtv): New variable.
14453 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14454 freeing dtv[-1].
14455
a5055ad1
L
144562012-09-06 H.J. Lu <hongjiu.lu@intel.com>
14457
14458 [BZ #14544]
14459 * Makeconfig (link-static-before-libc): Replace $(+prector)
14460 with $(+prectorT).
14461 (link-static-after-libc): Replace $(+postctor) with
14462 $(+postctorT).
14463 (link-bounded): Replace $(+prector)/$(+postctor) with
14464 $(+prectorT)/$(+postctorT).
14465 (+prectorT): New macro.
14466 (+postctorT): Likewise.
14467
ed8c2ecd
JM
144682012-09-06 Joseph Myers <joseph@codesourcery.com>
14469
14470 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14471 (round_str): Handle values above the maximum for IBM long double
14472 as inexact.
14473 * stdlib/tst-strtod-round.c (tests): Regenerated.
14474
14c996c8
AK
144752012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14476
14477 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14478 assembler flag.
14479 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14480 zarch_nohighgprs around the zarch optimized routines.
14481 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14482 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14483 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14484 for zarch.
14485
430d6ce6
DM
144862012-09-05 David S. Miller <davem@davemloft.net>
14487
14488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14489
ff04dda4
DM
14490 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14491 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14492 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14493 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14494 entries.
14495
24d4e01b
AO
144962012-09-05 Alexandre Oliva <aoliva@redhat.com>
14497
14498 * malloc/arena.c: Fold copyright years.
14499 * malloc/mcheck.c, malloc/memusage.c: Likewise.
14500
61d58174
AO
145012012-09-05 Alexandre Oliva <aoliva@redhat.com>
14502
14503 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14504
20196a5e
AO
145052012-09-05 Alexandre Oliva <aoliva@redhat.com>
14506
14507 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
14508
5c447383
AO
145092012-09-05 Alexandre Oliva <aoliva@redhat.com>
14510
14511 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14512 change internal state upon failure.
14513
fad64255
AO
145142012-09-05 Alexandre Oliva <aoliva@redhat.com>
14515
14516 * malloc/mcheck.c (mcheck_check_all): Fix typo.
14517 * malloc/memusage.c (mmap): Likewise.
14518 (mmap64, mremap): Likewise. Adjust name in comment.
14519
1ffb8c90
SP
145202012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14521
14522 * libio/fileops.c: Fix typos in comments.
14523 * libio/oldfileops.c: Likewise.
14524 * libio/wfileops.c: Likewise.
14525
6ef9cc37
SP
145262012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14527
14528 [BZ #1349]
14529 * malloc/Makefile (tests): Add tst-malloc-usable test case.
14530 (tst-malloc-usable-ENV): Set environment for test case.
14531 * malloc/hooks.c (malloc_check_get_size): New function to get
14532 requested size.
14533 * malloc/malloc.c (musable): Use malloc_check_get_size.
14534 * malloc/tst-malloc-usable.c: New test case.
14535
4d038ae3
AS
145362012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14537
14538 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14539
c4e85184
AM
145402012-09-05 Allan McRae <allan@archlinux.org>
14541
b9dafc56 14542 [BZ #13966]
c4e85184
AM
14543 * configure.in (CXX_SYSINCLUDES): Use compiler output to
14544 determine header location.
14545 * configure: Regenerated.
14546
e1343020
AS
145472012-09-05 Andreas Schwab <schwab@linux-m68k.org>
14548
14549 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14550 float format.
14551 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
14552 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14553 format.
e1343020
AS
14554 (test): Regenerate.
14555
0a9f1987
DM
145562012-09-04 David S. Miller <davem@davemloft.net>
14557
14558 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14559 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14560 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14561
29237804
FW
145622012-09-04 Florian Weimer <fweimer@redhat.com>
14563
14564 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14565 failures.
14566
edb3cb88
FW
14567 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14568
60160d83
JM
145692012-09-04 Joseph Myers <joseph@codesourcery.com>
14570
14571 [BZ #9914]
14572 * libio/iogetdelim.c: Include <limits.h>.
14573 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14574 + len + 1 would overflow.
14575
bcd6c8dc
AJ
145762012-09-03 Andreas Jaeger <aj@suse.de>
14577
14578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14579 * sysdeps/i386/fpu/libm-test-ulps: Update.
14580
4ffffbd2
LD
145812012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14582
14583 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14584 Add s_sinf-sse2, s_conf-sse2.
14585
14586 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14587 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14588 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14589 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14590
14591 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14592 for using routine as __sinf_ia32.
14593 Use macro for function declaration and weak_alias.
14594 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14595 for using routine as __cosf_ia32.
14596 Use macro for function declaration and weak_alias.
14597
14598 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14599 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14600
14601 * sysdeps/x86_64/fpu/s_sinf.S: New file.
14602 * sysdeps/x86_64/fpu/s_cosf.S: New file.
14603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14604
14605 * math/libm-test.inc (cos_test): Add more test cases.
14606 (sin_test): Likewise.
14607 (sincos_test): Likewise.
14608
511fa286
AK
146092012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14610
14611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14612 (IFUNC_RESOLVE): Make pointers to the specialized implementations
14613 hidden.
14614 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14615
5f30cfec
L
146162012-09-02 H.J. Lu <hongjiu.lu@intel.com>
14617
14618 [BZ #14538]
14619 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14620 first element of the GOT.
14621 (elf_machine_load_address): Return the difference between
14622 the runtime address of _DYNAMIC and elf_machine_dynamic ().
14623
0786794f
AM
146242012-09-01 Allan McRae <allan@archlinux.org>
14625
5f30cfec
L
14626 [BZ #13412]
14627 * configure.in (AWK): Require gawk version 3.0 or later.
14628 * configure: Regenerated.
0786794f 14629
26889eac
JM
146302012-09-01 Joseph Myers <joseph@codesourcery.com>
14631
14632 * sysdeps/unix/sysv/linux/kernel-features.h
14633 (__ASSUME_POSIX_CPU_TIMERS): Remove.
14634 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14635 [__NR_clock_getres]: Make code unconditional.
14636 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14637 (clock_getcpuclockid): Remove code left unreachable by removal of
14638 conditionals.
14639 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14640 code unconditional.
14641 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14642 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14643 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14644 Make code unconditional.
14645 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14646 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14647 * sysdeps/unix/sysv/linux/clock_settime.c
14648 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14649 conditional code.
14650 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14651 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14652
d22e28b0
L
146532012-08-29 H.J. Lu <hongjiu.lu@intel.com>
14654
14655 [BZ #14476]
14656 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14657 scripts/test-installation.pl.
14658
14659 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14660 and $ld_so_version if it is set.
14661
050af9c4
SP
146622012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14663
14664 [BZ #14516]
14665 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14666 failure if reading from procfs failed.
14667 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14668
ad845c0b
JM
146692012-08-27 Joseph Myers <joseph@codesourcery.com>
14670
14671 * sysdeps/unix/sysv/linux/kernel-features.h
14672 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14673 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14674 Remove conditional code.
14675 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14676 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14677 Remove conditional code.
14678 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14679 * sysdeps/unix/sysv/linux/i386/fxstat.c
14680 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14681 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14682 * sysdeps/unix/sysv/linux/i386/fxstatat.c
14683 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14684 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14685 * sysdeps/unix/sysv/linux/i386/lxstat.c
14686 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14687 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14688 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14689 Remove conditional code.
14690 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14691 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14692 Remove conditional code.
14693 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14694 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14695 <kernel-features.h>.
14696 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14697 Remove.
14698 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14699 Remove conditional code.
14700 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14701 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14702 Remove conditional.
14703
5dbf56af
MF
147042012-08-27 Mike Frysinger <vapier@gentoo.org>
14705
14706 [BZ #5400]
14707 * NEWS: Add fixed bug number.
14708
d6e70f43
JM
147092012-08-27 Joseph Myers <joseph@codesourcery.com>
14710
7efb4737
JM
14711 [BZ #14519]
14712 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14713 underflowing exponent in case of negative sign.
14714 * stdlib/tst-strtod-round-data: Add more tests.
14715 * stdlib/tst-strtod-round.c (tests): Regenerated.
14716
af92131a
JM
14717 [BZ #3479]
14718 * stdlib/strtod_l.c (NDIG): Remove.
14719 (HEXNDIG): Likewise.
14720 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14721 smallest representable value.
14722 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14723 lie within an exact representation of 1/2 ulp of the result.
14724 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14725 unconditionally.
14726 (TENS_P9_IDX): Define unconditionally.
14727 (TENS_P9_SIZE): Likewise.
14728 (TENS_P10_IDX): Likewise.
14729 (TENS_P10_SIZE): Likewise.
14730 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14731 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14732 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14733 entries for 10^2^13 and 10^2^14.
14734 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14735 (TENS_P13_IDX): Define.
14736 (TENS_P13_SIZE): Likewise.
14737 (TENS_P14_IDX): Likewise.
14738 (TENS_P14_SIZE): Likewise.
14739 (_fpioconst_pow10): Change array size to
14740 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
14741 unconditional.
14742 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14743 1024]: Add entries for 10^2^13 and 10^2^14.
14744 [LAST_POW10 > _LAST_POW10]: Remove #error.
14745 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14746 (_fpioconst_pow10): Change array size to
14747 FPIOCONST_POW10_ARRAY_SIZE.
14748 * stdlib/gen-fpioconst.c: New file.
14749 * stdlib/gen-tst-strtod-round.c: Likewise.
14750 * stdlib/tst-strtod-round-data: Likewise.
14751 * stdlib/tst-strtod-round.c: Likewise.
14752 * stdlib/Makefile (tests): Add tst-strtod-round.
14753
d6e70f43
JM
14754 [BZ #14459]
14755 * stdlib/strtod_l.c: Include <stdint.h>.
14756 (NDEBUG): Do not define.
14757 (round_and_return): Change EXPONENT parameter to type intmax_t.
14758 Rearrange calculations to avoid internal overflow possibilities.
14759 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14760 Rearrange calculations to avoid internal overflow possibilities.
14761 Assert that number fits inside MPNSIZE limbs.
14762 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14763 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
14764 calculations and add assertions to avoid internal overflow
14765 possibilities. Add casts to avoid signed/unsigned operations.
14766 * stdlib/tst-strtod-overflow.c: New file.
14767 * stdlib/Makefile (tests): Add tst-strtod-overflow.
14768
1f529f7d
MP
147692012-08-25 Marek Polacek <polacek@redhat.com>
14770
14771 * time/time.h: Fix some typos in comments.
14772
59a629f1
RM
147732012-08-23 Roland McGrath <roland@hack.frob.com>
14774
14775 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14776 * posix/tst-rfc3484-2.c: Likewise.
14777 * posix/tst-rfc3484-3.c: Likewise.
14778
d3bafbc9
SM
147792012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
14780
14781 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14782 (EF_ARM_ABI_FLOAT_HARD): Likewise.
14783
4efcc022
JM
147842012-08-23 Joseph Myers <joseph@codesourcery.com>
14785
14786 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14787 #include of fxstatat64.c.
14788
3cc3ef96
RM
147892012-08-22 Roland McGrath <roland@hack.frob.com>
14790
f04e2132
RM
14791 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14792 * shadow/getspent_r.c: Likewise.
14793 * shadow/getspnam.c: Likewise.
14794 * shadow/getspnam_r.c: Likewise.
14795 * gshadow/getsgent.c: Likewise.
14796 * gshadow/getsgent_r.c: Likewise.
14797 * gshadow/getsgnam.c: Likewise.
14798 * gshadow/getsgnam_r.c: Likewise.
14799 * inet/getnetbyad.c: Likewise.
14800 * inet/getnetbyad_r.c: Likewise.
14801 * inet/getnetbynm.c: Likewise.
14802 * inet/getnetbynm_r.c: Likewise.
14803 * inet/getnetent.c: Likewise.
14804 * inet/getnetent_r.c: Likewise.
14805 * inet/getproto.c: Likewise.
14806 * inet/getproto_r.c: Likewise.
14807 * inet/getprtent.c: Likewise.
14808 * inet/getprtent_r.c: Likewise.
14809 * inet/getprtname.c: Likewise.
14810 * inet/getprtname_r.c: Likewise.
14811 * inet/getrpcbyname.c: Likewise.
14812 * inet/getrpcbyname_r.c: Likewise.
14813 * inet/getrpcbynumber.c: Likewise.
14814 * inet/getrpcbynumber_r.c: Likewise.
14815 * inet/getrpcent.c: Likewise.
14816 * inet/getrpcent_r.c: Likewise.
14817 * inet/getaliasent.c: Likewise.
14818 * inet/getaliasent_r.c: Likewise.
14819 * inet/getaliasname.c: Likewise.
14820 * inet/getaliasname_r.c: Likewise.
14821 * nscd/getgrgid_r.c: Likewise.
14822 * nscd/getgrnam_r.c: Likewise.
14823 * nscd/gethstbyad_r.c: Likewise.
14824 * nscd/gethstbynm3_r.c: Likewise.
14825 * nscd/getpwnam_r.c: Likewise.
14826 * nscd/getpwuid_r.c: Likewise.
14827 * nscd/getsrvbynm_r.c: Likewise.
14828 * nscd/getsrvbypt_r.c: Likewise.
14829 * nscd/gai.c: Likewise.
14830
c53d909c
RM
14831 * configure.in (build_nscd): New substituted variable, set
14832 by --disable-build-nscd and defaults to $use_nscd.
14833 * configure: Regenerated.
14834 * config.make.in (build-nscd): New substituted variable.
14835 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14836 Change conditional to require [$(build-nscd) = yes] as well.
14837 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14838
3cc3ef96
RM
14839 [BZ# 13696]
14840 * configure.in (use_nscd): New substituted variable, set by
14841 --disable-nscd. If enabled, define USE_NSCD.
14842 * configure: Regenerated.
14843 * config.h.in: Add USE_NSCD.
14844 * config.make.in (use-nscd): New substituted variable.
14845 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14846 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14847 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14848 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14849 (CFLAGS-getgrnam_r.c): Likewise.
14850 (CFLAGS-initgroups.c): Likewise.
14851 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14852 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14853 Variables removed.
14854 * inet/getnetgrent_r.c
14855 (nscd_setnetgrent): New function, broken out of ...
14856 (setnetgrent): ... here. Call it.
14857 (innetgr): Conditionalize nscd bits on [USE_NSCD].
14858 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14859 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14860 * nscd/Makefile (routines, aux): Move definitions after include of
14861 Makeconfig. Conditionalize on [$(use-nscd) != no].
14862 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14863 Conditionalize on [USE_NSCD].
14864 (is_nscd, nscd_init_cb): Likewise.
14865 (nss_load_library): Conditionalize init callback on [USE_NSCD].
14866 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14867 * nss/nss_db/db-init.c: Likewise.
14868 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14869 [USE_NSCD].
14870 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14871 (make_request): Use it.
14872 (cache_valid_p): New function.
14873 (__check_pf): Use it.
14874 * NEWS: Add item for --disable-nscd.
14875
07e51550
DL
148762012-08-22 Dmitry V. Levin <ldv@altlinux.org>
14877
14878 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14879 to support sed >= 4.2.1-20-ga9bf076.
14880 * configure: Regenerated.
14881
35a5b08b
RM
148822012-08-22 Roland McGrath <roland@hack.frob.com>
14883
14884 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14885 Conditionalize whole body on [IREL].
14886
8479f23a
JL
148872012-08-22 Jeff Law <law@redhat.com>
14888
14889 [BZ #14505]
14890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14891 if the family is PF_UNSPEC.
14892
48da0b21
MF
148932012-08-22 Mike Frysinger <vapier@gentoo.org>
14894
14895 * Makerules (lib-version): Rename from V.
14896 (install-lib-nosubdir): Change V to lib-version.
14897
15d0da8c
WS
148982012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
14899
14900 [BZ #14252]
14901 * powerpc32/power6/wcschr.c: New file.
14902 * powerpc32/power6/wcscpy.c: New file.
14903 * powerpc32/power6/wcsrchr.c: New file.
14904 * powerpc64/power6/wcschr.c: New file.
14905 * powerpc64/power6/wcscpy.c: New file.
14906 * powerpc64/power6/wcsrchr.c: New file.
14907
bcca0895
MK
149082012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14909
14910 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14911 (two_way_short_needle): Use it.
5a4aaa33
RM
14912 * string/strstr.c (AVAILABLE1_USES_J): Define.
14913 * string/strcasestr.c: Likewise.
99677e57
MK
14914
14915 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14916 array references.
14917 * string/strcasestr.c (TOLOWER): Make side-effect safe.
14918
400726de
MK
14919 [BZ #11607]
14920 * NEWS: Add an entry.
14921 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14922 define their defaults.
14923 (two_way_short_needle): Detect end-of-string on-the-fly.
14924 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14925 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14926 * string/bug-strcasestr1.c: New test.
14927 * string/Makefile: Run it.
14928
20a71f2c
MK
149292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
14930
14931 [BZ #11607]
14932 * string/str-two-way.h (two_way_short_needle): Optimize matching of
14933 the first character.
14934
21ad0558
RM
149352012-08-21 Roland McGrath <roland@hack.frob.com>
14936
14937 * csu/elf-init.c (__libc_csu_irel): Function removed.
14938 * csu/libc-start.c (apply_irel): New function.
14939 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14940
0e1d9911
JM
149412012-08-21 Joseph Myers <joseph@codesourcery.com>
14942
14943 * sysdeps/unix/sysv/linux/kernel-features.h
14944 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14945 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14946 <kernel-features.h>.
14947 [__NR_fadvise64_64]: Make code unconditional.
14948 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14949 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14950 !__NR_fadvise64_64)]: Likewise.
14951 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14952 !__NR_fadvise64_64))]: Likewise.
14953 [__NR_fadvise64]: Make code unconditional.
14954 [!__NR_fadvise64]: Remove conditional code.
14955 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14956 <kernel-features.h>.
14957 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14958 unconditional.
14959 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14960 conditional code.
14961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14962 not include <kernel-features.h>.
14963 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14964 unconditional.
14965 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14966 conditional code.
14967 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14968 include <kernel-features.h>.
14969 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14970 unconditional.
14971 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14972 conditional code.
14973
14a50c9d
WS
149742012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
14975
14976 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14977 slight instruction rearrangements per scrollpipe analysis.
14978 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14979
c0f4faf0
RM
149802012-08-20 Roland McGrath <roland@hack.frob.com>
14981
696da859
RM
14982 * manual/syslog.texi (syslog; vsyslog, closelog):
14983 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14984 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14985
c0f4faf0
RM
14986 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14987 DSOCAPS to match condition on defining it.
14988
348363b2
JM
149892012-08-20 Joseph Myers <joseph@codesourcery.com>
14990
a35cbf28
JM
14991 * sysdeps/unix/sysv/linux/kernel-features.h
14992 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14994 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14995 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14997 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14998 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15000 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15001 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15002
445f7ecd
JM
15003 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15004 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15005
348363b2
JM
15006 * sysdeps/unix/sysv/linux/kernel-features.h
15007 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15008 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15009 unconditional.
15010 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15011 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15012 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15013 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15014 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15015 Make code unconditional.
15016 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15017 (__mmap64) [!__NR_mmap2]: Likewise.
15018 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15019 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15020 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15021 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15022 [__NR_mmap2]: Make code unconditional.
15023 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15024 (__mmap64) [!__NR_mmap2]: Likewise.
15025
bc5bc0e5
AK
150262012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15027
15028 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15029
88d506de
AJ
150302012-08-18 Andreas Jaeger <aj@suse.de>
15031
15032 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15033
493387d2
MF
150342012-08-18 Mike Frysinger <vapier@gentoo.org>
15035
15036 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15037 * include/unistd.h (__have_sock_cloexec): Likewise.
15038 (__have_pipe2): Likewise.
15039 (__have_dup3): Likewise.
15040
a277af22
MF
150412012-08-18 Mike Frysinger <vapier@gentoo.org>
15042
15043 [BZ #9685]
15044 * include/unistd.h (__have_pipe2): Change define into an extern int.
15045 (__have_dup3): Likewise.
15046 * socket/have_sock_cloexec.c: Include fcntl.h.
15047 (__have_pipe2): New variable.
15048 (__have_dup3): Likewise.
15049
fdab8fd3
MF
150502012-08-17 Mike Frysinger <vapier@gentoo.org>
15051
15052 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15053
31035e80
MP
150542012-08-17 Marek Polacek <polacek@redhat.com>
15055
15056 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15057 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15058
3bd9e993
RM
150592012-08-17 Roland McGrath <roland@hack.frob.com>
15060
c91c505f
RM
15061 * configure.in: Add AC_SUBST for sysheaders.
15062 * configure: Regenerated.
15063 * config.make.in (sysheaders): New substituted variable.
15064
7c6f9d53
RM
15065 * sysdeps/unix/mkfifo.c: Moved ...
15066 * sysdeps/posix/mkfifo.c: ... here.
15067 * sysdeps/unix/mkfifoat.c: Moved ...
15068 * sysdeps/posix/mkfifoat.c: ... here.
15069
15070 * sysdeps/unix/utime.c: Moved ...
15071 * sysdeps/posix/utime.c: ... here.
15072
15073 * sysdeps/unix/time.c: Moved ...
15074 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
15075 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15076 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
15077
15078 * sysdeps/unix/nice.c: Moved ...
15079 * sysdeps/posix/nice.c: ... here.
15080
15081 * sysdeps/unix/alarm.c: Moved ...
15082 * sysdeps/posix/alarm.c: ... here.
15083
3bd9e993
RM
15084 * intl/Makefile ($(codeset_mo)): Depend on the input file.
15085
d1f09384
JL
150862012-08-17 Jeff Law <law@redhat.com>
15087
15088 * intl/Makefile (codeset_mo): New variable.
15089 ($(codeset_mo)): New target.
15090 (tst-codeset.out): Depend on that. Remove explicit rule.
15091 (tst-gettext3.out, tst-gettext5.out): Likewise.
15092 (LOCPATH-ENV, tst-codeset-ENV): New variables.
15093 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15094 * intl/tst-codeset.sh: Remove.
15095 * intl/tst-gettext3.sh: Likewise.
15096 * intl/tst-gettext5.sh: Likewise.
15097
2ae1ae5c
RM
150982012-08-17 Roland McGrath <roland@hack.frob.com>
15099
c31fdb83
RM
15100 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
15101 * sysdeps/unix/syscalls.list: ... here.
15102
a0844057
RM
15103 * sysdeps/posix/getaddrinfo.c
15104 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15105 (gaiconf_init, gaiconf_reload): Use them.
15106 [!_STATBUF_ST_NSEC]
15107 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15108 Define using time_t rather than struct timespec.
15109
750c1f2a
RM
15110 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15111 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15112 Macros removed.
15113 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15114 [!NO_THREADS].
15115 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15116 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15117 Likewise.
15118
2ae1ae5c
RM
15119 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15120 __libc_cleanup_push argument.
15121
e66a42f5
RM
15122 * bits/param.h: New file.
15123 * misc/sys/param.h: New file.
15124 * include/sys/param.h: New file.
15125 * misc/Makefile (headers): Add bits/param.h.
15126 * sysdeps/generic/sys/param.h: File removed.
15127 * sysdeps/unix/sysv/linux/bits/param.h: New file.
15128 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15129 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 15130 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 15131
b7c08a66
RM
15132 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15133 last change.
15134
b2e1c562
RM
15135 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15136 [_IO_MTSAFE_IO].
15137 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15138 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15139 New macros.
15140
c75ccd4c
RM
15141 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15142 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15143 rather than -D_IO_MTSAFE_IO conditionally.
15144 * stdio-common/Makefile (CPPFLAGS): Likewise.
15145 * wcsmbs/Makefile (CPPFLAGS): Likewise.
15146 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15147 Use $(libio-mtsafe).
15148 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15149 of -D_IO_MTSAFE_IO.
15150 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15151 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15152 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15153 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15154 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15155 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15156 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15157 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15158 (CFLAGS-fread_u_chk.c): Likewise.
15159 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15160 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15161 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15162 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15163 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15164 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15165 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15166 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15167 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15168
15169 * libio/Makefile: Test [$(libc-reentrant) = yes]
15170 instead of [$(filter %REENTRANT, $(defines)) nonempty].
15171
15172 * Makeconfig
15173 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15174 * sysdeps/pthread/configure: File removed.
15175 * sysdeps/pthread/Makeconfig: New file.
15176 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15177 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15178
d9195db8
GB
151792012-08-16 Gary Benson <gbenson@redhat.com>
15180
15181 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15182 unmapping the first object in a namespace.
15183
86466cd9
RM
151842012-08-16 Roland McGrath <roland@hack.frob.com>
15185
15186 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15187 (__internal_setnetgrent): ... this. Add internal_function to
15188 definition. Add libc_hidden_def.
15189 (setnetgrent): Update caller.
15190 (internal_endnetgrent): Renamed to ...
15191 (__internal_endnetgrent): ... this. Add internal_function to
15192 definition. Add libc_hidden_def.
15193 (endnetgrent): Update caller.
15194 (internal_getnetgrent_r): Renamed to ...
15195 (__internal_getnetgrent_r): ... this. Add internal_function to
15196 definition. Add libc_hidden_def.
15197 (__getnetgrent_r): Update caller.
15198 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
15199
c3c8283c
JM
152002012-08-16 Joseph Myers <joseph@codesourcery.com>
15201
15202 * stdlib/longlong.h: Update from GCC.
15203
db1ee0a8
RM
152042012-08-16 Roland McGrath <roland@hack.frob.com>
15205
15206 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15207 on _QL, which is set by umul_ppmm but never used.
15208 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15209 variables, which are set by GMP macros but never used.
15210 * stdio-common/_itowa.c (_itowa): Likewise.
15211 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15212 * stdlib/mod_1.c (mpn_mod_1): Likewise.
15213
30f69637
CD
152142012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
15215
15216 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15217 struct La_sh_regs is not constant.
15218 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15219 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15220 and struct La_sparc64_regs are not constant.
15221
93a78ac4
JM
152222012-08-16 Joseph Myers <joseph@codesourcery.com>
15223
15224 * sysdeps/unix/sysv/linux/kernel-features.h
15225 (__ASSUME_POSIX_TIMERS): Remove.
15226 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15227 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15228 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15229 Make code unconditional.
15230 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15231 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15232 Make code unconditional.
15233 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15234 * sysdeps/unix/sysv/linux/clock_nanosleep.c
15235 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15236 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15237 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15238 Make code unconditional.
15239 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15240 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15241 (__libc_missing_posix_timers): Remove.
15242
dd924cd7
RM
152432012-08-15 Roland McGrath <roland@hack.frob.com>
15244
4b4f2771
RM
15245 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15246 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15247
601c888b
RM
15248 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15249
176790a7
RM
15250 * elf/dl-sym.c: Include <stdlib.h>.
15251
329bc018
RM
15252 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15253 constants, which avoids warnings in 32-bit builds.
15254
e04e272d
RM
15255 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15256 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15257
952bf94a
RM
15258 * misc/lseek.c: File moved to ...
15259 * io/lseek.c: ... here.
15260
7c99b50a
RM
15261 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15262
dd924cd7
RM
15263 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15264 shifting LEN more than 31 bits at once.
15265
b3f479a8
LD
152662012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15267
15268 [BZ #14195]
8c4ae0d4
RM
15269 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15270 segmentation fault for a case of two empty input strings.
b3f479a8
LD
15271 * string/test-strncasecmp.c (check1): Renamed to...
15272 (bz12205): ...this.
15273 (bz14195): Add new testcase for two empty input strings and N > 0.
15274 (test_main): Call new testcase, adapt for renamed function.
15275
9c55864e
AJ
152762012-08-15 Andreas Jaeger <aj@suse.de>
15277
15278 [BZ #14090]
15279 * crypt/md5test2.c: New test, based on test supplied by Serge
15280 Belyshev <belyshev@depni.sinp.msu.ru>.
15281 * crypt/Makefile (xtests): Add md5test-giant..
15282 * crypt/Makefile ($(objpfx)md5test-giant): Add.
15283
02dcb6c5
PE
152842012-08-15 Paul Eggert <eggert@cs.ucla.edu>
15285
15286 [BZ #14090]
15287 * crypt/md5.c (md5_process_block): Don't assume the buffer
15288 length is less than 2**32.
15289 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15290 length is less than 2**64.
15291
a3f95dcc
RM
152922012-08-15 Roland McGrath <roland@hack.frob.com>
15293
be75d758
RM
15294 * string/str-two-way.h: Include <sys/param.h>.
15295 (MAX): Macro removed.
15296
7312ca90
RM
15297 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15298 Move #define and #undef of memmove to just before and after
15299 including <string.h>.
15300
9a0a5486
RM
15301 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15302 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15303 and after including <string.h>. Move declarations of
15304 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15305 to before #include "string/memmove.c".
15306
67cc348d
RM
15307 * include/dirent.h: Declare __getdirentries.
15308
a3f95dcc
RM
15309 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15310 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15311
ca98e171
MF
153122012-08-14 Mike Frysinger <vapier@gentoo.org>
15313
15314 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15315 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15316 * sysdeps/i386/configure: Regenerated.
15317 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15318 STABS_CURRENT_FILE, and STABS_FUN.
15319 (END): Remove call to STABS_FUN_END.
15320 (STABS_CURRENT_FILE1): Delete.
15321 (STABS_CURRENT_FILE): Likewise.
15322 (STABS_FUN): Likewise.
15323 (STABS_FUN_END): Likewise.
15324 (STABS_FUN2): Likewise.
15325 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15326 * sysdeps/x86_64/configure: Regenerated.
15327
5908bf46
RM
153282012-08-14 Roland McGrath <roland@hack.frob.com>
15329
15330 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 15331 * elf/dl-lookup.c: Likewise.
5908bf46 15332
f2c05b9e
JM
153332012-08-14 Joseph Myers <joseph@codesourcery.com>
15334
15335 * sysdeps/unix/sysv/linux/kernel-features.h
15336 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15337 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15338 unconditionally.
15339 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15340 unconditionally.
15341 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15342 condition on __ASSUME_CLONE_THREAD_FLAGS.
15343
e11f5155
AJ
153442012-08-14 Andreas Jaeger <aj@suse.de>
15345
15346 * sysdeps/i386/fpu/libm-test-ulps: Update.
15347
51a9ba86
MK
153482012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
15349
2fdd4f78
AJ
15350 * include/atomic.h (atomic_exchange_and_add): Split into ...
15351 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15352 New atomic macros.
51a9ba86 15353
ba6cba9e
MT
153542012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
15355
15356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15357
42443a47
JL
153582012-08-13 Jeff Law <law@redhat.com>
15359
15360 * manual/stdio.texi (snprintf): Clarify handling of the trailing
15361 null byte in the output string.
15362
121dce05
JM
153632012-08-10 Joseph Myers <joseph@codesourcery.com>
15364
15365 * sysdeps/unix/sysv/linux/kernel-features.h
15366 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15367 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15368 (__ASSUME_ARG_MAX_STACK_BASED): Define.
15369 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15370 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15371 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
15372 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15373
bf51f568
JL
153742012-08-09 Jeff Law <law@redhat.com>
15375
15376 [BZ #13939]
15377 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15378 When avoid_arena is set, don't retry in the that arena. Pick the
15379 next one, whatever it might be.
15380 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15381 (arena_lock): Pass in new parameter to arena_get2.
15382 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15383 arena_get2.
15384 (__libc_malloc): Unify retrying after main arena failure with
15385 __libc_memalign version.
15386 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15387
f85fa270
L
153882012-08-09 H.J. Lu <hongjiu.lu@intel.com>
15389
15390 [BZ #14166]
15391 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15392 to __redirect_strstr.
15393 (__strstr_sse42): Use typeof __redirect_strstr.
15394 (__strstr_ia32): Likewise.
15395 (__libc_strstr): New prototype.
15396 (strstr): Renamed to ...
15397 (__libc_strstr): This.
15398 (strstr): New strong alias of __libc_strstr.
15399 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15400 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15401 __redirect_time.
15402 Include <time.h>.
15403 (__libc_time): New prototype.
15404 (time_ifunc): Replace time with __libc_time.
15405 (time): New strong alias and hidden definition of __libc_time.
15406 (__GI_time): Remove strong alias.
15407 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15408 Include <stddef.h>.
15409 (memmove): Redefined to __redirect_memmove.
15410 (__memmove_sse2): Use typeof __redirect_memmove.
15411 (__memmove_ssse3): Likewise.
15412 (__memmove_ssse3_back): Likewise.
15413 (__libc_memmove): New prototype.
15414 (memmove): Renamed to ...
15415 (__libc_memmove): This.
15416 (memmove): New strong alias of __libc_memmove.
15417
33b4a91e
MS
154182012-08-08 Mark Salter <msalter@redhat.com>
15419
15420 * elf/elf.h
15421 (R_MN10300_TLS_GD): Define.
15422 (R_MN10300_TLS_LD): Likewise.
15423 (R_MN10300_TLS_LDO): Likewise.
15424 (R_MN10300_TLS_GOTIE): Likewise.
15425 (R_MN10300_TLS_IE): Likewise.
15426 (R_MN10300_TLS_LE): Likewise.
15427 (R_MN10300_TLS_DTPMOD): Likewise.
15428 (R_MN10300_TLS_DTPOFF): Likewise.
15429 (R_MN10300_TLS_TPOFF): Likewise.
15430 (R_MN10300_SYM_DIFF): Likewise.
15431 (R_MN10300_ALIGN): Likewise.
15432 (R_MN10300_NUM): Update.
15433
b36137f1
JM
154342012-08-08 Joseph Myers <joseph@codesourcery.com>
15435
15436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15437 Remove.
15438
cdd915fd
RM
154392012-08-08 Roland McGrath <roland@hack.frob.com>
15440
a2433aac
RM
15441 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15442
cdd915fd
RM
15443 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15444 sysdeps/unix -> sysdeps/posix move.
15445 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15446
bf9b740a
AM
154472012-08-07 Allan McRae <allan@archlinux.org>
15448
15449 [BZ #14303]
15450 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15451 (SUNOS_CPP): Likewise.
15452 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15453 not found.
15454 (open_input): Call CPP using execvp.
15455
93df14ee
JM
154562012-08-07 Joseph Myers <joseph@codesourcery.com>
15457
15458 * sysdeps/unix/sysv/linux/kernel-features.h
15459 (__ASSUME_PROT_GROWSUPDOWN): Remove.
15460 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15461 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15462 (__ASSUME_WAITID_SYSCALL): Likewise.
15463 * sysdeps/unix/sysv/linux/dl-execstack.c
15464 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15465 code unconditional.
15466 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15467 conditional code.
15468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15469 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15470 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15471 code.
15472 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15473 unconditional.
15474 [__ASSUME_WAITID_SYSCALL]: Likewise.
15475 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15476
d34689de
RM
154772012-08-07 Roland McGrath <roland@hack.frob.com>
15478
a281decc
RM
15479 * sysdeps/unix/closedir.c: Renamed to ...
15480 * sysdeps/posix/closedir.c: ... here.
15481 * sysdeps/unix/dirfd.c: Renamed to ...
15482 * sysdeps/posix/dirfd.c: ... here.
15483 * sysdeps/unix/dirstream.h: Renamed to ...
15484 * sysdeps/posix/dirstream.h: ... here.
15485 * sysdeps/unix/fdopendir.c: Renamed to ...
15486 * sysdeps/posix/fdopendir.c: ... here.
15487 * sysdeps/unix/opendir.c: Renamed to ...
15488 * sysdeps/posix/opendir.c: ... here.
15489 * sysdeps/unix/readdir.c: Renamed to ...
15490 * sysdeps/posix/readdir.c: ... here.
15491 * sysdeps/unix/readdir_r.c: Renamed to ...
15492 * sysdeps/posix/readdir_r.c: ... here.
15493 * sysdeps/unix/rewinddir.c: Renamed to ...
15494 * sysdeps/posix/rewinddir.c: ... here.
15495 * sysdeps/unix/seekdir.c: Renamed to ...
15496 * sysdeps/posix/seekdir.c: ... here.
15497 * sysdeps/unix/telldir.c: Renamed to ...
15498 * sysdeps/posix/telldir.c: ... here.
15499 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15500 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15501 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15502 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15503
22895b47
RM
15504 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15505 * bits/fcntl.h: ... here.
15506
707a53b6
RM
15507 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15508 not 0.
15509 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15510 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15511 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15512 (struct flock): Move l_start, l_len to the beginning.
15513 Use __pid_t for l_pid.
15514 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15515 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15516 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15517 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15518 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15519 [__USE_LARGEFILE64] (struct flock64): New type.
15520 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15521
f0bd3e25
RM
15522 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15523 * bits/dirent.h: ... here.
15524
d34689de
RM
15525 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15526 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15527
6dad2c06
JM
155282012-08-07 Joseph Myers <joseph@codesourcery.com>
15529
15530 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15531 Change from 2.6.0 to 2.6.16.
15532 * sysdeps/unix/sysv/linux/configure: Regenerated.
15533 * sysdeps/unix/sysv/linux/kernel-features.h
15534 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15535 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15536 version.
15537 (__ASSUME_UTIMES): Likewise.
15538 (__ASSUME_CLONE_STOPPED): Remove.
15539 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15540 architectures, not kernel version.
15541 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15542 (__ASSUME_NO_CLONE_DETACHED): Likewise.
15543 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15544 (__ASSUME_WAITID_SYSCALL): Likewise.
15545 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15546 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15547 * README: State 2.6.16 as minimum Linux kernel version. Do not
15548 refer to older versions.
15549
03af9520
RM
155502012-08-06 Roland McGrath <roland@hack.frob.com>
15551
8e49df1d
RM
15552 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15553 Define alphasort64 as an alias.
15554 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15555 Define versionsort64 as an alias.
15556 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15557 Define scandir64 as an alias.
15558 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15559 Define scandirat64 as an alias.
15560 * dirent/alphasort64.c (alphasort64):
15561 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15562 * dirent/versionsort64.c: Likewise.
15563 * dirent/scandir64.c: Likewise.
15564 * dirent/scandirat64.c: Likewise.
15565 * sysdeps/wordsize-64/alphasort.c: File removed.
15566 * sysdeps/wordsize-64/alphasort64.c: File removed.
15567 * sysdeps/wordsize-64/scandir.c: File removed.
15568 * sysdeps/wordsize-64/scandir64.c: File removed.
15569 * sysdeps/wordsize-64/scandirat.c: File removed.
15570 * sysdeps/wordsize-64/scandirat64.c: File removed.
15571 * sysdeps/wordsize-64/versionsort.c: File removed.
15572 * sysdeps/wordsize-64/versionsort64.c: File removed.
15573 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15574 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15575 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15576 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15577 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15578 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15579 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15580 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15581
15582 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15583 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15584 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15585 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15586 [defined __arch64__ || defined __sparcv9]
15587 (__INO_T_MATCHES_INO64_T): New macro.
15588 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15589 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15590 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15591 * sysdeps/unix/sysv/linux/bits/dirent.h
15592 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15593 (_DIRENT_MATCHES_DIRENT64): New macro.
15594
03af9520
RM
15595 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15596 Define lockf64 as an alias.
15597 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15598 Define fseeko64 as an alias.
15599 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15600 Define ftello64 as an alias.
15601 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15602 Define _IO_fgetpos64 and fgetpos64 as aliases.
15603 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15604 Define _IO_fsetpos64 and fsetpos64 as aliases.
15605 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15606 Conditionalize body on this.
15607 * libio/fseeko64.c: Likewise.
15608 * libio/ftello64.c: Likewise.
15609 * libio/iofgetpos64.c: Likewise.
15610 * libio/iofsetpos64.c: Likewise.
15611 * sysdeps/wordsize-64/lockf.c: File removed.
15612 * sysdeps/wordsize-64/lockf64.c: File removed.
15613 * sysdeps/wordsize-64/fseeko.c: File removed.
15614 * sysdeps/wordsize-64/fseeko64.c: File removed.
15615 * sysdeps/wordsize-64/ftello.c: File removed.
15616 * sysdeps/wordsize-64/ftello64.c: File removed.
15617 * sysdeps/wordsize-64/iofgetpos.c: File removed.
15618 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15619 * sysdeps/wordsize-64/iofsetpos.c: File removed.
15620 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15621 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15622 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15623 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15624 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15625 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15626 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15627 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15628 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15629 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15630 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15631
15632 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15634 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15635 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15636 [defined __arch64__ || defined __sparcv9]
15637 (__OFF_T_MATCHES_OFF64_T): New macro.
15638 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15639 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15641 (__OFF_T_MATCHES_OFF64_T): New macro.
15642
c5757acd
L
156432012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15644
15645 * stdlib/secure-getenv.c (__secure_getenv): Replace
15646 GLIBC_2_16 with GLIBC_2_17.
15647
3a31811e
L
156482012-08-06 H.J. Lu <hongjiu.lu@intel.com>
15649
15650 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15651 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15652
faa2bccb
DM
156532012-08-03 David S. Miller <davem@davemloft.net>
15654
15655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15656
85fe1997
JM
156572012-08-03 Joseph Myers <joseph@codesourcery.com>
15658
15659 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15660 Remove.
15661 (__ASSUME_CORRECT_SI_PID): Likewise.
15662 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15663 (__ASSUME_TMPFS_NAME): Likewise.
15664 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15665 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15666 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15667 (HAVE_AUX_SECURE): Make definition unconditional.
15668 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15669 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15670
4f75b7a0
RM
156712012-08-03 Roland McGrath <roland@hack.frob.com>
15672
15673 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15674 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15675 * sysdeps/mach/hurd/eloop-threshold.h: New file.
15676 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15677 __eloop_threshold instead of SYMLOOP_MAX.
15678
15679 * sysdeps/generic/eloop-threshold.h: New file.
15680 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15681 of MAXSYMLINKS.
15682 * elf/chroot_canon.c (chroot_canon): Likewise.
15683
7aab07e4
JM
156842012-08-03 Joseph Myers <joseph@codesourcery.com>
15685
15686 [BZ #13717]
15687 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15688 Change to 2.6.0 everywhere.
15689 * sysdeps/unix/sysv/linux/configure: Regenerated.
15690 * sysdeps/unix/sysv/linux/kernel-features.h
15691 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15692 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15693 kernel versions.
15694 (__ASSUME_POSIX_TIMERS): Define unconditionally.
15695 (__ASSUME_FUTEX_REQUEUE): Remove.
15696 (__ASSUME_STATFS64): Define unconditionally.
15697 (__ASSUME_AT_SECURE): Likewise.
15698 (__ASSUME_CORRECT_SI_PID): Likewise.
15699 (__ASSUME_TGKILL): Define without depending on kernel version for
15700 i386.
15701 (__ASSUME_UTIMES): Likewise.
15702 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15703 kernel version.
15704 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15705 (__ASSUME_TMPFS_NAME): Likewise.
15706 * README: Update reference to Linux kernel versions.
15707
b67e9372
MP
157082012-08-02 Marek Polacek <polacek@redhat.com>
15709
1f529f7d 15710 [BZ# 14150]
b67e9372
MP
15711 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
15712 libc_cv_asm_type_prefix with %.
15713 * configure: Regenerated.
d2441631
RM
15714 * include/libc-symbols.h: Remove comment about
15715 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
15716 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15717 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15718 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15719 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15720 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15721 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15722 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15723 * elf/tst-unique2mod1.c: Likewise.
15724 * elf/tst-unique1mod2.c: Likewise.
15725 * elf/tst-unique1mod1.c: Likewise.
15726 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15727 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15728 Replace ASM_TYPE_DIRECTIVE with .type.
15729 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15730 * sysdeps/i386/sysdep.h: Likewise.
15731 * sysdeps/x86_64/sysdep.h: Likewise.
15732 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
15733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15734 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 15735 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
15736 * sysdeps/powerpc/powerpc32/sysdep.h:
15737 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
15738 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15739 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15740 * sysdeps/i386/fpu/e_powf.S: Likewise.
15741 * sysdeps/i386/fpu/e_expl.S: Likewise.
15742 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15743 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15744 * sysdeps/i386/fpu/e_pow.S: Likewise.
15745 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15746 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15747 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15748 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15749 * sysdeps/i386/fpu/e_log2.S: Likewise.
15750 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15751 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15752 * sysdeps/i386/fpu/e_powl.S: Likewise.
15753 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15754 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15755 * sysdeps/i386/fpu/e_logl.S: Likewise.
15756 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15757 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15758 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15759 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15760 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15761 * sysdeps/i386/fpu/e_log.S: Likewise.
15762 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15763 * sysdeps/i386/fpu/e_logf.S: Likewise.
15764 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15765 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15766 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15767 * sysdeps/i386/fpu/e_log10.S: Likewise.
15768 * sysdeps/i386/fpu/s_frexp.S: Likewise.
15769 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15770 * sysdeps/i386/fpu/s_asinh.S: Likewise.
15771 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15772 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15773 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15774 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15775 * sysdeps/i386/i686/strtok.S: Likewise.
15776 * sysdeps/i386/i386-mcount.S: Likewise.
15777 * sysdeps/i386/strtok.S: Likewise.
15778 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15779 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15780 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15781 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15782 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15783 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15784 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15785 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15786 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15787 * sysdeps/x86_64/_mcount.S: Likewise.
15788 * sysdeps/x86_64/strtok.S: Likewise.
15789 * sysdeps/sh/_mcount.S: Likewise.
15790
2747bf9a
RM
157912012-08-01 Roland McGrath <roland@hack.frob.com>
15792
15793 * libio/iofopen.c: Include <fcntl.h>.
15794 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15795 (_IO_fopen64, fopen64): Define as aliases.
15796 * libio/iofopen64.c: Include <fcntl.h>.
15797 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15798 Conditionalize body on this.
15799 * sysdeps/wordsize-64/iofopen.c: File removed.
15800 * sysdeps/wordsize-64/iofopen64.c: File removed.
15801
3fb791b8
MP
158022012-08-01 Marek Polacek <polacek@redhat.com>
15803
15804 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15805 Use dlfcn directly instead of a variable.
15806 (binfmt-subdir): Do not define.
15807 (dlfcn): Likewise.
15808
a9f1039f
JM
158092012-08-01 Joseph Myers <joseph@codesourcery.com>
15810
23bddc06
JM
15811 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15812 Remove all definitions.
15813 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15814 <kernel-features.h>.
15815 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15816 (miss_F_GETOWN_EX): Remove all definitions.
15817 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15818 macro definition.
15819 [!__ASSUME_FCNTL64]: Remove conditional code.
15820 [__ASSUME_FCNTL64]: Make code unconditional.
15821 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15822 <kernel-features.h>.
15823 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15824 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15825 (lockf64) [__NR_fcntl64]: Make code unconditional.
15826 (lockf64) [__ASSUME_FCNTL64]: Likewise.
15827
a9f1039f
JM
15828 * sysdeps/unix/sysv/linux/kernel-features.h
15829 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15830 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15831 Make code unconditional.
15832 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15833 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15835 [__NR_vfork]: Make code unconditional.
15836 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15837 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15839 [__NR_vfork]: Make code unconditional.
15840 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15841 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15842
09c0ee5f
RM
158432012-08-01 Roland McGrath <roland@hack.frob.com>
15844
48aec5b9
RM
15845 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15846 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15847
cd97c966
RM
15848 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15849 Define mkstemp64 as an alias.
3f55550c
RM
15850 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15851 Define mkstemps64 as an alias.
cd97c966
RM
15852 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15853 Define mkostemp64 as an alias.
b8625cfc
RM
15854 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15855 Define mkostemps64 as an alias.
cd97c966
RM
15856 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15857 Conditionalize body on this.
15858 * misc/mkostemp64.c: Likewise.
b8625cfc 15859 * misc/mkostemps64.c: Likewise.
3f55550c 15860 * misc/mkstemps64.c: Likewise.
cd97c966
RM
15861 * sysdeps/wordsize-64/mkstemp64.c: File removed.
15862 * sysdeps/wordsize-64/mkostemp64.c: File removed.
15863 * sysdeps/wordsize-64/mkostemp.c: File removed.
15864 * sysdeps/wordsize-64/mkstemp.c: File removed.
15865 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15866 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15867 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15868 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15869
09c0ee5f
RM
15870 [BZ #14138]
15871 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15872 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15873 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15874 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15875
15876 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15877 compat_symbol macros from <shlib-compat.h> rather than the underlying
15878 default_symbol_version and symbol_version macros, so that DEFAULT
15879 lines in shlib-versions are respected.
15880 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15881
7e66ee51
FW
158822012-08-01 Florian Weimer <fweimer@redhat.com>
15883
15884 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15885 Declare with warn_unused_result.
15886 (setgid, setregid, setegid, setresgid): Likewise.
15887 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15888 Likewise.
15889 * WUR-REPORT: Remove set*id functions.
15890
d2a54255
PT
158912012-07-31 Pino Toscano <toscano.pino@tiscali.it>
15892
15893 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15894
7ecdb005
RM
158952012-07-31 Roland McGrath <roland@hack.frob.com>
15896
b4180a5e 15897 [BZ #10191]
789bd351
RM
15898 * include/sys/socket.h (__libc_accept, __libc_accept4):
15899 Add attribute_hidden.
15900 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15901
40ce302d
RM
15902 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15903 use of PTR_MANGLE.
15904 * inet/getnetgrent_r.c (setup): Likewise.
15905
7ecdb005
RM
15906 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15907
e2eabb2c
DM
159082012-07-31 David S. Miller <davem@davemloft.net>
15909
15910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15911
d0419dbf
JM
159122012-07-31 Joseph Myers <joseph@codesourcery.com>
15913
15914 [BZ #13629]
15915 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15916 value between 1.0 and 2.0 and smaller part has absolute value less
15917 than 1.0.
15918 * math/s_clog10.c (__clog10): Likewise.
15919 * math/s_clog10f.c (__clog10f): Likewise.
15920 * math/s_clog10l.c (__clog10l): Likewise.
15921 * math/s_clogf.c (__clogf): Likewise.
15922 * math/s_clogl.c (__clogl): Likewise.
15923 * math/libm-test.inc (clog_test): Add more tests.
15924 (clog10_test): Likewise.
15925 * sysdeps/i386/fpu/libm-test-ulps: Update.
15926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15927
2bc13872
FW
159282012-07-31 Florian Weimer <fweimer@redhat.com>
15929
15930 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15931 Exit with zero in case no suitable GID is found, and write a
15932 message to standard error.
15933
bea9b193
RM
159342012-07-30 Roland McGrath <roland@hack.frob.com>
15935
15936 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15937 rather than to 1.
15938 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15939 (MAXPATHLEN): Removed.
15940 (NOGROUP, NODEV): New macros.
15941 (setbit, clrbit, isset, isclr): New macros.
15942 (howmany, roundup, powerof2): New macros.
15943 (DEV_BSIZE): New macro.
15944
15945 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15946 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15947
15948 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15949 definition on [!__NO_LONG_DOUBLE_MATH].
15950
15951 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15952 PTR_MANGLE and PTR_DEMANGLE.
15953
15954 * socket/accept4.c (accept4): Rename to __libc_accept4.
15955 Define accept4 as a weak alias.
15956
15957 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15958 on [_DIRENT_HAVE_D_TYPE].
15959 * io/ftw.c (ftw_dir): Likewise.
15960
15961 * io/xmknod.c (__xmknod): Don't check PATH for being null.
15962
15963 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15964
15965 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15966 Use the BSD numbers rather than the arbitrary ones we had.
15967 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15968 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15969 (SIGXCPU, SIGXFSZ): New macros.
15970 (_NSIG): Now 32.
15971
15972 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15973 initializer on [_LIBC_REENTRANT].
15974
15975 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15976 definitions inside [_POSIX_MAPPED_FILES].
15977
15978 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15979
15980 * dirent/opendir.c: Include <fcntl.h>.
15981
15982 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15983 (__libc_getspecific): Likewise.
15984 (__libc_key_create): Likewise.
15985
15986 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15987 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15988 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15989 (tmpfile64): Define as alias.
15990 * sysdeps/wordsize-64/tmpfile.c: File removed.
15991 * sysdeps/wordsize-64/tmpfile64.c: File removed.
15992 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15993 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15994
15995 * stdio-common/vfscanf.c: Include <stdbool.h>.
15996 * nss/makedb.c: Likewise.
15997 * stdio-common/_i18n_number.h: Likewise.
15998 * argp/argp-help.c: Likewise.
15999 * posix/wordexp.c: Likewise.
16000 * sysdeps/posix/spawni.c: Likewise.
16001 * nss/nss_files/files-initgroups.c: Likewise.
16002 * stdio-common/reg-modifier.c: Include <stdlib.h>.
16003 * nss/nss_files/files-initgroups.c: Likewise.
16004 * nss/nss_db/db-netgrp.c: Likewise.
16005 * nss/nss_db/db-initgroups.c: Likewise.
16006 * io/fchmodat.c: Include <sys/stat.h>.
16007
16008 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16009 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16010
16011 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16012 [HAVE_MMAP].
16013
16014 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16015 Add multiple inclusion protection.
16016
e5abc686
DM
160172012-07-27 David S. Miller <davem@davemloft.net>
16018
16019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16020
815e6fa3
GB
160212012-07-27 Gary Benson <gbenson@redhat.com>
16022
16023 [BZ #14298]
16024 * elf/rtld.c: Include <stap-probe.h>.
16025 (dl_main): Added static probes "init_start" and "init_complete".
16026 * elf/dl-load.c: Include <stap-probe.h>.
16027 (lose): Take new parameter "nsid".
16028 Added static probe "map_failed".
16029 (_dl_map_object_from_fd): Pass namespace id to lose.
16030 Added static probe "map_start".
16031 (open_verify): Pass namespace id to lose.
16032 * elf/dl-open.c: Include <stap-probe.h>.
16033 (dl_open_worker) Added static probes "map_complete", "reloc_start"
16034 and "reloc_complete".
16035 * elf/dl-close.c: Include <stap-probe.h>.
16036 (_dl_close_worker): Added static probes "unmap_start" and
16037 "unmap_complete".
16038 * elf/rtld-debugger-interface.txt: New file documenting the above.
16039
9f98c16c
RM
160402012-07-26 Roland McGrath <roland@hack.frob.com>
16041
16042 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16043 rather than a string variable.
16044 * sunrpc/rpc_main.c (h_output): Likewise.
16045 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16046
f3c22df3
PT
160472012-07-26 Pino Toscano <toscano.pino@tiscali.it>
16048
16049 * inet/check_native.c: New file.
16050
3129cfc6
JM
160512012-07-26 Joseph Myers <joseph@codesourcery.com>
16052
da865e95
JM
16053 [BZ #13629]
16054 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16055 if larger part has absolute value 1.0.
16056 * math/s_clog10.c (__clog10): Likewise.
16057 * math/s_clog10f.c (__clog10f): Likewise.
16058 * math/s_clog10l.c (__clog10l): Likewise.
16059 * math/s_clogf.c (__clogf): Likewise.
16060 * math/s_clogl.c (__clogl): Likewise.
16061 * math/libm-test.inc (clog_test): Add more tests.
16062 (clog10_test): Likewise.
16063 * sysdeps/i386/fpu/libm-test-ulps: Update.
16064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16065
3129cfc6
JM
16066 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16067 (pltexit): Likewise.
16068 (La_regs): Likewise.
16069 (La_retval): Likewise.
16070 (int_retval): Likewise.
16071 Update #error for removed macros to refer only to definitions in
16072 tst-audit.h.
16073 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16074 macro.
16075 (pltexit): Likewise.
16076 (La_regs): Likewise.
16077 (La_retval): Likewise.
16078 (int_retval): Likewise.
16079 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16080 macro.
16081 (pltexit): Likewise.
16082 (La_regs): Likewise.
16083 (La_retval): Likewise.
16084 (int_retval): Likewise.
16085 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16086 macro.
16087 (pltexit): Likewise.
16088 (La_regs): Likewise.
16089 (La_retval): Likewise.
16090 (int_retval): Likewise.
16091 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16092 macro.
16093 (pltexit): Likewise.
16094 (La_regs): Likewise.
16095 (La_retval): Likewise.
16096 (int_retval): Likewise.
16097 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16098 macro.
16099 (pltexit): Likewise.
16100 (La_regs): Likewise.
16101 (La_retval): Likewise.
16102 (int_retval): Likewise.
16103 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16104 macro.
16105 (pltexit): Likewise.
16106 (La_regs): Likewise.
16107 (La_retval): Likewise.
16108 (int_retval): Likewise.
16109 * sysdeps/generic/tst-audit.h: Update comment to refer only to
16110 macro definitions in tst-audit.h.
16111 * sysdeps/i386/tst-audit.h: New file.
16112 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16113 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16114 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16115 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16116 * sysdeps/sh/tst-audit.h: Likewise.
16117 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16118 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16119 * sysdeps/x86_64/tst-audit.h: Likewise.
16120
bfc07087
AJ
161212012-07-26 Andreas Jaeger <aj@suse.de>
16122
b1b2aaf8
AJ
16123 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16124 ptrace.
16125
16126 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16127 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16128 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16129 PTRACE_O_MASK.
16130 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16131 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16132 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16133
bfc07087
AJ
16134 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16135 value.
16136
16137 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16138 _sigsys.
16139 (si_call_addr, si_syscall, si_arch): Define new macro.
16140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16141 _sigsys.
16142 (si_call_addr, si_syscall, si_arch): Define new marcro.
16143 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16144 _sigsys.
16145 (si_call_addr, si_syscall, si_arch): Define new macro.
16146 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16147 _sigsys.
16148 (si_call_addr, si_syscall, si_arch): Define new macro.
16149
89b4b02f
JM
161502012-07-25 Joseph Myers <joseph@codesourcery.com>
16151
16152 [BZ #13717]
16153 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16154 Change to 2.4.21 where previously 2.4.1.
16155 * sysdeps/unix/sysv/linux/configure: Regenerated.
16156 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16157 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16158 Linux kernel version.
16159 (__ASSUME_STD_AUXV): Remove.
16160 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16161 kernel version.
16162 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16163 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16164 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16165 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16166 (__ASSUME_NETLINK_SUPPORT): Likewise.
16167 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16168 (__no_netlink_support): Remove conditional definition.
16169 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16170 Remove.
16171 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16172 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16173 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16174 (if_nameindex_ioctl): Remove.
16175 (if_nameindex_netlink): Do not handle __no_netlink_support.
16176 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16177 code.
16178 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16179 Remove conditional code.
16180 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16181 code.
16182 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16183 unconditional.
16184 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16185 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16186 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16187 Remove.
16188 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16189 [!__ASSUME_STD_AUXV]: Remove conditional code.
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16191 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16192 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16194 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16195 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16196 code.
16197 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16199 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16200 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16201 conditional code.
16202 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16204 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16205 code.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16207 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16208 conditional code.
16209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16210 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16211 code unconditional.
16212 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16213 conditional code.
16214 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16215 unconditional.
16216 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16217 conditional code.
16218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16219 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16220 unconditional.
16221 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16222 conditional code.
16223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16224 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16225 code unconditional.
16226 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16227 conditional code.
16228 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16229 unconditional.
16230 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16231 conditional code.
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16233 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16234 code unconditional.
16235 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16236 conditional code.
16237 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16238 unconditional.
16239 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16240 conditional code.
16241
842a39cd
AS
162422012-07-25 Andreas Schwab <schwab@linux-m68k.org>
16243
16244 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16245 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16246 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16247 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16248 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16249 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16250 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16251 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16252 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16253 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16254 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16255 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16256 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16257 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16258 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16259 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16260 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16261 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16262 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16264 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16265 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16266 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16267
84b3fd84
FW
162682012-07-25 Florian Weimer <fweimer@redhat.com>
16269
16270 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
16271 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16272 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16273 Introduce __libc_secure_getenv.
0c7936d5
FW
16274 * stdlib/Versions (2.17): Add secure_getenv
16275 (GLIBC_PRIVATE): Add __libc_secure_getenv.
16276 * stdlib/secure-getenv.c: Rename __secure_getenv to
16277 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
16278 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
16279 * stdlib/tst-secure-getenv.c: New.
16280 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
16281 * manual/startup.texi (Environment Access): Document
16282 secure_getenv.
84b3fd84
FW
16283 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16284 __libc_secure_getenv.
16285 * inet/ruserpass.c (ruserpass): Likewise.
16286 * malloc/mtrace.c (mtrace): Likewise.
16287 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 16288 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
16289 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16290 * sysdeps/posix/tempname.c: Likewise. Evaluate
16291 HAVE_SECURE_GETENV.
16292 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 16293 __secure_getenv to __libc_secure_getenv.
84b3fd84 16294 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
16295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16296 Likewise.
16297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16298 Likewise.
16299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16300 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16302 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 16306
56e49b71
JM
163072012-07-25 Joseph Myers <joseph@codesourcery.com>
16308
16309 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16310 (struct La_i86_retval): Likewise.
16311 (struct La_x86_64_regs): Likewise.
16312 (struct La_x86_64_retval): Likewise.
16313 (struct La_x32_regs): Likewise.
16314 (struct La_x32_retval): Likewise.
16315 (struct La_ppc32_regs): Likewise.
16316 (struct La_ppc32_retval): Likewise.
16317 (struct La_ppc64_regs): Likewise.
16318 (struct La_ppc64_retval): Likewise.
16319 (struct La_sh_regs): Likewise.
16320 (struct La_sh_retval): Likewise.
16321 (struct La_s390_32_regs): Likewise.
16322 (struct La_s390_32_retval): Likewise.
16323 (struct La_s390_64_regs): Likewise.
16324 (struct La_s390_64_retval): Likewise.
16325 (struct La_sparc32_regs): Likewise.
16326 (struct La_sparc32_retval): Likewise.
16327 (struct La_sparc64_regs): Likewise.
16328 (struct La_sparc64_retval): Likewise.
16329 (struct audit_ifaces): Remove architecture-specific pltenter and
16330 pltexit members.
16331 * sysdeps/i386/ldsodefs.h: New file.
16332 * sysdeps/powerpc/ldsodefs.h: Likewise.
16333 * sysdeps/s390/ldsodefs.h: Likewise.
16334 * sysdeps/sh/ldsodefs.h: Likewise.
16335 * sysdeps/sparc/ldsodefs.h: Likewise.
16336 * sysdeps/x86_64/ldsodefs.h: Likewise.
16337
354691b7
MP
163382012-07-25 Marek Polacek <polacek@redhat.com>
16339
16340 [BZ #6808]
16341 * math/libm-test.inc (yn_test): Add another test.
16342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16343 to ERANGE when the result is +-Inf.
16344 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16345 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16346 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16347 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16348
bf9e2071
JM
163492012-07-24 Joseph Myers <joseph@codesourcery.com>
16350
16351 * conform/data/time.h-data (NULL): Use macro-constant. Require
16352 equal to 0.
16353 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
16354 clock_t.
16355 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
16356
57633811
TS
163572012-07-23 Thomas Schwinge <thomas@codesourcery.com>
16358
16359 * configure.in <sysdeps resolving>: Correct printing
16360 Implies_before.
16361 * configure: Regenerate.
16362
c23c33b0
TS
163632012-07-22 Thomas Schwinge <thomas@codesourcery.com>
16364
16365 * math/w_ilogb.c: Include <limits.h>.
16366 * math/w_ilogbl.c: Likewise.
16367
b5982523
JM
163682012-07-20 Joseph Myers <joseph@codesourcery.com>
16369
16370 * manual/lang.texi (__va_copy): Document primarily as ISO C99
16371 va_copy. Document allowing for unavailable va_copy only as
16372 pre-C99 compatibility.
16373 * manual/string.texi (Copying and Concatenation): Use va_copy
16374 instead of __va_copy in concat example.
16375
ac4ea442
PT
163762012-07-20 Pino Toscano <toscano.pino@tiscali.it>
16377
16378 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16379 (__sendto): Use create_address_port. Initialize APORT and deallocate
16380 it if not null.
16381
f98eafbd
PT
16382 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16383 with O_NOLINK passed to __file_name_lookup.
16384
898c7aab
PT
16385 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16386 with O_NOLINK passed to __file_name_lookup.
16387
0ced335a
PT
16388 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16389 negative N or less than NGIDS.
16390
b3404dbd
PT
16391 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16392 type to string_t. Set ERANGE as errno and return it if NAME is not big
16393 enough. Use memcpy instead of strncpy.
16394
0f48659e
JM
163952012-07-20 Joseph Myers <joseph@codesourcery.com>
16396
16397 * elf/Makefile (check-data): Remove.
16398 (localplt.data): New vpath directive.
16399 ($(objpfx)check-localplt.out): Use localplt.data from vpath
16400 instead of $(check-data).
16401 * scripts/data/localplt-generic.data: Move to ...
16402 * sysdeps/generic/localplt.data: ... here.
16403 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16404 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16405 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16407 ... here.
16408 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16410 ... here.
16411 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16413 ... here.
16414 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16416 ... here.
16417 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16419 ... here.
16420 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16422 ... here.
16423
d37cbdaa
AZ
164242012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16425
16426 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16427 PPC32 and PPC64 files.
16428 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16429 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16430
46f85fc2
AK
164312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16432
16433 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16434 __makecontext_ret to ...
16435 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16436 ... here and call exit if uc_link is NULL. New file.
16437 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16438 __makecontext_ret.S.
16439 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16440 __makecontext_ret to ...
16441 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16442 ... here and call exit if uc_link is NULL. New file.
16443 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16444 __makecontext_ret.S.
16445
08f43f9b
AK
164462012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16447
16448 * elf/elf.h (R_390_IRELATIVE): New definition.
16449 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16450 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
16451 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16452 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16453 (elf_machine_lazy_rel): Likewise.
16454 * sysdeps/s390/dl-irel.h: New file.
16455 * sysdeps/s390/s390-64/memcpy.S: New asm code.
16456 * sysdeps/s390/s390-64/memset.S: New asm code.
16457 * sysdeps/s390/s390-64/memcmp.S: New asm code.
16458 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16459 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16460 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16461 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16462 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16463 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16464 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16465 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16466 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16467 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16468 * sysdeps/s390/s390-32/memcpy.S: New asm code.
16469 * sysdeps/s390/s390-32/memset.S: New asm code.
16470 * sysdeps/s390/s390-32/memcmp.S: New asm code.
16471
3b05db33
MP
164722012-07-17 Marek Polacek <polacek@redhat.com>
16473
16474 [BZ #14349]
16475 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16476 * sysdeps/s390/s390-64/configure.in: Likewise.
16477 * sysdeps/sparc/configure.in: Likewise.
16478 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16479 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16480 * sysdeps/i386/configure.in: Likewise.
16481 * sysdeps/x86_64/configure.in: Likewise.
16482 * sysdeps/sh/configure.in: Likewise.
16483 * sysdeps/s390/s390-32/configure: Regenerated.
16484 * sysdeps/s390/s390-64/configure: Likewise.
16485 * sysdeps/x86_64/configure: Likewise.
16486 * sysdeps/sh/configure: Likewise.
16487 * sysdeps/powerpc/powerpc64/configure: Likewise.
16488 * sysdeps/powerpc/powerpc32/configure: Likewise.
16489 * sysdeps/sparc/configure: Likwise.
16490 * sysdeps/i386/configure: Likewise.
16491
a66877c6
MP
16492 * elf/dl-open.c: Comment fixes.
16493
cfc82fd8
JM
164942012-07-17 Joseph Myers <joseph@codesourcery.com>
16495
bd29910a
JM
16496 * Makefile [CXX] (check-data): Remove.
16497 [CXX] (c++-types.data): New vpath directive.
16498 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16499 vpath. Do not allow for C++ type data being missing.
16500 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16501 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16502 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16503 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16504 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16505 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16506 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16508 ... here.
16509 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16511 ... here.
16512 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16514 ... here.
16515 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16517 ... here.
16518 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16520 ... here.
16521 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16523 ... here.
16524 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16526 ... here.
16527 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16529
cfc82fd8
JM
16530 * elf/tls-macros.h (TLS_LE): Move architecture-specific
16531 definitions to architecture-specific files.
16532 (TLS_IE): Likewise.
16533 (TLS_LD): Likewise.
16534 (TLS_GD): Likewise.
16535 * sysdeps/i386/tls-macros.h: New file.
16536 * sysdeps/powerpc/tls-macros.h: Likewise.
16537 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16538 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16539 * sysdeps/sh/tls-macros.h: Likewise.
16540 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16541 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16542 * sysdeps/x86_64/tls-macros.h: Likewise.
16543
f7db3170
TS
165442012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16545
07cbfc23
TS
16546 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16547 zero value for regular exit case.
16548
f7db3170
TS
16549 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16550 (__start_context): Preserve zero value for regular exit case.
16551
dc97c227
TS
165522012-07-17 Thomas Schwinge <thomas@codesourcery.com>
16553 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16554
16555 * manual/setjmp.texi (setcontext): Clarify normal process
16556 termination when uc_link is the null pointer.
16557 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16558 exit call.
16559
d0cd7d02
AS
165602012-07-16 Andreas Schwab <schwab@linux-m68k.org>
16561
16562 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16563 preprocessor. Test for each exception mask separately.
16564
dd318934
AJ
165652012-07-16 Andreas Jaeger <aj@suse.de>
16566
16567 * po/ru.po: Update from translation team.
16568
8048311a
JM
165692012-07-15 Joseph Myers <joseph@codesourcery.com>
16570
16571 * conform/data/string.h-data (NULL): Use macro-constant. Require
16572 equal to 0.
16573 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16574 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16575 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16576 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16577 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16578
b637d46e
AJ
165792012-07-13 Andreas Jaeger <aj@suse.de>
16580
16581 * po/fr.po: Update from translation team.
16582
541428fe
MP
165832012-07-12 Marek Polacek <polacek@redhat.com>
16584
16585 [BZ #14173]
16586 * math/libm-test.inc (yn_test): Add test for BZ #14173.
16587 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16588 loop condition.
16589
ec332e94
JM
165902012-07-12 Joseph Myers <joseph@codesourcery.com>
16591
16592 [BZ #13717]
16593 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16594 Change to 2.4.1 where previously 2.4.0.
16595 * sysdeps/unix/sysv/linux/configure: Regenerated.
16596 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16597 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16598 version.
16599 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16600 (__ASSUME_AT_CLKTCK): Remove.
16601 (__ASSUME_AT_PAGESIZE): Likewise.
16602 (__ASSUME_AT_XID): Likewise.
16603 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16604 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16605 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16606 unconditionally.
16607 (HAVE_AUX_PAGESIZE): Likewise.
16608 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16609 [__ASSUME_AT_CLKTCK]: Make code unconditional.
16610 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16611
7b6e99be
JB
166122012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
16613
16614 [BZ #14307]
16615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16616 the temporary buffer used to invoke __gethostbyname2_r,
16617 __gethostbyaddr_r and gethostbyname4_r to make room for struct
16618 host_data / struct gaih_addrtuple.
16619 * resolv/nss_dns/dns-host.c (global scope): Move definition of
16620 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16621 header file nss/nsswitch.h.
16622 * nss/nsswitch.h (global scope): Add definition of implementation
16623 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16624 resolv/nss_dns/dns-host.c).
16625
608404eb
AJ
166262012-07-11 Andreas Jaeger <aj@suse.de>
16627
16628 * po/fr.po: Update from translation team.
16629
71220aca
AJ
16630 * po/sv.po: Update from translation team
16631 * po/fr.po: Another update from translation team.
16632
28cfe843
AZ
166332012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16634
16635 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16636 for subnormals or multiply small sinh result by itself.
16637 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16639
6b90f981
DM
166402012-07-11 David S. Miller <davem@davemloft.net>
16641
16642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16643
c6825772
AS
166442012-07-10 Andreas Schwab <schwab@linux-m68k.org>
16645
16646 [BZ #14347]
16647 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16648 (INTERNAL_MARK): Shift it here.
16649
7b8e0d49
MP
166502012-07-10 Marek Polacek <polacek@redhat.com>
16651
16652 [BZ #14151]
16653 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
16654 libc_cv_asm_global_directive with .globl.
16655 * configure: Regenerated.
16656 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16657 with .globl.
16658 * sysdeps/i386/configure: Regenerated.
16659 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16660 with .globl.
16661 * sysdeps/x86_64/configure: Regenerated.
16662 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16663 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16664 * elf/tst-unique2mod2.c: Likewise.
16665 * elf/tst-unique2mod1.c: Likewise.
16666 * elf/tst-unique1mod2.c: Likewise.
16667 * elf/tst-unique1mod1.c: Likewise.
16668 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16669 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16670 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16671 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16672 * sysdeps/mach/sysdep.h: Likewise.
16673 * sysdeps/i386/sysdep.h: Likewise.
16674 * sysdeps/i386/i386-mcount.S: Likewise.
16675 * sysdeps/x86_64/_mcount.S: Likewise.
16676 * sysdeps/x86_64/sysdep.h: Likewise.
16677 * sysdeps/sh/_mcount.S: Likewise.
16678 * sysdeps/sh/sysdep.h: Likewise.
16679 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16680 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16681 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16682 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16683 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16684 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16685 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16686 * locale/localeinfo.h: Likewise.
16687 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16688 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16689
6c55cda3
RM
166902012-07-09 Roland McGrath <roland@hack.frob.com>
16691
16692 [BZ #14336]
16693 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16694 system".
16695 * manual/message.texi (The Uniforum approach): Likewise.
16696 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16697 (glibc iconv Implementation): Likewise.
16698
638a572e
JM
166992012-07-09 Joseph Myers <joseph@codesourcery.com>
16700
16701 [BZ #14337]
16702 * math/s_clog.c (__clog): Avoid scaling a value down where that
16703 could result in underflow.
16704 * math/s_clog10.c (__clog10): Likewise.
16705 * math/s_clog10f.c (__clog10f): Likewise.
16706 * math/s_clog10l.c (__clog10l): Likewise.
16707 * math/s_clogf.c (__clogf): Likewise.
16708 * math/s_clogl.c (__clogl): Likewise.
16709 * math/libm-test.inc (clog_test): Add more tests.
16710 (clog10_test): Likewise.
16711 * sysdeps/i386/fpu/libm-test-ulps: Update.
16712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16713
261f4859
AS
167142012-07-06 Andreas Schwab <schwab@linux-m68k.org>
16715
0abaf3e4
AS
16716 [BZ #14283]
16717 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16718 by 7 not 8 to examine high bit of fractional part.
16719
261f4859
AS
16720 [BZ #14042]
16721 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16722 for call to __mcount_internal.
16723 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16724 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16725 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16726
f17ac40d
JM
167272012-07-06 Joseph Myers <joseph@codesourcery.com>
16728
9ad63c23
JM
16729 [BZ #14154]
16730 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16731 approximation for values within 0x1p-13f of an odd multiple of
16732 pi/4.
16733 * math/libm-test.inc (tan_test): Do not allow spurious underflow
16734 exception. Add more tests.
16735 * sysdeps/i386/fpu/libm-test-ulps: Update.
16736
f17ac40d
JM
16737 [BZ #6778]
16738 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16739 inputs and return -1 for them. Do not check for +Inf in case not
16740 reachable for +Inf.
16741 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16742 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16743 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16744 and return -1 for them. Do not check for +Inf in case not
16745 reachable for +Inf.
16746 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16747 define.
16748 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16749 and return -1 for them. Do not check for +Inf in case not
16750 reachable for +Inf.
16751 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
16752 spurious underflow.
16753 * sysdeps/i386/fpu/libm-test-ulps: Update.
16754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16755
fb21f89b
MF
167562012-07-06 Mike Frysinger <vapier@gentoo.org>
16757
16758 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16759
cdfe2c5e
JM
167602012-07-05 Joseph Myers <joseph@codesourcery.com>
16761
16762 [BZ #14157]
16763 [BZ #14331]
16764 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16765 could result in spurious underflow. Scale down values above
16766 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16767 * math/s_csqrtf.c (__csqrtf): Likewise.
16768 * math/s_csqrtl.c (__csqrtl): Likewise.
16769 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
16770 spurious underflow.
16771 * sysdeps/i386/fpu/libm-test-ulps: Update.
16772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16773
70d35b67
AS
167742012-07-04 Andreas Schwab <schwab@linux-m68k.org>
16775
704bc459
AS
16776 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16777 xopen-msg.sed.
16778 * catgets/xopen-msg.awk: New file.
16779 * catgets/xopen-msg.sed: Removed.
16780
70d35b67
AS
16781 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16782 po2text.sed.
16783 * intl/po2test.awk: New file.
16784 * intl/po2test.sed: Removed.
16785
ca61cf32
JM
167862012-07-04 Joseph Myers <joseph@codesourcery.com>
16787
16788 [BZ #14328]
16789 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16790 or multiply small sinh result by itself.
16791 * math/s_ctanf.c (__ctanf): Likewise.
16792 * math/s_ctanh.c (__ctanh): Likewise.
16793 * math/s_ctanhf.c (__ctanhf): Likewise.
16794 * math/s_ctanhl.c (__ctanhl): Likewise.
16795 * math/s_ctanl.c (__ctanl): Likewise.
16796 * math/libm-test.inc (ctan_test_tonearest): New function.
16797 (ctan_test_towardzero): Likewise.
16798 (ctan_test_downward): Likewise.
16799 (ctan_test_upward): Likewise.
16800 (ctanh_test_tonearest): Likewise.
16801 (ctanh_test_towardzero): Likewise.
16802 (ctanh_test_downward): Likewise.
16803 (ctanh_test_upward): Likewise.
16804 (main): Call these new functions.
16805 * sysdeps/i386/fpu/libm-test-ulps: Update.
16806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16807
ca48a46a
MF
168082012-07-03 Mike Frysinger <vapier@gentoo.org>
16809
16810 * .gitignore: Delete /ports entry.
16811
9d63d37d
AJ
168122012-07-03 Andreas Jaeger <aj@suse.de>
16813
16814 * po/bg.po: Update from translation team.
16815 * po/cs.po: Likewise.
16816 * po/de.po: Likewise.
16817 * po/hr.po: Likewise.
16818 * po/nl.pl: Likewise.
16819 * po/pl.po: Likewise.
16820 * po/vi.po: Likewise.
16821
370ca3d2
JM
168222012-07-03 Joseph Myers <joseph@codesourcery.com>
16823
95f5a9a8
JM
16824 * Makeconfig [!+link] (+link-before-libc): New variable.
16825 [!+link] (+link-after-libc): Likewise.
16826 [!+link] (+link-tests): Likewise.
16827 [!+link] (+link): Define in terms of $(+link-before-libc) and
16828 $(+link-after-libc).
16829 [!+link-static] (+link-static-before-libc): New variable.
16830 [!+link-static] (+link-static-after-libc): Likewise.
16831 [!+link-static] (+link-static-tests): Likewise.
16832 [!+link-static] (+link-static): Define in terms of
16833 $(+link-static-before-libc) and $(+link-static-after-libc).
16834 [build-shared] (link-libc-before-gnulib): New variable.
16835 [build-shared] (link-libc-tests): Likewise.
16836 [build-shared] (link-libc): Define in terms of
16837 $(link-libc-before-gnulib).
16838 [!build-shared] (link-libc-tests): New variable.
16839 (link-libc-static-tests): New variable.
16840 [!gnulib] (gnulib-arch): New variable.
16841 [!gnulib] (gnulib-tests): Likewise.
16842 [!gnulib] (static-gnulib-arch): Likewise.
16843 [!gnulib] (static-gnulib-tests): Likewise.
16844 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
16845 Define with "=" instead of ":=".
16846 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
16847 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
16848 * Rules (binaries-all-notests): New variable.
16849 (binaries-all-tests): Likewise.
16850 (binaries-static-notests): Likewise.
16851 (binaries-static-tests): Likewise.
16852 (binaries-all): Define using $(binaries-all-notests) and
16853 $(binaries-all-tests).
16854 (binaries-static): Define using $(binaries-static-notests) and
16855 $(binaries-static-tests).
16856 (binaries-shared-tests): New variable.
16857 (binaries-shared-notests): Likewise.
16858 (binaries-shared): Remove variable.
16859 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16860 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16861 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16862 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16863 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16864 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16865 * elf/Makefile (sln-modules): New variable.
16866 (extra-objs): Add $(sln-modules:=.o).
16867 (ldconfig-modules): Add static-stubs.
16868 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16869 * elf/static-stubs.c: New file.
16870
7a845b2c
JM
16871 [BZ #14283]
16872 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16873 by 7 not 8 to examine high bit of fractional part. Use volatile
16874 variables when splitting into final array of floats if
16875 __FLT_EVAL_METHOD__ != 0.
16876 * math/libm-test.inc (cos_test): Add another test.
16877 (sin_test): Likewise.
16878 * sysdeps/i386/fpu/libm-test-ulps: Update.
16879
e2283f38
JM
16880 [BZ #14273]
16881 * math/libm-test.inc (cosh_test): Add more tests.
16882
370ca3d2
JM
16883 * version.h (RELEASE): Set to "development".
16884 (VERSION): Set to "2.16.90".
16885
ee9247c3
CD
168862012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
16887
16888 * NEWS: Update copyright. Remove last-updated date.
16889 Mention math library bug fixes and timezone data changes.
16890 * README: Mention GNU/Hurd, x32, and HPPA support status.
16891
4648c381
TS
168922012-06-28 Thomas Schwinge <thomas@codesourcery.com>
16893
16894 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16895
aac78a43
AJ
168962012-06-27 Andreas Jaeger <aj@suse.de>
16897
16898 * manual/contrib.texi (Contributors): Add Samuel Thibault.
16899
ed3dbfad
AJ
169002012-06-25 Andreas Jaeger <aj@suse.de>
16901
16902 * sysdeps/s390/fpu/libm-test-ulps: Update.
16903
4d0ee855
AS
169042012-06-23 Andreas Schwab <schwab@linux-m68k.org>
16905 Thomas Schwinge <thomas@codesourcery.com>
16906
16907 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16908 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16910 fanotify_mark.
16911
af1bce34
TS
169122012-06-23 Thomas Schwinge <thomas@codesourcery.com>
16913
a9fa33ba
TS
16914 * sysdeps/mach/start.c: Remove file.
16915 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16916 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16917 * sysdeps/sh/init-first.c: Likewise.
16918
58f902b8
TS
16919 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16920 registers for frame unwinding purposes, add CFI directives.
16921 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16922 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16923 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16924 Likewise.
16925
1518f58b
TS
16926 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16927 __fortify_fail returning.
16928 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16929
db9b5059
TS
16930 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16931 sysdeps/sh/____longjmp_chk.S.
16932 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16933 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16934 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16935 (gen-as-const-headers): Append sigaltstack-offsets.sym.
16936
967705fe
TS
16937 * sysdeps/sh/abort-instr.h: New file.
16938 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16939 process in case exit returns.
16940
a9def8c4
TS
16941 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16942 initialize the GOT register before use.
16943
2a649725
TS
16944 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16945 calculation of ARGC > 4.
16946
af1bce34
TS
16947 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16948 meaningful names to some local labels.
16949
d230f50a
KK
169502012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16951 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16952
16953 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16954 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16955 (__arch_compare_and_exchange_val_16_acq): Likewise.
16956 (__arch_compare_and_exchange_val_32_acq): Likewise.
16957 (atomic_exchange_and_add): Fix gUSA sequence.
16958 (atomic_add): Likewise.
16959 (atomic_add_negative): Likewise.
16960 (atomic_add_zero): Likewise.
16961 (atomic_bit_test_set): Likewise.
16962
0479b305
AS
169632012-06-22 Andreas Schwab <schwab@redhat.com>
16964
16965 [BZ #13579]
16966 * include/link.h (struct link_map): Add l_free_initfini.
16967 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16968 l_initfini.
16969 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16970 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16971 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16972 set.
16973
0e3933b9
CD
169742012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
16975
16976 * configure.in: Use AC_LANG_SOURCE.
16977 * configure: Regenerate.
16978
4248b1b1
RM
169792012-06-22 Roland McGrath <roland@hack.frob.com>
16980
16981 * configure.in (libc_cv_localstatedir): New substituted variable.
16982 * configure: Regenerated.
16983 * config.make.in (localstatedir): New variable, substituted from
16984 libc_cv_localstatedir.
16985 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16986 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16987 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16988 * sysdeps/gnu/configure: Regenerated.
16989
006dd861
JL
169902012-06-21 Jeff Law <law@redhat.com>
16991
16992 [BZ #14277]
16993 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16994 free. Simplify list management for _LIBC case.
16995
79662d42
JM
169962012-06-21 Joseph Myers <joseph@codesourcery.com>
16997
b7abb4bf
JM
16998 [BZ #14273]
16999 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17000 Clear sign bit of 64-bit integer value before comparing against
17001 overflow value.
17002
79662d42
JM
17003 * sysdeps/mach/configure: Regenerated.
17004
1f150908
L
170052012-06-21 H.J. Lu <hongjiu.lu@intel.com>
17006
17007 [BZ #14278]
17008 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17009
28363bbf
JL
170102012-06-21 Jeff Law <law@redhat.com>
17011
17012 [BZ #13882]
17013 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
17014 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 17015 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
17016 * elf/dl-open.c (dl_open_worker): Likewise.
17017
09615db4
CD
170182012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
17019
17020 * scripts/list-sources.sh: Scan PORTS for translations.
17021 * po/libc.pot: Regenerated.
17022
2174c6dd
AJ
170232012-06-21 Andreas Jaeger <aj@suse.de>
17024
17025 [BZ #12194]
17026 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17027 warning.
17028 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17029 * bits/byteswap-16.h (__bswap_16): Likewise.
17030 * bits/byteswap.h (__bswap_constant_16): Likewise.
17031
3ee947b1
L
170322012-06-18 H.J. Lu <hongjiu.lu@intel.com>
17033
17034 [BZ #14117]
a2f34833
L
17035 * sysdeps/i386/fpu_control.h: Removed.
17036 * sysdeps/x86_64/fpu_control.h: Moved to ...
17037 * sysdeps/x86/fpu_control.h: Here.
17038
3ee947b1
L
17039 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17040 (_FPU_SETCW): Likewise.
17041
ed1825f8
L
170422012-06-15 H.J. Lu <hongjiu.lu@intel.com>
17043
25f1282a
L
17044 [BZ #14117]
17045 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17046 * sysdeps/x86/fpu/bits/mathinline.h: This.
17047 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17048
ed1825f8
L
17049 [BZ #14050]
17050 [BZ #14117]
17051 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17052 functions if __x86_64__ is defined.
17053
36d54b74
CLT
170542012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
17055
17056 * string/endian.h: Add !__ASSEMBLER__ condition for including
17057 conversion interfaces.
17058
10285c21
JM
170592012-06-15 Joseph Myers <joseph@codesourcery.com>
17060
17061 [BZ #14241]
17062 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17063 of ABS(x) in calculating zero to negative powers other than odd
17064 integers.
17065 * math/libm-test.inc (pow_test): Add more tests.
17066
06c5abbd
AJ
170672012-06-15 Andreas Jaeger <aj@suse.de>
17068
17069 * manual/contrib.texi (Contributors): Update entry of Liubov
17070 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17071 Machado Filho.
17072
a3aeac40
CH
170732012-06-15 Cyril Hrubis <metan@ucw.cz>
17074
17075 * string/string.h: Add __wur to GNU version of strerror_r.
17076
49bdf4c1
L
170772012-06-14 H.J. Lu <hongjiu.lu@intel.com>
17078
17079 [BZ #14229]
17080 * string/Makefile (tests): Add tst-strtok_r.
17081 * string/tst-strtok_r.c: New file.
17082 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17083 RAX_LP/RDX_LP on SAVE_PTR.
17084
834f9b8d
RM
170852012-06-14 Roland McGrath <roland@hack.frob.com>
17086
17087 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17088
75fa1921
JM
170892012-06-14 Joseph Myers <joseph@codesourcery.com>
17090
17091 * libm_test.inc (csqrt_test): Allow more spurious underflow
17092 exceptions.
17093 (j0_test): Likewise.
17094 (j1_test): Likewise.
17095 (y0_test): Likewise.
17096 (y1_test): Likewise.
17097
771766df
CD
170982012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
17099
17100 * po/Makefile (libc.pot): Use UTF-8 charset.
17101
ceb9e56b
PP
171022012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
17103
17104 [BZ #14210]
17105 Suppress sign-conversion warning from FD_SET.
17106 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17107 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17108 not unsigned long int.
17109 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17110
ddb28975
L
171112012-06-12 H.J. Lu <hongjiu.lu@intel.com>
17112
17113 [BZ #14050]
17114 [BZ #14117]
17115 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17116 __extern_always_inline instead of __extern_inline.
17117 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17118 (__signbit): Likewise.
17119 (__signbitl): Support C++ namespace.
17120 (lrintf): New inline function.
17121 (lrint): Likewise.
17122 (llrintf): Likewise.
17123 (llrint): Likewise.
17124 (fmaxf): Likewise.
17125 (fmax): Likewise.
17126 (fminf): Likewise.
17127 (fmin): Likewise.
17128 (rint): Likewise.
17129 (rintf): Likewise.
17130 (ceil): Likewise.
17131 (ceilf): Likewise.
17132 (floor): Likewise.
17133 (floorf): Likewise.
17134 (nearbyint): Likewise.
17135 (nearbyintf): Likewise.
17136
d7b4fb26
TS
171372012-06-12 Thomas Schwinge <thomas@codesourcery.com>
17138
17139 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17140 non-default versions.
17141
eb55f5c2
RM
171422012-06-11 Roland McGrath <roland@hack.frob.com>
17143
17144 [BZ #14218]
17145 * manual/argp.texi (Argp): Reword argp_parse description slightly.
17146
366af02c
TS
171472012-06-09 Thomas Schwinge <thomas@codesourcery.com>
17148
99ff6e5c
TS
17149 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17150 (FE_UPWARD, FE_DOWNWARD): Don't define.
17151 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17152 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17153
366af02c
TS
17154 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17155 reading it.
17156 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17157 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17158
793ea851
KK
171592012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17160
17161 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17163 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17164 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17165
a728a38f
L
171662012-06-06 H.J. Lu <hongjiu.lu@intel.com>
17167
17168 [BZ #14117]
c08010c7
L
17169 * sysdeps/i386/fpu/bits/fenv.h: Removed.
17170 * sysdeps/i386/fpu/Implies: New file.
17171 * sysdeps/x86_64/fpu/Implies: Likewise.
17172 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17173 * sysdeps/x86/fpu/bits/fenv.h: This.
17174
a728a38f
L
17175 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17176 __SSE_MATH__.
17177
6e230d11
SP
171782012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17179
17180 [BZ #14134]
17181 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17182 character 0xffff that matches the last element of the
17183 conversion table.
17184
1b671feb
AZ
171852012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17186
17187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17188 fmodl commit.
17189
6043738b
AZ
171902012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17191
17192 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17193 values higher than 25.6283.
17194
34ae0b32
AZ
171952012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17196
17197 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17198 subnormal exponent extraction and add some __builtin_expect.
17199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17200 Fix for subnormal mantissa calculation.
17201
1214ec8f
MF
172022012-06-04 Mike Frysinger <vapier@gentoo.org>
17203
17204 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17205 cpu2 is -1 and errno is not ENOSYS.
17206
f3d1f93c
L
172072012-06-04 H.J. Lu <hongjiu.lu@intel.com>
17208
17209 [BZ #14117]
0e4a3cd7
L
17210 * sysdeps/i386/i486/bits/string.h: Renamed to ...
17211 * sysdeps/x86/bits/string.h: This.
17212 * sysdeps/x86_64/bits/string.h: Removed.
17213
6704c645
L
17214 * sysdeps/i386/i486/bits/string.h: Define inline functions only
17215 if not compiling for x86-64, but compiling for >= i486.
17216
48495318
L
17217 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17218 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17219
14adcbfc
L
17220 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17221 New macro from Linux kernel 3.4.0.
17222 (FP_XSTATE_MAGIC2): Likewise.
17223 (FP_XSTATE_MAGIC2_SIZE): Likewise.
17224 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17225 (struct _fpx_sw_bytes): New struct.
17226 (struct _xsave_hdr): Likewise.
17227 (struct _ymmh_state): Likewise.
17228 (struct _xstate): Likewise.
17229
68e408ab
L
17230 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17231 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17232 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17233 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17234 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17235 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17236
f3d1f93c
L
17237 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17238 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17239 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17240 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17241 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17242 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17243
d9dc34cd
TMQMF
172442012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17245
17246 [BZ #13743]
17247 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17248 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17249 (sysdep_headers): Include sys/platform/ppc.h.
17250 * sysdeps/powerpc/test-gettimebase.c: Test for
17251 __ppc_get_timebase() to catch future ISA opcode/insn changes.
17252 * manual/Makefile (appendices): Include platform.texi.
17253 * manual/contrib.texi (Contributors): Update @node pointers.
17254 * manual/maint.texi (Maintenance): Likewise.
17255 (Platform): New node.
17256 * manual/platform.texi: New file. Document the new features.
17257
4af3879c
SP
172582012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17259 Jakub Jelinek <jakub@redhat.com>
17260
17261 [BZ #14188]
17262 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17263 where __builtin_expect is unavailable.
17264
2fd6ff13
DM
172652012-06-03 David S. Miller <davem@davemloft.net>
17266
17267 * stdlib/longlong.h: Updated from GCC.
17268
173f7220
AS
172692012-06-02 Andreas Schwab <schwab@linux-m68k.org>
17270
17271 [BZ #14042]
17272 * sysdeps/powerpc/powerpc32/mcount.c: New file.
17273 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17274 __mcount_internal.
17275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17276 (GLIBC_2.16): Likewise.
17277
f34a1c6f
L
172782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17279
17280 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17281
88a4576f
JM
172822012-06-01 Joseph Myers <joseph@codesourcery.com>
17283
ea32bcdd
JM
17284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17285 (default-abi): New variable.
17286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17287 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17288 variable.
17289 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17290 Likewise.
17291 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17292 Likewise.
17293 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17294 Likewise.
17295
88a4576f
JM
17296 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17297 definition. Document in comment.
17298
402fe938
DM
172992012-06-01 David S. Miller <davem@davemloft.net>
17300
17301 * stdlib/longlong.h: Updated from GCC.
17302
3553723f
L
173032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17304
17305 [BZ #14117]
3bd872c4
L
17306 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17307 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17308 sys/debugreg.h sys/io.h here.
17309 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17310 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17311 sys/io.h.
17312 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17313 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17314 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17315 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17316 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17317 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17318
3553723f
L
17319 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17320 Define only if __x86_64__ is defined.
17321
4842e4fe
JM
173222012-06-01 Joseph Myers <joseph@codesourcery.com>
17323
c5bfe3d5
JM
17324 [BZ #14048]
17325 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17326 Use int64_t for variable i.
17327 * math/libm-test.inc (fmod_test): Add more tests.
17328
4842e4fe
JM
17329 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17330 z computation is not scheduled after fetestexcept.
17331 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17332 Use math_force_eval instead of asm to ensure calculation scheduled
17333 before exception test.
17334 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17335 Ensure a1 + u.d computation is not scheduled after fetestexcept.
17336
efb73488
AJ
173372012-06-01 Aurelien Jarno <aurelien@aurel32.net>
17338
17339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17340 computation is not scheduled after fetestexcept.
17341
29bcce7c
L
173422012-06-01 H.J. Lu <hongjiu.lu@intel.com>
17343
17344 [BZ #14117]
17345 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17346 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17347
73a68f94
AZ
173482012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17349
17350 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17351 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17352
67b6df78
L
173532012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17354
edf2933a 17355 [BZ #14117]
ebc64a18
L
17356 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17357 <bits/wordsize.h>.
17358 (__WCHAR_MIN): Support __WORDSIZE == 64.
17359 (__WCHAR_MAX): Likewise.
17360
edf2933a
L
17361 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17362 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17363
57c6cf40
L
17364 [BZ #14183]
17365 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17366 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17367
67b6df78 17368 [BZ #14117]
8eb6281e
L
17369 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17370 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17371
aac639f4
L
17372 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17373 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17374
67b6df78
L
17375 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17376 Defined to 1 if __x86_64__ isn't defined.
17377 (_STAT_VER_LINUX_OLD): New.
17378 (st_atime): Remove duplicate.
17379 (st_mtime): Likewise.
17380 (st_ctime): Likewise.
17381
1c2cfe81
DM
173822012-05-31 David S. Miller <davem@davemloft.net>
17383
17384 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17385 entries.
17386
5be8418c
AS
173872012-06-01 Andreas Schwab <schwab@linux-m68k.org>
17388
e7725326
AS
17389 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17390 gen-libm-test.pl.
17391
5be8418c
AS
17392 [BZ #14132]
17393 * elf/dl-reloc.c: Include <_itoa.h>.
17394 (_dl_reloc_bad_type): Remove use of INTUSE.
17395 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17396 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17397 * stdio-common/psiginfo.c (psiginfo): Likewise.
17398 * stdio-common/psignal.c (psignal): Likewise.
17399 * string/strsignal.c (strsignal): Likewise.
17400 * include/signal.h (_sys_siglist): Declare hidden proto.
17401 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
17402 INTVARDEF with libc_hidden_data_def.
17403 * stdio-common/itoa-udigits.c: Likewise.
17404 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17405 (_itoa_lower_digits_internal): Remove declaration.
17406 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17407 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17408 (_sys_sigabbrev_internal): Remove aliases.
17409 (_sys_siglist): Define hidden alias.
17410
507352f1
MT
174112012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
17412
17413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17414 bits/sysctl.h.
17415
42bbb1c3
L
174162012-05-31 H.J. Lu <hongjiu.lu@intel.com>
17417
17418 [BZ #14117]
6bd784b6
L
17419 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17420 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17421
8bca20f0
L
17422 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17423 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17424 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17425 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17426 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17427 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17428
f9e890a9
L
17429 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17430 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17431 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17432
471101a1
L
17433 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17434 with __addr.
17435 (insw): Likewise.
17436 (insl): Likewise.
17437 (outsb): Likewise.
17438 (outsw): Likewise.
17439 (outsl): Likewise.
17440
6451c862
L
17441 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17442 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17443 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17444
a254b8c9
L
17445 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17446 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17447 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17448 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17449 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17450 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17451
b8dfdd92
L
17452 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17453 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17454
578cd270
L
17455 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17456 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17457
de662f5f
L
17458 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17459 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17460 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17461
25653439
L
17462 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17463 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17464 to ...
17465 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17466
6bad24a0
L
17467 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17468 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17469 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17470
42bbb1c3
L
17471 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17472 for x86-64.
17473 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17474
2d10d547
JM
174752012-05-31 Joseph Myers <joseph@codesourcery.com>
17476
17477 * math/math.h (M_El): Use two more decimal places.
17478 (M_LOG2El): Likewise.
17479 (M_LOG10El): Likewise.
17480 (M_LN2l): Likewise.
17481 (M_LN10l): Likewise.
17482 (M_PIl): Likewise.
17483 (M_PI_2l): Likewise.
17484 (M_PI_4l): Likewise.
17485 (M_1_PIl): Likewise.
17486 (M_2_PIl): Likewise.
17487 (M_2_SQRTPIl): Likewise.
17488 (M_SQRT2l): Likewise.
17489 (M_SQRT1_2l): Likewise.
17490
f230c29b
DM
174912012-05-31 David S. Miller <davem@davemloft.net>
17492
17493 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17494 values between float registers.
17495 * sysdeps/sparc/sparc64/memset.S: Likewise.
17496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17497
fed806c3
MF
174982012-05-31 Mike Frysinger <vapier@gentoo.org>
17499
17500 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17501 -D_FORTIFY_SOURCE=1.
17502 (CPPFLAGS-tst-longjmp_chk.c): Define.
17503 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17504 (CPPFLAGS-tst-longjmp_chk2.c): Define.
17505 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17506 CFLAGS-tst-wchar-h.c.
17507
30917259
MP
175082012-05-31 Marek Polacek <polacek@redhat.com>
17509
17510 [BZ #14132]
17511 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17512 __endmntent_internal): Remove declaration.
17513 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17514 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17515 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17516
1c58d5dc
DM
175172012-05-30 David S. Miller <davem@davemloft.net>
17518
17519 * sysdeps/sparc/sparc32/soft-fp/q_util.c
17520 (___Q_simulate_exceptions): Use real FP ops rather than writing
17521 into the %fsr.
17522 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17523 Likewise.
17524
7dc00e0d
L
175252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17526
17527 [BZ #14117]
0bd53985
L
17528 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17529 * sysdeps/x86/bits/xtitypes.h: This.
17530
3a257e66
L
17531 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17532 * sysdeps/x86/bits/wordsize.h: This.
17533
62f62904
L
17534 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17535 * sysdeps/x86/bits/huge_vall.h: This.
17536
404fe9d9
L
17537 * sysdeps/i386/bits/select.h: Removed.
17538 * sysdeps/x86_64/bits/select.h: Renamed to ...
17539 * sysdeps/x86/bits/select.h: This.
17540
d48d0446
L
17541 * sysdeps/i386/bits/setjmp.h: Removed.
17542 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17543 * sysdeps/x86/bits/setjmp.h: This.
17544
7dc00e0d
L
17545 * sysdeps/i386/bits/mathdef.h: Removed.
17546 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17547 * sysdeps/x86/bits/mathdef.h: This.
17548
03277f8f
AS
175492012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17550
17551 [BZ #14132]
17552 * include/sys/socket.h (__connect_internal)
17553 (__libc_sa_len_internal): Remove declaration.
17554 (__connect, __libc_sa_len): Declare hidden_proto.
17555 (SA_LEN): Remove use of INTUSE.
17556 * socket/connect.c: Add libc_hidden_def.
17557 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17558 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17559 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17560 alias.
17561 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17562 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17563 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17564 of adding _internal alias.
17565
13764867
L
175662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17567
17568 [BZ #14117]
6bd97696
L
17569 * sysdeps/i386/bits/link.h: Removed.
17570 * sysdeps/i386/bits/linkmap.h: Likewise.
17571 * sysdeps/x86_64/bits/link.h: Renamed to ...
17572 * sysdeps/x86/bits/link.h: This.
17573 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17574 * sysdeps/x86/bits/linkmap.h: This.
17575
f726f0bb
L
17576 * sysdeps/i386/bits/endian.h: Removed.
17577 * sysdeps/x86_64/bits/endian.h: Renamed to ...
17578 * sysdeps/x86/bits/endian.h: This.
17579
13764867
L
17580 * sysdeps/i386/bits/byteswap.h: Removed.
17581 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17582 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17583 * sysdeps/x86/bits/byteswap.h: This.
17584 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17585 * sysdeps/x86/bits/byteswap-16.h: This.
17586 * sysdeps/i386/Implies: Add x86.
17587 * sysdeps/x86_64/Implies: Likewise.
17588
ae251b0b
DM
175892012-05-30 David S. Miller <davem@davemloft.net>
17590
17591 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17592 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17593 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17594 (FP_TRAPPING_EXCEPTIONS): Define.
17595 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17596 (FP_TRAPPING_EXCEPTIONS): Define.
17597 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17598 subnormals only when inexact has been signalled or underflow
17599 exceptions are enabled.
17600 (_FP_PACK_CANONICAL): Likewise.
17601
d5c90867
L
176022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17603
17604 [BZ #14183]
17605 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17606 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17607
63f1549e
RH
176082012-05-30 Richard Henderson <rth@twiddle.net>
17609
8d8f2279
RH
17610 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17611 with #ifndef NOT_IN_libc.
17612
63f1549e
RH
17613 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
17614 marked to avoid plt entry.
17615
0ab0291b
L
176162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
17617
17618 [BZ #14112]
17619 * Makeconfig (default-abi): New macro.
17620 (abi-includes): Likewise.
17621 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
17622 $(abi-$(default-abi)-lib-soname) for soname if defined.
17623 ($(common-objpfx)gnu/lib-names.stmp): Generate from
17624 abi-variants.
17625 * Makefile (installed-stubs): Likewise.
17626 * include/stubs-biarch.h: Removed.
17627 * scripts/lib-names.awk: Only handle one library at a time.
17628 * scripts/soversions.awk: Remove WORDSIZE support.
17629 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17630 entries.
17631 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17632 Removed.
17633 (syscall-list-default-condition): Likewise.
17634 (syscall-list-default-condition): Likewise.
17635 (syscall-list-includes): Likewise.
17636 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17637 syscall-list-* with abi-*. Handle undefined abi-variants.
17638 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17639 * sysdeps/unix/sysv/linux/i386/Implies: New file.
17640 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17641 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17642 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17643 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17644 Removed.
17645 (syscall-list-32-options): Likewise.
17646 (syscall-list-32-condition): Likewise.
17647 (syscall-list-64-options): Likewise.
17648 (syscall-list-64-condition): Likewise.
17649 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17650 macro.
17651 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17652 Renamed to ...
17653 (abi-*): This.
17654 (abi-64-ld-soname): New macro.
17655 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17656 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17657 Renamed to ...
17658 (abi-*): This.
17659 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17660 * sysdeps/x86_64/x32/shlib-versions: Likewise.
17661
4da0431d
JM
176622012-05-30 Joseph Myers <joseph@codesourcery.com>
17663
3a85279c
JM
17664 * sysdeps/unix/sysv/linux/kernel-features.h
17665 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17666 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17667 include <kernel-features.h>.
17668 [!__NR_ftruncate64]: Remove conditional code.
17669 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17670 [__NR_ftruncate64]: Make code unconditional.
17671 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17672 * sysdeps/unix/sysv/linux/truncate64.c: Do not
17673 include <kernel-features.h>.
17674 [!__NR_ftruncate64]: Remove conditional code.
17675 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17676 [__NR_ftruncate64]: Make code unconditional.
17677 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17679 include <kernel-features.h>.
17680 [!__NR_ftruncate64]: Remove conditional code.
17681 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17682 [__NR_ftruncate64]: Make code unconditional.
17683 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17685 include <kernel-features.h>.
17686 [!__NR_ftruncate64]: Remove conditional code.
17687 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17688 [__NR_ftruncate64]: Make code unconditional.
17689 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17690
4da0431d
JM
17691 * configure.in (libc_cv_fpie): Weaken to a compile test using
17692 LIBC_TRY_CC_OPTION.
17693 * configure: Regenerated.
17694
11ef492c
AK
176952012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17696
17697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17701 Refreshed.
17702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17708 Refreshed.
17709
d66ef399
DM
177102012-05-27 David S. Miller <davem@davemloft.net>
17711
17712 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17713 (___Q_zero): New.
17714 (__Q_simulate_exceptions): Return void. Change to simulate
17715 exceptions by writing into the %fsr.
17716 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17717 (__Qp_handle_exceptions): Likewise.
17718 (numbers): Delete.
17719 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17720 __Qp_handle_exceptions.
17721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17722 __Qp_handle_exceptions.
17723 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17724 as unused and give dummy FP_RND_NEAREST initializer.
17725 (FP_INHIBIT_RESULTS): Define.
17726 (___Q_simulate_exceptions): Update declaration.
17727 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17728 formatting.
17729 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17730 as unused and give dummy FP_RND_NEAREST initializer.
17731 (__Qp_handle_exceptions): Update declaration.
17732 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17733 formatting.
17734
04fb54b5
TS
177352012-05-27 Thomas Schwinge <thomas@codesourcery.com>
17736
17737 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17738 the temporary FPU control word.
17739 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17740 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17741 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17742 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17743 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17744 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17745 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17746 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17747 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17748 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17749 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17750
3f99608f
KK
177512012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17752
17753 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17754 fields.
17755
65a4de4e
CLT
177562012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
17757
17758 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17759 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17760 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17761 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17762 Likewise.
17763 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17764 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17765 Likewise.
17766
15749d40
UD
177672012-05-27 Ulrich Drepper <drepper@gmail.com>
17768
17769 * po/h.po: Update from translation team.
17770
25dbcb27
AS
177712012-05-26 Andreas Schwab <schwab@linux-m68k.org>
17772
3d3f8e55
AS
17773 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17774
25dbcb27
AS
17775 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17776 handling of denormals.
17777 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17778 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17779 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17780 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17781 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17782 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17783 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17784 Likewise.
17785
7ad47a80 177862012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
17787
17788 [BZ #14152]
17789 * math/libm-test.inc (fma_test): Don't always expect underflow
17790 exception.
17791
9c6ea9fa
SP
177922012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17793
17794 [BZ #12416]
17795 * elf/tst-execstack.c: Include stackinfo.h.
17796 (do_test): Adjust test case to ensure that pthread_getattr_np
17797 behaviour remains the same after marking stack executable.
17798
a8239222
JM
177992012-05-25 Joseph Myers <joseph@codesourcery.com>
17800
17801 * sysdeps/unix/sysv/linux/kernel-features.h
17802 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17803 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17804 kernel-features.h.
17805 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17806 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17807 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17808 kernel-features.h.
17809 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17810 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17811
918b5606
L
178122012-05-25 H.J. Lu <hongjiu.lu@intel.com>
17813
17814 * configure.in: Define the default includes to being none.
17815 * configure: Regenerated.
17816
3a097cc7
RM
178172012-05-25 Roland McGrath <roland@hack.frob.com>
17818
8422c9a5
RM
17819 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17820 * sysdeps/x86_64/setjmp.S: Likewise.
17821 * sysdeps/i386/bsd-setjmp.S: Likewise.
17822 * sysdeps/i386/bsd-_setjmp.S: Likewise.
17823 * sysdeps/i386/setjmp.S: Likewise.
17824 * sysdeps/i386/__longjmp.S: Likewise.
17825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17826 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17827
3a097cc7
RM
17828 * include/stap-probe.h: New file.
17829 * configure.in: Handle --enable-systemtap.
17830 * configure: Regenerated.
17831 * config.h.in (USE_STAP_PROBE): New #undef.
17832 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17833 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17834 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17835
21708942
JM
178362012-05-25 Joseph Myers <joseph@codesourcery.com>
17837
17838 [BZ #13717]
17839 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17840 to 2.4.0 where earlier.
17841 * sysdeps/unix/sysv/linux/configure: Regenerated.
17842 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17843 <kernel-features.h>.
17844 [__ASSUME_32BITUIDS]: Make code unconditional.
17845 [!__ASSUME_32BITUIDS]: Remove conditional code.
17846 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17847 <kernel-features.h>.
17848 [__ASSUME_32BITUIDS]: Make code unconditional.
17849 [!__ASSUME_32BITUIDS]: Remove conditional code.
17850 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17851 [__ASSUME_32BITUIDS]: Make code unconditional.
17852 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17853 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17854 <kernel-features.h>.
17855 [__ASSUME_32BITUIDS]: Make code unconditional.
17856 [!__ASSUME_32BITUIDS]: Remove conditional code.
17857 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17858 <kernel-features.h>.
17859 [__ASSUME_32BITUIDS]: Make code unconditional.
17860 [!__ASSUME_32BITUIDS]: Remove conditional code.
17861 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17862 <kernel-features.h>.
17863 [__ASSUME_32BITUIDS]: Make code unconditional.
17864 [!__ASSUME_32BITUIDS]: Remove conditional code.
17865 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17866 <kernel-features.h>.
17867 [__ASSUME_32BITUIDS]: Make code unconditional.
17868 [!__ASSUME_32BITUIDS]: Remove conditional code.
17869 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17870 <kernel-features.h>.
17871 [__ASSUME_32BITUIDS]: Make code unconditional.
17872 [!__ASSUME_32BITUIDS]: Remove conditional code.
17873 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17874 <kernel-features.h>.
17875 [__ASSUME_32BITUIDS]: Make code unconditional.
17876 [!__ASSUME_32BITUIDS]: Remove conditional code.
17877 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17878 <kernel-features.h>.
17879 [__ASSUME_32BITUIDS]: Make code unconditional.
17880 [!__ASSUME_32BITUIDS]: Remove conditional code.
17881 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17882 <kernel-features.h>.
17883 [__ASSUME_32BITUIDS]: Make code unconditional.
17884 [!__ASSUME_32BITUIDS]: Remove conditional code.
17885 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17886 <kernel-features.h>.
17887 [__ASSUME_32BITUIDS]: Make code unconditional.
17888 [!__ASSUME_32BITUIDS]: Remove conditional code.
17889 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17890 <kernel-features.h>.
17891 [__ASSUME_32BITUIDS]: Make code unconditional.
17892 [!__ASSUME_32BITUIDS]: Remove conditional code.
17893 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17894 <kernel-features.h>.
17895 [__NR_setresgid] (__setresgid): Do not declare.
17896 [__ASSUME_32BITUIDS]: Make code unconditional.
17897 [!__ASSUME_32BITUIDS]: Remove conditional code.
17898 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17899 <kernel-features.h>.
17900 [__NR_setresuid] (__setresuid): Do not declare.
17901 [__ASSUME_32BITUIDS]: Make code unconditional.
17902 [!__ASSUME_32BITUIDS]: Remove conditional code.
17903 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17904 <kernel-features.h>.
17905 [__ASSUME_32BITUIDS]: Make code unconditional.
17906 [!__ASSUME_32BITUIDS]: Remove conditional code.
17907 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17908 <kernel-features.h>.
17909 [__ASSUME_32BITUIDS]: Make code unconditional.
17910 [!__ASSUME_32BITUIDS]: Remove conditional code.
17911 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17912 <kernel-features.h>.
17913 [__ASSUME_32BITUIDS]: Make code unconditional.
17914 [!__ASSUME_32BITUIDS]: Remove conditional code.
17915 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17916 <kernel-features.h>.
17917 [__ASSUME_32BITUIDS]: Make code unconditional.
17918 [!__ASSUME_32BITUIDS]: Remove conditional code.
17919 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17920 <kernel-features.h>.
17921 [__ASSUME_32BITUIDS]: Make code unconditional.
17922 [!__ASSUME_32BITUIDS]: Remove conditional code.
17923 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17924 <kernel-features.h>.
17925 [__ASSUME_32BITUIDS]: Make code unconditional.
17926 [!__ASSUME_32BITUIDS]: Remove conditional code.
17927 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17928 <kernel-features.h>.
17929 [__ASSUME_32BITUIDS]: Make code unconditional.
17930 [!__ASSUME_32BITUIDS]: Remove conditional code.
17931 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17932 <kernel-features.h>.
17933 [__ASSUME_32BITUIDS]: Make code unconditional.
17934 [!__ASSUME_32BITUIDS]: Remove conditional code.
17935 * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
17944 (__ASSUME_SETRESUID_SYSCALL): Remove.
17945 (__ASSUME_SETRESGID_SYSCALL): Likewise.
17946 (__ASSUME_32BITUIDS): Likewise.
17947 (__ASSUME_LDT_WORKS): Likewise.
17948 (__ASSUME_O_DIRECTORY): Likewise.
17949 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17950 architecture but not kernel version.
17951 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17952 (__ASSUME_MMAP2_SYSCALL): Likewise.
17953 (__ASSUME_STAT64_SYSCALL): Likewise.
17954 (__ASSUME_IPC64): Likewise.
17955 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17956 <kernel-features.h>.
17957 [__ASSUME_32BITUIDS]: Make code unconditional.
17958 [!__ASSUME_32BITUIDS]: Remove conditional code.
17959 * sysdeps/unix/sysv/linux/opendir.c: Do not include
17960 <kernel-features.h>.
17961 [__ASSUME_O_DIRECTORY]: Make code unconditional.
17962 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17963 132096]: Remove conditional code.
17964 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17965 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17966 <kernel-features.h>.
17967 [__ASSUME_32BITUIDS]: Make code unconditional.
17968 [!__ASSUME_32BITUIDS]: Remove conditional code.
17969 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17970 <kernel-features.h>.
17971 [__ASSUME_32BITUIDS]: Make code unconditional.
17972 [!__ASSUME_32BITUIDS]: Remove conditional code.
17973 * sysdeps/unix/sysv/linux/setegid.c: Do not include
17974 <kernel-features.h>.
17975 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17976 unconditional.
17977 (__setresgid): Do not declare.
17978 [__ASSUME_32BITUIDS]: Make code unconditional.
17979 [!__ASSUME_32BITUIDS]: Remove conditional code.
17980 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17981 <kernel-features.h>.
17982 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17983 unconditional.
17984 (__setresuid): Do not declare.
17985 [__ASSUME_32BITUIDS]: Make code unconditional.
17986 [!__ASSUME_32BITUIDS]: Remove conditional code.
17987 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17988 <kernel-features.h>.
17989 [__ASSUME_32BITUIDS]: Make code unconditional.
17990 [!__ASSUME_32BITUIDS]: Remove conditional code.
17991 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17992 <kernel-features.h>.
17993 [__ASSUME_32BITUIDS]: Make code unconditional.
17994 [!__ASSUME_32BITUIDS]: Remove conditional code.
17995
a386f1cc
RH
179962012-05-25 Richard Henderson <rth@twiddle.net>
17997
17998 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17999 dl_hwcap to ifunc resolver.
18000 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18001 elf_ifunc_invoke.
18002 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18003 dl_hwcap to ifunc resolver.
18004 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18005
b6550497
JM
180062012-05-24 Joseph Myers <joseph@codesourcery.com>
18007
18008 [BZ #14153]
18009 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18010 for |x| <= 2**-26, not 2**-57.
18011 * math/libm-test.inc (acos_test): Do not allow spurious underflow
18012 exception.
18013
b0bc23a1
JL
180142012-05-24 Jeff Law <law@redhat.com>
18015
18016 * stdio-common/Makefile (tests): Add bug25.
18017 * stdio-common/bug25.c: New test.
18018
347c92e9
L
180192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18020
18021 [BZ #13576]
18022 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18023 multiple of MALLOC_ALIGNMENT in size.
18024 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18025
6bcc8b3f
JM
180262012-05-24 Joseph Myers <joseph@codesourcery.com>
18027
18028 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18029 Require >= 256.
18030 (FILENAME_MAX): Use macro-int-constant.
18031 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
18032 (_IOFBF): Use macro-int-constant.
18033 (_IOLBF): Likewise.
18034 (_IONBF): Likewise.
18035 (SEEK_CUR): Likewise.
18036 (SEEK_END): Likewise.
18037 (SEEK_SET): Likewise.
18038 (TMP_MAX): Likewise.
18039 (EOF): Use macro-int-constant. Require < 0.
18040 (NULL): Use macro-constant. Require == 0.
18041 (stdin): Require type to be FILE *.
18042 (stdout): Likewise.
18043 (stderr): Likewise.
18044 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18045 macro-int-constant.
18046 (EXIT_SUCCESS): Likewise.
18047 (NULL): Use macro-constant. Require == 0.
18048 (RAND_MAX): Use macro-int-constant.
18049 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18050 [C99-based standards] (strtof): Require function.
18051 [C99-based standards] (strtold): Likewise.
18052 [C99-based standards] (strtoll): Likewise.
18053 [C99-based standards] (strtoull): Likewise.
18054 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18055 [ISO || ISO99 || ISO11] (limits.h): Likewise.
18056 [ISO || ISO99 || ISO11] (math.h): Likewise.
18057 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18058 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18059 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18060
d18ea0c5
AS
180612012-05-24 Andreas Schwab <schwab@linux-m68k.org>
18062
18063 [BZ #14132]
56d25bb8
AS
18064 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18065 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18066 * intl/dgettext.c (DCGETTEXT): Likewise.
18067 * intl/gettext.c (DCGETTEXT): Likewise.
18068 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18069 * posix/regex_internal.h (gettext): Likewise.
18070 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18071 Remove declaration.
18072 * include/argz.h (__argz_count_internal)
18073 (__argz_stringify_internal): Remove declaration.
18074 (__argz_count, __argz_stringify): Declare hidden proto.
18075 * intl/dcgettext.c: Remove use of INTDEF.
18076 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18077 * string/argz-stringify.c: Likewise.
18078 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18079 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18080 Declare hidden proto.
d18ea0c5
AS
18081 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18082 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18083 Declare hidden proto.
18084 * include/stdio.h (__asprintf_internal): Don't declare.
18085 (__asprintf): Don't define as macro. Declare hidden proto.
18086 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18087 (__fsetlocking): Declare hidden proto.
18088 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18089 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18090 hidden proto.
18091 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18092 (_IO_setlinebuf): Remove use of INTUSE.
18093 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18094 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18095 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18096 Remove declaration.
18097 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18098 (_IO_do_flush): Remove use of INTUSE.
18099 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18100 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18101 (_IO_adjust_column, _IO_least_wmarker)
18102 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18103 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18104 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18105 (_IO_default_doallocate, _IO_wdefault_doallocate)
18106 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18107 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18108 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18109 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18110 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18111 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18112 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18113 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18114 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18115 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18116 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18117 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18118 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18119 proto.
18120 (_IO_flush_all_internal, _IO_adjust_column_internal)
18121 (_IO_default_uflow_internal, _IO_default_finish_internal)
18122 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18123 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18124 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18125 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18126 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18127 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18128 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18129 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18130 (_IO_file_close_internal, _IO_file_close_it_internal)
18131 (_IO_file_underflow_internal, _IO_file_overflow_internal)
18132 (_IO_file_init_internal, _IO_file_attach_internal)
18133 (_IO_file_fopen_internal, _IO_file_read_internal)
18134 (_IO_file_sync_internal, _IO_file_seek_internal)
18135 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18136 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18137 (_IO_str_underflow_internal, _IO_str_overflow_internal)
18138 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18139 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18140 (_IO_list_all_internal, _IO_link_in_internal)
18141 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18142 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18143 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18144 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18145 (_IO_do_write_internal, _IO_padn_internal)
18146 (_IO_getline_info_internal, _IO_getline_internal)
18147 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18148 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18149 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18150 (_IO_vfscanf_internal, _IO_vfprintf_internal)
18151 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18152 (_IO_init_internal, _IO_un_link_internal): Don't declare.
18153 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18154 with libc_hidden_ver, remove use of INTUSE.
18155 * libio/genops.c: Likewise.
18156 * libio/freopen.c: Likewise.
18157 * libio/freopen64.c: Likewise.
18158 * libio/iofclose.c: Likewise.
18159 * libio/iofdopen.c: Likewise.
18160 * libio/iofflush.c: Likewise.
18161 * libio/iofflush_u.c: Likewise.
18162 * libio/iofgets.c: Likewise.
18163 * libio/iofgets_u.c: Likewise.
18164 * libio/iofopen.c: Likewise.
18165 * libio/iofopncook.c: Likewise.
18166 * libio/iofread.c: Likewise.
18167 * libio/iofread_u.c: Likewise.
18168 * libio/ioftell.c: Likewise.
18169 * libio/iofwrite.c: Likewise.
18170 * libio/iogetline.c: Likewise.
18171 * libio/iogets.c: Likewise.
18172 * libio/iogetwline.c: Likewise.
18173 * libio/iopadn.c: Likewise.
18174 * libio/iopopen.c: Likewise.
18175 * libio/ioseekoff.c: Likewise.
18176 * libio/ioseekpos.c: Likewise.
18177 * libio/iosetbuffer.c: Likewise.
18178 * libio/iosetvbuf.c: Likewise.
18179 * libio/ioungetc.c: Likewise.
18180 * libio/ioungetwc.c: Likewise.
18181 * libio/iovdprintf.c: Likewise.
18182 * libio/iovsprintf.c: Likewise.
18183 * libio/iovsscanf.c: Likewise.
18184 * libio/memstream.c: Likewise.
18185 * libio/obprintf.c: Likewise.
18186 * libio/oldfileops.c: Likewise.
18187 * libio/oldiofclose.c: Likewise.
18188 * libio/oldiofdopen.c: Likewise.
18189 * libio/oldiofopen.c: Likewise.
18190 * libio/oldiopopen.c: Likewise.
18191 * libio/oldstdfiles.c: Likewise.
18192 * libio/putc.c: Likewise.
18193 * libio/setbuf.c: Likewise.
18194 * libio/setlinebuf.c: Likewise.
18195 * libio/stdfiles.c: Likewise.
18196 * libio/strops.c: Likewise.
18197 * libio/vasprintf.c: Likewise.
18198 * libio/vscanf.c: Likewise.
18199 * libio/vsnprintf.c: Likewise.
18200 * libio/vswprintf.c: Likewise.
18201 * libio/wfiledoalloc.c: Likewise.
18202 * libio/wfileops.c: Likewise.
18203 * libio/wgenops.c: Likewise.
18204 * libio/wmemstream.c: Likewise.
18205 * libio/wstrops.c: Likewise.
18206 * libio/__fpurge.c: Likewise.
18207 * libio/__fsetlocking.c: Likewise.
18208 * assert/assert.c: Likewise.
18209 * debug/fgets_chk.c: Likewise.
18210 * debug/fgets_u_chk.c: Likewise.
18211 * debug/fread_chk.c: Likewise.
18212 * debug/fread_u_chk.c: Likewise.
18213 * debug/gets_chk.c: Likewise.
18214 * debug/obprintf_chk.c: Likewise.
18215 * debug/vasprintf_chk.c: Likewise.
18216 * debug/vdprintf_chk.c: Likewise.
18217 * debug/vsnprintf_chk.c: Likewise.
18218 * debug/vsprintf_chk.c: Likewise.
18219 * malloc/mtrace.c: Likewise.
18220 * misc/error.c: Likewise.
18221 * misc/syslog.c: Likewise.
18222 * stdio-common/asprintf.c: Likewise.
18223 * stdio-common/fxprintf.c: Likewise.
18224 * stdio-common/getw.c: Likewise.
18225 * stdio-common/isoc99_fscanf.c: Likewise.
18226 * stdio-common/isoc99_scanf.c: Likewise.
18227 * stdio-common/isoc99_vfscanf.c: Likewise.
18228 * stdio-common/isoc99_vscanf.c: Likewise.
18229 * stdio-common/isoc99_vsscanf.c: Likewise.
18230 * stdio-common/printf-prs.c: Likewise.
18231 * stdio-common/printf_fp.c: Likewise.
18232 * stdio-common/printf_fphex.c: Likewise.
18233 * stdio-common/printf_size.c: Likewise.
18234 * stdio-common/putw.c: Likewise.
18235 * stdio-common/scanf.c: Likewise.
18236 * stdio-common/sprintf.c: Likewise.
18237 * stdio-common/tmpfile.c: Likewise.
18238 * stdio-common/vfprintf.c: Likewise.
18239 * stdio-common/vfscanf.c: Likewise.
18240 * stdlib/strfmon_l.c: Likewise.
18241 * sunrpc/openchild.c: Likewise.
18242 * sunrpc/xdr_stdio.c: Likewise.
18243 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18244 * sysdeps/mach/hurd/tmpfile.c: Likewise.
18245
d6c33fda
RM
182462012-05-24 Roland McGrath <roland@hack.frob.com>
18247
c1487492
RM
18248 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18249
18250 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18251 in the third column, to generate for the shared library an IFUNC
18252 that uses _dl_vdso_vsym.
18253 * Makerules (COMPILE.c, compile-stdin.c): New variables.
18254 * Makeconfig (object-suffixes-noshared): New variable.
18255
18256 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18257 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18258 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18259 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18260
d6c33fda
RM
18261 [BZ #14132]
18262 * include/sys/time.h (__gettimeofday): Remove macro.
18263 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18264 * time/gettimeofday.c (__gettimeofday): Remove #undef.
18265 Remove INTDEF.
18266 (__gettimeofday): Add libc_hidden_def.
18267 (gettimeofday): Add libc_hidden_weak.
18268 * sysdeps/mach/gettimeofday.c: Likewise.
18269 * sysdeps/posix/gettimeofday.c: Likewise.
18270 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18271 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18273 (__gettimeofday_internal): Remove strong_alias.
18274 (__gettimeofday): Add libc_hidden_def.
18275 (gettimeofday): Add libc_hidden_weak.
18276 * sysdeps/unix/syscalls.list (gettimeofday):
18277 Remove __gettimeofday_internal alias.
18278
b5a2bbe6
L
182792012-05-24 Daniel Jacobowitz <drow@false.org>
18280 H.J. Lu <hongjiu.lu@intel.com>
18281
18282 [BZ #12495]
18283 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18284 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18285 (largebin_index_32_big): New.
18286 (largebin_index): Use it for 16-byte alignment.
18287 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
18288 correction with front_misalign.
18289
cfba4fda
L
182902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
18291
7f907421
L
18292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18293 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18294 Likewise.
18295 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18296 Likewise.
18297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18298 Likewise.
18299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18300 Likewise.
18301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18302 Likewise.
18303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18304 Likewise.
18305 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18306 Likewise.
18307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18308 Likewise.
18309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18310 Likewise.
18311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18312 Likewise.
18313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18314 Likewise.
18315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18316 Likewise.
18317
cfba4fda
L
18318 * scripts/data/c++-types-x32-linux-gnu.data: New file.
18319 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18320
80bad0cc
JM
183212012-05-24 Joseph Myers <joseph@codesourcery.com>
18322
7a25eb06
JM
18323 [BZ #10846]
18324 [BZ #14036]
18325 * math/libm-test.inc (exp_test): Add test from bug 14036.
18326 (pow_test): Add test from bug 10846.
18327
795405f9
JM
18328 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18329 and other flags.
18330 (special_function): Do not include flags in test name.
18331 (parse_args): Likewise.
18332 * sysdeps/i386/fpu/libm-test-ulps: Update.
18333 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18334 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18335 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18337
80bad0cc
JM
18338 * math/gen-libm-test.pl (%beautify): Add entries for underflow
18339 exceptions.
18340 * math/libm-test.inc ("Philosophy"): Update comment about
18341 exception testing.
18342 (UNDERFLOW_EXCEPTION): New macro.
18343 (UNDERFLOW_EXCEPTION_OK): Likewise.
18344 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18345 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18346 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18347 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18348 (INVALID_EXCEPTION_OK): Update value.
18349 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18350 (OVERFLOW_EXCEPTION_OK): Likewise.
18351 (IGNORE_ZERO_INF_SIGN): Likewise.
18352 (test_exceptions): Handle underflow exceptions.
18353 (acos_test): Update for underflow exception expectations.
18354 (cexp_test): Likewise.
18355 (clog_test): Likewise.
18356 (clog10_test): Likewise.
18357 (csqrt_test): Likewise.
18358 (ctan_test): Likewise.
18359 (ctanh_test): Likewise.
18360 (exp_test): Likewise.
18361 (exp10_test): Likewise.
18362 (exp2_test): Likewise.
18363 (expm1_test): Likewise.
18364 (fma_test): Likewise.
18365 (j0_test): Likewise.
18366 (jn_test): Likewise.
18367 (nexttoward_test): Likewise.
18368 (pow_test): Likewise.
18369 (scalbn_test): Likewise.
18370 (scalbln_test): Likewise.
18371 (tan_test): Likewise.
18372 (y1_test): Likewise.
18373 * sysdeps/i386/fpu/libm-test-ulps: Update.
18374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18375
9e0e3d0b
DM
183762012-05-23 David S. Miller <davem@davemloft.net>
18377
18378 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18379 (__libc_sigaction): Remove unused local variables.
18380
ccd0a08f
L
183812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18382
18383 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18384
62bdf9a6
PE
183852012-05-23 Paul Eggert <eggert@cs.ucla.edu>
18386
f8591f80
PE
18387 mktime: avoid signed integer overflow
18388 * time/mktime.c (__mktime_internal): Do not mishandle the case
18389 where diff == INT_MIN.
18390
94c7d826
PE
18391 mktime: simplify computation of average
18392 * time/mktime.c (ranged_convert): Use new time_t_avg function
18393 instead of rolling our own (probably-slower) code.
18394
ce73d683
PE
18395 mktime: do not assume signed right shift propagates sign bit
18396 * time/mktime.c (isdst_differ): New static function.
18397 (__mktime_internal): No need to normalize tm_isdst now.
18398 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18399 tm_isdst values.
18400
72a22e59
PE
18401 mktime: merge another wrapv change from gnulib
18402 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18403 from some compilers.
18404
68605433
PE
18405 mktime: remove incorrect attempt at unusual arithmetics
18406 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18407 The code didn't really work on such machines anyway.
18408 (TYPE_MINIMUM): Assume two's complement.
18409 (twos_complement_arithmetic): Verify that long_int and time_t
18410 are two's complement (or unsigned, in the latter case).
18411
03cf7fe3
PE
18412 mktime: check signed shifts on long_int and time_t, too
18413 * time/mktime.c (SHR): Check that shifts work as desired
18414 on the types long_int and time_t too, as SHR is used on
18415 such types.
18416
f04dfbc2
PE
18417 mktime: do not assume 'long' is wide enough
18418 * time/mktime.c (verify): Move decl up.
18419 (long_int): New type.
18420 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18421 to remove assumption in the code that 'long' is wide enough to
18422 store year values. This assumption is not true on x32 and on
18423 some non-glibc platforms.
18424
62bdf9a6
PE
18425 mktime: merge wrapv change from gnulib
18426 * time/mktime.c (WRAPV): New macro.
18427 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18428 (guess_time_tm, __mktime_internal): Do not assume that signed
18429 integer overflow wraps around; modern compilers generate code
18430 where this assumption is no longer valid.
18431
5e292e4f
L
184322012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18433
18434 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18435 Replace "jmp L(pseudo_end)" with "ret".
18436 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18437 Likewise.
18438
8caf8c87
AJ
184392012-05-23 Andreas Jaeger <aj@suse.de>
18440
18441 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18442 * sysdeps/unix/sysv/linux/poll.c: Remove file.
18443
1a09dc56
AJ
184442012-05-23 Andreas Jaeger <aj@suse.de>
18445 Maximilian Attems <max@stro.at>
18446
18447 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18448 New macros.
18449
1c87aba0
L
184502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
18451
18452 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18453 code so that pseudo_end is just ret and the stack pointer is
18454 correct also for static library in error case.
18455
40e45bd5
JM
184562012-05-23 Joseph Myers <joseph@codesourcery.com>
18457
c2670533
JM
18458 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18459 move to syscalls.list.
18460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18464
40e45bd5
JM
18465 * manual/install.texi (Running make install): Do not mention Linux
18466 kernel version for which pt_chown is not needed.
18467 (Linux): Do not mention problems with nscd with 2.0 kernels.
18468 * INSTALL: Regenerated.
18469
be08eda5
AJ
184702012-05-23 Andreas Jaeger <aj@suse.de>
18471
18472 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18473 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18474 macro.
18475 * sysdeps/unix/sysv/linux/s390/bits/mman.h
18476 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18477 * sysdeps/unix/sysv/linux/sh/bits/mman.h
18478 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18479 * sysdeps/unix/sysv/linux/i386/bits/mman.h
18480 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18481 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18482 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18483 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18484 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18485 * sysdeps/unix/sysv/linux/bits/in.h
18486 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18487
a6a056bb
RM
184882012-05-22 Roland McGrath <roland@hack.frob.com>
18489
18490 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18491 (PREPARE_VERSION): Just use assert instead, it will be elided
18492 under [NDEBUG] anyway.
18493
c9009328
L
184942012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18495
18496 * sysdeps/unix/sysv/linux/Makefile: Include
18497 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 18498 (sysdep_routines): Remove sysctl.
c9009328
L
18499 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18500 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18501 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18502 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18503 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18504
73338355
AJ
185052012-05-22 Andreas Jaeger <aj@suse.de>
18506
18507 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18508 that pseudo_end is just ret and the stack pointer is correct also
18509 for static library in error case.
18510
d44638b0
PP
185112012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
18512
18513 [BZ #14122]
18514 * nss/nsswitch.c (defconfig_entries): New variable.
18515 (__nss_database_lookup): Don't leak defconfig entries.
18516 (nss_parse_service_list): Don't leak on error paths.
18517 (free_database_entries): New function.
18518 (free_defconfig): New function.
18519 (free_mem): Move common code to free_database_entries.
18520
31a39bd8
L
185212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18522
da0331a8
L
18523 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18524 Add arch_prctl.
18525 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18526
31a39bd8
L
18527 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18528 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18530 New macro.
18531 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18532 (INTERNAL_SYSCALL_TYPES): Likewise.
18533 (LOAD_ARGS_TYPES_[1-6]): Likewise.
18534 (LOAD_REGS_TYPES_[1-6]): Likewise.
18535 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18536 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18537
45470df3
AZ
185382012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18539
18540 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18541 copysignl for GLIBC_2_0.
18542 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18543 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18544 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18545 logbl for GLIBC_2_0.
18546 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18547 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18548
98a61bcb
L
185492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18550
a4f6e481
L
18551 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18552 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
18553
f63d5db6
L
18554 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18555 Use "neg %eax".
18556
98a61bcb
L
18557 * time/mktime.c: Update copyright years.
18558
95770f14
PE
185592012-05-22 Paul Eggert <eggert@cs.ucla.edu>
18560
6226efbd
PE
18561 mktime: merge comment-quoting-style change from gnulib
18562 * time/mktime.c: Quote 'like this' in comments.
18563 The GNU coding standards suggest that we no longer quote `like this',
18564 as "`" and "'" are typically rendered asymmetrically nowadays.
18565 The typical gnulib style is to quote 'like this' when quoting
18566 code, and "like this" when quoting English.
18567
b99e4f78
PE
18568 * time/mktime.c (compile-command): Add "-I.".
18569
643e01e6
PE
18570 mktime: merge mktime-internal.h change from gnulib
18571 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18572
2554247d
PE
18573 mktime: merge time_r change from gnulib
18574 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18575
826dd0ab
PE
18576 mktime: merge DEBUG change from gnulib
18577 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18578 case system <time.h> has a #define.
18579
bd83aabe
PE
18580 mktime: merge <sys/types.h> change from gnulib
18581 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18582 since <time.t> is now guaranteed to define time_t.
18583
95770f14
PE
18584 mktime: merge HAVE_CONFIG_H change from gnulib
18585 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18586
5e1a27a9
L
185872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
18588
0e44a77e
L
18589 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18590 Use "neg %eax".
18591
5e1a27a9
L
18592 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18593 __rlim_t cast.
18594 (struct rusage): Use anonymous union to pad each field to
18595 __syscall_slong_t.
18596
46259bec
DM
185972012-05-21 David S. Miller <davem@davemloft.net>
18598
18599 * Makefules (o-iterator): Remove .s cases.
18600 (compile-command.s): Delete.
18601 (COMPILE.s): Delete.
18602 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18603
59f0c22e
JM
186042012-05-21 Joseph Myers <joseph@codesourcery.com>
18605
18606 * configure.in (libc_cv_predef_stack_protector): Only consider
18607 "foobar" and "__stack_chk_fail" lines in libc_undefs.
18608 * configure: Regenerated.
18609
20c07380
L
186102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18611
bbb3154b
L
18612 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18613 New macro. Use R*LP on int and pointer.
18614 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
18615 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18616 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
18617 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18618
20c07380
L
18619 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18620 [__WORDSIZE_TIME64_COMPAT32] instead of
18621 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18622 (struct utmp): Likewise.
18623 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18624 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18625 Renamed to ...
18626 (__WORDSIZE_TIME64_COMPAT32): This.
18627 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18628 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18629 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18630 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18631 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18632 (__WORDSIZE_TIME64_COMPAT32): New macro.
18633
d8d1017e
AJ
186342012-05-21 Andreas Jaeger <aj@suse.de>
18635
18636 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18637 only if [SHARED]. Add prototype for __wcschr_ia32.
18638
6c7fb145
RM
186392012-05-21 Roland McGrath <roland@hack.frob.com>
18640
18641 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18642 of %rbp unmolested in the jmp_buf while mangling the low bits.
18643 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18644 unmolested high bits of %rbp while demangling the low bits.
18645 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18646
66274218
AJ
186472012-05-21 Andreas Jaeger <aj@suse.de>
18648
07c58f8f
AJ
18649 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18650 * sunrpc/svc_simple.c: Use it for registerrpc.
18651 * sunrpc/xcrypt.c: Use it for passwd2des.
18652
66274218
AJ
18653 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18654
61f65140
L
186552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18656
18657 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18658 Don't define if [__SYSCALL_WORDSIZE != 32].
18659 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18660 New macro.
18661
5fefb436
AJ
186622012-05-21 Bruno Haible <bruno@clisp.org>
18663 Andreas Jaeger <aj@suse.de>
18664
18665 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18666 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18667 inptr and inend for must_buffer_ch.
18668 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18669 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18670 * stdio-common/Makefile (tests): Remove bug15.
18671 (bug15-ENV): Remove macro.
18672 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18673 anymore.
18674
d8e272ab
AJ
186752012-05-19 Andreas Jaeger <aj@suse.de>
18676 Roland McGrath <roland@hack.frob.com>
18677
18678 * manual/contrib.texi: Completely rewritten. It contains now an
18679 alphabetical list of contributors and their contributions.
18680
4a56a162
RH
186812012-05-21 Richard Henderson <rth@twiddle.net>
18682
18683 * misc/getauxval.c (__getauxval): Use unsigned long int.
18684 * misc/sys/auxv.h: Include <sys/cdefs.h>.
18685 (getauxval): Use unsigned long int.
18686
d024d23c
L
186872012-05-21 H.J. Lu <hongjiu.lu@intel.com>
18688
18689 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18690
cbc00a03
RM
186912012-05-21 Roland McGrath <roland@hack.frob.com>
18692
18693 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18694 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18695 __alignof__ (long double).
18696
478143fa
AZ
186972012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18698
18699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18700
c7683a6d
RH
187012012-05-20 Richard Henderson <rth@twiddle.net>
18702
18703 * misc/getauxval.c: New file.
18704 * misc/sys/auxv.h: New file.
18705 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18706 (routines): Add getauxval.
18707 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18708 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18709 * elf/dl-sysdep.c (_dl_auxv): Remove.
18710 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18711 * elf/dl-support.c (_dl_auxv): New variable.
18712 (_dl_aux_init): Initialize it.
18713 * manual/startup.texi (Auxiliary Vector): New node.
18714 * sysdeps/generic/bits/hwcap.h: New file.
18715 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18716 * sysdeps/powerpc/sysdep.h: ... here. Include it.
18717 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18718 * sysdeps/sparc/sysdep.h: ... here. Include it.
18719 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
18721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18722 Update.
c7683a6d
RH
18723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18726 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18731
a6f1845d
AZ
187322012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18733
18734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18735
cbcbe830
DM
187362012-05-19 David S. Miller <davem@davemloft.net>
18737
18738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18739
e0b16cc2
JM
187402012-05-19 Joseph Myers <joseph@codesourcery.com>
18741
18742 [BZ #14123]
18743 * math/s_ccosh.c: Include <float.h>
18744 (__ccosh): Avoid internal overflow calculating sinh and cosh
18745 values before multiplying by sin and cos values.
18746 * math/s_ccoshf.c: Likewise.
18747 * math/s_ccoshl.c: Likewise.
18748 * math/s_csin.c: Likewise.
18749 * math/s_csinf.c: Likewise.
18750 * math/s_csinl.c: Likewise.
18751 * math/s_csinh.c: Likewise.
18752 * math/s_csinhf.c: Likewise.
18753 * math/s_csinhl.c: Likewise.
18754 * math/libm-test.inc (ccos_test): Add more tests.
18755 (ccosh_test): Likewise.
18756 (csin_test): Likewise.
18757 (csinh_test): Likewise.
18758 * sysdeps/i386/fpu/libm-test-ulps: Update.
18759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18760
6ad13e08
L
187612012-05-19 H.J. Lu <hongjiu.lu@intel.com>
18762
f66f0ce8
L
18763 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18764 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18765
6ad13e08
L
18766 * sysdeps/x86_64/x32/_itoa.h: Add comment.
18767
b1d072a7
JM
187682012-05-19 Joseph Myers <joseph@codesourcery.com>
18769
18770 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18771 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18772 * sysdeps/powerpc/soft-fp/Versions: Likewise.
18773 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18774 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18775 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18776 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18777 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18778 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18779 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18780 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18781 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18782 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18783 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18784 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18785 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18786 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18787 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18788 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18789 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18790 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18791 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18792 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18793 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18794 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18795 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18796 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18797 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18798 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18799 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18800 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18801
9eae47cb
AJ
188022012-05-18 Andreas Jaeger <aj@suse.de>
18803
18804 * csu/.gitignore: Delete.
18805
bb07f69f
L
188062012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18807
18808 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18809 (timex): Use __syscall_slong_t.
18810
e6bdb741
AJ
188112012-05-18 Andreas Jaeger <aj@suse.de>
18812 Carlos O'Donell <carlos_odonell@mentor.com>
18813
18814 * manual/install.texi (Configuring and compiling): Update
18815 description about files modified in the source directory.
d6c33fda 18816 * INSTALL: Regenerated.
e6bdb741 18817
1b74487e
L
188182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18819
18820 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18821 value. Use "or" to set return value to -1.
18822 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18823 negate return value.
18824
a88b64b9
TMQMF
188252012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18826
18827 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18828 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18829 failure if the compiler has Graphite support disabled.
18830 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18831 Likewise.
18832 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18833 CFLAGS-memmove.c): Likewise.
18834 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18835 Likewise.
18836
3707636e
L
188372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
18838
610b8622
L
18839 * sysdeps/x86_64/x32/_itoa.h: New file.
18840
7cd195df
L
18841 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18842 getdents system call only if kernel and user dirents have the
18843 same d_ino and d_off.
18844
94b07d20
L
18845 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18846 LLONG_MAX != LONG_MAX.
18847 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18848 (_fitoa_word): Likewise.
18849
18298070
L
18850 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18851 years.
18852 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18853 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18854 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18855
553c7ea4
L
18856 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18857 include <bits/wordsize.h>. Check __x86_64__ instead of
18858 __WORDSIZE.
18859 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18860 if __x86_64__ is defined. Use anonymous union on fpstate.
18861
3707636e
L
18862 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18863 anonymous union.
18864
b53ef01a
AS
188652012-05-18 Andreas Schwab <schwab@linux-m68k.org>
18866
37fb1dc0
AS
18867 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18868 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18869 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18870 Refer to _rtld_local_ro instead of _rtld_global_ro.
18871 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18872 Likewise.
18873 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18874 Likewise.
18875 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18876 Likewise.
18877 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18878 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18879 of _rtld_global, and rtld_progname instead of _dl_argv[0].
18880
b53ef01a
AS
18881 * sysdeps/powerpc/powerpc32/dl-machine.c
18882 (__elf_machine_runtime_setup) [PROF]: Don't reference
18883 _dl_prof_resolve.
18884
7a185db2
AJ
188852012-05-18 Andreas Jaeger <aj@suse.de>
18886
18887 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18888 function only available for GCCs before 3.4 since GCC 3.4
18889 introduced a builtin.
18890 (lrint): Likewise.
18891 (llrintf): Likewise.
18892 (llrint): Likewise.
18893 (fmaxf): Likewise.
18894 (fmax): Likewise.
18895 (fminf): Likewise.
18896 (fmin): Likewise.
18897 (rint): Likewise.
18898 (rintf): Likewise.
18899 (nearbyint): Likewise.
18900 (nearbyintf): Likewise.
18901 (ceil): Likewise.
18902 (ceilf): Likewise.
18903 (floor): Likewise.
18904 (floorf): Likewise.
18905
3e5aef87
L
189062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18907
428bd707
L
18908 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18909 on both fields and cast pointer to __syscall_ulong_t.
18910
3e5aef87
L
18911 * bits/types.h (__fsword_t): New type.
18912 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18913 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18914 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18915 (__FSWORD_T_TYPE): Likewise.
18916 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18917 (__FSWORD_T_TYPE): Likewise.
18918 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18919 (__FSWORD_T_TYPE): Likewise.
18920 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18921 (__FSWORD_T_TYPE): Likewise.
18922 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18923 __SWORD_TYPE with __fsword_t.
18924 (statfs64): Likewise.
18925
1ba7c3dc
DM
189262012-05-17 David S. Miller <davem@davemloft.net>
18927
18928 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18929
59910343
AJ
189302012-05-17 Andreas Jaeger <aj@suse.de>
18931
18932 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18933 warning.
18934
2e4c1e9e
L
189352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18936
18937 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18938
de7f5ce7
AJ
189392012-05-17 Andreas Jaeger <aj@suse.de>
18940
18941 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18942 when it is used.
18943
286abc3d
CM
189442012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18945
18946 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18947
477cc68e
L
189482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
18949
18950 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18951 * sysdeps/x86_64/tst-mallocalign1.c: New file.
18952
1a0994f5
CD
189532012-05-17 Andreas Jaeger <aj@suse.de>
18954 Carlos O'Donell <carlos_odonell@mentor.com>
18955
18956 [BZ #14059]
18957 * sysdeps/x86_64/multiarch/init-arch.h
18958 (bit_YMM_Usable): Rename to...
18959 (bit_AVX_Usable): ... this.
18960 (bit_FMA4_Usable): New macro.
18961 (bit_XMM_state): New macro.
18962 (bit_YMM_state): New macro.
18963 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18964 [__ASSEMBLER__] (index_AVX_Usable): ... this.
18965 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18966 (CPUID_OSXSAVE): New macro.
18967 (CPUID_AVX): New macro.
18968 (CPUID_FMA4): New macro.
18969 (index_YMM_Usable): Rename to...
18970 (index_AVX_Usable): ... this.
18971 (HAS_AVX): Use HAS_ARCH_FEATURE.
18972 (HAS_FMA4): Likewise.
18973 (HAS_YMM_USABLE): Remove.
18974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18975 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18976 are present.
18977 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18978 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18979 * sysdeps/x86_64/multiarch/Makefile: Likewise.
18980 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18981 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18982
0af797de
CM
189832012-05-17 Chris Metcalf <cmetcalf@tilera.com>
18984
18985 * math/libm-test.c: Support platforms without multiple rounding modes.
18986 * math/bug-nextafter.c: Support platforms without FP exceptions.
18987 * math/bug-nexttoward.c: Likewise.
18988 * math/test-fenv.c: Likewise.
18989 * math/test-misc.c: Likewise.
18990 * stdlib/bug-getcontext.c: Likewise.
18991
e39745ff
AJ
189922012-05-17 Andreas Jaeger <aj@suse.de>
18993
18994 * manual/examples/search.c (critter_cmp): Change signature to
18995 avoid warnings.
18996 * manual/string.texi (Collation Functions): Likewise.
18997
48970aba
L
189982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
18999
19000 * bits/types.h: Fold copyright years.
19001 * bits/typesizes.h: Likewise.
19002 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19004 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19005 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19006 * time/time.h: Likewise.
19007
bedee953
PP
190082012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
19009
19010 [BZ #208]
19011 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19012 in instead of returning them. Return void.
19013 (__libc_mallinfo): Accumulate over all arenas.
19014 (__malloc_stats): Adjust for change in int_mallinfo interface.
19015
61653dfb
RM
190162012-05-16 Roland McGrath <roland@hack.frob.com>
19017
30b99d79
RM
19018 [BZ #10375]
19019 * configure.in (NM): Add AC_CHECK_TOOL for it.
19020 (libc_extra_cflags): New substituted variable.
19021 Check for -fstack-protector being used implicitly.
19022 * configure: Regenerated.
19023 * config.make.in (config-extra-cflags): New variable,
19024 gets @libc_extra_cflags@.
19025 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19026
61653dfb
RM
19027 [BZ #10375]
19028 * configure.in: Check for _FORTIFY_SOURCE being predefined.
19029 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19030 * configure: Regenerated.
19031 * config.make.in (CPPUNDEFS): New substituted variable.
19032 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19033 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19034 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19035
661768bb
L
190362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19037
19038 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19039 (mq_attr): Use __syscall_slong_t.
19040
d4261567
L
190412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19042
19043 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19044 Check __x86_64__ instead of __WORDSIZE.
19045 (_STAT_VER_LINUX): Likewise.
19046 (stat): Check __x86_64__ instead of __WORDSIZE. Use
19047 __syscall_ulong_t and __syscall_slong_t.
19048 (stat64): Likewise.
19049
cf3ff365
L
190502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19051
19052 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19053
76cf3e4d
L
190542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19055
19056 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19057
a637753a
L
190582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19059
19060 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19061 __syscall_ulong_t.
19062
d5e05119
L
19063 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19064 include <bits/wordsize.h>. Check __x86_64__ instead of
19065 __WORDSIZE.
19066 (greg_t): Use "__extension__ long long int" if __x86_64__ is
19067 defined.
19068 (mcontext_t): Replace "unsigned long" with "unsigned long long".
19069
f62ee380
L
19070 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19071 include <bits/wordsize.h>. Check __x86_64__ instead of
19072 __WORDSIZE.
19073 (user_regs_struct): Use "__extension__ unsigned long long"
19074 instead of "unsigned long" if __x86_64__ is defined.
19075 (user): Likewise. Pad after pointer field if __ILP32__ is
19076 defined.
19077
4e124ced
JM
190782012-05-16 Joseph Myers <joseph@codesourcery.com>
19079
6a3951a0
JM
19080 * configure.in (makeinfo): Require version 4.5 or later. Allow
19081 versions 5 to 9.
19082 * configure: Regenerated.
19083 * manual/install.texi (texinfo): Increase version requirement to
19084 4.5 or later.
19085 * INSTALL: Regenerated.
19086
4e124ced
JM
19087 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19088
953ca31a
L
190892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
19090
19091 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19092
617aca05
L
19093 * sysdeps/x86_64/x32/ffs.c: New file.
19094
5762f7ae
L
19095 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19096 __syscall_ulong_t.
19097 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19098 defined. Use __syscall_ulong_t.
19099 (shminfo): Use __syscall_ulong_t.
19100 (shm_info): Likewise.
19101
a26b6856
L
19102 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19103 __syscall_ulong_t.
19104
cb2b9ef7
L
19105 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19106 <bits/wordsize.h>.
19107 (msgqnum_t): Use __syscall_ulong_t.
19108 (msglen_t): Likewise.
19109 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
19110 __syscall_ulong_t.
19111
34683bb0
L
19112 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19113 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19114
84a68786
L
19115 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19116
48baa5f1
L
19117 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19118 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19119
180be88b
L
19120 * sysvipc/sys/msg.h (msgbuf): Replace long int with
19121 __syscall_slong_t.
19122
5e90c8ad
L
19123 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19124 include <bits/wordsize.h>. Check __x86_64__ instead of
19125 __WORDSIZE.
19126
23dfb58b
L
19127 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19128 "unsigned long long int" if __x86_64__ is defined.
19129 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19130
ce5d54b0
L
19131 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19132 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19133 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19134
13dc9eac
L
19135 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19136 <stdint.h>.
19137 (GET_PC): Cast to uintptr_t first.
19138 (GET_FRAME): Likewise.
19139 (GET_STACK): Likewise.
19140
a7895d15
L
19141 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19142 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19143 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19144 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19145 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19146 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19147 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19148 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19149 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19150 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19151 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19152 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19153 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19154 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19155 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19156 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19157 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19158 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19159 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19160 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19161 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19162 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19163 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19164 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19165 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19166 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19167 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19168 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19169 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19170
656416c9
AS
191712012-05-16 Andreas Schwab <schwab@linux-m68k.org>
19172
5bd66283
AS
19173 * Makerules (+depfiles): Also collect depfiles from .oS in
19174 $(extra-objs).
19175 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19176 .oS, $(libnldbl-routines)).
19177
656416c9
AS
19178 * Makerules (native-compile-mkdep-flags): Define.
19179 * sunrpc/Makefile (extra-objs): Add $(addprefix
19180 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19181 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19182 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
19183 calling $(make-target-directory).
19184
a46f2169
L
191852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19186
19187 * bits/types.h (__snseconds_t): Removed.
19188 * time/time.h (struct timespec): Replace __snseconds_t with
19189 __syscall_slong_t.
19190 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19191 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19192 Likewise.
19193 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19194 (__SNSECONDS_T_TYPE): Likewise.
19195 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19196 (__SNSECONDS_T_TYPE): Likewise.
19197 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19198 (__SNSECONDS_T_TYPE): Likewise.
19199
6af6528b
L
192002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19201
19202 * sysdeps/mach/hurd/bits/typesizes.h
19203 (__SYSCALL_SLONG_TYPE): New macro.
19204 (__SYSCALL_ULONG_TYPE): Likewise.
19205
de986b56
L
192062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19207
19208 * bits/types.h (__syscall_slong_t): New type.
19209 (__syscall_ulong_t): Likewise.
19210
19211 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19212 (__SYSCALL_ULONG_TYPE): Likewise.
19213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19214 (__SYSCALL_SLONG_TYPE): Likewise.
19215 (__SYSCALL_ULONG_TYPE): Likewise.
19216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19217 (__SYSCALL_SLONG_TYPE): Likewise.
19218 (__SYSCALL_ULONG_TYPE): Likewise.
19219 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19220 (__SYSCALL_SLONG_TYPE): Likewise.
19221 (__SYSCALL_ULONG_TYPE): Likewise.
19222
85736dc7
L
192232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19224
19225 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19226 Add sigaltstack-offsets.sym.
19227 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19228 <sigaltstack-offsets.h>.
19229 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
19230 longjmp_msg pointer.
19231 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
19232 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19233 signal stack.
19234 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19235
cc03b296
JM
192362012-05-15 Joseph Myers <joseph@codesourcery.com>
19237
a9538892
JM
19238 * elf/stackguard-macros.h: Remove file.
19239 * sysdeps/generic/stackguard-macros.h: New file.
19240 * sysdeps/i386/stackguard-macros.h: Likewise.
19241 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19242 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19243 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19244 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19245 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19246 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19247 * sysdeps/x86_64/stackguard-macros.h: Likewise.
19248 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19249 <elf/stackguard-macros.h>.
19250
cc03b296
JM
19251 [BZ #14109]
19252 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19253 __aligned__ in attribute.
19254 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19255 (gregset_t): Likewise.
19256
93171016
L
192572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19258
19259 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19260 * sysdeps/x86_64/64/Implies-after: Here. New file.
19261 * sysdeps/x86_64/x32/Implies-after: New file.
19262
d86813a0
L
192632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19264
19265 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19266 and access return value for _dl_profile_fixup. Use R10_LP to
19267 load frame size.
19268
2953ec75
L
192692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19270
19271 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19272
3b550e9e
L
192732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19274
19275 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19276 * sysdeps/x86_64/x32/sysdep.h: New file.
19277
eda41706
L
192782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19279
19280 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19281 * sysdeps/x86_64/setjmp.S: Likewise.
19282
9ea01d93
AZ
192832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19284
19285 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19286 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19287 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19288 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19289 remove unused global constant.
19290
02a91938
CM
192912012-05-15 Chris Metcalf <cmetcalf@tilera.com>
19292
19293 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19294 include of <not-cancel.h>.
19295
6540185f
RM
192962012-05-15 Roland McGrath <roland@hack.frob.com>
19297
19298 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19299
509072a0
AJ
193002012-05-15 Jeff Law <law@redhat.com>
19301 Andreas Jaeger <aj@suse.de>
19302
19303 [BZ #13594]
19304 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19305 out from...
19306 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19307 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19308 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19309 code changing __hst_map_handle.map.
19310
ba75122d
RM
193112012-05-15 Roland McGrath <roland@hack.frob.com>
19312
19313 * configure.in (sysnames): Look for Implies-before and Implies-after
19314 files.
19315 * configure: Regenerated.
19316
890d8bd8
L
193172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19318
19319 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19320 8-byte data alignment with LP_SIZE alignment.
19321
f6ee6623
L
193222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19323
19324 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19325 into R10_LP.
19326
ea2626f6
L
193272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19328
19329 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19330
085f715e
L
193312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19332
19333 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19334 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19335 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19336 Likewise.
19337 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19338
be8498fc
L
193392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19340
19341 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19342 (stackinfo_sub_sp): Likewise.
19343
70bc83b9
L
193442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19345
19346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19347 RAX_LP.
19348
9bc0b730
L
193492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19350
19351 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19352 into R*_LP.
19353
6d2850e7
L
193542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19355
19356 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19357 sizes into R*_LP.
19358
3cb84561
L
193592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19360
19361 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19362
54e2ed81
L
193632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19364
19365 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19366 into R11_LP and load __x86_64_shared_cache_size_half into
19367 R8_LP.
19368
8a17f349
L
193692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19370
19371 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19372 R8_LP.
19373
777b1eea
AZ
193742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19375
19376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19377 logb for POWER7.
19378 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19379 logbf for POWER7.
19380 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19381 logbl for POWER7.
19382 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19383 powerpc32/power7/fpu/s_logb.c via #include.
19384 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19385 powerpc32/power7/fpu/s_logbf.c via #include.
19386 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19387 powerpc32/power7/fpu/s_logbl.c via #include.
19388
d20d4ac2
JM
193892012-05-15 Joseph Myers <joseph@codesourcery.com>
19390
19391 * README.libm: Remove file.
19392
6cdef1ab
L
193932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19394
19395 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19396 count for x32. Use R*_LP and omit operand-size suffix.
19397
0b254d8f
L
193982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19399
19400 * shlib-versions: Move x86_64-.*-linux.* entries to ...
19401 * sysdeps/x86_64/64/shlib-versions: Here. New file.
19402 * sysdeps/x86_64/x32/shlib-versions: New file.
19403
ceb809dc
RM
194042012-05-14 Roland McGrath <roland@hack.frob.com>
19405
19406 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19407 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19408 Use _dl_fatal_printf instead.
19409
37f1abd4
JM
194102012-05-14 Joseph Myers <joseph@codesourcery.com>
19411
19412 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19413 set if not set by the user. Do not allow for being unset.
19414 * sysdeps/unix/sysv/linux/configure: Regenerated.
19415
11de3a33
L
194162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19417
19418 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19419 the `q' suffix from lea and replace .quad with ASM_ADDR.
19420
e02f153a
L
194212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19422
19423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19424 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
19425 instead of $17.
19426 (PTR_DEMANGLE): Likewise.
19427
520ae0fd
L
194282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19429
19430 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19431 (LP_OP): Likewise.
19432 (ASM_ADDR): Likewise.
19433 (RAX_LP): Likewise.
19434 (RBP_LP): Likewise.
19435 (RBX_LP): Likewise.
19436 (RCX_LP): Likewise.
19437 (RDI_LP): Likewise.
19438 (RSI_LP): Likewise.
19439 (RSP_LP): Likewise.
19440 (R8_LP): Likewise.
19441 (R9_LP): Likewise.
19442 (R10_LP): Likewise.
19443 (R10_LP): Likewise.
19444 (R11_LP): Likewise.
19445 (R12_LP): Likewise.
19446 (R13_LP): Likewise.
19447 (R14_LP): Likewise.
19448 (R15_LP): Likewise.
19449
b985be81
L
194502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19451
19452 * sysdeps/x86_64/x32/dl-machine.h: New file.
19453
6a4888ff
AJ
194542012-05-14 Andreas Jaeger <aj@suse.de>
19455
19456 * manual/Makefile (subdir): Remove export of subdir.
19457 (all): Remove target.
19458 (.PHONY): Remove all from list.
19459 (mkinstalldirs): Remove.
19460 (.PHONY): Remove installdirs from list.
19461 ($(inst_infodir)/libc.info): Use make-target-directory.
19462 (installdirs): Remove.
19463 (subdir_%): Remove.
19464 (glibc-targets): Remove.
19465 (lib): Remove.
19466 (stubs): Remove.
19467 ($(objpfx)stubs ../po/manual.pot): Remove.
19468 ($(objpfx)stamp%): Remove.
19469 (make-target-directory): Remove.
19470 (subdir_install): Remove.
19471 (routines): Remove.
19472 (aux): Remove.
19473 (sources): Remove.
19474 (objects): Remove.
19475 (headers): Remove.
19476
19477 [BZ #13750]
19478 * manual/.gitignore: Remove, it's not needed anymore.
19479 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19480 all files in it.
19481 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19482 directory.
19483 (texis): Renamed to $(objpfx)texis.
19484 (texis-path): New, contains path to generated files.
19485 (chapters.%): Use texis-path for complete path, add extra argument
19486 libc-texinfo.sh.
19487 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19488 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19489 (summary,texi, stamp-summary): Use complete path of
19490 files. Generate files in build dir.
19491 (dir-add.texi): Build in build dir.
19492 (libm-err.texi,stamp-libm-err): Likewise.
19493 (version.texi, stamp-version): Likewise.
19494 (.%c.texi): Likewise.
19495 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19496 (mostlyclean): Remove target.
19497 (realclean): Remove target.
19498 (generated): Add new variable with contents from mostlyclean and
19499 realclean, remove entries duplicated in common-mostlyclean, add
19500 stamp-libm-err and stamp-version.
19501 (generated-dirs): Add libc directory.
19502 ($(inst_infodir)/libc.info): Install files from build dir.
19503
19504 * manual/install.texi (Configuring and compiling): Adjust since
19505 the info files are not part of the tar ball anymore.
19506
7ac77294
AJ
195072012-05-14 Andreas Jaeger <aj@suse.de>
19508
19509 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19510 variable.
19511
ffb7875d
JM
195122012-05-14 Joseph Myers <joseph@codesourcery.com>
19513
19514 [BZ #13717]
19515 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19516 to 2.2.0 where earlier.
19517 * sysdeps/unix/sysv/linux/configure: Regenerated.
19518 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19519 Remove conditional code.
19520 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19521 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19522 Remove conditional code.
19523 [!__NR_lchown]: Likewise.
19524 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19525 [__NR_lchown]: Likewise.
19526 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19527 comment referencing __ASSUME_LCHOWN_SYSCALL.
19528 * sysdeps/unix/sysv/linux/i386/sigaction.c
19529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19531 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19532 Remove conditional code.
19533 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19534 (__protocol_available): Remove #if 0 code.
19535 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19536 conditional code.
19537 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19538 * sysdeps/unix/sysv/linux/kernel-features.h
19539 (__ASSUME_GETCWD_SYSCALL): Don't define.
19540 (__ASSUME_REALTIME_SIGNALS): Likewise.
19541 (__ASSUME_PREAD_SYSCALL): Likewise.
19542 (__ASSUME_PWRITE_SYSCALL): Likewise.
19543 (__ASSUME_POLL_SYSCALL): Likewise.
19544 (__ASSUME_LCHOWN_SYSCALL): Likewise.
19545 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19546 non-SPARC.
19547 (__ASSUME_SIOCGIFNAME): Don't define.
19548 (__ASSUME_MSG_NOSIGNAL): Likewise.
19549 (__ASSUME_SENDFILE): Define unconditionally.
19550 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19551 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19552 conditional code.
19553 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19554 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19555 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19556 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19557 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19558 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19559 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19561 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19562 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19564 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19565 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19567 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19568 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19570 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19571 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19573 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19574 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19576 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19577 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19579 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19580 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19582 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19583 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19584 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19585 Remove conditional code.
19586 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19587 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19588 Remove conditional code.
19589 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19590 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19591 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19592 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19593 Remove conditional code.
19594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19595 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19596 Remove conditional code.
19597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19598 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19599 Remove conditional code.
19600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19601 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19602 Remove conditional code.
19603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19604 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19605 Remove conditional code.
19606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19607 * sysdeps/unix/sysv/linux/sh/pwrite64.c
19608 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19610 * sysdeps/unix/sysv/linux/sigaction.c
19611 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19612 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19613 * sysdeps/unix/sysv/linux/sigpending.c
19614 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19615 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19616 * sysdeps/unix/sysv/linux/sigprocmask.c
19617 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19618 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19619 * sysdeps/unix/sysv/linux/sigsuspend.c
19620 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19621 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19622 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19623 (__libc_missing_rt_sigs): Remove.
19624 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19625 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19626 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19627 Remove conditional code.
19628 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19629 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19630 return 1.
19631 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19632 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19633 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19634 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19635
1bfb7291
AJ
196362012-05-14 Andreas Jaeger <aj@suse.de>
19637
caae5a81
AJ
19638 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19639 it's not used in glibc.
19640 (__coshm1): Likewise.
19641 (__acosh1p): Likewise.
19642 (__sgn): Likewise.
19643
1bfb7291
AJ
19644 * manual/string.texi (Copying and Concatenation): Add missing
19645 variable in concat example.
19646 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19647
c044d724
L
196482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19649
144c5467 19650 [BZ #14103]
c044d724
L
19651 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19652 __builtin_clzl with __builtin_clzll.
19653
2523c62b
L
196542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
19655
19656 [BZ #14104]
19657 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19658 libc_freeres_ptr.
19659
d7bb4c42
LD
196602012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19661
19662 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19663 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19664 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19665 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19666
9dc4e1fb
MF
196672012-05-14 Mike Frysinger <vapier@gentoo.org>
19668
19669 * NEWS: Update ia64 info.
19670
c7df0112
AS
196712012-05-12 Andreas Schwab <schwab@linux-m68k.org>
19672
19673 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19674 used as bcopy.
19675
dc70356c
TS
196762012-05-12 Thomas Schwinge <thomas@codesourcery.com>
19677
19678 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19679 * sysdeps/unix/syscalls.list (dup3): Likewise.
19680 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19681 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19682
9fb1a21f
L
196832012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19684
19685 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19686 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19687
4822a2a5
L
196882012-05-11 H.J. Lu <hongjiu.lu@intel.com>
19689
19690 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19691 thread pointer.
19692 (TLS_IE): Use mov/add instead of movq/addq to load thread
19693 pointer.
19694 (TLS_GD_PREFIX): New.
19695 (TLS_GD): Use it.
19696
842b81d6
DM
196972012-05-11 David S. Miller <davem@davemloft.net>
19698
19699 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19700 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19701 (_FPU_SETCW): Likewise.
19702
1cf463cd
L
197032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19704
19705 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19706 is 32-byte aligned.
19707
60cc4a18
AS
197082012-05-11 Andreas Schwab <schwab@linux-m68k.org>
19709
19710 [BZ #11837]
19711 * iconvdata/gb18030.c: Update tables.
19712 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
19713 characters specially.
19714 (BODY for TO_LOOP): Add encoding of missing ranges.
19715
febb44a4
TS
197162012-05-11 Thomas Schwinge <thomas@codesourcery.com>
19717
19718 [BZ #13673]
19719 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19720 * sysdeps/mach/hurd/dup3.c: Likewise.
19721 * sysdeps/mach/hurd/readlinkat.c: Likewise.
19722 * sysdeps/powerpc/memmove.c:: Likewise.
19723
0a10fb9e
L
197242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19725
19726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19727 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19728
df8a552f
L
197292012-05-10 H.J. Lu <hongjiu.lu@intel.com>
19730
19731 * elf/elf.h (R_X86_64_RELATIVE64): New.
19732 (R_X86_64_NUM): Updated.
19733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19734 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
19735 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19736 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19737 tst-quad1pie tst-quad2pie
19738 (modules-names): Add tst-quadmod1 tst-quadmod2.
19739 ($(objpfx)tst-quad1): New dependency.
19740 ($(objpfx)tst-quad2): Likewise.
19741 ($(objpfx)tst-quad1pie): Likewise.
19742 ($(objpfx)tst-quad2pie): Likewise.
19743 * sysdeps/x86_64/tst-quad1.c: New file.
19744 * sysdeps/x86_64/tst-quad1pie.c: New file.
19745 * sysdeps/x86_64/tst-quad2.c: Likewise.
19746 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19747 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19748 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19749 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19750 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19751
f34d6f84
ST
197522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19753
f42d41d1
ST
19754 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19755 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19756 * streams/stropts.h (t_scalar_t): Define type.
19757
3c3571fc
ST
19758 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19759 (_PATH_PRESERVE): Set to "/var/lib".
19760 (_PATH_RWHODIR): Set to "/var/spool/rwho".
19761
61f06bd3
ST
19762 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19763 instead of int.
19764
918d4d71
ST
19765 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19766 if __dir_mkfile succeeded.
19767
f34d6f84
ST
19768 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19769 checking for _hurd_dtablesize. Unlock it right after having
19770 finished _hurd_dtable allocation.
19771
10589b4a
TS
197722012-05-10 Thomas Schwinge <thomas@schwinge.name>
19773
674cdbc7
TS
19774 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19775 * sysdeps/mach/hurd/configure: Regenerated.
19776 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19777 special-casing to...
19778 * sysdeps/gnu/configure.in: ... this new file.
19779 * sysdeps/unix/sysv/linux/configure: Regenerated.
19780 * sysdeps/gnu/configure: New generated file.
19781
8e41b99f
TS
19782 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19783 for Linux: use nsec instead of usec, as well as:
19784 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19785 members of type struct timespec.
19786 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19787 New macros.
19788 (struct stat64): Likewise.
19789 (_STATBUF_ST_NSEC): New macro.
19790 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19791
10589b4a
TS
19792 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19793 __strtoul_internal rather than strtoul.
19794
63643c85
PT
197952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19796
19797 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19798 and reject them.
19799
3faebe6a
ST
198002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19801
19802 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19803 which preserves existing values.
19804 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19805
c6474b07
PT
198062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19807
19808 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19809 TIMEOUT values. Return EINVAL for NFDS values either negative or
19810 greater than FD_SETSIZE.
19811
1043890b
ST
198122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19813
19814 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19815 allocated, call __vm_protect to finish enabling the existing space, and
19816 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19817 allocate the remainder.
19818
37ed8b9b
PT
198192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19820
19821 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19822 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
19823
db653660
ST
198242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19825
37ed8b9b
PT
19826 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19827 sysdeps/mach/hurd/readlink.c.
b29d4053 19828
db653660
ST
19829 * posix/tst-sysconf.c (posix_options): Only use
19830 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19831 _POSIX_SYNCHRONIZED_IO when they are defined
19832 * sysdeps/mach/hurd/bits/posix_opt.h:
19833 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19834 (_XOPEN_REALTIME): Undefine macro.
19835 (_XOPEN_REALTIME_THREADS): Undefine macro.
19836 (_XOPEN_SHM): Undefine macro.
19837 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19838 macro to -1.
19839 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19840 macro to -1.
19841 (_POSIX_ASYNC_IO): Undefine macro.
19842 (_POSIX_PRIORITIZED_IO): Undefine macro.
19843 (_POSIX_SPIN_LOCKS): Define macro to -1.
19844
ee16e894
ST
19845 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19846 SA_NODEFER, SA_RESETHAND.
19847 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19848 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19849 F_DUPFD_CLOEXEC.
19850
6103ae3b
TS
198512012-05-10 Thomas Schwinge <thomas@schwinge.name>
19852
19853 * elf/Makefile (pldd-modules): Define unconditionally.
19854
80b4e5f3
TS
198552012-05-10 Thomas Schwinge <thomas@schwinge.name>
19856
19857 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19858
edadcbd6
ST
198592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19860
19861 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19862 Return ENOENT when name is empty.
19863 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19864
80694780
TS
198652012-05-10 Thomas Schwinge <thomas@schwinge.name>
19866
1792c087
TS
19867 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19868
80694780
TS
19869 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19870
6b645f0d
ST
198712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19872
80694780
TS
19873 Fix mlock in all cases except non-readable pages.
19874 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19875 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 19876
6b645f0d
ST
19877 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19878 (__mkdir): When path is `/', just fail with EEXIST.
19879 * sysdeps/mach/hurd/mkdirat.c: Likewise.
19880
e468f8a3
TS
198812012-05-10 Thomas Schwinge <thomas@schwinge.name>
19882
19883 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19884 <sys/uio.h> (for writev).
19885 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19886 and <sys/param.h> (for MIN).
19887
a4186cff
PT
198882012-05-10 Pino Toscano <toscano.pino@tiscali.it>
19889
19890 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19891 REQUESTED_TIME. Properly set the remaining time and return EINTR
19892 if interrupted.
19893
510bbf14
TS
198942012-05-10 Thomas Schwinge <thomas@schwinge.name>
19895
19896 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19897 Depend on against $(link-rpcuserlibs).
19898
5d5722e8
ST
198992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19900
a4186cff
PT
19901 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19902 (__libc_stack_end): Do not use attribute_relro.
19903 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19904 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 19905 to libthread-provided value.
a4186cff
PT
19906 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19907 attribute_relro.
5d5722e8 19908
37233df9
TS
199092012-05-10 Thomas Schwinge <thomas@schwinge.name>
19910
be971a2b
TS
19911 [BZ #3748]
19912 * bits/libc-lock.h (__libc_once_get): New macro.
19913 * sysdeps/mach/bits/libc-lock.h: Likewise.
19914 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19915 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19916 instead of using implementation details.
19917
37233df9
TS
19918 * libio/fileops.c: Unconditionally include <kernel-features.h>.
19919 * libio/freopen.c: Likewise.
19920 * libio/freopen64.c: Likewise.
19921 * misc/syslog.c: Likewise.
19922 * nscd/connections.c: Likewise.
19923 * nscd/netgroupcache.c: Likewise.
19924 * sysdeps/posix/getcwd.c: Likewise.
19925
38de94a5
RM
199262012-05-10 Roland McGrath <roland@hack.frob.com>
19927
19928 * math/w_ilogbf.c: Add #include <limits.h>.
19929
67530489
ST
199302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19931
a4186cff 19932 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
19933 path instead of returning without unlocking.
19934
67530489
ST
19935 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19936 immediate-write ioctls.
19937 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19938
5aa3a74a
TS
199392012-05-10 Thomas Schwinge <thomas@schwinge.name>
19940
18bad2ae
TS
19941 * sysdeps/mach/hurd/i386/init-first.c (init): Use
19942 __builtin_frame_address instead of making assumptions about the
19943 location of the return address relative to DATA. Force early load of
19944 the return address.
19945 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19946 __builtin_frame_address.
19947
5aa3a74a
TS
19948 dup3 for GNU Hurd.
19949 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19950 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
19951 implement dup3 and do some further code clean-ups.
19952 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19953 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19954
ecd0de9a
ST
199552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19956
cd9fa985
ST
19957 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19958
a4186cff
PT
19959 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19960 HURD_CRITICAL_END around holding _hurd_dtable_lock.
19961 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19962 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19963 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19964 d->port.lock.
802ca5a5 19965
a4186cff
PT
19966 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19967 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
19968 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 19969
bcf55240
TS
199702012-05-10 Thomas Schwinge <thomas@schwinge.name>
19971
6960eb42
TS
19972 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19973 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19974 definitions.
19975
eb43375f
TS
19976 accept4 for GNU Hurd.
19977 * include/sys/socket.h (__libc_accept4): New prototype.
19978 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
19979 to implement __libc_accept4.
19980 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19981 __libc_accept4.
19982 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19983
bcf55240
TS
19984 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19985 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19986 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19987 signal-defines.sym.
19988
6178c55b
ST
199892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19990
a4186cff 19991 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 19992
6f080c2f
TS
199932012-05-10 Thomas Schwinge <thomas@schwinge.name>
19994
19995 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19996 assertion on O_CLOEXEC flag.
19997 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19998 * hurd/intern-fd.c: Likewise.
19999 * hurd/port2fd.c: Likewise.
20000
bcfe3a54
ST
200012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20002
20003 [BZ #3906]
20004 * bits/in.h (IPV6_PKTINFO): Define new macro.
20005 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20006
89c9aa49
AZ
200072012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20008
20009 [BZ #13954]
20010 [BZ #13955]
20011 [BZ #13956]
20012 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20013 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20014 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20015 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20017 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20018 * math/libm-test.inc (logb_test) : Additional logb tests.
20019
021db4be
AJ
200202012-05-09 Andreas Schwab <schwab@linux-m68k.org>
20021 Andreas Jaeger <aj@suse.de>
20022
20023 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20024 * configure: Regenerated.
20025 * config.h.in (LINK_OBSOLETE_RPC): New macro.
20026 * config.make.in (link-obsolete-rpc): New substituted variable.
20027 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20028 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20029 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20030 (shared-only-routines): Don't set it under [link-obsolete-rpc],
20031 so that libc.a contains the symbols.
20032 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20033 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20034 * sunrpc/auth_none.c: Likewise.
20035 * sunrpc/auth_unix.c: Likewise.
20036 * sunrpc/authdes_prot.c: Likewise.
20037 * sunrpc/authuxprot.c: Likewise.
20038 * sunrpc/clnt_gen.c: Likewise.
20039 * sunrpc/clnt_perr.c: Likewise.
20040 * sunrpc/clnt_raw.c: Likewise.
20041 * sunrpc/clnt_simp.c: Likewise.
20042 * sunrpc/clnt_tcp.c: Likewise.
20043 * sunrpc/clnt_udp.c: Likewise.
20044 * sunrpc/clnt_unix.c: Likewise.
20045 * sunrpc/des_crypt.c: Likewise.
20046 * sunrpc/des_soft.c: Likewise.
20047 * sunrpc/get_myaddr.c: Likewise.
20048 * sunrpc/key_call.c: Likewise.
20049 * sunrpc/key_prot.c: Likewise.
20050 * sunrpc/netname.c: Likewise.
20051 * sunrpc/pm_getmaps.c: Likewise.
20052 * sunrpc/pm_getport.c: Likewise.
20053 * sunrpc/pmap_clnt.c: Likewise.
20054 * sunrpc/pmap_prot.c: Likewise.
20055 * sunrpc/pmap_prot2.c: Likewise.
20056 * sunrpc/pmap_rmt.c: Likewise.
20057 * sunrpc/publickey.c: Likewise.
20058 * sunrpc/rpc_cmsg.c: Likewise.
20059 * sunrpc/rpc_common.c: Likewise.
20060 * sunrpc/rpc_dtable.c: Likewise.
20061 * sunrpc/rpc_prot.c: Likewise.
20062 * sunrpc/rpc_thread.c: Likewise.
20063 * sunrpc/rtime.c: Likewise.
20064 * sunrpc/svc.c: Likewise.
20065 * sunrpc/svc_auth.c: Likewise.
20066 * sunrpc/svc_raw.c: Likewise.
20067 * sunrpc/svc_run.c: Likewise.
20068 * sunrpc/svc_tcp.c: Likewise.
20069 * sunrpc/svc_udp.c: Likewise.
20070 * sunrpc/svc_unix.c: Likewise.
20071 * sunrpc/svcauth_des.c: Likewise.
20072 * sunrpc/xcrypt.c: Likewise.
20073 * sunrpc/xdr.c: Likewise.
20074 * sunrpc/xdr_array.c: Likewise.
20075 * sunrpc/xdr_float.c: Likewise.
20076 * sunrpc/xdr_intXX_t.c: Likewise.
20077 * sunrpc/xdr_mem.c: Likewise.
20078 * sunrpc/xdr_rec.c: Likewise.
20079 * sunrpc/xdr_ref.c: Likewise.
20080 * sunrpc/xdr_sizeof.c: Likewise.
20081 * sunrpc/xdr_stdio.c: Likewise.
20082
b5c086a2
RM
200832012-05-10 Roland McGrath <roland@hack.frob.com>
20084
20085 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20086 change. Update copyright years.
20087
6d74dd09
JM
200882012-05-10 Joseph Myers <joseph@codesourcery.com>
20089
20090 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20091
28e72501
MK
200922012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
20093 Joseph Myers <joseph@codesourcery.com>
20094 Paul Pluzhnikov <ppluzhnikov@google.com>
20095
20096 [BZ #14012]
20097 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20098 requiring rpcgen.
20099 [cross-compiling] (extra-libs): Likewise.
20100 [cross-compiling] (extra-libs-others): Likewise.
20101 [cross-compiling] (librpcsvc-routines): Likewise.
20102 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20103 [cross-compiling] (omit-deps): Likewise.
20104 (sunrpc-CPPFLAGS): New variable.
20105 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20106 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20107 (cross-rpcgen-objs): New variable.
20108 (extra-objs): Append $(cross-rpcgen-objs).
20109 ($(cross-rpcgen-objs)): New rule.
20110 ($(objpfx)cross-rpcgen): Likewise.
20111 (rpcgen-cmd): Define to use $(built-program-file). Expand
20112 comment.
20113 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20114 ($(objpfx)x%.stmp): Likewise.
20115 * sunrpc/proto.h [IS_IN_build] (_): Define.
20116 [IS_IN_build] (_libc_intl_domainname): Likewise.
20117
c8c59454
L
201182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20119
20120 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20121 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20122 and R_X86_64_TPOFF64.
20123
6f27cd16
JM
201242012-05-10 Joseph Myers <joseph@codesourcery.com>
20125
20126 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20127 sysdeps/unix/sysv/syscalls.list.
20128 (stime): Likewise.
20129 (utime): Likewise.
20130 * sysdeps/unix/sysv/syscalls.list: Remove file.
20131
02467e1c
PE
201322012-05-10 Paul Eggert <eggert@cs.ucla.edu>
20133
20134 [BZ #3440]
20135 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20136 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20137 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20138 (__LC_IDENTIFICATION): Make these macros useful in #if
20139 expressions, as required by C99.
20140
da392631
AS
201412012-05-10 Andreas Schwab <schwab@linux-m68k.org>
20142
20143 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20144 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
20145 after this.
20146
8115f29b
L
201472012-05-09 H.J. Lu <hongjiu.lu@intel.com>
20148
20149 * stdlib/longlong.h: Updated from GCC.
20150
bdd74070
AJ
201512012-05-09 Andreas Jaeger <aj@suse.de>
20152
edfe0dbe
AJ
20153 * nscd/nscd.c (run_modes): Make named enum, reorder so that
20154 default is first entry.
20155 (run_mode): Set type.
20156 (main): Remove informal message about syslog.
20157 (options): Fix typo.
20158
bcfe3a54
ST
20159 [BZ #14053]
20160 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 20161 to asm.
bcfe3a54
ST
20162 (lrint): Likewise.
20163 (llrintf): Likewise.
20164 (llrint): Likewise.
20165 (rint): Likewise.
20166 (rintf): Likewise.
20167 (nearbyint): Likewise.
20168 (nearbyintf): Likewise.
bdd74070 20169
91d8d69e
AJ
201702012-05-09 Andreas Jaeger <aj@suse.de>
20171 Pedro Alves <palves@redhat.com>
20172
20173 * nscd/nscd.c (run_mode): Use enum.
20174 (main): Cleanup coding style issue.
20175
bb90b80b
AJ
201762012-05-09 Alexandre Oliva <aoliva@redhat.com>
20177 Andreas Jaeger <aj@suse.de>
20178
bcfe3a54
ST
20179 * nscd/nscd.c (go_background): Replaced with...
20180 (run_mode): ... this.
bb90b80b 20181 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
20182 (options): Add -F --foreground.
20183 (main): Implement it.
20184 (parse_opt): Parse it.
bb90b80b 20185
1a4b75a1
AJ
201862012-05-09 Andreas Jaeger <aj@suse.de>
20187
20188 [BZ #14083]
20189 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20190 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20191 -Wconversion warning.
20192 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20193 Likewise.
20194
b1cc2472
JM
201952012-05-09 Joseph Myers <joseph@codesourcery.com>
20196
20197 * conform/data/locale.h-data (NULL): Use macro-constant. Require
20198 == 0.
20199 (LC_ALL): Use macro-int-constant.
20200 (LC_COLLATE): Likewise.
20201 (LC_CTYPE): Likewise.
20202 (LC_MESSAGES): Likewise.
20203 (LC_MONETARY): Likewise.
20204 (LC_NUMERIC): Likewise.
20205 (LC_TIME): Likewise.
20206 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20207 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20208 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20209 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20210 Specify type.
20211 [C99-based standards] (float_t): Expect type.
20212 [C99-based standards] (double_t): Expect type.
20213 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
20214 type.
20215 [C99-based standards] (HUGE_VALL): Likewise.
20216 [C99-based standards] (INFINITY): Likewise.
20217 [C99-based standards] (NAN): Likewise.
20218 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20219 [C99-based standards] (FP_NAN): Likewise.
20220 [C99-based standards] (FP_NORMAL): Likewise.
20221 [C99-based standards] (FP_SUBNORMAL): Likewise.
20222 [C99-based standards] (FP_ZERO): Likewise.
20223 [C99-based standards] (FP_FAST_FMA): Use
20224 optional-macro-int-constant. Specify type. Require == 1.
20225 [C99-based standards] (FP_FAST_FMAF): Likewise.
20226 [C99-based standards] (FP_FAST_FMAL): Likewise.
20227 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20228 [C99-based standards] (FP_ILOGBNAN): Likewise.
20229 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20230 Specify type.
20231 [C99-based standards] (MATH_ERREXCEPT): Likewise.
20232 [C99-based standards] (math_errhandling): Specify type.
20233 [ISO99 || ISO11] (signgam): Do not allow.
20234 [non-C99-based standards] (copysignf): Do not allow.
20235 [non-C99-based standards] (exp2f): Likewise.
20236 [non-C99-based standards] (log2f): Likewise.
20237 [non-C99-based standards] (modff): Allow.
20238 [non-C99-based standards] (erff): Do not allow.
20239 [non-C99-based standards] (erfcf): Likewise.
20240 [non-C99-based standards] (gammaf): Likewise.
20241 [non-C99-based standards] (hypotf): Likewise.
20242 [non-C99-based standards] (j0f): Likewise.
20243 [non-C99-based standards] (j1f): Likewise.
20244 [non-C99-based standards] (jnf): Likewise.
20245 [non-C99-based standards] (lgammaf): Likewise.
20246 [non-C99-based standards] (tgammaf): Likewise.
20247 [non-C99-based standards] (y0f): Likewise.
20248 [non-C99-based standards] (y1f): Likewise.
20249 [non-C99-based standards] (ynf): Likewise.
20250 [non-C99-based standards] (isnanf): Likewise.
20251 [non-C99-based standards] (acoshf): Likewise.
20252 [non-C99-based standards] (asinhf): Likewise.
20253 [non-C99-based standards] (atanhf): Likewise.
20254 [non-C99-based standards] (cbrtf): Likewise.
20255 [non-C99-based standards] (expm1f): Likewise.
20256 [non-C99-based standards] (ilogbf): Likewise.
20257 [non-C99-based standards] (log1pf): Likewise.
20258 [non-C99-based standards] (logbf): Likewise.
20259 [non-C99-based standards] (nextafterf): Likewise.
20260 [non-C99-based standards] (remainderf): Likewise.
20261 [non-C99-based standards] (rintf): Likewise.
20262 [non-C99-based standards] (scalbf): Likewise.
20263 [non-C99-based standards] (copysignl): Likewise.
20264 [non-C99-based standards] (exp2l): Likewise.
20265 [non-C99-based standards] (log2l): Likewise.
20266 [non-C99-based standards] (modfl): Allow.
20267 [non-C99-based standards] (erfl): Do not allow.
20268 [non-C99-based standards] (erfcl): Likewise.
20269 [non-C99-based standards] (gammal): Likewise.
20270 [non-C99-based standards] (hypotl): Likewise.
20271 [non-C99-based standards] (j0l): Likewise.
20272 [non-C99-based standards] (j1l): Likewise.
20273 [non-C99-based standards] (jnl): Likewise.
20274 [non-C99-based standards] (lgammal): Likewise.
20275 [non-C99-based standards] (tgammal): Likewise.
20276 [non-C99-based standards] (y0l): Likewise.
20277 [non-C99-based standards] (y1l): Likewise.
20278 [non-C99-based standards] (ynl): Likewise.
20279 [non-C99-based standards] (isnanl): Likewise.
20280 [non-C99-based standards] (acoshl): Likewise.
20281 [non-C99-based standards] (asinhl): Likewise.
20282 [non-C99-based standards] (atanhl): Likewise.
20283 [non-C99-based standards] (cbrtl): Likewise.
20284 [non-C99-based standards] (expm1l): Likewise.
20285 [non-C99-based standards] (ilogbl): Likewise.
20286 [non-C99-based standards] (log1pl): Likewise.
20287 [non-C99-based standards] (logbl): Likewise.
20288 [non-C99-based standards] (nextafterl): Likewise.
20289 [non-C99-based standards] (remainderl): Likewise.
20290 [non-C99-based standards] (rintl): Likewise.
20291 [non-C99-based standards] (scalbl): Likewise.
20292 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20293 [non-C99-based standards] (FP_*): Do not allow.
20294 [C99-based standards] (FP_*): Change to
20295 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20296 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20297 allow.
20298 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20299 (SIG_ERR): Likewise.
20300 [X/Open-based standards] (SIG_HOLD): Likewise.
20301 (SIG_IGN): Likewise.
20302 (SIGABRT): Use macro-int-constant. Specify type. Require
20303 positive value.
20304 (SIGFPE): Likewise.
20305 (SIGILL): Likewise.
20306 (SIGINT): Likewise.
20307 (SIGSEGV): Likewise.
20308 (SIGTER): Likewise.
20309 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20310 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20311 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20312 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20313 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20314 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20315 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20316 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20317 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20318 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20319 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20320 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20321 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20322 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20323 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20324 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20325 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20326 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20327 [X/Open-based standards] (SIGTRAP): Likewise.
20328 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20329 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20330 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20331 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20332 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20333 allow.
20334
b9f1922d
IW
203352012-05-08 Ian Wienand <ianw@vmware.com>
20336
20337 [BZ #14080]
20338 * time/tzset.c (__tzset_parse_tz): Update default rules for
20339 daylight time changes in the Energy Policy Act of 2005.
20340
1db86e88
AJ
203412012-05-09 Andreas Jaeger <aj@suse.de>
20342
20343 [BZ #13983]
20344 * elf/ldconfig.c (parse_conf): Change string to make clear that
20345 ldconfig only issued a warning if ld.so.conf does not exist.
20346
dee4a4e3
DM
203472012-05-08 David S. Miller <davem@davemloft.net>
20348
ee0db190
DM
20349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20350 movxtod instead of popping the value on the stack.
20351
dee4a4e3
DM
20352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20353
6a43ec98
CD
203542012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
20355
20356 * config.h.in: Add HAVE_ARM_PCS_VFP.
20357
05c2c961
RMG
203582012-05-08 Roland Mc Grath <roland@hack.frob.com>
20359
bcfe3a54
ST
20360 [BZ #13979]
20361 * include/features.h: Warn if user requests __FORTIFY_SOURCE
20362 checking but the checks are disabled for any reason.
05c2c961 20363
4b30f61a
L
203642012-05-08 H.J. Lu <hongjiu.lu@intel.com>
20365
20366 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20367 and ELF64_R_TYPE with ELFW(R_TYPE).
20368
eee2bc67
JM
203692012-05-08 Joseph Myers <joseph@codesourcery.com>
20370
7ea5391a
JM
20371 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20372 (ulimit): Likewise.
20373
eee2bc67
JM
20374 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20375 (settimeofday): Likewise.
20376
abb66a67
MF
203772012-05-08 Mike Frysinger <vapier@gentoo.org>
20378
20379 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
20380 a struct th_u2 inside the union, and move tu_block/tu_code into
20381 a new th_u3 union of tu_block/tu_code inside of that. Move
20382 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
20383 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
20384 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20385 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20386 (th_stuff): Change to th_u1.tu_stuff.
20387 (th_data): Define.
20388 (th_msg): Change to th_u1.th_u2.tu_data.
20389
7f18b530
DM
203902012-05-07 David S. Miller <davem@davemloft.net>
20391
05760585
DM
20392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20393
7f18b530
DM
20394 [BZ #14074]
20395 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20396 (SETUP_PIC_REG): Use it.
20397 (SETUP_PIC_REG_LEAF): Use it.
20398
495fd99f
JM
203992012-05-07 Joseph Myers <joseph@codesourcery.com>
20400
20401 [BZ #13885]
20402 [BZ #13923]
20403 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20404 USE_AS_EXPM1L.
20405 (EXPL_FINITE): Likewise.
20406 (FLDLOG): Likewise.
20407 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20408 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20409 e_expl.S.
20410 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20411 USE_AS_EXPM1L.
20412 (EXPL_FINITE): Likewise.
20413 (FLDLOG): Likewise.
20414 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20415 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20416 e_expl.S.
20417 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
20418 test of -max_value argument for long double.
20419 * sysdeps/i386/fpu/libm-test-ulps: Update.
20420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20421
6693d694
DM
204222012-05-06 David S. Miller <davem@davemloft.net>
20423
20424 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20425 quad soft-float symbols whose references which are compiler
20426 generated.
20427 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20428
6c23e11c
JM
204292012-05-06 Joseph Myers <joseph@codesourcery.com>
20430
d8b82cad
JM
20431 [BZ #13884]
20432 [BZ #13914]
20433 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20434 USE_AS_EXP10L.
20435 (EXPL_FINITE): Likewise.
20436 (FLDLOG): Likewise.
20437 (c0): Likewise.
20438 (c1): Likewise.
20439 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20440 Adjust comments for base varying.
20441 (__expl_finite): Change alias to EXPL_FINITE.
20442 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20443 e_expl.S.
20444 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20445 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20446 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20447 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20448 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20449 USE_AS_EXP10L.
20450 (EXPL_FINITE): Likewise.
20451 (FLDLOG): Likewise.
20452 (c0): Likewise.
20453 (c1): Likewise.
20454 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
20455 Adjust comments for base varying.
20456 (__expl_finite): Change alias to EXPL_FINITE.
20457 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
20458 tests for bugs.
20459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20460
6c23e11c
JM
20461 [BZ #14064]
20462 * math/libm-test.inc (check_float_internal): Correct ulp
20463 calculation for subnormal expected results.
20464
29ba805c
AJ
204652012-05-06 Andreas Jaeger <aj@suse.de>
20466
20467 * Makeconfig (+math-flags): New, set to -frounding-math.
20468 (+cflags): Add +math-flags so that all of glibc gets compiled with
20469 it.
20470
20471 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20472
7b17aeda
JM
204732012-05-05 Joseph Myers <joseph@codesourcery.com>
20474
5779f134
JM
20475 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20476 Disable one test.
20477
41498f4d
JM
20478 [BZ #13787]
20479 [BZ #13922]
20480 [BZ #14036]
20481 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20482 (__ieee754_expl): Allow for and saturate large arguments.
20483 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20484 (u_threshold): Likewise.
20485 (__exp): Call __ieee754_exp before checking for overflow and
20486 underflow.
20487 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20488 (u_threshold): Likewise.
20489 (__expf): Call __ieee754_expf before checking for overflow and
20490 underflow.
20491 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20492 (u_threshold): Likewise.
20493 (__expl): Call __ieee754_expl before checking for overflow and
20494 underflow.
20495 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20496 (__ieee754_expl): Allow for and saturate large arguments.
20497 * math/libm-test.inc (exp_test): Add another test. Do not allow
20498 missing overflow exception on overflow.
20499 (expm1_test): Do not allow missing overflow exception on overflow.
20500
6698b8bf
JM
20501 * sysdeps/i386/fpu/e_expl.c: Move to ...
20502 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
20503 rather than using inline asm.
20504 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20505 * sysdeps/x86_64/fpu/e_expl.S: Copy from
20506 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20507
7b17aeda
JM
20508 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20509 (nice): Likewise.
20510 (poll): Likewise.
20511 (signal): Likewise.
20512 (time): Likewise.
20513 (times): Likewise.
20514
f7c85819
JM
205152012-05-04 Joseph Myers <joseph@codesourcery.com>
20516
20517 * sysdeps/unix/syscalls.list (adjtime): Add entry from
20518 sysdeps/unix/common/syscalls.list.
20519 (fchmod): Likewise.
20520 (fchown): Likewise.
20521 (ftruncate): Likewise.
20522 (getrusage): Likewise.
20523 (gettimeofday): Likewise.
20524 (setpgid): Likewise.
20525 (setregid): Likewise.
20526 (setreuid): Likewise.
20527 (sigaction): Likewise.
20528 (truncate): Likewise.
20529 (vhangup): Likewise.
20530 * sysdeps/unix/common/syscalls.list: Remove file.
20531 * sysdeps/unix/bsd/Implies: Don't include unix/common.
20532 * sysdeps/unix/sysv/linux/Implies: Likewise.
20533
336270d0
L
205342012-05-04 H.J. Lu <hongjiu.lu@intel.com>
20535
20536 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20538 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20539 Moved to ...
20540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20541 Here.
20542 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20543 to ...
20544 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20545 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20546 to ...
20547 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20548 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20549 to ...
20550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20551 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20552 to ...
20553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20554 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20555 to ...
20556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20557 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20558 to ...
20559 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20560 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20561 to ...
20562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20563 Here.
20564 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20565 to ...
20566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20567 Here.
20568 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20569 to ...
20570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20571 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20572 Moved to ...
20573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20574 Here.
20575 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20576 to ...
20577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20578
d128e450
JM
205792012-05-04 Joseph Myers <joseph@codesourcery.com>
20580
fa8ee516
JM
20581 * sysdeps/unix/common/bits/dirent.h: Remove file.
20582 * sysdeps/unix/common/bits/fcntl.h: Likewise.
20583
d128e450
JM
20584 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20585 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20586 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20587 * sysdeps/unix/bsd/isatty.c: Likewise.
20588 * sysdeps/unix/bsd/tcdrain.c: Likewise.
20589 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20590 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20591
ff8faaf0 205922012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 20593
62881be4 20594 [BZ #13563]
31dc8730
AZ
20595 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20596 long double comparison inaccuracies.
20597 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20599
6fef930c
AS
206002012-05-04 Andreas Schwab <schwab@linux-m68k.org>
20601
20602 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20604
8f203e6c
JM
206052012-05-04 Joseph Myers <joseph@codesourcery.com>
20606
20607 [BZ #14049]
20608 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20609 nonzero digits before rounding a hex value.
20610 * stdlib/tst-strtod.c (tests): Add another test.
20611
5197d9c2
AK
206122012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20613
20614 * sysdeps/s390/fpu/libm-test-ulps: Update.
20615
f0c1dedf
AJ
206162012-05-03 Andreas Jaeger <aj@suse.de>
20617
20618 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20619 does not get optimized out.
20620 (malloc_opt_barrier): New.
20621
a65ef2ae 206222012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 20623 Roland McGrath <roland@hack.frob.com>
a65ef2ae 20624
2b942cb7 20625 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 20626 intermediate file deletion.
2b942cb7 20627 (generated): Add .symlist files.
a65ef2ae 20628
54b71e02
JM
206292012-05-03 Joseph Myers <joseph@codesourcery.com>
20630
20631 [BZ #13775]
20632 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20633 Redirect under this condition.
20634 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20635 [__USE_GNU] (__dprintf_chk): Not under this condition.
20636 [__USE_GNU] (__vdprintf_chk): Likewise.
20637 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20638 under this condition.
20639 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20640 [__USE_XOPEN2K8] (dprintf): Define under this condition.
20641 [__USE_XOPEN2K8] (vdprintf): Likewise.
20642 [__USE_GNU] (__dprintf_chk): Not under this condition.
20643 [__USE_GNU] (__vdprintf_chk): Likewise.
20644 [__USE_GNU] (dprintf): Likewise.
20645 [__USE_GNU] (vdprintf): Likewise.
20646
d3dfcc41
RM
206472012-05-03 Roland McGrath <roland@hack.frob.com>
20648
20649 * elf/Makefile (common-generated): Set this instead of generated for
20650 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
20651 $(all-built-dso)-derived lists.
20652
7ac30cc5
AJ
206532012-05-03 Andreas Jaeger <aj@suse.de>
20654
0c51e550
AJ
20655 * sysdeps/i386/fpu/libm-test-ulps: Update.
20656
7ac30cc5
AJ
20657 * FAQ: Removed.
20658 * FAQ.in: Likewise.
20659 * scripts/gen-FAQ.pl: Likewise.
20660 * manual/install.texi (Installation): Point to online location of
20661 FAQ.
20662 * Makefile (files-for-dist): Remove FAQ.
20663 (FAQ): Remove.
20664
d4c2917f
AM
206652012-05-02 Allan McRae <allan@archlinux.org>
20666
20667 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20668 (LDFLAGS-reldepmod5.so): Likewise.
20669 (LDFLAGS-reldep6mod1.so): Likewise.
20670 (LDFLAGS-reldep6mod4.so): Likewise.
20671 (LDFLAGS-reldep8mod3.so): Likewise.
20672 (LDFLAGS-unload4mod1.so): Likewise.
20673 (LDFLAGS-unload4mod2.so): Likewise.
20674 (LDFLAGS-tst-initorder): Likewise.
20675 (LDFLAGS-tst-initordera2.so): Likewise.
20676 (LDFLAGS-tst-initordera3.so): Likewise.
20677 (LDFLAGS-tst-initordera4.so): Likewise.
20678 (LDFLAGS-tst-initorderb2.so): Likewise.
20679 (LDFLAGS-noload): Likewise.
20680 (LDFLAGS-next): Likewise.
20681 (LDFLAGS-order2mod1.so): Likewise.
20682 (LDFLAGS-order2mod2.so): Likewise.
20683 (LDFLAGS-tst-initorder2): Likewise.
20684 (LDFLAGS-tst-initorder2a.so): Likewise.
20685 (LDFLAGS-tst-initorder2b.so): Likewise.
20686 (LDFLAGS-tst-initorder2c.so): Likewise.
20687 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20688
d77f993f
DM
206892012-05-02 David S. Miller <davem@davemloft.net>
20690
20691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20692
171a70b4
PP
206932012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
20694
20695 [BZ #14055]
20696 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20697
0be196ad
AJ
206982012-05-02 Andreas Jaeger <aj@suse.de>
20699
20700 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20701 since we manipulate rounding mode.
20702 (CPPFLAGS-test-idouble.c): Likewise.
20703 (CPPFLAGS-test-ifloat.c): Likewise.
20704 (CFLAGS-test-ldouble.c): Likewise.
20705 (CFLAGS-test-double.c): Likewise.
20706 (CFLAGS-test-float.c): Likewise.
20707 (CFLAGS-test-misc.c): Likewise.
20708 (CFLAGS-test-test-fenv.c): Likewise.
20709
4f9d04aa
AZ
207102012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20711
2b942cb7
RM
20712 [BZ #2550]
20713 [BZ #2570]
20714 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20715 comparisons to determine direction to adjust input.
4f9d04aa 20716
82a79e7d
RM
207172012-05-01 Roland McGrath <roland@hack.frob.com>
20718
f5a01ca9
RM
20719 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20720 output to the target.
20721
90fe4186
RM
20722 * scripts/localplt.awk: New file.
20723 * elf/Makefile ($(objpfx)check-localplt): Target removed.
20724 (check-localplt-CFLAGS): Variable removed.
20725 ($(all-built-dso:=.jmprel)): New static pattern rule.
20726 (generated): Add those targets.
20727 (localplt-built-dso): New variable.
20728 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20729
20730 * elf/check-localplt.c: File removed.
20731
82397ed6
RM
20732 * scripts/check-execstack.awk: New file.
20733 * elf/Makefile ($(objpfx)check-execstack): Target removed.
20734 (check-execstack-CFLAGS): Variable removed.
20735 ($(objpfx)check-execstack.h): Target removed.
20736 ($(objpfx)execstack-default): New target.
20737 (generated): Add that instead of check-execstack.h.
20738 ($(all-built-dso:=.phdr)): New static pattern rule.
20739 (generated): Add those targets.
20740 * elf/check-execstack.c: File removed.
20741
82a79e7d
RM
20742 * scripts/check-textrel.awk: New file.
20743 * elf/Makefile ($(objpfx)check-textrel): Target removed.
20744 (check-textrel-CFLAGS): Variable removed.
20745 (all-built-dso): Use := to define.o
20746 ($(all-built-dso:=.dyn)): New static pattern rule.
20747 (generated): Add those targets.
20748 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20749 * config.make.in (READELF): New substituted variable.
20750 * elf/check-textrel.c: File removed.
20751
62fde54f 207522012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 20753
615605c9
JM
20754 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20755 allow.
20756 * conform/data/ctype.h-data [C99-based standards] (isblank):
20757 Expect function.
20758 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20759 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20760 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20761 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20762 Specify type. Require positive value.
20763 (EILSEQ): Likewise.
20764 (ERANGE): Likewise.
20765 [ISO || POSIX] (EILSEQ): Do not expect.
20766 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20767 Specify type. Require positive value.
20768 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20769 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20770 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20771 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20772 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20773 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20774 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20775 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20776 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20777 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20778 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20779 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20780 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20781 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20782 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20783 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20784 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20785 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20786 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20787 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20788 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20789 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20790 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20791 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20792 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20793 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20794 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20795 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20796 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20797 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20798 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20799 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20800 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20801 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20803 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20804 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20805 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20806 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20807 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20808 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20809 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20810 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20811 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20812 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20813 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20814 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20815 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20816 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20817 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20818 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20819 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20820 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20821 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20822 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20823 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20824 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20825 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20826 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20827 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20828 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20829 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20830 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20831 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20832 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20833 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20834 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20835 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20836 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20837 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20838 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20839 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20840 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20841 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20842 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20843 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20844 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20845 Require >= 2.
20846 (FLT_ROUNDS): Expect as macro, not constant.
20847 (FLT_MANT_DIG): Use macro-int-constant.
20848 (DBL_MANT_DIG): Likewise.
20849 (LDBL_MANT_DIG): Likewise.
20850 (FLT_DIG): Likewise.
20851 (DBL_DIG): Likewise.
20852 (LDBL_DIG): Likewise.
20853 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
20854 (DBL_MIN_EXP): Likewise.
20855 (LDBL_MIN_EXP): Likewise.
20856 (FLT_MAX_EXP): Use macro-int-constant.
20857 (DBL_MAX_EXP): Likewise.
20858 (LDBL_MAX_EXP): Likewise.
20859 (FLT_MAX_10_EXP): Likewise.
20860 (DBL_MAX_10_EXP): Likewise.
20861 (LDBL_MAX_10_EXP): Likewise.
20862 (FLT_MAX): Use macro-constant.
20863 (DBL_MAX): Likewise.
20864 (LDBL_MAX): Likewise.
20865 (FLT_EPSILON): Use macro-constant. Give upper bound.
20866 (DBL_EPSILON): Likewise.
20867 (LDBL_EPSILON): Likewise.
20868 (FLT_MIN): Likewise.
20869 (DBL_MIN): Likewise.
20870 (LDBL_MIN): Likewise.
20871 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20872 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20873 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20874 [ISO11] (FLT_HAS_SUBNORM): Likewise.
20875 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20876 [ISO11] (DBL_DECIMAL_DIG): Likewise.
20877 [ISO11] (FLT_DECIMAL_DIG): Likewise.
20878 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20879 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20880 [ISO11] (FLT_TRUE_MIN): Likewise.
20881 [ISO11] (LDBL_TRUE_MIN): Likewise.
20882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20883 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20884 (SCHAR_MIN): Use macro-int-constant. Specify type.
20885 (SCHAR_MAX): Likewise.
20886 (UCHAR_MAX): Likewise.
20887 (CHAR_MIN): Likewise.
20888 (CHAR_MAX): Likewise.
20889 (MB_LEN_MAX): Use macro-int-constant.
20890 (SHRT_MIN): Use macro-int-constant. Specify type.
20891 (SHRT_MAX): Likewise.
20892 (USHRT_MAX): Likewise.
20893 (INT_MAX): Likewise.
20894 (INT_MIN): Use macro-int-constant. Specify type. Make upper
20895 bound negative.
20896 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
20897 bound with "U".
20898 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20899 bound with "L".
20900 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
20901 bound negative. Suffix upper bound with "L".
20902 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
20903 bound with "UL".
20904 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20905 Specify type.
20906 [C99-based standards] (LLONG_MAX): Likewise.
20907 [C99-based standards] (ULLONG_MAX): Likewise.
20908 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
20909 == 0.
20910 [ISO11] (max_align_t): Require type.
20911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20912
c9140a62
JM
20913 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20914 from $CFLAGS, without defining away __attribute__ calls.
20915 (checknamespace): Use $CFLAGS_namespace.
20916
9af0bf29
JM
20917 * conform/conformtest.pl (@keywords): Only include C99 keywords
20918 for standards based on C99 or C11.
20919
343222a2
JM
20920 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20921 Disable tests.
20922 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20923 UNIX98]: Likewise.
20924
661f8cf0
JM
20925 * conform/conformtest.pl: Handle "macro-int-constant" and test for
20926 usability of symbols in #if.
20927
ee74b9cb
JM
20928 * conform/conformtest.pl: If macro or constant types start
20929 "promoted:", expect the symbol to be of the following type
20930 promoted by the integer promotions.
62fde54f 20931
aafc49b3
JM
20932 * conform/conformtest.pl: Parse all "constant" and "macro" lines
20933 in one place. Also handle "macro-constant".
20934
fefdf574
JM
20935 * conform/conformtest.pl: Only accept expected macro values with
20936 "==". Parse all "macro" lines in one place.
20937 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20938
f2d922fe
JM
20939 * conform/conformtest.pl: Handle braced types on "constant" lines
20940 instead of handling "typed-constant".
20941 * conform/data/signal.h-data: Use "constant" instead of
20942 "typed-constant".
20943
d22956c9
JM
20944 * conform/conformtest.pl: Handle "optional-" at start of lines in
20945 one place rather than duplicating several cases. Handle each
20946 format of "macro" line with initial "optional-".
20947
028e2e38
JM
20948 * conform/conformtest.pl: Only accept expected constant or
20949 optional-constant values with "==". Parse all "constant" lines in
20950 one place. Parse all "optional-constant" lines in one place.
20951 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20952 * conform/data/fmtmsg.h-data: Likewise.
20953 * conform/data/netinet/in.h-data: Likewise.
20954 * conform/data/tar.h-data: Likewise.
20955 * conform/data/limits.h-data: Use "==" form on "constant" and
20956 "optional-constant" lines.
20957
1b8f2850
JM
20958 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20959 Use -std=c99 for XOPEN2K.
20960 (@knownproblems): Remove.
20961 (newtoken): Don't check %isknown.
20962
a05a144b
JM
20963 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20964 Do not expect macro.
20965 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20966 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20967 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20968 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20969 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20970 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20971 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20972 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20973 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20974 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20975 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20976 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20977 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20978 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20979 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20980 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20981 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20982 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20983 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20984 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20985 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20986 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20987 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20988 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20989 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20990 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20991 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20992 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20993 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20994 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20995 [XPG3] (acosh): Likewise.
20996 [XPG3] (asinh): Likewise.
20997 [XPG3] (atanh): Likewise.
20998 [XPG3] (cbrt): Likewise.
20999 [XPG3] (expm1): Likewise.
21000 [XPG3] (ilogb): Likewise.
21001 [XPG3] (log1p): Likewise.
21002 [XPG3] (logb): Likewise.
21003 [XPG3] (nextafter): Likewise.
21004 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21005 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21006 [XPG3] (remainder): Likewise.
21007 [XPG3] (rint): Likewise.
21008 [XPG3 || XPG4 || UNIX98] (round): Likewise.
21009 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21010 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21011 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21012 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21013 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21014 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21015 [UNIX98 || XOPEN2K] (scalb): Expect.
21016 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21017 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21018 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21019 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21020 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21021 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21022 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21023 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21024 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21025 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21026 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21027 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21028 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21029 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21030 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21031 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21032 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21033 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21034 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21035 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21036 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21037 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21038 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21039 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21040 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21041 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21042 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21043 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21044 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21045 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21046 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21047 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21048 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21049 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21050 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21051 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21052 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21053 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21054 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21055 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21056 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21057 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21058 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21059 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21060 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21061 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21062 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21063 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21064 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21065 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21066 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21067 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21068 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21069 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21070 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21071 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21072 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21073 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21074 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21075 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21076 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21077 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21078 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21079 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21080 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21081 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21082 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21083 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21084 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21085 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21086 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21087 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21088 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21089 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21090 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21091 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21092 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21093 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21094 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21095 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21096 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21097 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21098 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21099 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21100 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21101 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21102 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21103 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21104 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21105 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21106 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21107 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21108 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21109 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21110 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21111 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21112 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21113 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21114 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21115 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21116 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21117 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21118 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21119 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21120 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21121 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21122 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21123 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21124 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21125 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21126 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21127 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21128 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21129 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21130 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21131 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21132 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21133 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21134 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21135 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21136 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21137 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21138 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21139 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21140 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21141 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21142 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21143 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21144 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21145 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21146 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21147 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21148 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21149 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21150 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21151 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21152 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21153
73c5ebe3
JM
21154 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21155 _XOPEN_SOURCE_EXTENDED for XPG4.
21156
39c33b6c
JM
21157 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21158
62fde54f
JM
21159 * Makeconfig (localtime): Remove variable.
21160 (inst_localtime-file): Likewise.
21161
0741d64c
AS
211622012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21163
21164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21165 Update.
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21167 Update.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21169 Update.
21170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21171 Update.
21172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21173 Update.
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21175 Update.
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21177 Update.
21178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21179 Update.
21180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21181 Update.
21182
7cb029ee
JM
211832012-05-01 Joseph Myers <joseph@codesourcery.com>
21184
21185 [BZ #2550]
21186 [BZ #2570]
21187 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21188 comparisons to determine direction to adjust input.
21189 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21190 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21191 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21192 Likewise.
21193 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21194 Likewise.
21195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21196 Likewise.
21197 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21198 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21199 Likewise.
21200 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21201 Likewise.
21202 * math/libm-test.inc (nexttoward_test): Add more tests.
21203
412bd966
AS
212042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
21205
21206 [BZ #14040]
21207 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21208 in version GLIBC_2.1, not GLIBC_2.0.
21209 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21210 Likewise.
21211
9568c0c2
JM
212122012-04-30 Joseph Myers <joseph@codesourcery.com>
21213
adfbc8ac
JM
21214 [BZ #13942]
21215 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21216 (1 - x) * (1 + x).
21217 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21218 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21219 * math/libm-test.inc (acos_test): Add more tests.
21220 (asin_test): Likewise.
21221 * sysdeps/i386/fpu/libm-test-ulps: Update.
21222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21223
5ba3cc69
JM
21224 [BZ #14034]
21225 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21226 of square root.
21227 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21228 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21229 * math/libm-test.inc (acos_test_tonearest): New function.
21230 (acos_test_towardzero): Likewise.
21231 (acos_test_downward): Likewise.
21232 (acos_test_upward): Likewise.
21233 (asin_test_tonearest): Likewise.
21234 (asin_test_towardzero): Likewise.
21235 (asin_test_downward): Likewise.
21236 (asin_test_upward): Likewise.
21237 (main): Call the new functions.
21238 * sysdeps/i386/fpu/libm-test-ulps: Update.
21239 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21240
9568c0c2
JM
21241 [BZ #13884]
21242 [BZ #13924]
21243 * math/e_exp10.c: Include <float.h>.
21244 (__ieee754_exp10): Handle underflow here rather than multiplying
21245 large negative argument by M_LN10.
21246 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21247 of __ieee754_expf.
21248 * math/e_exp10l.c: Include <float.h>.
21249 (__ieee754_exp10l): Handle underflow here rather than multiplying
21250 large negative argument by M_LN10l.
21251 * math/libm-test.inc (exp10_test): Add another test. Do not allow
21252 spurious overflow exception on underflow.
21253
5ac3ea17
MP
212542012-04-29 Marek Polacek <polacek@redhat.com>
21255
21256 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21257 (__fortify_function): New macro.
21258 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21259 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21260 __extern_always_inline.
21261 * libio/bits/stdio2.h: Likewise.
21262 * libio/bits/stdio.h: Likewise.
21263 * string/string.h: Likewise.
21264 * string/bits/string3.h: Likewise.
21265 * include/stdio.h: Likewise.
21266 * stdlib/bits/stdlib.h: Likewise.
21267 * stdlib/stdlib.h: Likewise.
21268 * rt/bits/mqueue2.h: Likewise.
21269 * rt/mqueue.h: Likewise.
21270 * posix/bits/unistd.h: Likewise.
21271 * posix/unistd.h: Likewise.
21272 * io/bits/poll2.h: Likewise.
21273 * io/bits/fcntl2.h: Likewise.
21274 * io/fcntl.h: Likewise.
21275 * io/sys/poll.h: Likewise.
21276 * misc/bits/syslog.h: Likewise.
21277 * misc/bits/syslog-ldbl.h: Likewise.
21278 * misc/sys/syslog.h: Likewise.
21279 * socket/bits/socket2.h: Likewise.
21280 * socket/sys/socket.h: Likewise.
21281 * debug/tst-chk1.c: Likewise.
21282 * wcsmbs/bits/wchar2.h: Likewise.
21283 * wcsmbs/bits/wchar-ldbl.h: Likewise.
21284 * wcsmbs/wchar.h: Likewise.
21285
ecf0ebfb
AJ
212862012-04-29 Andreas Jaeger <aj@suse.de>
21287
21288 * Makerules (tests): Remove enable-check-abi protection.
21289 (check-abi-warn): Remove.
21290 (check-abi-%): Remove check-abi-warn usage.
21291
21292 * configure.in: Remove check-abi configure option.
21293 * configure: Regenerated.
21294 * config.make.in (enable-check-abi): Remove.
21295
6d5c57fa
AS
212962012-04-28 Andreas Schwab <schwab@linux-m68k.org>
21297
24c5d07e 21298 [BZ #14033]
ded5180a
AS
21299 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21300 double functions to double *_finite functions.
21301
7e0d315d
AS
21302 [BZ #13941]
21303 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21304 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21305 LDBL_MIN_EXP.
21306 * stdio-common/Makefile (tests): Add tst-sprintf3.
21307 * stdio-common/tst-sprintf3.c: New file.
21308
6d5c57fa
AS
21309 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21310 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21311
0749ff8b
JM
213122012-04-28 Joseph Myers <joseph@codesourcery.com>
21313
21314 * conform/conformtest.pl: Remove duplicate typed-constant
21315 handling.
21316
8dbd5d7b
DM
213172012-04-28 David S. Miller <davem@davemloft.net>
21318
21319 * Makerules (%.abilist): Add vpath on sysdep_dirs.
21320 (check-abi-%): Remove AWK script prerequisite and explicit
21321 abilist directory.
21322 (check-abi): Rewrite to just diff the symlist with the abilist.
21323 (config-tls, config-abi-config): Delete, no longer used.
21324 (update-abi-%): Remove AWK script and explicit abilist directory.
21325 (update-abi): Rewrite to simply compare and conditionally copy the
21326 symlist and the sysdep abilist file. Remove update-abi-config
21327 checks.
21328 * abilist/ld.abilist: Remove.
21329 * abilist/libBrokenLocale.abilist: Remove.
21330 * abilist/libanl.abilist: Remove.
21331 * abilist/libcrypt.abilist: Remove.
21332 * abilist/libdl.abilist: Remove.
21333 * abilist/librt.abilist: Remove.
21334 * abilist/libthread_db.abilist: Remove.
21335 * abilist/libutil.abilist: Remove.
21336 * scripts/extract-abilist.awk: Remove.
21337 * scripts/merge-abilist.awk: Remove.
21338 * sysdeps/generic/libcidn.abilist: New file.
21339 * sysdeps/generic/libnss_compat.abilist: New file.
21340 * sysdeps/generic/libnss_db.abilist: New file.
21341 * sysdeps/generic/libnss_dns.abilist: New file.
21342 * sysdeps/generic/libnss_files.abilist: New file.
21343 * sysdeps/generic/libnss_hesiod.abilist: New file.
21344 * sysdeps/generic/libnss_nis.abilist: New file.
21345 * sysdeps/generic/libnss_nisplus.abilist: New file.
21346 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21347 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21348 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21349 file.
21350 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21351 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21352 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21353 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21354 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21355 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21356 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21357 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21358 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21359 file.
21360 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21361 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21362 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21363 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21364 file.
21365 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21366 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21367 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21368 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21369 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21370 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21371 file.
21372 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21373 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21374 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21375 file.
21376 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21377 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21378 New file.
21379 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21380 New file.
21381 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21382 New file.
21383 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21384 New file.
21385 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21386 New file.
21387 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21388 New file.
21389 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21390 New file.
21391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21392 New file.
21393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21394 New file.
21395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21396 New file.
21397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21398 New file.
21399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21400 New file.
21401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21402 New file.
21403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21404 file.
21405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21406 New file.
21407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21408 New file.
21409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21410 file.
21411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21412 New file.
21413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21414 New file.
21415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21416 file.
21417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21418 New file.
21419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21420 New file.
21421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21422 New file.
21423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21424 New file.
21425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21426 New file.
21427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21428 New file.
21429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21431 file.
21432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21433 New file.
21434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21435 file.
21436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21437 file.
21438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21439 file.
21440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21441 file.
21442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21443 file.
21444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21445 New file.
21446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21447 file.
21448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21449 file.
21450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21451 New file.
21452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21453 file.
21454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21455 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21456 file.
21457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21458 New file.
21459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21460 file.
21461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21462 file.
21463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21464 file.
21465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21466 file.
21467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21468 file.
21469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21470 New file.
21471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21472 file.
21473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21474 file.
21475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21476 New file.
21477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21478 file.
21479 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21480 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21481 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21482 file.
21483 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21484 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21485 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21486 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21487 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21488 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21489 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21490 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21491 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21492 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21494 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21495 file.
21496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21497 New file.
21498 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21499 file.
21500 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21501 file.
21502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21503 file.
21504 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21505 file.
21506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21507 file.
21508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21509 New file.
21510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21511 New file.
21512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21513 file.
21514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21515 New file.
21516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21517 file.
21518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21519 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21520 file.
21521 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21522 New file.
21523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21524 file.
21525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21526 file.
21527 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21528 file.
21529 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21530 file.
21531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21532 file.
21533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21534 New file.
21535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21536 New file.
21537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21538 file.
21539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21540 New file.
21541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21542 file.
21543
41d73a1b
JM
215442012-04-28 Joseph Myers <joseph@codesourcery.com>
21545
21546 * conform/conformtest.pl: Fix typo in handling typed-constant from
21547 allow-header.
21548
28aeeda4
JM
215492012-04-27 Joseph Myers <joseph@codesourcery.com>
21550
adae8f5e
JM
21551 * README: Cut down references to pre-2.6 Linux kernels and
21552 Linuxthreads. Update lists of configurations in libc and ports
21553 and sort alphabetically. Say "or newer" with Linux kernel version
21554 requirements.
21555
28aeeda4
JM
21556 * config.h.in [IS_IN_build]: Allow compiling without optimization.
21557
a462cb63
RA
215582012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21559
21560 [BZ #887]
21561 * math/libm-test.inc (logb_test_downward): New test to expose
21562 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21563 rounding mode.
21564
6ad3493e
JM
215652012-04-27 Joseph Myers <joseph@codesourcery.com>
21566
21567 [BZ #14027]
21568 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21569 to be done.
21570 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21571 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21572
2ce4f015
JM
215732012-04-26 Joseph Myers <joseph@codesourcery.com>
21574
5aeb141a
JM
21575 * sysdeps/unix/i386/brk.S: Remove file.
21576 * sysdeps/unix/i386/dl-brk.S: Likewise.
21577 * sysdeps/unix/i386/pipe.S: Likewise.
21578 * sysdeps/unix/i386/sigreturn.S: Likewise.
21579 * sysdeps/unix/i386/syscall.S: Likewise.
21580 * sysdeps/unix/i386/vfork.S: Likewise.
21581 * sysdeps/unix/i386/wait.S: Likewise.
21582
7143acae
JM
21583 * sysdeps/unix/common/tcsendbrk.c: Move to ...
21584 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21585
2ce4f015
JM
21586 * configure.in (arm*-none*): Do not allow without
21587 --enable-hacker-mode.
21588 (netbsd*): Remove case setting base_os.
21589 (386bsd*): Likewise.
21590 (freebsd*): Likewise.
21591 (bsdi*): Likewise.
21592 (osf*): Likewise.
21593 (sunos*): Likewise.
21594 (ultrix*): Likewise.
21595 (newsos*): Likewise.
21596 (dynix*): Likewise.
21597 (*bsd*): Likewise.
21598 (sysv*): Likewise.
21599 (isc*): Likewise.
21600 (esix*): Likewise.
21601 (sco*): Likewise.
21602 (minix*): Likewise.
21603 (irix4*): Likewise.
21604 (irix6*): Likewise.
21605 (solaris[2-9]*): Likewise.
21606 (none): Likewise.
21607 * configure: Regenerated.
21608
0ac229c8
AZ
216092012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21610
21611 [BZ #11521]
21612 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21613 overflow or cancellation in calculating denominator.
21614 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21615 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21616 down expression to avoid unexpected rounding in newer GCCs.
21617 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21618
33f244f4
DM
216192012-04-26 David S. Miller <davem@davemloft.net>
21620
21621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21622 long-double compat symbols.
21623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21636
cfa1f3e8
DM
216372012-04-25 David S. Miller <davem@davemloft.net>
21638
21639 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21640 HWCAP_* values only after the memory barriers have been defined.
21641 (atomic_full_barrier): Define.
21642 (atomic_read_barrier): Define.
21643 (atomic_write_barrier): Define.
21644
6e236b92
SP
216452012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21646
21647 * shlib-versions: Add libgcc_s version information.
21648 * sysdeps/generic/libgcc_s.h: Remove.
21649 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21650 libgcc_s.h.
21651 * sysdeps/gnu/unwind-resume.c: Likewise.
21652 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21653
aab39a09
DM
216542012-04-25 David S. Miller <davem@davemloft.net>
21655
21656 * sysdeps/unix/sparc/brk.S: Delete.
21657 * sysdeps/unix/sparc/dl-brk.S: Delete.
21658 * sysdeps/unix/sparc/pipe.S: Delete.
21659 * sysdeps/unix/sparc/sysdep.S: Delete.
21660 * sysdeps/unix/sparc/sysdep.h: Delete.
21661 * sysdeps/unix/sparc/vfork.S: Delete.
21662 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21663 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21664 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21665 ret_ERRVAL, r0, r1, MOVE): Define.
21666 (JUMPTARGET): Remove.
21667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21668 sysdeps/unix/sparc/sysdep.h
21669 (ENTRY, END): Remove.
21670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21671
a3cc4f48
JM
216722012-04-25 Joseph Myers <joseph@codesourcery.com>
21673
2ed8cda2
JM
21674 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21675 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21676 -DIS_IN_build.
21677
35d76d59
JM
21678 * timezone/README: Update upstream location and email address for
21679 tzcode and tzdata.
21680 * timezone/zdump.c: Update from tzcode 2012b.
21681 * timezone/zic.c: Likewise.
21682
a3cc4f48
JM
21683 * configure.in (libc_cv_as_needed): Remove test.
21684 * configure: Regenerated.
21685 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21686 conditional definition.
21687 [$(have-as-needed) != yes] (no-as-needed): Likewise.
21688 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21689 * config.make.in (have-as-needed): Remove variable.
21690
ceab42c3
SP
216912012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21692 Paul Pluzhnikov <ppluzhnikov@google.com>
21693
21694 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21695 strings correctly.
21696
3ce2865f
CLT
216972012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
21698
21699 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21700 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21701 * sysdeps/sh/strlen.S: Likewise.
21702
f37e0d68
JM
217032012-04-24 Joseph Myers <joseph@codesourcery.com>
21704
ae186e9a
JM
21705 * sysdeps/unix/fork.S: Remove file.
21706 * sysdeps/unix/i386/fork.S: Likewise.
21707 * sysdeps/unix/sparc/fork.S: Likewise.
21708
b96914af
JM
21709 * sysdeps/unix/system.c: Remove file.
21710 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21711
f37e0d68
JM
21712 * sysdeps/unix/getegid.S: Remove file.
21713 * sysdeps/unix/geteuid.S: Likewise.
21714
87ef29ca
RM
217152012-04-24 Roland McGrath <roland@hack.frob.com>
21716
83bcd236
RM
21717 * scripts/check-localplt.awk: New file.
21718 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21719 of diff.
21720 * scripts/data/localplt-generic.data: Add a comment.
21721
87ef29ca
RM
21722 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21723 NODE when __dir_mkfile failed.
21724 * sysdeps/mach/hurd/symlinkat.c: Likewise.
21725 Reported by Ludovic Courtès <ludo@gnu.org>.
21726
e5a6e567
AJ
217272012-04-24 Andreas Jaeger <aj@suse.de>
21728
21729 * Makerules (common-clean): Also remove gen-as-const-headers
21730 files.
21731
c1820385
JM
217322012-04-24 Joseph Myers <joseph@codesourcery.com>
21733
21734 * Makerules (native-compile): Do not change working directory for
21735 build. Use $(OUTPUT_OPTION) in command.
21736 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21737
94e02fc4
AZ
217382012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21739
21740 [BZ #13886]
21741 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21742 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21743 * math/libm-test.inc (floor_test): Add more tests.
21744 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21745
3a533ca3
JM
217462012-04-24 Joseph Myers <joseph@codesourcery.com>
21747
940ab4b3
JM
21748 * sysdeps/unix/getdents.c: Remove file.
21749 * sysdeps/unix/sysv/getdents.c: Likewise.
21750 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21751
90e037bd
JM
21752 * sysdeps/unix/syscalls.list (madvise): Add syscall from
21753 sysdeps/unix/mman/syscalls.list.
21754 (mmap): Likewise.
21755 (mprotect): Likewise.
21756 (msync): Likewise.
21757 (munmap): Likewise.
21758 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21759 * sysdeps/unix/mman/syscalls.list: Remove.
21760 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21761
3a533ca3
JM
21762 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21763 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21764 * configure: Regenerated.
21765 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21766 $(libgcc_s_suffix).
21767 * config.make.in (libgcc_s_suffix): Remove variable.
21768
1ad743de
JM
217692012-04-23 Joseph Myers <joseph@codesourcery.com>
21770
4ad451e2
JM
21771 * sysdeps/unix/sysv/gethostname.c: Move to ...
21772 * sysdeps/posix/gethostname.c: ... here.
21773
5e37ce39
JM
21774 * sysdeps/unix/execve.S: Remove file.
21775
1ad743de
JM
21776 * sysdeps/unix/_exit.S: Remove file.
21777
4e681b5b
AJ
217782012-04-23 Andreas Jaeger <aj@suse.de>
21779
21780 [BZ #13739]
21781 * manual/Makefile: Remove make dist support, there's no
21782 need for a stand-alone documentation tar ball.
21783 (TEXI2DVI): Define always, it's not in Makeconfig.
21784 (dist): Removed.
21785 (tar-it): Removed.
21786 (edition): Removed.
21787 (glibc-doc-$(edition).tar): Removed
21788 (%.Z): Removed.
21789 (%.gz): Removed.
21790 (%.uu): Removed.
21791 (ETAGS): Remove, it's in Makeconfig.
21792 (move-if-change): Remove, it's in Makeconfig.
21793
38686a03 217942012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
21795
21796 [BZ #13970]
21797 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21798 (strtod, strtof, strtold, strtol, strtoul, strtoq)
21799 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21800 (strtod_l, strtof_l, strtold_l): Remove __wur.
21801 It is not necessarily an error to ignore strtol's return value.
21802 One can reliably look at the stored endptr to decide whether
21803 the number had valid syntax.
21804
7c0616fa
AJ
218052012-04-21 Andreas Jaeger <aj@suse.de>
21806
803cb6b7 21807 [BZ #13739]
7c0616fa
AJ
21808 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21809
b0fe253f
JM
218102012-04-21 Joseph Myers <joseph@codesourcery.com>
21811
21812 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21813 * sysdeps/unix/sysv/Versions: Remove file.
21814
8280f22d
MT
218152012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
21816
21817 [BZ #13927]
21818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21819
75ce411f 218202012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
21821
21822 [BZ #7064]
21823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21824 version from __vm86.
21825
097d59fa
JM
218262012-04-20 Joseph Myers <joseph@codesourcery.com>
21827
a90f3bcb
JM
21828 * sysdeps/unix/common/lxstat.c: Remove file.
21829 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21830
edc7ea78
JM
21831 * sysdeps/unix/sysv/Makefile: Remove file.
21832
cb78c221
JM
21833 * sysdeps/unix/sysv/direct.h: Remove file.
21834
efa6a45f
JM
21835 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21836 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21837 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21838 * sysdeps/unix/sysv/bits/signum.h: Likewise.
21839 * sysdeps/unix/sysv/bits/stat.h: Likewise.
21840 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21841 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21842
9c9f2d0c
JM
21843 * sysdeps/unix/sysv/setrlimit.c: Remove file.
21844
4541c83b
JM
21845 * sysdeps/unix/xmknod.c: Remove file.
21846 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21847
f5d153a0
JM
21848 * sysdeps/unix/sysv/settimeofday.c: Remove file.
21849
aa746595
JM
21850 * sysdeps/unix/sysv/i386/time.S: Remove file.
21851
cce5905e
JM
21852 * sysdeps/unix/fxstat.c: Remove file.
21853 * sysdeps/unix/xstat.c: Likewise.
21854 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21855
37fa3841
JM
21856 * sysdeps/unix/sysv/sigaction.c: Remove file.
21857
ff1962a3
JM
21858 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21859 (sysdep_headers): Remove variable.
21860 [termio.h not in sysdep_headers] (generated): Likewise.
21861 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21862 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21863 * sysdeps/unix/sysv/tcdrain.c: Likewise.
21864 * sysdeps/unix/sysv/tcflow.c: Likewise.
21865 * sysdeps/unix/sysv/tcflush.c: Likewise.
21866 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21867 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21868 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21869 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21870 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21871
e7740d31
JM
21872 * sysdeps/unix/siglist.c: Remove file.
21873
ee06f18b
JM
21874 * sysdeps/unix/getppid.S: Remove file.
21875
097d59fa
JM
21876 * sysdeps/unix/mkdir.c: Remove file.
21877 * sysdeps/unix/rmdir.c: Likewise.
21878
ff3d51ec
AS
218792012-04-19 Andreas Schwab <schwab@linux-m68k.org>
21880
21881 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21882 ERR_MAX value.
21883 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21884 errlist-compat value.
21885
50f81fd7
DM
218862012-04-18 David S. Miller <davem@davemloft.net>
21887
21888 * sysdeps/generic/memcopy.h (reg_char): Delete.
21889 * debug/strcat_chk.c: Use char, not reg_char.
21890 * debug/strcpy_chk.c: Likewise.
21891 * debug/strncat_chk.c: Likewise.
21892 * debug/strncpy_chk.c: Likewise.
21893 * string/memchr.c: Likewise.
21894 * string/memrchr.c: Likewise.
21895 * string/rawmemchr.c: Likewise.
21896 * string/strcat.c: Likewise.
21897 * string/strchr.c: Likewise.
21898 * string/strchrnul.c: Likewise.
21899 * string/strcmp.c: Likewise.
21900 * string/strcpy.c: Likewise.
21901 * string/strncat.c: Likewise.
21902 * string/strncmp.c: Likewise.
21903 * string/strncpy.c: Likewise.
21904
8ff41c46
WS
219052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21906
21907 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21908 __builtin_memcopy is called when src and dest ranges are known to not
21909 overlap.
21910
6b652f46
WS
219112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21912
21913 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21914 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21915 fwd_align_merge macro call.
21916 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21917 bwd_align_merge macro call.
21918 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21919
b282631e
WS
219202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21921
21922 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21923 bwd_align_merge macros.
21924 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21925 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21926 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21927
95aa737c
DM
219282012-04-18 David S. Miller <davem@davemloft.net>
21929
21930 * sysdeps/sparc/sparc64/memcopy.h: Delete.
21931
7a99a614
AJ
219322012-04-18 Andreas Jaeger <aj@suse.de>
21933
21934 [BZ# 6794]
21935 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21936 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21937 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21938
21939 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21940 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21941 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21942
21943 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21944 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21945 Adjust for changed ldbl-128 files.
21946
21947 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21948 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21949 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21950
e5270c23
DM
219512012-04-17 David S. Miller <davem@davemloft.net>
21952
21953 * sysdeps/sparc/sparc32/memcopy.h: Delete.
21954
fb5e92c9
AS
219552012-04-17 Andreas Schwab <schwab@linux-m68k.org>
21956
21957 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21958 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21959 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21960 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21961 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21962 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21963
76da7265
AZ
219642012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21965
21966 [BZ #6794]
21967 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21968 * math/libm-test.inc: Add ilogb errno and exception tests.
21969 * math/w_ilogb.c: New file: ilogb wrapper.
21970 * math/w_ilogbf.c: New file: ilogbf wrapper.
21971 * math/w_ilogbl.c: New file: ilogbl wrapper.
21972 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21973 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21974 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21975 exception being thrown with 0.0 as argument.
21976 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21977 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21978 exception being thrown with 0.0 as argument.
21979 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21980 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21981 exception being thrown with 0.0 as argument.
21982 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21983 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21984 exception being thrown with 0.0 as argument.
21985 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21986 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 21987 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
21988 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21989 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21990 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21991 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21992 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21993 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21994
0396e69d
PB
219952012-04-17 Petr Baudis <pasky@ucw.cz>
21996
21997 * include/sys/uio.h: Change __vector to __iovec to avoid clash
21998 with altivec.
21999
750b5926
MP
220002012-04-16 Marek Polacek <polacek@redhat.com>
22001
22002 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22003
751728a1
MP
220042012-04-16 Marek Polacek <polacek@redhat.com>
22005
22006 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22007 operands of fdivp instruction.
22008
34a27407
L
220092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22010
22011 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22012 * elf/tst-auditmod3b.c: Likewise.
22013 * elf/tst-auditmod4b.c: Likewise.
22014 * elf/tst-auditmod5b.c: Likewise.
22015 * elf/tst-auditmod6b.c: Likewise.
22016 * elf/tst-auditmod6c.c: Likewise.
22017 * elf/tst-auditmod7b.c: Likewise.
22018 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22019 * sysdeps/x86_64/preconfigure.in: Likewise.
22020 * sysdeps/x86_64/preconfigure: Regenerated.
22021
7e73e17d
L
220222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
22023
22024 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22025 __ILP32__.
22026
c7a6ab72
AB
220272012-04-13 Antoine Balestrat <merkil33@gmail.com>
22028
22029 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22030 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22031
a9e8e0e0
CL
220322012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
22033
22034 [BZ #13973]
22035 * locale/iso-639.def: Fix gl language name. Spotted by
22036 Yaron Shahrabani.
22037
ec98af7d
RM
220382012-04-12 Roland McGrath <roland@hack.frob.com>
22039
22040 [BZ #2074]
22041 * libio/libio.h (__io_write_fn): Update comment.
22042
247c3ede
PB
220432012-04-12 Petr Baudis <pasky@ucw.cz>
22044
22045 [BZ #2074]
22046 * stdio.texi (Hook Functions): The user provided writer function
22047 is not allowed to return -1.
22048
55939d6d
DM
220492012-04-11 David S. Miller <davem@davemloft.net>
22050
22051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22052
90020f5a
MF
220532012-04-11 Mike Frysinger <vapier@gentoo.org>
22054
22055 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22056 Add a leading slash to rtkaio.
22057
288f9098
JM
220582012-04-11 Jim Meyering <meyering@redhat.com>
22059
90020f5a
MF
22060 [BZ #11959]
22061 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22062 It is not necessarily an error to ignore fwrite's return
22063 value. One can reliably use ferror to test for errors after
22064 the fact.
288f9098 22065
4be2b570
L
220662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22067
22068 * bits/types.h (__snseconds_t): New type.
22069 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22070
22071 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22072 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22073 (__SNSECONDS_T_TYPE): Likewise.
22074 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22075 (__SNSECONDS_T_TYPE): Likewise.
22076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22077 (__SNSECONDS_T_TYPE): Likewise.
22078
288f9098 220792012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
22080
22081 [BZ #2636]
22082 * manual/time.texi (Processor Time): Return type of times is
22083 elapsed real time since an arbitrary point in the past.
22084 (CPU Time): Move CLK_TCK from here...
22085 (Processor Time): ...to here. Correct description.
22086 * manual/conf.texi (Constants for Sysconf): Correct description of
22087 _SC_CLK_TCK.
22088
d7dd4413
DM
220892012-04-10 David S. Miller <davem@davemloft.net>
22090
22091 [BZ #13967]
22092 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22093 where the is a gap between DT_REL(A) and DT_JMPREL.
22094
b46068fc
L
220952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
22096
22097 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22098 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22099 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22100
73d65cc3
SP
221012012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22102
22103 * elf/dl-support.c (_dl_inhibit_cache): New variable.
22104 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22105 (dl_main): Handle --inhibit-cache.
22106 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22107 _dl_inhibit_cache.
22108 * elf/dl-load.c (_dl_map_object): Use it.
22109 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22110
bcc8d661
JM
221112012-04-09 Joseph Myers <joseph@codesourcery.com>
22112
8f9a2fae
JM
22113 [BZ #13872]
22114 * sysdeps/i386/fpu/e_powl.S (p78): New object.
22115 (__ieee754_powl): Saturate large exponents rather than testing for
22116 overflow of y*log2(x).
22117 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22118 * math/libm-test.inc (pow_test): Do not permit spurious overflow
22119 exceptions.
22120
bcc8d661
JM
22121 [BZ #11521]
22122 * math/s_ctan.c: Include <float.h>.
22123 (__ctan): Avoid internal overflow or cancellation in calculating
22124 denominator.
22125 * math/s_ctanf.c: Likewise.
22126 * math/s_ctanl.c: Likewise.
22127 * math/s_ctanh.c: Likewise.
22128 * math/s_ctanhf.c: Likewise.
22129 * math/s_ctanhl.c: Likewise.
22130 * math/libm-test.inc (ctan_test): Add more tests.
22131 (ctanh_test): Likewise.
22132 * sysdeps/i386/fpu/libm-test-ulps: Update.
22133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22134
823fbbb4
AJ
221352012-04-09 Andreas Jaeger <aj@suse.de>
22136
03879793
AJ
22137 [BZ #6894]
22138 * manual/filesys.texi (Directory Entries): Mention that d_namlen
22139 is an optional BSD extension.
22140
823fbbb4
AJ
22141 [BZ #10254]
22142 * manual/stdio.texi (Opening Streams): Document additional fopen
22143 parameters.
22144
8de131cb
RM
221452012-04-09 Roland McGrath <roland@hack.frob.com>
22146
22147 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22148 %eax without telling the compiler.
22149
c0ed9d7d
CD
221502012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
22151
22152 [BZ # 13963]
22153 * manual/install.texi: Use sourceware.org.
22154
c483f6b4
JM
221552012-04-09 Joseph Myers <joseph@codesourcery.com>
22156
d7dd9453
JM
22157 [BZ #13873]
22158 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22159 (__ieee754_pow): Generate overflow and underflow using huge*huge
22160 and tiny*tiny rather than just returning constant infinity or zero
22161 for large exponents.
22162 * math/libm-test.inc (pow_test): Require overflow exceptions for
22163 applicable cases of large exponents.
22164
c483f6b4
JM
22165 [BZ #706]
22166 * sysdeps/i386/fpu/e_pow.S (p10): New object.
22167 (__ieee754_pow): Use iterative multiplication algorithm only for
22168 integer exponents with absolute value below 1024. Check for odd
22169 integer exponents when using algorithm for real exponents.
22170 * math/libm-test.inc (pow_test): Add more tests.
22171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22172
d2de7579
JM
221732012-04-08 Joseph Myers <joseph@codesourcery.com>
22174
22175 [BZ #13705]
22176 * math/libm-test.inc (exp_test): Do not allow overflow exception
22177 on underflow test.
22178
f77f1232
AJ
221792012-04-08 Aurelien Jarno <aurelien@aurel32.net>
22180
22181 [BZ #13705]
22182 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22183 instead of __kernel_standard_f.
22184
3884932b
MF
221852012-04-08 Mike Frysinger <vapier@gentoo.org>
22186
22187 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22188 * sysdeps/x86_64/memset_chk.S: Likewise.
22189
54472e9c
AJ
221902012-04-08 Andreas Jaeger <aj@suse.de>
22191
6ab0fbfc
AJ
22192 [BZ #10153]
22193 * manual/startup.texi (Environment Access): Describe return value
22194 for putenv and setenv.
22195
61efba8c
AJ
22196 [BZ #6895]
22197 * manual/filesys.texi (Directory Entries): Add description for
22198 DT_LNK.
22199
95c3f29a
AJ
22200 [BZ #6890]
22201 * manual/filesys.texi (Directory Entries): Clarify that it's file
22202 system not operating system in the description of DT_UNKNOWN.
22203
54472e9c
AJ
22204 [BZ #6578]
22205 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22206
624254b1
SC
222072012-04-08 Stephen Compall <s11@member.fsf.org>
22208
22209 [BZ #6649]
22210 * manual/llio.texi (Opening and Closing Files): Add cross
22211 reference to explain mode argument.
22212
1e4920e0
MF
222132012-04-07 Mike Frysinger <vapier@gentoo.org>
22214
22215 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22216 * sysdeps/x86_64/memset_chk.S: Likewise.
22217
5ed848f3
DM
222182012-04-07 David S. Miller <davem@davemloft.net>
22219
22220 * elf/elf.h (R_SPARC_WDISP10): Define.
22221 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22222 R_SPARC_SIZE32.
22223 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22224 R_SPARC_SIZE64 and R_SPARC_H34.
22225
96154cd8
CD
222262012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
22227
22228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22229 conditions and remove no longer applicable assertion.
22230
9904dc47
L
222312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22232
22233 * bits/byteswap.h: Include <features.h>.
22234 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22235 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22236
f8887d0a
L
222372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
22238
22239 * bits/byteswap.h (__bswap_16): Removed.
22240 Include <bits/byteswap-16.h> to get __bswap_16.
22241 * sysdeps/i386/bits/byteswap.h: Likewise.
22242 * sysdeps/s390/bits/byteswap.h: Likewise.
22243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22244 * bits/byteswap-16.h: New file.
22245 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22246 * sysdeps/s390/bits/byteswap-16.h: Likewise.
22247 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22248 * string/Makefile (headers): Add bits/byteswap-16.h.
22249
62470f60
PP
222502012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22251
22252 [BZ #13895]
22253 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22254 extra indirection.
22255 * nss/Makefile (tests-static, tests): Add tst-nss-static.
22256 * nss/tst-nss-static.c: New.
22257
4dad7bab
RM
222582012-04-06 Robert Millan <rmh@gnu.org>
22259
22260 [BZ #6486]
22261 * manual/llio.texi (File Position Primitive): lseek
22262 refers to WHENCE when it really means OFFSET.
22263
e9142a17
AJ
222642012-04-06 Andreas Jaeger <aj@suse.de>
22265
2c040eff
AJ
22266 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22267 strncmp declarations.
22268
e9142a17
AJ
22269 * abilist/libc.abilist: Add __poll and __ppoll.
22270
ff9f1c5f
DM
222712012-04-05 David S. Miller <davem@davemloft.net>
22272
dcd2ae90
DM
22273 * scripts/check-local-headers.sh: Accept a host triplet in the
22274 path matched by the exclude regexp.
22275
993eb054
DM
22276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22277 definition.
22278 * sysdeps/powerpc/powerpc32/dl-machine.h
22279 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22280 * sysdeps/s390/s390-32/dl-machine.h
22281 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22282 * sysdeps/sparc/sparc32/dl-machine.h
22283 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22284 * sysdeps/sparc/sparc64/dl-machine.h
22285 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22286
ff9f1c5f
DM
22287 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22288 lazy binding.
48e2e132 22289 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
22290 undefined symbol errors.
22291
48e2e132 22292 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
22293 DT_NEEDED entries.
22294
e80d6f94
MM
222952012-04-05 Michael Matz <matz@suse.de>
22296
22297 [BZ #13592]
22298 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22299
349fa79f
AJ
223002012-04-05 Andreas Jaeger <aj@suse.de>
22301
22302 [BZ #13908]
22303 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22304 comment.
22305
f402708f
KK
223062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22307
22308 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22309 which ROUND is no valid rounding mode.
22310
2ecccfc9
KK
223112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22312
22313 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22314 read again.
22315 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22316
8a53f50f
KK
223172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22318
22319 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22320 an exception using FPU order intentionally.
22321
223222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22323
22324 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22325 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22326 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22327 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22328
d653abb7
SJ
223292012-04-05 Simon Josefsson <simon@josefsson.org>
22330
22331 [BZ #12340]
22332 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22333 EINVAL when BUFLEN is too smal.
22334
c3b1bf7d
TS
223352012-04-05 Thomas Schwinge <thomas@codesourcery.com>
22336
22337 [BZ #13553]
22338 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22339 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22340
b1aa60f3
AJ
223412012-04-03 Andreas Jaeger <aj@suse.de>
22342
c3b1bf7d 22343 [BZ #13938]
67f60a26
AJ
22344 * manual/setjmp.texi (System V contexts): Fix sentence.
22345
b1aa60f3
AJ
22346 [BZ #13926]
22347 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22348 New macro for this case.
22349 [!__GNUC__] (__bswap_64): New inline function for this case.
22350 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22351 * bits/byteswap.h: Likewise.
22352 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22353 ull, guard with __GLIBC_HAVE_LONG_LONG.
22354
22355 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22356 __GLIBC_HAVE_LONG_LONG.
22357
22358 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22359 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22360
39c59c35
TMQMF
223612012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22362
22363 [BZ #13691]
22364 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22365 inptr and inend, rather than using last_ch.
22366
135ffda8
DM
223672012-04-02 David S. Miller <davem@davemloft.net>
22368
22369 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22370 * stdio-common/printf-parse.h (read_int): Change return type to
22371 'int', return -1 on INT_MAX overflow.
22372 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22373 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
22374 overflows INT_MAX. Check for overflow of in-format-string precision
22375 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
22376 SIZE_MAX not INT_MAX for integer overflow test.
22377 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22378 skip the construct in the format string but do not record anything.
22379 * stdio-common/bug22.c: Adjust to test both width/prevision
22380 INT_MAX overflow as well as total length INT_MAX overflow. Check
22381 explicitly for proper errno values.
22382
228c019e
TS
223832012-04-02 Thomas Schwinge <thomas@codesourcery.com>
22384
302cadd3
TS
22385 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22386 CHAR_MAX.
22387 * string/test-strcmp.c [! WIDE]: Likewise.
22388 * time/tst-mktime2.c: Likewise for INT_MAX.
22389 * string/test-string.h: #include <sys/param.h> for MIN.
22390
228c019e
TS
22391 * csu/init-first.c (__libc_init_first): Call __ctype_init.
22392 * sysdeps/i386/init-first.c (init): Likewise.
22393 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22394 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22395 * sysdeps/sh/init-first.c (init): Likewise.
22396
cfa633f5
UD
223972012-04-01 Ulrich Drepper <drepper@gmail.com>
22398
22399 * po/ru.po: Update from translation team.
d1635ef8 22400 * po/vi.po: Likewise.
cfa633f5 22401
6cd0a5ea
SP
224022012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22403
22404 * resolv/nss_dns/dns-host.c: Merge copyright years.
22405
4b43400f
LD
224062012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22407
22408 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22409 Optimize memcpy with prefetch if
22410 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
22411 src, dst pointers have unequal 16 byte alignments.
22412
48c41d04
SP
224132012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22414
22415 [BZ #13928]
22416 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22417 from a CNAME entry and return the minimum ttl for the query.
22418 (gaih_getanswer_slice): Likewise.
22419
b8dc394d
JL
224202012-03-30 Jeff Law <law@redhat.com>
22421
22422 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22423 due to long keys.
22424 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22425 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22426
2f5a5ed0
JL
22427 * resolv/nss_dns/dns-host.c: Update copyright year.
22428
1d39e359
UD
224292012-03-30 Ulrich Drepper <drepper@gmail.com>
22430
c030f70c 22431 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 22432 requests to save a system call. Fix check that all bytes are sent.
c030f70c 22433
1d39e359
UD
22434 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22435 comments for sendmmsg.
22436
224372012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
22438
22439 [BZ #13691]
22440 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22441 with only 1 character between 0x0041 and 0x01b0.
22442 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22443 * wcsmbs/tst-mbsnrtowcs.c: New file.
22444
20fde227
DM
224452012-03-29 David S. Miller <davem@davemloft.net>
22446
22447 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22448 small copies by hand.
22449
984a4237
JL
224502012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22451
22452 [BZ #13761]
22453 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22454 _nss_compat_initgroups_dyn): Fall back to malloc/free
22455 for large group memberships.
22456
18c9d62b
DM
224572012-03-28 David S. Miller <davem@davemloft.net>
22458
88d85d4f
DM
22459 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22460 that branches into memcpy.
22461 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22463 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22464 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22466 bits.
22467 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22468 implementation too.
22469 * sysdeps/sparc/mempcpy.S: New file.
22470
e5aa83e1
DM
22471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22472 the IFUNC routine in the libc case.
22473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22474
88570753
DM
22475 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22476 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22477 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22478 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22479 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22480 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22481 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22482 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22483
249d7567
DM
22484 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22485 loop to 256 bytes instead of 64 bytes and fix test signedness.
22486
18c9d62b
DM
22487 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22488 * sysdeps/sparc/sparc32/Makefile: rather than here...
22489 * sysdeps/sparc/sparc64/Makefile: and here.
22490
05f3d1f6
UD
224912012-03-28 Ulrich Drepper <drepper@gmail.com>
22492
22493 * malloc/mallocbug.c: Avoid warnings about unused variables.
22494
86ae07a8
JL
224952012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22496
22497 [BZ #13760]
22498 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22499 in the right place. Discard and retry query if response is
22500 larger than input buffer size.
22501
41bf21a1
JM
225022012-03-28 Joseph Myers <joseph@codesourcery.com>
22503
d6270972
JM
22504 [BZ #369]
22505 [BZ #2678]
22506 [BZ #3866]
22507 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22508 x for large integer exponent.
22509 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22510 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
22511 sign of result as needed afterwards.
22512 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22513 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22514 result for underflowing pow the same as for overflow.
22515 (__kernel_standard_l): Handle powl overflow and underflow here
22516 rather than calling __kernel_standard.
22517 * math/libm-test.inc (pow_test): Add more tests.
22518
414fca03 22519 [BZ #3868]
41bf21a1
JM
22520 [BZ #13879]
22521 [BZ #13910]
22522 [BZ #13911]
22523 [BZ #13912]
22524 [BZ #13913]
22525 [BZ #13915]
22526 [BZ #13916]
22527 [BZ #13917]
22528 [BZ #13918]
22529 [BZ #13919]
22530 [BZ #13920]
22531 [BZ #13921]
22532 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22533 * sysdeps/ieee754/k_standard.c: Include <float.h>.
22534 (__kernel_standard_l): New function.
22535 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22536 __kernel_standard.
22537 * math/w_acosl.c (__acosl): Likewise.
22538 * math/w_asinl.c (__asinl): Likewise.
22539 * math/w_atan2l.c (__atan2l): Likewise.
22540 * math/w_atanhl.c (__atanhl): Likewise.
22541 * math/w_coshl.c (__coshl): Likewise.
22542 * math/w_exp10l.c (__exp10l): Likewise.
22543 * math/w_exp2l.c (__exp2l): Likewise.
22544 * math/w_fmodl.c (__fmodl): Likewise.
22545 * math/w_hypotl.c (__hypotl): Likewise.
22546 * math/w_j0l.c (__j0l, __y0l): Likewise.
22547 * math/w_j1l.c (__j1l, __y1l): Likewise.
22548 * math/w_jnl.c (__jnl, __ynl): Likewise.
22549 * math/w_lgammal.c (__lgammal): Likewise.
22550 * math/w_log10l.c (__log10l): Likewise.
22551 * math/w_log2l.c (__log2l): Likewise.
22552 * math/w_logl.c (__logl): Likewise.
22553 * math/w_powl.c (__powl): Likewise.
22554 * math/w_remainderl.c (__remainderl): Likewise.
22555 * math/w_scalbl.c (sysv_scalbl): Likewise.
22556 * math/w_sinhl.c (__sinhl): Likewise.
22557 * math/w_sqrtl.c (__sqrtl): Likewise.
22558 * math/w_tgammal.c (__tgammal): Likewise.
22559 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22560 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22561 * math/libm-test.inc (acos_test): Add more tests.
22562 (acosh_test): Likewise.
22563 (asin_test): Likewise.
22564 (atanh_test): Likewise.
22565 (exp_test): Likewise.
22566 (exp10_test): Likewise.
22567 (exp2_test): Likewise.
22568 (expm1_test): Likewise.
22569 (lgamma_test): Likewise.
22570 (log_test): Likewise.
22571 (log10_test): Likewise.
22572 (log1p_test): Likewise.
22573 (log2_test): Likewise.
22574 (pow_test): Do not allow some spurious overflow exceptions.
22575 (sqrt_test): Add more tests.
22576 (tgamma_test): Likewise.
22577 (y0_test): Likewise.
22578 (y1_test): Likewise.
22579 (yn_test): Likewise.
22580
dd62fda6
AB
225812012-03-27 Anton Blanchard <anton@samba.org>
22582
22583 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22584 MAP_HUGETLB.
22585 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22586 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22587 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22588
1e3cdfda
AJ
225892012-03-27 David S. Miller <davem@davemloft.net>
22590
b855ab85
DM
22591 * conform/Makefile: Run run-conformtest.sh using $(BASH).
22592
1e3cdfda
AJ
22593 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22594 have-as-vis3 check.
22595
225962012-03-27 Andreas Jaeger <aj@suse.de>
22597
22598 * sysdeps/x86_64/elf/configure.in: Moved to ...
22599 * sysdeps/x86_64/configure.in: ... here.
22600 * sysdeps/x86_64/elf/start.S: Moved to ...
22601 * sysdeps/x86_64/start.S: ... here.
22602 * sysdeps/x86_64/elf/configure: Delete.
22603
22604 * sysdeps/x86_64/configure.in: Merge contents from
22605 sysdeps/i386/configure.in (without i686 check).
22606
22607 * sysdeps/i386/elf/Versions: Merge into ...
22608 * sysdeps/i386/Versions: ... this.
22609 * sysdeps/i386/elf/Versions: Delete file.
22610 * sysdeps/i386/elf/start.S: Moved to ...
22611 * sysdeps/i386/start.S: ...here.
22612 * sysdeps/i386/elf/configure.in: Merge into...
22613 * sysdeps/i386/configure.in: ...here.
22614 * sysdeps/i386/elf/configure.in: Delete file.
22615 * sysdeps/i386/elf/configure: Delete file.
22616
22617 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22618 * debug/backtracesyms.c: ... here.
22619 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22620 * debug/backtracesymsfd.c: ... here.
22621 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22622 * sysdeps/generic/ifunc-sel.h: ... here.
22623
22624 * sysdeps/unix/i386/start.c: Delete file.
22625 * sysdeps/unix/sparc/start.c: Delete file.
22626 * sysdeps/unix/start.c: Delete file.
22627
22628 * sysdeps/sh/elf/configure.in: Moved to ...
22629 * sysdeps/sh/configure.in: ... here.
22630 * sysdeps/sh/elf/start.S: Moved to ...
22631 * sysdeps/sh/start.S: ... here.
22632 * sysdeps/sh/elf/configure: Delete file.
22633
22634 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22635 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22636 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22637 * sysdeps/powerpc/powerpc64/entry.h: ... here.
22638 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22639 * sysdeps/powerpc/powerpc64/start.S: here.
22640 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22641 * sysdeps/powerpc/powerpc64/Makefile: ... this.
22642 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22643 * sysdeps/powerpc/powerpc64/configure.in: ... this.
22644 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22645
22646 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22647 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22648 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22649 * sysdeps/powerpc/powerpc32/start.S: ... here.
22650 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22651 * sysdeps/powerpc/powerpc32/configure.in: ... this.
22652 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22653
22654 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22655 * sysdeps/powerpc/ifunc-sel.h: ... here.
22656 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22657 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22658
22659 * sysdeps/sparc/elf/configure.in: Moved to ...
22660 * sysdeps/sparc/configure.in: ... here.
22661 * sysdeps/sparc/elf/configure: Delete file.
22662 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22663 * sysdeps/sparc/sparc32/start.S: ... here.
22664 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22665 * sysdeps/sparc/sparc64/start.S: ... here.
22666 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22667 * sysdeps/sparc/sparc32/Makefile: ... this.
22668 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22669 * sysdeps/sparc/sparc64/Makefile: ... this.
22670
22671 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22672 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22673 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22674 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22675 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22676 * sysdeps/s390/s390-32/setjmp.S: ... here.
22677 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22678 * sysdeps/s390/s390-32/configure.in: ... here.
22679 * sysdeps/s390/s390-32/elf/configure: Delete file.
22680 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22681 * sysdeps/s390/s390-32/start.S: ... here.
22682
22683 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22684 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22685 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22686 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22687 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22688 * sysdeps/s390/s390-64/setjmp.S: ... here.
22689 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22690 * sysdeps/s390/s390-64/configure.in: ... here
22691 * sysdeps/s390/s390-64/elf/configure: Delete file.
22692 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22693 * sysdeps/s390/s390-64/start.S: ... here.
22694 * sysdeps/s390/s390-64/elf/configure: Delete.
22695
22696 * configure.in: Remove support for elf directories in sysdeps.
22697
22698 * configure: Regenerated.
22699 * sysdeps/i386/configure: Regenerated.
22700 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22701 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22702 * sysdeps/s390/s390-32/configure: Regenerated.
22703 * sysdeps/s390/s390-64/configure: Regenerated.
22704 * sysdeps/sh/configure: Regenerated.
22705 * sysdeps/sparc/configure: Regenerated.
22706 * sysdeps/x86_64/configure: Regenerated.
22707
a3f61311
AS
227082012-03-26 Andreas Schwab <schwab@linux-m68k.org>
22709
c876e002
AS
22710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22711
a3f61311
AS
22712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22713 denormal result into account.
22714
ac4c54f0
RM
227152012-03-25 Roland McGrath <roland@hack.frob.com>
22716
22717 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22718 Reported by Allan McRae <allan@archlinux.org>.
22719
6a9b9c02
JL
227202012-03-23 Jeff Law <law@redhat.com>
22721
22722 * nss/getnssent.c (__nss_getent): Fix typo.
22723
4c42a0c1
DM
227242012-03-23 David S. Miller <davem@davemloft.net>
22725
22726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22727
1532c7ac
L
227282012-03-23 H.J. Lu <hongjiu.lu@intel.com>
22729
22730 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22731 to pad to uint64_t for each field.
22732 (dl_tls_index): Replace unsigned long with uint64_t.
22733
3ff42526
PP
227342012-03-23 Daniel Jacobowitz <dmj@google.com>
22735 Paul Pluzhnikov <ppluzhnikov@google.com>
22736
22737 [BZ #6528]
22738 * grp/Makefile (otherlibs): Don't set it.
22739 * inet/Makefile (otherlibs): Likewise.
22740 * login/Makefile (otherlibs): Likewise.
22741 * nscd/Makefile (otherlibs): Likewise.
22742 * posix/Makefile (otherlibs): Likewise.
22743 * pwd/Makefile (otherlibs): Likewise.
22744 * rt/Makefile (otherlibs): Likewise.
22745 * sunrpc/Makefile (otherlibs): Likewise.
22746 * nss/Makefile (otherlibs): Likewise.
22747 Add libnss_files to routines and static-only-routines.
22748 ($(objpfx)getent): Remove rule.
22749 * resolv/Makefile: Add libnss_dns and libresolv to routines and
22750 static-only-routines.
22751
7c69cd14
JM
227522012-03-22 Joseph Myers <joseph@codesourcery.com>
22753
22754 [BZ #13892]
22755 * math/s_cexp.c: Include <float.h>.
22756 (__cexp): Handle exp result overflowing not necessarily
22757 overflowing both real and imaginary parts of result.
22758 * math/s_cexpf.c: Likewise.
22759 * math/s_cexpl.c: Likewise.
22760 * math/libm-test.inc (cexp_test): Add more tests.
22761 * sysdeps/i386/fpu/libm-test-ulps: Update.
22762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22763
81b035fe
L
227642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22765
22766 * include/link.h (ELFW): New macro.
22767 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22768 Replace ELF64_R_TYPE with ELFW(R_TYPE).
22769
1da7940c
L
227702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22771
22772 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22773 with uint64_t.
22774
b749dbb9
L
227752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22776
22777 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22778 declaration.
22779 (struct La_x32_retval): Likewise.
22780
2ff87f3f
L
227812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
22782
22783 * sysdeps/x86_64/preconfigure.in: New file.
22784 * sysdeps/x86_64/preconfigure: New generated file.
22785
c0df8e69
JM
227862012-03-22 Joseph Myers <joseph@codesourcery.com>
22787
48e44791
JM
22788 [BZ #13824]
22789 * math/e_exp2l.c: Include <float.h>.
22790 (__ieee754_exp2l): Handle overflow and underflow cases
22791 separately. Only pass fractional part of argument to
22792 __ieee754_expl.
22793 * math/libm-test.inc (exp2_test): Add more tests.
22794
c0df8e69
JM
22795 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22796 negating x to take absolute value.
22797 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22798 Likewise.
22799 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22800 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22801 Likewise.
22802 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22803 computing low part if x was negated.
22804 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22805
c8e43ba7
L
228062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22807
22808 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22809 la_x32_gnu_pltexit.
22810 (pltexit): Cast int_retval to ptrdiff_t.
22811 * elf/tst-auditmod3b.c: Likewise.
22812 * elf/tst-auditmod4b.c: Likewise.
22813 * elf/tst-auditmod5b.c: Likewise.
22814 * elf/tst-auditmod6b.c: Likewise.
22815 * elf/tst-auditmod6c.c: Likewise.
22816 * elf/tst-auditmod7b.c: Likewise.
22817
22818 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22819 and x32_gnu_pltexit.
22820
22821 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22822 __ELF_NATIVE_CLASS.
22823 (La_x32_regs): New macro.
22824 (La_x32_retval): Likewise.
22825 (la_x32_gnu_pltenter): New function prototype.
22826 (la_x32_gnu_pltexit): Likewise.
22827
7998fa78
AS
228282012-03-21 Andreas Schwab <schwab@linux-m68k.org>
22829
dcb33988
AS
22830 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22831 exponent.
22832
233fc563
AS
22833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22834
7998fa78
AS
22835 * configure.in (libc_cv_cc_nofma): Check for option to disable
22836 generation of FMA instructions.
22837 * configure: Regenerate.
22838 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22839 * sysdeps/ieee754/dbl-64/Makefile: New file.
22840 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22841 Remove brandred-fma4.
22842 (CFLAGS-brandred-fma4.c): Remove.
22843 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22844 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22845 define.
22846 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22847 define.
22848
8e95c99a
L
228492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22850
22851 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22852 LLONG_MAX != LONG_MAX.
22853 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22854 (_fitoa_word): Likewise.
22855 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22856 LLONG_MAX != LONG_MAX.
22857 * stdio-common/_itowa.h: Include <_itoa.h>.
22858 (_itowa_word): Use _ITOA_WORD_TYPE on value.
22859 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
22860 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
22861 only if not defined.
22862 (_ITOA_WORD_TYPE): Likewise.
22863 (_itoa_word): Use _ITOA_WORD_TYPE on value.
22864 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22865
6f4db457
DM
228662012-03-21 David S. Miller <davem@davemloft.net>
22867
22868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22869
7785fe5a
L
228702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
22871
22872 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22873 of x86_64 when setting libc_cv_slibdir, libdir and
22874 libc_cv_localedir.
22875 * sysdeps/unix/sysv/linux/configure: Regenerated.
22876
4535cd55
JM
228772012-03-21 Joseph Myers <joseph@codesourcery.com>
22878
22879 * manual/lang.texi (Old Varargs): Remove section.
22880 (How Variadic): Update menu.
22881 (va_start): Do not mention varargs.h.
22882
17228132
TS
228832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22884 Joseph Myers <joseph@codesourcery.com>
22885
22886 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22887 link test.
22888 * configure: Regenerated.
22889
8149f976
TS
228902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
22891
05f3d1f6
UD
22892 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22893 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22894 conformtest.pl
8149f976 22895
1a4ac776
JM
228962012-03-21 Joseph Myers <joseph@codesourcery.com>
22897
be22ce65
JM
22898 * NOTES: Remove.
22899 * Makefile (files-for-dist): Remove NOTES.
22900 (NOTES): Remove rule.
22901 * README: Don't refer to NOTES.
22902 * manual/creature.texi: Don't include macros.texi.
22903 * manual/intro.texi (creature.texi): Remove comment referring to
22904 NOTES.
22905
40b601fb
JM
22906 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22907 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22908 * configure: Regenerated.
22909 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22910 LIBC_TRY_CC_OPTION.
22911 (libc_cv_as_i686): Likewise.
22912 (libc_cv_cc_avx): Likewise.
22913 (libc_cv_cc_sse2avx): Likewise.
22914 (libc_cv_cc_fma4): Likewise.
22915 (libc_cv_cc_novzeroupper): Likewise.
22916 * sysdeps/i386/configure: Regenerated.
22917
1a4ac776
JM
22918 [BZ #13883]
22919 * sysdeps/i386/fpu/s_cexp.S: Remove.
22920 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22921 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22922 * math/libm-test.inc (cexp_test): Add more tests.
22923 * sysdeps/i386/fpu/libm-test-ulps: Update.
22924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22925
a458e7fe
AM
229262012-03-21 Allan McRae <allan@archlinux.org>
22927
22928 * timezone/Makefile: Do not install iso3166.tab and zone.tab
22929
0cb7efc5
JM
229302012-03-21 Joseph Myers <joseph@codesourcery.com>
22931
22932 [BZ #13871]
22933 * math/w_exp2.c: Do not include <float.h>.
22934 (o_threshold, u_threshold): Remove.
22935 (__exp2): Calculate result before checking finiteness and calling
22936 __kernel_standard.
22937 * math/w_exp2f.c: Likewise.
22938 * math/w_exp2l.c: Likewise.
22939 * math/libm-test.inc (exp2_test): Require overflow exception for
22940 1e6 input.
2460d3aa
JM
22941
22942 [BZ #3866]
22943 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22944 range of signed 64-bit integers before using fistpll. Remove
22945 checks for whether integers fit in mantissa bits.
22946 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22947 the range of signed 32-bit integers before using fistpl. Remove
22948 checks for whether integers fit in mantissa bits.
22949 * sysdeps/i386/fpu/e_powl.S (p64): New object.
22950 (__ieee754_powl): Test for y outside the range of signed 64-bit
22951 integers before using fistpll. Reduce 64-bit values to 63-bit
22952 ones as needed.
22953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22954 divide-by-zero is raised for zero to large negative powers.
22955 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22956 (__ieee754_powl): Test for y outside the range of signed 64-bit
22957 integers before using fistpll. Reduce 64-bit values to 63-bit
22958 ones as needed.
22959 * math/libm-test.inc (pow_test): Add more tests.
22960
eb96ffb0
L
229612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
22962
22963 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22964 <stdio-common/_itoa.h>.
22965 * debug/segfault.c: Likewise.
22966 * elf/dl-cache.c: Likewise.
22967 * elf/dl-minimal.c: Likewise.
22968 * elf/dl-misc.c: Likewise.
22969 * elf/dl-sysdep.c: Likewise.
22970 * elf/dl-version.c: Likewise.
22971 * elf/rtld.c: Likewise.
22972 * hurd/hurdsock.c: Likewise.
22973 * hurd/lookup-retry.c: Likewise.
22974 * malloc/malloc.c: Likewise.
22975 * malloc/mtrace.c: Likewise.
22976 * nscd/nscd_getgr_r.c: Likewise.
22977 * nscd/nscd_getpw_r.c: Likewise.
22978 * nscd/nscd_getserv_r.c: Likewise.
22979 * posix/getopt_init.c: Likewise.
22980 * posix/wordexp.c: Likewise.
22981 * stdio-common/_itoa.c: Likewise.
22982 * stdio-common/printf_fphex.c: Likewise.
22983 * stdio-common/vfprintf.c: Likewise.
22984 * string/_strerror.c: Likewise.
22985 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22986 * sysdeps/i386/i686/hp-timing.h: Likewise.
22987 * sysdeps/mach/_strerror.c: Likewise.
22988 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22989 * sysdeps/mach/hurd/sethostid.c: Likewise.
22990 * sysdeps/mach/hurd/xmknodat.c: Likewise.
22991 * sysdeps/mach/xpg-strerror.c: Likewise.
22992 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22993 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22994 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22995 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22996 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22997 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22998 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22999 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23000 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23001 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23002 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23003 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23004 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23005 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23006 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23007 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23008 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23009 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23010 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23011 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23012 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23013
23014 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23015
23016 * stdio-common/_itoa.h: Moved to ...
23017 * sysdeps/generic/_itoa.h: Here.
23018
23019 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23020
23021 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23022 instead of "_itoa.h" and "_itowa.h".
23023 * stdio-common/vfprintf.: Likewise.
23024
d1af992d
L
230252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23026
23027 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23028 <bits/wordsize.h>.
23029 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23030 (__signbit): Likwise.
23031 (llrintf): Likwise.
23032 (llrint): Likwise.
23033
114883e0
L
230342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
23035
23036 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23037 __WORDSIZE != 64.
23038
c135cc1b
JM
230392012-03-20 Joseph Myers <joseph@codesourcery.com>
23040
23041 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23042 OVERFLOW_EXCEPTION_OK.
23043 * math/libm-test.inc ("Philosophy"): Update comment about
23044 exception testing.
23045 (OVERFLOW_EXCEPTION): Define.
23046 (OVERFLOW_EXCEPTION_OK): Likewise.
23047 (INVALID_EXCEPTION_OK): Renumber.
23048 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23049 (IGNORE_ZERO_INF_SIGN): Likewise.
23050 (test_exceptions): Handle FE_OVERFLOW.
23051 (exp10_test): Expect overflow exceptions.
23052 (exp2_test): Likewise.
23053 (expm1_test): Likewise.
23054 (nextafter_test): Likewise.
23055 (pow_test): Likewise.
23056 (scalbn_test): Likewise.
23057 (scalbln_test): Likewise.
23058
95443d88
L
230592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23060
23061 * sysdeps/x86_64/bits/atomic.h
23062 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23063 64bit integer.
23064 (atomic_exchange_acq): Likewise.
23065 (__arch_exchange_and_add_body): Likewise.
23066 (__arch_add_body): Likewise.
23067 (atomic_add_negative): Likewise.
23068 (atomic_add_zero): Likewise.
23069
490df6c4
L
230702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23071
c2722551 23072 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
23073 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23074
5e52b189
L
230752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23076
23077 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23078 Check __x86_64__ instead of __WORDSIZE.
23079
a9879d4c
L
230802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23081
23082 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23083
5df98260
DM
230842012-03-19 David S. Miller <davem@davemloft.net>
23085
e1497744
DM
23086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23087
5df98260
DM
23088 * sysdeps/sparc/fpu/fenv_private.h: New file.
23089 * sysdeps/sparc/fpu/math_private.h: Use it.
23090 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23091 Remove.
23092 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23093 (libc_feholdexcept_setroundl): Remove.
23094 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23095 Remove.
23096 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23097 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23098
b4c35121
L
230992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23100
23101 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23102 int64_t instead of long int.
23103 (INSERT_WORDS64): Likwise.
23104
56965fd7
L
231052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
23106
23107 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23108 _Unwind_GetCFA return to _Unwind_Ptr first.
23109
83d1aec8
JM
231102012-03-19 Joseph Myers <joseph@codesourcery.com>
23111
1897ad44
JM
23112 [BZ #13629]
23113 * math/s_clog.c: Include <float.h>.
23114 (__clog): Scale large or subnormal inputs.
23115 * math/s_clogf.c: Likewise.
23116 * math/s_clogl.c: Likewise.
23117 * math/s_clog10.c: Include <float.h>.
23118 (M_LOG10_2): Define.
23119 (__clog10): Scale large or subnormal inputs.
23120 * math/s_clog10f.c: Likewise.
23121 * math/s_clog10l.c: Likewise.
23122 * math/libm-test.inc (clog_test): Add more tests.
23123 (clog10_test): Likewise.
23124 * sysdeps/i386/fpu/libm-test-ulps: Update.
23125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23126
7726d6a9
JM
23127 [BZ #11451]
23128 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23129 x and y.
23130 * math/libm-test.inc (atan2_test): Add another test.
23131
83d1aec8
JM
23132 * Makerules (common-objdir-compile): Remove.
23133 * sysdeps/unix/Makefile (config-generated): Do not add
23134 $(unix-generated) to variable.
23135 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23136 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23137 Remove rule.
23138 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23139 Likewise.
23140 [generic bits/local_lim.h] (before-compile): Do not append to
23141 variable.
23142 [generic bits/local_lim.h] (common-generated): Likewise.
23143 [generic sys/param.h] (before-compile): Do not append to variable.
23144 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23145 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23146 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23147 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23148 include.
23149 [generic sys/param.h] (sys/param.h-includes): Remove variable.
23150 [generic sys/param.h] (sys/param.h-includes): Remove rule.
23151 [generic sys/param.h] ($(addprefix
23152 $(common-objpfx),$(sys/param.h-includes))): Likewise.
23153 [generic sys/param.h] (common-generated): Do not append to
23154 variable.
23155 [generic sys/param.h] (sysdep_headers): Likewise.
23156 [generic bits/errno.h] (before-compile): Do not append to
23157 variable.
23158 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23159 rule.
23160 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23161 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23162 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23163 [generic bits/errno.h] (common-generated): Do not append to
23164 variable.
23165 [generic bits/ioctls.h] (before-compile): Do not append to
23166 variable.
23167 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23168 rule.
23169 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23170 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23171 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23172 rule.
23173 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23174 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23175 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23176 [generic bits/ioctls.h] (common-generated): Do not append to
23177 variable.
23178 [generic sys/syscall.h] (syscall.h): Remove variable.
23179 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23180 rule.
23181 [generic sys/syscall.h] (before-compile): Do not append to
23182 variable.
23183 [generic sys/syscall.h] (common-generated): Likewise.
23184 * sysdeps/unix/errnos-tmpl.c: Remove file.
23185 * sysdeps/unix/errnos.awk: Likewise.
23186 * sysdeps/unix/ioctls-tmpl.c: Likewise.
23187 * sysdeps/unix/ioctls.awk: Likewise.
23188 * sysdeps/unix/mk-local_lim.c: Likewise.
23189 * sysdeps/unix/snarf-ioctls: Likewise.
23190
4851a949
RH
231912012-03-19 Richard Henderson <rth@twiddle.net>
23192
bd37f2ee
RH
23193 * sysdeps/i386/fpu/fenv_private.h: New file.
23194 * sysdeps/i386/fpu/math_private.h: Use it.
23195 (math_opt_barrier, math_force_eval): Remove.
23196 (libc_feholdexcept_setround_53bit): Remove.
23197 (libc_feupdateenv_53bit): Remove.
23198 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23199 (math_opt_barrier, math_force_eval): Remove.
23200 (libc_feholdexcept): Remove.
23201 (libc_feholdexcept_setround): Remove.
23202 (libc_fetestexcept, libc_fesetenv): Remove.
23203 (libc_feupdateenv_test): Remove.
23204 (libc_feupdateenv, libc_feholdsetround): Remove.
23205 (libc_feresetround): Remove.
23206
d0adc922
RH
23207 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23208 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23209
0fe0f1f8
RH
23210 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23211 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23212 (libc_feupdateenv_testl): New.
23213 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23214 (libc_feupdateenv_testf): New.
23215 (libc_feupdateenv): Use libc_feupdateenv_test.
23216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23217 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23218
eb92c487
RH
23219 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23220 (libc_feholdsetroundf, libc_feholdsetroundl): New.
23221 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23222 (libc_feresetround_noex): New.
23223 (libc_feresetround_noexf): New.
23224 (libc_feresetround_noexl): New.
23225 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23226 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23227 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23228 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23229 SET_RESTORE_ROUND.
23230 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23231 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23232 (__cos): Likewise.
23233 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23234 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23235 SET_RESTORE_ROUND_NOEX.
23236 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23237 SET_RESTORE_ROUND_NOEXF.
23238 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23239 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23240 (libc_feholdsetroundf): New.
23241 (libc_feresetround, libc_feresetroundf): New.
23242
7d2e8012
RH
23243 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23244 (libc_feholdexcept_setround_53bit): Convert from macro to function.
23245 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
23246
b4dabbb4
RH
23247 * sysdeps/generic/math_private.h: Include <fenv.h>.
23248 (default_libc_feholdexcept): New.
23249 (default_libc_feholdexcept_setround): New.
23250 (default_libc_fesetenv, default_libc_feupdateenv): New.
23251 (libc_feholdexcept): Only define if undefined.
23252 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23253 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23254 (libc_feholdexcept_setroundl): Likewise.
23255 (libc_feholdexcept_setround_53bit): Likewise.
23256 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23257 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23258 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23259 (libc_feupdateenv_53bit): Likewise.
23260 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23261 (libc_feholdexcept): Convert from macro to inline function.
23262 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23263 (libc_fesetenv, libc_feupdateenv): Likewise.
23264
4851a949
RH
23265 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23266 not previously defined.
23267 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23268 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23269 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23270 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23271 * sysdeps/ieee754/flt-32/math_private.h: New file.
23272 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23273 math_private.h below SET_FLOAT_WORD.
23274 (__isnan, __isinf_ns, __finite): Remove.
23275 (__isnanf, __isinf_nsf, __finitef): Remove.
23276
e79d442e
AS
232772012-03-18 Andreas Schwab <schwab@linux-m68k.org>
23278
23279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23280
90b80344
DM
232812012-03-17 David S. Miller <davem@davemloft.net>
23282
23283 [BZ #6471]
23284 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23285 for 2.16.
23286
edc21804
DM
232872012-03-16 David S. Miller <davem@davemloft.net>
23288
77e927af
DM
23289 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23290 warnings.
23291
374976dd
DM
23292 [BZ #6471]
23293 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23294 properly.
23295 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23296 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23297 sysdep_routines when subdir is sysvipc.
23298 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23299 __getshmlba helper.
23300
edc21804
DM
23301 * sysdeps/sparc/fpu/libm-test/ulps: Update.
23302
473c3ef3
L
233032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23304
23305 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23306 [__LP64__].
23307
eb0f39b6
L
233082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23309
23310 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23311 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23312 (__lround): Renamed to ...
23313 (__llround): This. Replace long int with long long int.
23314 Define lround functions as aliases of llround functions.
23315 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23316
6b6cd74b
L
233172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23318
23319 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23320 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
23321 adresses to uintptr_t. Replace "long int" and "unsigned long
23322 int" with "greg_t" on va_arg.
23323
f1a77b01
L
233242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23325
23326 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23327 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23328
23329 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23330 Move e_machine check before EI_CLASS check. Handle x32
23331 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23332 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23333 SKIP_EM_IA_64 and include
23334 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23335
23336 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23337 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23338 (add_system_dir): New macro.
23339
23340 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23341 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23342
11b90b9f
JM
233432012-03-16 Joseph Myers <joseph@codesourcery.com>
23344
c36e1d23
JM
23345 [BZ #2551]
23346 [BZ #2552]
23347 [BZ #2553]
23348 [BZ #2554]
23349 [BZ #2562]
23350 [BZ #2563]
23351 [BZ #2565]
23352 [BZ #2566]
23353 [BZ #2576]
23354 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23355 (y0): Likewise.
23356 * math/w_j0f.c (j0f): Likewise.
23357 (y0f): Likewise.
23358 * math/w_j0l.c (__j0l): Likewise.
23359 (__y0l): Likewise.
23360 * math/w_j1.c (j1): Likewise.
23361 (y1): Likewise.
23362 * math/w_j1f.c (j1f): Likewise.
23363 (y1f): Likewise.
23364 * math/w_j1l.c (__j1l): Likewise.
23365 (__y1l): Likewise.
23366 * math/w_jn.c (jn): Likewise.
23367 (yn): Likewise.
23368 * math/w_jnf.c (jnf): Likewise.
23369 (ynf): Likewise.
23370 * math/w_jnl.c (__jnl): Likewise.
23371 (__ynl): Likewise.
23372 * math/libm-test.inc (j0_test): Add more tests.
23373 (j1_test): Likewise.
23374 (jn_test): Likewise. Add trailing semicolon to existing test.
23375 (y0_test): Likewise.
23376 (y1_test): Likewise.
23377 * sysdeps/i386/fpu/libm-test-ulps: Update.
23378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23379
11b90b9f
JM
23380 [BZ #13851]
23381 [BZ #13854]
23382 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23383 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23384 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23385 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23386 (__tanl): Set errno for infinite argument.
23387 * sysdeps/i386/fpu/mptan.c: Remove.
23388 * sysdeps/i386/fpu/s_tan.S: Likewise.
23389 * sysdeps/i386/fpu/s_tanl.S: Likewise.
23390 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23391 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23392 * math/libm-test.inc (tan_test): Add more tests and enable more
23393 tests for double and long double.
23394 * sysdeps/i386/fpu/libm-test-ulps: Update.
23395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23396
6a1bd2a1
JK
233972012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
23398
23399 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23400 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23401
10a803e0
RM
234022012-03-16 Roland McGrath <roland@hack.frob.com>
23403
23404 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23405 * configure.in: Use it for both main tree and add-ons.
23406 * configure: Regenerated.
23407
f196c7f7
L
234082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
23409
23410 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23411
8848d99d
JM
234122012-03-16 Joseph Myers <joseph@codesourcery.com>
23413
96cbe7f4
JM
23414 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23415 in comment.
23416
8848d99d
JM
23417 [BZ #13851]
23418 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23419 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23420 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23421 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23422 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23423 infinite argument.
23424 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23425 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23426 != 0 for prec == 2.
23427 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23428 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23429 * sysdeps/i386/fpu/s_cosl.S: Likewise.
23430 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23431 * sysdeps/i386/fpu/s_sinl.S: Likewise.
23432 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23433 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23434 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23435 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23436 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23437 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23438 * math/libm-test.inc (cos_test): Add more tests and enable more
23439 tests for long double.
23440 (sin_test): Likewise.
23441 (sincos_test): Likewise.
23442 * sysdeps/i386/fpu/libm-test-ulps: Update.
23443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23444
dd7f4703
DM
234452012-03-16 David S. Miller <davem@davemloft.net>
23446
23447 * sysdeps/sparc/fpu/math_private.h: New file.
23448
006f1daa
DM
234492012-03-15 David S. Miller <davem@davemloft.net>
23450
c0c83bc8
DM
23451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23452 file.
e6a62e18 23453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
23454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23455 file.
e6a62e18
DM
23456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23461 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23462 sysdep routines.
23463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23464
88cb87d9
DM
23465 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23466 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23467
006f1daa 23468 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
23469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23470 sparc-ifunc.h
006f1daa 23471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
23472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23473 Likewise.
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23475 Likewise.
006f1daa
DM
23476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
23479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23480 Likewise.
006f1daa
DM
23481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
23485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23486 Likewise.
23487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23488 Likewise.
006f1daa
DM
23489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23494 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23495 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23496 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23503 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23504 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23505 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23506 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23507 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23508 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23509 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23510 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23512 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23513
11e0098e
AS
235142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23515
23516 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23517 scaling.
23518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23519
e85b09d0
AJ
235202012-03-15 Andreas Jaeger <aj@suse.de>
23521
23522 [BZ #13852]
23523 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23524 ieee754/flt-32 implementation for sin, cos and sincos.
23525 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23526 * sysdeps/i386/fpu/s_cosf.S: Likewise.
23527 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23528 * sysdeps/i386/fpu/s_sinf.S: Likewise.
23529 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23530 ieee754/flt-32 implementation for tan.
23531
23532 * math/libm-test.inc (cos_test): Enable some large input tests for
23533 float as well
23534 (sin_test): Likewise.
23535 (sincos_test): Likewise.
23536 (tan_test): Add tests for large input.
23537
23538 * sysdeps/i386/fpu/libm-test-ulps: Update.
23539
81c64153
AJ
235402012-03-15 Andreas Jaeger <aj@suse.de>
23541
23542 [BZ #13658]
23543 * math/libm-test.inc (cos_test): Add more test cases.
23544 (sin_test): Likewise.
23545 (sincos_test): Likewise.
23546
7bbfa5c6
AJ
235472012-03-15 Andreas Jaeger <aj@suse.de>
23548
23549 [BZ #13837]
23550 * math/libm-test.inc (cos_test): Add a test case for large input
23551 value.
23552 (sin_test): Likewise.
23553 (sincos_test): Likewise.
23554
235552012-03-15 Andreas Jaeger <aj@suse.de>,
23556 Joseph Myers <joseph@codesourcery.com>
23557
23558 [BZ #13658]
0671f479 23559 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
23560 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23561 * sysdeps/i386/fpu/branred.c: Likewise.
23562 * sysdeps/i386/fpu/dosincos.c: Likewise.
23563 * sysdeps/i386/fpu/mpa.c: Likewise.
23564 * sysdeps/i386/fpu/s_cos.S: Likewise.
23565 * sysdeps/i386/fpu/s_sin.S: Likewise.
23566 * sysdeps/i386/fpu/s_sincos.S: Likewise.
23567 * sysdeps/i386/fpu/sincos32.c: Likewise.
23568
23569 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23570 Define.
23571 (libc_feupdateenv_53bit): Define.
23572 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23573 Define.
23574 (libc_feupdateenv_53bit): Define.
23575
23576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23577 53 bit (without extend i386 double precision).
23578
23579 * math/libm-test.inc (sincos_test): Add tests for large input.
23580 (sin): Likewise.
23581 (cos): Likewise.
23582
23583 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23584
9cad04ea
AS
235852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
23586
23587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23588
f7062b9a
DM
235892012-03-15 David S. Miller <davem@davemloft.net>
23590
23591 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23592 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23593 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23594 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23599 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
23606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23607 file.
f7062b9a 23608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
23609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23610 file.
f7062b9a 23611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
23612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23613 file.
f7062b9a 23614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
23615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23616 file.
f7062b9a
DM
23617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23619 fmin/fmax sysdep routines.
23620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23621
7bd951ff
DM
236222012-03-14 David S. Miller <davem@davemloft.net>
23623
559398ab
DM
23624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23626 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23628 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23629 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23630 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23631 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23632 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23633 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23634 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23635 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23644 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23645 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23646 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23647 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23648 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23649 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23650 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23651 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23653 routines.
23654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23655 file.
559398ab 23656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
23657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23658 file.
559398ab 23659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
23660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23661 file.
559398ab 23662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
23663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23664 file.
559398ab 23665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
23666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23667 file.
559398ab 23668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
23669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23670 file.
23671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23672 file.
23673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23674 file.
23675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23676 file.
23677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23678 New file.
23679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23680 file.
23681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23682 file.
559398ab 23683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
23684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23685 file.
559398ab 23686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
23687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23688 file.
559398ab 23689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
23690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23691 file.
559398ab 23692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
23693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23694 VIS3 routines.
559398ab
DM
23695
23696 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23697 New file.
23698
5a1c1e32
DM
23699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23700
eae47a36
DM
23701 * sysdeps/sparc/configure.in: New file.
23702 * sysdeps/sparc/configure: Generate.
23703 * configure.in (libc_cv_sparc_as_vis3): Substitute.
23704 * configure: Regenerate.
23705 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23706 * config.make.in (have-as-vis3): New.
23707 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23708 available use -Av9d instead of -Av9a.
23709 * sysdeps/sparc/sparc64/Makefile: Likewise.
23710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
23711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23712 New file.
23713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23714 file.
23715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23716 New file.
23717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23718 file.
eae47a36
DM
23719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23722 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23723 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23724
c0c83bc8
DM
23725 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23726 fzeros/fnegs to load 0x80000000 into a float register instead of
23727 using the stack.
7bd951ff
DM
23728 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23729
bd951ccb
JM
237302012-03-14 Joseph Myers <joseph@codesourcery.com>
23731
23732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23733 bits/syscall.h.
23734 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23735 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23736 ($(inst_includedir)/bits/syscall.h): Remove rule.
23737 ($(objpfx)bits/syscall.d): Include instead of
23738 $(objpfx)syscall-list.d.
23739 (generated): Change syscall-list.h and syscall-list.d to
23740 bits/syscall.h and bits/syscall.d.
23741
bb4e6db2
RM
237422012-03-14 Roland McGrath <roland@hack.frob.com>
23743
23744 [BZ #13846]
23745 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23746
aa4a2ae1
JM
237472012-03-14 Joseph Myers <joseph@codesourcery.com>
23748
e456826d
JM
23749 [BZ #13841]
23750 * math/s_csqrt.c: Include <float.h>.
23751 (__csqrt): Scale large or subnormal inputs.
23752 * math/s_csqrtf.c: Likewise.
23753 * math/s_csqrtl.c: Likewise.
23754 * math/libm-test.inc (csqrt_test): Add more tests.
23755 * sysdeps/i386/fpu/libm-test-ulps: Update.
23756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23757
aa4a2ae1
JM
23758 [BZ #13840]
23759 * math/libm-test.inc (hypot_test): Add more tests.
23760
7c10fd35
DM
237612012-03-13 David S. Miller <davem@davemloft.net>
23762
23763 [BZ #13840]
23764 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23765 double-precision for the calculation instead of scaling.
23766
f453b98b
JM
237672012-03-13 Joseph Myers <joseph@codesourcery.com>
23768
23769 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23770 manipulate bits before adding and subtracting TWO52[sx].
23771 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23772 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23773 Likewise.
23774 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23775
09a3453f
DM
237762012-03-13 David S. Miller <davem@davemloft.net>
23777
8e59da90
DM
23778 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23779 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23780 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23781 rtld-global-offsets.h
23782 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23783
2a8ab7f2
DM
23784 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23785 large parameters.
23786
10f62770
DM
23787 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23788
5f0bdb18
DM
23789 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23790 'err' in the ifdef scope in which it is actually used.
23791
09a3453f
DM
23792 * nss/nss_db/db-init.c: Include string.h
23793
b4b2eb5e
DM
237942012-03-12 David S. Miller <davem@davemloft.net>
23795
98bb2f1c
DM
23796 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23797 masking out of the most significant byte of random value used.
23798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23799 Fix coding style in previous change.
23800
b4b2eb5e
DM
23801 * sysdeps/unix/sysv/linux/kernel-features.h
23802 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23803 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23804 expression.
23805 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23806 later.
23807
6e226b09
DM
238082012-03-11 David S. Miller <davem@davemloft.net>
23809
a1bcbd40
DM
23810 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23811 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23812 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23813 for 'resultvar' otherwise things get truncated on 64-bit.
23814
cb9d6174
DM
23815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23816 Fix masking out of the most significant byte of random value used.
23817
6e226b09
DM
23818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23819
058c132d
AS
238202012-03-10 Andreas Schwab <schwab@linux-m68k.org>
23821
23822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23823
2d2cd515
DM
238242012-03-09 David S. Miller <davem@davemloft.net>
23825
23826 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23827 variables with appropriate CPP guards.
23828 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23829 frame pointer, not the stack pointer. Correct layout comments. Fix test
23830 on resulting framesize and the management of the outregs buffer for pltexit.
23831 Preserve floating point return values across _dl_call_pltexit call.
23832 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23833 framesize and the management of the outregs buffer for pltexit.
23834 Preserve floating point return values across _dl_call_pltexit
23835 call.
23836 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23837 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23838 (print_exit): Fix format string for return register value.
23839
9a07f9d0
JM
238402012-03-10 Joseph Myers <joseph@codesourcery.com>
23841
23842 * sunrpc/Makefile (others): Add rpcgen.
23843 ($(objpfx)rpcgen): Remove special build rule and dependency on
23844 libc.
23845 * sunrpc/rpcgen.c: New file.
23846
547b5e30
PE
238472012-03-09 Paul Eggert <eggert@cs.ucla.edu>
23848
c524201a
PE
23849 [BZ #13673]
23850 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23851 * stdio-common/bug-vfprintf-nargs.c: Likewise.
23852 * sysdeps/i386/crti.S: Likewise.
23853 * sysdeps/i386/crtn.S: Likewise.
23854 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23855 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23856 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23857 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23858 * sysdeps/sh/crti.S: Likewise.
23859 * sysdeps/sh/crtn.S: Likewise.
23860 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23861
7b6235f2
PE
23862 [BZ #13673]
23863 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23864 with URL.
23865 * locale/programs/locfile-kw.gperf: Likewise.
23866 * locale/programs/charmap-kw.h: Regenerated.
23867 * locale/programs/locfile-kw.h: Likewise.
23868
547b5e30
PE
23869 [BZ #13673]
23870 * intl/plural.y: Replace FSF snail mail address with URL.
23871 * intl/plural.c: Regenerated.
23872
5f0a5dae
RH
238732012-03-09 Richard Henderson <rth@twiddle.net>
23874
23875 * include/math_private.h: Remove file.
23876 * math/math_private.h: Move file ...
23877 * sysdeps/generic/math_private.h: ... here.
23878
b8c03620
RH
23879 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23880 * sysdeps/powerpc/fpu/math_private.h: Likewise.
23881 * sysdeps/x86_64/fpu/math_private.h: Likewise.
23882
4e234f5d 23883 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
23884 and <math_private.h>.
23885 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23886 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23887 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23888 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23889 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23890 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23891 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23892 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23893 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23894 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23896 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23897 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23898 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23899 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23900 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23901 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23902 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23903 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23904 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23906 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23907 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23909 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23910 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23912 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23913 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23914 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23915 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23916 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23917 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23919 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23920 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23921 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23922 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23923 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23924 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23925 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23926 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23927 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23928 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23929 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23930 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23931 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23932 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23933 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23934 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23935 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23936 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23937 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23938 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23939 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23940 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23941 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23942 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23943 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23944 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23945 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23946 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23948 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23949 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23950 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23951 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23952 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23953 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23954 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23955 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23956 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23958 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23959 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23960 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23961 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23969 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23971 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23972 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23973 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23974 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23975 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23976 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23977 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23978 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23979 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23980 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23981 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23982 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23983 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23984 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23985 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23986 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23987 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23988 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23989 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23990 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23991 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23992 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23993 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23994 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23995 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23996 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23997 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23998 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23999 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24000 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24001 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24002 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24003 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24004 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24005 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24006 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24007 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24008 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24009 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24010 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24011 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24012 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24013 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24014 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24015 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24016 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24017 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24018 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24019 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24020 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24021 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24022 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24023 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24024 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24025 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24026 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24027 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24028 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24029 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24033 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24034 * sysdeps/ieee754/k_standard.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24039 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24040 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24043 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24044 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24045 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24047 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24048 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24049 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24051 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24052 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24053 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24054 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24055 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24056 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24057 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24058 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24059 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24060 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24061 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24062 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24063 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24064 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24065 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24068 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24069 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24070 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24071 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24072 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24073 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24075 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24076 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24078 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24079 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24080 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24081 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24082 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24083 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24084 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24085 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24086 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24087 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24088 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24089 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24090 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24091 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24092 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24093 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24094 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24095 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24096 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24097 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24098 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24099 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24100 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24101 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24102 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24103 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24104 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24105 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24107 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24108 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24109 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24110 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24111 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24112 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24114 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24116 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24117 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24118 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24127 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24128 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24130 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24131 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24133 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24134 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24135 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24136 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24137 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24138 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24139 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24140 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24141 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24142 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24143 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24144 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24145 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24146 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24148 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24149 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24150 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24151 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24152 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24154 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24155 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24156 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24157 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24158 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24159 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24160 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24161 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24162 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24163 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24164 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24165 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24166 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24167 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24168 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24169 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24170 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24172 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24173 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24174 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24175 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24176 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24177 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24178 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24179 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24180 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24181 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24183 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24184 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24185 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24186 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24187 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24191 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24195 * sysdeps/ieee754/s_lib_version.c: Likewise.
24196 * sysdeps/ieee754/s_matherr.c: Likewise.
24197 * sysdeps/ieee754/s_signgam.c: Likewise.
24198 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24199 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24200 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24201 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24202 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24203 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24204 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24205 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24206 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24207 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24208 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24209 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24210 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24211 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24212 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24213 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24214 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24215 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24216 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24217 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24218 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 24219
1991fa03
JM
242202012-03-09 Joseph Myers <joseph@codesourcery.com>
24221
24222 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24223 * sunrpc/rpc_main.c: Likewise.
24224 * sunrpc/rpc_svcout.c: Likewise.
24225
60d6f5a6
DM
242262012-03-09 David S. Miller <davem@davemloft.net>
24227
24228 * include/math_private.h: New file.
24229
4962050e
JM
242302012-03-09 Joseph Myers <joseph@codesourcery.com>
24231
02a6f887
JM
24232 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24233 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24234 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24235 from <bits/socket_type.h>.
24236 (enum __socket_type): Don't define here.
24237 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24239 bits/socket_type.h.
24240
c6e013c1
JM
24241 [BZ #13566]
24242 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24243 checking __USE_GNU.
24244
4962050e
JM
24245 * Makerules ($(inst_includedir)/%.h): New rule.
24246 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24247 (install-others): Remove variable setting.
24248 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24249
38842f45
RH
242502012-03-08 Richard Henderson <rth@twiddle.net>
24251
67bb6da6
RH
24252 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24253 from macro to inline function; merge with the
24254 !__LIBC_INTERNAL_MATH_INLINES version.
24255 (__ieee754_sqrtf): Likewise.
24256
15194b4b
RH
24257 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24258 to inline function.
24259 (__rintf, __floor, __floorf): Likewise.
24260
64e21ede
RH
24261 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24262 macro to inline function.
24263 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24264
38842f45
RH
24265 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24266 not <math/math_private.h>.
24267
c64bf5fe
DM
242682012-03-08 David S. Miller <davem@davemloft.net>
24269
24270 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24271 copyright year.
24272 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24273
82d86f28
TS
242742012-03-08 Thomas Schwinge <thomas@codesourcery.com>
24275
24276 * resolv/gai_misc.c (handle_requests): Fix struct timespec
24277 normalization.
24278 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24279 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24280
aea5d727
UD
242812012-03-08 Ulrich Drepper <drepper@gmail.com>
24282
24283 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
24284 be defined individually, they must be defined as a block. Define
24285 S for printing a string instead of hidint the different by using a
24286 macro for adding the 'l'.
24287 * stdio-common/tst-fphex-wide.c: Adjust.
24288
70bca0a3
MP
242892012-03-07 Marek Polacek <polacek@redhat.com>
24290
24291 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24292
65b81130
MP
242932012-03-08 Marek Polacek <polacek@redhat.com>
24294
24295 [BZ #13806]
24296 * stdio-common/Makefile (tests): Add tst-fphex-wide.
24297 * stdio-common/tst-fphex.c: Define a few macros to make the
24298 test reusable. Use them.
24299 * stdio-common/tst-fphex-wide.c: New file.
24300
07037eeb
JM
243012012-03-08 Joseph Myers <joseph@codesourcery.com>
24302
a7a93d50
JM
24303 [BZ #6911]
24304 * manual/macros.texi (gnusystems): New macro.
24305 (nongnusystems): Likewise.
24306 (gnulinuxhurdsystems): Likewise.
24307 (gnuhurdsystems): Likewise..
24308 (gnulinuxsystems): Likewise.
24309 * manual/charset.texi: Use new macros or @theglibc{} to refer to
24310 variants of the GNU system, not "GNU system".
24311 * manual/conf.texi: Likewise.
24312 * manual/errno.texi: Likewise. Update example of errno macro
24313 expansion.
24314 * manual/filesys.texi: Likewise.
24315 (getumask): Document as specific to GNU/Hurd.
24316 * manual/install.texi: Likewise. Reword some references to
24317 GNU/Linux.
24318 * manual/intro.texi: Likewise.
24319 * manual/io.texi: Likewise.
24320 (File Name Portability): Detail which constraints are inapplicable
24321 to all GNU systems and which are only inapplicable to GNU/Hurd.
24322 * manual/job.texi: Likewise.
24323 * manual/llio.texi: Likewise.
24324 (O_NOCTTY): Document as present on GNU/Linux.
24325 * manual/maint.texi: Likewise.
24326 * manual/memory.texi: Likewise.
24327 * manual/pattern.texi: Likewise.
24328 * manual/pipe.texi: Likewise.
24329 * manual/process.texi: Likewise.
24330 * manual/resource.texi: Likewise.
24331 (RUSAGE_CHILDREN): Remove statement about specifying a particular
24332 child on GNU/Hurd.
24333 * manual/setjmp.texi: Likewise.
24334 * manual/signal.texi: Likewise.
24335 * manual/startup.texi: Likewise.
24336 * manual/stdio.texi: Likewise.
24337 * manual/terminal.texi: Likewise.
24338 (ONLCR): Document as POSIX.
24339 (OXTABS): Document availability on GNU/Linux as XTABS.
24340 (ONOEOT): Document availability separately from other bits.
24341 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24342 * manual/time.texi: Likewise.
24343 * manual/users.texi: Likewise.
24344 * INSTALL: Regenerated.
24345 * sysdeps/gnu/errlist.c: Regenerated.
24346
07037eeb
JM
24347 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24348 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24349 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
24350 puts.
24351 * configure: Regenerated.
24352
d1d3431a
JM
243532012-03-07 Joseph Myers <joseph@codesourcery.com>
24354
af6a1e37
JM
24355 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24356 default includes instead of AC_HEADER_CHECK.
24357 * sysdeps/i386/configure: Regenerated.
24358
d1d3431a
JM
24359 [BZ #10716]
24360 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24361 * math/s_cacoshf.c (__cacoshf): Likewise.
24362 * math/s_cacoshl.c (__cacoshl): Likewise.
24363 * math/s_casinh.c (__casinh): Set signs of result from argument.
24364 * math/s_casinhf.c (__casinhf): Likewise.
24365 * math/s_casinhl.c (__casinhl): Likewise.
24366 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24367 (casinh_test): Add more tests.
24368 * sysdeps/i386/fpu/libm-test-ulps: Update.
24369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24370
482ff4da
UD
243712012-03-07 Ulrich Drepper <drepper@gmail.com>
24372
872fda05
UD
24373 * po/zh_TW.po: Update from translation team.
24374
a4300c7a
UD
24375 * login/Makefile (distribute): Remove variable.
24376 * catgets/Makefile: Likewise.
24377 * mach/Makefile: Likewise.
24378 * malloc/Makefile: Likewise.
24379 * misc/Makefile: Likewise.
24380 * iconv/Makefile: Likewise.
24381 * nscd/Makefile: Likewise.
24382 * hurd/Makefile: Likewise.
24383 * manual/Makefile: Likewise.
24384 * locale/Makefile: Likewise.
24385 * intl/Makefile: Likewise.
24386 * conform/Makefile: Likewise.
24387 * nss/Makefile: Likewise.
24388 * time/Makefile: Likewise.
24389 * soft-fp/Makefile: Likewise.
24390 * dirent/Makefile: Likewise.
24391 * gmon/Makefile: Likewise.
24392 * po/Makefile: Likewise.
24393 * rt/Makefile: Likewise.
24394 * socket/Makefile: Likewise.
24395 * math/Makefile: Likewise.
24396 * signal/Makefile: Likewise.
24397 * debug/Makefile: Likewise.
24398 * elf/Makefile: Likewise.
24399 * timezone/Makefile: Likewise.
24400 * stdlib/Makefile: Likewise.
24401 * iconvdata/Makefile: Likewise.
24402 * sunrpc/Makefile: Likewise.
24403 * io/Makefile: Likewise.
24404 * argp/Makefile: Likewise.
24405 * inet/Makefile: Likewise.
24406 * hesiod/Makefile: Likewise.
24407 * grp/Makefile: Likewise.
24408 * csu/Makefile: Likewise.
24409 * wctype/Makefile: Likewise.
24410 * crypt/Makefile: Likewise.
24411 * libio/Makefile: Likewise.
24412 * string/Makefile: Likewise.
24413 * nis/Makefile: Likewise.
24414 * resolv/Makefile: Likewise.
24415 * stdio-common/Makefile: Likewise.
24416 * wcsmbs/Makefile: Likewise.
24417 * dlfcn/Makefile: Likewise.
24418 * posix/Makefile: Likewise.
24419
3b7c4e74 24420 [BZ #6959]
482ff4da
UD
24421 * timezone/Makefile: Don't install timezone files, just the programs
24422 and scripts.
24423
f72ed77d
UD
244242012-03-06 Ulrich Drepper <drepper@gmail.com>
24425
a000466f
UD
24426 * nss/databases.def: Add missing gshadow entry.
24427
f72ed77d
UD
24428 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
24429
a53b7a4e
MP
244302012-03-06 Marek Polacek <polacek@redhat.com>
24431
24432 [BZ #13726]
24433 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24434 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24435 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24436 * stdio-common/tst-long-dbl-fphex.c: New file.
24437
e9258400
DM
244382012-03-06 David S. Miller <davem@davemloft.net>
24439
24440 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24441 (set_obp_int): New function.
24442 (get_obp_int): New function.
24443 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
24444 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24445 Avoid unused variable warnings on 'val' and use builtin_expect.
24446 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24447 __builtin_expect.
e9258400
DM
24448 (INLINE_CLONE_SYSCALL): Likewise.
24449
3bd2c723
DM
244502012-03-05 David S. Miller <davem@davemloft.net>
24451
24452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24453
bbb78d03
AS
244542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
24455
884c5db4
AS
24456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24457
bbb78d03
AS
24458 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24459 only for |x| >= 40.
24460 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24461
1c9f702a 244622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
24463
24464 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24465 Replace gettimeofday with __vdso_gettimeofday.
24466
7be16f82
RM
24467 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24468 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24469 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
24470
24471 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24472 time with __vdso_time.
24473
ed58a00f
JM
244742012-03-05 Joseph Myers <joseph@codesourcery.com>
24475
24476 * manual/lang.texi (size_t): Note types to which size_t may be
24477 equivalent with the GNU C Library, but do not describe when
24478 differences between them are significant.
24479
30ee4ced
AJ
244802012-03-05 Andreas Jaeger <aj@suse.de>
24481
24482 * sysdeps/i386/fpu/libm-test-ulps: Update.
24483
b7cd39e8
JM
244842012-03-05 Joseph Myers <joseph@codesourcery.com>
24485
24486 [BZ #3976]
24487 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24488 (__ieee754_pow): Save and restore rounding mode and use
24489 round-to-nearest for main computations.
24490 * math/libm-test.inc (pow_test_tonearest): New function.
24491 (pow_test_towardzero): Likewise.
24492 (pow_test_downward): Likewise.
24493 (pow_test_upward): Likewise.
24494 (main): Call the new functions.
24495 * sysdeps/i386/fpu/libm-test-ulps: Update.
24496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
24497
24498 [BZ #3976]
24499 * math/libm-test.inc (cosh_test_tonearest): New function.
24500 (cosh_test_towardzero): Likewise.
24501 (cosh_test_downward): Likewise.
24502 (cosh_test_upward): Likewise.
24503 (sinh_test_tonearest): Likewise.
24504 (sinh_test_towardzero): Likewise.
24505 (sinh_test_downward): Likewise.
24506 (sinh_test_upward): Likewise.
24507 (main): Call the new functions.
24508 * sysdeps/i386/fpu/libm-test-ulps: Update.
24509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24510
6c6a98c9
TV
245112012-03-05 Tom de Vries <tom@codesourcery.com>
24512
24513 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24514 default stack guard is set in last bytes.
24515 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24516
21bb2d2e 245172012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 24518
21bb2d2e 24519 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 24520
21bb2d2e
AJ
24521 [BZ #13656]
24522 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24523 possibly allocate from heap instead of stack.
24524 * stdio-common/bug-vfprintf-nargs.c: New file.
24525 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 24526
c6922934
AS
245272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
24528
24529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24530
bc957d53
MP
245312012-03-03 Marek Polacek <polacek@redhat.com>
24532
24533 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24534 * math/math_private.h: Likewise.
24535 * stdlib/tst-strtod.c: Likewise.
24536 * sysdeps/i386/i486/bits/atomic.h: Likewise.
24537 * sysdeps/x86_64/bits/atomic.h: Likewise.
24538
6358490d
DM
245392012-03-02 David S. Miller <davem@davemloft.net>
24540
24541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24545 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24546 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24547 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24548 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24549
01ae168d
RM
245502012-03-02 Roland McGrath <roland@hack.frob.com>
24551
d9a17c07
RM
24552 [BZ #13792]
24553 * manual/examples/README: New file, says the example source files
24554 can be used under GPL>=2.
24555 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24556 line containing just "*/".
24557 * manual/examples/add.c: Add copyright header (GPL>=2).
24558 * manual/examples/argp-ex1.c: Likewise.
24559 * manual/examples/argp-ex2.c: Likewise.
24560 * manual/examples/argp-ex3.c: Likewise.
24561 * manual/examples/argp-ex4.c: Likewise.
24562 * manual/examples/atexit.c: Likewise.
24563 * manual/examples/db.c: Likewise.
24564 * manual/examples/dir.c: Likewise.
24565 * manual/examples/dir2.c: Likewise.
24566 * manual/examples/execinfo.c: Likewise.
24567 * manual/examples/filecli.c: Likewise.
24568 * manual/examples/filesrv.c: Likewise.
24569 * manual/examples/fmtmsgexpl.c: Likewise.
24570 * manual/examples/genpass.c: Likewise.
24571 * manual/examples/inetcli.c: Likewise.
24572 * manual/examples/inetsrv.c: Likewise.
24573 * manual/examples/isockad.c: Likewise.
24574 * manual/examples/longopt.c: Likewise.
24575 * manual/examples/memopen.c: Likewise.
24576 * manual/examples/memstrm.c: Likewise.
24577 * manual/examples/mkfsock.c: Likewise.
24578 * manual/examples/mkisock.c: Likewise.
24579 * manual/examples/mygetpass.c: Likewise.
24580 * manual/examples/pipe.c: Likewise.
24581 * manual/examples/popen.c: Likewise.
24582 * manual/examples/rprintf.c: Likewise.
24583 * manual/examples/search.c: Likewise.
24584 * manual/examples/select.c: Likewise.
24585 * manual/examples/setjmp.c: Likewise.
24586 * manual/examples/sigh1.c: Likewise.
24587 * manual/examples/sigusr.c: Likewise.
24588 * manual/examples/stpcpy.c: Likewise.
24589 * manual/examples/strdupa.c: Likewise.
24590 * manual/examples/strftim.c: Likewise.
24591 * manual/examples/strncat.c: Likewise.
24592 * manual/examples/subopt.c: Likewise.
24593 * manual/examples/swapcontext.c: Likewise.
24594 * manual/examples/termios.c: Likewise.
24595 * manual/examples/testopt.c: Likewise.
24596 * manual/examples/testpass.c: Likewise.
24597 * manual/examples/timeval_subtract.c: Likewise.
24598
01ae168d
RM
24599 [BZ #13792]
24600 * manual/time.texi (Elapsed Time): Move timeval_subtract example
24601 function to ...
24602 * manual/timeval_subtract.c.texi: ... here, new file.
24603
49efa33d
DM
246042012-03-02 David S. Miller <davem@davemloft.net>
24605
24606 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24607
28afd92d
JM
246082012-03-02 Joseph Myers <joseph@codesourcery.com>
24609
804360ed
JM
24610 [BZ #3976]
24611 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24612 (__sin): Save and restore rounding mode and use round-to-nearest
24613 for all computations.
24614 (__cos): Save and restore rounding mode and use round-to-nearest
24615 for all computations.
24616 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24617 <fenv.h>.
24618 (tan): Save and restore rounding mode and use round-to-nearest for
24619 all computations.
24620 * math/libm-test.inc (cos_test_tonearest): New function.
24621 (cos_test_towardzero): Likewise.
24622 (cos_test_downward): Likewise.
24623 (cos_test_upward): Likewise.
24624 (sin_test_tonearest): Likewise.
24625 (sin_test_towardzero): Likewise.
24626 (sin_test_downward): Likewise.
24627 (sin_test_upward): Likewise.
24628 (tan_test_tonearest): Likewise.
24629 (tan_test_towardzero): Likewise.
24630 (tan_test_downward): Likewise.
24631 (tan_test_upward): Likewise.
24632 (main): Call the new functions.
24633 * sysdeps/i386/fpu/libm-test-ulps: Update.
24634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24635
a6d06d7b
JM
24636 [BZ #10135]
24637 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24638 small n, then large n, before computing and testing k+n.
24639 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24640 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24641 Likewise.
24642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24643 Likewise.
24644 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24645 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24646 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24647 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24648 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24649 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24650 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24651 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24652 * math/libm-test.inc (scalbn_test): Add more tests.
24653 (scalbln_test): Likewise.
24654
07e12bb3
JM
24655 * manual/filesys.texi (mode_t): Describe constraints on size and
24656 signedness, not exact equivalence to a particular type.
24657 (ino_t): Likewise.
24658 (ino64_t): Likewise.
24659 (dev_t): Likewise.
24660 (nlink_t): Likewise.
24661 (blkcnt_t): Likewise.
24662 (blkcnt64_t): Likewise.
24663 * manual/llio.texi (off_t): Likewise.
24664
28afd92d
JM
24665 [BZ #3976]
24666 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24667 (__ieee754_exp): Save and restore rounding mode and use
24668 round-to-nearest for all computations.
24669 * math/libm-test.inc (exp_test_tonearest): New function.
24670 (exp_test_towardzero): Likewise.
24671 (exp_test_downward): Likewise.
24672 (exp_test_upward): Likewise.
24673 (main): Call the new functions.
24674 * sysdeps/i386/fpu/libm-test-ulps: Update.
24675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24676
b1eeb65d
CD
246772012-03-01 Chris Demetriou <cgd@google.com>
24678
24679 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24680 have predictable order.
24681
53362a4b
DM
246822012-03-01 David S. Miller <davem@davemloft.net>
24683
3c969083
DM
24684 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24685
759707de
DM
24686 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24687 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24688 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24689 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24690
dfdb8ff2
DM
24691 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24692 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24693 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24695 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24696 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24697 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24698 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24699 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24700
ead89f96
DM
24701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24702
7f66bd07
DM
24703 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24704 * sysdeps/sparc/fpu/libm-test-ulps: to here.
24705 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24706
53362a4b
DM
24707 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24708 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24709 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24710 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24711 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24712 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24713 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24714 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24715 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24716 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24717 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24718 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24720 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24721 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24723 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24724 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24725 * sysdeps/sparc/elf/configure: Regenerated.
24726
7b1902cb
JM
247272012-03-01 Joseph Myers <joseph@codesourcery.com>
24728
bec039bc
JM
24729 * configure.in (AS, LD): Require binutils 2.20 or later.
24730 * configure: Regenerated.
24731 * manual/install.texi (Tools for Compilation): Give binutils 2.20
24732 as required minimum version.
24733 * INSTALL: Regenerated.
24734
7b1902cb
JM
24735 [BZ #2541]
24736 [BZ #4108]
24737 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24738 before squaring exponent.
24739 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24740 bottom long double and 27 bits of top long double before squaring
24741 exponent.
24742 * math/libm-test.inc (erfc_test): Add more tests.
24743 * sysdeps/i386/fpu/libm-test-ulps: Update.
24744 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24746
f775c276
KT
247472012-03-01 Kai Tietz <ktietz@redhat.com>
24748
24749 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24750 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24751 containing bit-fields.
24752 * soft-fp/extended.h (_FP_UNION_E): Likewise.
24753 * soft-fp/single.h (_FP_UNION_S): Likewise.
24754 * soft-fp/double.h (_FP_UNION_D): Likewise.
24755
5b8a4d4a
JM
247562012-02-29 Joseph Myers <joseph@codesourcery.com>
24757
0bab47b6
JM
24758 [BZ #13786]
24759 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24760 not include ../strcmp.S.
24761 [USE_AS_STRNCASECMP_L]: Likewise.
24762 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24763 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24764 * sysdeps/i386/i686/multiarch/strncase_l-c.c
24765 (__strncasecmp_l_ia32): Define as alias to
24766 __strncasecmp_l_nonascii.
24767
0fcad3e2
JM
24768 [BZ #5794]
24769 * math/libm-test.inc (expm1_test): Add test for bug 5794.
24770 * sysdeps/i386/fpu/libm-test-ulps: Update.
24771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24772
5b8a4d4a
JM
24773 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24775
8fdceb2e
JL
247762012-02-29 Jeff Law <law@redhat.com>
24777
24778 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24779 out of bounds read.
24780
1f393a11
MP
247812012-02-29 Marek Polacek <polacek@redhat.com>
24782
24783 [BZ #13706]
24784 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24785 * elf/Makefile: Add rules to run tst-unused-dep.out.
24786
8847f037
DM
247872012-02-28 David S. Miller <davem@davemloft.net>
24788
24789 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24790 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24791 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24793 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24794 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24795
169d7f11
JM
247962012-02-29 Joseph Myers <joseph@codesourcery.com>
24797
24798 * math/libm-test.inc (llround_test): Move one test from
24799 lround_test. Use TEST_f_L in moved test.
24800 (lround_test): Move misplaced test to llround_test. Add testcase
24801 from bug 2561.
24802
39adf059
UD
248032012-02-28 Ulrich Drepper <drepper@gmail.com>
24804
24805 * sysdeps/x86_64/fpu/e_expf.S: New file.
24806 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24807
71b5d1c5
SB
248082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
24809
24810 [BZ #13637]
24811 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24812 of remain_len that may cause incomplete multi-byte character and
24813 false match.
24814 * posix/bug-regex33.c: New file.
24815 * posix/Makefile (tests): Add bug-regex33.
24816
1f77f049
JM
248172012-02-28 Joseph Myers <joseph@codesourcery.com>
24818
24819 * manual/macros.texi: New file.
24820 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24821 * manual/libc.texinfo: Include macros.texi.
24822 * manual/creatute.texi: Likewise.
24823 * manual/install.texi: Likewise.
24824 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24825 @glibcadj{} in references to the GNU C Library.
24826 * manual/charset.texi: Likewise.
24827 * manual/conf.texi: Likewise.
24828 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
24829 when not using those macros.
24830 * manual/creature.texi: Likewise.
24831 * manual/crypt.texi: Likewise.
24832 * manual/errno.texi: Likewise.
24833 * manual/filesys.texi: Likewise.
24834 * manual/header.texi: Likewise.
24835 * manual/install.texi: Likewise.
24836 * manual/intro.texi: Likewise.
24837 * manual/io.texi: Likewise.
24838 * manual/job.texi: Likewise.
24839 * manual/lang.texi: Likewise.
24840 * manual/libc.texiinfo: Likewise.
24841 * manual/llio.texi: Likewise.
24842 * manual/locale.texi: Likewise.
24843 * manual/maint.texi: Likewise.
24844 * manual/math.texi: Likewise.
24845 * manual/memory.texi: Likewise.
24846 * manual/message.texi: Likewise.
24847 * manual/nss.texi: Likewise.
24848 * manual/pattern.texi: Likewise.
24849 * manual/process.texi: Likewise.
24850 * manual/resource.texi: Likewise.
24851 * manual/search.texi: Likewise.
24852 * manual/setjmp.texi: Likewise.
24853 * manual/signal.texi: Likewise.
24854 * manual/socket.texi: Likewise.
24855 * manual/startup.texi: Likewise.
24856 * manual/stdio.texi: Likewise.
24857 * manual/string.texi: Likewise.
24858 * manual/sysinfo.texi: Likewise.
24859 * manual/syslog.texi: Likewise.
24860 * manual/terminal.texi: Likewise.
24861 * manual/time.texi: Likewise.
24862 * manual/users.texi: Likewise.
24863 * INSTALL: Regenerated.
24864 * NOTES: Regenerated.
d40c5d54 24865 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 24866
450bf206
AS
248672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
24868
24869 * include/dirent.h: Include <dirstream.h> before
24870 <dirent/dirent.h>.
24871
741a235b
DM
248722012-02-28 David S. Miller <davem@davemloft.net>
24873
24874 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24875 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24876 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24877 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24878
d6b5aa58
DM
248792012-02-27 David S. Miller <davem@davemloft.net>
24880
1aff59a3
DM
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24883 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24884 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24885
d6b5aa58
DM
24886 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24887 frame pointer instead of stack pointer relative arg slot.
24888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24889 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24890 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24891
433f48bf
CD
248922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
24893
24894 [BZ #3992]
24895 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24896
d674b76d
DM
248972012-02-27 David S. Miller <davem@davemloft.net>
24898
24899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24903 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24904 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24905 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24906 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24907
0e7727f7
JM
249082012-02-27 Joseph Myers <joseph@codesourcery.com>
24909
24910 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24911 later. Allow versions 5-9.
43be4ca2 24912 * configure: Regenerated.
0e7727f7
JM
24913 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24914 required minimum version and 4.6 as recommended version. Do not
24915 mention bugs in GCC 2.7 and 2.8.
43be4ca2 24916 * INSTALL: Regenerated.
0e7727f7 24917
a78bc654
DM
249182012-02-27 David S. Miller <davem@davemloft.net>
24919
428d5830
DM
24920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24924 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24925 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24926 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24927 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24928
a78bc654
DM
24929 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24930 manipulate bits before adding and subtracting TWO112[sx].
24931 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24932
4579f81c
RM
249332012-02-27 Roland McGrath <roland@hack.frob.com>
24934
36c8acb4
RM
24935 [BZ #13775]
24936 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24937 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24938 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24939 being in POSIX, because they are in 1003.1-2008.
24940
84ad622b
RM
24941 * rt/tst-aio.c: Include <fcntl.h>.
24942 * rt/tst-aio7.c: Likewise.
24943 * rt/tst-aio64.c: Likewise.
24944
4579f81c
RM
24945 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24946
abd923db
JM
249472012-02-27 Joseph Myers <joseph@codesourcery.com>
24948
24949 * manual/install.texi (--with-headers): Describe headers as
24950 interface headers, not private headers.
24951 (Specific advice for GNU/Linux systems): Describe use of headers
24952 from "make headers_install", not private headers from older
24953 kernels.
43be4ca2 24954 * INSTALL: Regenerated.
abd923db
JM
24955 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24956 Change to 2.6.19.
24957 * sysdeps/unix/sysv/linux/configure: Regenerated.
24958
6664049b
JM
24959 * manual/llio.texi (fclean): Remove documentation.
24960
bb8b6697
JM
24961 * manual/Makefile (libc-texi-generated): New variable. Include
24962 version.texi.
24963 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24964 $(libc-texi-generated), not duplicated list of files.
24965 (version.texi, stamp-version): New rules.
24966 (realclean): Remove $(libc-texi-generated), not individual files
24967 from that list. Do not remove dir-add.texinfo.
24968 * manual/libc.texinfo: Comment out uses of edition numbers and
24969 references to printed manual. Remove last-updated dates.
24970 (EDITION): Comment out.
24971 (ISBN): Likewise.
24972 (VERSION, UPDATED): Remove.
24973 (version.texi): Include.
24974
12e5c3b9
AS
249752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
24976
24977 * sysdeps/posix/spawni.c: Include <signal.h>.
24978 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24979 * sysdeps/pthread/aio_fsync.c: Likewise.
24980
4efeffc1 249812012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 24982
ba63ba08
UD
24983 * conform/Makefile (tests): Run only when not cross-compiling and
24984 when fast-check is not defined.
24985
d94a4670
UD
24986 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24987 * conform/data/limits.h-data: Fixes for POSIX2008.
24988 * conform/run-conformtest.sh: Run all tests.
24989 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24990 headers.
24991 * include/bits/dlfcn.h: Likewise.
24992 * include/langinfo.h: Likewise.
24993 * include/monetary.h: Likewise.
24994 * include/sys/poll.h: Likewise.
24995
24996 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24997 for __USE_GNU.
24998 * posix/spawn.h: Define __need_sigset_t.
24999 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25000 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25001 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
25002 to get sigevent_t only.
25003 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25004 only for __USE_GNU.
25005 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25006 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25007 process_vm_writev only for __USE_GNU.
25008 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
25009
25010 * conform/Makefile: For now ignore errors from run-conformtest.
25011 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
25012 POSIX to avoid namespace pollution. Don't prepend headers.
25013 * conform/data/aio.h-data: Fixes for POSIX testing.
25014 * conform/data/fcntl.h-data: Likewise.
25015 * conform/data/glob.h-data: Likewise.
25016 * conform/data/grp.h-data: Likewise.
25017 * conform/data/pthread.h-data: Likewise.
25018 * conform/data/pwd.h-data: Likewise.
25019 * conform/data/signal.h-data: Likewise.
25020 * conform/data/spawn.h-data: Likewise.
25021 * conform/data/stdio.h-data: Likewise.
25022 * conform/data/stdlib.h-data: Likewise.
25023 * conform/data/stropts.h-data: Likewise.
25024 * conform/data/sys/mman.h-data: Likewise.
25025 * conform/data/sys/stat.h-data: Likewise.
25026 * conform/data/sys/types.h-data: Likewise.
25027 * conform/data/sys/wait.h-data: Likewise.
25028 * conform/data/time.h-data: Likewise.
25029 * conform/data/unistd.h-data: Likewise.
25030 * conform/data/utime.h-data: Likewise.
25031
25032 * io/sys/stat.h: fchmod was always in POSIX.
25033 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25034 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25035 * rt/aio.h: Define __need_timespec before including <time.h>.
25036 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25037 struct. Add forward declaration of pthread_attr_t and use it in
25038 sigevent.
25039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25040 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25041 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25042 always remove CLK_TCK definition.
25043
c20105c3
AS
250442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
25045
25046 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25047
7a270350
UD
250482012-02-25 Ulrich Drepper <drepper@gmail.com>
25049
31341567
UD
25050 * conform/run-conformtest.sh: New file.
25051 * conform/Makefile: Run run-conformtest for tests.
25052 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
25053 support.
25054
25055 * conform/data/uchar.h-data: New file.
25056 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25057 * conform/data/arpa/inet.h-data: Likewise.
25058 * conform/data/assert.h-data: Likewise.
25059 * conform/data/complex.h-data: Likewise.
25060 * conform/data/cpio.h-data: Likewise.
25061 * conform/data/ctype.h-data: Likewise.
25062 * conform/data/dirent.h-data: Likewise.
25063 * conform/data/dlfcn.h-data: Likewise.
25064 * conform/data/errno.h-data: Likewise.
25065 * conform/data/fcntl.h-data: Likewise.
25066 * conform/data/float.h-data: Likewise.
25067 * conform/data/fmtmsg.h-data: Likewise.
25068 * conform/data/fnmatch.h-data: Likewise.
25069 * conform/data/ftw.h-data: Likewise.
25070 * conform/data/glob.h-data: Likewise.
25071 * conform/data/grp.h-data: Likewise.
25072 * conform/data/iconv.h-data: Likewise.
25073 * conform/data/inttypes.h-data: Likewise.
25074 * conform/data/langinfo.h-data: Likewise.
25075 * conform/data/libgen.h-data: Likewise.
25076 * conform/data/limits.h-data: Likewise.
25077 * conform/data/locale.h-data: Likewise.
25078 * conform/data/math.h-data: Likewise.
25079 * conform/data/monetary.h-data: Likewise.
25080 * conform/data/mqueue.h-data: Likewise.
25081 * conform/data/ndbm.h-data: Likewise.
25082 * conform/data/net/if.h-data: Likewise.
25083 * conform/data/netdb.h-data: Likewise.
25084 * conform/data/netinet/in.h-data: Likewise.
25085 * conform/data/nl_types.h-data: Likewise.
25086 * conform/data/poll.h-data: Likewise.
25087 * conform/data/pthread.h-data: Likewise.
25088 * conform/data/pwd.h-data: Likewise.
25089 * conform/data/regex.h-data: Likewise.
25090 * conform/data/sched.h-data: Likewise.
25091 * conform/data/search.h-data: Likewise.
25092 * conform/data/semaphore.h-data: Likewise.
25093 * conform/data/setjmp.h-data: Likewise.
25094 * conform/data/signal.h-data: Likewise.
25095 * conform/data/spawn.h-data: Likewise.
25096 * conform/data/stdarg.h-data: Likewise.
25097 * conform/data/stdio.h-data: Likewise.
25098 * conform/data/stdlib.h-data: Likewise.
25099 * conform/data/string.h-data: Likewise.
25100 * conform/data/strings.h-data: Likewise.
25101 * conform/data/stropts.h-data: Likewise.
25102 * conform/data/sys/ipc.h-data: Likewise.
25103 * conform/data/sys/mman.h-data: Likewise.
25104 * conform/data/sys/msg.h-data: Likewise.
25105 * conform/data/sys/resource.h-data: Likewise.
25106 * conform/data/sys/select.h-data: Likewise.
25107 * conform/data/sys/sem.h-data: Likewise.
25108 * conform/data/sys/shm.h-data: Likewise.
25109 * conform/data/sys/socket.h-data: Likewise.
25110 * conform/data/sys/stat.h-data: Likewise.
25111 * conform/data/sys/statvfs.h-data: Likewise.
25112 * conform/data/sys/time.h-data: Likewise.
25113 * conform/data/sys/timeb.h-data: Likewise.
25114 * conform/data/sys/times.h-data: Likewise.
25115 * conform/data/sys/types.h-data: Likewise.
25116 * conform/data/sys/uio.h-data: Likewise.
25117 * conform/data/sys/un.h-data: Likewise.
25118 * conform/data/sys/utsname.h-data: Likewise.
25119 * conform/data/sys/wait.h-data: Likewise.
25120 * conform/data/syslog.h-data: Likewise.
25121 * conform/data/tar.h-data: Likewise.
25122 * conform/data/termios.h-data: Likewise.
25123 * conform/data/utime.h-data: Likewise.
25124 * conform/data/utmpx.h-data: Likewise.
25125 * conform/data/varargs.h-data: Likewise.
25126 * conform/data/wchar.h-data: Likewise.
25127 * conform/data/wctype.h-data: Likewise.
25128 * conform/data/wordexp.h-data: Likewise.
25129
25130 * include/stropts.h: New file.
25131 * include/uchar.h: New file.
25132 * include/aio.h: Changes to allow conformtest.pl to use the headers.
25133 * include/assert.h: Likewise.
25134 * include/ctype.h: Likewise.
25135 * include/dirent.h: Likewise.
25136 * include/dlfcn.h: Likewise.
25137 * include/fcntl.h: Likewise.
25138 * include/fnmatch.h: Likewise.
25139 * include/glob.h: Likewise.
25140 * include/grp.h: Likewise.
25141 * include/libio.h: Likewise.
25142 * include/locale.h: Likewise.
25143 * include/math.h: Likewise.
25144 * include/net/if.h: Likewise.
25145 * include/netdb.h: Likewise.
25146 * include/netinet/in.h: Likewise.
25147 * include/pthread.h: Likewise.
25148 * include/pwd.h: Likewise.
25149 * include/regex.h: Likewise.
25150 * include/sched.h: Likewise.
25151 * include/search.h: Likewise.
25152 * include/setjmp.h: Likewise.
25153 * include/signal.h: Likewise.
25154 * include/stdio.h: Likewise.
25155 * include/stdlib.h: Likewise.
25156 * include/string.h: Likewise.
25157 * include/sys/cdefs.h: Likewise.
25158 * include/sys/mman.h: Likewise.
25159 * include/sys/msg.h: Likewise.
25160 * include/sys/resource.h: Likewise.
25161 * include/sys/select.h: Likewise.
25162 * include/sys/socket.h: Likewise.
25163 * include/sys/stat.h: Likewise.
25164 * include/sys/statvfs.h: Likewise.
25165 * include/sys/time.h: Likewise.
25166 * include/sys/times.h: Likewise.
25167 * include/sys/uio.h: Likewise.
25168 * include/sys/utsname.h: Likewise.
25169 * include/sys/wait.h: Likewise.
25170 * include/termios.h: Likewise.
25171 * include/time.h: Likewise.
25172 * include/ulimit.h: Likewise.
25173 * include/unistd.h: Likewise.
25174 * include/utime.h: Likewise.
25175 * include/wchar.h: Likewise.
25176 * include/wctype.h: Likewise.
25177 * include/wordexp.h: Likewise.
25178
25179 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25180
7a270350
UD
25181 * time/time.h: TIME_UTC must be a macro.
25182 Make timespec_get available for ISO C11 only as well.
25183
7724defc
UD
251842012-02-24 Ulrich Drepper <drepper@gmail.com>
25185
25186 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25187 Reported by Peng Haitao <penght@cn.fujitsu.com>.
25188
6b1d1d46
JM
251892012-02-24 Joseph Myers <joseph@codesourcery.com>
25190
25191 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 25192
0f8bbd69
JM
251932012-02-24 Joseph Myers <joseph@codesourcery.com>
25194
25195 * manual/texinfo.tex: Update to version 2012-01-19.16.
25196
66ab80bc
JM
251972012-02-24 Joseph Myers <joseph@codesourcery.com>
25198
25199 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25200
74981cc5
RM
252012012-02-24 Roland McGrath <roland@hack.frob.com>
25202
ee968201
RM
25203 [BZ #13738]
25204 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25205 * manual/fdl-1.3.texi: New file.
25206 * manual/fdl-1.1.texi: File removed.
25207
74981cc5
RM
25208 [BZ #13738]
25209 * manual/libc.texinfo (FDL_VERSION): New @set.
25210 Use it for mention of FDL in cover text.
25211 (Documentation License): Use it in @include file name.
25212
7bb764bc
JM
252132012-02-22 Joseph Myers <joseph@codesourcery.com>
25214 Roland McGrath <roland@hack.frob.com>
25215
25216 [BZ #5461]
25217 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25218 not LONG_LONG_MAX and LONG_LONG_MIN.
25219 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25220 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
25221 name.
25222 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25223
6cbeae47
JM
252242012-02-22 Joseph Myers <joseph@codesourcery.com>
25225
25226 [BZ #2547]
25227 [BZ #11365]
25228 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25229 manipulate bits before adding and subtracting TWO23[sx].
25230 * math/libm-test.inc (nearbyint_test): Add more tests.
25231
fe45ce09
JM
252322012-02-22 Joseph Myers <joseph@codesourcery.com>
25233
25234 [BZ #2548]
25235 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25236 bits before adding and subtracting TWO23[sx].
25237 * math/libm-test.inc (rint_test): Add more tests.
25238 (rint_test_tonearest): Likewise.
25239 (rint_test_towardzero): Likewise.
25240 (rint_test_downward): Likewise.
25241 (rint_test_upward: Likewise.
25242
ff3b3d82
JM
252432012-02-22 Joseph Myers <joseph@codesourcery.com>
25244
25245 [BZ #10110]
25246 * include/stdc-predef.h: New file. Extracted from features.h.
25247 * include/features.h: Include stdc-predef.h.
25248 * Makefile (headers): Add stdc-predef.h.
25249 * CONFORMANCE (Compiler limitations): Update.
25250
ef0aab35
JM
252512012-02-22 Joseph Myers <joseph@codesourcery.com>
25252
25253 * manual/libc.texinfo (VERSION, UPDATED): Revert.
25254
58639409
DM
252552012-02-21 David S. Miller <davem@davemloft.net>
25256
25257 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25258 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25259
c0e70b25
DM
252602012-02-20 David S. Miller <davem@davemloft.net>
25261
25262 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25263 using a normal save/restore sequence, rather than allocating a
25264 dummy stack frame just to store a frame pointer and restore.
25265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25266
fb06851d
JM
252672012-02-21 Joseph Myers <joseph@codesourcery.com>
25268
25269 * manual/install.texi: Fix stray word in line-wrapped comment.
25270
7a8b71c3
DM
252712012-02-20 David S. Miller <davem@davemloft.net>
25272
d510c123
DM
25273 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25274 both binutils and gcc support GOTDATA.
25275
0722d7c2
DM
25276 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25277 "rd %pc" in the PIC register setup sequences.
25278
3d2b3019
DM
25279 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25280 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25281 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25282 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25283 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25284 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25286 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25288 (SYSCALL_ERROR_HANDLER): Likewise.
25289 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25290 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25292 (SYSCALL_ERROR_HANDLER): Likewise.
25293
c80098a9
DM
25294 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25295 (HAVE_GCC_GOTDATA): New.
25296 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25297 relocation support in both binutils and gcc.
25298 * sysdeps/sparc/elf/configure: Regenerate.
25299
3a2545a0
DM
25300 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25301 * sysdeps/sparc/sparc32/elf/configure: Delete.
25302 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25303 * sysdeps/sparc/sparc64/elf/configure: Delete.
25304 * sysdeps/sparc/elf/configure.in: New file.
25305 * sysdeps/sparc/elf/configure: Generate.
25306
7a8b71c3
DM
25307 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25308 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25309 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25310 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25311 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25312
f1e86fca
JM
253132012-02-21 Joseph Myers <joseph@codesourcery.com>
25314
25315 * manual/install.texi: Do not mention specific glibc version
25316 numbers.
25317 * manual/libc.texinfo (VERSION, UPDATED): Update.
25318 (@copying): Use @copyright{} and range of years.
25319
0e7dfaef
JM
253202012-02-21 Joseph Myers <joseph@codesourcery.com>
25321
25322 [BZ #13695]
25323 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25324 [crti.S not in sysdirs] (generated): Do not append.
25325 [crti.S not in sysdirs] (omit-deps): Likewise.
25326 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25327 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25328 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25329 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25330 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25331 Likewise.
25332 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25333 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25334 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25335 * csu/defs.awk: Remove file.
25336 * sysdeps/generic/initfini.c: Likewise.
25337 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25338 variable.
25339 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25340 Likewise.
25341
599af3ca
JM
253422012-02-20 Joseph Myers <joseph@codesourcery.com>
25343
25344 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25345 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25346 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25347 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25348 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25349 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25350 <bits/epoll.h>.
25351 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25352 (__EPOLL_PACKED): Define to empty if not defined by
25353 <bits/epoll.h>.
25354 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25356 bits/epoll.h.
25357
0e499750
JM
253582012-02-20 Joseph Myers <joseph@codesourcery.com>
25359
25360 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25361 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25362 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25363 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25364 <bits/timerfd.h>.
25365 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25367 bits/timerfd.h.
25368
5ad91f6e
JM
253692012-02-20 Joseph Myers <joseph@codesourcery.com>
25370
25371 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25372 in C locale.
25373 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25374 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25375 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25377
06b99b02
AJ
253782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
25379
25380 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25381 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25382
7638c0fd
AS
253832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
25384
25385 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25386 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25387 defined.
25388 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25389 Likewise.
25390 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25391 entry for 2.16.
25392
92221550
AJ
253932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
25394
25395 * math/w_acos.c: Use non-signaling floating-point comparisons.
25396 * math/w_acosf.c: Likewise.
25397 * math/w_acosh.c: Likewise.
25398 * math/w_acoshf.c: Likewise.
25399 * math/w_acoshl.c: Likewise.
25400 * math/w_acosl.c: Likewise.
25401 * math/w_asin.c: Likewise.
25402 * math/w_asinf.c: Likewise.
25403 * math/w_asinl.c: Likewise.
25404 * math/w_atanh.c: Likewise.
25405 * math/w_atanhf.c: Likewise.
25406 * math/w_atanhl.c: Likewise.
25407 * math/w_exp2.c: Likewise.
25408 * math/w_exp2f.c: Likewise.
25409 * math/w_exp2l.c: Likewise.
25410 * math/w_j0.c: Likewise.
25411 * math/w_j0f.c: Likewise.
25412 * math/w_j0l.c: Likewise.
25413 * math/w_j1.c: Likewise.
25414 * math/w_j1f.c: Likewise.
25415 * math/w_j1l.c: Likewise.
25416 * math/w_jn.c: Likewise.
25417 * math/w_jnf.c: Likewise.
25418 * math/w_log.c: Likewise.
25419 * math/w_log10.c: Likewise.
25420 * math/w_log10f.c: Likewise.
25421 * math/w_log10l.c: Likewise.
25422 * math/w_log2.c: Likewise.
25423 * math/w_log2f.c: Likewise.
25424 * math/w_log2l.c: Likewise.
25425 * math/w_logf.c: Likewise.
25426 * math/w_logl.c: Likewise.
25427 * math/w_sqrt.c: Likewise.
25428 * math/w_sqrtf.c: Likewise.
25429 * math/w_sqrtl.c: Likewise.
25430 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25431 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25432 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25433 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25434 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25435
ebaf36eb
JM
254362012-02-19 Joseph Myers <joseph@codesourcery.com>
25437
25438 [BZ #9739]
25439 * manual/string.texi (strnlen): Use correct parameter name in
25440 equivalent expression.
25441
71c254a6
JM
254422012-02-19 Joseph Myers <joseph@codesourcery.com>
25443
25444 [BZ #11174]
25445 * manual/users.texi (seteuid): Consistently use neweuid for
25446 argument name.
25447
16d2c631
JM
254482012-02-19 Joseph Myers <joseph@codesourcery.com>
25449
25450 [BZ #13704]
25451 * manual/nss.texi (Services in the NSS configuration): Correct
25452 list of services in example configuration file.
25453
cd837b09
NB
254542012-02-19 Nick Bowler <nbowler@draconx.ca>
25455
25456 [BZ #11322]
25457 * manual/arith.texi: Remove statements about negative zero
25458 behaving identically to zero.
25459
02c4bbad
JM
254602012-02-18 Joseph Myers <joseph@codesourcery.com>
25461
25462 [BZ #5993]
25463 * manual/install.texi: Do not document upgrading from libc5.
25464
366842e7
JM
254652012-02-18 Joseph Myers <joseph@codesourcery.com>
25466
25467 [BZ #4596]
25468 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25469
dd54084d
DM
254702012-02-18 David S. Miller <davem@davemloft.net>
25471
25472 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25473 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25474 %o7 across the call.
25475 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25476 instead.
25477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25478 SETUP_PIC_REG_LEAF.
25479 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25480 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25481 * sysdeps/sparc/crtn.S: Likewise.
25482
2bcc53a3
UD
254832012-02-17 Ulrich Drepper <drepper@gmail.com>
25484
25485 * aout/Makefile: Remove.
25486
09c093b5
RK
254872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
25488
25489 [BZ #13058]
25490 * manual/examples/argp-ex1.c (main): Format definition in GNU
25491 style.
25492 * manual/examples/argp-ex2.c (main): Likewise.
25493 * manual/examples/argp-ex3.c (main): Likewise.
25494 * manual/examples/argp-ex4.c (main): Likewise.
25495 * manual/examples/longopt.c (main): Use new-style prototype
25496 definition.
25497 * manual/examples/strncat.c (main): Specify return type and use
25498 (void) for arguments.
25499 * manual/examples/subopt.c (main): Use char **argv argument.
25500
2ee633a2
JM
255012012-02-17 Joseph Myers <joseph@codesourcery.com>
25502
25503 [BZ #5077]
25504 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25505 rounding modes.
25506
0520adde
FB
255072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
25508
25509 [BZ #6907]
25510 * manual/string.texi (strchr): Change when strchrnul is
25511 recommended.
25512
3f4081cd
DGM
255132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
25514
25515 [BZ #174]
25516 * manual/locale.texi (setlocale): Document LOCPATH.
25517
d1b10e78
JM
255182012-02-17 Joseph Myers <joseph@codesourcery.com>
25519
25520 [BZ #10210]
25521 * manual/process.texi (execle): Move @dots{} before last argument.
25522
79c6869c
PB
255232012-02-17 Paul Bolle <pebolle@tiscali.nl>
25524
25525 [BZ #12047]
25526 * manual/charset.texi (Generic Charset Conversion): Fix typo
25527 (LC_TYPE -> LC_CTYPE).
25528
cc6e48bc
NB
255292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
25530
25531 [BZ #5805]
25532 * manual/arith.texi (scalbn): Use @var{} on parameter names.
25533 (scalbnf): Likewise.
25534 (scalbnl): Likewise.
25535 (scalbln): Likewise.
25536 (scalblnf): Likewise.
25537 (scalblnl): Likewise.
25538 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25539 (vwarnx): Likewise.
25540 (verr): Likewise.
25541 (verrx): Likewise.
25542 * manual/filesys.texi (telldir): Use braces around return type.
25543 * manual/llio.texi (mmap): Add space after comma.
25544 (mmap64): Likewise.
25545 * manual/math.texi (jn): Use @var{} on parameter names.
25546 (jnf): Likewise.
25547 (jnl): Likewise.
25548 (yn): Likewise.
25549 (ynf): Likewise.
25550 (ynl): Likewise.
25551 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25552 line.
25553 * manual/resource.texi (ulimit): Use @dots{} instead of literal
25554 "...".
25555 (sched_get_priority_min): Remove semicolon on @deftypefun line.
25556 (sched_get_priority_max): Likewise.
25557 * manual/signal.texi (sigvec): Add space after comma.
25558 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25559 names.
25560 (if_indextoname): Likewise.
25561 (if_freenameindex): Likewise.
25562 (sendto): Use ',' instead of '.' in prototype.
25563 * manual/startup.texi (syscall): Use @dots{} instead of literal
25564 "...".
25565 * manual/stdio.texi (__fpending): Separate initial words of
25566 paragraph from @deftypefun line.
25567 * manual/syslog.texi (syslog): Use @dots{} instead of literal
25568 "...".
25569 (vsyslog): Use @var{} on parameter names.
25570 * manual/terminal.texi (stty): Use @var{} on parameter names.
25571 * manual/users.texi (getutmp): Use @var{} on parameter names.
25572 (getutmpx): Likewise.
25573
5b23062f
JM
255742012-02-17 Joseph Myers <joseph@codesourcery.com>
25575
25576 [BZ #6884]
25577 * manual/stdio.texi (fopen): Fix typos in description of
25578 ",ccs=STRING".
25579
8dee4833
AJ
255802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
25581
25582 [BZ #4026]
25583 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25584 get clock_id definition.
25585
9078ce93
TS
255862012-02-17 Thomas Schwinge <thomas@schwinge.name>
25587
25588 [BZ #4822]
25589 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25590 (madvise): Cast every argument to void on its own.
25591
3835c55f
JM
255922012-02-17 Joseph Myers <joseph@codesourcery.com>
25593
25594 [BZ #9902]
25595 * manual/startup.texi (Exit Status): Fix typo.
25596
35c47e37
JM
255972012-02-17 Joseph Myers <joseph@codesourcery.com>
25598
25599 [BZ #10140]
25600 * manual/examples/argp-ex1.c: Include <stdlib.h>.
25601 * manual/examples/argp-ex2.c: Likewise.
25602 * manual/examples/argp-ex3.c: Likewise.
25603
e3b69ca7
RH
256042012-02-16 Richard Henderson <rth@redhat.com>
25605
25606 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25607 * sysdeps/s390/s390-32/initfini.c: Remove.
25608 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25609 * sysdeps/s390/s390-64/initfini.c: Remove.
25610
df83af67
KK
256112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25612
25613 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25614 compiler output for sysdeps/generic/initfini.c.
25615 * sysdeps/sh/elf/initfini.c: Remove file.
25616
f63f3380
DM
256172012-02-16 David S. Miller <davem@davemloft.net>
25618
fb59b3a4
DM
25619 [BZ #11494]
25620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25621
f63f3380
DM
25622 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25623 * sysdeps/sparc/crti.S: New file.
25624 * sysdeps/sparc/crtn.S: New file.
25625 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25626 * sysdeps/sparc/sparc64/Makefile: Likewise.
25627
df6a4a4a
MF
256282012-02-15 Mike Frysinger <vapier@gentoo.org>
25629
6dd8f3dc 25630 [BZ #3335]
df6a4a4a
MF
25631 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25632
1cac7236
RM
256332012-02-15 Roland McGrath <roland@hack.frob.com>
25634
d2c736f8
RM
25635 [BZ #4822]
25636 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25637
1cac7236
RM
25638 * mach/devstream.c (cookie_io_functions_t): Macro removed.
25639 (write, read, close): Likewise.
25640 Patch by Aurelien Jarno <aurelien@aurel32.net>.
25641
8e475601
JM
256422012-02-15 Joseph Myers <joseph@codesourcery.com>
25643
25644 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25645 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25646 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25647 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25648 <bits/signalfd.h>.
25649 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25651 bits/signalfd.h.
25652
ed656b40
MP
256532012-02-14 Marek Polacek <polacek@redhat.com>
25654
25655 * sysdeps/x86_64/crti.S: New file.
25656 * sysdeps/x86_64/crtn.S: New file.
25657 * sysdeps/x86_64/elf/initfini.c: Remove file.
25658
2a979d3a
JM
256592012-02-13 Joseph Myers <joseph@codesourcery.com>
25660
25661 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25662 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25663 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25664 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25665 <bits/inotify.h>.
25666 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25668 bits/inotify.h.
25669
2a418ac3
JM
256702012-02-13 Joseph Myers <joseph@codesourcery.com>
25671
25672 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25673 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25674 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25675 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25676 <bits/eventfd.h>.
25677 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25679 bits/eventfd.h.
25680
fb779be7
TS
256812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
25682
e19e83c5
RM
25683 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25684 __feraiseexcept instead of feraiseexcept.
7c35ffed 25685
fb779be7
TS
25686 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25687 nanosleep invocations.
25688 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25689 strings, and add error checking for a nanosleep invocations.
25690
59ba27a6
PE
256912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
25692
25693 Replace FSF snail mail address with URLs, as per GNU coding standards.
25694 Most of the snail mail addresses were wrong anyway, and omitting
25695 them makes the source code easier to maintain. Almost all of the
25696 changes are to license notices and to locale LC_IDENTIFICATION
25697 addresses, except for this one:
25698 * manual/libc.texinfo: In "Published by", give the FSF's URL,
25699 not its snail mail address.
25700
57b957eb
RH
257012012-02-09 Richard Henderson <rth@twiddle.net>
25702
af850b1c
RH
25703 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25704 of kernel-features.h.
25705
57b957eb
RH
25706 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25707
6b73181a
MP
257082012-02-08 Marek Polacek <polacek@redhat.com>
25709
25710 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25711 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25712 * sysdeps/gnu/_G_config.h: Likewise.
25713 * sysdeps/generic/_G_config.h: Likewise.
25714
26ecc33a
AS
257152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
25716
6c6dbc63
AS
25717 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25718 tests.
25719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25720
e216c012
AS
25721 * sysdeps/powerpc/powerpc32/crti.S: New file.
25722 * sysdeps/powerpc/powerpc32/crtn.S: New file.
25723 * sysdeps/powerpc/powerpc64/crti.S: New file.
25724 * sysdeps/powerpc/powerpc64/crtn.S: New file.
25725
26ecc33a
AS
25726 * Makeconfig (have-initfini): Don't set.
25727 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25728 * configure.in (nopic_initfini): Don't substitute.
25729 * config.h.in (HAVE_INITFINI): Don't #undef.
25730 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25731 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25732
3add8e13
JM
257332012-02-08 Joseph Myers <joseph@codesourcery.com>
25734
25735 Support crti.S and crtn.S provided directly by architectures.
25736 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25737 [crti.S in sysdirs] (omit-deps): Likewise.
25738 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25739 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25740 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25741 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25742 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25743 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25744 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25745 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25746 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25747 compiler output for sysdeps/generic/initfini.c.
25748 * sysdeps/i386/elf/Makefile: Remove file.
25749 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25750
a22f12b4
MP
257512012-02-07 Marek Polacek <polacek@redhat.com>
25752
25753 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25754 * sysdeps/gnu/_G_config.h: Likewise.
25755 * sysdeps/mach/hurd/_G_config.h: Likewise.
25756
148cf100
MP
257572012-02-07 Marek Polacek <polacek@redhat.com>
25758
25759 * math/Makefile (tests): Add tst-CMPLX2.
25760 * math/tst-CMPLX2.c: New file.
25761
cfdc0dd7
AS
257622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
25763
84ba42c4
AS
25764 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25765
cfdc0dd7
AS
25766 * math/libm-test.inc (jn_test): Add missing L suffix.
25767
622c86f4
MP
257682012-02-06 Marek Polacek <polacek@redhat.com>
25769
25770 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25771 * sysdeps/i386/fpu/e_powf.S: Likewise.
25772 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25773 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25774 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25775 * sysdeps/i386/fpu/e_pow.S: Likewise.
25776 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25777 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25778 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25779 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25780 * sysdeps/i386/fpu/e_log2.S: Likewise.
25781 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25782 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25783 * sysdeps/i386/fpu/e_powl.S: Likewise.
25784 * sysdeps/i386/fpu/s_log1p.S: Likewise.
25785 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25786 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25787 * sysdeps/i386/fpu/e_logl.S: Likewise.
25788 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25789 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25790 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25791 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25792 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25793 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25794 * sysdeps/i386/fpu/e_log.S: Likewise.
25795 * sysdeps/i386/fpu/s_cexp.S: Likewise.
25796 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25797 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25798 * sysdeps/i386/fpu/e_logf.S: Likewise.
25799 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25800 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25801 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25802 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25803 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25804 * sysdeps/i386/fpu/e_log10.S: Likewise.
25805 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25806 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25807 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25808 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25809 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25810 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25811 * sysdeps/i386/asm-syntax.h: Likewise.
25812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25813 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25814 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25815 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25816 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25817 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25818 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25819 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25820 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25821 * sysdeps/powerpc/sysdep.h: Likewise.
25822 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25823 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25824
d4a54ac6
JM
258252012-02-06 Joseph Myers <joseph@codesourcery.com>
25826
25827 [BZ #411]
25828 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25829
314054ea
JM
258302012-02-06 Joseph Myers <joseph@codesourcery.com>
25831
25832 * sysdeps/i386/sysdep.h: Include <features.h>.
25833 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25834 version.
25835
d8e0ca50
JM
258362012-02-05 Joseph Myers <joseph@codesourcery.com>
25837
25838 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25839 Define.
25840 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25841 LOAD_PIC_REG_STR.
25842
b1da7dd9
JM
258432012-02-03 Joseph Myers <joseph@codesourcery.com>
25844
25845 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25846 (SETUP_PIC_REG): Use GET_PC_THUNK.
25847 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25848 macro.
25849
9a1d9254
JM
258502012-02-03 Joseph Myers <joseph@codesourcery.com>
25851
25852 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25853 for non-PIC compilation.
25854 (SETUP_PIC_REG): Add .p2align directive.
25855 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25856 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25857 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25858 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25859 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25860 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25861 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25862 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25863 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25864 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25865 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25866 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25867 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25868 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25869 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25870 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25871 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25872 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25873 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25874 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25875 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25876 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25877 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25878 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25879 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25881 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25882 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25883 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25884 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25885 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25886 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25887 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25888 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25889 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25890 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25891 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25892 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25893 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25894 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25895 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25896
65dc3b75
JM
258972012-02-03 Joseph Myers <joseph@codesourcery.com>
25898
25899 * math/tst-CMPLX.c: Include <stdio.h>.
25900
d55bf177
JM
259012012-01-31 Joseph Myers <joseph@codesourcery.com>
25902
25903 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25904 float.
25905 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25906 * sysdeps/sparc/bits/mathdef.h: Likewise.
25907
69db4f8f
MP
259082012-01-31 Marek Polacek <polacek@redhat.com>
25909
25910 * libio/libio.h: Don't define _PARAMS.
25911 * locale/programs/config.h: Don't define PARAMS.
25912 * stdlib/strtol_l.c: Likewise.
25913 (__strtol_l): Remove PARAMS from the prototype.
25914
41b81892
UD
259152012-01-31 Ulrich Drepper <drepper@gmail.com>
25916
3b49edc0
UD
25917 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
25918 names. Just use the correct names. Remove unnecessary wrapper
25919 functions.
25920 * malloc/arena.c: Likewise.
25921 * malloc/hooks.c: Likewise.
25922
41b81892
UD
25923 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25924 ARENA_TEST says not to. Simplify test for creation of a new arena.
25925 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25926
27a25b6e
UD
259272012-01-30 Ulrich Drepper <drepper@gmail.com>
25928
25929 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25930 into tail calls.
25931 (update_get_addr): New function.
25932 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25933 GET_ADDR_MODULE parameter.
25934
c8a89e7d
JM
259352012-01-30 Joseph Myers <joseph@codesourcery.com>
25936
25937 * crypt/cert.c: Remove __STDC__ conditionals.
25938 * crypt/crypt-entry.c: Likewise.
25939 * crypt/crypt_util.c: Likewise.
25940 * libio/filedoalloc.c: Likewise.
25941 * libio/fileops.c: Likewise.
25942 * libio/genops.c: Likewise.
25943 * libio/iofclose.c: Likewise.
25944 * libio/iofdopen.c: Likewise.
25945 * libio/iofopen.c: Likewise.
25946 * libio/iofopen64.c: Likewise.
25947 * libio/iogetdelim.c: Likewise.
25948 * libio/iopopen.c: Likewise.
25949 * libio/obprintf.c: Likewise.
25950 * libio/oldfileops.c: Likewise.
25951 * libio/oldiofclose.c: Likewise.
25952 * libio/oldiofdopen.c: Likewise.
25953 * libio/oldiofopen.c: Likewise.
25954 * libio/oldiopopen.c: Likewise.
25955 * libio/wfiledoalloc.c: Likewise.
25956 * libio/wgenops.c: Likewise.
25957 * locale/programs/xmalloc.c: Likewise.
25958 * misc/syslog.c: Likewise.
25959 * stdio-common/xbug.c: Likewise.
25960 * string/memchr.c: Likewise.
25961 * string/memcmp.c: Likewise.
25962 * string/memrchr.c: Likewise.
25963 * string/rawmemchr.c: Likewise.
25964 * sysdeps/posix/getcwd.c: Likewise.
25965 * time/strftime_l.c: Likewise.
25966
3b100462
JM
259672012-01-30 Joseph Myers <joseph@codesourcery.com>
25968
25969 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
25970 * config.make.in (config-cflags-sse2avx): Define.
25971 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25972 Fix typo.
25973
607998af
CM
259742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
25975
25976 * scripts/config.guess: Update from upstream config git repository.
25977 * scripts/config.sub: Likewise.
25978
3601428f
CM
259792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
25980
3ac8b282
CM
25981 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25982 (EM_NUM): Update.
25983 (R_TILEPRO_*, R_TILEGX_*): New macros.
25984
e034841e
CM
25985 * scripts/firstversions.awk: Fix bug in version range handling.
25986
540d7568
CM
25987 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25988
3601428f
CM
25989 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25990
463de862
CM
25991 * include/sys/epoll.h: New file.
25992 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25993 libc_hidden_def.
25994
73139a76
UD
259952012-01-28 Ulrich Drepper <drepper@gmail.com>
25996
96bc5b45
UD
25997 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25998 Avoid unnecessary __WORDSIZE == 64 test.
25999 (fmaxf): Use VEX format if possible.
26000 (fmax): Likewise.
26001 (fminf): Likewise.
26002 (fmin): Likewise.
26003
56f6f6a2
UD
26004 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26005 * math/math_private.h: Remove libc_fegetround* and
26006 libc_fesetround*.
26007 * sysdeps/i386/configure.in: Check for -msse2avx.
26008 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26009 also if SSE2AVX is defined.
26010 Remove libc_fegetround* and libc_fesetround*.
26011 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26012 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
26013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26014 of HAS_YMM_USABLE.
26015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26016 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26018 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26019 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26020
73139a76
UD
26021 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26022
d73f93a4
AZ
260232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26024
26025 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26026 size is not set.
26027 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26028
6ee65ed6
UD
260292012-01-27 Ulrich Drepper <drepper@gmail.com>
26030
26031 [BZ #13618]
26032 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26033 relocation.
26034 * Makeconfig (libm): Define.
26035 * elf/Makefile: Add rules to build and run tst-relsort1.
26036 * elf/tst-relsort1.c: New file.
26037 * elf/tst-relsort1mod1.c: New file.
26038 * elf/tst-relsort1mod2.c: New file.
26039
8db21882
JM
260402012-01-27 Joseph Myers <joseph@codesourcery.com>
26041
26042 * math/s_ldexp.c: Remove __STDC__ conditionals.
26043 * math/s_ldexpf.c: Likewise.
26044 * math/s_ldexpl.c: Likewise.
26045 * math/s_nextafter.c: Likewise.
26046 * math/s_nexttowardf.c: Likewise.
26047 * math/s_significand.c: Likewise.
26048 * math/s_significandf.c: Likewise.
26049 * math/s_significandl.c: Likewise.
26050 * math/w_jnl.c: Likewise.
26051 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26052 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26053 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26054 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26055 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26056 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26057 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26058 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26060 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26061 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26063 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26070 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26071 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26072 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26073 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26074 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26075 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26076 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26077 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26078 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26079 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26080 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26081 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26082 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26083 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26084 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26085 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26086 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26087 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26088 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26089 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26090 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26091 * sysdeps/ieee754/k_standard.c: Likewise.
26092 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26094 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26095 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26096 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26097 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26098 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26099 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26100 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26101 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26102 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26103 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26104 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26105 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26106 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26107 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26108 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26109 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26110 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26111 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26112 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26113 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26114 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26115 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26116 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26117 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26119 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26121 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26122 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26123 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26124 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26125 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26126 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26127 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26128 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26129 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26130 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26131 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26132 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26133 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26134 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26135 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26136 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26137 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26138 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26139 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26140 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26141 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26142 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26144 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26145 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26146 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26147 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26148 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26149 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26150 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26151 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26152 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26153 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26154 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26155 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26156 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26157 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26158 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26159 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26160 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26161 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26162 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26163 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26164 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26165 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26166 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26167 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26168 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26169 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26170 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26171 * sysdeps/ieee754/s_matherr.c: Likewise.
26172 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26173 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26175 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26176
965a54a4
JM
261772012-01-26 Joseph Myers <joseph@codesourcery.com>
26178
26179 * crypt/md5.h: Remove __STDC__ conditionals.
26180 * libio/libioP.h: Likewise.
26181 * locale/programs/config.h: Likewise.
26182 * sysdeps/generic/sysdep.h: Likewise.
26183 * sysdeps/i386/asm-syntax.h: Likewise.
26184 * sysdeps/s390/asm-syntax.h: Likewise.
26185 * sysdeps/unix/sysdep.h: Likewise.
26186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26188
7071ad79
JM
261892012-01-26 Joseph Myers <joseph@codesourcery.com>
26190
26191 * libio/libio.h: Remove __STDC__ conditionals.
26192 * malloc/obstack.h: Likewise.
26193 * math/complex.h: Likewise.
26194 * math/math.h: Likewise.
26195 * sysdeps/generic/_G_config.h: Likewise.
26196 * sysdeps/gnu/_G_config.h: Likewise.
26197 * sysdeps/mach/hurd/_G_config.h: Likewise.
26198 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26199 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26200 * sysdeps/sparc/bits/mathdef.h: Likewise.
26201
afc5ed09
UD
262022012-01-26 Ulrich Drepper <drepper@gmail.com>
26203
26204 [BZ #13583]
26205 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 26206 Clean up HAS_* macros.
afc5ed09 26207 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
26208 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26209 possible.
26210 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26211 HAS_AVX.
26212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26213 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26214 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 26217
bdb6de1d
JM
262182012-01-25 Joseph Myers <joseph@codesourcery.com>
26219
26220 * elf/tst-unique3.cc (gets): Remove declaration.
26221 * elf/tst-unique3lib.cc (gets): Likewise.
26222 * elf/tst-unique3lib2.cc (gets): Likewise.
26223 * elf/tst-unique4.cc (gets): Likewise.
26224
b15549e6
UD
262252012-01-24 Ulrich Drepper <drepper@gmail.com>
26226
26227 * include/stdio.h: Add C++ protection. Add gets declarations and
26228 definitions.
26229 * debug/tst-chk1.c: Don't declare gets here.
26230 * stdio-common/tst-gets.c: Likewise.
26231
a037381f
JM
262322012-01-24 Joseph Myers <joseph@codesourcery.com>
26233
26234 * posix/glob: Remove directory.
26235
f1d4aa75
JM
262362012-01-24 Joseph Myers <joseph@codesourcery.com>
26237
26238 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26239
81c0c964
PT
262402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
26241
26242 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26243 of the non-standard EPFNOSUPPORT.
26244
0ea698ae
ST
262452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
26246
26247 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26248 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26249 ANYWHERE set to 1 only on KERN_NO_SPACE error.
26250
d220b117
UD
262512012-01-21 Ulrich Drepper <drepper@gmail.com>
26252
26253 * wcsmbs/uchar.h: Test __STDC_VERSION__.
26254
3e1aa84e
UD
262552012-01-20 Ulrich Drepper <drepper@gmail.com>
26256
26257 * nscd/aicache.c (addhstaiX): Do not cache negative results of
26258 transient errors.
26259 * nscd/grpcache.c (cache_addgr): Likewise.
26260 * nscd/hstcache.c (cache_addhst): Likewise.
26261 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26262 * nscd/pwdcache.c (cache_addpw): Likewise.
26263 * nscd/servicescache.c (cache_addserv): Likewise.
26264
400aa020
UD
262652012-01-16 Ulrich Drepper <drepper@gmail.com>
26266
d77e7869
UD
26267 * malloc/malloc.c: Various cleanups.
26268 * malloc/hooks.c: Likewise.
26269
400aa020
UD
26270 * stdlib/Makefile (tests): Add bug-fmtmsg1.
26271 * stdlib/bug-fmtmsg1.c: New file.
26272
26273 * stdlib/fmtmsg.c (init): Add missing unlock.
26274 Patch by Peng Haitao <penght@cn.fujitsu.com>.
26275
e0a309cf
MP
262762012-01-12 Marek Polacek <polacek@redhat.com>
26277
26278 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26279 and _GNU_SOURCE.
26280
929d11c7
WS
262812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
26282
26283 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26284 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26285 macro to ensure uniqueness of label name.
26286 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26287 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26288
41d0e869
UD
262892012-01-11 Ulrich Drepper <drepper@gmail.com>
26290
0cc5ed3b
UD
26291 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26292
41d0e869
UD
26293 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26294 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26295 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26297
a47a831a
UD
262982012-01-10 Ulrich Drepper <drepper@gmail.com>
26299
daa891c0
UD
26300 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26301
26302 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26303 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26304 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26305
e58ef0f2
UD
26306 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26307
a47a831a 26308 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
26309 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26310 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 26311 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
26312
26313 * math/bits/math-finite.h: Add ldexp support.
26314
a0bfc9c7
MP
263152012-01-10 Marek Polacek <polacek@redhat.com>
26316
26317 * locale/programs/localedef.h (show_archive_content): Add noreturn
26318 attribute.
26319
d6e97a1d
UD
263202012-01-09 Ulrich Drepper <drepper@gmail.com>
26321
26322 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26323
d5835c26
UD
263242012-01-08 Ulrich Drepper <drepper@gmail.com>
26325
e5f484c6
UD
26326 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26327
d5835c26
UD
26328 * io/Makefile (headers): Add bits/poll2.h.
26329
d1f741e9
WS
263302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
26331
26332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26333 typo #include statement.
26334
ec09c1c4
UD
263352012-01-08 Ulrich Drepper <drepper@gmail.com>
26336
26337 * include/sys/cdefs.h: Define __attribute_alloc_size.
26338 * catgets/gencat.c: Add alloc_size attribute and apply consistently
26339 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26340 * elf/pldd.c: Likewise.
26341 * iconv/iconv_charmap.c: Likewise.
26342 * iconv/iconvconfig.c: Likewise.
26343 * iconv/strtab.c: Likewise.
26344 * locale/programs/locale.c: Likewise.
26345 * locale/programs/localedef.h: Likewise.
26346 * locale/programs/simple-hash.c: Likewise.
26347 * nscd/nscd.h: Likewise.
26348 * nss/makedb.c: Likewise.
26349 * sysdeps/generic/ldconfig.h: Likewise.
26350 * locale/programs/localedef.c: Remove xmalloc prototype.
26351 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26352
20b38e03
PP
263532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26354
26355 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26356 appropriate.
26357
a0da5fe1
UD
263582012-01-08 Ulrich Drepper <drepper@gmail.com>
26359
1d5a644a 26360 * math/Makefile (tests): Add tst-CMPLX.
669704fd 26361 * math/tst-CMPLX.c: New file.
1d5a644a 26362
8784a6db
UD
26363 * math/complex.h (CMPLXL): Fix typo.
26364
d9a216c0
UD
26365 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26366 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26367 GLIBC_2.16.
26368 * debug/tst-chk1.c: Add poll and ppoll tests.
26369 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26370 * include/sys/poll.h: Add hidden proto for ppoll.
26371 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26372 * sysdeps/mach/hurd/ppoll.c: Likewise.
26373 * io/ppoll.c: Likewise.
26374 * debug/poll_chk.c: New file.
26375 * debug/ppoll_chk.c: New file.
26376 * include/bits/poll2.h: New file.
26377 * io/bits/poll2.h: New file.
26378
ac097f5c
UD
26379 [BZ #1350]
26380 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26381
2119dcfa
UD
26382 * configure.in: static is always set to yes. Remove.
26383 * config.make.in: Don't set build-static.
26384 * Makeconfig: Remove use of build-static.
26385 * dlfcn/Makefile: Likewise.
26386 * elf/Makefile: Likewise.
26387 * math/Makefile: Likewise.
26388 * misc/Makefile: Likewise.
26389 * nptl/Makefile: Likewise.
26390 * sysdeps/mach/hurd/Makefile: Likewise.
26391
121766a9
UD
26392 * configure.in: PWD_P is not used anymore.
26393 * config.make.in: Remove PWD_P entry.
26394
51a1d39c 26395 * configure.in: Remove last remnants of RANLIB.
8720d066 26396 No need to check for signed size_t anymore.
215f4bdc
UD
26397 Don't set libc_commonpagesize and libc_relro_required here for Alpha
26398 and IA-64.
3857022a 26399 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
26400 * aclocal.m4: Likewise.
26401
d3ed7225
UD
26402 * wcsmbs/mbrtoc16.c: Implement using towc function.
26403 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26404 * wcsmbs/wcsmbsload.c: Likewise.
26405 * iconv/gconv_simple.c: Likewise.
26406 * iconv/gconv_int.h: Likewise.
26407 * iconv/gconv_builtin.h: Likewise.
26408 * iconv/iconv_prog.c: Remove CHAR16 handling.
26409
26410 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26411
26412 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26413
a0da5fe1
UD
26414 * configure.in: Remove --with-elf and --enable-bounded options.
26415 Dont set base_machine for ia64. More non-ELF conditions removed.
26416 Remove testing and setting of leading underscore information.
26417 * config.make.in (build-bounded): Set to no.
26418 * config.h.in: Remove NO_UNDERSCORES entry.
26419 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
26420 them.
26421 * csu/start.c: Remove !NO_UNDERSCORE code.
26422 * locale/localeinfo.h: Likewise.
26423 * sysdeps/generic/machine-gmon.h: Likewise.
26424 * sysdeps/generic/sysdep.h: Likewise.
26425 * sysdeps/i386/sysdep.h: Likewise.
26426 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26427 * sysdeps/mach/sysdep.h: Likewise.
26428 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26429 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26430 * sysdeps/sh/sysdep.h: Likewise.
26431 * sysdeps/sparc/sparc32/alloca.S: Likewise.
26432 * sysdeps/unix/i386/sysdep.S: Likewise.
26433 * sysdeps/unix/sparc/start.c: Likewise.
26434 * sysdeps/unix/sparc/sysdep.S: Likewise.
26435 * sysdeps/unix/sparc/sysdep.h: Likewise.
26436 * sysdeps/unix/start.c: Likewise.
26437 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26438 * sysdeps/x86_64/sysdep.h: Likewise.
26439
df78418a
UD
264402012-01-07 Ulrich Drepper <drepper@gmail.com>
26441
a784e502
UD
26442 [BZ #13553]
26443 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26444 for non-gcc.
26445 * argp/argp-fmtstream.h: Use const instead __const.
26446 * argp/argp.h: Likewise.
26447 * assert/assert.h: Likewise.
26448 * bits/fenv.h: Likewise.
26449 * bits/sched.h: Likewise.
26450 * bits/sigset.h: Likewise.
26451 * bits/sigthread.h: Likewise.
26452 * catgets/nl_types.h: Likewise.
26453 * conform/data/pthread.h-data: Likewise.
26454 * crypt/crypt-private.h: Likewise.
26455 * crypt/crypt.h: Likewise.
26456 * crypt/crypt_util.c: Likewise.
26457 * ctype/ctype.h: Likewise.
26458 * debug/execinfo.h: Likewise.
26459 * debug/mbsnrtowcs_chk.c: Likewise.
26460 * debug/mbsrtowcs_chk.c: Likewise.
26461 * debug/wcsnrtombs_chk.c: Likewise.
26462 * debug/wcsrtombs_chk.c: Likewise.
26463 * debug/wcstombs_chk.c: Likewise.
26464 * dirent/dirent.h: Likewise.
26465 * dlfcn/dlfcn.h: Likewise.
26466 * elf/neededtest4.c: Likewise.
26467 * grp/grp.h: Likewise.
26468 * gshadow/gshadow.h: Likewise.
26469 * iconv/gconv.h: Likewise.
26470 * iconv/gconv_int.h: Likewise.
26471 * iconv/gconv_simple.c: Likewise.
26472 * iconv/iconv.h: Likewise.
26473 * iconv/loop.c: Likewise.
26474 * iconv/skeleton.c: Likewise.
26475 * include/aio.h: Likewise.
26476 * include/aliases.h: Likewise.
26477 * include/argz.h: Likewise.
26478 * include/arpa/inet.h: Likewise.
26479 * include/assert.h: Likewise.
26480 * include/dirent.h: Likewise.
26481 * include/dlfcn.h: Likewise.
26482 * include/execinfo.h: Likewise.
26483 * include/fcntl.h: Likewise.
26484 * include/fenv.h: Likewise.
26485 * include/glob.h: Likewise.
26486 * include/grp.h: Likewise.
26487 * include/libintl.h: Likewise.
26488 * include/mntent.h: Likewise.
26489 * include/netdb.h: Likewise.
26490 * include/pwd.h: Likewise.
26491 * include/rpc/netdb.h: Likewise.
26492 * include/sched.h: Likewise.
26493 * include/search.h: Likewise.
26494 * include/shadow.h: Likewise.
26495 * include/signal.h: Likewise.
26496 * include/stdio.h: Likewise.
26497 * include/stdlib.h: Likewise.
26498 * include/string.h: Likewise.
26499 * include/sys/socket.h: Likewise.
26500 * include/sys/stat.h: Likewise.
26501 * include/sys/statfs.h: Likewise.
26502 * include/sys/statvfs.h: Likewise.
26503 * include/sys/syslog.h: Likewise.
26504 * include/sys/time.h: Likewise.
26505 * include/sys/uio.h: Likewise.
26506 * include/time.h: Likewise.
26507 * include/unistd.h: Likewise.
26508 * include/utmp.h: Likewise.
26509 * include/wchar.h: Likewise.
26510 * include/wctype.h: Likewise.
26511 * inet/aliases.h: Likewise.
26512 * inet/arpa/inet.h: Likewise.
26513 * inet/netinet/ether.h: Likewise.
26514 * inet/netinet/in.h: Likewise.
26515 * intl/libintl.h: Likewise.
26516 * io/bits/fcntl2.h: Likewise.
26517 * io/fcntl.h: Likewise.
26518 * io/ftw.h: Likewise.
26519 * io/sys/poll.h: Likewise.
26520 * io/sys/stat.h: Likewise.
26521 * io/sys/statfs.h: Likewise.
26522 * io/sys/statvfs.h: Likewise.
26523 * io/utime.h: Likewise.
26524 * libio/bits/stdio.h: Likewise.
26525 * libio/bits/stdio2.h: Likewise.
26526 * libio/libio.h: Likewise.
26527 * libio/libioP.h: Likewise.
26528 * libio/stdio.h: Likewise.
26529 * locale/lc-ctype.c: Likewise.
26530 * locale/locale.h: Likewise.
26531 * login/utmp.h: Likewise.
26532 * malloc/arena.c: Likewise.
26533 * malloc/malloc.c: Likewise.
26534 * malloc/malloc.h: Likewise.
26535 * malloc/mcheck.c: Likewise.
26536 * malloc/mtrace.c: Likewise.
26537 * math/bits/mathcalls.h: Likewise.
26538 * math/fenv.h: Likewise.
26539 * math/math_private.h: Likewise.
26540 * misc/bits/error.h: Likewise.
26541 * misc/bits/syslog.h: Likewise.
26542 * misc/err.h: Likewise.
26543 * misc/error.h: Likewise.
26544 * misc/fstab.h: Likewise.
26545 * misc/mntent.h: Likewise.
26546 * misc/regexp.h: Likewise.
26547 * misc/search.h: Likewise.
26548 * misc/sgtty.h: Likewise.
26549 * misc/sys/mman.h: Likewise.
26550 * misc/sys/syslog.h: Likewise.
26551 * misc/sys/uio.h: Likewise.
26552 * misc/sys/xattr.h: Likewise.
26553 * misc/ttyent.h: Likewise.
26554 * nis/rpcsvc/ypclnt.h: Likewise.
26555 * nss/nss.h: Likewise.
26556 * posix/bits/unistd.h: Likewise.
26557 * posix/fnmatch.h: Likewise.
26558 * posix/glob.h: Likewise.
26559 * posix/sched.h: Likewise.
26560 * posix/spawn.h: Likewise.
26561 * posix/sys/wait.h: Likewise.
26562 * posix/unistd.h: Likewise.
26563 * posix/wordexp.h: Likewise.
26564 * pwd/pwd.h: Likewise.
26565 * resolv/netdb.h: Likewise.
26566 * resource/sys/resource.h: Likewise.
26567 * rt/aio.h: Likewise.
26568 * rt/bits/mqueue2.h: Likewise.
26569 * rt/mqueue.h: Likewise.
26570 * shadow/shadow.h: Likewise.
26571 * signal/signal.h: Likewise.
26572 * socket/send.c: Likewise.
26573 * socket/sendto.c: Likewise.
26574 * socket/sys/socket.h: Likewise.
26575 * stdio-common/printf.h: Likewise.
26576 * stdlib/bits/stdlib.h: Likewise.
26577 * stdlib/fmtmsg.h: Likewise.
26578 * stdlib/monetary.h: Likewise.
26579 * stdlib/stdlib.h: Likewise.
26580 * stdlib/ucontext.h: Likewise.
26581 * streams/stropts.h: Likewise.
26582 * string/argz.h: Likewise.
26583 * string/bits/string2.h: Likewise.
26584 * string/string.h: Likewise.
26585 * string/strings.h: Likewise.
26586 * sunrpc/rpc/auth.h: Likewise.
26587 * sunrpc/rpc/auth_des.h: Likewise.
26588 * sunrpc/rpc/clnt.h: Likewise.
26589 * sunrpc/rpc/netdb.h: Likewise.
26590 * sunrpc/rpc/pmap_clnt.h: Likewise.
26591 * sunrpc/rpc/xdr.h: Likewise.
26592 * sysdeps/generic/inttypes.h: Likewise.
26593 * sysdeps/generic/net/if.h: Likewise.
26594 * sysdeps/generic/sys/swap.h: Likewise.
26595 * sysdeps/gnu/net/if.h: Likewise.
26596 * sysdeps/gnu/utmpx.h: Likewise.
26597 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26598 * sysdeps/i386/i486/bits/string.h: Likewise.
26599 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26600 * sysdeps/s390/bits/string.h: Likewise.
26601 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26602 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26603 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26604 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26605 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26606 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26607 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26608 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26609 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26610 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26611 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26612 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26613 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26614 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26615 * sysdeps/unix/sysv/linux/readv.c: Likewise.
26616 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26617 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26619 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26620 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26621 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26622 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26623 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26624 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26625 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26626 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26627 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26628 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26629 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26630 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26631 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26632 * sysvipc/sys/ipc.h: Likewise.
26633 * sysvipc/sys/msg.h: Likewise.
26634 * sysvipc/sys/sem.h: Likewise.
26635 * sysvipc/sys/shm.h: Likewise.
26636 * termios/termios.h: Likewise.
26637 * time/sys/time.h: Likewise.
26638 * time/time.h: Likewise.
26639 * wcsmbs/bits/wchar2.h: Likewise.
26640 * wcsmbs/uchar.h: Likewise.
26641 * wcsmbs/wchar.h: Likewise.
26642 * wctype/wctype.h: Likewise.
26643
0269750c
UD
26644 [BZ #13551]
26645 * Makeconfig: Remove all but ELF support including AIX support.
26646 * Makerules: Likewise.
26647 * config.h.in: Likewise.
26648 * config.make.in: Likewise.
26649 * configure: Likewise.
26650 * configure.in: Likewise.
26651 * csu/Makefile: Likewise.
26652 * csu/version.c: Likewise.
26653 * debug/Makefile: Likewise.
26654 * dlfcn/Makefile: Likewise.
26655 * elf/Makefile: Likewise.
26656 * extra-lib.mk: Likewise.
26657 * iconv/Makefile: Likewise.
26658 * include/libc-symbols.h: Likewise.
26659 * include/shlib-compat.h: Likewise.
26660 * resolv/Makefile: Likewise.
26661 * resolv/res_libc.c: Likewise.
26662 * rt/Makefile: Likewise.
26663 * sysdeps/i386/asm-syntax.h: Likewise.
26664 * sysdeps/i386/sysdep.h: Likewise.
26665 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26666 * sysdeps/mach/sysdep.h: Likewise.
26667 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26668 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26669 * sysdeps/s390/asm-syntax.h: Likewise.
26670 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26671 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26672 * sysdeps/sh/sysdep.h: Likewise.
26673 * sysdeps/unix/sparc/sysdep.h: Likewise.
26674 * sysdeps/wordsize-32/divdi3.c: Likewise.
26675 * sysdeps/x86_64/sysdep.h: Likewise.
26676
00bbd29b
UD
26677 * argp/Versions: Remove _argp_unlock_xxx.
26678
26679 [BZ #13559]
26680 * abilist/ld.abilist: Update. Adjust for removal of tls option.
26681 * abilist/libBrokenLocale.abilist: Likewise.
26682 * abilist/libanl.abilist: Likewise.
26683 * abilist/libc.abilist: Likewise.
26684 * abilist/libcrypt.abilist: Likewise.
26685 * abilist/libdl.abilist: Likewise.
26686 * abilist/libm.abilist: Likewise.
26687 * abilist/libnsl.abilist: Likewise.
26688 * abilist/libpthread.abilist: Likewise.
26689 * abilist/libresolv.abilist: Likewise.
26690 * abilist/librt.abilist: Likewise.
26691 * abilist/libthread_db.abilist: Likewise.
26692 * abilist/libutil.abilist: Likewise.
26693 * abilist/libnss_db.abilist: New file.
26694
26695 * scripts/abilist.awk: Add support for indirect functions.
26696
a2693a0e
UD
26697 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26698
3f05895f
UD
26699 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26700
ecb6fb48
UD
26701 * shlib-versions: Remove entries for ports architectures.
26702
664f8cb9
UD
26703 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
26704 files in ports.
26705 * elf/stackguard-macros.h: Remove support for IA-64.
26706 * elf/tst-auditmod1.c: Likewise.
26707 * sysdeps/generic/ldsodefs.h: Likewise.
26708
7ae81d88
UD
26709 * sysdeps/unix/sysv/linux/configure.in: Ports should define
26710 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26711 configure files.
26712
bdeba135
UD
26713 [BZ #13552]
26714 * configure.in: Remove --enable-omitfp support.
26715 * FAQ.in: Adjust.
26716 * config.make.in: Likewise.
26717 * Makeconfig: Likewise.
26718 * manual/install.texi: Likewise.
26719
d75a0a62
UD
26720 In case anyone cares, the IA-64 architecture could move to ports.
26721 * sysdeps/ia64/*: Removed.
26722 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 26723 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 26724
dcc9756b
UD
26725 [BZ #13555]
26726 * configure.in: Remove entries for unsupported architectures.
26727
d3761ebc 26728 [BZ #13533]
9954432e
UD
26729 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26730 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
26731 routines.
26732 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26733 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26734 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
26735 fall back to using wcrtomb.
26736 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26737 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
26738 renaming.
26739 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26740 * wcsmbs/tst-c16c32-1.c: New file.
26741
26742 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26743 local variable.
26744
c3a87236
UD
26745 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26746
28926a1b
UD
26747 * elf/tst-unique3.cc: Add explicit declaration of gets.
26748 * elf/tst-unique3lib.cc: Likewise.
26749 * elf/tst-unique3lib2.cc: Likewise.
26750 * elf/tst-unique4.cc: Likewise.
26751
df78418a
UD
26752 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26753
8ecd6b2a
JM
267542012-01-06 Joseph Myers <joseph@codesourcery.com>
26755
26756 [BZ #13566]
26757 * assert/assert.h (static_assert): Don't define for C++.
26758 * libio/stdio.h (gets): Do declare for C++ <= C++11.
26759 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26760
9f115170
UD
267612012-01-03 Ulrich Drepper <drepper@gmail.com>
26762
5e0d0300
UD
26763 * iconv/loop.c (single loop): Fix assertion in storing of
26764 remaining bytes.
26765
9f115170
UD
26766 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26767
81fb02b0
UD
267682012-01-01 Ulrich Drepper <drepper@gmail.com>
26769
26770 * posix/getconf.c: Update copyright year.
26771 * nss/getent.c: Likewise.
a316c1f6 26772 * nss/makedb.c: Likewise.
81fb02b0
UD
26773 * iconv/iconvconfig.c: Likewise.
26774 * iconv/iconv_prog.c: Likewise.
26775 * elf/ldconfig.c: Likewise.
a316c1f6
UD
26776 * elf/pldd.c: Likewise.
26777 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
26778 * catgets/gencat.c: Likewise.
26779 * csu/version.c: Likewise.
26780 * elf/ldd.bash.in: Likewise.
26781 * elf/sprof.c (print_version): Likewise.
26782 * locale/programs/locale.c: Likewise.
26783 * locale/programs/localedef.c: Likewise.
a316c1f6 26784 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
26785 * nscd/nscd.c (print_version): Likewise.
26786 * debug/xtrace.sh: Likewise.
26787 * malloc/memusage.sh: Likewise.
26788 * malloc/mtrace.pl: Likewise.
26789 * debug/catchsegv.sh: Likewise.
26790
2ba92745
JJ
267912011-12-30 Jakub Jelinek <jakub@redhat.com>
26792
26793 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26794 pure attribute.
26795
dadebdae
UD
267962011-12-24 Ulrich Drepper <drepper@gmail.com>
26797
d3761ebc 26798 [BZ #13533]
db6af3eb
UD
26799 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26800 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26801 transformations.
26802 * iconv/gconv_int.h: Likewise.
26803 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26804 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26805 from libc for GLIBC_2.16.
26806 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26807 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26808 * wcsmbs/uchar.h: Really define mbstate_t.
26809 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26810 * wcsmbs/c16rtomb.c: New file.
26811 * wcsmbs/mbrtoc16.c: New file.
26812 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26813 for C/POSIX locale.
26814 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26815 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26816
dadebdae
UD
26817 * wcsmbs/wchar.h: Add missing __restrict.
26818
67371b56
UD
268192011-12-23 Ulrich Drepper <drepper@gmail.com>
26820
74033a25
UD
26821 [BZ #13532]
26822 * time/Makefile (routines): Add timespec_get.
26823 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26824 * time/time.h: Define TIME_UTC and declare timespec_get. Define
26825 timespec for ISO C11.
26826 * time/timespec_get.c: New file.
26827 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26828 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26829
380d7e87
UD
26830 [BZ #13531]
26831 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26832 * stdlib/stdlib.h: Declare aligned_alloc.
26833 * Versions.def: Add GLIBC_2.16 for libc.
26834 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26835
4e9e7a35
UD
26836 [BZ 13527]
26837 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26838 ISO C11.
26839
380d7e87 26840 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
26841 code.
26842
03a71829
UD
26843 [BZ #13528]
26844 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26845
839e283e
UD
26846 [BZ #13529]
26847 * assert/assert.h (static_assert): Define.
26848
ce5294e2 26849 * version.h: Update for 2.16 development version.
90fa7312 26850
8d44e150 26851 [BZ #13526]
d7809905
UD
26852 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26853 _ISOC11_SOURCE.
26854
c0da14cd
UD
26855 * version.h (RELEASE): Bump for 2.15 release.
26856 * include/features.h (__GLIBC_MINOR__): Bump to 15.
26857
530a3249
MP
26858 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26859 Patch by Marek Polacek <mpolacek@redhat.com>.
26860
67371b56
UD
26861 * bits/byteswap.h: Protect long long constants with __extension__.
26862 * sysdeps/i386/bits/byteswap.h: Likewise.
26863 * sysdeps/ia64/bits/byteswap.h: Likewise.
26864 * sysdeps/s390/bits/byteswap.h: Likewise.
26865 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26866
15db4de1
LD
268672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26868
26869 [BZ #13540]
bbe315ea
LD
26870 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26871 destination buffer.
15db4de1
LD
26872 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26873
2b2596b1
MP
268742011-12-23 Marek Polacek <polacek@redhat.com>
26875
26876 * elf/dl-addr.c (determine_info): Add inline keyword.
26877 * elf/tst-auditmod4b.c (check_avx): Likewise.
26878 * elf/tst-auditmod6b.c (check_avx): Likewise.
26879 * elf/tst-auditmod6c.c (check_avx): Likewise.
26880 * elf/tst-auditmod7b.c (check_avx): Likewise.
26881
70c6c246
UD
268822011-12-23 Ulrich Drepper <drepper@gmail.com>
26883
26884 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26885 !__SSE_MATH__.
26886
c044cf14
LD
268872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26888
15db4de1 26889 [BZ #13540]
c044cf14
LD
26890 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26891 processing for last bytes.
26892
6b13d9d9
BH
268932011-08-06 Bruno Haible <bruno@clisp.org>
26894
d455f537
BH
26895 [BZ #13061]
26896 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26897 U+0385, not to U+1FEE.
26898
6b13d9d9
BH
26899 [BZ #13062]
26900 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26901 entry for U+00A5 U+0301.
26902
db910efd
UD
269032011-12-22 Ulrich Drepper <drepper@gmail.com>
26904
27deeafc
UD
26905 [BZ #13166]
26906 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26907 buffer for the output is too small.
26908
aed9d171
UD
26909 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26910 optimization.
26911
db910efd
UD
26912 [BZ #13185]
26913 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26914 SSE flags if possible.
26915
2bd779ae
LD
269162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26917
e7f9dac3 26918 [BZ #13540]
2bd779ae
LD
26919 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26920 processing for last bytes.
26921
154bfc16
JM
269222011-12-22 Joseph Myers <joseph@codesourcery.com>
26923
26924 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26925 (syscall-list-default-options, syscall-list-default-condition)
26926 (syscall-list-includes): Define.
26927 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26928 list of ABIs and options and #if conditions for each ABI. Do not
26929 handle common syscalls between ABIs specially.
26930 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26931 Remove.
26932 (syscall-list-variants, syscall-list-32bit-options)
26933 (syscall-list-32bit-condition, syscall-list-64bit-options)
26934 (syscall-list-64bit-condition): Define.
26935 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26936 (syscall-list-variants, syscall-list-32bit-options)
26937 (syscall-list-32bit-condition, syscall-list-64bit-options)
26938 (syscall-list-64bit-condition): Define.
26939 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26940 Remove.
26941 (syscall-list-variants, syscall-list-32bit-options)
26942 (syscall-list-32bit-condition, syscall-list-64bit-options)
26943 (syscall-list-64bit-condition): Define.
26944 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26945 Remove.
26946 (syscall-list-variants, syscall-list-32bit-options)
26947 (syscall-list-32bit-condition, syscall-list-64bit-options)
26948 (syscall-list-64bit-condition): Define.
26949
21eaf3a5
UD
269502011-12-22 Ulrich Drepper <drepper@gmail.com>
26951
16c6f992
UD
26952 * locale/iso-639.def: Add brx entry.
26953
41043168
UD
26954 [BZ #13328]
26955 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26956 Proposed by Mariusz_Cukr <marcukr@op.pl>.
26957
21eaf3a5
UD
26958 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26959 __feraiseexcept_renamed.
26960
e3a851a2
UD
269612011-12-21 Ulrich Drepper <drepper@gmail.com>
26962
4920765e
UD
26963 [BZ #13538]
26964 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26965 EPOLLET with unsigned values.
26966 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26967 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26968
e3a851a2
UD
26969 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26970 to large cancellation.
26971 * math/s_cacoshf.c: Likewise.
26972 * math/s_cacoshl.c: Likewise.
26973
b27e24b8
RK
269742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
26975
26976 [BZ #13305]
aebefeee 26977 [BZ #12786]
b27e24b8
RK
26978 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26979 * math/s_cacoshf.c: Likewise.
26980 * math/s_cacoshl.c: Likewise.
26981
ee190f67
UD
269822011-12-21 Ulrich Drepper <drepper@gmail.com>
26983
26984 [BZ #13439]
26985 * iconv/gconv.h: Define __GCONV_SWAP.
26986 * iconvdata/unicode.c: The swap bit must be stored in __flags.
26987 * iconvdata/utf-16.c: Likewise.
26988 * iconvdata/utf-32.c: Likewise.
26989
707f25df
AS
269902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
26991
26992 [BZ #13524]
26993 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26994 numerator after shifting it by one limb.
26995
d2daaa1e
RÁE
269962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
26997
26998 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26999 under [__USE_EXTERN_INLINES].
27000
a4647e72
UD
270012011-12-17 Ulrich Drepper <drepper@gmail.com>
27002
27003 [BZ #13446]
27004 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27005
f0b264f1
AZ
270062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27007
27008 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27009 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27010 optimized code.
27011 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27012 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27013 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27014 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27015 for strncasecmp/strncasecmp_l compilation.
27016 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27017 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27018
8ef4f244
MP
270192011-12-08 Marek Polacek <mpolacek@redhat.com>
27020
27021 [BZ #13484]
27022 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27023 of __asm__.
27024
97ac2654
UD
270252011-12-17 Ulrich Drepper <drepper@gmail.com>
27026
27027 [BZ #13506]
27028 * time/tzfile.c (__tzfile_read): Check values from file header.
27029
91d2a845
WS
270302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27031
27032 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27033 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27034 * powerpc/powerpc32/dl-start.S: Likewise.
27035 * powerpc/powerpc32/elf/start.S: Likewise.
27036 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27037 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27038 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27039 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27040 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27041 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27042 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27043 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27044 * powerpc/powerpc32/fpu/s_round.S: Likewise.
27045 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27046 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27047 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27048 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27049 * powerpc/powerpc32/memset.S: Likewise.
27050 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27051 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27052 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27053 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27054 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27055 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27056 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27057 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27058 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27059 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27060 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27061 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27062 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27063
a1267ba1
AZ
270642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27065
27066 * math/libm-test.inc: Added more nearbyint tests.
27067 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27068 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27069 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27070 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27071
ad8ac1bd
RL
270722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
27073
27074 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27075 FD_CLOEXEC.
27076
1d3e4b61
UD
270772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27078
27079 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27080 Add wcscpy-ssse3 wcscpy-c.
27081 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27082 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27083 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27084 * sysdeps/x86_64/wcschr.S: New file.
27085 * sysdeps/x86_64/wcsrchr.S: New file.
27086 * string/test-strcmp.c: Remove checking of wcscmp function for
27087 wrong alignments.
27088 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27089 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27090 wcsrchr-sse2 wcsrchr-c.
27091 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27092 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27093 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27094 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27095 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27096 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27097 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27098 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27099 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27100 * wcsmbc/wcschr.c (WCSCHR): New macro.
27101
5b330a2d
UD
271022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27103
27104 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27105 * wcsmbs/test-wcsrchr.c: New file.
27106 * string/test-strrchr.c: Add wcsrchr support.
27107 (WIDE): New macro.
27108 * wcsmbs/test-wcscpy.c: New file.
27109 * string/test-strcpy.c: Add wcscpy support.
27110 (WIDE): New macro.
26428b7c 27111
f039c043
UD
271122011-12-10 Ulrich Drepper <drepper@gmail.com>
27113
27114 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27115 the inner loop.
27116
850fb039
AS
271172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
27118
27119 [BZ #13472]
27120 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27121
4efbd5cb
UD
271222011-12-04 Ulrich Drepper <drepper@gmail.com>
27123
52ff5dd0 27124 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 27125 Minor optimizations.
52ff5dd0 27126
4efbd5cb
UD
27127 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27128 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27129 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27130
8a426e12
UD
271312011-12-03 Ulrich Drepper <drepper@gmail.com>
27132
aff2453d
UD
27133 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27134 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27135 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27136 for gcc to avoid warnings.
27137 * inet/Makefile (tests): Add tst-checks.
27138 * inet/tst-checks.c: New file.
27139
27140 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27141 warning.
27142
27143 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27144 __wmemcmp_sse2.
27145
27146 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27147 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27148
8a426e12
UD
27149 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27150
9bea3473
UD
271512011-12-02 Ulrich Drepper <drepper@gmail.com>
27152
3a965496
UD
27153 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27154 problem.
27155
9bea3473
UD
27156 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27157
f101631b
UD
271582011-11-29 Joseph Myers <joseph@codesourcery.com>
27159
27160 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27161 conditional on GCC version.
27162 (__arch_compare_and_exchange_val_8_acq)
27163 (__arch_compare_and_exchange_val_16_acq)
27164 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27165 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27166 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27167
a98275aa
UD
271682011-12-02 Joseph Myers <joseph@codesourcery.com>
27169
27170 * sysdeps/sh/backtrace.c: New file.
27171
d4cc29a2
AS
271722011-12-02 Andreas Schwab <schwab@redhat.com>
27173
27174 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
27175 parenthesis.
27176
6257af2d
AS
271772011-12-01 Andreas Schwab <schwab@redhat.com>
27178
27179 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27180 falling back to utime.
27181
b5f44c1a
AS
271822011-11-30 Andreas Schwab <schwab@redhat.com>
27183
27184 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27185 expectations for float.
27186
f3a6cc0a
AS
271872011-11-29 Andreas Schwab <schwab@redhat.com>
27188
27189 * locale/weight.h (findidx): Add parameter len.
27190 * locale/weightwc.h (findidx): Likewise.
27191 * posix/fnmatch_loop.c (FCT): Adjust caller.
27192 * posix/regcomp.c (build_equiv_class): Likewise.
27193 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27194 * posix/regexec.c (check_node_accept_bytes): Likewise.
27195 * string/strcoll_l.c (STRCOLL): Likewise.
27196 * string/strxfrm_l.c (STRXFRM): Likewise.
27197
9d65ea3a
UD
271982011-11-17 Ulrich Drepper <drepper@gmail.com>
27199
27200 * Makefile.in: Remove CVSOPT handling.
27201 * configure.in: Remove use of AC_REVISION.
27202 * iconvdata/Makefile (distribute): No need to filter out CVS.
27203 * scripts/list-sources.sh: Remove CVS, subversion and monotone
27204 handling.
27205
5583a086
AS
272062011-11-16 Andreas Schwab <schwab@redhat.com>
27207
27208 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27209 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27210 [USE_AS_STRNCASECMP_L]: Likewise.
27211 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27212 NO_TLS_DIRECT_SEG_REFS.
27213 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27214 Fix argument offsets for non-PIC.
27215 [USE_AS_STRNCASECMP_L]: Likewise.
27216 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27217 NO_TLS_DIRECT_SEG_REFS.
27218
d62a8200
UD
272192011-11-15 Ulrich Drepper <drepper@gmail.com>
27220
9d65ea3a 27221 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
27222 O_CLOEXEC.
27223 * locale/loadlocale.c (_nl_load_locale): Likewise.
27224
09f93bd3
AS
272252011-11-15 Andreas Schwab <schwab@redhat.com>
27226
446514f9
AS
27227 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27228 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27229 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27230 (SYSCALL_GETTIME): Set errno on error.
27231
09f93bd3
AS
27232 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27233 count references to noai6ai_cached.
27234
312be3f9
UD
272352011-11-15 Ulrich Drepper <drepper@gmail.com>
27236
27237 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27238
27239 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27240 FD_CLOEXEC for /proc/self/maps.
27241
27242 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27243 FD_CLOEXEC for /proc/meminfo.
27244
27245 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27246 gai.conf.
27247
27248 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
27249 FD_CLOEXEC for given file.
27250
27251 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27252
27253 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27254 FD_CLOEXEC for /etc/hosts.
27255 (_gethtent): Likewise.
27256
27257 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27258
27259 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27260 cancellation and set FD_CLOEXEC for /etc/netgroup.
27261
27262 * nss/nss_files/files-key.c (search): Don't allow cancellation when
27263 reading /etc/publickey.
27264
27265 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27266 allow cancellation when reading /etc/group.
27267
27268 * nss/nss_files/files-alias.c (internal_setent): Don't allow
27269 cancellation.
27270 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
27271
27272 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27273 when using data file.
27274
27275 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27276
27277 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27278 (write_nis_obj): Use "c" and "e" in fopen.
27279
27280 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27281
27282 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27283
27284 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27285
27286 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27287
27288 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27289 locale.alias.
27290
27291 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27292
27293 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27294
27295 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27296
27297 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27298 file parsing and set FD_CLOEXEC.
27299
82af0fa8
UD
273002011-11-14 Ulrich Drepper <drepper@gmail.com>
27301
27302 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27303
a5fb313c
AS
273042011-11-14 Andreas Schwab <schwab@redhat.com>
27305
27306 * malloc/arena.c (arena_get2): Don't call reused_arena when
27307 _int_new_arena failed.
27308
6abf3465
UD
273092011-11-14 Ulrich Drepper <drepper@gmail.com>
27310
27311 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27312 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27313 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27314 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27315 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27316 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27317 to compile strcasecmp and strncasecmp.
27318 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27319 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27320
27321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27322
76e3966e
UD
273232011-11-13 Ulrich Drepper <drepper@gmail.com>
27324
27325 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27326 locale-defines.sym to gen-as-const-headers.
27327 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27328 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27330 to compile strcasecmp and strncasecmp.
27331 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27332 strcasecmp_l and strncasecmp_l.
27333 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27334 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27335 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27336 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27337 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27338 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27339 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27340 * sysdeps/i386/i686/multiarch/strncase.S: New file.
27341 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27342 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27343 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27344
ab26144e
UD
273452011-11-12 Ulrich Drepper <drepper@gmail.com>
27346
7edb22ef
UD
27347 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27348 result of SYSDEP_GETTIME_CPU to retval.
27349 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27350 parameter list to macro. Remove trailing semicolon. Adjust users.
27351
9694fc44
UD
27352 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27353 variable.
27354
8ad89ef8
UD
27355 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27356 mantissa words.
27357 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27358
0c822ef9
UD
27359 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27360 from unused variable.
27361
874e0564
UD
27362 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27363 DWARF definitions.
27364 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27365 for assembling.
27366
3a2edc79
UD
27367 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27368 over namespaces.
27369
f3c2577f
UD
27370 * sunrpc/rpc_prot.c (rejected): Fix case value.
27371
294ce126
UD
27372 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27373 unsigned long long int to avoid warnings in shift.
27374
5e2b63c6
UD
27375 * posix/regex_internal.c (re_string_reconstruct): Actually use result
27376 of use of trans.
27377 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27378 variable tmp.
27379
e7f4b08e
UD
27380 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27381 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27382 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27383
ab26144e
UD
27384 * nis/nis_table.c (nis_list): Use variable of correct type for
27385 result of __follow_path call.
27386
8a6d5255
AZ
273872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27388
27389 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27390 of math functions ceil, trunc, floor, round, and sqrt, when
27391 avaliable on the platform.
27392 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27393 name clash.
27394 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27395 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27396 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27397
aaddc98c
MP
273982011-10-30 Marek Polacek <mpolacek@redhat.com>
27399
27400 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27401 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27402
95b7042b
RM
274032011-11-11 Roland McGrath <roland@hack.frob.com>
27404
27405 * include/unistd.h: Fix __readlink return type.
27406 Reported by Chris Metcalf <cmetcalf@tilera.com>.
27407
57769839
UD
274082011-11-11 Ulrich Drepper <drepper@gmail.com>
27409
27410 * stdlib/ucontext.h: Undo last change for makecontext.
27411
edc5984d
AS
274122011-11-11 Andreas Schwab <schwab@redhat.com>
27413
98591e58
AS
27414 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27415
edc5984d
AS
27416 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27417 * setjmp/setjmp.h: Mark functions as non-leaf.
27418 * setjmp/bits/setjmp2.h: Likewise.
27419 * stdlib/ucontext.h: Likewise.
27420
77cdc054
AS
274212011-11-10 Andreas Schwab <schwab@redhat.com>
27422
27423 * malloc/arena.c (_int_new_arena): Don't increment narenas.
27424 (reused_arena): Don't check arena limit.
27425 (arena_get2): Atomically check arena limit.
27426
fe72eebd
UD
274272011-11-08 Ulrich Drepper <drepper@gmail.com>
27428
5f078c32
UD
27429 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27430 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27431
fe72eebd
UD
27432 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27433 instructions.
27434
ae1bc2fa
AS
274352011-11-07 Andreas Schwab <schwab@redhat.com>
27436
7583a88d
AS
27437 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27438 handler when locking.
27439
ae1bc2fa
AS
27440 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27441 Fix size of allocated buffer.
27442
10fb0bfa
AS
274432011-11-04 Andreas Schwab <schwab@redhat.com>
27444
998832a4
AS
27445 [BZ #10103]
27446 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27447 declarations for long double functions.
27448 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27449
10fb0bfa
AS
27450 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27451
3d7ba52b
AS
274522011-11-03 Andreas Schwab <schwab@redhat.com>
27453
a9ae54a1
AS
27454 * nscd/nscd.c (main): Don't start AVC thread until credentials are
27455 installed.
27456
3d7ba52b
AS
27457 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27458 is disabled.
27459
bc8db248
ST
274602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
27461
27462 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27463
45b96dd6
AS
274642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
27465
647776f6
AS
27466 * include/alloca.h (stackinfo_alloca_round): Define.
27467 (extend_alloca): Use it.
27468 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27469 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27470 here.
27471
d91a8b93
AS
27472 * scripts/check-local-headers.sh: Ignore libaudit.h.
27473
45b96dd6
AS
27474 * nscd/Makefile (extra-objs): Make recursively expanded.
27475
432d41ce
UD
274762011-11-01 Ulrich Drepper <drepper@gmail.com>
27477
34372fc6
UD
27478 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27479 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27480
fadb59f8
UD
27481 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27482 * posix/tst-rfc3484-2.c: Likewise.
27483 * posix/tst-rfc3484-3.c: Likewise.
27484
78239589
UD
27485 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27486 process_vm_writev.
27487 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27488 process_vm_writev.
27489 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27490 process_vm_writev from libc using GLIBC_2.15 version.
27491
432d41ce
UD
27492 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27493
02f9c6cf
PP
274942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
27495
27496 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27497 stack usage.
27498
3a2c0242
UD
274992011-10-31 Ulrich Drepper <drepper@gmail.com>
27500
f4ec4833
UD
27501 [BZ #13367]
27502 * nss/getent.c (initgroups_keys): Show error message in case no group
27503 names are given.
27504
3a2c0242
UD
27505 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27506 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27507 __bump_nl_timestamp.
27508 * nscd/connections (nscd_init): When host database is served open
27509 netlink socket and request notification about configuration changes.
27510 (main_loop_poll): Track netlink file descriptor and bump timestamp
27511 in case data becomes available.
27512 (main_loop_epoll): Likewise.
27513 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27514 (database_pers_head): Add extra_data fileds.
27515 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27516 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27517 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27518 Adjust caller.
27519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27520 in6ai data, call __free_in6ai.
27521 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27522 Add -DHAVE_NETLINK.
27523 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
27524 interface information. Reuse previous data if netlink timestamp
27525 is not changed.
27526 (__bump_nl_timestamp): New function.
27527 (__free_in6ai): New function.
27528
636064eb
UD
275292011-10-30 Ulrich Drepper <drepper@gmail.com>
27530
27531 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27532 close_not_cancel_no_status here.
27533 (__check_pf): Reorganize code a bit to not call close twice if OOM.
27534
9beb2334
UD
275352011-10-29 Ulrich Drepper <drepper@gmail.com>
27536
6ef76f3b
UD
27537 [BZ #13276]
27538 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27539 return value.
27540
0ffc4f3e 27541 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
27542 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27543 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27544
cb95113e
UD
275452011-07-03 Andreas Jaeger <aj@suse.de>
27546
27547 [BZ #10709]
27548 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27549 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27550 * math/libm-test.inc (sin_test): Add test case.
27551
a1b560ff
UD
275522011-10-29 Ulrich Drepper <drepper@gmail.com>
27553
c9aaface
UD
27554 [BZ #13337]
27555 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27556 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27557
d272e7f1
UD
27558 * elf/chroot_canon.c (chroot_canon): Cleanups.
27559
1bc33071
UD
27560 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27561
1760874d
TJ
27562 [BZ #13335]
27563 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27564 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27565
51d91b18
UD
27566 * string/test-strchr.c: Make usable for strchrnul testing.
27567 * string/test-strchrnul.c: New file.
27568 * string/Makefile (strop-tests): Add strchrnul.
27569
a1b560ff 27570 * po/it.po: Update from translation team.
b611fb81 27571 * po/es.po: Likewise.
a1b560ff 27572
a5b81e1f
UD
275732011-10-28 Ulrich Drepper <drepper@gmail.com>
27574
fd52bc6d
UD
27575 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27576 the three constants needed as parameters. Drop the others.
27577 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27578 __m128i_strloadu_tolower.
52e4b9eb
UD
27579 Create and initialize variable zero and use it in all the places
27580 where _mm_setzero_si128 was used.
fd52bc6d 27581
a5b81e1f
UD
27582 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27583 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27584 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27585 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27586 anymore.
27587 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27588 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27589 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27590 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27591 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27592 __mpranred, __mptan.
27593 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27594 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27595 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27596 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27597 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27598 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27599 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27600 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27601 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27602
b4343346
AS
276032011-10-28 Andreas Schwab <schwab@redhat.com>
27604
0c92d8a8
AS
27605 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27606 redefine if SHARED.
27607 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27608
b4343346
AS
27609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27610 wide char related routines to wcsmbs subdir.
27611
3871f58f
AS
276122011-10-27 Andreas Schwab <schwab@redhat.com>
27613
27614 [BZ #13344]
27615 * misc/sys/cdefs.h (__THROWNL): Define.
27616 * posix/unistd.h: Use __THREADNL instead of __THREAD
27617 for memory synchronization functions.
27618
94d44d9f
RM
276192011-10-26 Roland McGrath <roland@hack.frob.com>
27620
21b64b15 27621 [BZ #13349]
94d44d9f
RM
27622 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27623 doesn't exist.
27624 * manual/stdio.texi (Obstack Streams): Node removed.
27625
f6ce9294
AS
276262011-10-26 Andreas Schwab <schwab@redhat.com>
27627
80479147
AS
27628 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27629 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27630 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27631
f6ce9294
AS
27632 * math/math_private.h (math_force_eval): Allow non-addressable
27633 arguments.
27634 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27635
618280a1
UD
276362011-10-25 Ulrich Drepper <drepper@gmail.com>
27637
e0016b11
UD
27638 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27639 file is not needed.
27640
27641 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27642 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27643 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27644 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27648 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27649 Add AVX variants.
27650 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27651 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27652 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27653 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27654 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27655 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27656 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27657 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27658 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27659 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27660 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27661 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27662 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27663 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27664 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27665 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27666 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27667 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27668 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27669
27670 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27671 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
27672
618280a1
UD
27673 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27674 place. Use VEX encoding when compiling for AVX.
27675
37822576
AS
276762011-10-25 Andreas Schwab <schwab@redhat.com>
27677
1f1e1947
AS
27678 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27679 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27680
37822576
AS
27681 * string/test-strchr.c (do_test): Don't generate NUL bytes.
27682
31ea014d
UD
276832011-10-25 Ulrich Drepper <drepper@gmail.com>
27684
d7826aa1 27685 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 27686 useless if() expression.
d7826aa1
UD
27687 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27688 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27689 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27691 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27692 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27693 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27695 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27696 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27697 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27698 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27699 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27700 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27701 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27702 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27705 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27706
31ea014d
UD
27707 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27708
16437fec
AS
277092011-10-25 Andreas Schwab <schwab@redhat.com>
27710
27711 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27712 condition.
27713 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27714
31d3cc00
UD
277152011-10-25 Ulrich Drepper <drepper@gmail.com>
27716
27717 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27718 .text section. Avoid duplicate constants.
27719 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27720 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27721 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27722 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27723 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27724 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27725 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27727 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27728 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27729 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27730 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27731 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27732 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27733 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27734 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27735 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27736 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27737 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27738 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27739 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27740 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27741 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27742 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27743 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27744 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27745 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27746 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27748 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27749 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27750 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27751 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27752 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27753 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27754 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27755 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27756 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27757 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27758 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27759 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27760 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27761 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27762 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27763 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27764
58985aa9
UD
277652011-10-24 Ulrich Drepper <drepper@gmail.com>
27766
202c9deb
UD
27767 * sysdeps/x86_64/dla.h: Move to ...
27768 * sysdeps/x86_64/fpu/dla.h: ...here.
27769 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27770 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 27771
af968f62
UD
27772 * config.make.in: Add have-mfma4 entry.
27773 * configure.in: Substitute libc_cv_cc_fma4.
27774 * math/Makefile (dbl-only-routines): Add sincostab.
27775 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27776 Use __sincostab not sincos.
27777 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27778 name is a macro.
27779 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27780 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27781 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
27783 using __copysign.
27784 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
27785 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
27786 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27787 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27788 and __inv.
27789 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27790 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27791 __copysign.
27792 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
27793 define aliases when function name is a macro.
27794 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27795 sysdeps/ieee754/dbl-64/sincos.tbl.
27796 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27797 fma4-enabled routines.
27798 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27799 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27800 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27801 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27802 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27803 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27804 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27805 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27806 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27807 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27808 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27809 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27810 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27811 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27812 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27813 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27814 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27815 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27816 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27817 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27818 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27819 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27820 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27821 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27822 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27823 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27824 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27825 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27826 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27827 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27828
58985aa9
UD
27829 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27830 rename.
27831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27832 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27834 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27835 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27836 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27837 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27838 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27839
a201fbcf
AS
278402011-10-24 Andreas Schwab <schwab@redhat.com>
27841
27842 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27843
fc2ee42a
LD
278442011-10-23 Ulrich Drepper <drepper@gmail.com>
27845
bb3129bd
UD
27846 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27847
0275fff8
UD
27848 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27849 prediction.
27850 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27851
2fa2ae85
UD
27852 * string/strnlen.c: Don't define STRNLEN, reverse logic.
27853 Remove unused variable magic_bits.
27854 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27855
fc2ee42a
LD
27856 * string/strnlen.c: Define and use STRNLEN macro.
27857 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27858 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27860 * wcsmbs/wcslen.c: Define and use WCSLEN.
27861 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27862 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27863 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27864 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27865 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27866 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27867 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27868
ce7dd29f
LD
278692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27870
27871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27872 strnlen-sse2-no-bsf.
27873 Rename strlen-no-bsf to strlen-sse2-no-bsf.
27874 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27875 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27876 Add strnlen support.
27877 (USE_AS_STRNLEN): New macro.
27878 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27879 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27880 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27881 * sysdeps/x86_64/wcslen.S: New file.
27882
979c70a3
MZ
278832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
27884
27885 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27886 XMM-moves are used for copying on small sizes.
27887
2d09f82f
LD
278882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27889
27890 * wcsmbs/Makefile (strop-tests): Add wcschr.
27891 * wcsmbs/test-wcschr.c: New file.
27892 * string/test-strchr.c: Update.
27893 Add wcschr support.
27894 (WIDE): New macro.
27895
619fccca
LD
278962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27897
2d09f82f 27898 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
27899 * wcsmbs/test-wcslen.c: New file.
27900 * string/test-strlen.c: Update.
27901 Add wcslen support.
27902 (WIDE): New macro.
27903
09f699ea
UD
279042011-10-23 Ulrich Drepper <drepper@gmail.com>
27905
27906 * po/it.po: Update from translation team.
27907
95584d3b
LD
279082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27909
27910 * sysdeps/x86_64/wcscmp.S: Update.
27911 Fix wrong comparison semantics.
27912 wcscmp shall use signed comparison not unsigned.
27913 Don't use substraction to avoid overflow bug.
27914 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27915 * wcsmbc/wcscmp.c: Likewise.
27916 * string/test-strcmp.c: Likewise.
27917 Add new tests to check cases with negative values.
27918
c8b3296b
UD
279192011-10-23 Ulrich Drepper <drepper@gmail.com>
27920
27921 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27922 * sysdeps/x86_64/dla.h: ...here. New file.
27923 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27924 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27925 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27928 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27929 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27930 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27931 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27932
246ad57a
AS
279332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
27934
27935 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27936 __ynl_finite aliases.
27937
a1a87169
UD
279382011-10-22 Ulrich Drepper <drepper@gmail.com>
27939
0d355eb7
UD
27940 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27941
a1a87169
UD
27942 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27943 define DLA_FMA.
27944 [DLA_FMA] (EMULV): Use DLA_FMA.
27945 [DLA_FMA] (MUL12): Use EMULV.
27946 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27947 that are not needed.
27948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27949 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27950 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27951 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27952 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27953 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27954 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27955
ee2aafe0
AS
279562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
27957
27958 * math/s_nan.c: Undef __nan.
27959 * math/s_nanf.c: Undef __nanf.
27960 * math/s_nanl.c: Undef __nanl.
27961 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27962 "math_private.h".
27963
bc62c2fb
UD
279642011-10-22 Ulrich Drepper <drepper@gmail.com>
27965
77425c63
UD
27966 * math/s_catan.c: Add branch predictions.
27967 * math/s_catanf.c: Likewise.
27968 * math/s_catanh.c: Likewise.
27969 * math/s_catanhf.c: Likewise.
27970 * math/s_catanhl.c: Likewise.
27971 * math/s_catanl.c: Likewise.
27972 * math/s_cexp.c: Likewise.
27973 * math/s_cexpf.c: Likewise.
27974 * math/s_cexpl.c: Likewise.
27975 * math/s_clog.c: Likewise.
27976 * math/s_clog10.c: Likewise.
27977 * math/s_clog10f.c: Likewise.
27978 * math/s_clog10l.c: Likewise.
27979 * math/s_clogf.c: Likewise.
27980 * math/s_clogl.c: Likewise.
27981 * math/s_csqrt.c: Likewise.
27982 * math/s_csqrtf.c: Likewise.
27983 * math/s_csqrtl.c: Likewise.
27984 * math/s_ctanf.c: Likewise.
27985 * math/s_ctanh.c: Likewise.
27986 * math/s_ctanhf.c: Likewise.
27987 * math/s_ctanhl.c: Likewise.
27988 * math/s_ctanl.c: Likewise.
27989
bc62c2fb
UD
27990 * math/math_private.h: Define __nan, __nanf, __nanl.
27991 * math/s_cacosh.c: Include <math_private.h>.
27992 * math/s_cacoshl.c: Likewise.
27993 * math/s_casinh.c: Likewise.
27994 * math/s_casinhf.c: Likewise.
27995 * math/s_casinhl.c: Likewise.
27996 * math/s_ccos.c: Rely entire on ccosh.
27997 * math/s_ccosf.c: Rely entire on ccoshf.
27998 * math/s_ccosl.c: Rely entirely on ccoshl.
27999 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
28000 Remove tests for FE_INVALID.
28001 * math/s_ccoshf.c: Likewise.
28002 * math/s_ccoshl.c: Likewise.
28003 * math/s_csin.c: Likewise.
28004 * math/s_csinf.c: Likewise.
28005 * math/s_csinh.c Likewise.
28006 * math/s_csinhf.c: Likewise.
28007 * math/s_csinhl.c: Likewise.
28008 * math/s_csinl.c: Likewise.
28009 * math/s_ctan.c: Likewise.
28010 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28011 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28012 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28013
8ec250a4
UD
280142011-10-21 Ulrich Drepper <drepper@gmail.com>
28015
c196fed8
UD
28016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28017 compilation problems.
28018
8ec250a4
UD
28019 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28020 __builtin_expect.
28021
8d4f46c6
UD
280222011-10-20 Ulrich Drepper <drepper@gmail.com>
28023
ed72b654
UD
28024 * sysdeps/i386/configure.in: Test for -mfma4 option.
28025 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28026 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28027 COMMON_CPUID_INDEX_80000001.
28028 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28029 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28030 use it if FMA3 is not supported.
28031 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28032
8d4f46c6
UD
28033 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28034 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28035
d45c60c2
AS
280362011-10-20 Andreas Schwab <schwab@redhat.com>
28037
28038 [BZ #12892]
28039 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28040 it would create a cycle with a link time dependency.
28041
d9a4d2ab
UD
280422011-10-19 Ulrich Drepper <drepper@gmail.com>
28043
855d1560
UD
28044 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28045 instruction.
28046 * string/Makefile (strop-tests): Add rawmemchr.
28047 * string/test-rawmemchr.c: New file.
28048
d9a4d2ab
UD
28049 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28050 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
28051 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
28052 when compiling str{,n}casecmp and when AVX is available. Hook up
28053 new optimized code in initializers.
28054
8f3b1ffe
AS
280552011-10-19 Andreas Schwab <schwab@redhat.com>
28056
28057 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28058 __feraiseexcept instead of feraiseexcept.
28059
d38f1dba
UD
280602011-10-18 Ulrich Drepper <drepper@gmail.com>
28061
d9a8d0ab
UD
28062 * math/math_private.h: Define defaults for libc_fetestexcept and
28063 libc_feupdateenv.
28064 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28065 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28066 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28067 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28068 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28069 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28070 libc_fetestexcept and libc_feupdateenv.
28071
4855e3dd
UD
28072 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28073 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28074 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28075 * sysdeps/x86_64/fpu/math_private.h: Define special version of
28076 libc_feholdexcept_setround.
28077
581d30e3
UD
28078 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28079 Add s_nearbyint-c and s_nearbyintf-c.
28080 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28081 nearbyintf inlines.
28082 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28083 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28084 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28085 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28086
d38f1dba
UD
28087 * math/math_private.h: Define defaults for libc_fegetround,
28088 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28089 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28090 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28091 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28092 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28093 standard functions.
28094 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28095 Remove comments and hacks for old compiler versions.
28096 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28097 libc_fegetround, libc_fesetround, libc_feholdexcept, and
28098 libc_feholdexceptl.
28099
caa6c9d8
AS
281002011-10-18 Andreas Schwab <schwab@redhat.com>
28101
28102 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
28103 (__feraiseexcept_renamed): Add __NTH.
28104 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
28105 namespace violations.
28106
97c066e6
UD
281072011-10-17 Ulrich Drepper <drepper@gmail.com>
28108
99ce7b04
UD
28109 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28110
1004d182
UD
28111 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28112
228a984d
UD
28113 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28114 recently added interfaces.
28115 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28116
c8553a6a
UD
28117 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28118 about macro parameter expansion.
28119
ed22dcf6
UD
28120 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28121 __NO_MATH_INLINES is defined. Cleanups.
28122
28123 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28124 and __floorf is target has SSE4.1.
28125 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28126 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28127 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28128 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28129
b171c137
UD
28130 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28131 name.
28132 (floorf): Likewise.
28133
97c066e6
UD
28134 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28135
629f62ef
AS
281362011-10-17 Andreas Schwab <schwab@redhat.com>
28137
49a43d80
AS
28138 * misc/sys/cdefs.h: Fix last change.
28139
629f62ef
AS
28140 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28141 database lookup.
28142
e453f6cd
UD
281432011-10-16 Ulrich Drepper <drepper@gmail.com>
28144
aa78043a
UD
28145 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28146
ad0f5cad
UD
28147 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28148 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28149 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28150 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28152 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28153 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28154 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28155 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28156 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28157 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28158 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28159 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28160 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28161 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28162 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28163 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28164 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28165 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28166 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28167 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28168 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28169
28170 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28171 ceil, ceilf, floor, floorf.
28172
28173 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28174 Perform IRELATIVE relocations last.
28175
e453f6cd
UD
28176 * elf/do-rel.h: Add another parameter nrelative, replacing the
28177 local variable with the same name. Change name of the function
28178 to end in Rel or Rela (uppercase).
28179 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28180 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
28181 elf_dynamic_do_##reloc function.
28182
fd5bdc09
UD
281832011-10-15 Ulrich Drepper <drepper@gmail.com>
28184
79b195b5
UD
28185 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28186 is sufficient, at least on modern CPUs.
28187
d4a28569
UD
28188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28189
b61099b5
UD
28190 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28191 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28192
bcf01e6d
UD
28193 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28194 __expl_finite.
28195 * math/bits/math-finite.h: Add entries for exp.
28196 * math/e_expl.c: Add __*_finite alias.
28197 * sysdeps/i386/fpu/e_exp.S: Likewise.
28198 * sysdeps/i386/fpu/e_expf.S: Likewise.
28199 * sysdeps/i386/fpu/e_expl.c: Likewise.
28200 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28201 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28202 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28203 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28204 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28205 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28206 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28207
ba1a0d59
UD
28208 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28209 is sufficient, at least on modern CPUs.
28210
fd5bdc09
UD
28211 * ctype/ctype-info.c (__ctype_init): Define.
28212 * include/ctype.h (__ctype_init): Declare.
28213 (__ctype_b_loc): The variable is always initialized.
28214 (__ctype_toupper_loc): Likewise.
28215 (__ctype_tolower_loc): Likewise.
28216 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28217 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28218
7872cfb0
AS
282192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
28220
b468825a
AS
28221 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28222
7872cfb0
AS
28223 * configure.in: Also look in $cxxmachine/include for C++ system
28224 headers.
28225
be13f7bf
LD
282262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28227
28228 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28229 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28230 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28231 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
28232 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28233 (USE_AS_WMEMCMP): New macro.
28234 Fixing indents.
28235 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28236 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28237 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28238 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28240 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28241 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28242 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28243 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28244 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28245 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28246 (USE_AS_WMEMCMP): New macro.
28247 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28248 * sysdeps/string/test-memcmp.c: Update.
28249 Fix simple_wmemcmp.
28250 Add new tests.
28251 * wcsmbs/wmemcmp.c: Update.
28252 (WMEMCMP): New macro.
28253 Fix overflow bug.
28254
556a2007
AJ
282552011-10-12 Andreas Jaeger <aj@suse.de>
28256
28257 [BZ #13268]
28258 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28259
538faaa7
UD
282602011-10-15 Ulrich Drepper <drepper@gmail.com>
28261
ab6737ff
UD
28262 * libio/iofwide.c (do_length): Avoid warning.
28263
538faaa7
UD
28264 * ctype/ctype.h (__isctype_f): Add missing __THROW.
28265
396a21b1
UD
282662011-10-14 Ulrich Drepper <drepper@gmail.com>
28267
cdf2901f
UD
28268 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28269
38ad40ce
UD
28270 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28271 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28272 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28273 * sysdeps/i386/i686/fpu/e_log.S: New file.
28274 * sysdeps/i386/i686/fpu/e_logf.S: New file.
28275 * sysdeps/i386/i686/fpu/e_logl.S: New file.
28276
396a21b1
UD
28277 * ctype/ctype.h: Add support for inlined isXXX functions when
28278 compiling C++ code.
28279
6b1f68c9
AS
282802011-10-14 Andreas Schwab <schwab@redhat.com>
28281
349290c0
AS
28282 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28283
6b1f68c9
AS
28284 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28285
f2282d42
RM
282862011-10-13 Roland McGrath <roland@hack.frob.com>
28287
28288 [BZ #13291]
28289 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28290
5298ffa8
AS
282912011-10-13 Andreas Schwab <schwab@redhat.com>
28292
714fad23
AS
28293 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28294 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28295 feraiseexcept.
28296
81dcc7fb
AS
28297 * sysdeps/x86_64/memrchr.S: Check for zero size.
28298
5298ffa8
AS
28299 * string/stratcliff.c: Add memrchr tests.
28300
951fbcec
LD
283012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28302
28303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28304 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28305 rawmemchr-sse2 rawmemchr-sse2-bsf.
28306 * sysdeps/i386/i686/multiarch/memchr.S: New file.
28307 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28308 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28309 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28310 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28311 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28312 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28313 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28314 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28315 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28316 * string/memrchr.c (MEMRCHR): New macro.
28317
0ac5ae23
UD
283182011-10-12 Ulrich Drepper <drepper@gmail.com>
28319
28320 Add integration with gcc's -ffinite-math-only and optimize wrapper
28321 functions in libm.
28322 * Versions.def: Define GLIBC_2.15 version for libm.
28323 * math/Makefile (headers): Add bits/math-finite.h.
28324 * math/bits/math-finite.h: New file.
28325 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28326 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28327 * math/e_acoshl.c: Add __*_finite alias.
28328 * math/e_acosl.c: Likewise.
28329 * math/e_asinl.c: Likewise.
28330 * math/e_atan2l.c: Likewise.
28331 * math/e_atanhl.c: Likewise.
28332 * math/e_coshl.c: Likewise.
28333 * math/e_exp10.c: Likewise.
28334 * math/e_exp10f.c: Likewise.
28335 * math/e_exp10l.c: Likewise.
28336 * math/e_exp2l.c: Likewise.
28337 * math/e_fmodl.c: Likewise.
28338 * math/e_gammal_r.c: Likewise.
28339 * math/e_hypotl.c: Likewise.
28340 * math/e_j0l.c: Likewise.
28341 * math/e_j1l.c: Likewise.
28342 * math/e_jnl.c: Likewise.
28343 * math/e_lgammal_r.c: Likewise.
28344 * math/e_log10l.c: Likewise.
28345 * math/e_log2l.c: Likewise.
28346 * math/e_logl.c: Likewise.
28347 * math/e_powl.c: Likewise.
28348 * math/e_sinhl.c: Likewise.
28349 * math/e_sqrtl.c: Likewise.
28350 * math/e_scalb.c: Completely rewritten and optimized.
28351 * math/e_scalbf.c: Likewise.
28352 * math/e_scalbl.c: Likewise.
28353 * math/w_acos.c: Likewise.
28354 * math/w_acosf.c: Likewise.
28355 * math/w_acosl.c: Likewise.
28356 * math/w_acosh.c: Likewise.
28357 * math/w_acoshf.c: Likewise.
28358 * math/w_acoshl.c: Likewise.
28359 * math/w_asin.c: Likewise.
28360 * math/w_asinf.c: Likewise.
28361 * math/w_asinl.c: Likewise.
28362 * math/w_atan2.c: Likewise.
28363 * math/w_atan2f.c: Likewise.
28364 * math/w_atan2l.c: Likewise.
28365 * math/w_atanh.c: Likewise.
28366 * math/w_atanhf.c: Likewise.
28367 * math/w_atanhl.c: Likewise.
28368 * math/w_exp10.c: Likewise.
28369 * math/w_exp10f.c: Likewise.
28370 * math/w_exp10l.c: Likewise.
28371 * math/w_fmod.c: Likewise.
28372 * math/w_fmodf.c: Likewise.
28373 * math/w_fmodl.c: Likewise.
28374 * math/w_j0.c: Likewise.
28375 * math/w_j0f.c: Likewise.
28376 * math/w_j0l.c: Likewise.
28377 * math/w_j1.c: Likewise.
28378 * math/w_j1f.c: Likewise.
28379 * math/w_j1l.c: Likewise.
28380 * math/w_jn.c: Likewise.
28381 * math/w_jnf.c: Likewise.
28382 * math/w_log.c: Likewise.
28383 * math/w_logf.c: Likewise.
28384 * math/w_logl.c: Likewise.
28385 * math/w_log10.c: Likewise.
28386 * math/w_log10f.c: Likewise.
28387 * math/w_log10l.c: Likewise.
28388 * math/w_log2.c: Likewise.
28389 * math/w_log2f.c: Likewise.
28390 * math/w_log2l.c: Likewise.
28391 * math/w_pow.c: Likewise.
28392 * math/w_powf.c: Likewise.
28393 * math/w_powl.c: Likewise.
28394 * math/w_remainder.c: Likewise.
28395 * math/w_remainderf.c: Likewise.
28396 * math/w_remainderl.c: Likewise.
28397 * math/w_scalb.c: Likewise.
28398 * math/w_scalbf.c: Likewise.
28399 * math/w_scalbl.c: Likewise.
28400 * math/w_sqrt.c: Likewise.
28401 * math/w_sqrtf.c: Likewise.
28402 * math/w_sqrtl.c: Likewise.
28403 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28404 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
28405 used.
28406 * math/math_private.h: Declare __kernel_standard_f.
28407 * math/w_cosh.c: Remove cruft and optimize a bit.
28408 * math/w_coshf.c: Likewise.
28409 * math/w_coshl.c: Likewise.
28410 * math/w_exp2.c: Likewise.
28411 * math/w_exp2f.c: Likewise.
28412 * math/w_exp2l.c: Likewise.
28413 * math/w_hypot.c: Likewise.
28414 * math/w_hypotf.c: Likewise.
28415 * math/w_hypotl.c: Likewise.
28416 * math/w_lgamma.c: Likewise.
28417 * math/w_lgamma_r.c: Likewise.
28418 * math/w_lgammaf.c: Likewise.
28419 * math/w_lgammaf_r.c: Likewise.
28420 * math/w_lgammal.c: Likewise.
28421 * math/w_lgammal_r.c: Likewise.
28422 * math/w_sinh.c: Likewise.
28423 * math/w_sinhf.c: Likewise.
28424 * math/w_sinhl.c: Likewise.
28425 * math/w_tgamma.c: Likewise.
28426 * math/w_tgammaf.c: Likewise.
28427 * math/w_tgammal.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28429 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28430 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28431 Minor optimizations. Pretty printing. Remove cruft.
28432 * sysdeps/i386/fpu/e_acosf.S: Likewise.
28433 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28434 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28435 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28436 * sysdeps/i386/fpu/e_acosl.c: Likewise.
28437 * sysdeps/i386/fpu/e_asin.S: Likewise.
28438 * sysdeps/i386/fpu/e_asinf.S: Likewise.
28439 * sysdeps/i386/fpu/e_atan2.S: Likewise.
28440 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28441 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28442 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28443 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28444 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28445 * sysdeps/i386/fpu/e_exp10.S: Likewise.
28446 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28447 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28448 * sysdeps/i386/fpu/e_exp2.S: Likewise.
28449 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28450 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28451 * sysdeps/i386/fpu/e_fmod.S: Likewise.
28452 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28453 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28454 * sysdeps/i386/fpu/e_hypot.S: Likewise.
28455 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28456 * sysdeps/i386/fpu/e_log.S: Likewise.
28457 * sysdeps/i386/fpu/e_log10.S: Likewise.
28458 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28459 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28460 * sysdeps/i386/fpu/e_log2.S: Likewise.
28461 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28462 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28463 * sysdeps/i386/fpu/e_logf.S: Likewise.
28464 * sysdeps/i386/fpu/e_logl.S: Likewise.
28465 * sysdeps/i386/fpu/e_pow.S: Likewise.
28466 * sysdeps/i386/fpu/e_powf.S: Likewise.
28467 * sysdeps/i386/fpu/e_powl.S: Likewise.
28468 * sysdeps/i386/fpu/e_remainder.S: Likewise.
28469 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28470 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28471 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28472 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28473 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28474 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28475 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28476 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28478 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28484 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28493 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28494 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28495 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28498 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28499 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28500 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28501 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28502 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28503 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28504 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28505 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28506 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28507 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28508 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28509 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28510 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28511 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28512 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28513 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28514 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28515 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28516 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28517 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28518 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28519 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28520 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28521 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28522 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28523 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28524 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28525 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28526 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28527 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28528 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28529 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28530 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28531 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28532 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28533 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28534 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28535 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28536 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28537 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28538 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28539 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28540 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28541 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28542 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28544 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28545 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28546 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28547 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28548 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28549 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28550 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28551 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28552 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28553 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28554 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28555 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28556 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28557 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28558 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28559 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28560 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28561 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28562 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28563 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28564 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28565 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28566 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28567 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28568 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28569 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28570 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28571 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28572 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28573 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28574 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28575 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28576 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28577 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28578 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28579 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28580 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28581 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28582 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28583 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28584 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28585 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28586 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28587 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
28588 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28589 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28590 (__isnanf): Likewise.
28591 (__isinf_ns): Likewise.
28592 (__isinf_nsf): Likewise.
28593 (__finite): Likewise.
28594 (__finitef): Likewise.
28595 (__ieee754_sqrt): Define as macro.
28596 (__ieee754_sqrtf): Define as macro.
28597 (__ieee754_sqrtl): Define as macro.
28598 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28599 inlined copy.
28600 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28601 __FINITE_MATH_ONLY__ consistent.
28602 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28603
12cc2fcd
AS
286042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
28605
a843a204
AS
28606 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28607 of rawmemchr.
28608
12cc2fcd
AS
28609 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28610
c853acd5
UD
286112011-10-09 Ulrich Drepper <drepper@gmail.com>
28612
28613 * po/ja.po: Update from translation team.
28614
c658d255
RM
286152011-10-08 Roland McGrath <roland@hack.frob.com>
28616
110946e4
RM
28617 * locale/programs/locarchive.c (prepare_address_space): New function.
28618 (create_archive, enlarge_archive, open_archive): Use it.
28619
50604220
RM
28620 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28621 inside [SHARED], where it is used.
28622
c658d255
RM
28623 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28624
28625 * nss/getent.c (netgroup_keys): Remove unused variable.
28626 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28627
6a621eb7
UD
286282011-10-08 Ulrich Drepper <drepper@gmail.com>
28629
7edb55ce
UD
28630 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28631 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28633 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28634 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28635 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28636 * math/Makefile (libm-calls): Add s_isinf_ns.
28637 * math/divtc3.c: Use __isinf_nsl instead of isinf.
28638 * math/multc3.c: Likewise.
28639 * math/s_casin.c: Likewise.
28640 * math/s_casinf.c: Likewise.
28641 * math/s_casinl.c: Likewise.
28642 * math/s_ccos.c: Likewise.
28643 * math/s_ccosf.c: Likewise.
28644 * math/s_ccosl.c: Likewise.
28645 * math/s_ctan.c: Likewise.
28646 * math/s_ctanf.c: Likewise.
28647 * math/s_ctanh.c: Likewise.
28648 * math/s_ctanhf.c: Likewise.
28649 * math/s_ctanhl.c: Likewise.
28650 * math/s_ctanl.c: Likewise.
28651 * math/w_fmod.c: Likewise.
28652 * math/w_fmodf.c: Likewise.
28653 * math/w_fmodl.c: Likewise.
28654 * math/w_remainder.c: Likewise.
28655 * math/w_remainderf.c: Likewise.
28656 * math/w_remainderl.c: Likewise.
28657 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28658 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28659 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28660 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28661 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28662 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28663 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28664 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28665
187da0ae
UD
28666 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28667 of the number.
28668 * stdio-common/printf_fphex.c: Likewise.
28669 * stdio-common/printf_size.c: Likewise.
28670
9277c064
UD
28671 * math/e_exp10.c: Include math_private.h using <...> not "...".
28672 * math/e_exp10f.c: Likewise.
28673 * math/e_exp10l.c: Likewise.
28674 * math/e_exp2l.c: Likewise.
28675 * math/e_j0l.c: Likewise.
28676 * math/e_j1l.c: Likewise.
28677 * math/e_jnl.c: Likewise.
28678 * math/e_lgammal_r.c: Likewise.
28679 * math/e_rem_pio2l.c: Likewise.
28680 * math/e_scalb.c: Likewise.
28681 * math/e_scalbf.c: Likewise.
28682 * math/e_scalbl.c: Likewise.
28683 * math/k_cosl.c: Likewise.
28684 * math/k_sinl.c: Likewise.
28685 * math/k_tanl.c: Likewise.
28686 * math/s_cacoshf.c: Likewise.
28687 * math/s_catan.c: Likewise.
28688 * math/s_catanf.c: Likewise.
28689 * math/s_catanh.c: Likewise.
28690 * math/s_catanhf.c: Likewise.
28691 * math/s_catanhl.c: Likewise.
28692 * math/s_catanl.c: Likewise.
28693 * math/s_ccosh.c: Likewise.
28694 * math/s_ccoshf.c: Likewise.
28695 * math/s_ccoshl.c: Likewise.
28696 * math/s_cexp.c: Likewise.
28697 * math/s_cexpf.c: Likewise.
28698 * math/s_cexpl.c: Likewise.
28699 * math/s_clog.c: Likewise.
28700 * math/s_clog10.c: Likewise.
28701 * math/s_clog10f.c: Likewise.
28702 * math/s_clog10l.c: Likewise.
28703 * math/s_clogf.c: Likewise.
28704 * math/s_clogl.c: Likewise.
28705 * math/s_csin.c: Likewise.
28706 * math/s_csinf.c: Likewise.
28707 * math/s_csinh.c: Likewise.
28708 * math/s_csinhf.c: Likewise.
28709 * math/s_csinhl.c: Likewise.
28710 * math/s_csinl.c: Likewise.
28711 * math/s_csqrt.c: Likewise.
28712 * math/s_csqrtf.c: Likewise.
28713 * math/s_csqrtl.c: Likewise.
28714 * math/s_ctan.c: Likewise.
28715 * math/s_ctanf.c: Likewise.
28716 * math/s_ctanh.c: Likewise.
28717 * math/s_ctanhf.c: Likewise.
28718 * math/s_ctanhl.c: Likewise.
28719 * math/s_ctanl.c: Likewise.
28720 * math/s_ldexp.c: Likewise.
28721 * math/s_ldexpf.c: Likewise.
28722 * math/s_ldexpl.c: Likewise.
28723 * math/s_significand.c: Likewise.
28724 * math/s_significandf.c: Likewise.
28725 * math/s_significandl.c: Likewise.
28726 * math/w_acos.c: Likewise.
28727 * math/w_acosf.c: Likewise.
28728 * math/w_acosh.c: Likewise.
28729 * math/w_acoshf.c: Likewise.
28730 * math/w_acoshl.c: Likewise.
28731 * math/w_acosl.c: Likewise.
28732 * math/w_asin.c: Likewise.
28733 * math/w_asinf.c: Likewise.
28734 * math/w_asinl.c: Likewise.
28735 * math/w_atan2.c: Likewise.
28736 * math/w_atan2f.c: Likewise.
28737 * math/w_atan2l.c: Likewise.
28738 * math/w_atanh.c: Likewise.
28739 * math/w_atanhf.c: Likewise.
28740 * math/w_atanhl.c: Likewise.
28741 * math/w_cosh.c: Likewise.
28742 * math/w_coshf.c: Likewise.
28743 * math/w_coshl.c: Likewise.
28744 * math/w_dremf.c: Likewise.
28745 * math/w_exp10.c: Likewise.
28746 * math/w_exp10f.c: Likewise.
28747 * math/w_exp10l.c: Likewise.
28748 * math/w_exp2.c: Likewise.
28749 * math/w_exp2f.c: Likewise.
28750 * math/w_fmod.c: Likewise.
28751 * math/w_fmodf.c: Likewise.
28752 * math/w_fmodl.c: Likewise.
28753 * math/w_hypot.c: Likewise.
28754 * math/w_hypotf.c: Likewise.
28755 * math/w_hypotl.c: Likewise.
28756 * math/w_j0.c: Likewise.
28757 * math/w_j0f.c: Likewise.
28758 * math/w_j0l.c: Likewise.
28759 * math/w_j1.c: Likewise.
28760 * math/w_j1f.c: Likewise.
28761 * math/w_j1l.c: Likewise.
28762 * math/w_jn.c: Likewise.
28763 * math/w_jnf.c: Likewise.
28764 * math/w_jnl.c: Likewise.
28765 * math/w_lgamma.c: Likewise.
28766 * math/w_lgamma_r.c: Likewise.
28767 * math/w_lgammaf.c: Likewise.
28768 * math/w_lgammaf_r.c: Likewise.
28769 * math/w_lgammal.c: Likewise.
28770 * math/w_lgammal_r.c: Likewise.
28771 * math/w_log.c: Likewise.
28772 * math/w_log10.c: Likewise.
28773 * math/w_log10f.c: Likewise.
28774 * math/w_log10l.c: Likewise.
28775 * math/w_log2.c: Likewise.
28776 * math/w_log2f.c: Likewise.
28777 * math/w_log2l.c: Likewise.
28778 * math/w_logf.c: Likewise.
28779 * math/w_logl.c: Likewise.
28780 * math/w_pow.c: Likewise.
28781 * math/w_powf.c: Likewise.
28782 * math/w_powl.c: Likewise.
28783 * math/w_remainder.c: Likewise.
28784 * math/w_remainderf.c: Likewise.
28785 * math/w_remainderl.c: Likewise.
28786 * math/w_scalb.c: Likewise.
28787 * math/w_scalbf.c: Likewise.
28788 * math/w_scalbl.c: Likewise.
28789 * math/w_sinh.c: Likewise.
28790 * math/w_sinhf.c: Likewise.
28791 * math/w_sinhl.c: Likewise.
28792 * math/w_sqrt.c: Likewise.
28793 * math/w_sqrtf.c: Likewise.
28794 * math/w_sqrtl.c: Likewise.
28795 * math/w_tgamma.c: Likewise.
28796 * math/w_tgammaf.c: Likewise.
28797 * math/w_tgammal.c: Likewise.
28798
6a621eb7
UD
28799 * po/ja.po: Update from translation team.
28800
bf582445
AJ
288012011-09-29 Andreas Jaeger <aj@suse.de>
28802
f9efbf3a
AJ
28803 [BZ #13179]
28804 * sunrpc/netname.c (netname2host): Fix logic.
28805
bf582445
AJ
28806 [BZ #6779]
28807 [BZ #6783]
28808 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28809 correctly.
28810 * math/w_remainder.c (__remainder): Likewise.
28811 * math/w_remainderf.c (__remainderf): Likewise.
28812 * math/libm-test.inc (remainder_test): Add test cases.
28813
48693bea
AK
288142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28815
28816 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
28817 sdiv_qrnnd.
28818
42622229
LD
288192011-10-07 Ulrich Drepper <drepper@gmail.com>
28820
28821 * string/test-memcmp.c: Avoid unncessary #defines.
28822 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28823
093ecf92
LD
288242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28825
28826 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28827 Use new sse2 version for core i3 - i7 as it's faster
28828 than sse42 version.
28829 (bit_Prefer_PMINUB_for_stringop): New.
28830 * sysdeps/x86_64/rawmemchr.S: Update.
28831 Replace with faster SSE2 version.
28832 * sysdeps/x86_64/memrchr.S: New file.
28833 * sysdeps/x86_64/memchr.S: Update.
28834 Replace with faster SSE2 version.
28835
fde56e5c
MP
288362011-09-12 Marek Polacek <mpolacek@redhat.com>
28837
28838 * elf/dl-load.c (lose): Add cast to avoid warning.
28839
21fd49a9
UD
288402011-10-07 Ulrich Drepper <drepper@gmail.com>
28841
5a06e643
UD
28842 * po/ca.po: Update from translation team.
28843
684ae515
UD
28844 * inet/getnetgrent_r.c: Hook up nscd.
28845 * nscd/Makefile (routines): Add nscd_netgroup.
28846 (nscd-modules): Add netgroupcache.
28847 (CFLAGS-netgroupcache.c): Define.
28848 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28849 (cache_search): Add const to second parameter.
28850 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28851 INNETGR.
28852 (dbs): Add netgrdb entry.
28853 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28854 (verify_persistent_db): Handle netgrdb.
28855 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28856 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28857 GETFDNETGR.
28858 (netgroup_response_header): Define.
28859 (innetgroup_response_header): Define.
28860 (datahead): Add netgroup_response_header and innetgroup_response_header
28861 elements.
28862 * nscd/nscd.conf: Add entries for netgroup cache.
28863 * nscd/nscd.h (dbtype): Add netgrdb.
28864 (_PATH_NSCD_NETGROUP_DB): Define.
28865 (netgroup_iov_disabled): Declare.
28866 (xmalloc, xcalloc, xrealloc): Move declarations here.
28867 (cache_search): Adjust prototype.
28868 Add netgroup-related prototypes.
28869 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28870 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28871 (__nscd_innetgr): Declare.
28872 * nscd/selinux.c (perms): Use access_vector_t as element type and
28873 add netgroup-related initializers.
28874 * nscd/netgroupcache.c: New file.
28875 * nscd/nscd_netgroup.c: New file.
28876 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28877 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28878 For four parameters use innetgr.
28879 * nss/nss_files/files-init.c: Add definition and callback for netgr.
28880 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28881 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28882 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28883
21fd49a9
UD
28884 * nscd/connections.c (register_traced_file): Don't register file
28885 for disabled databases.
28886
054c0457
UD
288872011-10-06 Ulrich Drepper <drepper@gmail.com>
28888
32b63198
UD
28889 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28890
054c0457
UD
28891 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28892 from tree and freeing node.
28893
64031225
JO
288942011-09-25 Jiri Olsa <jolsa@redhat.com>
28895
28896 * nss/nsswitch.c (__nss_database_lookup): Handle
28897 nss_parse_service_list out of memory case.
28898
0490345c
JO
288992011-09-15 Jiri Olsa <jolsa@redhat.com>
28900
28901 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28902 out of memory case.
28903
3a62d00d
AS
289042011-10-04 Andreas Schwab <schwab@redhat.com>
28905
28906 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28907 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28908 pass it down.
28909 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28910 elf_machine_rela, elf_machine_lazy_rel.
28911 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28912 (ELF_DYNAMIC_DO_REL): Likewise.
28913 (ELF_DYNAMIC_DO_RELA): Likewise.
28914 (ELF_DYNAMIC_RELOCATE): Likewise.
28915 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28916 to ELF_DYNAMIC_DO_REL.
28917 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28918 (dl_main): In trace mode always set __RTLD_NOIFUNC.
28919 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28920 elf_machine_rela.
28921 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28922 skip_ifunc, don't call ifunc function if non-zero.
28923 (elf_machine_rela): Likewise.
28924 (elf_machine_lazy_rel): Likewise.
28925 (elf_machine_lazy_rela): Likewise.
28926 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28927 (elf_machine_lazy_rel): Likewise.
28928 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28929 Likewise.
28930 (elf_machine_lazy_rel): Likewise.
28931 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28932 Likewise.
28933 (elf_machine_lazy_rel): Likewise.
28934 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28935 (elf_machine_lazy_rel): Likewise.
28936 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28937 (elf_machine_lazy_rel): Likewise.
28938 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28939 (elf_machine_lazy_rel): Likewise.
28940 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28941 (elf_machine_lazy_rel): Likewise.
28942 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28943 (elf_machine_lazy_rel): Likewise.
28944 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28945 (elf_machine_lazy_rel): Likewise.
28946
68577918
UD
289472011-09-28 Ulrich Drepper <drepper@gmail.com>
28948
28949 * nss/nss_files/files-init.c (_nss_files_init): Use static
28950 initialization for all the *_traced_file variables.
28951
68822d74
AS
289522011-09-28 Andreas Schwab <schwab@redhat.com>
28953
28954 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28955
2056100b
RM
289562011-09-27 Roland McGrath <roland@hack.frob.com>
28957
28958 [BZ #13226]
28959 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28960
32c76b63
AS
289612011-09-27 Andreas Schwab <schwab@redhat.com>
28962
28963 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28964 Reread the line before reparsing it.
28965
bf972c9d
AS
289662011-09-26 Andreas Schwab <schwab@redhat.com>
28967
28968 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28969
e057a1b5
JM
289702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
28971 Maxim Kuvyrkov <maxim@codesourcery.com>
28972 Joseph Myers <joseph@codesourcery.com>
28973
28974 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28975 if needed for __stack_chk_guard.
28976
bc7e1c36
RM
289772011-09-19 Roland McGrath <roland@hack.frob.com>
28978
ecb1482f
RM
28979 * sysdeps/posix/spawni.c (script_execute): Always define it.
28980 It will be optimized away if unused.
28981 (maybe_script_execute): New function.
28982 (__spawni): Call it.
28983
bc7e1c36
RM
28984 * Makerules: Don't include tls.make.
28985 (config-tls): Always set to thread.
28986 * tls.make.c: File removed.
28987
1c3b002b
MF
289882011-09-19 Mike Frysinger <vapier@gentoo.org>
28989
28990 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28991 * config.make.in (CPPFLAGS-config): New substituted variable.
28992
2840865d
UD
289932011-09-15 Ulrich Drepper <drepper@gmail.com>
28994
88738eb6
UD
28995 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28996
cbf645a6 28997 [BZ #13192]
2840865d
UD
28998 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28999 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29000
b402e91a
RM
290012011-09-15 Roland McGrath <roland@hack.frob.com>
29002
29003 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29004 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29006 (CALL_FAIL): Likewise.
29007 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29008 (CALL_FAIL): Macro removed.
29009 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29010
4c1a1f71
UD
290112011-09-15 Ulrich Drepper <drepper@gmail.com>
29012
29013 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29014 for __FINITE_MATH_ONLY__ == 1.
29015
edc121be
AS
290162011-09-15 Andreas Schwab <schwab@redhat.com>
29017
29018 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29019 __ieee754_sqrt instead of sqrt.
29020 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29021 __ieee754_sqrtf instead of sqrtf.
29022 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29023 __floorf instead of floorf.
29024 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29025 __floorf, __truncf instead of floorf, truncf.
29026
cd205654
UD
290272011-09-14 Ulrich Drepper <drepper@gmail.com>
29028
ee4d0315
UD
29029 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29030
cd205654
UD
29031 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29032 __extern_always_inline.
29033 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29034 32-bit.
29035
48b67d71
AS
290362011-09-14 Andreas Schwab <schwab@redhat.com>
29037
29038 * elf/rtld.c (dl_main): Also relocate in dependency order when
29039 doing symbol dependency testing.
29040
1ae12c75
AS
290412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
29042
29043 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29044 Always define `refsym'.
29045
995a80df
AS
290462011-09-13 Andreas Schwab <schwab@redhat.com>
29047
e529793b
AS
29048 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29049 (__FD_ELT): Renamed from __FDELT.
29050 * misc/bits/select2.h (__FD_ELT): Likewise.
29051 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29052 __FD_MASK instead of __FDELT, __FDMASK.
29053 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29054 Likewise.
29055 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29056 Likewise.
29057
52d4fef8
AS
29058 * elf/Makefile (gen-ldd): Fix pattern.
29059
995a80df
AS
29060 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29061 (init_tls): Likewise.
29062
8682f8b0
UD
290632011-09-12 Ulrich Drepper <drepper@gmail.com>
29064
29065 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29066
de82006d
AS
290672011-09-12 Andreas Schwab <schwab@redhat.com>
29068
a7c8e6a1
AS
29069 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29070 `struct cmsghdr *' instead of `void *'.
29071 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29072 Likewise.
29073
0f31fe77
AS
290742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
29075
29076 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29077 if non-absolute.
29078 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29079 ldd_rewrite_script.
0f31fe77 29080
32b4c839
UD
290812011-09-11 Ulrich Drepper <drepper@gmail.com>
29082
83cd1420
UD
29083 * configure.in: Remove --with-tls option.
29084 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29085 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29086 out in case it is missing.
29087 * sysdeps/ia64/elf/configure.in: Likewise.
29088 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29089 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29090 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29091 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29092 * sysdeps/sh/elf/configure.in: Likewise.
29093 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29094 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29095 * sysdeps/x86_64/elf/configure.in: Likewise.
29096 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29097 * sysdeps/mach/hurd/tls.h: Likewise.
29098
633f745d
UD
29099 [BZ #13067]
29100 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29101
f318beb8
UD
29102 [BZ #13090]
29103 * configure.in: Fix use of AC_INIT.
29104
32b4c839
UD
29105 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29106
3ce1f295
UD
291072011-09-10 Ulrich Drepper <drepper@gmail.com>
29108
bb016596
UD
29109 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29110 __set_errno.
8e58439c
UD
29111 * malloc/hooks.c: Likewise.
29112
aebae053 29113 [BZ #11929]
02d46fc4
UD
29114 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
29115 variables statically.
29116 (narenas): Initialize.
29117 (list_lock): Initialize.
bb016596
UD
29118 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
29119 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
29120 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29121 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
29122 Add initializers to main_arena and mp_.
29123 (malloc_state): Remove pagesize member. Change all users to use
29124 GLRO(dl_pagesize).
29125
29126 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29127 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
29128 is always initialized.
29129
22a89187
UD
29130 * malloc/malloc.c: Removed unused configurations and dead code.
29131 * malloc/arena.c: Likewise.
29132 * malloc/hooks.c: Likewise.
02d46fc4 29133 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 29134
d063d164
UD
29135 * include/tls.h: Removed. USE___THREAD must always be defined.
29136 * bits/libc-tsd.h: Don't handle !USE___THREAD.
29137 * elf/dl-libc.c: Likewise.
29138 * elf/dl-tsd.c: Likewise.
29139 * include/errno.h: Likewise.
29140 * include/netdb.h: Likewise.
29141 * include/resolv.h: Likewise.
29142 * inet/herrno-loc.c: Likewise.
29143 * inet/herrno.c: Likewise.
29144 * malloc/arena.c: Likewise.
29145 * malloc/hooks.c: Likewise.
29146 * malloc/malloc.c: Likewise.
29147 * resolv/res-state.c: Likewise.
29148 * resolv/res_libc.c: Likewise.
29149 * sysdeps/i386/dl-machine.h: Likewise.
29150 * sysdeps/ia64/dl-machine.h: Likewise.
29151 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29152 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29153 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29154 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29155 * sysdeps/sh/dl-machine.h: Likewise.
29156 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29157 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29158 * sysdeps/unix/i386/sysdep.S: Likewise.
29159 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29160 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29161 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29162 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29164 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29165 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29166 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29167 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29169 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29170 * sysdeps/x86_64/dl-machine.h: Likewise.
29171 * tls.make.c: Likewise.
29172
3ce1f295
UD
29173 * configure.in: Remove --with-__thread option. Make tests for
29174 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29175 tls_model attribute fail if no support is available. Remove
29176 USE_IN_LIBIO.
29177 * Makeconfig: Adjust for dropped configure option. All features are
29178 now mandatory.
29179 * Makerules: Likewise.
29180 * Versions.def: Likewise.
29181 * argp/argp-fmtstream.c: Likewise.
29182 * argp/argp-fmtstream.h: Likewise.
29183 * argp/argp-help.c: Likewise.
29184 * assert/assert.c: Likewise.
29185 * config.h.in: Likewise.
29186 * config.make.in: Likewise.
29187 * configure: Likewise.
29188 * configure.in: Likewise.
29189 * csu/Versions: Likewise.
29190 * csu/init.c: Likewise.
29191 * elf/tst-audit2.c: Likewise.
29192 * elf/tst-tls10.c: Likewise.
29193 * elf/tst-tls10.h: Likewise.
29194 * elf/tst-tls11.c: Likewise.
29195 * elf/tst-tls12.c: Likewise.
29196 * elf/tst-tls14.c: Likewise.
29197 * elf/tst-tlsmod11.c: Likewise.
29198 * elf/tst-tlsmod12.c: Likewise.
29199 * elf/tst-tlsmod13.c: Likewise.
29200 * elf/tst-tlsmod13a.c: Likewise.
29201 * elf/tst-tlsmod14a.c: Likewise.
29202 * elf/tst-tlsmod15b.c: Likewise.
29203 * elf/tst-tlsmod16a.c: Likewise.
29204 * elf/tst-tlsmod16b.c: Likewise.
29205 * elf/tst-tlsmod7.c: Likewise.
29206 * elf/tst-tlsmod8.c: Likewise.
29207 * elf/tst-tlsmod9.c: Likewise.
29208 * gmon/gmon.c: Likewise.
29209 * grp/fgetgrent_r.c: Likewise.
29210 * grp/putgrent.c: Likewise.
29211 * hurd/fopenport.c: Likewise.
29212 * include/libc-symbols.h: Likewise.
29213 * include/tls.h: Likewise.
29214 * intl/gettextP.h: Likewise.
29215 * intl/loadinfo.h: Likewise.
29216 * locale/global-locale.c: Likewise.
29217 * locale/localeinfo.h: Likewise.
29218 * mach/devstream.c: Likewise.
29219 * malloc/arena.c: Likewise.
29220 * malloc/set-freeres.c: Likewise.
29221 * misc/err.c: Likewise.
29222 * misc/getttyent.c: Likewise.
29223 * misc/mntent_r.c: Likewise.
29224 * posix/getopt.c: Likewise.
29225 * posix/wordexp.c: Likewise.
29226 * pwd/fgetpwent_r.c: Likewise.
29227 * resolv/Versions: Likewise.
29228 * resolv/res_hconf.c: Likewise.
29229 * shadow/fgetspent_r.c: Likewise.
29230 * shadow/putspent.c: Likewise.
29231 * stdio-common/printf_fphex.c: Likewise.
29232 * stdio-common/tmpfile.c: Likewise.
29233 * stdlib/abort.c: Likewise.
29234 * stdlib/fmtmsg.c: Likewise.
29235 * sunrpc/auth_unix.c: Likewise.
29236 * sunrpc/clnt_perr.c: Likewise.
29237 * sunrpc/clnt_tcp.c: Likewise.
29238 * sunrpc/clnt_udp.c: Likewise.
29239 * sunrpc/clnt_unix.c: Likewise.
29240 * sunrpc/openchild.c: Likewise.
29241 * sunrpc/svc_simple.c: Likewise.
29242 * sunrpc/svc_tcp.c: Likewise.
29243 * sunrpc/svc_udp.c: Likewise.
29244 * sunrpc/svc_unix.c: Likewise.
29245 * sunrpc/xdr.c: Likewise.
29246 * sunrpc/xdr_array.c: Likewise.
29247 * sunrpc/xdr_rec.c: Likewise.
29248 * sunrpc/xdr_ref.c: Likewise.
29249 * sunrpc/xdr_stdio.c: Likewise.
29250
1248c1c4
PB
292512011-09-09 Ulrich Drepper <drepper@gmail.com>
29252
29253 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29254
292552011-07-03 Andreas Jaeger <aj@suse.de>
29256
29257 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29258 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29259 regenerate with gen-libm-tests.pl.
29260
292612010-05-12 Petr Baudis <pasky@suse.cz>
29262
29263 [BZ #11589]
29264 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29265 around j0() zero points by switching to j1().
29266 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29267 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29268 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29269 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29270
f22e1074
UD
292712011-09-09 Ulrich Drepper <drepper@gmail.com>
29272
f19009c1
UD
29273 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29274 instead of 0.
29275 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 29276 instead of 0.
f19009c1
UD
29277 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29278 Patch in part by Pavel Roskin <proski@gnu.org>.
29279
3f8cc204
UD
29280 [BZ #13138]
29281 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29282 realloc.
29283 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
29284 Free memory block if necessary.
29285
f22e1074
UD
29286 [BZ #12847]
29287 * libio/genops.c (INTDEF): For string streams the _lock pointer can
29288 be NULL. Don't lock in this case.
29289
0a2349f9
RM
292902011-09-09 Roland McGrath <roland@hack.frob.com>
29291
29292 * elf/elf.h (ELFOSABI_GNU): New macro.
29293 (ELFOSABI_LINUX): Define to that.
29294
f3cdd467
DZ
292952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
29296
29297 * string/strncat.c (strncat): Undef the symbol in case it has been
29298 defined in bits/string.h.
29299
74718d13
UD
293002011-09-09 Ulrich Drepper <drepper@gmail.com>
29301
633e9e0f
UD
29302 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29303
0a2349f9 29304 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
29305 link map.
29306
f9924780
AJ
293072011-08-17 Andreas Jaeger <aj@suse.de>
29308
29309 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29310
7f5517aa
PP
293112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
29312 Ian Lance Taylor <iant@google.com>
29313
29314 * math/libm-test.inc (lround_test): New testcase.
29315 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29316
762011fe
UD
293172011-09-08 Ulrich Drepper <drepper@gmail.com>
29318
92963737
UD
29319 * Makefile: Remove support for automatic cvs check-ins.
29320 * Makerules: Likewise.
29321 * config.make.in: Likewise.
29322 * configure.in: Likewise.
29323 * intl/Makefile: Likewise.
29324 * locale/Makefile: Likewise.
29325 * po/Makefile: Likewise.
29326 * posix/Makefile: Likewise.
29327 * sysdeps/gnu/Makefile: Likewise.
29328 * sysdeps/mach/hurd/Makefile: Likewise.
29329 * sysdeps/sparc/sparc32/Makefile: Likewise.
29330
b0727fd8
JS
29331 [BZ #13118]
29332 * posix/Makefile (bug-regex32-ENV): Define.
29333 Patch by John Stanley <jpsinthemix@verizon.net>.
29334
a0f33f99
UD
29335 * misc/Makefile (headers): Add bits/select2.h.
29336 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29337 * misc/bits/select2.h: New file.
29338 * include/bits/select2.h: New file.
29339 * debug/Makefile (routines): Add fdelt_chk.
29340 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29341 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29342 FD_ISSET.
29343 * debug/fdelt_chk.c: New file.
29344
762011fe
UD
29345 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
29346 * wcsmbs/test-wmemcmp.c: Likewise.
29347 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 29348 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
29349
293502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29351
29352 * string/Makefile (strop-tests): Add memcmp.
29353 * string/test-wmemcmp.c: New file.
29354 * string/test-memcmp.c: Add wmemcmp support.
29355
7f513ec8
RM
293562011-09-08 Roland McGrath <roland@hack.frob.com>
29357
0442afb4
RM
29358 [BZ #13153]
29359 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29360 2011-07-19 change.
29361
7f513ec8
RM
29362 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29363 garbage value in a __mach_port_mod_refs call in the cases of the
29364 task-self and thread-self ports.
29365
a12b2239
ST
293662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
29367
29368 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29369
610f9ab4
AS
293702011-09-08 Andreas Schwab <schwab@redhat.com>
29371
7f513ec8 29372 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 29373
48882a1a
LD
293742011-09-07 Ulrich Drepper <drepper@gmail.com>
29375
b49865be
UD
29376 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29377
fdc86bc9
UD
29378 * elf/dl-libc.c (dlerror_run): Pass back error code from
29379 dl_catch_error.
29380
c966526a
UD
29381 [BZ #13123]
29382 * elf/dl-load.c (lose): Free l_origin if it is valid.
29383
48882a1a
LD
29384 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29385 names.
29386 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29387 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29388 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29389 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29390 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29391 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29392
77a2a8b4
AZ
293932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29394
29395 * sysdeps/powerpc/fpu/e_hypot.c: New file.
29396 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29397 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29398 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29399 * sysdeps/powerpc/fpu/k_cosf.c: New file.
29400 * sysdeps/powerpc/fpu/k_sinf.c: New file.
29401 * sysdeps/powerpc/fpu/s_cosf.c: New file.
29402 * sysdeps/powerpc/fpu/s_sinf.c: New file.
29403 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29404 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29405
24f579d8
AM
294062011-08-15 Alan Modra <amodra@gmail.com>
29407
29408 [BZ #13092]
29409 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29410 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29411 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
29412 ppc_mcount to static-only-routines.
29413 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29414 __mcount_internal.
29415 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29416 __mcount_internal with usual JUMPTARGET. Remove useless nop.
29417
3d4837df
UD
294182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
29419
29420 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29421 for finite and infinity parameters.
29422
22700377
WS
294232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29424
29425 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29426 and add nop instructions for throughput optimization.
29427 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29428
5025581e
WS
294292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
29430
29431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29432 aligned copy for power7 with vector-scalar instructions.
29433 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29434
08a300c9
L
294352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
29436
29437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29438 AVX check.
29439
59178ef9
AS
294402011-09-07 Andreas Schwab <schwab@redhat.com>
29441
29442 [BZ #13144]
29443 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29444 last change.
29445
e38ba7ab
UD
294462011-09-07 Ulrich Drepper <drepper@gmail.com>
29447
29448 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29449 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29450 syscall wrapper around clock_gettime in __vdso_clock_gettime.
29451 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29452 clock_gettime.
29453
d53a73ac
UD
294542011-09-06 Ulrich Drepper <drepper@gmail.com>
29455
fc8bffcc
UD
29456 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29457 Forgot to demangle the pointer.
29458
ceaa0c5d
UD
29459 * sysdeps/i386/sysdep.h: Define atom_text_section.
29460 * sysdeps/x86_64/sysdep.h: Likewise.
29461 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29462 section with atom_text_section.
29463 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29464 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29465 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29467 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29468
a77d3c17
UD
29469 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29470 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29471 already be defined. Change to take two parameters and don't assign
29472 result to variable. Adjust all users.
29473 Define INTERNAL_GETTIME if not already defined.
29474 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29475 call.
29476 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29477 HAVE_CLOCK_GETTIME_VSYSCALL.
29478 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29479
d53a73ac
UD
29480 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29481 gettimeofday vsyscall, just use time.
29482
a8f84144
AS
294832011-09-06 Andreas Schwab <schwab@redhat.com>
29484
29485 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29486 <errno.h>.
29487
ef606249
UD
294882011-09-06 Ulrich Drepper <drepper@gmail.com>
29489
29490 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29491 syscall on x86-64.
29492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29493 syscall.
29494 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29495 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29496 syscall if possible.
29497
6585cb60
UD
294982011-09-05 Ulrich Drepper <drepper@gmail.com>
29499
29500 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29501 e_ident. Don't pass to find_mapsXX.
29502 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29503
a5f524e4
LD
295042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29505
29506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29507 strchr-sse2-no-bsf strrchr-sse2-no-bsf
29508 * sysdeps/x86_64/multiarch/strchr.S: Update.
29509 Check bit_slow_BSF bit.
29510 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29511 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29512 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29513
554881ef
UD
295142011-09-05 Ulrich Drepper <drepper@gmail.com>
29515
d96de963
UD
29516 [BZ #13134]
29517 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29518 before glibc 2.15.
29519 (tryshell): Define.
29520 (__spawni): Change last parameter to be flag. Test
29521 SPAWN_XFLAGS_USE_PATH flag to use path or not.
29522 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29523 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29524 * posix/spawni.c: Likewise.
29525 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29526 * posix/spawnp.c: Likewise. Change normal version to use
29527 SPAWN_XFLAGS_USE_PATH.
29528 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29529 SPAWN_XFLAGS_TRY_SHELL.
29530
d48e5868
UD
29531 [BZ #13150]
29532 * posix/glob.h: Remove gcc 1.x support.
29533
554881ef
UD
29534 [BZ #13068]
29535 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29536
693fb948
LD
295372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29538
29539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29540 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29541 strrchr-sse2-bsf
29542 * sysdeps/i386/i686/multiarch/strchr.S: New file.
29543 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29544 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29545 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29546 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29547 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29548
1b48c537
UD
295492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29550
49d42c37
UD
29551 * sysdeps/x86_64/wcscmp.S: New file.
29552
1b48c537
UD
29553 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29554 wcscmp-c wcscmp-sse2
29555 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29556 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29557 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29558 * wcsmbs/wcscmp.c: Allow renaming.
29559
15c95c5d
DM
295602011-09-05 David S. Miller <davem@davemloft.net>
29561
29562 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29563 stack slot, rather than the struct return pointer slot.
29564 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29565 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29567 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29568
2f0ad8f3
UD
295692011-09-05 Ulrich Drepper <drepper@gmail.com>
29570
d88ae418
UD
29571 * po/ja.po: Update from translation team.
29572
2f0ad8f3
UD
29573 [BZ #13144]
29574 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29575 kernel in 64-bit binaries.
29576
5f4318d1
DM
295772011-09-01 David S. Miller <davem@davemloft.net>
29578
29579 * elf/elf.h (HWCAP_SPARC_*): Move to..
29580 * sysdeps/sparc/sysdep.h: this new file and add new values.
29581 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29582 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29583 _DL_HWCAP_COUNT to 24.
29584 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29585 entries.
29586 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29587 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29588 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29589 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29590 instead of magic constants.
29591 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29592
3ba57516
DM
295932011-08-31 David S. Miller <davem@davemloft.net>
29594
29595 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29597 Reimplement to do errno handling inline.
29598 (SYSCALL_ERROR_HANDLER): New macro.
29599 (__SYSCALL_STRING): Do not do errno handling in asm.
29600 (__CLONE_SYSCALL_STRING): Delete.
29601 (__INTERNAL_SYSCALL_STRING): Delete.
29602 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29603 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29604 (PSEUDO): Reimplement to do errno handling inline.
29605 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29606 (SYSCALL_ERROR_HANDLER): New macro.
29607 (__SYSCALL_STRING): Do not do errno handling in asm.
29608 (__CLONE_SYSCALL_STRING): Delete.
29609 (__INTERNAL_SYSCALL_STRING): Delete.
29610 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29611 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29612 i386.
29613 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29614 (inline_syscall*): Add 'err' argument.
29615 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29616 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29617 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29618 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29619
29620 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29621 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29622
2bc17433
AS
296232011-08-30 Andreas Schwab <schwab@redhat.com>
29624
29625 * elf/rtld.c (dl_main): Relocate objects in dependency order.
29626
fbeb5f4d
JO
296272011-08-29 Jiri Olsa <jolsa@redhat.com>
29628
29629 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29630 directive.
29631
ad69cc26
DM
296322011-08-24 David S. Miller <davem@davemloft.net>
29633
29634 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29635
39dd69df
AS
296362011-08-24 Andreas Schwab <schwab@redhat.com>
29637
29638 * elf/Makefile: Add rules to build and run unload8 test.
29639 * elf/unload8.c: New file.
29640 * elf/unload8mod1.c: New file.
29641 * elf/unload8mod1x.c: New file.
29642 * elf/unload8mod2.c: New file.
29643 * elf/unload8mod3.c: New file.
29644
29645 * elf/dl-close.c (_dl_close_worker): Reset private search list if
29646 it wasn't used.
29647
2c0b250a
DM
296482011-08-23 David S. Miller <davem@davemloft.net>
29649
29650 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29651 subtract stack bias.
29652 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29653 %sp not %fp in calculations.
29654 (_JMPBUF_UNWINDS_ADJ): Likewise.
29655
22044b48
DM
29656 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29657 (aio_suspend): Call it to force an exception region around the
29658 AIO_MISC_WAIT() invocation.
29659
2cae4995
AS
296602011-08-23 Andreas Schwab <schwab@redhat.com>
29661
29662 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29663 backslash.
29664
873a772e
AJ
296652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
29666
29667 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29668 protection macro.
29669 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29670 and <dl-machine.h>.
29671 (Elf64_FuncDesc): Remove.
29672
25ad0df1
DM
296732011-08-22 David S. Miller <davem@davemloft.net>
29674
29675 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29676 sigaltstack check, add missing cfi directives.
29677 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29678 missing cfi directives, and sigaltstack handling.
29679
e888bcbe
AS
296802011-08-16 Andreas Schwab <schwab@redhat.com>
29681
29682 [BZ #11724]
29683 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29684 object is seen twice.
29685 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29686
29687 * elf/Makefile (distribute): Add tst-initorder2.c.
29688 (tests): Add tst-initorder2.
29689 (modules-names): Add tst-initorder2a tst-initorder2b
29690 tst-initorder2c tst-initorder2d. Add rules to build them.
29691 ($(objpfx)tst-initorder2.out): New rule.
29692 * elf/tst-initorder2.c: New file.
29693 * elf/tst-initorder2.exp: New file.
29694
87162f46
AS
296952011-08-22 Andreas Schwab <schwab@redhat.com>
29696
70538b7f
AS
29697 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29698
f55ffe58
AS
29699 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29700 dependencies back to end of function.
29701
87162f46
AS
29702 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29703 $(elfobjdir)/ld.so.
29704
91b392a4
UD
297052011-08-21 Ulrich Drepper <drepper@gmail.com>
29706
29707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29708 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29709 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29710 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29711 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29712 of __vdso_gettimeofday.
29713 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29714 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
29715 attribute_hidden.
29716 (_libc_vdso_platform_setup): Remove initialization of
29717 __vdso_gettimeofday and __vdso_time.
29718
5c43483f
UD
297192011-08-20 Ulrich Drepper <drepper@gmail.com>
29720
775a77e7
UD
29721 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29722 and fgetc_unlocked.
29723 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29724 getc_unlocked.
89f447ed 29725
49c74ba9
UD
29726 * elf/dl-open.c (add_to_global): Report additions to the global scope
29727 for LD_DEBUG=scopes.
29728 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 29729 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 29730
5c43483f
UD
29731 [BZ #13114]
29732 * stdio-common/Makefile (tests): Add bug24.
29733 * stdio-common/bug24.c: New file.
29734
a101b025
AJ
297352011-08-19 Andreas Jaeger <aj@suse.de>
29736
29737 [BZ #13114]
29738 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29739 non-existant file when using close-on-exec mode.
29740
c88f1766
UD
297412011-08-20 Ulrich Drepper <drepper@gmail.com>
29742
0276a718
UD
29743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29744 the very first instruction.
29745
c88f1766
UD
29746 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29747 the CFI state in the end.
29748 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29749 inclusion of dl-trampoline.h.
29750 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29751
51ccffa0
AS
297522011-08-19 Andreas Schwab <schwab@redhat.com>
29753
94d7165f
AS
29754 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29755 expectations for long double.
29756
51ccffa0
AS
29757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29758 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29759
fd708658 297602011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
29761
29762 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29763 artificual limit depends upon the system page size.
29764
44f0a71e
UD
297652011-08-17 Ulrich Drepper <drepper@gmail.com>
29766
29767 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29768 * resolv/Makefile: Define CFLAGS-libresolv.
29769
8de79a24
AS
297702011-08-17 Andreas Schwab <schwab@redhat.com>
29771
29772 * nss/makedb.c (compute_tables): Make variables used in nested
29773 function static.
29774
27724598
UD
297752011-08-17 Ulrich Drepper <drepper@gmail.com>
29776
c5305d88
UD
29777 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29778 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29779 if buffer was too small.
29780
27724598
UD
29781 * elf/pldd.c (main): Attach to all threads in the process.
29782 Rewrite /proc handling to use *at functions.
29783
076fe015
UD
297842011-08-16 Ulrich Drepper <drepper@gmail.com>
29785
174baab3
UD
29786 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29787 specifies first scope to show.
29788 (dl_open_worker): Update callers. Move printing scope of new
29789 object to before the relocation.
44f0a71e 29790 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
29791 * sysdeps/generic/ldsodefs.h: Update declaration.
29792
076fe015
UD
29793 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29794 string for the scope number.
29795
a60df2c3
UD
297962011-08-14 Ulrich Drepper <drepper@gmail.com>
29797
29798 * nscd/servicescache.c (cache_addserv): Make sure written is always
29799 initialized.
29800
5e4287d1
RM
298012011-08-14 Roland McGrath <roland@hack.frob.com>
29802
85ae0589
RM
29803 * sysdeps/i386/i486/bits/atomic.h
29804 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29805 statement expression, so as to suppress "set but not used" warning.
29806 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29807
69f63097
RM
29808 * string/strncat.c (STRNCAT): Use prototype definition.
29809
675456ef
RM
29810 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29811 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29812 -Iprograms here.
29813 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29814 (localedef-modules): Add localedef.
29815 (locale-modules): Add locale.
29816
5e4287d1
RM
29817 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29818 * elf/rtld.c (dl_main): Invert order of assignment in last change,
29819 to avoid a warning.
29820
9c96ff23
DM
298212011-08-14 David S. Miller <davem@davemloft.net>
29822
29823 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29824 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29825
f9ddf089
UD
298262011-08-13 Ulrich Drepper <drepper@gmail.com>
29827
44f0a71e 29828 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
29829 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29830 * elf/rtld.c (dl_main): Set l_name of vDSO.
29831 Call _dl_show_scope when DL_DEBUG_SCOPES.
29832 (process_dl_debug): Recognize scopes flag and also set it for all.
29833 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29834 Declare _dl_show_scope.
29835
1dc27704
UD
29836 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29837 (do_dlopen): Pass caller_dlopen to dl_open.
29838 (__libc_dlopen_mode): Initialize caller_dlopen.
29839
f9ddf089
UD
29840 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29841 of libc. Make tolower call locale-independent. Optimize a bit by
29842 using isdigit instead of isalnum.
29843 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29844
9ac533d3
UD
298452011-08-12 Ulrich Drepper <drepper@gmail.com>
29846
29847 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29848 was a dependency or dynamically loaded.
29849
89edf2e9
UD
298502011-08-11 Ulrich Drepper <drepper@gmail.com>
29851
8e999d29
UD
29852 * intl/l10nflist.c: Allow architecture-specific pop function.
29853 * sysdeps/x86_64/l10nflist.c: New file.
29854
89edf2e9
UD
29855 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29856 classification.
29857
14d96785
AS
298582011-08-10 Andreas Schwab <schwab@redhat.com>
29859
29860 * include/dirent.h: Add libc_hidden_proto for scandirat and
29861 scandirat64. Don't declare __scandirat64.
29862 * dirent/scandirat.c: Add libc_hidden_def.
29863 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29864 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29865
6761ac04
DM
298662011-08-10 David S. Miller <davem@davemloft.net>
29867
29868 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29869 enum.
29870 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29871 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29872 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29873
c55fbd1e
UD
298742011-08-09 Ulrich Drepper <drepper@gmail.com>
29875
29876 * Versions.def [libc]: Add GLIBC_2.15.
29877 * dirent/Makefile (routines): Add scandirat and scandirat64.
29878 * dirent/Versions [libc]: Export scandirat and scandirat64 for
29879 GLIBC_2.15.
29880 * dirent/dirent.h: Declare scandirat and scandirat64.
29881 * dirent/scandirat.c: New file.
29882 * dirent/scandirat64.c: New file.
29883 * sysdeps/wordsize-64/scandirat.c: New file.
29884 * sysdeps/wordsize-64/scandirat64.c: New file.
29885 * dirent/opendir.c: Define opendirat.
29886 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
29887 using scandirat.
29888 * dirent/scandir64.c: Adjust for scandir.c change.
29889 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
29890 __scandirat64, and __scandir_cancel_handler.
29891 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
29892 additional parameter and use openat instead of open (outside of ld.so).
29893 Add new __opendir as wrapper around __opendirat.
29894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29895 here without requiring old scandirat implementation.
29896
879165f2
UD
298972011-08-08 Ulrich Drepper <drepper@gmail.com>
29898
29899 * dirent/scandir.c (cancel_handler): Renamed to
29900 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
29901 defined. Adjust users.
29902 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29903 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29904
cb7e923b
UD
299052011-08-04 Ulrich Drepper <drepper@gmail.com>
29906
16292edd
UD
29907 * string/test-string.h (IMPL): Use __STRING to expand name and then
29908 stringify it.
29909
cb7e923b
UD
29910 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
29911 of cleanups.
29912
cff82933
LD
299132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29914
29915 * string/Makefile: Update.
29916 (strop-tests): Append strncat.
29917 * string/test-wcscmp.c: New file.
29918 New comprehensive test for wcscmp.
29919 * string/test-strcmp.c: Update.
29920 (WIDE): New define.
29921
9be9bfcc
AS
299222011-07-22 Andreas Schwab <schwab@redhat.com>
29923
29924 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29925 line.
29926
2e96f1c7
AS
299272011-07-26 Andreas Schwab <schwab@redhat.com>
29928
29929 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29930 encoding to ACE if AI_IDN.
29931
85188888
JJ
299322011-08-01 Jakub Jelinek <jakub@redhat.com>
29933
29934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29935 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29936
5fa16e9b
LD
299372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29938
29939 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29940 Fix overflow bug in strncat.
29941 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29942
29943 * string/test-strncat.c: Update.
29944 Add new tests for checking overflow bugs.
29945
299462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
29947
29948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29949 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29950 * sysdeps/i386/i686/multiarch/strcat.S: New file.
29951 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29952 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29953 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29954 * sysdeps/i386/i686/multiarch/strncat.S: New file.
29955 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29956 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29957
29958 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29959 (USE_AS_STRCAT): Define.
29960 Add strcat and strncat support.
29961 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29962
8c1a459f
AS
299632011-07-25 Andreas Schwab <schwab@redhat.com>
29964
29965 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29966 __n bigger than INT_MAX+1.
29967 (__strncmp_g): Likewise.
29968
bba33c28
UD
299692011-07-23 Ulrich Drepper <drepper@gmail.com>
29970
798be72d
UD
29971 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29972 * libio/stido.h: Likewise.
29973
8accd4dc
UD
29974 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29975 (AF_NFC): Define.
29976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29977 (AF_NFC): Define.
29978
cbff0d96
UD
29979 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29980 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29981 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29982 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29983 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29984
9191c04a
UD
29985 [BZ #13021]
29986 * scripts/test-installation.pl: Don't expect libnss_test1 to be
29987 installed.
29988
bba33c28
UD
29989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29990 typo.
29991 (_dl_x86_64_save_sse): Likewise.
29992
90f139dd
UD
299932011-07-22 Ulrich Drepper <drepper@gmail.com>
29994
1aae088a
UD
29995 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29996 OSXSAVE.
29997 (_dl_x86_64_save_sse): Likewise.
29998
8e2045f5
UD
29999 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30000
90f139dd
UD
30001 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30002
1d002f25
AS
300032011-07-21 Andreas Schwab <schwab@redhat.com>
30004
30005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30006 change.
30007 (_dl_x86_64_save_sse): Use correct AVX check.
30008
21137f89
UD
300092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30010
30011 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30012 bug in strncpy/strncat.
30013 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30014
a65c0b7a
UD
300152011-07-21 Ulrich Drepper <drepper@gmail.com>
30016
30017 * string/tester.c (test_strcat): Add tests for different alignments
30018 of source and destination.
30019 (test_strncat): Likewise.
30020
6986b98a
UD
300212011-07-20 Ulrich Drepper <drepper@gmail.com>
30022
90bb2039
UD
30023 [BZ #12852]
30024 * posix/glob.c (glob): Check passed in values before using them in
30025 expressions to avoid some overflows.
30026 (glob_in_dir): Likewise.
30027
5644ef54
UD
30028 [BZ #13007]
30029 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30030 check for AVX enablement so that we don't crash with old kernels and
30031 new hardware.
30032 * elf/tst-audit4.c: Add same checks here.
30033 * elf/tst-audit6.c: Likewise.
30034
30035 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 30036
bfc9dc9b
AS
300372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
30038
30039 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30040
702e64bb
UD
300412011-07-20 Ulrich Drepper <drepper@gmail.com>
30042
30043 * po/cs.po: Update from translation team.
30044 * po/bg.po: Likewise.
30045
295e904f
MP
300462011-07-12 Marek Polacek <mpolacek@redhat.com>
30047
30048 * misc/sys/cdefs.h: Add support for const attribute.
30049 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30050 to gnu_dev_{major,minor,makedev} functions.
30051
3ff94596
MP
300522011-07-20 Marek Polacek <mpolacek@redhat.com>
30053
30054 * intl/dcigettext.c (get_output_charset): Add missing bracket.
30055
28b59fca
AS
300562011-07-20 Andreas Schwab <schwab@redhat.com>
30057
30058 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30059 strlen results.
30060
19df733e
AK
300612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30062
30063 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30064 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30065 register in order to avoid conflicts with the soft frame pointer
30066 being held in r11 when necessary.
30067 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30068 (INTERNAL_VSYSCALL_NCS): Likewise.
30069
c8835729
MP
300702011-07-14 Marek Polacek <mpolacek@redhat.com>
30071
30072 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30073 * elf/dl-fini.c (_dl_fini): Adjust caller.
30074 * elf/dl-close.c (_dl_close_worker): Likewise.
30075 * sysdeps/generic/ldsodefs.h: Adjust declaration.
30076
b902330c
MP
300772011-07-15 Marek Polacek <mpolacek@redhat.com>
30078
8991e135
MP
30079 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30080 "aux_cache->nlibs < 0".
30081
b902330c
MP
30082 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30083 in the reload-count case.
30084
99710781
LD
300852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30086
30087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30088 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30089 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30090 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30091 * sysdeps/x86_64/multiarch/strcat.S: New file.
30092 * sysdeps/x86_64/multiarch/strncat.S: New file.
30093 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30094 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30095 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30096 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30098 (USE_AS_STRCAT): Define.
30099 Add strcat and strncat support.
30100 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30101 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30102 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30103 * string/strncat.c: Update.
30104 (USE_AS_STRNCAT): Define.
30105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30106 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30107 and i7.
30108 * sysdeps/x86_64/multiarch/init-arch.h
30109 (bit_Prefer_PMINUB_for_stringop): New.
30110 (index_Prefer_PMINUB_for_stringop): Likewise.
30111 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30112 bit_Prefer_PMINUB_for_stringop.
30113
7dc6bd90
UD
301142011-07-19 Ulrich Drepper <drepper@gmail.com>
30115
30116 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30117 buffer64.
30118 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30119 of casting of buffer.
30120 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30121 buffer32 and buffer64.
30122 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30123 writes instead of casting of buffer.
30124 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30125 buffer32.
30126 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30127 casting of buffer.
30128
e0e72284
AS
301292011-07-19 Andreas Schwab <schwab@redhat.com>
30130
30131 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30132
feb1eb0b
UD
301332011-07-19 Ulrich Drepper <drepper@gmail.com>
30134
30135 * nscd/nscd.c (termination_handler): Don't do anything for a database
30136 if it has not yet been initialized.
30137
298711ff
UD
301382011-07-18 Ulrich Drepper <drepper@gmail.com>
30139
30140 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30141
301422011-07-15 Marek Polacek <mpolacek@redhat.com>
30143
30144 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30145
f9d68389
UD
301462011-07-18 Ulrich Drepper <drepper@gmail.com>
30147
30148 * po/nl.po: Update from translation team.
30149 * po/sv.po: Likewise.
30150
db290cf5
RM
301512011-07-16 Roland McGrath <roland@hack.frob.com>
30152
30153 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30154 now disallowed by GCC.
5c550700 30155
fd5e21c7
RM
30156 * configure.in (use-default-link): Default to yes if a test -shared
30157 link meets our qualifications.
30158 * configure: Regenerated.
30159
5c550700
RM
30160 * config.make.in (output-format): New variable.
30161 * configure.in: Check for ld --print-output-format support.
30162 * configure: Regenerated.
30163 * Makerules ($(common-objpfx)format.lds)
30164 [$(output-format) != unknown]: Just use $(output-format),
30165 instead of the linker-script munging.
30166
9fa2c032
RM
301672011-07-14 Roland McGrath <roland@hack.frob.com>
30168
a6928d51
RM
30169 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30170 of $(common-objpfx)shlib.lds.
30171 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30172
661607b3
RM
30173 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30174 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30175
9fa2c032
RM
30176 * configure.in (-z relro check): Adjust test code to add a large
30177 writable data section after it.
30178 * configure: Regenerated.
30179
defe9061
RM
301802011-07-11 Roland McGrath <roland@hack.frob.com>
30181
30182 * configure.in (-z relro check): Fix test code to make the variable
30183 truly const.
30184 * configure: Regenerated.
30185
319b9ad4
UD
301862011-07-11 Ulrich Drepper <drepper@gmail.com>
30187
30188 * nscd/nscd.h (struct traced_file): Define.
30189 (struct database_dyn): Remove inotify_descr, reset_res, and filename
30190 elements. Add traced_files.
30191 (inotify_fd): Declare.
30192 (register_traced_file): Declare.
30193 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30194 (inotify_fd): Export.
30195 (resolv_conf_descr): Remove.
30196 (nscd_init): Move inotify descriptor creation to main.
30197 Don't register files for notification here.
30198 (register_traced_file): New function.
30199 (invalidate_cache): Don't use reset_res to determine whether to call
30200 res_init, go through the list of registered files.
30201 (main_loop_poll): The inotify descriptors are now stored in the
30202 structures for the traced files.
30203 (main_loop_epoll): Likewise
30204 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
30205 to __nss_disable_nscd.
30206 * nscd/cache.c (prune_cache): There is no single inotify descriptor
30207 for a database anymore. Check the records for all the registered
30208 files instead.
30209 * nss/Makefile (libnss_files-routines): Add files-init.
30210 (libnss_db-routines): Add db-init.
30211 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30212 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30213 * nss/nss_db/db-init.c: New file.
30214 * nss/nss_files/files-init.c: New file.
30215 * nss/nsswitch.c (nss_load_library): New function. Broken out of
30216 __nss_lookup_function.
30217 (__nss_lookup_function): Call nss_load_library.
30218 (nss_load_all_libraries): New function.
30219 (__nss_disable_nscd): Take parameter with callback function for files
30220 to register. Set is_nscd. Load all the DSOs for the NSS modules
30221 used for the cached services.
30222 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30223 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30224 options for features to all the files in nscd.
30225
30226 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30227
23bee3e8
RM
302282011-07-10 Roland McGrath <roland@hack.frob.com>
30229
30230 * csu/elf-init.c (__libc_csu_init): Comment typo.
30231
46a5b7f0
UD
302322011-07-09 Ulrich Drepper <drepper@gmail.com>
30233
30234 * po/pl.po: Update from translation team.
30235 * po/ja.po: Likewise.
30236 * po/ru.po: Likewise.
30237 * po/ko.po: Likewise.
30238 * po/fr.po: Likewise.
30239
d30cf5bb
RM
302402011-07-09 Roland McGrath <roland@hack.frob.com>
30241
113ddea4
RM
30242 * configure.in (.ctors/.dtors header and trailer check):
30243 Use an empirical test on a built program.
30244 * configure: Regenerated.
30245
574920b4
RM
30246 * configure.in (-z relro check): Use an empirical test on a built DSO.
30247 Detect, but do not require, on ia64.
30248 * configure: Regenerated.
30249
d30cf5bb
RM
30250 * configure.in (READELF): Find it with AC_CHECK_TOOL.
30251 Update tests that use readelf to use $READELF instead.
30252 * configure: Regenerated.
30253
8538fdb3
UD
302542011-07-08 Ulrich Drepper <drepper@gmail.com>
30255
30256 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30257 if the result is not used.
30258
04d08991
AJ
302592011-07-05 Andreas Jaeger <aj@suse.de>
30260
30261 [BZ#9696]
30262 * stdlib/tst-strtod.c: Add testcase.
30263
de283087
AD
302642011-07-07 Ulrich Drepper <drepper@gmail.com>
30265
4e5f31c8 30266 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 30267 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
30268 The latter has a higher limit. Take additional parameter to pass to
30269 the new function.
30270 (__pathconf): Pass file to __statfs_link_max.
30271 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30272 __statfs_link_max.
30273 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30274 __statfs_link_max.
30275
de283087
AD
30276 [BZ #12868]
30277 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30278 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30279 Handle Lustre.
30280 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30281 (__statfs_filesize_max): Likewise.
30282 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30283
c75fa153
AJ
302842011-07-05 Andreas Jaeger <aj@suse.de>
30285
30286 * resolv/res_comp.c (dn_skipname): Remove unused variable.
30287
1a544854
UD
302882011-07-06 Marek Polacek <mpolacek@redhat.com>
30289
30290 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30291 `status' variable.
30292 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30293 Likewise.
30294
6f0eec67
UD
302952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
30296
30297 * Makefile (strop-tests): Add strncat.
30298 * string/test-strncat.c: New file.
30299
aae30307
UD
303002011-06-30 Marek Polacek <mpolacek@redhat.com>
30301
30302 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30303
c0cfb5eb
UD
303042011-06-21 Andreas Jaeger <aj@suse.de>
30305
30306 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30307 Copy rule from iconvdata/Makefile.
30308
01636b21
UD
303092011-07-06 Ulrich Drepper <drepper@gmail.com>
30310
30311 [BZ #12922]
30312 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30313 but no long options are defined, just return 'W'.
30314
9895c8bc
UD
303152011-06-22 Marek Polacek <mpolacek@redhat.com>
30316
30317 [BZ #9696]
30318 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30319
5d4cf042
UD
303202011-07-06 Ulrich Drepper <drepper@gmail.com>
30321
30322 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30323 netgroups to read.
960e5535 30324 (innetgr): Likewise.
5d4cf042 30325
751eb97e
RM
303262011-07-05 Roland McGrath <roland@hack.frob.com>
30327
30328 * config.make.in (install_root): Default to $(DESTDIR).
30329
f15f1e45
UD
303302011-07-05 Ulrich Drepper <drepper@gmail.com>
30331
30332 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30333
4e34ac6a
RM
303342011-07-02 Roland McGrath <roland@hack.frob.com>
30335
5e9b6af4
RM
30336 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30337
84f9ea0f
RM
30338 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30339 containing directory rather than embedding absolute directory names.
30340
ea5ee9f7
RM
30341 * scripts/check-local-headers.sh: Rewritten using awk.
30342 Match by word, not by line. Print error messages for matches.
30343 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30344
1b74661a
RM
30345 * Makerules [shlib-lds-flags empty]:
30346 ($(common-objpfx)libc_pic.opts): New target.
30347 ($(common-objpfx)libc_pic.os.clean): New target.
30348 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30349
30350 * config.make.in (OBJCOPY): New variable.
30351 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30352 * configure: Regenerated.
30353
f781ef40
RM
30354 * config.make.in (use-default-link): New variable.
30355 * configure.in (use_default_link): Grok --with-default-link to set it.
30356 * configure: Regenerated.
30357 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30358 (shlib-lds, shlib-lds-flags): Define to empty.
30359
2d4fa81e
RM
30360 * Makerules (shlib-lds): New variable.
30361 (shlib-lds-flags): New variable.
30362 (build-shlib, build-moduile, build-module-asneeded): Use it.
30363 ($(common-objpfx)libc.so): Use $(shlib-lds).
30364 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30365 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30366
31fffa6b
RM
30367 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30368 DT_FLAGS/DT_FLAGS_1 with zero flags.
30369
4e34ac6a
RM
30370 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30371 linker script munging.
30372
fcfc776b
UD
303732011-07-02 Ulrich Drepper <drepper@gmail.com>
30374
30375 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30376 as 128-bit value.
30377 * crypt/sha512.c (sha512_process_block): Perform total addition using
30378 128-bit if possible.
30379 (__sha512_finish_ctx): Likewise.
30380 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30381 as 64-bit value.
30382 * crypt/sha256.c (SWAP64): Define.
30383 (sha256_process_block): Perform total addition using 64-bit if
30384 possible.
30385 (__sha256_finish_ctx): Likewise.
30386
99231d9a
UD
303872011-07-01 Ulrich Drepper <drepper@gmail.com>
30388
30389 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
30390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30391 * nscd/hstcache.c (cache_addhst): Likewise.
30392 * nscd/grpcache.c (cache_addgr): Likewise.
30393 * nscd/aicache.c (addhstaiX): Likewise
30394 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30395
445b4a53
TK
303962011-07-01 Thorsten Kukuk <kukuk@suse.de>
30397
30398 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30399 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30400 * nscd/hstcache.c (cache_addhst): Likewise.
30401 * nscd/grpcache.c (cache_addgr): Likewise.
30402 * nscd/aicache.c (addhstaiX): Likewise
30403
6d4d8e8e
AS
304042011-07-01 Andreas Schwab <schwab@redhat.com>
30405
30406 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30407 domain only when needed.
30408
89f654c5
AS
304092011-06-30 Andreas Schwab <schwab@redhat.com>
30410
30411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30412 is always restored.
30413
cf3b23ff
UD
304142011-06-29 Ulrich Drepper <drepper@gmail.com>
30415
30416 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30417 are re-adding the entry.
30418 * nscd/servicescache.c (cache_addserv): Likewise.
30419
751626f9
AJ
304202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
30421
30422 * sysdeps/generic/dl-irel.h: fix protection against multiple
30423 inclusions.
30424 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30425
9113ea1f
UD
304262011-06-28 Ulrich Drepper <drepper@gmail.com>
30427
5c0b8d90
UD
30428 [BZ #12935]
30429 * malloc/memusage.sh: Fix quoting in message.
30430 * debug/xtrace.sh: Likewise.
30431
9113ea1f
UD
30432 * configure.in: Remove support for --experimental-malloc option, make
30433 it the default.
30434 * config.make.in: Likewise.
30435 * malloc/Makefile: Likewise.
30436
a4172181
AS
304372011-06-27 Andreas Schwab <schwab@redhat.com>
30438
30439 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30440 two-byte characters.
30441
78a7eee7
RM
304422011-06-27 Roland McGrath <roland@hack.frob.com>
30443
62bede13
RM
30444 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30445 AC_CACHE_CHECK invocation.
30446 * configure: Regenerated.
30447
78a7eee7
RM
30448 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30449
5ce33a62
UD
304502011-06-27 Ulrich Drepper <drepper@gmail.com>
30451
034807a9
UD
30452 [BZ #12350]
30453 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
30454 bit from old_res_options.
30455
4902da17
UD
30456 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30457
5ce33a62
UD
30458 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30459 value type for setfct.
30460
c2344f56
L
304612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
30462
30463 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30464 __gettimeofday instead of gettimeofday.
30465
68468076
UD
304662011-06-26 Ulrich Drepper <drepper@gmail.com>
30467
30468 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30469
acb0d739
L
304702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
30471
30472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30473
30474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30475 info.
30476
8912479f
L
304772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30478
30479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30480 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30481 strcpy-sse2-unaligned strncpy-sse2-unaligned
30482 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30483 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30484 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30485 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30486 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30487 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30488 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30489 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30490 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30491 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30492 (STRCPY): Support SSE2 and SSSE3 versions.
30493
d5495a11
UD
304942011-06-24 Ulrich Drepper <drepper@gmail.com>
30495
30496 [BZ #12874]
30497 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30498 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30499 kernels which artificially limit size of requests.
30500
0b1cbaae
L
305012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
30502
30503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30504 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30505 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30506 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30507 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30508 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30509 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30510 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30511 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30512 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30513 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30514 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30515 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30516 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30517 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30519 Enable unaligned load optimization for Intel Core i3, i5 and i7
30520 processors.
30521 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30522 Define.
30523 (index_Fast_Unaligned_Load): Define.
30524 (HAS_FAST_UNALIGNED_LOAD): Define.
30525
07f494a0
MP
305262011-06-23 Marek Polacek <mpolacek@redhat.com>
30527
30528 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30529
fa3fc0fe
UD
305302011-06-22 Ulrich Drepper <drepper@gmail.com>
30531
30532 [BZ #12907]
30533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30534 until it is clear that the information is realy needed.
30535 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30536
e12df166
AS
305372011-06-22 Andreas Schwab <schwab@redhat.com>
30538
30539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30540
852eb34d
UD
305412011-06-22 Ulrich Drepper <drepper@gmail.com>
30542
84e2a551
UD
30543 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30544 /sys/devices/system/cpu/online if it is usable.
30545
852eb34d
UD
30546 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30547 reading the information from the /proc filesystem to once a second.
30548
6e502e19
UD
305492011-06-21 Andreas Jaeger <aj@suse.de>
30550
30551 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30552 NULL after inclusion of kernel headers.
30553
75d39ff2
UD
305542011-06-21 Ulrich Drepper <drepper@gmail.com>
30555
51f9aa6a
UD
30556 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30557 calls to internal_setent.
30558
c0244a9d
UD
30559 [BZ #12885]
30560 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30561 addresses using gethostbyname4_r ignore IPv4 addresses.
30562
c5e3c2ae
UD
30563 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30564 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
30565
75d39ff2
UD
30566 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30567
42675c6f
DM
305682011-06-20 David S. Miller <davem@davemloft.net>
30569
30570 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30571 inclusions.
30572 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30573
30574 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30575 (elf_irel): Use it.
30576 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30577 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30578 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30579 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30580 * sysdeps/x86_64/dl-irel.h: Likewise.
30581
30582 * elf/dl-runtime.c: Use elf_ifunc_invoke.
30583 * elf/dl-sym.c: Likewise.
30584
57912a71
UD
305852011-06-15 Ulrich Drepper <drepper@gmail.com>
30586
30587 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
30588 need to dereference resplen2.
30589
ee22793d
AS
305902011-06-14 Andreas Schwab <schwab@redhat.com>
30591
30592 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30593
a9e836b0
UD
305942011-06-15 Ulrich Drepper <drepper@gmail.com>
30595
77fb9117
UD
30596 * Makeconfig: Define vardbdir and inst_vardbdir.
30597 * nss/Makefile: Add rules to install db-Makefile.
30598
40c1b22c
UD
30599 * nss/nss_db/db-XXX.c: Cleanup.
30600
9f2da732
UD
30601 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30602 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30603 GLIBC_PRIVATE.
30604 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30605 * nss/makedb.c: Implement -g option to specify that value strings
30606 are generated and should not be added to table iterated over for
30607 get*ent calls.
30608 * nss/nss_db/db-initgroups.c: New file.
30609
82e9a1f7
UD
30610 * nss/getent.c: Add support for initgroups lookups through getgrouplist
30611 interface.
30612
c41af17e
UD
30613 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30614 (internal_getgrouplist): Adjust to name change.
30615 Update use_initgroups_entry if this is not the first call.
30616 * nss/databases.def: Add initgroups entry.
30617
a9e836b0
UD
30618 * nss/makedb.c (compute_tables): Check result of multiple hash table
30619 sizes to minimize maximum chain length.
30620
2666d441
UD
306212011-06-14 Ulrich Drepper <drepper@gmail.com>
30622
30623 * Versions.def: Add entry for libnss_db.
30624 * shlib-versions: Likewise.
30625 * nss/Makefile: Add rules to build libnss_db.
30626 * nss/Versions: Add libnss_db information. Organize libnss_files
30627 entries better.
30628 * nss/db-Makefile: Add gshadow support. Change rules for the new
30629 makedb progra. Some minor improvements to generate smaller files.
30630 * nss/nss_db/nss_db.h: Move NSS database header data structures to
30631 here from...
30632 * nss/makedb.c: ...here.
30633 Improve database format to be smaller and require less memory at
30634 runtime.
30635 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
30636 db anymore.
30637 * nss/nss_db/db-netgrp.c: Likewise.
30638 * nss/nss_db/db-open.c: Likewise.
30639 * nss/nss_files/flies-XXX.x: Adjust comments.
30640 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30641 * nss/nss_files/files-grp.c: Likewise.
30642 * nss/nss_files/files-hosts.c: Likewise.
30643 * nss/nss_files/files-network.c: Likewise.
30644 * nss/nss_files/files-proto.c: Likewise.
30645 * nss/nss_files/files-pwd.c: Likewise.
30646 * nss/nss_files/files-rpc.c: Likewise.
30647 * nss/nss_files/files-service.c: Likewise.
30648 * nss/nss_files/files-sgrp.c: Likewise.
30649 * nss/nss_files/files-spwd.c: Likewise.
30650 * nss/nss_db/db-alias.c: Removed.
30651 * nss/nss_db/dummy-db.h: Removed.
30652
9ee76b5a
UD
306532011-06-02 Ulrich Drepper <drepper@gmail.com>
30654
30655 * nss/makedb.c: Rewritten to not use database library.
30656 * nss/Makefile: Update to build new makedb program.
30657
c71ca1f8
AJ
306582011-06-14 Andreas Jaeger <aj@suse.de>
30659
30660 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30661 memset declaration.
30662
3154bfb8
UD
306632011-06-10 Andreas Schwab <schwab@redhat.com>
30664
30665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30666 tmpbuf.
30667
b350afab
RM
306682011-06-10 Roland McGrath <roland@hack.frob.com>
30669
decd4e50
RM
30670 * Makerules (shlib.lds): Fail if the linker script comes out empty.
30671 * elf/Makefile ($(objpfx)ld.so): Likewise.
30672
5615eaf2
RM
30673 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30674 Don't list ld.so twice in dependencies.
30675
30676 * posix/bug-regex31.c: Include <stdlib.h>.
30677
30678 * nscd/hstcache.c (cache_addhst): Remove unused variable.
30679
30680 * nis/nss_compat/compat-spwd.c
30681 (getspent_next_nss_netgr): Remove unused variable.
30682 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30683
30684 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30685 nonmembers" output to use the right array.
30686
30687 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30688
30689 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30690
30691 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30692 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30693 * catgets/gencat.c (read_input_file): Likewise.
30694 * locale/programs/locarchive.c (enlarge_archive): Likewise.
30695
30696 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30697 variable definition inside #if's controlling its use.
30698
30699 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30700
30701 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30702
30703 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30704
30705 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30706 unreachable code.
30707
30708 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30709
b68e08db
RM
30710 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30711 * configure: Regenerated.
30712
b350afab
RM
30713 * Makerules: Revert last change.
30714 * elf/Makefile: Likewise.
30715
28368601
RM
307162011-06-09 Roland McGrath <roland@hack.frob.com>
30717
30718 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30719 * elf/Makefile ($(objpfx)librtld.os): Likewise.
30720 (reloc-link): Likewise.
30721
11988f8f
UD
307222011-06-09 Ulrich Drepper <drepper@gmail.com>
30723
30724 * elf/Makefile: Add rules to build pldd.
30725 * elf/pldd.c: New file.
30726 * elf/pldd-xx.c: New file.
30727
e80fab37
UD
307282011-06-07 Ulrich Drepper <drepper@gmail.com>
30729
30730 * version.h: Update for 2.15 development version.
30731
9b849836
DM
307322011-06-07 David S. Miller <davem@davemloft.net>
30733
30734 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30735 ifuncs.
30736 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30737 elf_machine_lazy_rel): Likewise.
30738 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30739 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30740 elf_machine_lazy_rel): Likewise.
30741 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30742 dl_hwcap via passed in argument.
30743 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30744 Likewise.
30745
5a31b283
AK
307462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30747
30748 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
30749
069e52f8
RM
307502011-06-06 Roland McGrath <roland@hack.frob.com>
30751
30752 [BZ #12849]
30753 * manual/fdl-1.1.texi: New file, verbatim from:
30754 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30755 * manual/lgpl-2.1.texi: New file, verbatim from:
30756 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30757 * manual/Makefile (licenses): New variable, list those new file names.
30758 (texis): Use it.
30759 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30760
30761 * manual/fdl.texi: File removed.
30762 * manual/lesser.texi: File removed.
30763 * manual/libc.texinfo (Copying, Documentation License):
30764 Use new @include file names, put @appendix directive before @include.
30765
f16846a5
JJ
307662011-06-04 Jakub Jelinek <jakub@redhat.com>
30767
30768 [BZ #12841]
30769 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30770 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30771 (mq_open): Add __NTH.
30772
3d29045b
L
307732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
30774
30775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30776 Assume Intel Core i3/i5/i7 processor if AVX is available.
30777
8c297311
UD
307782011-05-31 Ulrich Drepper <drepper@gmail.com>
30779
30780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30781 typo.
30782
c8fc0c91
UD
307832011-05-31 Andreas Schwab <schwab@redhat.com>
30784
30785 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30786 memory. Use alloca_account. Fix memory leak when retrying.
30787
5b27a807
UD
307882011-05-31 Ulrich Drepper <drepper@gmail.com>
30789
356f8bc6
UD
30790 * version.h (RELEASE): Bump for 2.14 release.
30791 * include/features.h (__GLIBC_MINOR__): Bump to 14.
30792
5b27a807
UD
30793 * config.make.in (RANLIB): Remove entry.
30794
01f16ab0
UD
307952011-05-30 Ulrich Drepper <drepper@gmail.com>
30796
41fce8bd
UD
30797 * po/Makefile (po-sed-cmd): Add ksh to extensions.
30798 (libc.pot): Work around missing support for .ksh extension in xgettext.
30799
4769ae77
UD
30800 [BZ #12684]
30801 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30802 if both request failed.
30803 (send_dg): In case of server errors clear resplen or *resplen2.
30804
6b1e7d19
UD
30805 [BZ #12454]
30806 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30807 when there are multiple maps.
30808 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30809 (_dl_fini): Remove test here.
30810
01f16ab0
UD
30811 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30812
b1ebd700
UD
308132011-05-29 Ulrich Drepper <drepper@gmail.com>
30814
7ae22829
UD
30815 [BZ #12350]
30816 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30817 bit from old_res_options.
30818 (gaih_inet): Likewise.
30819
553149f6 30820 [BZ #11099]
18a84741 30821 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
30822 as signed.
30823
652ffab1
UD
30824 * resolv/res_init.c (res_setoptions): Make the code more compact.
30825
16985fd0
UD
30826 [BZ #11558]
30827 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30828 set RES_USEVC.
30829
0464f746
UD
30830 [BZ #11634]
30831 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30832
7d17596c
UD
30833 * malloc/malloc.h: Mark malloc hook variables as deprecated.
30834
cf6bbbd7
UD
30835 [BZ #11781]
30836 * malloc/malloc.h: Declare malloc hook variables as volatile.
30837
13f1ab36
UD
30838 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30839 in last patch.
30840
b1ebd700
UD
30841 [BZ #11799]
30842 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 30843 raise in the comment.
80e2212d
UD
30844 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30845 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30846 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 30847
ce67228d
UD
308482011-05-28 Ulrich Drepper <drepper@gmail.com>
30849
8887a920
UD
30850 [BZ #12811]
30851 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30852 grow the buffers more if it already has to be sufficient.
30853 (build_wcs_upper_buffer): Likewise.
30854 * posix/regexec.c (check_matching): Likewise.
30855 (clean_state_log_if_needed): Likewise.
30856 (extend_buffers): Don't enlarge buffers beyond size of the input
30857 buffer.
30858 Patches mostly by Emil Wojak <emil@wojak.eu>.
30859 * posix/bug-regex32.c: New file.
30860 * posix/Makefile (tests): Add bug-regex32.
30861
4f031072
UD
30862 * locale/findlocale.c (_nl_find_locale): Return right away if
30863 _nl_explode_name failed.
30864 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30865
d0478f0c
UD
30866 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30867
de81b246
UD
30868 * debug/xtrace.sh: Unify messages.
30869 * malloc/memusage.sh: Likewise.
30870
c738465a
UD
30871 [BZ #12813]
30872 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30873 time symbol from vDSO. Substitute with vsyscall if not available.
30874 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30875 __vdso_time.
30876
f1f929d7
UD
30877 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30878 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30879 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30880 Add sendmmsg and internal_sendmmsg.
30881 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30882 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30883 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30884
ce67228d
UD
30885 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30886 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30887 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30888
e57420c6
UD
308892011-05-27 Ulrich Drepper <drepper@gmail.com>
30890
a8509ca5
UD
30891 [BZ #12813]
30892 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30893 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
30894 available.
30895 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30896 __vdso_getcpu.
30897
e57420c6
UD
30898 [BZ #12814]
30899 * iconvdata/Makefile (tests): Add bug-iconv9.
30900 * iconvdata/bug-iconv9.c: New file.
30901
4d07db15
AS
309022011-05-27 Andreas Schwab <schwab@redhat.com>
30903
30904 [BZ #12814]
30905 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30906
ea486f69
JJ
309072011-05-25 Jakub Jelinek <jakub@redhat.com>
30908
30909 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30910 (struct user_regs_struct): Change intcs field back to cs.
30911
6f038433
UD
309122011-05-25 Ulrich Drepper <drepper@gmail.com>
30913
30914 * po/ja.po: Update from translation team.
30915
67f86a25
UD
309162011-05-23 Ulrich Drepper <drepper@gmail.com>
30917
30918 [BZ #12795]
30919 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30920 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30921
def7fbd6
AS
309222011-05-20 Andreas Schwab <schwab@redhat.com>
30923
30924 * stdlib/longlong.h: Update from GCC.
30925
f50ef8f1
AS
309262011-05-23 Andreas Schwab <schwab@redhat.com>
30927
30928 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30929 parameter name.
30930 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30931 Add parameter name.
30932 (__sysconf): Pass it down.
30933
de7ce8f1
UD
309342011-05-22 Ulrich Drepper <drepper@gmail.com>
30935
f2962a71
UD
30936 [BZ #12671]
30937 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30938 some situations.
30939 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30940 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30941 add in in __libc_use_alloca calls. Adjust callers.
30942 (glob): Use malloc in some situations.
30943
de7ce8f1
UD
30944 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30945 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30946 pltexit.
30947
aec84f53
UD
309482011-05-21 Ulrich Drepper <drepper@gmail.com>
30949
05bb4a68
UD
30950 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30951 and CLOCK_BOOTTIME_ALARM.
30952
7ea72f99
UD
30953 [BZ #12782]
30954 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30955 is returned.
30956
7e4afad5
UD
30957 * string/_strerror.c (__strerror_r): Print negative errors as signed
30958 numbers.
30959
8e211fec
UD
30960 [BZ #12777]
30961 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30962 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30963 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30964
f7d82dc9
UD
30965 * configure.in: Fix typo in redirection and correct removal of test
30966 files in two cases.
30967
cc9e536d
UD
30968 [BZ #12788]
30969 * locale/setlocale.c (new_composite_name): Fix test to check for
30970 identical name of all categories.
30971
aec84f53
UD
30972 [BZ #12792]
30973 * libio/filedoalloc.c (local_isatty): New function.
30974 (_IO_file_doallocate): Use local_isatty.
30975 * stdio-common/perror.c (perror): In case a new stream is used
30976 forward the stream error.
30977 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30978 error flag.
30979
78e64fdc
RT
309802011-05-20 Ulrich Drepper <drepper@gmail.com>
30981
34a9094f
UD
30982 [BZ #11869]
30983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30984 alloca.
30985 * include/alloca.h (extend_alloca_account): Define.
30986
78e64fdc
RT
30987 [BZ #11857]
30988 * posix/regex.h: Fix comments with documentation of user-accessible
30989 fields after compilation and describe correct free'ing of pattern
30990 after re_compile_pattern.
30991 Patch by Reuben Thomas <rrt@sc3d.org>.
30992
457bddfc
RA
309932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
30994
30995 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30996 and -mno-altivec to prevent the compiler from using Altivec and/or
30997 VSX instructions when the corresponding registers are not available.
30998
a4527b51
AS
309992011-05-19 Andreas Schwab <schwab@redhat.com>
31000
31001 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31002
ed690b2f
UD
310032011-05-19 Ulrich Drepper <drepper@gmail.com>
31004
31005 * libio/freopen.c (freopen): Use __dup2, not dup2.
31006 * libio/freopen64.c (freopen64): Likewise.
31007
8db73634
L
310082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
31009
31010 [BZ #12775]
31011 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31012 * math/Makefile (tests): Add test-powl.
31013 (CFLAGS-test-powl.c): Define.
31014 * math/test-powl.c: New file.
31015
0a197a9d
L
310162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
31017
31018 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31019
ee30c380
UD
310202011-05-17 Ulrich Drepper <drepper@gmail.com>
31021
31022 [BZ #11837]
31023 * iconvdata/gb18030.c: Update to GB18020-2005.
31024
6ce75379
UD
310252011-05-16 Ulrich Drepper <drepper@gmail.com>
31026
a4b89fd8
AR
31027 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31028 RE_SYNTAX_POSIX_AWK): Update to match recent development.
31029 Patch by Aharon Robbins <arnold@skeeve.com>.
31030
ea389b12
UD
31031 [BZ #11892]
31032 * stdlib/putenv.c (putenv): Don't always create copy of the variable
31033 on the stack.
31034
68a3f91f
UD
31035 [BZ #11895]
31036 * misc/pselect.c (__pselect): Handle timeout value errors hidden
31037 through underflows.
31038
15cc7dd1
UD
31039 [BZ #12766]
31040 * misc/error.c (error_at_line): Ensure file_name and old_file_name
31041 point to strings before performing equality test for error_one_per_line
31042 mode.
31043
f3799213
UD
31044 [BZ #11697]
31045 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31046
d79a9c94
UD
31047 [BZ #11820]
31048 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31049 (struct user_fpregs_struct): Avoid __uint*_t types.
31050
56e5eb46
UD
31051 [BZ #6420]
31052 * malloc/mtrace.c (tr_where): Add additional parameter to point to
31053 symbol info. Use it instead of calling _dl_addr locally.
31054 (lock_and_info): New function.
31055 (tr_freehook): Call lock_and_info and pass symbol info as additional
31056 parameter to tr_where.
31057 (tr_mallochook): Likewise.
31058 (tr_reallochook): Likewise.
31059 (tr_memalignhook): Likewise.
31060
6ce75379
UD
31061 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
31062 used and couldn't be at all thread-safe.
31063
f8a3b5bf
UD
310642011-05-15 Ulrich Drepper <drepper@gmail.com>
31065
94b7cc37
UD
31066 * libio/freopen.c (freopen): Don't close old file descriptor
31067 before the new one is opened. Instead dup the new file descriptor
31068 to the old one after the new stream is created.
31069 * libio/freopen64.c (freopen64): Likewise.
31070 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31071 * libio/fileops.c (_IO_new_file_close_it): Handle new
31072 _IO_FLAGS2_NOCLOSE flag.
31073 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31074 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31075 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31076 _IO_FLAGS2_NOCLOSE flag.
31077 * include/unistd.h: Add hidden_proto for dup3.
31078 Define __have_dup3.
31079 * io/dup3.c: Define hidden symbol.
31080 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31081
bd25564e
UD
31082 [BZ #7101]
31083 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31084 when an incomplete long option is used.
31085 * posix/tst-getopt_long1.c: New file.
31086 * posix/Makefile (tests): Add tst-getopt_long1.
31087
c84cfef4
UD
31088 [BZ #10138]
31089 * scripts/config.guess: Update from autoconf-2.68.
31090 * scripts/config.sub: Likewise.
31091
3b85df27
UD
31092 [BZ #10157]
31093 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31094 tests into ...
31095 (has_cpuclock): ...this. New function.
31096 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31097 macro here based on has_cpuclock code.
31098
15a856b1
UD
31099 [BZ #10149]
31100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31101 First byte (not low byte) is now always NUL.
31102 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31103
05f399e6
UD
31104 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31105 Use non-cancelable interfaces.
31106
10a52685 31107 [BZ #9809]
94ecc67d
UD
31108 * locale/iso-639.def: Add entry for Sorani.
31109
f8a3b5bf
UD
31110 [BZ #11901]
31111 * include/stdlib.h: Move include protection to the right place.
31112 Define abort_msg_s. Declare __abort_msg with it.
31113 * stdlib/abort.c (__abort_msg): Adjust type.
31114 * assert/assert.c (__assert_fail_base): New function. Majority
31115 of code from __assert_fail. Allocate memory for __abort_msg with
31116 mmap.
31117 (__assert_fail): Now call __assert_fail_base.
31118 * assert/assert-perr.c: Remove bulk of implementation. Use
31119 __assert_fail_base.
31120 * include/assert.hL Declare __assert_fail_base.
31121 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31122 mmap.
31123 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31124
1af4e298
UD
311252011-05-14 Ulrich Drepper <drepper@gmail.com>
31126
f8a3b5bf 31127 [BZ #11952]
d26dfc60
MG
31128 [BZ #12453]
31129 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31130 until all modules are registered in the DTV.
31131 * elf/Makefile: Add rules to build and run tst-tls19.
31132 * elf/tst-tls19.c: New file.
31133 * elf/tst-tls19mod1.c: New file.
31134 * elf/tst-tls19mod2.c: New file.
31135 * elf/tst-tls19mod3.c: New file.
31136 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31137
2fc54d6f
UD
31138 [BZ #12083]
31139 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31140 correctly.
31141
98d76b46
UD
31142 [BZ #12601]
31143 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31144 two-byte sequence errors.
31145 * iconvdata/Makefile (tests): Add bug-iconv8.
31146 * iconvdata/bug-iconv8.c: New file.
31147
da3c19ef
UD
31148 [BZ #12626]
31149 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31150 buf2 definition.
31151
ca408c15
UD
31152 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31153
d6f67f7d
UD
31154 [BZ #12432]
31155 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31156 (dummy_getcfa): New function.
31157 (init): Get _Unwind_GetCFA address, use dummy if not found.
31158 (backtrace_helper): In recursion check, also check whether CFA changes.
31159 (__backtrace): Completely initialize arg.
31160
1af4e298 31161 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
31162 storing incomplete byte sequence in state object. Avoid testing for
31163 guaranteed too small input if we know there is enough data available.
1af4e298 31164
da62f81b
AS
311652011-05-11 Andreas Schwab <schwab@redhat.com>
31166
31167 * Makeconfig (+link-pie): Indent.
31168 * Rules (binaries-pie): Define if $(have-fpie) and
31169 $(build-shared).
31170 (binaries-shared): Also filter out $(binaries-pie).
31171 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31172 * nscd/Makefile (others-pie): Add nscd.
31173 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31174 ($(objpfx)nscd): Remove command override.
31175 * login/Makefile (others-pie): Add pt_chown.
31176 ($(objpfx)pt_chown): Remove command override.
31177 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31178 remove command overrides.
31179
fcabc0f8
UD
311802011-05-13 Ulrich Drepper <drepper@gmail.com>
31181
20030ae6
UD
31182 * libio/tst_putwc.c: Fix error messages.
31183
fcabc0f8
UD
31184 [BZ #12724]
31185 * libio/fileops.c (_IO_new_file_close_it): Always flush when
31186 currently writing and seek to current position when not.
31187 * libio/Makefile (tests): Add bug-fclose1.
31188 * libio/bug-fclose1.c: New file.
31189
320a5dc0
PB
311902011-05-12 Ulrich Drepper <drepper@gmail.com>
31191
31192 [BZ #12511]
31193 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31194 don't set DF_1_NODELETE here.
31195 (do_lookup_x): When entering new entry test for copy relocation
31196 and if necessary set DF_1_NODELETE flag.
31197 * elf/tst-unique4.cc: New file.
31198 * elf/tst-unique4.h: New file.
31199 * elf/tst-unique4lib.cc: New file.
31200 * elf/Makefile: Add rules to build and run tst-unique4.
31201 Patch by Piotr Bury <pbury@goahead.com>.
31202
22836f52
UD
312032011-05-11 Ulrich Drepper <drepper@gmail.com>
31204
f574184a
UD
31205 [BZ #12052]
31206 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31207
e1fb097f
UD
31208 [BZ #12625]
31209 * misc/mntent_r.c (addmntent): Flush the stream after the output
31210
22836f52
UD
31211 [BZ #12393]
31212 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31213 (is_trusted_path_normalize): Skip initial colon. Append slash
31214 to empty buffer. Duplicate is_trusted_path code but allow
31215 constructed patch to be prefix.
31216 (is_dst): Allow $ORIGIN followed by /.
31217 (_dl_dst_substitute): Correct clearing of check_for_trusted.
31218 Correct testing of result of is_trusted_path_normalize
31219 (decompose_rpath): Fix warning.
31220
7b3b0b2a
UD
312212011-05-10 Ulrich Drepper <drepper@gmail.com>
31222
31223 [BZ #11257]
31224 * grp/initgroups.c (internal_getgrouplist): When we found the service
31225 list through the initgroups entry in nsswitch.conf do not always
31226 continue on a successful lookup. Don't always use the
eac80ce2 31227 __nss_group_database value if it is set.
7b3b0b2a
UD
31228 * nss/nsswitch.conf (initgroups): Change action for successful db
31229 lookup to continue for compatibility.
31230
2a81eaa5
UD
312312011-05-09 Ulrich Drepper <drepper@gmail.com>
31232
be97a69e
UD
31233 [BZ #11532]
31234 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31235 and CP774 modules.
31236 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31237 and CP774 modules.
31238 * iconvdata/tst-tables.sh: Likewise.
31239 * iconvdata/cp770.c: New file.
31240 * iconvdata/cp771.c: New file.
31241 * iconvdata/cp772.c: New file.
31242 * iconvdata/cp773.c: New file.
31243 * iconvdata/cp774.c: New file.
31244 * iconvdata/testdata/CP770: New file.
31245 * iconvdata/testdata/CP770..UTF8: New file.
31246 * iconvdata/testdata/CP771: New file.
31247 * iconvdata/testdata/CP771..UTF8: New file.
31248 * iconvdata/testdata/CP772: New file.
31249 * iconvdata/testdata/CP772..UTF8: New file.
31250 * iconvdata/testdata/CP773: New file.
31251 * iconvdata/testdata/CP773..UTF8: New file.
31252 * iconvdata/testdata/CP774: New file.
31253 * iconvdata/testdata/CP774..UTF8: New file.
31254
31255 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31256 END CHARMAP line.
31257 * iconvdata/gen-8bit-gap.sh: Likewise.
31258 * iconvdata/gen-8bit.sh: Likewise.
31259
c1e9e399
UD
31260 * locale/iso-639.def: Add ary entry.
31261
24c55fb3 31262 [BZ #11258]
96b4b1b0
UD
31263 * locale/C-translit.h.in: Add U20A1 transliteration.
31264
bdc2f971
KB
31265 [BZ #12178]
31266 * locale/iso-639.def: Add wae entry.
31267 Patch by Kevin Bortis <bortis@translate-wae.ch>.
31268
2952b117
UD
31269 [BZ #12545]
31270 * locale/programs/localedef.c (construct_output_path): Use ssize_t
31271 for n.
31272
2a81eaa5
UD
31273 [BZ #12711]
31274 * locale/C-translit.h.in: Add entry for U20B9.
31275 Patch by pravin.d.s@gmail.com.
31276
28377d1b
UD
312772011-05-08 Ulrich Drepper <drepper@gmail.com>
31278
7fb90fb8
UD
31279 [BZ #12713]
31280 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31281 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
31282 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
31283 in rtld. Use *stat64.
7fb90fb8 31284 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 31285 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 31286 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
31287 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31288 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31289 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31290 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31291 __fstatat64 macros.
7fb90fb8
UD
31292 * include/dirent.h: Add libc_hidden_proto for rewinddir.
31293 * dirent/rewinddir.c: Add libc_hidden_def.
31294 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 31295 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 31296
28377d1b
UD
31297 * include/dirent.h (__alloc_dir): Add flags parameter.
31298 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31299 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31300 __alloc_dir.
31301 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
31302 from fdopendir if O_CLOEXEC is already set.
31303
66bdbaa4
AM
313042011-03-15 Alan Modra <amodra@gmail.com>
31305
31306 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31307 l_tls_firstbyte_offset non-zero. Save padding offset in
31308 l_tls_firstbyte_offset for later use.
31309 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31310 freeing static tls block.
31311
95721191
JN
313122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
31313
31314 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31315 where #ifdef was intended. The intent is to prevent ARG_MAX from
31316 being defined by the kernel headers.
31317
f87dfb1f
UD
313182011-05-07 Ulrich Drepper <drepper@gmail.com>
31319
31320 [BZ #12734]
31321 * resolv/resolv.h: Define RES_NOTLDQUERY.
31322 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31323 no-tld-query and set RES_NOTLDQUERY.
31324 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31325 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31326 modern BIND to search name as TLD unless forbidden.
31327
47c3cd7a
UD
313282011-05-07 Petr Baudis <pasky@suse.cz>
31329 Ulrich Drepper <drepper@gmail.com>
31330
31331 [BZ #12393]
31332 * elf/dl-load.c (fillin_rpath): Move trusted path check...
31333 (is_trusted_path): ...to here.
c1e9ea35 31334 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 31335 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 31336 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 31337
8a35c912
PP
313382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31339
31340 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31341 __BEGIN/__END_DECLS.
31342
acd41f47
UD
313432011-05-06 Ulrich Drepper <drepper@gmail.com>
31344
31345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31346 NSS_STATUS_NOTFOUND if no record was found.
31347
597df647
AS
313482011-05-05 Andreas Schwab <schwab@redhat.com>
31349
31350 * sunrpc/Makefile (headers): Add rpc/netdb.h.
31351 (headers-not-in-tirpc): Remove rpc/netdb.h
31352 * resolv/netdb.h: Revert last change.
31353
b9af1301
PP
313542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31355
31356 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31357 circular dependency between libgcc.a and libc.a.
31358
4e34d5f5
AS
313592011-05-05 Andreas Schwab <schwab@redhat.com>
31360
31361 * resolv/netdb.h: Don't include <rpc/netdb.h>.
31362 * nis/Makefile: Don't install rpcsvc/*.
31363 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31364 instead of <rpc/types.h>.
31365 (MAXHOSTNAMELEN): Define.
31366
00ee369c
AS
313672011-05-03 Andreas Schwab <schwab@redhat.com>
31368
31369 * elf/ldconfig.c (add_dir): Don't crash on empty path.
31370
0b592a30
MB
313712011-04-28 Maciej Babinski <mbabinski@google.com>
31372
31373 [BZ #12714]
31374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31375 gethostbyname4_r when IPv6 results are possible.
31376
6e04cbbe
UD
313772011-05-02 Ulrich Drepper <drepper@gmail.com>
31378
31379 [BZ #12723]
31380 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31381 _PC_PIPE_BUF handling.
31382
e4ecafe0
BH
313832011-04-30 Bruno Haible <bruno@clisp.org>
31384
31385 [BZ #12717]
31386 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31387 * resolv/netdb.h (getnameinfo): Change type of flags parameter
31388 to 'int'.
31389 * inet/getnameinfo.c (getnameinfo): Likewise.
31390
125ee683
UD
313912011-04-29 Ulrich Drepper <drepper@gmail.com>
31392
31393 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31394 to groups setting in database lookup.
31395 * nss/nsswitch.conf: Add initgroups entry.
31396
b722481a
EB
313972011-04-22 Ulrich Drepper <drepper@gmail.com>
31398
31399 [BZ #12685]
31400 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31401 mode string.
31402 Patch by Eric Blake <eblake@redhat.com>.
31403
4df46dbd
L
314042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
31405
31406 * sunrpc/Makefile (need-export-routines): Add svc_run.
31407 (routines): Remove svc_run.
31408 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31409 * sunrpc/clnt_perr.c (clnt_perrno): Export.
31410 * sunrpc/svc_run.c (svc_run): Likewise.
31411 * sunrpc/svc_udp.c (svcudp_create): Likewise.
31412
e84142d2
UD
314132011-04-21 Ulrich Drepper <drepper@gmail.com>
31414
31415 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31416 problem in reallocation in last patch.
31417
877175d8
UD
314182011-04-20 Ulrich Drepper <drepper@gmail.com>
31419
31420 * sunrpc/Makefile: Move inclusion of Rules.
31421
ab8eed78
UD
314222011-04-19 Ulrich Drepper <drepper@gmail.com>
31423
31424 * nss/nss_files/files-initgroups.c: New file.
31425 * nss/Makefile (libnss_files-routines): Add files-initgroups.
31426 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31427 _nss_files_initgroups_dyn.
31428
e3d8f584
RS
314292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
31430
31431 * elf/elf.h (R_ARM_IRELATIVE): Define.
31432
af190f45
UD
314332011-04-19 Ulrich Drepper <drepper@gmail.com>
31434
31435 * po/ru.po: Update from translation team.
31436
53cf59ef
UD
314372011-04-17 Ulrich Drepper <drepper@gmail.com>
31438
31439 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31440 dependencies.
31441
4c559bcd
MF
314422011-02-06 Mike Frysinger <vapier@gentoo.org>
31443
31444 [BZ #12653]
31445 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31446 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31448 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31449 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31450
4420675c
AS
314512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
31452
31453 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31454 differing bytes.
31455 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31457 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31458
75ea32ab
UD
314592011-04-17 Ulrich Drepper <drepper@gmail.com>
31460
31461 [BZ #12420]
31462 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31463 storing it.
31464 * stdlib/bug-getcontext.c: New file.
31465 * stdlib/Makefile: Add rules to build and run bug-getcontext.
31466
27390476
AK
314672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31468
31469 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31470 instructions into .machine "z9-109".
31471 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31472 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31473
10442705
AK
314742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31475
31476 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31477 between environment variables and auxiliary vector.
31478
7b57bfe5
UD
314792011-04-16 Ulrich Drepper <drepper@gmail.com>
31480
31481 * Makefile: Add rules to build linkobj/libc.so.
31482 * include/libc-symbols.h: Define libc_hidden_nolink.
31483 * include/rpc/auth.h: Mark functions which are to be hidden.
31484 * include/rpc/auth_des.h: Likewise.
31485 * include/rpc/auth_unix.h: Likewise.
31486 * include/rpc/clnt.h: Likewise.
31487 * include/rpc/des_crypt.h: Likewise.
31488 * include/rpc/key_prot.h: Likewise.
31489 * include/rpc/pmap_clnt.h: Likewise.
31490 * include/rpc/pmap_prot.h: Likewise.
31491 * include/rpc/pmap_rmt.h: Likewise.
31492 * include/rpc/rpc_msg.h: Likewise.
31493 * include/rpc/svc.h: Likewise.
31494 * include/rpc/svc_auth.h: Likewise.
31495 * include/rpc/xdr.h: Likewise.
31496 * nis/Makefile: Link all DSOs against linkobj/libc.so.
31497 * nss/Makefile: Likewise.
31498 * sunrpc/Makefile: Don't install headers. Build library with normal
31499 entry points. Don't build rpcinfo. Link RPC tests appropriately.
31500 * sunrpc/auth_des.c: Hide exported symbols by default, export some
31501 for the compat linking library. Remove use of INTDEF/INTUSE.
31502 * sunrpc/auth_none.c: Likewise.
31503 * sunrpc/auth_unix.c: Likewise.
31504 * sunrpc/authdes_prot.c: Likewise.
31505 * sunrpc/authuxprot.c: Likewise.
31506 * sunrpc/clnt_gen.c: Likewise.
31507 * sunrpc/clnt_perr.c: Likewise.
31508 * sunrpc/clnt_raw.c: Likewise.
31509 * sunrpc/clnt_simp.c: Likewise.
31510 * sunrpc/clnt_tcp.c: Likewise.
31511 * sunrpc/clnt_udp.c: Likewise.
31512 * sunrpc/clnt_unix.c: Likewise.
31513 * sunrpc/des_crypt.c: Likewise.
31514 * sunrpc/des_soft.c: Likewise.
31515 * sunrpc/get_myaddr.c: Likewise.
31516 * sunrpc/key_call.c: Likewise.
31517 * sunrpc/key_prot.c: Likewise.
31518 * sunrpc/netname.c: Likewise.
31519 * sunrpc/pm_getmaps.c: Likewise.
31520 * sunrpc/pm_getport.c: Likewise.
31521 * sunrpc/pmap_clnt.c: Likewise.
31522 * sunrpc/pmap_prot.c: Likewise.
31523 * sunrpc/pmap_prot2.c: Likewise.
31524 * sunrpc/pmap_rmt.c: Likewise.
31525 * sunrpc/publickey.c: Likewise.
31526 * sunrpc/rpc_cmsg.c: Likewise.
31527 * sunrpc/rpc_common.c: Likewise.
31528 * sunrpc/rpc_dtable.c: Likewise.
31529 * sunrpc/rpc_prot.c: Likewise.
31530 * sunrpc/rpc_thread.c: Likewise.
31531 * sunrpc/rtime.c: Likewise.
31532 * sunrpc/svc.c: Likewise.
31533 * sunrpc/svc_auth.c: Likewise.
31534 * sunrpc/svc_authux.c: Likewise.
31535 * sunrpc/svc_raw.c: Likewise.
31536 * sunrpc/svc_run.c: Likewise.
31537 * sunrpc/svc_simple.c: Likewise.
31538 * sunrpc/svc_tcp.c: Likewise.
31539 * sunrpc/svc_udp.c: Likewise.
31540 * sunrpc/svc_unix.c: Likewise.
31541 * sunrpc/svcauth_des.c: Likewise.
31542 * sunrpc/xcrypt.c: Likewise.
31543 * sunrpc/xdr.c: Likewise.
31544 * sunrpc/xdr_array.c: Likewise.
31545 * sunrpc/xdr_float.c: Likewise.
31546 * sunrpc/xdr_intXX_t.c: Likewise.
31547 * sunrpc/xdr_mem.c: Likewise.
31548 * sunrpc/xdr_rec.c: Likewise.
31549 * sunrpc/xdr_ref.c: Likewise.
31550 * sunrpc/xdr_sizeof.c: Likewise.
31551 * sunrpc/xdr_stdio.c: Likewise.
31552
e6c61494
UD
315532011-04-10 Ulrich Drepper <drepper@gmail.com>
31554
31555 [BZ #12650]
31556 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31557 * sysdeps/ia64/dl-tls.h: Likewise.
31558 * sysdeps/powerpc/dl-tls.h: Likewise.
31559 * sysdeps/s390/dl-tls.h: Likewise.
31560 * sysdeps/sh/dl-tls.h: Likewise.
31561 * sysdeps/sparc/dl-tls.h: Likewise.
31562 * sysdeps/x86_64/dl-tls.h: Likewise.
31563 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31564
34fe483e
AS
315652011-03-14 Andreas Schwab <schwab@redhat.com>
31566
31567 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31568 rpath element also skip the following colon.
31569 (expand_dynamic_string_token): Add is_path parameter and pass
31570 down to DL_DST_REQUIRED and _dl_dst_substitute.
31571 (decompose_rpath): Call expand_dynamic_string_token with
31572 non-zero is_path. Ignore empty rpaths.
31573 (_dl_map_object_from_fd): Call expand_dynamic_string_token
31574 with zero is_path.
31575
f12a32e6
AS
315762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
31577
31578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31579 Make cancelable.
31580
38a7d692
UD
315812011-04-09 Ulrich Drepper <drepper@gmail.com>
31582
31583 [BZ #12655]
31584 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31585 Patch by Filipe David Manana <fdmanana@apache.org>.
31586
e451d22b
AS
315872011-04-07 Andreas Schwab <schwab@redhat.com>
31588
31589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31590 Maintain aligned stack.
31591 (CHECK_RSP): Remove unused macro.
31592
dedc7c7b
UD
315932011-04-03 Ulrich Drepper <drepper@gmail.com>
31594
31595 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31596 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31597
94521213
UD
315982011-04-02 Ulrich Drepper <drepper@gmail.com>
31599
31600 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31601
8cb700c0 31602 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 31603
0354e355
L
316042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
31605
31606 [BZ #12518]
31607 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31608 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31609 * sysdeps/x86_64/memmove.c: New file.
31610 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31611 (memcpy): Renamed to ...
31612 (__new_memcpy): This.
31613 (memcpy): Provide GLIBC_2_14 memcpy.
31614 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31615 (memcpy): Provide GLIBC_2_2_5 memcpy.
31616
8593482f
UD
316172011-04-01 Ulrich Drepper <drepper@gmail.com>
31618
31619 [BZ #12631]
31620 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31621
81a5726b
AS
316222011-03-30 Andreas Schwab <schwab@redhat.com>
31623
31624 * misc/syncfs.c: New file.
31625 * misc/Makefile (routines): Add syncfs.
31626 * posix/unistd.h: Declare syncfs.
31627 * sysdeps/unix/syscalls.list: Add syncfs.
31628
00e5419f
AS
316292011-04-01 Andreas Schwab <schwab@redhat.com>
31630
31631 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31632 open_by_handle_at.
31633 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31634 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31636 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31638 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31639 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31640
748876bf
UD
316412011-04-01 Ulrich Drepper <drepper@gmail.com>
31642
658e451d
UD
31643 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31644 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31645 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31647 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31649 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31650
748876bf
UD
31651 * io/Makefile: Compile fallocate.c, fallocate64.c, and
31652 sync_file_range.c with -fexceptions.
31653 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31654 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31655 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31656 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31657 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31658 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31659 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
31660 sync_file_range as cancellation point
31661 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
31662 now a wrapper around __call_sync_file_range with cancellation handling.
31663 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31664 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
31665 function name to __call_sync_file_range.
31666 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31667 Add call_sync_file_range.
748876bf 31668
6e63d5e1
AS
316692011-04-01 Andreas Schwab <schwab@redhat.com>
31670
31671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 31672 bits/timex.h.
6e63d5e1 31673
46998f74
UD
316742011-04-01 Ulrich Drepper <drepper@gmail.com>
31675
4c1423ed
UD
31676 * iconv/iconv.h: Fix typo in comment.
31677 * io/fcntl.h: Likewise.
31678 * libio/stdio.h: Likewise.
31679 * posix/spawn.h: Likewise.
31680 * posix/unistd.h: Likewise.
31681 * stdlib/stdlib.h: Likewise.
31682 * time/time.h: Likewise.
31683 * wcsmbs/wchar.h: Likewise.
31684
158648c0
UD
31685 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31686 open_by_handle): Add.
31687 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31688 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
31689 Augment a few comments.
31690 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31691 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31692 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31695 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31696 open_by_handle.
31697
46998f74
UD
31698 * io/fcntl.h (AT_EMPTY_PATH): Define.
31699
83fe108b
UD
317002011-03-30 Ulrich Drepper <drepper@gmail.com>
31701
31702 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31703 * sysdeps/unix/sysv/linux/bits/time.h: New file.
31704 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31705 to...
31706 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
31707 * Versions.def: Add GLIBC_2.14.
31708 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31709 Export.
83fe108b 31710
bb242059
UD
317112011-03-22 Ulrich Drepper <drepper@gmail.com>
31712
31713 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31714 round counter.
31715 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31716
c97a1282
L
317172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
31718
31719 [BZ #12597]
31720 * string/test-strncmp.c (do_page_test): New function.
31721 (check2): Likewise.
31722 (test_main): Call check2.
31723 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31724
2a115601
UD
317252011-03-20 Ulrich Drepper <drepper@gmail.com>
31726
31727 [BZ #12587]
31728 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31729 Handle cache information in CPU leaf 4.
31730 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31731
8126d904
UD
317322011-03-18 Ulrich Drepper <drepper@gmail.com>
31733
042c49c6 31734 [BZ #12583]
8126d904
UD
31735 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31736 character representation.
31737 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31738
ccfe366e
RA
317392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
31740
31741 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31742 END(__isnan) to END(__isnanf) to match function entry point/label
31743 EALIGN(__isnanf,...).
31744
c6e13027
JJ
317452011-03-10 Jakub Jelinek <jakub@redhat.com>
31746
31747 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31748
33f85a3f
UD
317492011-03-10 Ulrich Drepper <drepper@gmail.com>
31750
028478fa
UD
31751 [BZ #12510]
31752 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31753 copy from the symbol referenced in the relocation to initialize the
31754 used variable.
31755 Patch by Piotr Bury <pbury@goahead.com>.
31756 * elf/Makefile: Add rules to build and tst-unique3.
31757 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31758 * elf/tst-unique3.cc: New file.
31759 * elf/tst-unique3.h: New file.
31760 * elf/tst-unique3lib.cc: New file.
31761 * elf/tst-unique3lib2.cc: New file.
31762
33f85a3f
UD
31763 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31764
03592fc7
MF
317652011-03-10 Mike Frysinger <vapier@gentoo.org>
31766
31767 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31768 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
31769 to _start.
03592fc7 31770
6a5ee102
UD
317712011-03-06 Ulrich Drepper <drepper@gmail.com>
31772
31773 * elf/dl-load.c (_dl_map_object): If we are looking for the first
31774 to-be-loaded object along a path to loader is ld.so.
31775
7e4ba49c
HJ
317762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31777 Ulrich Drepper <drepper@gmail.com>
31778
31779 * sysdeps/x86_64/memset.S: After aligning destination, code
31780 branches to different locations depending on the value of
31781 misalignment, when multiarch is enabled. Fix this.
31782
317832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
31784
31785 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31786 Set _x86_64_preferred_memory_instruction for AMD processsors.
31787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31788 Set bit_Prefer_SSE_for_memop for AMD processors.
31789
13a804de
UD
317902011-03-04 Ulrich Drepper <drepper@gmail.com>
31791
31792 * libio/fmemopen.c (fmemopen): Optimize a bit.
31793
9d25c392
AS
317942011-03-03 Andreas Schwab <schwab@redhat.com>
31795
31796 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31797
a5543c6a
RM
317982011-03-03 Roland McGrath <roland@redhat.com>
31799
31800 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31801
012d35f7
DM
318022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
31803
7e4ba49c 31804 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
31805 __bzero_ultra1 instead of __memset_ultra1.
31806
4bff6e01
AS
318072011-02-23 Andreas Schwab <schwab@redhat.com>
31808 Ulrich Drepper <drepper@gmail.com>
31809
31810 [BZ #12509]
31811 * include/link.h (struct link_map): Add l_orig_initfini.
31812 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31813 returning unsuccessfully.
31814 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31815 close of a file loaded at startup, restore the original l_initfini
31816 list.
31817 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31818 list, store the pointer.
31819 * elf/Makefile ($(objpfx)noload-mem): New rule.
31820 (noload-ENV): Define.
31821 (tests): Add $(objpfx)noload-mem.
31822 * elf/noload.c: Include <memcheck.h>.
31823 (main): Call mtrace. Close all opened handles.
31824
f2092faf
AS
318252011-02-17 Andreas Schwab <schwab@redhat.com>
31826
31827 [BZ #12454]
31828 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31829 dependencies are missing.
31830
6c8a2e88
ST
318312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
31832
f2092faf 31833 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
31834 Hurd needs munmap.
31835 * sysdeps/mach/hurd/ifreq.h: New file.
31836
84a42118
PB
318372011-01-27 Petr Baudis <pasky@suse.cz>
31838 Ulrich Drepper <drepper@gmail.com>
31839
071f805e 31840 [BZ 12445]#
84a42118
PB
31841 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31842 to extend_alloca().
31843 * stdio-common/bug23.c: New file.
31844 * stdio-common/Makefile (tests): Add bug23.
31845
e23fe25b
AS
318462010-09-28 Andreas Schwab <schwab@redhat.com>
31847 Ulrich Drepper <drepper@gmail.com>
31848
31849 [BZ #12489]
31850 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31851 before performing relro protection. At old place add assertion
31852 to make sure nothing changed.
31853
d3f02e10
NS
318542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
31855 Glauber de Oliveira Costa <glommer@gmail.com>
31856
31857 * elf/elf.h: Add new ARM TLS relocs.
31858
d55fd7a5
RA
318592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
31860
31861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31862 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31863 cast from r3.
31864 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
31865 'tests' variable.
31866 * sysdeps/wordsize-64/tst-writev.c: New file.
31867
2206397e
RA
318682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
31869
31870 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31871 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31872 insns in _dl_start to prevent a TOC reference before relocs are
31873 resolved.
31874
e9433893
UD
318752011-02-15 Ulrich Drepper <drepper@gmail.com>
31876
31877 [BZ #12469]
31878 * Makeconfig: Remove RANLIB definition.
31879 * Makerules: Don't use RANLIB.
31880 * aclocal.m4: Remove ranlib test.
31881 * configure.in: No need to check for ranlib.
31882 * elf/rtld-Rules: Don't use RANLIB.
31883
f75286c6
ST
318842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
31885
8e31c82d
ST
31886 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31887 protection macro.
31888 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31889 inclusion protection macro.
31890
f75286c6
ST
31891 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31892 SIGRTMIN and SIGRTMAX and print information in that case only when
31893 SIGRTMIN is defined.
31894
c1d0e639
JJ
318952011-02-11 Jakub Jelinek <jakub@redhat.com>
31896
31897 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31898 arginfo fn returning -1.
31899
31900 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31901 and thousands string is zero terminated.
31902
edf9294e
AS
319032011-02-03 Andreas Schwab <schwab@redhat.com>
31904
31905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31906 sysdeps/unix/sysv/linux/bits/socket.h.
31907
2b7e92df
ST
319082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
31909
edf9294e
AS
31910 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31911 (__CPU_COUNT): Remove old macros.
31912 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31913 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31914 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
31915 (__sched_cpualloc, __sched_cpufree): Add declarations.
31916
a4c7ea7b
UD
319172011-02-05 Ulrich Drepper <drepper@gmail.com>
31918
31919 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31920 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31921 * nscd/aicache.c (addhstaiX): Return timeout of added value.
31922 (readdhstai): Return value of addhstaiX call.
31923 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31924 (addgrbyX): Return value returned by cache_addgr.
31925 (readdgrbyname): Return value returned by addgrbyX.
31926 (readdgrbygid): Likewise.
31927 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31928 (addpwbyX): Return value returned by cache_addpw.
31929 (readdpwbyname): Return value returned by addhstbyX.
31930 (readdpwbyuid): Likewise.
31931 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31932 (addservbyX): Return value returned by cache_addserv.
31933 (readdservbyname): Return value returned by addservbyX:
31934 (readdservbyport): Likewise.
31935 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31936 (addhstbyX): Return value returned by cache_addhst.
31937 (readdhstbyname): Return value returned by addhstbyX.
31938 (readdhstbyaddr): Likewise.
31939 (readdhstbynamev6): Likewise.
31940 (readdhstbyaddrv6): Likewise.
31941 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31942 (readdinitgroups): Return value returned by addinitgroupsX.
31943 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31944 (prune_cache): Keep track of timeout value of re-added entries.
31945 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31946 * nscd/nscd.h: Adjust prototypes of readd* functions.
31947
a0bf67cc
RM
319482011-02-04 Roland McGrath <roland@redhat.com>
31949
31950 * nis/nis_server.c (nis_servstate): Use the right name for 0.
31951 (nis_stats): Likewise.
31952 * nis/nis_modify.c (nis_modify): Likewise.
31953 * nis/nis_remove.c (nis_remove): Likewise.
31954 * nis/nis_add.c (nis_add): Likewise.
31955
31956 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31957
31958 * posix/fnmatch_loop.c: Add some consts.
31959
31960 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31961
435b95eb
L
319622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
31963
31964 [BZ #12460]
31965 * config.make.in (config-cflags-novzeroupper): Define.
31966 * configure.in: Substitute libc_cv_cc_novzeroupper.
31967 * elf/Makefile (AVX-CFLAGS): Define.
31968 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31969 (CFLAGS-tst-auditmod4a.c): Likewise.
31970 (CFLAGS-tst-auditmod4b.c): Likewise.
31971 (CFLAGS-tst-auditmod6b.c): Likewise.
31972 (CFLAGS-tst-auditmod6c.c): Likewise.
31973 (CFLAGS-tst-auditmod7b.c): Likewise.
31974 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31975
8517b15e
UD
319762011-02-02 Ulrich Drepper <drepper@gmail.com>
31977
31978 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31979 function to the callback.
31980 Patch partly by Jiri Olsa <jolsa@redhat.com>.
31981
10a656fe
AS
319822011-02-02 Andreas Schwab <schwab@redhat.com>
31983
31984 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31985 of errno.
31986
968dad0a
UD
319872011-01-19 Ulrich Drepper <drepper@gmail.com>
31988
9f94d2ea 31989 [BZ #11724]
968dad0a
UD
31990 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31991 of constructors.
31992 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31993 of destructors.
31994 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31995
31996 [BZ #11724]
31997 * elf/Makefile: Add rules to build and run new test.
31998 * elf/tst-initorder.c: New file.
31999 * elf/tst-initorder.exp: New file.
32000 * elf/tst-initordera1.c: New file.
32001 * elf/tst-initordera2.c: New file.
32002 * elf/tst-initordera3.c: New file.
32003 * elf/tst-initordera4.c: New file.
32004 * elf/tst-initorderb1.c: New file.
32005 * elf/tst-initorderb2.c: New file.
32006 * elf/tst-order-a1.c: New file.
32007 * elf/tst-order-a2.c: New file.
32008 * elf/tst-order-a3.c: New file.
32009 * elf/tst-order-a4.c: New file.
32010 * elf/tst-order-b1.c: New file.
32011 * elf/tst-order-b2.c: New file.
32012 * elf/tst-order-main.c: New file.
32013 New test case by George Gensure <werkt0@gmail.com>.
32014
86e92359
UD
320152010-10-01 Andreas Schwab <schwab@redhat.com>
32016
32017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32018 decoding ACE if AI_CANONIDN.
32019
5d5732b0
UD
320202011-01-18 Ulrich Drepper <drepper@gmail.com>
32021
32022 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32023
a77e8cbc
UD
320242011-01-17 Ulrich Drepper <drepper@gmail.com>
32025
6392473f
UD
32026 * version.h (RELEASE): Bump for 2.13 release.
32027 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32028
620a0529
UD
32029 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32030
18ba70a5
UD
32031 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32032 MADV_NOHUGEPAGE.
32465c3e
UD
32033 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32034 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32035 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32036 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32037 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32038 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32039
c0dafcf1
UD
32040 * posix/getconf.c: Update copyright year.
32041 * catgets/gencat.c: Likewise.
32042 * csu/version.c: Likewise.
32043 * debug/catchsegv.sh: Likewise.
32044 * debug/xtrace.sh: Likewise.
32045 * elf/ldconfig.c: Likewise.
32046 * elf/ldd.bash.in: Likewise.
32047 * elf/sprof.c (print_version): Likewise.
32048 * iconv/iconv_prog.c: Likewise.
32049 * iconv/iconvconfig.c: Likewise.
32050 * locale/programs/locale.c: Likewise.
32051 * locale/programs/localedef.c: Likewise.
32052 * malloc/memusage.sh: Likewise.
32053 * malloc/mtrace.pl: Likewise.
32054 * nscd/nscd.c (print_version): Likewise.
32055 * nss/getent.c: Likewise.
32056
a77e8cbc
UD
32057 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32058 PF_CAIF, and PF_ALG.
32059 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32060
77e8bddf
AS
320612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
32062
1f20b93a
AS
32063 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32064 (modules-names): Use them.
32065 (ifunc-test-modules, ifunc-pie-tests): Define.
32066 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32067 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32068 (test-extras): Likewise.
32069 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32070 $(compile-command.c).
32071 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32072 (all-built-dso): Define.
32073 (check-textrel.out, check-execstack.out): Depend on it.
32074
77e8bddf
AS
32075 * configure.in: Don't override --enable-multi-arch.
32076
bc425b33
UD
320772011-01-15 Ulrich Drepper <drepper@gmail.com>
32078
32079 [BZ #6812]
32080 * nscd/hstcache.c (tryagain): Define.
32081 (cache_addhst): Return tryagain not notfound for temporary errors.
32082 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32083 failed.
32084
794c3ad3
UD
320852011-01-14 Ulrich Drepper <drepper@gmail.com>
32086
70181fdd
UD
32087 [BZ #10563]
32088 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32089 to make the syscall.
32090 * sysdeps/unix/sysv/linux/setgroups.c: New file.
32091
794c3ad3
UD
32092 [BZ #12378]
32093 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32094 and fall back to matching as normal character if the string ends before
32095 the matching ']' is found. This is what POSIX requires.
32096 * posix/testfnm.c: Adjust test result.
32097 * posix/globtest.sh: Adjust test result. Add new test.
32098 * posix/tst-fnmatch.input: Likewise.
32099 * posix/tst-fnmatch2.c: Add new test.
32100
68dc9497
AS
321012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
32102
32103 * elf/Makefile (check-execstack): Revert last change. Depend on
32104 check-execstack.h.
32105 (check-execstack.h): New target.
32106 (generated): Add check-execstack.h.
32107 * elf/check-execstack.c: Include "check-execstack.h".
32108 (main): Revert last change.
32109 (handle_file): Return zero if GNU_STACK is absent and
32110 DEFAULT_STACK_PERMS doesn't include PF_X.
32111
451f001b
UD
321122011-01-13 Ulrich Drepper <drepper@gmail.com>
32113
cfa28e56
UD
32114 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32115 in child fails because the descriptor is already closed.
8cf8ce17
UD
32116 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32117 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32118 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 32119
1086d70d
UD
32120 [BZ #12397]
32121 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32122 syscall.
32123
451f001b
UD
32124 [BZ #10484]
32125 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32126 temporary buffer used to handle multi lookups locally.
a85b5cb4 32127 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 32128
08769175
UD
321292011-01-12 Ulrich Drepper <drepper@gmail.com>
32130
32131 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32132 loader is ld.so.
32133
5e49c52e
UD
321342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
32135
32136 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32137 alignment for SSE2.
32138
60522a5f
UD
321392011-01-12 Ulrich Drepper <drepper@gmail.com>
32140
32141 [BZ #12394]
32142 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32143 characters. When rounding increased number of integer digits recompute
32144 number of groups.
32145 * stdio-common/tst-grouping.c: New file.
32146 * stdio-common/Makefile: Add rules to build and run tst-grouping.
32147
f257bbd7
UD
321482011-01-09 Ulrich Drepper <drepper@gmail.com>
32149
32150 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32151 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
32152
32153 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32154 void.
32155 * bits/select.h: Likewise.
32156
fa9c15cb
UD
321572011-01-08 Ulrich Drepper <drepper@gmail.com>
32158
32159 * po/ja.po: Update from translation team.
32160
16c2895f
DM
321612011-01-04 David S. Miller <davem@sunset.davemloft.net>
32162
32163 [BZ #11155]
32164 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32165 implementation just like for lxstat, fxstatat, et al.
32166
2543fef2
JM
321672010-12-27 Jim Meyering <meyering@redhat.com>
32168
32169 [BZ #12348]
32170 * posix/regexec.c (build_trtable): Return failure indication upon
32171 calloc failure. Otherwise, re_search_internal could infloop on OOM.
32172
98727dbe
UD
321732010-12-25 Ulrich Drepper <drepper@gmail.com>
32174
5bd6dc5c
UD
32175 [BZ #12201]
32176 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32177 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32178 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32179 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32180
97983464
UD
32181 [BZ #12207]
32182 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32183
98727dbe
UD
32184 [BZ #12204]
32185 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32186 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32187
4a531bb0
L
321882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
32189
32190 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32191 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32192 script has SORT_BY_INIT_PRIORITY.
32193 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32194 NO_CTORS_DTORS_SECTIONS is defined.
32195 * elf/soinit.c: Likewise.
32196 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32197 NO_CTORS_DTORS_SECTIONS is defined.
32198 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32199 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32200 * sysdeps/sh/init-first.c: Likewise.
32201 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32202
07eb4b71
UD
322032010-12-24 Ulrich Drepper <drepper@gmail.com>
32204
32205 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32206 always use the slow path.
32207
30950a5f
RA
322082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
32209
32210 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32211 similar rule which adds the sysdep directories to the header search in
32212 order to pick up the correct platform stackinfo.h.
32213 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32214 perform test if it is, otherwise return successfully without testing.
32215 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32216 DEFAULT_STACK_PERMS define in stackinfo.h.
32217 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32218 defined in stackinfo.h.
32219 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32220 DEFAULT_STACK_PERMS defined in stackinfo.h.
32221 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32222 * sysdeps/ia64/stackinfo.h: Likewise.
32223 * sysdeps/s390/stackinfo.h: Likewise.
32224 * sysdeps/sh/stackinfo.h: Likewise.
32225 * sysdeps/sparc/stackinfo.h: Likewise.
32226 * sysdeps/x86_64/stackinfo.h: Likewise.
32227 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32228 PF_X for powerpc64. Retain PF_X for powerpc32.
32229
db753e2c
UD
322302010-12-19 Ulrich Drepper <drepper@gmail.com>
32231
14b697f7
UD
32232 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32233 accurately.
db753e2c
UD
32234 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32235 GETDENTS_64BIT_ALIGNED.
32236
28300719
UD
322372010-12-14 Ulrich Drepper <dreper@gmail.com>
32238
14b697f7 32239 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 32240
4f197237
AS
322412010-12-10 Andreas Schwab <schwab@redhat.com>
32242
dbb0472f
AS
32243 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32244 _GNU_SOURCE.
32245
4f197237
AS
32246 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32247 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32248 Remove __restrict.
32249 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32250 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32251
fb88ac72
UD
322522010-12-09 Ulrich Drepper <drepper@gmail.com>
32253
32254 [BZ #11655]
32255 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32256 are initialized.
32257
42acbb92
JJ
322582010-12-09 Jakub Jelinek <jakub@redhat.com>
32259
32260 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32261
c038d98d
UD
322622010-12-03 Ulrich Drepper <drepper@gmail.com>
32263
32264 * po/it.po: Update from translation team.
32265
3a4a2499
L
322662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
32267
32268 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32269 unused codes.
32270
1e24cf6e
UD
322712010-11-30 Ulrich Drepper <drepper@gmail.com>
32272
32273 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32274
a7690819
AS
322752010-11-24 Andreas Schwab <schwab@redhat.com>
32276
32277 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32278 specially.
32279 (gaih_getanswer_slice): Likewise.
32280
3bf8d1b1
JJ
322812010-10-20 Jakub Jelinek <jakub@redhat.com>
32282
32283 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32284
6db52fbb
PB
322852010-05-31 Petr Baudis <pasky@suse.cz>
32286
32287 [BZ #11149]
32288 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32289 silently even in the chroot mode.
32290
eaca7569
UD
322912010-11-22 Ulrich Drepper <drepper@gmail.com>
32292
32293 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32294 last patch a bit. Pretty printing
32295
3056dcdb
UD
322962010-05-31 Petr Baudis <pasky@suse.cz>
32297
32298 [BZ #10085]
32299 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32300 initialization of skip_initgroups_dyn.
32301
cf7c9078
UD
323022010-11-19 Ulrich Drepper <drepper@gmail.com>
32303
32304 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32305 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32306
a1fb5e3e
UD
323072010-11-16 Ulrich Drepper <drepper@gmail.com>
32308
32309 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32310
3540d66b
AS
323112010-11-11 Andreas Schwab <schwab@redhat.com>
32312
32313 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32314 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32315 (tst-fnmatch-ENV): Set MALLOC_TRACE.
32316 ($(objpfx)tst-fnmatch-mem): New rule.
32317 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32318 * posix/tst-fnmatch.c (main): Call mtrace.
32319
13b69574
L
323202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
32321
32322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32323 Support Intel processor model 6 and model 0x2c.
32324
da93d214
LM
323252010-11-10 Luis Machado <luisgpm@br.ibm.com>
32326
32327 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32328 signed comparison.
32329
8ca52c6e
L
323302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
32331
32332 [BZ #12205]
32333 * string/test-strncasecmp.c (check_result): New function.
32334 (do_one_test): Use it.
32335 (check1): New function.
32336 (test_main): Use it.
32337 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32338 Support strcasecmp and strncasecmp.
32339
69da074d
UD
323402010-11-08 Ulrich Drepper <drepper@gmail.com>
32341
32342 [BZ #12194]
32343 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32344 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32345
ff02d528
L
323462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
32347
32348 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32349 IFUNC support.
32350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32351 memset-x86-64.
32352 * sysdeps/x86_64/multiarch/bzero.S: New file.
32353 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32354 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32355 * sysdeps/x86_64/multiarch/memset.S: New file.
32356 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32358 Set bit_Prefer_SSE_for_memop for Intel processors.
32359 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32360 Define.
32361 (index_Prefer_SSE_for_memop): Define.
32362 (HAS_PREFER_SSE_FOR_MEMOP): Define.
32363
344d0b54
LM
323642010-11-04 Luis Machado <luisgpm@br.ibm.com>
32365
32366 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32367 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32368
c0dde15b
UD
323692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
32370
32371 [BZ #12191]
32372 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32373 (__x86_64_raw_data_cache_size_half): Likewise.
32374 (__x86_64_raw_shared_cache_size): Likewise.
32375 (__x86_64_raw_shared_cache_size_half): Likewise.
32376
32377 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32378 (__x86_64_raw_data_cache_size_half): Likewise.
32379 (__x86_64_raw_shared_cache_size): Likewise.
32380 (__x86_64_raw_shared_cache_size_half): Likewise.
32381 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32382 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32383 and __x86_64_raw_shared_cache_size_half. Round
32384 __x86_64_data_cache_size_half, __x86_64_data_cache_size
32385 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32386 to multiple of 256 bytes.
32387
0e516e0e
MS
323882010-11-03 Ulrich Drepper <drepper@gmail.com>
32389
32390 [BZ #12167]
32391 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32392 of inacessible symlinks. Verify result of symlink before returning it.
32393 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32394 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32395
0e012e87
ER
323962010-10-28 Erich Ritz <erichritz@gmail.com>
32397
32398 * math/math.h (isinf): Fix typo in comment.
32399
de0ff7bc
UD
324002010-11-01 Ulrich Drepper <drepper@gmail.com>
32401
32402 * po/da.po: Update from translation team.
32403
fa41c84d
UD
324042010-10-26 Ulrich Drepper <drepper@gmail.com>
32405
32406 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32407 is added to the list.
32408
f0967738
AK
324092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32410 Ulrich Drepper <drepper@gmail.com>
32411
32412 * elf/dl-object.c (_dl_new_object): Don't append the new object to
32413 the global list here. Move code to...
32414 (_dl_add_to_namespace_list): ...here. New function.
32415 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32416 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32417 * elf/dl-load.c (lose): Don't remove the element from the list.
32418 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32419 (_dl_map_object): Likewise.
32420
324212010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
32422
32423 [BZ #12159]
32424 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32425 into all bytes of SSE register.
32426 Patch by Richard Li <richardpku@gmail.com>.
32427
f0967738 324282010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
32429
32430 [BZ #12140]
32431 * malloc/malloc.c (_int_free): Fill correct number of bytes when
32432 perturbing.
32433
d0b9e94f
MB
324342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
32435
32436 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32437 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32438 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32439 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32441 submachine.
32442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32443
8e9f92e9
AS
324442010-10-22 Andreas Schwab <schwab@redhat.com>
32445
32446 * include/dlfcn.h (__RTLD_SECURE): Define.
32447 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
32448 mode & __RTLD_SECURE instead.
32449 (open_path): Rename preloaded parameter to secure.
32450 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32451 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32452 * elf/dl-deps.c (openaux): Likewise.
32453 * elf/rtld.c (struct map_args): Remove is_preloaded.
32454 (map_doit): Don't use it.
32455 (dl_main): Likewise.
32456 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32457 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32458
bc96fbda
AS
324592010-09-09 Andreas Schwab <schwab@redhat.com>
32460
32461 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32462 (sysd-rules-targets): Remove duplicates.
32463 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32464 rtld-%.$o dependency.
32465
22cd1c9b
AS
324662010-10-18 Andreas Schwab <schwab@redhat.com>
32467
32468 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32469 _dl_map_object do it.
32470
18edac48
UD
324712010-10-19 Ulrich Drepper <drepper@gmail.com>
32472
32473 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32474 fast fma builtins, define the macros in the C99 standard.
32475 (FP_FAST_FMAF): Likewise.
32476 (FP_FAST_FMAL): Likewise.
32477 * sysdeps/x86_64/bits/mathdef.h: Likewise.
32478
32479 * bits/mathdef.h: Update copyright year.
32480 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32481
d2050124
MM
324822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
32483
32484 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32485 builtins, define the macros in the C99 standard.
32486 (FP_FAST_FMAF): Likewise.
32487 (FP_FAST_FMAL): Likewise.
32488 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32489 multiply/add.
32490 (FP_FAST_FMAF): Likewise.
32491
475facd1
JJ
324922010-10-15 Jakub Jelinek <jakub@redhat.com>
32493
32494 [BZ #3268]
32495 * math/libm-test.inc (fma_test): Some new testcases.
32496 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32497 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32498 y and infinite z. Do multiplication by C already in long double.
32499 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32500 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32501 y and infinite z. Do bitwise or of inexact bit into u.d.
32502 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32503 * sysdeps/i386/fpu/s_fmaf.S: Removed.
32504 * sysdeps/i386/fpu/s_fma.S: Removed.
32505 * sysdeps/i386/fpu/s_fmal.S: Removed.
32506
7c08a05c
JJ
325072010-10-16 Jakub Jelinek <jakub@redhat.com>
32508
32509 [BZ #3268]
32510 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32512 computation is not scheduled after fetestexcept. Fix value
32513 of minimum denormal long double.
32514
f3f7372d
JJ
325152010-10-14 Jakub Jelinek <jakub@redhat.com>
32516
32517 [BZ #3268]
32518 * math/libm-test.inc (fma_test): Add some more tests.
32519 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32520 correctly.
32521
14d43591
AS
325222010-10-15 Andreas Schwab <schwab@redhat.com>
32523
32524 * scripts/data/localplt-s390-linux-gnu.data: New file.
32525 * scripts/data/localplt-s390x-linux-gnu.data: New file.
32526
5e908464
JJ
325272010-10-13 Jakub Jelinek <jakub@redhat.com>
32528
32529 [BZ #3268]
32530 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32531 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32532 instead of dbl-64.
32533 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32534 inlines.
32535 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32537 if one of x and y is very large and the other is subnormal.
32538 * sysdeps/s390/fpu/s_fmaf.c: New file.
32539 * sysdeps/s390/fpu/s_fma.c: New file.
32540 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32541 * sysdeps/powerpc/fpu/s_fma.S: New file.
32542 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32543 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32544 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32545
325462010-10-12 Jakub Jelinek <jakub@redhat.com>
32547
32548 [BZ #3268]
32549 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32550 fma tests.
32551 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32552 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32553 * sysdeps/i386/i686/multiarch/s_fma.c: Include
32554 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32555 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32556 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32557 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32558
b833d51f
UD
325592010-10-12 Ulrich Drepper <drepper@redhat.com>
32560
32561 [BZ #12078]
32562 * posix/regcomp.c (parse_branch): One more memory leak plugged.
32563 * posix/bug-regex31.input: Add test case.
32564
1751705d
UD
325652010-10-11 Ulrich Drepper <drepper@gmail.com>
32566
e9b9cbf5
UD
32567 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32568 * posix/bug-regex31.input: New file.
32569
32570 [BZ #12078]
32571 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32572 (parse_sub_exp): Fix last change, use postorder.
32573
ef06edbe
UD
32574 * posix/bug-regex31.c: New file.
32575 * posix/Makefile: Add rules to build and run bug-regex31.
32576
a129c80d
UD
32577 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32578
32579 [BZ #12078]
32580 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32581
b76b818e
UD
32582 [BZ #12108]
32583 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32584 to have entries in sys_siglist.
32585
1751705d
UD
32586 [BZ #12093]
32587 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32588 be NULL.
32589
9ff8d36f
JJ
325902010-10-07 Jakub Jelinek <jakub@redhat.com>
32591
32592 [BZ #3268]
32593 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32594 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32595 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32596 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32597 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32598 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32599 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32600 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32601 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32602 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32603 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32604 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32605 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32606 * math/ftestexcept.c (fetestexcept): Likewise.
32607 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32608 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32609 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32610 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32611 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32612 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32613 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32614
af325969
UD
326152010-10-11 Ulrich Drepper <drepper@gmail.com>
32616
c579b202 32617 [BZ #12107]
af325969
UD
32618 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32619 newline.
32620
67a67b95
UD
326212010-10-06 Ulrich Drepper <drepper@gmail.com>
32622
32623 * string/bug-strstr1.c: New file.
32624 * string/Makefile: Add rules to build and run bug-strstr1.
32625
5fb308bc
EB
326262010-10-05 Eric Blake <eblake@redhat.com>
32627
32628 [BZ #12092]
32629 * string/str-two-way.h (two_way_long_needle): Always clear memory
32630 when skipping input due to the shift table.
32631
45db99c7
UD
326322010-10-03 Ulrich Drepper <drepper@gmail.com>
32633
3b111893
UD
32634 [BZ #12005]
32635 * malloc/mcheck.c: Handle large requests.
32636
45db99c7
UD
32637 [BZ #12077]
32638 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32639 for strncmp and strncasecmp.
32640 * string/stratcliff.c: Add tests for strcmp and strncmp.
32641 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32642
cf7a1eb8
NI
326432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32644
32645 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32646 __set_fpscr.
32647
6484ba5e
AJ
326482010-09-30 Andreas Jaeger <aj@suse.de>
32649
32650 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32651 (CGROUP_SUPER_MAGIC): Define.
32652 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32653 Handle btrfs and cgroup file systems.
32654 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32655 Likewise.
32656
91c42559
LM
326572010-09-27 Luis Machado <luisgpm@br.ibm.com>
32658
32659 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32660 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32661
87a97932
AK
326622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32663
32664 [BZ #12067]
32665 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32666 trying to locate the ELF header.
32667
c21cc9bc
AS
326682010-09-27 Andreas Schwab <schwab@redhat.com>
32669
32670 [BZ #11611]
32671 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32672 Mask out sign-bit copies when constructing f_fsid.
32673
315970f6
PB
326742010-09-24 Petr Baudis <pasky@suse.cz>
32675
32676 * debug/stack_chk_fail_local.c: Add missing licence exception.
32677 * debug/warning-nop.c: Likewise.
32678
1ac7a2c7
JM
326792010-09-15 Joseph Myers <joseph@codesourcery.com>
32680
32681 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32682 implementing getdents64 using getdents syscall, set d_type if
32683 __ASSUME_GETDENTS32_D_TYPE.
32684
56801c50
AS
326852010-09-16 Andreas Schwab <schwab@redhat.com>
32686
32687 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32688 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32689
dda51327
UD
326902010-09-21 Ulrich Drepper <drepper@redhat.com>
32691
32692 [BZ #12037]
32693 * posix/unistd.h: Undo change of feature selection for ftruncate from
32694 2010-01-11.
32695
8ffcee4a
UD
326962010-09-20 Ulrich Drepper <drepper@redhat.com>
32697
a545ecd9 32698 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
32699 detection.
32700
e24f0a8b
AS
327012010-09-20 Andreas Schwab <schwab@redhat.com>
32702
32703 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32704 fanotify_mark.
32705 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32706
7291c56f
AS
327072010-09-14 Andreas Schwab <schwab@redhat.com>
32708
32709 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32710 variables after CHECK_SP call.
32711 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32712
bc5fb037
AS
327132010-09-13 Andreas Schwab <schwab@redhat.com>
32714 Ulrich Drepper <drepper@redhat.com>
32715
32716 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32717 re-relocationg ld.so.
32718 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32719 _dl_init_paths call.
32720 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
32721 here anymore.
32722
e66e7419
UD
327232010-09-14 Ulrich Drepper <drepper@redhat.com>
32724
32725 * resolv/res_init.c (__res_vinit): Count the default server we added.
32726
c044aa75
CLT
327272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
32728 Ulrich Drepper <drepper@redhat.com>
32729
32730 [BZ #11968]
32731 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32732 (____longjmp_chk): Use %ebx for saving value across system call.
32733 Add unwind info.
32734
32cf4069
AS
327352010-09-06 Andreas Schwab <schwab@redhat.com>
32736
32737 * manual/Makefile: Don't mix pattern rules with normal rules.
32738
817328ee
AS
327392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
32740
32741 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32742 operation.
32743 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32744 * libio/iofopncook.c (_IO_cookie_init): Likewise.
32745 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32746 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32747 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32748 Likewise.
32749
29fddf61
UD
327502010-09-04 Ulrich Drepper <drepper@redhat.com>
32751
32752 [BZ #11979]
32753 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32754 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32755
0959ffc9
UD
327562010-09-02 Ulrich Drepper <drepper@redhat.com>
32757
32758 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32759 * sysdeps/x86_64/addmul_1.S: Likewise.
32760 * sysdeps/x86_64/lshift.S: Likewise.
32761 * sysdeps/x86_64/mul_1.S: Likewise.
32762 * sysdeps/x86_64/rshift.S: Likewise.
32763 * sysdeps/x86_64/sub_n.S: Likewise.
32764 * sysdeps/x86_64/submul_1.S: Likewise.
32765
ece29840
ST
327662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
32767
0959ffc9
UD
32768 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32769 Define __sched_param instead of SCHED_* and sched_param when
ece29840 32770 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 32771 * bits/sched.h [__need_schedparam]
ece29840 32772 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
32773 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32774 (__defined_schedparam): Define to 1.
ece29840
ST
32775 (__sched_param): New structure, identical to sched_param.
32776 (__need_schedparam): Undefine.
32777
e53a31fe
MF
327782010-08-31 Mike Frysinger <vapier@gentoo.org>
32779
fdc0c10d
MF
32780 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32781 (epoll_create1): Declare.
32782
e53a31fe
MF
32783 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32784
a726d796
AS
327852010-08-31 Andreas Schwab <schwab@redhat.com>
32786
32787 [BZ #7066]
32788 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32789 shifting retval into place.
32790
2f3e3dc7
UD
327912010-09-01 Ulrich Drepper <drepper@redhat.com>
32792
f2933da9
UD
32793 * nis/rpcsvc/nis.h: Update copyright notice.
32794 * nis/rpcsvc/nis.x: Likewise.
32795 * nis/rpcsvc/nis_callback.h: Likewise.
32796 * nis/rpcsvc/nis_callback.x: Likewise.
32797 * nis/rpcsvc/nis_object.x: Likewise.
32798 * nis/rpcsvc/nis_tags.h: Likewise.
32799 * nis/rpcsvc/yp.h: Likewise.
32800 * nis/rpcsvc/yp.x: Likewise.
32801 * nis/rpcsvc/ypupd.h: Likewise.
32802 * nis/yp_xdr.c: Likewise.
32803 * nis/ypupdate_xdr.c: Likewise.
32804
2f3e3dc7
UD
32805 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
32806 mainly the body of pmap_getport. Add parameters to specify timeouts.
32807 (pmap_getport): Use __libc_rpc_getport.
32808 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32809 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32810 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32811
f3dcc2f9
AS
328122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
32813
32814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32815 fanotify_mark.
32816
6d34eb5b
RM
328172010-08-27 Roland McGrath <roland@redhat.com>
32818
32819 * sysdeps/i386/i686/multiarch/Makefile
32820 (CFLAGS-varshift.c): New variable.
32821
9ea3de11
UD
328222010-08-27 Ulrich Drepper <drepper@redhat.com>
32823
c96d23fc
UD
32824 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32825 * sysdeps/i386/i686/multiarch/varshift.c: New file.
32826
9ea3de11
UD
32827 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32828
32829 * sysdeps/x86_64/strlen.S: Minimal code improvement.
32830
623aac7f
L
328312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
32832
32833 * sysdeps/x86_64/strlen.S: Unroll the loop.
32834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32835 strlen-sse2 strlen-sse2-bsf.
32836 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32837 __strlen_no_bsf if bit_Slow_BSF is set.
32838 (__strlen_sse42): Removed.
32839 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32840 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32841
8b2b7715
RM
328422010-08-25 Roland McGrath <roland@redhat.com>
32843
32844 * sysdeps/x86_64/multiarch/varshift.S: File removed.
32845 * sysdeps/x86_64/multiarch/varshift.c: New file.
32846 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32847 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32848 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32849 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32850
e73015f2
L
328512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
32852
32853 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32854 strlen-sse2 strlen-sse2-bsf.
32855 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32856 __strlen_sse2_bsf if bit_Slow_BSF is unset.
32857 (__strlen_sse2): Removed.
32858 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32859 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32861 bit_Slow_BSF for Atom.
32862 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32863 (index_Slow_BSF): Define.
32864 (HAS_SLOW_BSF): Define.
32865
df24a73e
UD
328662010-08-25 Ulrich Drepper <drepper@redhat.com>
32867
32868 [BZ #10851]
32869 * resolv/res_init.c (__res_vinit): When no server address at all
32870 is given default to loopback.
32871
f2ac4868
RM
328722010-08-24 Roland McGrath <roland@redhat.com>
32873
09055553
RM
32874 * configure.in: Remove config-name.h generation.
32875 * configure: Regenerated.
32876 * config-name.in: File removed.
32877 * scripts/config-uname.sh: New file.
32878 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32879 ($(objdir)config-name.h): New target.
32880
f2ac4868
RM
32881 * sunrpc/rpc_parse.h: Avoid nested comment.
32882
73f27d5e
RH
328832010-08-24 Richard Henderson <rth@redhat.com>
32884 Ulrich Drepper <drepper@redhat.com>
32885 H.J. Lu <hongjiu.lu@intel.com>
32886
32887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32888 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32889 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32890 Replace _mm_srli_si128 with __m128i_shift_right. Replace
32891 _mm_alignr_epi8 with _mm_loadu_si128.
32892 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32893 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32894 (__m128i_shift_right): Removed.
32895 * sysdeps/i386/i686/multiarch/varshift.h: New file.
32896 * sysdeps/i386/i686/multiarch/varshift.S: New file.
32897 * sysdeps/x86_64/multiarch/varshift.h: New file.
32898 * sysdeps/x86_64/multiarch/varshift.S: New file.
32899
84b9230c
MF
329002010-08-21 Mike Frysinger <vapier@gentoo.org>
32901
32902 * configure.in: Move assembler checks to before sysdep dir checking.
32903
9bbd0ddc
PB
329042010-08-20 Petr Baudis <pasky@suse.cz>
32905
32906 * LICENSES: Sync the sunrpc license.
32907
9da4bb31
UD
329082010-08-19 Ulrich Drepper <drepper@redhat.com>
32909
a7ab6ec8
UD
32910 * sunrpc/auth_des.c: Update copyright notice once again.
32911 * sunrpc/auth_none.c: Likewise.
32912 * sunrpc/auth_unix.c: Likewise.
32913 * sunrpc/authdes_prot.c: Likewise.
32914 * sunrpc/authuxprot.c: Likewise.
32915 * sunrpc/bindrsvprt.c: Likewise.
32916 * sunrpc/clnt_gen.c: Likewise.
32917 * sunrpc/clnt_perr.c: Likewise.
32918 * sunrpc/clnt_raw.c: Likewise.
32919 * sunrpc/clnt_simp.c: Likewise.
32920 * sunrpc/clnt_tcp.c: Likewise.
32921 * sunrpc/clnt_udp.c: Likewise.
32922 * sunrpc/clnt_unix.c: Likewise.
32923 * sunrpc/des_crypt.c: Likewise.
32924 * sunrpc/des_soft.c: Likewise.
32925 * sunrpc/get_myaddr.c: Likewise.
32926 * sunrpc/getrpcport.c: Likewise.
32927 * sunrpc/key_call.c: Likewise.
32928 * sunrpc/key_prot.c: Likewise.
32929 * sunrpc/openchild.c: Likewise.
32930 * sunrpc/pm_getmaps.c: Likewise.
32931 * sunrpc/pm_getport.c: Likewise.
32932 * sunrpc/pmap_clnt.c: Likewise.
32933 * sunrpc/pmap_prot.c: Likewise.
32934 * sunrpc/pmap_prot2.c: Likewise.
32935 * sunrpc/pmap_rmt.c: Likewise.
32936 * sunrpc/rpc/auth.h: Likewise.
32937 * sunrpc/rpc/auth_unix.h: Likewise.
32938 * sunrpc/rpc/clnt.h: Likewise.
32939 * sunrpc/rpc/des_crypt.h: Likewise.
32940 * sunrpc/rpc/key_prot.h: Likewise.
32941 * sunrpc/rpc/netdb.h: Likewise.
32942 * sunrpc/rpc/pmap_clnt.h: Likewise.
32943 * sunrpc/rpc/pmap_prot.h: Likewise.
32944 * sunrpc/rpc/pmap_rmt.h: Likewise.
32945 * sunrpc/rpc/rpc.h: Likewise.
32946 * sunrpc/rpc/rpc_des.h: Likewise.
32947 * sunrpc/rpc/rpc_msg.h: Likewise.
32948 * sunrpc/rpc/svc.h: Likewise.
32949 * sunrpc/rpc/svc_auth.h: Likewise.
32950 * sunrpc/rpc/types.h: Likewise.
32951 * sunrpc/rpc/xdr.h: Likewise.
32952 * sunrpc/rpc_clntout.c: Likewise.
32953 * sunrpc/rpc_cmsg.c: Likewise.
32954 * sunrpc/rpc_common.c: Likewise.
32955 * sunrpc/rpc_cout.c: Likewise.
32956 * sunrpc/rpc_dtable.c: Likewise.
32957 * sunrpc/rpc_hout.c: Likewise.
32958 * sunrpc/rpc_main.c: Likewise.
32959 * sunrpc/rpc_parse.c: Likewise.
32960 * sunrpc/rpc_parse.h: Likewise.
32961 * sunrpc/rpc_prot.c: Likewise.
32962 * sunrpc/rpc_sample.c: Likewise.
32963 * sunrpc/rpc_scan.c: Likewise.
32964 * sunrpc/rpc_scan.h: Likewise.
32965 * sunrpc/rpc_svcout.c: Likewise.
32966 * sunrpc/rpc_tblout.c: Likewise.
32967 * sunrpc/rpc_util.c: Likewise.
32968 * sunrpc/rpc_util.h: Likewise.
32969 * sunrpc/rpcinfo.c: Likewise.
32970 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32971 * sunrpc/rpcsvc/key_prot.x: Likewise.
32972 * sunrpc/rpcsvc/klm_prot.x: Likewise.
32973 * sunrpc/rpcsvc/mount.x: Likewise.
32974 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32975 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32976 * sunrpc/rpcsvc/rex.x: Likewise.
32977 * sunrpc/rpcsvc/rstat.x: Likewise.
32978 * sunrpc/rpcsvc/rusers.x: Likewise.
32979 * sunrpc/rpcsvc/sm_inter.x: Likewise.
32980 * sunrpc/rpcsvc/spray.x: Likewise.
32981 * sunrpc/rpcsvc/yppasswd.x: Likewise.
32982 * sunrpc/rtime.c: Likewise.
32983 * sunrpc/svc.c: Likewise.
32984 * sunrpc/svc_auth.c: Likewise.
32985 * sunrpc/svc_authux.c: Likewise.
32986 * sunrpc/svc_raw.c: Likewise.
32987 * sunrpc/svc_run.c: Likewise.
32988 * sunrpc/svc_simple.c: Likewise.
32989 * sunrpc/svc_tcp.c: Likewise.
32990 * sunrpc/svc_udp.c: Likewise.
32991 * sunrpc/svc_unix.c: Likewise.
32992 * sunrpc/svcauth_des.c: Likewise.
32993 * sunrpc/xcrypt.c: Likewise.
32994 * sunrpc/xdr.c: Likewise.
32995 * sunrpc/xdr_array.c: Likewise.
32996 * sunrpc/xdr_float.c: Likewise.
32997 * sunrpc/xdr_mem.c: Likewise.
32998 * sunrpc/xdr_rec.c: Likewise.
32999 * sunrpc/xdr_ref.c: Likewise.
33000 * sunrpc/xdr_sizeof.c: Likewise.
33001 * sunrpc/xdr_stdio.c: Likewise.
33002
9da4bb31
UD
33003 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33004 handling.
33005
bdaa77bc
AS
330062010-08-19 Andreas Schwab <schwab@redhat.com>
33007
33008 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33009
fe2f79db
LM
330102010-08-19 Luis Machado <luisgpm@br.ibm.com>
33011
33012 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33013 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33014 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33015 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33016 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33017 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33018 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33019 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33020 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33021 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33022 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33023 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33024 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33025 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33026
b9b42ee0
AB
330272010-07-26 Anton Blanchard <anton@samba.org>
33028
33029 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33030 * malloc/arena.c (heap_trim): Likewise.
33031
1c06ba31
UD
330322010-08-16 Ulrich Drepper <drepper@redhat.com>
33033
33034 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33035 here. Not...
33036 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33037 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33038
f8392f40
L
330392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
33040
33041 * sysdeps/i386/elf/Makefile: New file.
33042
3162f12e
AS
330432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33044
33045 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33046 from fanotify_init.
33047 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33048 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33049
28c90b2c
UD
330502010-08-15 Ulrich Drepper <drepper@redhat.com>
33051
33052 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33053 of strncasecmp_l.
1feccb6c 33054 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 33055
ca6bb004
UD
330562010-08-14 Ulrich Drepper <drepper@redhat.com>
33057
e9f82e0d
UD
33058 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33059 strncase_l-nonascii.
33060 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33061 Add strncase_l-ssse3.
33062 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33063 * sysdeps/x86_64/strcmp.S: Likewise.
33064 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33065 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33066 * sysdeps/x86_64/strncase.S: New file.
33067 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33068 * sysdeps/x86_64/strncase_l.S: New file.
33069 * string/Makefile (strop-tests): Add strncasecmp.
33070 * string/test-strncasecmp.c: New file.
33071
33072 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33073 warning.
33074
ca6bb004
UD
33075 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33076 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33077
052fa7b3
AS
330782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
33079
33080 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33081
962dba78
UD
330822010-08-12 Ulrich Drepper <drepper@redhat.com>
33083
33084 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33085 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33086 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33087
bebff237
AM
330882010-05-01 Alan Modra <amodra@gmail.com>
33089
33090 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33091 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33092 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33093 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33094 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33095 tidying. Don't tail-call __sigjmp_save for static lib.
33096 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33097 save location.
33098 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33099 (CALL_MCOUNT): Add eh info, and nop after bl.
33100 (TAIL_CALL_SYSCALL_ERROR): New macro.
33101 (PSEUDO_RET): Use it.
33102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33103 Correct save location of integer regs and cr.
33104 (_dl_profile_resolve): Correct cr save location. Delete nops
33105 after bl when SHARED. Reduce cfi size a little by better
33106 placement of cfi directives.
33107 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33108 make a stack frame. Instead use parm save area as a temp.
33109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33110 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
33111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33112 Don't make a stack frame for parent, use parm save area.
33113 Increase child stack frame to 112 bytes. Don't save unused reg,
33114 and adjust reg usage. Set up cfi on error recovery and
33115 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33117 (__makecontext): Add dummy nop after jump to exit.
33118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33119 Use correct parm save area and cr save, reduce stack frame.
33120 Correct cfi for possible PSEUDO_RET frame setup.
33121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33122 Branch to local label emitted by PSEUDO_RET rather than
33123 __syscall_error.
33124
02637374
AS
331252010-08-12 Andreas Schwab <schwab@redhat.com>
33126
33127 [BZ #11904]
33128 * locale/programs/locale.c (print_assignment): New function.
33129 (show_locale_vars): Use it.
33130
c3e2f19b
UD
331312010-08-11 Ulrich Drepper <drepper@redhat.com>
33132
3cdaa6ad
UD
33133 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33134 field.
33135 (struct statfs64): Likewise.
33136 (_STATFS_F_FLAGS): Define.
33137 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33138 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33139 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33140 (ST_VALID): Define locally.
33141 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33142 __statvfs_getflags, use the provided value.
33143 * sysdeps/unix/sysv/linux/kernel-features.h: Define
33144 __ASSUME_STATFS_F_FLAGS.
33145
754f7da3
UD
33146 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33147
10b3bedc
UD
33148 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33149 Add sys/fanotify.h.
33150 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33151 fanotify_mask for GLIBC_2.13.
33152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33153 fanotify_init and fanotify_mark.
33154 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33155 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33156
c08fb0d7
UD
33157 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33158 Add prlimit.
33159 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33160 prlimit64 for GLIBC_2.13.
33161 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33162 prlimit64.
33163 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33164 syscall.
33165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33166 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33167 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33168 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33169 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
33170 add prlimit alias.
33171 * sysdeps/unix/sysv/linux/prlimit.c: New file.
33172
15bac72b
UD
33173 [BZ #11903]
33174 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33175 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33176
c3e2f19b
UD
33177 * nss/Makefile: Add rules to build and run tst-nss-test1.
33178 * shlib-versions: Add entry for libnss_test1.
33179 * nss/nss_test1.c: New file.
33180 * nss/tst-nss-test1.c: New file.
33181
33182 * nss/nsswitch.c (__nss_database_custom): Define new variable.
33183 (__nss_configure_lookup): Set appropriate entry in
33184 __nss_configure_lookup to true.
33185 * nss/nsswitch.h: Define enum with indeces of databases in
33186 databases and __nss_database_custom arrays. Declare
33187 __nss_database_custom.
33188 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33189 to avoid using nscd when custom rules are installed.
33190 * nss/getXXbyYY_r.c: Likewise.
33191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33192
33193 * nss/nss_files/files-parse.c: Whitespace fixes.
33194
f15ce4d8
UD
331952010-08-09 Ulrich Drepper <drepper@redhat.com>
33196
33197 [BZ #11883]
33198 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33199 * posix/fnmatch_loop.c: Likewise.
33200
d22e4cc9
AK
332012010-07-17 Andi Kleen <ak@linux.intel.com>
33202
33203 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33204 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33205 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33206 * Versions.def [GLIBC_2.13]: Add.
33207
805bc17d
UD
332082010-08-06 Ulrich Drepper <drepper@redhat.com>
33209
33210 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33211 Also fail if tpwd after pwuid call is NULL.
33212
5a42321d
ST
332132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
33214
33215 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33216 when converting to ms.
33217
fd3ebeda
ST
332182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33219
33220 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33221 EOPNOTSUPP errors with ENOTTY.
33222 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33223 EOPNOTSUPP errors with ENOTTY.
33224
73507d3a
UD
332252010-07-31 Ulrich Drepper <drepper@redhat.com>
33226
33227 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33228 Add strcasecmp_l-ssse3.
33229 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33230 strcasecmp.
33231 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33232 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33233 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33234
fe36dd02
UD
332352010-07-30 Ulrich Drepper <drepper@redhat.com>
33236
66f6765a
UD
33237 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33238
42e08a54
UD
33239 * string/Makefile (strop-tests): Add strcasecmp.
33240 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33241 strcasecmp_l-nonascii.
33242 (gen-as-const-headers): Add locale-defines.sym.
33243 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33244 * sysdeps/x86_64/strcasecmp.S: New file.
33245 * sysdeps/x86_64/strcasecmp_l.S: New file.
33246 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33247 * sysdeps/x86_64/locale-defines.sym: New file.
33248 * string/test-strcasecmp.c: New file.
33249
fe36dd02
UD
33250 * string/test-strcasestr.c: Test both ends of the range of characters.
33251 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33252
48cbc0d6
RM
332532010-07-29 Roland McGrath <roland@redhat.com>
33254
76e6d6bc 33255 [BZ #11856]
48cbc0d6
RM
33256 * manual/locale.texi (Yes-or-No Questions): Fix example code.
33257
880113d9
UD
332582010-07-27 Ulrich Drepper <drepper@redhat.com>
33259
33260 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33261 for ld.so.
33262
deb9cabb
AS
332632010-07-27 Andreas Schwab <schwab@redhat.com>
33264
33265 * manual/memory.texi (Malloc Tunable Parameters): Document
33266 M_PERTURB.
33267
1c7570ff
RM
332682010-07-26 Roland McGrath <roland@redhat.com>
33269
33270 [BZ #11840]
33271 * configure.in (-fgnu89-inline check): Set and substitute
33272 gnu89_inline, not libc_cv_gnu89_inline.
33273 * configure: Regenerated.
33274 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33275
24fb0f88
UD
332762010-07-26 Ulrich Drepper <drepper@redhat.com>
33277
33278 * string/test-strnlen.c: New file.
33279 * string/Makefile (strop-tests): Add strnlen.
33280 * string/tester.c (test_strnlen): Add a few more test cases.
33281 * string/tst-strlen.c: Better error reporting.
33282
33283 * sysdeps/x86_64/strnlen.S: New file.
33284
8e96b93a
UD
332852010-07-24 Ulrich Drepper <drepper@redhat.com>
33286
33287 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33288 lower-latency instructions.
33289
dbc676d4
UD
332902010-07-23 Ulrich Drepper <drepper@redhat.com>
33291
33292 * string/test-strcasestr.c: New file.
33293 * string/test-strstr.c: New file.
33294 * string/Makefile (strop-tests): Add strstr and strcasestr.
33295 * string/str-two-way.h: Don't undefine MAX.
33296 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33297
f6a31e0e
AS
332982010-07-21 Andreas Schwab <schwab@redhat.com>
33299
33300 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33301 strcasestr-nonascii.
33302 (CFLAGS-strcasestr-nonascii.c): Define.
33303 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33304 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33305 Remove unused attribute.
33306
5dbc3b6c
RM
333072010-07-20 Roland McGrath <roland@redhat.com>
33308
33309 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33310 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
33311 ld.so.cache was broken. With it, there is no way to disable dsocaps
33312 like LD_HWCAP_MASK can disable hwcaps.
33313
23d101d8
EPM
333142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33315
33316 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33317
cc9f2e47
UD
333182010-07-16 Ulrich Drepper <drepper@redhat.com>
33319
33320 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33321 call in strcasestr.
33322 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33323 __strcasestr_sse42_nonascii.
33324 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33325 strcasestr-nonascii.c.
33326 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33327
77c1b069
LM
333282010-06-15 Luis Machado <luisgpm@br.ibm.com>
33329
33330 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33331 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33332 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33333 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33334
440566c3
UD
333352010-07-09 Ulrich Drepper <drepper@redhat.com>
33336
33337 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33338 fcntl.
33339
5be9d05d
AS
333402010-07-06 Andreas Schwab <schwab@redhat.com>
33341
c30b7ee2 33342 [BZ #11577]
5be9d05d
AS
33343 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33344 dl_signal_cerror.
33345
8a492a67
UD
333462010-07-06 Ulrich Drepper <drepper@redhat.com>
33347
33348 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33349 _PC_PIPE_BUF using F_GETPIPE_SZ.
33350
713df3d5
RM
333512010-07-05 Roland McGrath <roland@redhat.com>
33352
33353 * manual/arith.texi (Rounding Functions): Fix rint description
33354 implicit in round description.
33355
702e8f14
UD
333562010-07-02 Ulrich Drepper <drepper@redhat.com>
33357
33358 * elf/Makefile: Fix linking for a few tests to make recent linker
33359 happy.
33360
52ed8be9
AS
333612010-06-30 Andreas Schwab <schwab@redhat.com>
33362
33363 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33364 $(common-objpfx)libc_nonshared.a.
33365
f47c9a11
LM
333662010-06-21 Luis Machado <luisgpm@br.ibm.com>
33367
33368 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33369 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33370 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33371 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33372 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33373 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33374 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33375 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33390 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33391 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33392 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33393 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33394 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33395 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33396 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33397 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33398 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33399 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33400 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33401 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33416
6fb8cbcb
L
334172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
33418
33419 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33420 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
33421 * string/memmove.c (memmove): Renamed to ...
33422 (MEMMOVE): ...this. Default to memmove.
33423 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33424 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33425 (END_CHK): Define.
33426 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33427 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33428 mempcpy-ssse3-back memmove-ssse3-back.
33429 * sysdeps/x86_64/multiarch/bcopy.S: New file .
33430 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33431 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33432 * sysdeps/x86_64/multiarch/memcpy.S: New file.
33433 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33434 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33435 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33436 * sysdeps/x86_64/multiarch/memmove.c: New file.
33437 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33438 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33439 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33440 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33441 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33442 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33443 Define.
33444 (index_Fast_Copy_Backward): Define.
33445 (HAS_ARCH_FEATURE): Define.
33446 (HAS_FAST_REP_STRING): Define.
33447 (HAS_FAST_COPY_BACKWARD): Define.
33448
4e733bac 334492010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
33450
33451 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33452 Restore proper fallback handling.
33453
63c4ed22
UD
334542010-06-19 Ulrich Drepper <drepper@redhat.com>
33455
ac2b484c
UD
33456 [BZ #11701]
33457 * posix/group_member.c (__group_member): Correct checking loop.
33458
63c4ed22
UD
33459 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33460 OOM in getpwuid_r correctly. Return error number when the caller
33461 should return, otherwise -1.
33462 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33463 call returning > 0 value.
33464 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33465
765ade4b
AS
334662010-06-07 Andreas Schwab <schwab@redhat.com>
33467
33468 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33469 libc_nonshared.a from targets in modules-names.
33470
80da2e09
KS
334712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
33472
33473 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33474 requires it.
33475
158db122
LM
334762010-06-10 Luis Machado <luisgpm@br.ibm.com>
33477
33478 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33479 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33480 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33481 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33482
caa78cf8
AS
334832010-06-02 Andreas Schwab <schwab@redhat.com>
33484
33485 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33486
b2ef2c01
UD
334872010-06-14 Ulrich Drepper <drepper@redhat.com>
33488
33489 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33490 and F_GETPIPE_SZ.
33491 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33492 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33494 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33495 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33496 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33497
fbd643b6
RM
334982010-06-14 Roland McGrath <roland@redhat.com>
33499
33500 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33501
f32f2869
JJ
335022010-06-07 Jakub Jelinek <jakub@redhat.com>
33503
33504 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33505 __REDIRECT followed by __THROW.
33506 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33507 * posix/getopt.h (getopt): Likewise.
33508
2a50c078
EPM
335092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
33510
33511 * hurd/lookup-at.c (__file_name_lookup_at): Accept
33512 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
33513 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33514 in AT_FLAGS.
33515 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33516 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33517
eb5ad2eb
LM
335182010-05-28 Luis Machado <luisgpm@br.ibm.com>
33519
33520 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33521
3c88fe1e
L
335222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
33523
33524 [BZ #11640]
33525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33526 Properly check family and model.
33527
d2f73151
TY
335282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
33529
33530 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33531
ebd2e13d
LM
335322010-05-24 Luis Machado <luisgpm@br.ibm.com>
33533
33534 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33535
b32b8b45
UD
335362010-05-21 Ulrich Drepper <drepper@redhat.com>
33537
33538 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33539 symbol reference.
33540
9acbe24d
AS
335412010-05-19 Andreas Schwab <schwab@redhat.com>
33542
33543 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33544 symbol reference.
33545
f0ccf6ea
AS
335462010-05-21 Andreas Schwab <schwab@redhat.com>
33547
3d04ff3a
AS
33548 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33549 and internal_recvmmsg.
33550 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33551 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33552 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33553 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33554
f0ccf6ea
AS
33555 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33556 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33557 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33558
5b08ac57
AS
335592010-05-20 Andreas Schwab <schwab@redhat.com>
33560
33561 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33562
4828935d
LM
335632010-05-17 Luis Machado <luisgpm@br.ibm.com>
33564
33565 POWER7 optimizations.
33566 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33567 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33568
373d545e
UD
335692010-05-19 Ulrich Drepper <drepper@redhat.com>
33570
33571 * version.h: Update for 2.13 development version.
33572
21a2b1ae
AS
335732010-05-12 Andrew Stubbs <ams@codesourcery.com>
33574
33575 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33576 exceptions. Return 0.
33577
3f7dcb2b
RM
335782010-05-07 Roland McGrath <roland@redhat.com>
33579
33580 * elf/ldconfig.c (main): Add a const.
33581
5f24d53a 335822010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 33583
a160f8d8
UD
33584 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33585 (args_options): Add no-idn option.
33586 (ahosts_keys_int): Add idn_flags to ai_flags.
33587 (parse_option): Handle 'i' option to clear idn_flags.
33588
5f24d53a
UD
33589 * malloc/malloc.c (_int_free): Possible race in the most recently
33590 added check. Only act on the data if no current modification
33591 happened.
265bb1ce
UD
33592
33593See ChangeLog.17 for earlier changes.